tx · 58EFmVD9z9GzdLW3JaMjYHTbuuyGtJz4VfP8Q73naWhG

3N3k8kYqD1uZA9G5LxEPirYd2Ftpswpn9mC:  -0.00600000 Waves

2022.06.18 15:31 [2101820] smart account 3N3k8kYqD1uZA9G5LxEPirYd2Ftpswpn9mC > SELF 0.00000000 Waves

{ "type": 13, "id": "58EFmVD9z9GzdLW3JaMjYHTbuuyGtJz4VfP8Q73naWhG", "fee": 600000, "feeAssetId": null, "timestamp": 1655555465577, "version": 2, "chainId": 84, "sender": "3N3k8kYqD1uZA9G5LxEPirYd2Ftpswpn9mC", "senderPublicKey": "9W3FE2ufeMnkDdNiMMaE3x3X4nvSy1fftLMvf18Lv45R", "proofs": [ "26kwnqq2jkc3CfgPqAgXgiHjBXahJYUDz9qPhK5atsehMsyLjJpN17nAV8nQPXN9uDpRtjAwQEBD2qTYLgSYFRhQ" ], "script": "base64:AAIFAAAAAAAAAAkIAhIAEgMKAQEAAAAGAAAAAAprRWdnSXNzdWVkAgAAAAl3YXNJbml0ZWQAAAAACGtBc3NldElkAgAAAA9uZXdCdWxsX2Fzc2V0SWQAAAAABm1hc3RlcgIAAAAjM040ZHVMcHZQMjd5aGpDdXdLMmI3ZmdRdnI4cWpIaG1QdnMAAAAADm1BY2NQS2V5U3RyaW5nAgAAACxGakg1WWZrbmhiUmh1dGpxWjJnazFkQmNtWTlmU29yQTlIVmgxQXZRVFE5VQAAAAAIbUFjY1BLZXkJAAJZAAAAAQUAAAAObUFjY1BLZXlTdHJpbmcAAAAABXRva2VuCQACWQAAAAEJAQAAABFAZXh0ck5hdGl2ZSgxMDU4KQAAAAEFAAAACGtBc3NldElkAAAAAgAAAAFpAQAAAAxpc3N1ZU5ld0J1bGwAAAAAAwkBAAAAAiE9AAAAAgkABCAAAAABBQAAAAprRWdnSXNzdWVkBQAAAAR1bml0CQAAAgAAAAEJAAEsAAAAAgIAAAA0TmV3IEJVTEwgRUdHIGlzIGFscmVhZHkgaXNzdWVkIGFuZCBpdHMgYXNzZXQgaWQgaXM6IAkBAAAAEUBleHRyTmF0aXZlKDEwNTgpAAAAAQUAAAAIa0Fzc2V0SWQEAAAAB25ld0J1bGwJAARDAAAABwIAAAAIQnVsbCBFZ2cCAAAATFV0aWxpdHkgYW5kIFJld2FyZCB0b2tlbiBAIER1Y2sgUmlkZXJzIGNsYW4uIFRoZSBlZ2dpZXN0IHRva2VuIGluIHRoZSB3b3JsZC4AAAAAAAABhqAAAAAAAAAAAAgGBQAAAAR1bml0AAAAAAAAAAAABAAAAAluZXdCdWxsSWQJAAQ4AAAAAQUAAAAHbmV3QnVsbAkABEwAAAACBQAAAAduZXdCdWxsCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAACGtBc3NldElkCQACWAAAAAEFAAAACW5ld0J1bGxJZAUAAAADbmlsAAAAAWkBAAAAC3JlaXNzdWVCdWxsAAAAAQAAAAZhbW91bnQDCQEAAAACIT0AAAACCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkFAAAACG1BY2NQS2V5CQAAAgAAAAECAAAADE1hc3RlciBvbmx5IQMJAABmAAAAAgAAAAAAAAAAAQUAAAAGYW1vdW50CQAAAgAAAAECAAAABFdURiEEAAAAB3JlaXNzdWUJAQAAAAdSZWlzc3VlAAAAAwUAAAAFdG9rZW4FAAAABmFtb3VudAYJAARMAAAAAgUAAAAHcmVpc3N1ZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAABmFtb3VudAUAAAAFdG9rZW4FAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V58iUL3g==", "height": 2101820, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4DfEcJpCJizjRVhdQLXCLZ39Djk67b4YKMdGfxmM7Fne Next: none Diff:
OldNewDifferences
1111
1212 let e = fromBase58String(d)
1313
14-@Callable(f)
14+let f = fromBase58String(getStringValue(b))
15+
16+@Callable(g)
1517 func issueNewBull () = if ((getBoolean(a) != unit))
1618 then throw(("New BULL EGG is already issued and its asset id is: " + getStringValue(b)))
1719 else {
18- let g = Issue("Bull Egg", "Utility and Reward token @ Duck Riders clan. The eggiest token in the world.", 100000, 8, true, unit, 0)
19- let h = calculateAssetId(g)
20-[g, StringEntry(b, toBase58String(h))]
20+ let h = Issue("Bull Egg", "Utility and Reward token @ Duck Riders clan. The eggiest token in the world.", 100000, 8, true, unit, 0)
21+ let i = calculateAssetId(h)
22+[h, StringEntry(b, toBase58String(i))]
2123 }
2224
2325
2426
25-@Callable(f)
26-func reissueBull (i) = if ((f.callerPublicKey != e))
27+@Callable(g)
28+func reissueBull (j) = if ((g.callerPublicKey != e))
2729 then throw("Master only!")
28- else if ((1 > i))
30+ else if ((1 > j))
2931 then throw("WTF!")
3032 else {
31- let j = base58'EUNzgdPinhbvxEwRDxakAU7EB9QHupsUXYB8TTXdjnSS'
32- let k = Reissue(j, i, true)
33-[k, ScriptTransfer(f.caller, i, j)]
33+ let k = Reissue(f, j, true)
34+[k, ScriptTransfer(g.caller, j, f)]
3435 }
3536
3637
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "wasInited"
55
66 let b = "newBull_assetId"
77
88 let c = "3N4duLpvP27yhjCuwK2b7fgQvr8qjHhmPvs"
99
1010 let d = "FjH5YfknhbRhutjqZ2gk1dBcmY9fSorA9HVh1AvQTQ9U"
1111
1212 let e = fromBase58String(d)
1313
14-@Callable(f)
14+let f = fromBase58String(getStringValue(b))
15+
16+@Callable(g)
1517 func issueNewBull () = if ((getBoolean(a) != unit))
1618 then throw(("New BULL EGG is already issued and its asset id is: " + getStringValue(b)))
1719 else {
18- let g = Issue("Bull Egg", "Utility and Reward token @ Duck Riders clan. The eggiest token in the world.", 100000, 8, true, unit, 0)
19- let h = calculateAssetId(g)
20-[g, StringEntry(b, toBase58String(h))]
20+ let h = Issue("Bull Egg", "Utility and Reward token @ Duck Riders clan. The eggiest token in the world.", 100000, 8, true, unit, 0)
21+ let i = calculateAssetId(h)
22+[h, StringEntry(b, toBase58String(i))]
2123 }
2224
2325
2426
25-@Callable(f)
26-func reissueBull (i) = if ((f.callerPublicKey != e))
27+@Callable(g)
28+func reissueBull (j) = if ((g.callerPublicKey != e))
2729 then throw("Master only!")
28- else if ((1 > i))
30+ else if ((1 > j))
2931 then throw("WTF!")
3032 else {
31- let j = base58'EUNzgdPinhbvxEwRDxakAU7EB9QHupsUXYB8TTXdjnSS'
32- let k = Reissue(j, i, true)
33-[k, ScriptTransfer(f.caller, i, j)]
33+ let k = Reissue(f, j, true)
34+[k, ScriptTransfer(g.caller, j, f)]
3435 }
3536
3637
3738 @Verifier(l)
3839 func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey)
3940

github/deemru/w8io/169f3d6 
30.71 ms