tx · 4p4X9offAuYsHnfyeYipmtZFmGmTy499LzoMB3pyBEjE 3Mp6RDjZ3qAp2UtAEgrzzu9LifFPkPRKyY5: -0.01000000 Waves 2021.12.06 16:57 [1822482] smart account 3Mp6RDjZ3qAp2UtAEgrzzu9LifFPkPRKyY5 > SELF 0.00000000 Waves
{ "type": 13, "id": "4p4X9offAuYsHnfyeYipmtZFmGmTy499LzoMB3pyBEjE", "fee": 1000000, "feeAssetId": null, "timestamp": 1638799090891, "version": 2, "chainId": 84, "sender": "3Mp6RDjZ3qAp2UtAEgrzzu9LifFPkPRKyY5", "senderPublicKey": "7srCzMGcJ4G1BHjenqGXTwUpc4SL2LrTTutvviaQ3baE", "proofs": [ "4YSmboYEfM8JdoHCdKUmUtrs9dZXDK6Mnev4srZaav7KwkGvLZQwnEs3Agk9X4L5W8QQ8CmqbNZ3ARA7qaWQdXXP" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAgEAAAAMd3JpdGVJbnRlZ2VyAAAAAgAAAANrZXkAAAAMaW50ZWdlclZhbHVlCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAADa2V5BQAAAAxpbnRlZ2VyVmFsdWUBAAAAC3dyaXRlU3RyaW5nAAAAAgAAAANrZXkAAAALc3RyaW5nVmFsdWUJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAA2tleQUAAAALc3RyaW5nVmFsdWUAAAABAAAAAWkBAAAACWJ1eVRpY2tldAAAAAEAAAAHZXZlbnRJZAQAAAAPcHVibGljS2V5Q2FsbGVyCQACWAAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQQAAAAFYXNzZXQJAARCAAAABQIAAAALVGVzdCBUaWNrZXQCAAAAGU5GVC1UaWNrZXRpbmcgdGVzdCB0aWNrZXQAAAAAAAAAAAEAAAAAAAAAAAAHBAAAAAd0b2tlbklkCQACWAAAAAEJAAQ4AAAAAQUAAAAFYXNzZXQJAARMAAAAAgUAAAAFYXNzZXQJAARMAAAAAgkBAAAAC3dyaXRlU3RyaW5nAAAAAgkAASwAAAACBQAAAAd0b2tlbklkAgAAAApfUHVibGljS2V5BQAAAA9wdWJsaWNLZXlDYWxsZXIJAARMAAAAAgkBAAAAC3dyaXRlU3RyaW5nAAAAAgkAASwAAAACBQAAAAd0b2tlbklkAgAAAAhfRXZlbnRJZAUAAAAHZXZlbnRJZAkABEwAAAACCQEAAAALd3JpdGVTdHJpbmcAAAACCQABLAAAAAIFAAAAB3Rva2VuSWQCAAAAB19TdGF0dXMCAAAACGluYWN0aXZlCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQkAAlkAAAABBQAAAAd0b2tlbklkBQAAAANuaWwAAAAAmbZdNA==", "height": 1822482, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | func a (b,c) = IntegerEntry(b, c) | |
5 | + | ||
6 | + | ||
7 | + | func d (b,e) = StringEntry(b, e) | |
8 | + | ||
9 | + | ||
10 | + | @Callable(f) | |
11 | + | func buyTicket (g) = { | |
12 | + | let h = toBase58String(f.callerPublicKey) | |
13 | + | let i = Issue("Test Ticket", "NFT-Ticketing test ticket", 1, 0, false) | |
14 | + | let j = toBase58String(calculateAssetId(i)) | |
15 | + | [i, d((j + "_PublicKey"), h), d((j + "_EventId"), g), d((j + "_Status"), "inactive"), ScriptTransfer(f.caller, 1, fromBase58String(j))] | |
16 | + | } | |
17 | + | ||
18 | + |
github/deemru/w8io/026f985 12.40 ms ◑