tx · 2fH4p27vXFe4KXwkp5Q5Xz1tKPqHg9jf23svAf2tDcZu 3MpKvUfNxrgF7QotPjFwi8thMagSveNScKe: -0.04000000 Waves 2020.11.01 10:36 [1245954] smart account 3MpKvUfNxrgF7QotPjFwi8thMagSveNScKe > SELF 0.00000000 Waves
{ "type": 13, "id": "2fH4p27vXFe4KXwkp5Q5Xz1tKPqHg9jf23svAf2tDcZu", "fee": 4000000, "feeAssetId": null, "timestamp": 1604216211748, "version": 2, "chainId": 84, "sender": "3MpKvUfNxrgF7QotPjFwi8thMagSveNScKe", "senderPublicKey": "9GE2xN4fms9YNDxR1hGg52RynqDd8125TA42g4X29ZV7", "proofs": [ "5DCKYdtEDmsYJUt5DRjW39HUNyJR8KgAJerYAHfxooPofAhAxzKsR5XK33K968NMYgxhYMMz2C6uuDMLoH78Hqom" ], "script": "base64:AAIEAAAAAAAAAA0IAhIECgIICBIDCgEIAAAAAQAAAAACZksJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEJAAJZAAAAAQIAAAAsQ1hEbmFiSHVhUHd3WlFSSnVSemtGZURMUEtveURVYzFhUW5mTWlVUEt0SEYAAAACAAAAAWkBAAAACXRva2VuTGlzdAAAAAIAAAAHdG9rZW5JZAAAAAZ0aWNrZXIEAAAABEFkZHIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwMJAQAAAAIhPQAAAAIFAAAABEFkZHIJAAQlAAAAAQUAAAAEdGhpcwkAAAIAAAABAgAAAC5UaGUgYWRkcmVzcyBpcyBub3QgYXV0aG9yaXplZCB0byBpbnNlcnQgdG9rZW5zCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAB3Rva2VuSWQFAAAABnRpY2tlcgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAJmSwAAAAAAAAAAAQEAAAAABQAAAANuaWwAAAABaQEAAAALdG9rZW5EZWxpc3QAAAABAAAAB3Rva2VuSWQEAAAABEFkZHIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwMJAQAAAAIhPQAAAAIFAAAABEFkZHIJAAQlAAAAAQUAAAAEdGhpcwkAAAIAAAABAgAAAC5UaGUgYWRkcmVzcyBpcyBub3QgYXV0aG9yaXplZCB0byBkZWxldGUgdG9rZW5zCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAAB3Rva2VuSWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5Eo7nMw==", "height": 1245954, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8Aq7PSQJNEcXeVH8aMswsFbmGbMJxv13c6HdeTdA1FFs Next: Bzwo6GA3DDmFVCUE4Ci1V1PWJYxWpeZGddmuehJ6B3YM Diff:
Old | New | Differences | |
---|---|---|---|
18 | 18 | let Addr = toBase58String(i.caller.bytes) | |
19 | 19 | if ((Addr != toString(this))) | |
20 | 20 | then throw("The address is not authorized to delete tokens") | |
21 | - | else [DeleteEntry(tokenId) | |
21 | + | else [DeleteEntry(tokenId)] | |
22 | 22 | } | |
23 | 23 | ||
24 | 24 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let fK = addressFromPublicKey(fromBase58String("CXDnabHuaPwwZQRJuRzkFeDLPKoyDUc1aQnfMiUPKtHF")) | |
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func tokenList (tokenId,ticker) = { | |
8 | 8 | let Addr = toBase58String(i.caller.bytes) | |
9 | 9 | if ((Addr != toString(this))) | |
10 | 10 | then throw("The address is not authorized to insert tokens") | |
11 | 11 | else [StringEntry(tokenId, ticker), ScriptTransfer(fK, 1, base58'')] | |
12 | 12 | } | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | ||
16 | 16 | @Callable(i) | |
17 | 17 | func tokenDelist (tokenId) = { | |
18 | 18 | let Addr = toBase58String(i.caller.bytes) | |
19 | 19 | if ((Addr != toString(this))) | |
20 | 20 | then throw("The address is not authorized to delete tokens") | |
21 | - | else [DeleteEntry(tokenId) | |
21 | + | else [DeleteEntry(tokenId)] | |
22 | 22 | } | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | @Verifier(tx) | |
26 | 26 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
27 | 27 |
github/deemru/w8io/169f3d6 24.15 ms ◑