tx · aEVosNB2ffYT7YuQkWwvmVMkRDURK88s8qUKX3ZJx35

3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW:  -0.01400000 Waves

2021.12.05 14:34 [1820908] smart account 3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW > SELF 0.00000000 Waves

{ "type": 13, "id": "aEVosNB2ffYT7YuQkWwvmVMkRDURK88s8qUKX3ZJx35", "fee": 1400000, "feeAssetId": null, "timestamp": 1638704139529, "version": 2, "chainId": 84, "sender": "3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW", "senderPublicKey": "J7yipDGS56f1CWQUaHM6k8TXt1iWw3DrzeqjSEUqL4Uv", "proofs": [ "5Q1TEoTRGegHNX7n79ctypxQjZQZLF8hyTskRZ3neRbhkG6QrHpmxNXiYE6rDGWC735jZxT8u3nH1kh8CcNgkVj7" ], "script": "base64:AAIEAAAAAAAAABIIAhIDCgEIEgMKAQgSBAoCAQgAAAAAAAAAAwAAAAFpAQAAAAR0ZXN0AAAAAQAAAANpZHgEAAAAAWMCAAAALEVoaGVRYk1ncEM3cFc1WXVXNHV4Rkp5QjZQTWVzaVd1ZmJXa3FvVnRSMmZKBAAAAAFkCQABmwAAAAEFAAAAAWMEAAAAAWUJAAJYAAAAAQUAAAABZAQAAAADaWR5BQAAAAFlBAAAAAF4BAAAAAckbWF0Y2gwCQAD7AAAAAEFAAAAAWQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABUFzc2V0BAAAAAVhc3NldAUAAAAHJG1hdGNoMAgFAAAABWFzc2V0AAAAC2Rlc2NyaXB0aW9uCQAAAgAAAAECAAAAEENhbid0IGZpbmQgYXNzZXQJAARMAAAAAgkAAAIAAAABCQABLAAAAAICAAAAB3RoZSB4IDoFAAAAAXgFAAAAA25pbAAAAAFpAQAAAAZtaW50bWUAAAABAAAABGluZm8EAAAAB2NvdW50ZXIEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwIAAAAHY291bnRlc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AAABwQAAAACaWQJAAQ4AAAAAQUAAAAFaXNzdWUJAARMAAAAAgkAAAIAAAABCQABLAAAAAICAAAAB3RoZSB4IDoFAAAAAXgFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5z5zd0g==", "height": 1820908, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AQ1SZsyKEYN28nuncMxgvviK3WHgZ59hDJ3EvkJyKbsV Next: Dmymupc9K1LXX17ggKmVbXvBepSqkXsH58N7e7UqUCri Diff:
OldNewDifferences
55
66 @Callable(i)
77 func test (idx) = {
8- let fname = "test"
9- let info = "sometext"
10- let c = toBytes(idx)
11- let e = toBase58String(c)
12- let idy = base58'EhheQbMgpC7pW5YuW4uxFJyB6PMesiWufbWkqoVtR2fJ'
13- let x = match assetInfo(idy) {
8+ let c = "EhheQbMgpC7pW5YuW4uxFJyB6PMesiWufbWkqoVtR2fJ"
9+ let d = toBytes(c)
10+ let e = toBase58String(d)
11+ let idy = e
12+ let x = match assetInfo(d) {
1413 case asset: Asset =>
1514 asset.description
1615 case _ =>
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func test (idx) = {
8- let fname = "test"
9- let info = "sometext"
10- let c = toBytes(idx)
11- let e = toBase58String(c)
12- let idy = base58'EhheQbMgpC7pW5YuW4uxFJyB6PMesiWufbWkqoVtR2fJ'
13- let x = match assetInfo(idy) {
8+ let c = "EhheQbMgpC7pW5YuW4uxFJyB6PMesiWufbWkqoVtR2fJ"
9+ let d = toBytes(c)
10+ let e = toBase58String(d)
11+ let idy = e
12+ let x = match assetInfo(d) {
1413 case asset: Asset =>
1514 asset.description
1615 case _ =>
1716 throw("Can't find asset")
1817 }
1918 [throw(("the x :" + x))]
2019 }
2120
2221
2322
2423 @Callable(i)
2524 func mintme (info) = {
2625 let counter = match getInteger(this, "counter") {
2726 case a: Int =>
2827 (a + 1)
2928 case _ =>
3029 0
3130 }
3231 let st = toString(counter)
3332 let name = "MDST-NFT #"
3433 let fname = (name + st)
3534 let issue = Issue(fname, info, 1, 0, false)
3635 let id = calculateAssetId(issue)
3736 [issue, ScriptTransfer(i.caller, issue.quantity, id), IntegerEntry("counter", counter)]
3837 }
3938
4039
4140
4241 @Callable(i)
4342 func buynft (cnt,idnftx) = {
4443 let fname = "MDST-NFT-COPY"
4544 let info = "kiki bikit"
4645 let c = toBytes(idnftx)
4746 let e = toBase58String(c)
4847 let idnft = fromBase58String(e)
4948 let idnft2 = base58'EhheQbMgpC7pW5YuW4uxFJyB6PMesiWufbWkqoVtR2fJ'
5049 let x = match assetInfo(idnft) {
5150 case asset: Asset =>
5251 asset.description
5352 case _ =>
5453 throw("Can't find asset")
5554 }
5655 let issue = Issue(fname, info, 1, 0, false)
5756 let id = calculateAssetId(issue)
5857 [throw(("the x :" + x))]
5958 }
6059
6160
6261 @Verifier(tx)
6362 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
6463

github/deemru/w8io/026f985 
22.44 ms