tx · Gn4HbvcZQLRaWzRw1CGhaurfwthGsiHUkGojXFcecNqx 3MtFmZrbGArNpEqhWLJdoRqsFFCrA7f1eF6: -0.01000000 Waves 2022.04.05 17:02 [1995376] smart account 3MtFmZrbGArNpEqhWLJdoRqsFFCrA7f1eF6 > SELF 0.00000000 Waves
{ "type": 13, "id": "Gn4HbvcZQLRaWzRw1CGhaurfwthGsiHUkGojXFcecNqx", "fee": 1000000, "feeAssetId": null, "timestamp": 1649167327453, "version": 1, "sender": "3MtFmZrbGArNpEqhWLJdoRqsFFCrA7f1eF6", "senderPublicKey": "9BFgkfChvxWyvJMTj9ieteB8CzPqYeunYXyPrqHJ3k2j", "proofs": [ "4eEpjmRXxU7sVnzzDekcHhtH5TRZ63tyBhfUgijaGsDZh9UzjbzVoYTzF926aYQ7c1ppsSsKdk7fCTe4VbAqQf7P" ], "script": "base64:AAIFAAAAAAAAAAgIAhIAEgASAAAAAAAAAAADAAAAA2ludgEAAAAFaXNzdWUAAAAABAAAAAVhc3NldAkABEIAAAAFAgAAAAR0ZXN0AgAAAAp0ZXN0IGRlc2NyAAAAAAAAD0JAAAAAAAAAAAACBgkABEwAAAACBQAAAAVhc3NldAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQACWAAAAAEJAAQ4AAAAAQUAAAAFYXNzZXQJAAJYAAAAAQgFAAAAA2ludgAAAA10cmFuc2FjdGlvbklkBQAAAANuaWwAAAADaW52AQAAAAhpc3N1ZU5mdAAAAAAEAAAAA25mdAkABEIAAAAFAgAAAAR0ZXN0AgAAAAp0ZXN0IGRlc2NyAAAAAAAAAAABAAAAAAAAAAAABwkABEwAAAACBQAAAANuZnQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAAlgAAAABCQAEOAAAAAEFAAAAA25mdAkAAlgAAAABCAUAAAADaW52AAAADXRyYW5zYWN0aW9uSWQFAAAAA25pbAAAAANpbnYBAAAAFGlzc3VlRnJvbUlubmVySW52b2tlAAAAAAQAAAAKaW5uZXJJc3N1ZQkAA/wAAAAEBQAAAAR0aGlzAgAAAAVpc3N1ZQUAAAADbmlsBQAAAANuaWwDCQAAAAAAAAIFAAAACmlubmVySXNzdWUFAAAACmlubmVySXNzdWUFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAAAlIxgmQ==", "chainId": 84, "height": 1995376, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: BWvJTfDY9mn5NMDeg1Qg1B3yAzMv8cyHkyzzcr9zEars Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | @Callable(inv) | |
7 | + | func issue () = { | |
8 | + | let asset = Issue("test", "test descr", 1000000, 2, true) | |
9 | + | [asset, StringEntry(toBase58String(calculateAssetId(asset)), toBase58String(inv.transactionId))] | |
10 | + | } | |
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | @Callable(inv) | |
15 | + | func issueNft () = { | |
16 | + | let nft = Issue("test", "test descr", 1, 0, false) | |
17 | + | [nft, StringEntry(toBase58String(calculateAssetId(nft)), toBase58String(inv.transactionId))] | |
18 | + | } | |
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | @Callable(inv) | |
23 | + | func issueFromInnerInvoke () = { | |
24 | + | let innerIssue = invoke(this, "issue", nil, nil) | |
25 | + | if ((innerIssue == innerIssue)) | |
26 | + | then nil | |
27 | + | else throw("Strict value is not equal to itself.") | |
28 | + | } | |
29 | + | ||
30 | + |
github/deemru/w8io/026f985 21.60 ms ◑