tx · 2RrhLdF3EkWedR1ViV8qJJtNKQ8fL3HgB1Ps8VVYcLvn

3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV:  -0.01400000 Waves

2021.12.10 14:39 [1828095] smart account 3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV > SELF 0.00000000 Waves

{ "type": 13, "id": "2RrhLdF3EkWedR1ViV8qJJtNKQ8fL3HgB1Ps8VVYcLvn", "fee": 1400000, "feeAssetId": null, "timestamp": 1639136384844, "version": 2, "chainId": 84, "sender": "3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV", "senderPublicKey": "5amLtMwixiEesBDKPy9dkFWntG2fNxhTs5n69JbQE9F7", "proofs": [ "3GYvY41kTDnTb2ZZsBJFwLXPFvk7MeeWGgMkm3xbT2kCXJGm4UTK3fD8R8Vp41qkL9Yq1GEQERdqX5k8xeJVX5Ev" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAgAAAAAFdG9rZW4BAAAAIOc5mAuQ0CpHzn2Eeqy2bd/5bxix/Zvv2ghyN3nN6l5mAAAAAAdhaXJkcm9wCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUvl8ZsNRuQjR8RHdkDfsNYL0aRkcYXOeKAAAAAQAAAAFpAQAAAARjYWxsAAAAAQAAAARpZDU4BAAAAAdiYWxhbmNlCQAD8AAAAAIFAAAAB2FpcmRyb3AFAAAABXRva2VuBAAAAApkcm9wYW1vdW50AAAAAAAAAABkBAAAAAhpc2Vub3VnaAMJAABmAAAAAgUAAAAHYmFsYW5jZQUAAAAKZHJvcGFtb3VudAYJAAACAAAAAQIAAAAKbm90IGVub3VnaAMJAAAAAAAAAgUAAAAIaXNlbm91Z2gFAAAACGlzZW5vdWdoBAAAAAJpZAkAAlkAAAABBQAAAARpZDU4BAAAAAxjYWxsZXJBZHJlc3MJAQAAAAdBZGRyZXNzAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAEdGltZQAA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CAAAACHJlY2VpdmVkAgAAAAdwcm9vdmVkAwUAAAAJaXNwcm9vdmVkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwUAAAAEbWVzcwUAAAADbmlsCQAAAgAAAAECAAAAC25vdCBwcm9vdmVkCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5kAt7CQ==", "height": 1828095, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9PR7nSqRiRramspw2BLGZ3pEWwXAenLj18AE9FWgTSxW Next: 48efv1TpfzhnXjMiFrRV49iyFePySZ9ogH6MSd7Bck6z Diff:
OldNewDifferences
3737 }
3838 let o = {
3939 let l = getString(toBase58String(c.caller.bytes))
40- if ($isInstanceOf(l, "Unit"))
40+ if ($isInstanceOf(l, "String"))
4141 then {
4242 let p = l
43- true
43+ false
4444 }
45- else false
45+ else true
4646 }
4747 let q = if (if (if ((k > j))
4848 then true
5959 then "received"
6060 else "prooved"
6161 if (q)
62- then [StringEntry(toBase58String(c.caller.bytes), r), StringEntry("balance", toString(e))]
62+ then [StringEntry(toBase58String(c.caller.bytes), r)]
6363 else throw("not prooved")
6464 }
6565 else throw("Strict value is not equal to itself.")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'GZc7eKnq2KJwqetRmUzSqr2ZaCGseDZufSocz83sUNoo'
55
66 let b = Address(base58'3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV')
77
88 @Callable(c)
99 func call (d) = {
1010 let e = assetBalance(b, a)
1111 let f = 100
1212 let g = if ((e > f))
1313 then true
1414 else throw("not enough")
1515 if ((g == g))
1616 then {
1717 let h = fromBase58String(d)
1818 let i = Address(c.caller.bytes)
1919 let j = 1639131654752
2020 let k = {
2121 let l = transferTransactionById(h)
2222 if ($isInstanceOf(l, "TransferTransaction"))
2323 then {
2424 let m = l
2525 m.timestamp
2626 }
2727 else throw("Can't find transaction")
2828 }
2929 let n = {
3030 let l = transferTransactionById(h)
3131 if ($isInstanceOf(l, "TransferTransaction"))
3232 then {
3333 let m = l
3434 m.sender
3535 }
3636 else throw("Can't find transaction")
3737 }
3838 let o = {
3939 let l = getString(toBase58String(c.caller.bytes))
40- if ($isInstanceOf(l, "Unit"))
40+ if ($isInstanceOf(l, "String"))
4141 then {
4242 let p = l
43- true
43+ false
4444 }
45- else false
45+ else true
4646 }
4747 let q = if (if (if ((k > j))
4848 then true
4949 else (i != n))
5050 then true
5151 else o)
5252 then false
5353 else true
5454 let r = if ((k > j))
5555 then ("overtime: " + toString(k))
5656 else if ((i != n))
5757 then ((("incorrect sender: " + toString(i)) + " / ") + toString(n))
5858 else if (o)
5959 then "received"
6060 else "prooved"
6161 if (q)
62- then [StringEntry(toBase58String(c.caller.bytes), r), StringEntry("balance", toString(e))]
62+ then [StringEntry(toBase58String(c.caller.bytes), r)]
6363 else throw("not prooved")
6464 }
6565 else throw("Strict value is not equal to itself.")
6666 }
6767
6868
6969 @Verifier(s)
7070 func t () = sigVerify(s.bodyBytes, s.proofs[0], s.senderPublicKey)
7171

github/deemru/w8io/026f985 
19.98 ms