tx · Dmymupc9K1LXX17ggKmVbXvBepSqkXsH58N7e7UqUCri

3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW:  -0.01400000 Waves

2021.12.05 14:36 [1820910] smart account 3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW > SELF 0.00000000 Waves

{ "type": 13, "id": "Dmymupc9K1LXX17ggKmVbXvBepSqkXsH58N7e7UqUCri", "fee": 1400000, "feeAssetId": null, "timestamp": 1638704255697, "version": 2, "chainId": 84, "sender": "3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW", "senderPublicKey": "J7yipDGS56f1CWQUaHM6k8TXt1iWw3DrzeqjSEUqL4Uv", "proofs": [ "3LnV5D12hTdUBGszUN71fWcAfosBicVJEHY3gmUzyJXFZepu36pwSvCtANJYpALBAztFC9Y49ejpB7Uqtpz7AUsy" ], "script": "base64:AAIEAAAAAAAAABIIAhIDCgEIEgMKAQgSBAoCAQgAAAAAAAAAAwAAAAFpAQAAAAR0ZXN0AAAAAQAAAANpZHgEAAAAAWMCAAAALEVoaGVRYk1ncEM3cFc1WXVXNHV4Rkp5QjZQTWVzaVd1ZmJXa3FvVnRSMmZKBAAAAAFkCQABmwAAAAEFAAAAAWMEAAAAAWUJAAJYAAAAAQUAAAABZAQAAAADaWR5BQAAAAFlBAAAAAF4BAAAAAckbWF0Y2gwCQAD7AAAAAEFAAAAAWQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABUFzc2V0BAAAAAVhc3NldAUAAAAHJG1hdGNoMAgFAAAABWFzc2V0AAAAC2Rlc2NyaXB0aW9uCQAAAgAAAAECAAAAEENhbid0IGZpbmQgYXNzZXQJAARMAAAAAgkAAAIAAAABCQABLAAAAAICAAAAB3RoZSB4IDoFAAAAAXgFAAAAA25pbAAAAAFpAQAAAAZtaW50bWUAAAABAAAABGluZm8EAAAAB2NvdW50ZXIEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwIAAAAHY291bnRlcgMJAAAB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AAACaWQJAAQ4AAAAAQUAAAAFaXNzdWUJAARMAAAAAgkAAAIAAAABCQABLAAAAAICAAAAB3RoZSB4IDoFAAAAAXgFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5z5zd0g==", "height": 1820910, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: aEVosNB2ffYT7YuQkWwvmVMkRDURK88s8qUKX3ZJx35 Next: 2PgWn4My3DPPHKV6M1qG5uKXZzXtJP3LXMNXL5Thk5Es Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func test (idx) = {
88 let c = "EhheQbMgpC7pW5YuW4uxFJyB6PMesiWufbWkqoVtR2fJ"
99 let d = toBytes(c)
1010 let e = toBase58String(d)
1111 let idy = e
1212 let x = match assetInfo(d) {
1313 case asset: Asset =>
1414 asset.description
1515 case _ =>
1616 throw("Can't find asset")
1717 }
1818 [throw(("the x :" + x))]
1919 }
2020
2121
2222
2323 @Callable(i)
2424 func mintme (info) = {
2525 let counter = match getInteger(this, "counter") {
2626 case a: Int =>
2727 (a + 1)
2828 case _ =>
2929 0
3030 }
3131 let st = toString(counter)
3232 let name = "MDST-NFT #"
3333 let fname = (name + st)
3434 let issue = Issue(fname, info, 1, 0, false)
3535 let id = calculateAssetId(issue)
3636 [issue, ScriptTransfer(i.caller, issue.quantity, id), IntegerEntry("counter", counter)]
3737 }
3838
3939
4040
4141 @Callable(i)
4242 func buynft (cnt,idnftx) = {
4343 let fname = "MDST-NFT-COPY"
4444 let info = "kiki bikit"
4545 let c = toBytes(idnftx)
4646 let e = toBase58String(c)
4747 let idnft = fromBase58String(e)
4848 let idnft2 = base58'EhheQbMgpC7pW5YuW4uxFJyB6PMesiWufbWkqoVtR2fJ'
4949 let x = match assetInfo(idnft) {
5050 case asset: Asset =>
5151 asset.description
5252 case _ =>
5353 throw("Can't find asset")
5454 }
5555 let issue = Issue(fname, info, 1, 0, false)
5656 let id = calculateAssetId(issue)
5757 [throw(("the x :" + x))]
5858 }
5959
6060
6161 @Verifier(tx)
6262 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
6363

github/deemru/w8io/026f985 
21.48 ms