tx · 6birTWDgZmQjC2GUdwdVaMHSA8hEZv68txYdwfFqpQgK

3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW:  -0.01400000 Waves

2021.12.05 12:28 [1820788] smart account 3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW > SELF 0.00000000 Waves

{ "type": 13, "id": "6birTWDgZmQjC2GUdwdVaMHSA8hEZv68txYdwfFqpQgK", "fee": 1400000, "feeAssetId": null, "timestamp": 1638696502871, "version": 2, "chainId": 84, "sender": "3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW", "senderPublicKey": "J7yipDGS56f1CWQUaHM6k8TXt1iWw3DrzeqjSEUqL4Uv", "proofs": [ "3dSrQHhQEwxpaghwCidgc69Q5uq4HTwi7vrn41UDuP8rBgBGtT1ao2G55yhy1sPAqaDBKxkXriwmZziVUWENzTZ9" ], "script": "base64:AAIEAAAAAAAAAA4IAhIDCgEIEgUKAwECCAAAAAAAAAACAAAAAWkBAAAABm1pbnRtZQAAAAEAAAAEaW5mbwQAAAAHY291bnRlcgQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAAAdjb3VudGVyAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAJAABkAAAAAgUAAAABYQAAAAAAAAAAAQAAAAAAAAAAAAQAAAACc3QJAAGkAAAAAQUAAAAHY291bnRlcgQAAAAEbmFtZQIAAAAKTURTVC1ORlQgIwQAAAAFZm5hbWUJAAEsAAAAAgUAAAAEbmFtZQUAAAACc3QEAAAABWlzc3VlCQAEQgAAAAUFAAAABWZuYW1lBQAAAARpbmZvAAAAAAAAAAABAAAAAAAAAAAABwQAAAACaWQJAAQ4AAAAAQUAAAAFaXNzdWUJAARMAAAAAgUAAAAFaXNzdWUJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCAUAAAAFaXNzdWUAAAAIcXVhbnRpdHkFAAAAAmlkCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAdjb3VudGVyBQAAAAdjb3VudGVyBQAAAANuaWwAAAABaQEAAAAGYnV5bmZ0AAAAAwAAAANjbnQAAAAFaWRuZnQAAAAEaW5mbwQAAAAFZm5hbWUCAAAADU1EU1QtTkZULUNPUFkEAAAAAXgEAAAAByRtYXRjaDAJAAPsAAAAAQUAAAAFaWRuZnQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABUFzc2V0BAAAAAVhc3NldAUAAAAHJG1hdGNoMAgFAAAABWFzc2V0AAAAC2Rlc2NyaXB0aW9uCQAAAgAAAAECAAAAEENhbid0IGZpbmQgYXNzZXQEAAAABWlzc3VlCQAEQgAAAAUFAAAABWZuYW1lBQAAAARpbmZvAAAAAAAAAAABAAAAAAAAAAAABwQAAAACaWQJAAQ4AAAAAQUAAAAFaXNzdWUJAARMAAAAAgkAAAIAAAABCQABLAAAAAICAAAAB3RoZSB4IDoFAAAAAXgFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5GEyMTQ==", "height": 1820788, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: C7ycA9cnPCjjo7siCxrsgus5DGVjvyPcjiLRNQTKPXog Next: 4q9ztFLMyBg218cA6nrwBTtXMnQ7TKwCxZJmU1CY2A8k Diff:
OldNewDifferences
2323 }
2424
2525
26-@Verifier(k)
27-func l () = sigVerify(k.bodyBytes, k.proofs[0], k.senderPublicKey)
26+
27+@Callable(a)
28+func buynft (k,l,b) = {
29+ let h = "MDST-NFT-COPY"
30+ let m = {
31+ let d = assetInfo(l)
32+ if ($isInstanceOf(d, "Asset"))
33+ then {
34+ let n = d
35+ n.description
36+ }
37+ else throw("Can't find asset")
38+ }
39+ let i = Issue(h, b, 1, 0, false)
40+ let j = calculateAssetId(i)
41+[throw(("the x :" + m))]
42+ }
43+
44+
45+@Verifier(o)
46+func p () = sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey)
2847
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func mintme (b) = {
88 let c = {
99 let d = getInteger(this, "counter")
1010 if ($isInstanceOf(d, "Int"))
1111 then {
1212 let e = d
1313 (e + 1)
1414 }
1515 else 0
1616 }
1717 let f = toString(c)
1818 let g = "MDST-NFT #"
1919 let h = (g + f)
2020 let i = Issue(h, b, 1, 0, false)
2121 let j = calculateAssetId(i)
2222 [i, ScriptTransfer(a.caller, i.quantity, j), IntegerEntry("counter", c)]
2323 }
2424
2525
26-@Verifier(k)
27-func l () = sigVerify(k.bodyBytes, k.proofs[0], k.senderPublicKey)
26+
27+@Callable(a)
28+func buynft (k,l,b) = {
29+ let h = "MDST-NFT-COPY"
30+ let m = {
31+ let d = assetInfo(l)
32+ if ($isInstanceOf(d, "Asset"))
33+ then {
34+ let n = d
35+ n.description
36+ }
37+ else throw("Can't find asset")
38+ }
39+ let i = Issue(h, b, 1, 0, false)
40+ let j = calculateAssetId(i)
41+[throw(("the x :" + m))]
42+ }
43+
44+
45+@Verifier(o)
46+func p () = sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey)
2847

github/deemru/w8io/026f985 
21.63 ms