tx · CEo7CHjkmf2NViY8wHFKwkrxv2vzkd2tT854vzH1Jt13

3MrQ4g9YCsAN2Wr4QUXiWAPhNPv7DGdQNWb:  -0.00200000 Waves

2023.03.05 01:01 [2475895] smart account 3MrQ4g9YCsAN2Wr4QUXiWAPhNPv7DGdQNWb > SELF 0.00000000 Waves

{ "type": 13, "id": "CEo7CHjkmf2NViY8wHFKwkrxv2vzkd2tT854vzH1Jt13", "fee": 200000, "feeAssetId": null, "timestamp": 1677967281433, "version": 2, "chainId": 84, "sender": "3MrQ4g9YCsAN2Wr4QUXiWAPhNPv7DGdQNWb", "senderPublicKey": "2VQGRNRWyFAZvjDtkgZwdZcTwZvBJJ61n8zJfYYxm5eK", "proofs": [ "43kKsjPQxdAanMdoSG26QGnUtPaMijdJfqNmgNe825ZaXJSqsvXSR5A1QcaKy9JCsRtHNcu8HpZjTRBMAa9ztgnH" ], "script": "base64:BgIPCAISBQoDCAgIEgQKAggIBQAOY29sbGVjdGlvbk5hbWUJARFAZXh0ck5hdGl2ZSgxMDUzKQIFBHRoaXMCDmNvbGxlY3Rpb25OYW1lAAZzeW1ib2wJARFAZXh0ck5hdGl2ZSgxMDUzKQIFBHRoaXMCBnN5bWJvbAALZGVzY3JpcHRpb24JARFAZXh0ck5hdGl2ZSgxMDUzKQIFBHRoaXMCC2Rlc2NyaXB0aW9uAAt0b3RhbEFtb3VudAkBEUBleHRyTmF0aXZlKDEwNTApAgUEdGhpcwILdG90YWxBbW91bnQBDXRyYW5zZmVyT3JOb3QCAnRvB2Fzc2V0SWQDCQAAAgUCdG8FBHRoaXMJAQtTdHJpbmdFbnRyeQICAAIACQEOU2NyaXB0VHJhbnNmZXIDBQJ0bwABBQdhc3NldElkAgFpAQRpbml0Aw5jb2xsZWN0aW9uTmFtZQZzeW1ib2wLZGVzY3JpcHRpb24DCQAAAggFAWkGY2FsbGVyBQR0aGlzCQDMCAIJAQtTdHJpbmdFbnRyeQICDmNvbGxlY3Rpb25OYW1lBQ5jb2xsZWN0aW9uTmFtZQkAzAgCCQELU3RyaW5nRW50cnkCAgZzeW1ib2wFBnN5bWJvbAkAzAgCCQELU3RyaW5nRW50cnkCAgtkZXNjcmlwdGlvbgULZGVzY3JpcHRpb24JAMwIAgkBDEludGVnZXJFbnRyeQICC3RvdGFsQW1vdW50AAAFA25pbAkAAgECCW9ubHkgZEFwcAFpAQRtaW50AgJ0bwh0b2tlblVSSQMJAAACCAUBaQZjYWxsZXIFBHRoaXMEB3Rva2VuSWQJAGQCBQt0b3RhbEFtb3VudAABBAdwcmVOYW1lCQCsAgIJAKwCAgUGc3ltYm9sAgEtCQCkAwEFB3Rva2VuSWQEBG5hbWUDCQBmAgkAsQIBBQdwcmVOYW1lABAFB3ByZU5hbWUJAKQDAQUHdG9rZW5JZAQFYXNzZXQJAMMIBwUEbmFtZQULZGVzY3JpcHRpb24AAQAABwUEdW5pdAUGaGVpZ2h0BAdhc3NldElkCQC4CAEFBWFzc2V0BAl0b0FkZHJlc3MJAQdBZGRyZXNzAQkA2QQBBQJ0bwQIdHJhbnNmZXIJAQ10cmFuc2Zlck9yTm90AgUJdG9BZGRyZXNzBQdhc3NldElkAwkAAAIFCHRyYW5zZmVyBQh0cmFuc2ZlcgkAzAgCCQEMSW50ZWdlckVudHJ5AgILdG90YWxBbW91bnQFB3Rva2VuSWQJAMwIAgkBC1N0cmluZ0VudHJ5AgUEbmFtZQUIdG9rZW5VUkkFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECCW9ubHkgZEFwcAD+CMdi", "height": 2475895, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9hWny2C9WsjYgjmijcT2S1UhwuHxkVUU7up9C4Sgt4oh Next: ALcqw4h5gRDQ1wJAPhnKjbBgNH8yfNLXiHUm5kc8JrK6 Diff:
OldNewDifferences
3434 let n = Address(fromBase58String(f))
3535 let o = e(n, g)
3636 if ((o == o))
37- then [m, o, IntegerEntry("totalAmount", j), StringEntry(l, i)]
37+ then [IntegerEntry("totalAmount", j), StringEntry(l, i)]
3838 else throw("Strict value is not equal to itself.")
3939 }
4040 else throw("only dApp")
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, "symbol")
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)
2828 let k = ((b + "-") + toString(j))
2929 let l = if ((size(k) > 16))
3030 then k
3131 else toString(j)
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))
37- then [m, o, IntegerEntry("totalAmount", j), StringEntry(l, i)]
37+ then [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/169f3d6 
33.85 ms