tx · 5HSovZtWABrTNjuAaHfLAJUgoaPmdDCJEDP4vHTgepbN

3Mv4bRtjYqcHpvxuW6fxgGvGxPx51UrR3Bh:  -0.00200000 Waves

2022.08.12 15:45 [2181266] smart account 3Mv4bRtjYqcHpvxuW6fxgGvGxPx51UrR3Bh > SELF 0.00000000 Waves

{ "type": 13, "id": "5HSovZtWABrTNjuAaHfLAJUgoaPmdDCJEDP4vHTgepbN", "fee": 200000, "feeAssetId": null, "timestamp": 1660308352502, "version": 2, "chainId": 84, "sender": "3Mv4bRtjYqcHpvxuW6fxgGvGxPx51UrR3Bh", "senderPublicKey": "DFQnYm5XgXfKsog3SdUNF2UXv1nZ7bm5MRxhnvPJJYaQ", "proofs": [ "9k7mfPax3ue3C7EjXcLTYZUheUZc8w2sqHf6FZp2CtZfKrzqsfYWUkfHh85RTeHjFu4UgZiCtABgHJd9ei6i5G1" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAABQAAAAANUEFZTUVOVF9BU1NFVAEAAAAgLTcTgdMkN12f4W9209EPk+8sLPTdia1cSlbofMkBchsAAAAAC2FkbWluUHViS2V5AQAAACDYz6eBJvJ1RiSMeo4NPcTC0Yo6om4BKm0t2ElqTOI3bAAAAAAOUEFZTUVOVF9BTU9VTlQAAAAAADuaygAAAAAABmNvbG9ycwkABEwAAAACAgAAAAMwMDAJAARMAAAAAgIAAAADZmZmCQAETAAAAAICAAAABjAwMDAwMAkABEwAAAACAgAAAAZmZmZmZmYJAARMAAAAAgIAAAAGRkYwMjAwCQAETAAAAAICAAAABjgwMDA4MAkABEwAAAACAgAAAAZGRjAwRkYJAARMAAAAAgIAAAAGMDA4MDAxCQAETAAAAAICAAAABkZFRkYwMAkABEwAAAACAgAAAAYwMjAwODAJAARMAAAAAgIAAAAGMDgwMEZGCQAETAAAAAICAAAABjE4MzkzNwkABEwAAAACAgAAAAYwOUZFRkYJAARMAAAAAgIAAAAGNzA3NkU5CQAETAAAAAICAAAABkMwQzBDMAkABEwAAA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XIJAABkAAAAAgUAAAAJbmZ0TnVtYmVyAAAAAAAAAAABCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAAA25mdAUAAAAKY3VycmVudEtleQIAAAABXwkAAaQAAAABBQAAAAZudW1iZXIFAAAABWRhdGExCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAluZnROdW1iZXIFAAAABm51bWJlcgUAAAADbmlsAAAAAD+Ewi0=", "height": 2181266, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3HKLrZh6zZHNchDCiNEd6SMP6zvZbSXnW5LQXCLmk61r Next: none Diff:
OldNewDifferences
2828
2929
3030 @Callable(i)
31-func mintPixelsNFT (data) = {
31+func mintPixelsNFT (data1) = {
3232 let currentKey = toBase58String(i.caller.bytes)
3333 let nftNumber = valueOrElse(getInteger(this, "nftNumber"), 1)
3434 let number = (nftNumber + 1)
35-[StringEntry(((("nft" + currentKey) + "_") + toString(number)), data), IntegerEntry("nftNumber", number)]
35+[StringEntry(((("nft" + currentKey) + "_") + toString(number)), data1), IntegerEntry("nftNumber", number)]
3636 }
3737
3838
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let PAYMENT_ASSET = base58'43W4FcqA1rEpSmUGHoGiXvpSLfhadws9LS5j3SJsKxxS'
55
66 let adminPubKey = base58'FbLiNMd4sSrhepz5fcTNF7nk4vpxStYMuoHb1HbYq88j'
77
88 let PAYMENT_AMOUNT = 1000000000
99
1010 let colors = ["000", "fff", "000000", "ffffff", "FF0200", "800080", "FF00FF", "008001", "FEFF00", "020080", "0800FF", "183937", "09FEFF", "7076E9", "C0C0C0", "C3103B", "ff0200", "ff00ff", "feff00", "0800ff", "09feff", "7076e9", "c0c0c0", "c3103b", "876445", "FF87B2", "7DCE13", "ECCCB2"]
1111
1212 func isPaymentOk (i) = {
1313 let acceptableAssetId = PAYMENT_ASSET
1414 if ((size(i.payments) == 0))
1515 then throw("Payment not attached")
1616 else {
1717 let p = i.payments[0]
1818 match p.assetId {
1919 case assetId: ByteVector =>
2020 if ((assetId == acceptableAssetId))
2121 then (p.amount == PAYMENT_AMOUNT)
2222 else false
2323 case _ =>
2424 throw("Wrong payment asset")
2525 }
2626 }
2727 }
2828
2929
3030 @Callable(i)
31-func mintPixelsNFT (data) = {
31+func mintPixelsNFT (data1) = {
3232 let currentKey = toBase58String(i.caller.bytes)
3333 let nftNumber = valueOrElse(getInteger(this, "nftNumber"), 1)
3434 let number = (nftNumber + 1)
35-[StringEntry(((("nft" + currentKey) + "_") + toString(number)), data), IntegerEntry("nftNumber", number)]
35+[StringEntry(((("nft" + currentKey) + "_") + toString(number)), data1), IntegerEntry("nftNumber", number)]
3636 }
3737
3838

github/deemru/w8io/169f3d6 
28.61 ms