tx · 8hAKGD2J5VXHy2N9AkwxK4PMx7Udgn2HURoFVCfSoMPi
3MwEZ9CjYxnwSkfBSpYZsRJQ4dw2vMgWaxs: -0.01400000 Waves
2021.01.13 12:04 [1351475] smart account 3MwEZ9CjYxnwSkfBSpYZsRJQ4dw2vMgWaxs > SELF 0.00000000 Waves
{
"type": 13,
"id": "8hAKGD2J5VXHy2N9AkwxK4PMx7Udgn2HURoFVCfSoMPi",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1610528714978,
"version": 2,
"chainId": 84,
"sender": "3MwEZ9CjYxnwSkfBSpYZsRJQ4dw2vMgWaxs",
"senderPublicKey": "4X8ghSb8WeHWtKYUwkHWMadcxz9iWH5j5235dsdY3tbG",
"proofs": [
"B5hkGWBBLt1t5eWRHsNXQV9H279CCAHsTmkGaSUUA1NjDMUmi1ubxTT4UMTSDrVLPWzsoe6DFapbXYKTaWBwPoT"
],
"script": "base64:AAIEAAAAAAAAAAYIAhIAEgAAAAAAAAAAAgAAAAFpAQAAAAdyZWlzc3VlAAAAAAQAAAAHYXNzZXRJZAEAAAAgur1SO1MUwp1UVhi0d87cmJJOAlFBVVZb7np9hta93DsJAARMAAAAAgkBAAAAB1JlaXNzdWUAAAADBQAAAAdhc3NldElkAAAAAAAAD0JABgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAPQkAFAAAAB2Fzc2V0SWQFAAAAA25pbAAAAAFpAQAAAARidXJuAAAAAAQAAAADcG10AwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAACQAAAgAAAAECAAAAHEF0dGFjaGVkIHBheW1lbnQgaXMgcmVxdWlyZWQDCQEAAAACIT0AAAACCAUAAAADcG10AAAAB2Fzc2V0SWQBAAAAILq9UjtTFMKdVFYYtHfO3JiSTgJRQVVWW+56fYbWvdw7CQAAAgAAAAECAAAAPHdvcmtzIHdpdGggRFp4R1p6YWNyaE1TOTNFSEs4THJDZVlDclZXSmFGNzZVcFBjeUh1YUg5bUwgb25seQkABEwAAAACCQEAAAAEQnVybgAAAAIBAAAAILq9UjtTFMKdVFYYtHfO3JiSTgJRQVVWW+56fYbWvdw7CQAAaAAAAAIIBQAAAANwbXQAAAAGYW1vdW50AAAAAAAAAABkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleUH+y/I=",
"height": 1351475,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Bn8b123pw1UZe8hciChA1tzXc8gzJLbRbMDGDeQmnJ4Z
Next: CWCfvL6p8RZJ2G9FzBKCFapjyzhFjeK76KuCCaqzLvyz
Diff:
Old | New | | Differences |
---|
18 | 18 | | else throw("Attached payment is required") |
---|
19 | 19 | | if ((pmt.assetId != base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL')) |
---|
20 | 20 | | then throw("works with DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL only") |
---|
21 | | - | else [Burn(base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL', (pmt.amount / 100))] |
---|
| 21 | + | else [Burn(base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL', (pmt.amount * 100))] |
---|
22 | 22 | | } |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func reissue () = { |
---|
8 | 8 | | let assetId = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL' |
---|
9 | 9 | | [Reissue(assetId, 1000000, true), ScriptTransfer(i.caller, 1000000, assetId)] |
---|
10 | 10 | | } |
---|
11 | 11 | | |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|
14 | 14 | | @Callable(i) |
---|
15 | 15 | | func burn () = { |
---|
16 | 16 | | let pmt = if ((size(i.payments) == 1)) |
---|
17 | 17 | | then i.payments[0] |
---|
18 | 18 | | else throw("Attached payment is required") |
---|
19 | 19 | | if ((pmt.assetId != base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL')) |
---|
20 | 20 | | then throw("works with DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL only") |
---|
21 | | - | else [Burn(base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL', (pmt.amount / 100))] |
---|
| 21 | + | else [Burn(base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL', (pmt.amount * 100))] |
---|
22 | 22 | | } |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|
25 | 25 | | @Verifier(tx) |
---|
26 | 26 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
27 | 27 | | |
---|