tx · 5rhagE1oBrbfEWtvrYDHBNG4W4qQKEsimpGLmv8dFB7a

3N2dRaZobzhvApXZdrFKsTWZfczyyx6FboD:  -0.05000000 Waves

2021.08.19 17:46 [1665373] smart account 3N2dRaZobzhvApXZdrFKsTWZfczyyx6FboD > SELF 0.00000000 Waves

{ "type": 13, "id": "5rhagE1oBrbfEWtvrYDHBNG4W4qQKEsimpGLmv8dFB7a", "fee": 5000000, "feeAssetId": null, "timestamp": 1629384375624, "version": 2, "chainId": 84, "sender": "3N2dRaZobzhvApXZdrFKsTWZfczyyx6FboD", "senderPublicKey": "9WSLkkzDD1adiGFyZbCjY47yzFtCW8U5DKWUqpiuaL3p", "proofs": [ "4UbwyDzkdqu3LZiQ3twUCyx7U79iJEo788XAfXQ3YVYj6ohT4tYKEgUsJATbZSdjLU1q8hKxmcqM6GdnsJjXRy9q" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAABwAAAAACV1UJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEJAQAAAAV2YWx1ZQAAAAECAAAAIzNOREQzaWZBQzE3Y0x6eHVZcXNnWERSWTlEVFE1QnFtdndMAAAAAAFXAQAAACAkjKLQ3QxfTlLcKXZJFNBC7uJZwX/Tw7vaAVzp4p5NFQAAAAABVQEAAAAgCggErAtUirq51+cCj64gBNk4iTPThEdY9hLiZuBsYN0AAAAAAVMBAAAAIGofdvQnwoNGRhQv+C8pkVYJzr2zbyehMC80J0e2DtQ7AAAAAAVhZG1pbgkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAjM045N0c5OGJQRjVnaG5aMWlNbVE3dE1INk1Cc05ablMyNzIAAAAABnNjYWxlOAAAAAAABfXhAAAAAAAGc2NhbGU2AAAAAAAAD0JAAAAAAQAAAAFpAQAAAARjYWxsAAAAAAMJAQAAAAIhPQAAAAIIBQAAAAFpAAAABmNhbGxlcgUAAAAFYWRtaW4JAAACAAAAAQIAAAAKb25seSBhZG1pbgQAAAAFc3dhcDEJAAP8AAAABAUAAAACV1UCAAAACGV4Y2hhbmdlCQAETAAAAAIAAAAAAAAAAAEFAAAAA25pbAkABEwAAAACCQEAAAAPQXR0YWNoZWRQYXltZW50AAAAAgUAAAABVwkAAGgAAAACAAAAAAAAAAAKBQAAAAZzY2FsZTgFAAAAA25pbAMJAAAAAAAAAgUAAAAFc3dhcDEFAAAABXN3YXAxBAAAAAJvawIAAAACb2sFAAAAA25pbAkAAAIAAAABAgAAACNTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5mZx9RQ==", "height": 1665373, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4NhvVBKVgr48Fg1Gz622e8PWbCfqQXebBX6m8FD6KHYC Next: HAxByyBU2Q3UHxuPRpFdJdDBnWodzmj5AjC9doUZvrKm Diff:
OldNewDifferences
2020 then throw("only admin")
2121 else {
2222 let swap1 = invoke(WU, "exchange", [1], [AttachedPayment(W, (10 * scale8))])
23- nil
23+ if ((swap1 == swap1))
24+ then {
25+ let ok = "ok"
26+ nil
27+ }
28+ else throw("Strict value is not equal to itself")
2429 }
2530
2631
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let WU = addressFromStringValue(value("3NDD3ifAC17cLzxuYqsgXDRY9DTQ5BqmvwL"))
55
66 let W = base58'3Tg4GRpKeek5wWAQRJKH1ucjMuKNom3f2h67WNNu6xVS'
77
88 let U = base58'gAAmMoquySsX6q5EmzciFfB8RecAhZR9W1HKNntNekL'
99
1010 let S = base58'89G3XEYzMSztS6RPN5h2da7j43r4zgKufReZWn1MqX7g'
1111
1212 let admin = addressFromStringValue("3N97G98bPF5ghnZ1iMmQ7tMH6MBsNZnS272")
1313
1414 let scale8 = 100000000
1515
1616 let scale6 = 1000000
1717
1818 @Callable(i)
1919 func call () = if ((i.caller != admin))
2020 then throw("only admin")
2121 else {
2222 let swap1 = invoke(WU, "exchange", [1], [AttachedPayment(W, (10 * scale8))])
23- nil
23+ if ((swap1 == swap1))
24+ then {
25+ let ok = "ok"
26+ nil
27+ }
28+ else throw("Strict value is not equal to itself")
2429 }
2530
2631
2732 @Verifier(tx)
2833 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2934

github/deemru/w8io/169f3d6 
42.97 ms