tx · BgAZiotYULANN69RsbvZGUKdnMPAUEfZu4uqi7BYNo3k

3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW:  -0.01400000 Waves

2021.12.05 13:47 [1820861] smart account 3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW > SELF 0.00000000 Waves

{ "type": 13, "id": "BgAZiotYULANN69RsbvZGUKdnMPAUEfZu4uqi7BYNo3k", "fee": 1400000, "feeAssetId": null, "timestamp": 1638701335769, "version": 2, "chainId": 84, "sender": "3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW", "senderPublicKey": "J7yipDGS56f1CWQUaHM6k8TXt1iWw3DrzeqjSEUqL4Uv", "proofs": [ "4gYnx71U7MM9caG2ZqSVzp7J42RE7TcJu9RYyiutC79TNuJ8dk119mPKPbVZUGapD5qu8FX6QVdXsF28JrFRoNSw" ], "script": "base64:AAIEAAAAAAAAAA0IAhIDCgEIEgQKAgEIAAAAAAAAAAIAAAABaQEAAAAGbWludG1lAAAAAQAAAARpbmZvBAAAAAdjb3VudGVyBAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMCAAAAB2NvdW50ZXIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAkAAGQAAAACBQAAAAFhAAAAAAAAAAABAAAAAAAAAAAABAAAAAJzdAkAAaQAAAABBQAAAAdjb3VudGVyBAAAAARuYW1lAgAAAApNRFNULU5GVCAjBAAAAAVmbmFtZQkAASwAAAACBQAAAARuYW1lBQAAAAJzdAQAAAAFaXNzdWUJAARCAAAABQUAAAAFZm5hbWUFAAAABGluZm8AAAAAAAAAAAEAAAAAAAAAAAAHBAAAAAJpZAkABDgAAAABBQAAAAVpc3N1ZQkABEwAAAACBQAAAAVpc3N1ZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIIBQAAAAVpc3N1ZQAAAAhxdWFudGl0eQUAAAACaWQJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAB2NvdW50ZXIFAAAAB2NvdW50ZXIFAAAAA25pbAAAAAFpAQAAAAZidXluZnQAAAACAAAAA2NudAAAAAZpZG5mdHgEAAAABWZuYW1lAgAAAA1NRFNULU5GVC1DT1BZBAAAAARpbmZvAgAAAApraWtpIGJpa2l0BAAAAAVpZG5mdAkAAlkAAAABBQAAAAZpZG5mdHgEAAAAAXgEAAAAByRtYXRjaDAJAAPsAAAAAQUAAAAFaWRuZnQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABUFzc2V0BAAAAAVhc3NldAUAAAAHJG1hdGNoMAgFAAAABWFzc2V0AAAAC2Rlc2NyaXB0aW9uCQAAAgAAAAECAAAAEENhbid0IGZpbmQgYXNzZXQEAAAABWlzc3VlCQAEQgAAAAUFAAAABWZuYW1lBQAAAARpbmZvAAAAAAAAAAABAAAAAAAAAAAABwQAAAACaWQJAAQ4AAAAAQUAAAAFaXNzdWUJAARMAAAAAgkAAAIAAAABCQABLAAAAAICAAAAB3RoZSB4IDoFAAAAAXgFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V54Xix8Q==", "height": 1820861, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 22DKm56Ay9wgr9WSw6i9ek3LzGxj7crL8DbhzPqE9wf6 Next: GqjnGtvK95xF4XNhmmerCNHgoiHXTLtSyU7msijwaYRW Diff:
OldNewDifferences
2525 func buynft (cnt,idnftx) = {
2626 let fname = "MDST-NFT-COPY"
2727 let info = "kiki bikit"
28- let c = toBytes(idnftx)
29- let e = toBase58String(c)
30- let d = toBytes(e)
3128 let idnft = fromBase58String(idnftx)
3229 let x = match assetInfo(idnft) {
3330 case asset: Asset =>
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func mintme (info) = {
88 let counter = match getInteger(this, "counter") {
99 case a: Int =>
1010 (a + 1)
1111 case _ =>
1212 0
1313 }
1414 let st = toString(counter)
1515 let name = "MDST-NFT #"
1616 let fname = (name + st)
1717 let issue = Issue(fname, info, 1, 0, false)
1818 let id = calculateAssetId(issue)
1919 [issue, ScriptTransfer(i.caller, issue.quantity, id), IntegerEntry("counter", counter)]
2020 }
2121
2222
2323
2424 @Callable(i)
2525 func buynft (cnt,idnftx) = {
2626 let fname = "MDST-NFT-COPY"
2727 let info = "kiki bikit"
28- let c = toBytes(idnftx)
29- let e = toBase58String(c)
30- let d = toBytes(e)
3128 let idnft = fromBase58String(idnftx)
3229 let x = match assetInfo(idnft) {
3330 case asset: Asset =>
3431 asset.description
3532 case _ =>
3633 throw("Can't find asset")
3734 }
3835 let issue = Issue(fname, info, 1, 0, false)
3936 let id = calculateAssetId(issue)
4037 [throw(("the x :" + x))]
4138 }
4239
4340
4441 @Verifier(tx)
4542 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
4643

github/deemru/w8io/873ac7e 
34.40 ms