tx · CiHKjxnZu2cWLWizDDc4W8kJVUZMx6QZkdkYK7Pee36k

3MrQ4g9YCsAN2Wr4QUXiWAPhNPv7DGdQNWb:  -0.00200000 Waves

2023.03.05 00:51 [2475884] smart account 3MrQ4g9YCsAN2Wr4QUXiWAPhNPv7DGdQNWb > SELF 0.00000000 Waves

{ "type": 13, "id": "CiHKjxnZu2cWLWizDDc4W8kJVUZMx6QZkdkYK7Pee36k", "fee": 200000, "feeAssetId": null, "timestamp": 1677966721326, "version": 2, "chainId": 84, "sender": "3MrQ4g9YCsAN2Wr4QUXiWAPhNPv7DGdQNWb", "senderPublicKey": "2VQGRNRWyFAZvjDtkgZwdZcTwZvBJJ61n8zJfYYxm5eK", "proofs": [ "3VVUu4LjjkNugXuJnxTzR1ZvVCuaFHpCXMPUhRmnpfopzHeRbo6tgkRZebRtiaHeR5vwHgHXEo2FnN5MHnxigD5g" ], "script": "base64:BgIPCAISBQoDCAgIEgQKAggIBQAOY29sbGVjdGlvbk5hbWUJARFAZXh0ck5hdGl2ZSgxMDUzKQIFBHRoaXMCDmNvbGxlY3Rpb25OYW1lAAZzeW1ib2wJARFAZXh0ck5hdGl2ZSgxMDUzKQIFBHRoaXMCDmNvbGxlY3Rpb25OYW1lAAtkZXNjcmlwdGlvbgkBEUBleHRyTmF0aXZlKDEwNTMpAgUEdGhpcwILZGVzY3JpcHRpb24AC3RvdGFsQW1vdW50CQERQGV4dHJOYXRpdmUoMTA1MCkCBQR0aGlzAgt0b3RhbEFtb3VudAENdHJhbnNmZXJPck5vdAICdG8HYXNzZXRJZAMJAAACBQJ0bwUEdGhpcwkBC1N0cmluZ0VudHJ5AgIAAgAJAQ5TY3JpcHRUcmFuc2ZlcgMFAnRvAAEFB2Fzc2V0SWQCAWkBBGluaXQDDmNvbGxlY3Rpb25OYW1lBnN5bWJvbAtkZXNjcmlwdGlvbgMJAAACCAUBaQZjYWxsZXIFBHRoaXMJAMwIAgkBC1N0cmluZ0VudHJ5AgIOY29sbGVjdGlvbk5hbWUFDmNvbGxlY3Rpb25OYW1lCQDMCAIJAQtTdHJpbmdFbnRyeQICBnN5bWJvbAUGc3ltYm9sCQDMCAIJAQtTdHJpbmdFbnRyeQICC2Rlc2NyaXB0aW9uBQtkZXNjcmlwdGlvbgkAzAgCCQEMSW50ZWdlckVudHJ5AgILdG90YWxBbW91bnQAAAUDbmlsCQACAQIJb25seSBkQXBwAWkBBG1pbnQCAnRvCHRva2VuVVJJAwkAAAIIBQFpBmNhbGxlcgUEdGhpcwQHdG9rZW5JZAkAZAIFC3RvdGFsQW1vdW50AAEEB3ByZU5hbWUJAKwCAgkArAICBQZzeW1ib2wCAS0JAKQDAQUHdG9rZW5JZAQEbmFtZQMJAGYCCQCxAgEFB3ByZU5hbWUAEAkApAMBBQd0b2tlbklkBQdwcmVOYW1lBAVhc3NldAkAwwgHBQRuYW1lBQtkZXNjcmlwdGlvbgABAAAHBQR1bml0BQZoZWlnaHQEB2Fzc2V0SWQJALgIAQUFYXNzZXQECXRvQWRkcmVzcwkBB0FkZHJlc3MBCQDZBAEFAnRvBAh0cmFuc2ZlcgkBDXRyYW5zZmVyT3JOb3QCBQl0b0FkZHJlc3MFB2Fzc2V0SWQDCQAAAgUIdHJhbnNmZXIFCHRyYW5zZmVyCQDMCAIFBWFzc2V0CQDMCAIFCHRyYW5zZmVyCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgt0b3RhbEFtb3VudAUHdG9rZW5JZAkAzAgCCQELU3RyaW5nRW50cnkCBQRuYW1lBQh0b2tlblVSSQUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIJb25seSBkQXBwAJgL55s=", "height": 2475884, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AxUdteq6UyvJW9We98CJrjHomM6KgKgzVGTfveA5roFa Next: Hm9vYwtJyf9k9fa78KfXJCXyES2gGkJCuN4M35W17c1E Diff:
OldNewDifferences
2525 func mint (f,i) = if ((h.caller == this))
2626 then {
2727 let j = (d + 1)
28- let k = ((b + " ") + toString(j))
28+ let k = ((b + "-") + toString(j))
2929 let l = if ((size(k) > 16))
3030 then toString(j)
3131 else k
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = getStringValue(this, "collectionName")
55
66 let b = getStringValue(this, "collectionName")
77
88 let c = getStringValue(this, "description")
99
1010 let d = getIntegerValue(this, "totalAmount")
1111
1212 func e (f,g) = if ((f == this))
1313 then StringEntry("", "")
1414 else ScriptTransfer(f, 1, g)
1515
1616
1717 @Callable(h)
1818 func init (a,b,c) = if ((h.caller == this))
1919 then [StringEntry("collectionName", a), StringEntry("symbol", b), StringEntry("description", c), IntegerEntry("totalAmount", 0)]
2020 else throw("only dApp")
2121
2222
2323
2424 @Callable(h)
2525 func mint (f,i) = if ((h.caller == this))
2626 then {
2727 let j = (d + 1)
28- let k = ((b + " ") + toString(j))
28+ let k = ((b + "-") + toString(j))
2929 let l = if ((size(k) > 16))
3030 then toString(j)
3131 else k
3232 let m = Issue(l, c, 1, 0, false, unit, height)
3333 let g = calculateAssetId(m)
3434 let n = Address(fromBase58String(f))
3535 let o = e(n, g)
3636 if ((o == o))
3737 then [m, o, IntegerEntry("totalAmount", j), StringEntry(l, i)]
3838 else throw("Strict value is not equal to itself.")
3939 }
4040 else throw("only dApp")
4141
4242

github/deemru/w8io/026f985 
28.97 ms