tx · 35nEB9DERw9yLRU4yCqTuYyxB7X73LVSpSJyxRdpemcv

3MpKvUfNxrgF7QotPjFwi8thMagSveNScKe:  -0.01400000 Waves

2020.11.01 12:28 [1246074] smart account 3MpKvUfNxrgF7QotPjFwi8thMagSveNScKe > SELF 0.00000000 Waves

{ "type": 13, "id": "35nEB9DERw9yLRU4yCqTuYyxB7X73LVSpSJyxRdpemcv", "fee": 1400000, "feeAssetId": null, "timestamp": 1604222961471, "version": 2, "chainId": 84, "sender": "3MpKvUfNxrgF7QotPjFwi8thMagSveNScKe", "senderPublicKey": "9GE2xN4fms9YNDxR1hGg52RynqDd8125TA42g4X29ZV7", "proofs": [ "5H1b5fLprK4K1LnxjBhsQrKkiWGWhberibh4hkUL9ztNdHvCCjC4mopHLbv2FdV5byhYjRJAHT9VaW2c9wrh9FYn" ], "script": "base64:AAIEAAAAAAAAAA8IAhIAEgQKAggIEgMKAQgAAAABAAAAAAJmSwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQkAAlkAAAABAgAAACxDWERuYWJIdWFQd3daUVJKdVJ6a0ZlRExQS295RFVjMWFRbmZNaVVQS3RIRgAAAAMAAAABaQEAAAAHb3BickJ1eQAAAAAEAAAACWJ1eWVyQWRkcgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAANwbXQIBQAAAAFpAAAACHBheW1lbnRzAwkAAAAAAAACCQABkAAAAAEFAAAAA3BtdAAAAAAAAAAAAAkAAAIAAAABAgAAACFQYXltZW50IGZvciBleGNoYW5nZSBpcyBtYW5kYXRvcnkEAAAAAXMJAAGQAAAAAQUAAAADcG10CQAAAgAAAAEJAAEsAAAAAgIAAAAMUGF5bWVudCBzaXplCQABpAAAAAEFAAAAAXMAAAABaQEAAAAJdG9rZW5MaXN0AAAAAgAAAAd0b2tlbklkAAAABnRpY2tlcgQAAAAEQWRkcgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAwkBAAAAAiE9AAAAAgUAAAAEQWRkcgkABCUAAAABBQAAAAR0aGlzCQAAAgAAAAECAAAALFRoZSBhZGRyZXNzIGlzIG5vdCBhdXRob3JpemVkIHRvIGxpc3QgdG9rZW5zCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAB3Rva2VuSWQFAAAABnRpY2tlcgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAJmSwAAAAAAAA9CQAUAAAAEdW5pdAUAAAADbmlsAAAAAWkBAAAAC3Rva2VuRGVsaXN0AAAAAQAAAAd0b2tlbklkBAAAAARBZGRyCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMDCQEAAAACIT0AAAACBQAAAARBZGRyCQAEJQAAAAEFAAAABHRoaXMJAAACAAAAAQIAAAAuVGhlIGFkZHJlc3MgaXMgbm90IGF1dGhvcml6ZWQgdG8gZGVsaXN0IHRva2VucwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAd0b2tlbklkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAAAmZLAAAAAAAAmJaABQAAAAR1bml0BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQUY9Kc=", "height": 1246074, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HkexnTdzdbuKeut16ByzeLxm9xPGo11zNUo2D9Bhwspp Next: HipwySyD4HNWB5AadhBRxfcsy1YJtCVAF2x9nYzjjZ6E Diff:
OldNewDifferences
99 let d = b.payments
1010 if ((size(d) == 0))
1111 then throw("Payment for exchange is mandatory")
12- else [ScriptTransfer(a, 1000000, unit)]
12+ else {
13+ let e = size(d)
14+ throw(("Payment size" + toString(e)))
15+ }
1316 }
1417
1518
1619
1720 @Callable(b)
18-func tokenList (e,f) = {
19- let g = toBase58String(b.caller.bytes)
20- if ((g != toString(this)))
21+func tokenList (f,g) = {
22+ let h = toBase58String(b.caller.bytes)
23+ if ((h != toString(this)))
2124 then throw("The address is not authorized to list tokens")
22- else [StringEntry(e, f), ScriptTransfer(a, 1000000, unit)]
25+ else [StringEntry(f, g), ScriptTransfer(a, 1000000, unit)]
2326 }
2427
2528
2629
2730 @Callable(b)
28-func tokenDelist (e) = {
29- let g = toBase58String(b.caller.bytes)
30- if ((g != toString(this)))
31+func tokenDelist (f) = {
32+ let h = toBase58String(b.caller.bytes)
33+ if ((h != toString(this)))
3134 then throw("The address is not authorized to delist tokens")
32- else [DeleteEntry(e), ScriptTransfer(a, 10000000, unit)]
35+ else [DeleteEntry(f), ScriptTransfer(a, 10000000, unit)]
3336 }
3437
3538
36-@Verifier(h)
37-func i () = sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey)
39+@Verifier(i)
40+func j () = sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey)
3841
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = addressFromPublicKey(fromBase58String("CXDnabHuaPwwZQRJuRzkFeDLPKoyDUc1aQnfMiUPKtHF"))
55
66 @Callable(b)
77 func opbrBuy () = {
88 let c = toBase58String(b.caller.bytes)
99 let d = b.payments
1010 if ((size(d) == 0))
1111 then throw("Payment for exchange is mandatory")
12- else [ScriptTransfer(a, 1000000, unit)]
12+ else {
13+ let e = size(d)
14+ throw(("Payment size" + toString(e)))
15+ }
1316 }
1417
1518
1619
1720 @Callable(b)
18-func tokenList (e,f) = {
19- let g = toBase58String(b.caller.bytes)
20- if ((g != toString(this)))
21+func tokenList (f,g) = {
22+ let h = toBase58String(b.caller.bytes)
23+ if ((h != toString(this)))
2124 then throw("The address is not authorized to list tokens")
22- else [StringEntry(e, f), ScriptTransfer(a, 1000000, unit)]
25+ else [StringEntry(f, g), ScriptTransfer(a, 1000000, unit)]
2326 }
2427
2528
2629
2730 @Callable(b)
28-func tokenDelist (e) = {
29- let g = toBase58String(b.caller.bytes)
30- if ((g != toString(this)))
31+func tokenDelist (f) = {
32+ let h = toBase58String(b.caller.bytes)
33+ if ((h != toString(this)))
3134 then throw("The address is not authorized to delist tokens")
32- else [DeleteEntry(e), ScriptTransfer(a, 10000000, unit)]
35+ else [DeleteEntry(f), ScriptTransfer(a, 10000000, unit)]
3336 }
3437
3538
36-@Verifier(h)
37-func i () = sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey)
39+@Verifier(i)
40+func j () = sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey)
3841

github/deemru/w8io/169f3d6 
28.50 ms