tx · A12bMRMab78VriVJji5js5gfuY1FtAP6XVsSSCrafqFg 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo: -0.01000000 Waves 2022.11.16 15:41 [2319686] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves
{ "type": 13, "id": "A12bMRMab78VriVJji5js5gfuY1FtAP6XVsSSCrafqFg", "fee": 1000000, "feeAssetId": null, "timestamp": 1668602258161, "version": 2, "chainId": 84, "sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo", "senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V", "proofs": [ "2StjWvS3Xzijqpa9JhdBXdE3BigRnVjr61a985DD6D5Dj3dgCEHe4U5MBBUoH1dQnEXScnXRRMG2Q6PfNiKBekY7" ], "script": "base64:BgIOCAISCgoICAgICAgBCAgFAAlzZXBhcmF0b3ICAV8ABGtCdXkCA2J1eQAFa1NlbGwCBHNlbGwABmtQcmljZQIFcHJpY2UBBWlzTmZ0AQdhc3NldElkBAckbWF0Y2gwCQDsBwEFB2Fzc2V0SWQDCQABAgUHJG1hdGNoMAIFQXNzZXQEBXRva2VuBQckbWF0Y2gwAwMJAAACCAUFdG9rZW4IZGVjaW1hbHMAAAkAAAIIBQV0b2tlbghxdWFudGl0eQABBwkAAAIIBQV0b2tlbgpyZWlzc3VhYmxlBwcHAQFpAQhpc3N1ZU5mdAgIbmZ0X25hbWUJbmZ0X293bmVyD25mdF9kQXBwQWRkcmVzcwhuZnRfdHlwZQhuZnRfdGFncxFuZnRfc2VsbGluZ19wcmljZQ9uZnRfZGVzY3JpcHRpb24IbmZ0X2RhdGEECG5ld1Rva2VuCQDCCAUFCG5mdF9uYW1lBQ9uZnRfZGVzY3JpcHRpb24AAQAABwQHaXNzdWVJZAkAuAgBBQhuZXdUb2tlbgkAzAgCBQhuZXdUb2tlbgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZjYWxsZXIAAQUHaXNzdWVJZAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJAKwCAgkA2AQBBQdpc3N1ZUlkBQlzZXBhcmF0b3ICCW5mdF9vd25lcgkApQgBCAUBaQZjYWxsZXIJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQCsAgIJANgEAQUHaXNzdWVJZAUJc2VwYXJhdG9yAghuZnRfdHlwZQUIbmZ0X3R5cGUJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQCsAgIJANgEAQUHaXNzdWVJZAUJc2VwYXJhdG9yAghuZnRfdGFncwUIbmZ0X3RhZ3MJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQCsAgIJANgEAQUHaXNzdWVJZAUJc2VwYXJhdG9yAg9uZnRfZEFwcEFkZHJlc3MFD25mdF9kQXBwQWRkcmVzcwkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICCQCsAgIJANgEAQUHaXNzdWVJZAUJc2VwYXJhdG9yAhFuZnRfc2VsbGluZ19wcmljZQURbmZ0X3NlbGxpbmdfcHJpY2UJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQCsAgIJANgEAQUHaXNzdWVJZAUJc2VwYXJhdG9yAghuZnRfZGF0YQUIbmZ0X2RhdGEJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQCsAgIJANgEAQUHaXNzdWVJZAUJc2VwYXJhdG9yAg5pc3N1ZU5mdFRvVXNlcgkA3AQBBQdpc3N1ZUlkBQNuaWwAe+i5uQ==", "height": 2319686, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H59DAQKCN8HtqrBsTMMiDFFwwUa3fdjnPVU1bMXUnhw2 Next: FwyuTxCZkfQhSQsY4NBzVjtYMNv3TDStTam7PUP5Sqnp Diff:
Old | New | Differences | |
---|---|---|---|
28 | 28 | func issueNft (j,k,l,m,n,o,p,q) = { | |
29 | 29 | let r = Issue(j, p, 1, 0, false) | |
30 | 30 | let s = calculateAssetId(r) | |
31 | - | [r, StringEntry(((toBase58String(s) + a) + "nft_owner"), toString(i.caller)), StringEntry(((toBase58String(s) + a) + "nft_type"), m), StringEntry(((toBase58String(s) + a) + "nft_tags"), n), StringEntry(((toBase58String(s) + a) + "nft_dAppAddress"), l), IntegerEntry(((toBase58String(s) + a) + "nft_selling_price"), o), StringEntry(((toBase58String(s) + a) + "nft_data"), q), StringEntry(((toBase58String(s) + a) + "issueNftToUser"), toBase16String(s))] | |
31 | + | [r, ScriptTransfer(i.caller, 1, s), StringEntry(((toBase58String(s) + a) + "nft_owner"), toString(i.caller)), StringEntry(((toBase58String(s) + a) + "nft_type"), m), StringEntry(((toBase58String(s) + a) + "nft_tags"), n), StringEntry(((toBase58String(s) + a) + "nft_dAppAddress"), l), IntegerEntry(((toBase58String(s) + a) + "nft_selling_price"), o), StringEntry(((toBase58String(s) + a) + "nft_data"), q), StringEntry(((toBase58String(s) + a) + "issueNftToUser"), toBase16String(s))] | |
32 | 32 | } | |
33 | 33 | ||
34 | 34 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "_" | |
5 | 5 | ||
6 | 6 | let b = "buy" | |
7 | 7 | ||
8 | 8 | let c = "sell" | |
9 | 9 | ||
10 | 10 | let d = "price" | |
11 | 11 | ||
12 | 12 | func e (f) = { | |
13 | 13 | let g = assetInfo(f) | |
14 | 14 | if ($isInstanceOf(g, "Asset")) | |
15 | 15 | then { | |
16 | 16 | let h = g | |
17 | 17 | if (if ((h.decimals == 0)) | |
18 | 18 | then (h.quantity == 1) | |
19 | 19 | else false) | |
20 | 20 | then (h.reissuable == false) | |
21 | 21 | else false | |
22 | 22 | } | |
23 | 23 | else false | |
24 | 24 | } | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | @Callable(i) | |
28 | 28 | func issueNft (j,k,l,m,n,o,p,q) = { | |
29 | 29 | let r = Issue(j, p, 1, 0, false) | |
30 | 30 | let s = calculateAssetId(r) | |
31 | - | [r, StringEntry(((toBase58String(s) + a) + "nft_owner"), toString(i.caller)), StringEntry(((toBase58String(s) + a) + "nft_type"), m), StringEntry(((toBase58String(s) + a) + "nft_tags"), n), StringEntry(((toBase58String(s) + a) + "nft_dAppAddress"), l), IntegerEntry(((toBase58String(s) + a) + "nft_selling_price"), o), StringEntry(((toBase58String(s) + a) + "nft_data"), q), StringEntry(((toBase58String(s) + a) + "issueNftToUser"), toBase16String(s))] | |
31 | + | [r, ScriptTransfer(i.caller, 1, s), StringEntry(((toBase58String(s) + a) + "nft_owner"), toString(i.caller)), StringEntry(((toBase58String(s) + a) + "nft_type"), m), StringEntry(((toBase58String(s) + a) + "nft_tags"), n), StringEntry(((toBase58String(s) + a) + "nft_dAppAddress"), l), IntegerEntry(((toBase58String(s) + a) + "nft_selling_price"), o), StringEntry(((toBase58String(s) + a) + "nft_data"), q), StringEntry(((toBase58String(s) + a) + "issueNftToUser"), toBase16String(s))] | |
32 | 32 | } | |
33 | 33 | ||
34 | 34 |
github/deemru/w8io/026f985 27.44 ms ◑