tx · AhHeVsUtRZFqRZvuYQa5pvKVho2e5HThBjNVKREvtvth

3MqDvQq99fRXJKuBdcUE37YHmUe7BLnnGbc:  -0.01000000 Waves

2022.03.03 17:53 [1947937] smart account 3MqDvQq99fRXJKuBdcUE37YHmUe7BLnnGbc > SELF 0.00000000 Waves

{ "type": 13, "id": "AhHeVsUtRZFqRZvuYQa5pvKVho2e5HThBjNVKREvtvth", "fee": 1000000, "feeAssetId": null, "timestamp": 1646319255871, "version": 2, "chainId": 84, "sender": "3MqDvQq99fRXJKuBdcUE37YHmUe7BLnnGbc", "senderPublicKey": "7p8NEnA8pUNaKgesYP6jpmcTdZKcRyDWnqYDAixim4UQ", "proofs": [ "4fT8dYZdfd63sYQpGkfVoyzampnogNHyJzBGyBnE2aSm7PJ6L8rp8LYd6FmpxsTastYJ2fqXjNh5yhPDw8furqDa" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAgAAAAAPa2V5QnVybmVkQW1vdW50AgAAAAxidXJuZWRBbW91bnQAAAAADmtleUJ1cm5lZEFzc2V0AgAAAAtidXJuZWRBc3NldAAAAAEAAAABaQEAAAAEYnVybgAAAAAEAAAAA3BtdAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAAHYXNzZXRJZAkAAlgAAAABCQEAAAAFdmFsdWUAAAABCAUAAAADcG10AAAAB2Fzc2V0SWQEAAAACXBtdEFtb3VudAgFAAAAA3BtdAAAAAZhbW91bnQJAAUUAAAAAgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAPa2V5QnVybmVkQW1vdW50BQAAAAlwbXRBbW91bnQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAAOa2V5QnVybmVkQXNzZXQFAAAAB2Fzc2V0SWQFAAAAA25pbAUAAAAEdW5pdAAAAADTF4Ab", "height": 1947937, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let keyBurnedAmount = "burnedAmount"
5+
6+let keyBurnedAsset = "burnedAsset"
7+
8+@Callable(i)
9+func burn () = {
10+ let pmt = i.payments[0]
11+ let assetId = toBase58String(value(pmt.assetId))
12+ let pmtAmount = pmt.amount
13+ $Tuple2([IntegerEntry(keyBurnedAmount, pmtAmount), StringEntry(keyBurnedAsset, assetId)], unit)
14+ }
15+
16+

github/deemru/w8io/026f985 
16.71 ms