tx · U32mYwbUKhnrGeKC7P5gSRFSjXaP1k3MrA8FaR747Yb
3MwEZ9CjYxnwSkfBSpYZsRJQ4dw2vMgWaxs: -0.01400000 Waves
2021.01.13 11:57 [1351468] smart account 3MwEZ9CjYxnwSkfBSpYZsRJQ4dw2vMgWaxs > SELF 0.00000000 Waves
{
"type": 13,
"id": "U32mYwbUKhnrGeKC7P5gSRFSjXaP1k3MrA8FaR747Yb",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1610528309030,
"version": 2,
"chainId": 84,
"sender": "3MwEZ9CjYxnwSkfBSpYZsRJQ4dw2vMgWaxs",
"senderPublicKey": "4X8ghSb8WeHWtKYUwkHWMadcxz9iWH5j5235dsdY3tbG",
"proofs": [
"YGcMAQMw1BL3TypEMBMGJfZtV9GiByA4N2s6giHpsfTDkhXzEFZVVrXfAaJ7bSCDDDaGoa5pX9uwfJdtJLJy55g"
],
"script": "base64:AAIEAAAAAAAAAAYIAhIAEgAAAAAAAAAAAgAAAAFpAQAAAAdyZWlzc3VlAAAAAAQAAAAHYXNzZXRJZAEAAAAgur1SO1MUwp1UVhi0d87cmJJOAlFBVVZb7np9hta93DsJAARMAAAAAgkBAAAAB1JlaXNzdWUAAAADBQAAAAdhc3NldElkAAAAAAAAD0JABgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAPQkAFAAAAB2Fzc2V0SWQFAAAAA25pbAAAAAFpAQAAAARidXJuAAAAAAQAAAADcG10AwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAACQAAAgAAAAECAAAAHEF0dGFjaGVkIHBheW1lbnQgaXMgcmVxdWlyZWQDCQEAAAACIT0AAAACCAUAAAADcG10AAAAB2Fzc2V0SWQBAAAAILq9UjtTFMKdVFYYtHfO3JiSTgJRQVVWW+56fYbWvdw7CQAAAgAAAAECAAAAPHdvcmtzIHdpdGggRFp4R1p6YWNyaE1TOTNFSEs4THJDZVlDclZXSmFGNzZVcFBjeUh1YUg5bUwgb25seQkABEwAAAACCQEAAAAEQnVybgAAAAIBAAAAILq9UjtTFMKdVFYYtHfO3JiSTgJRQVVWW+56fYbWvdw7AAAAAAAAAYagBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleZuK/F4=",
"height": 1351468,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BQ3HR3Q9xYfub1LfFvqfFqaLNA86kCpaa5TxTiVR5FQn
Next: EUSHXGxc1iPNrUcjremiPbRdveY1nDVQGMbqkUnMQDvF
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', 10000000)] |
---|
| 21 | + | else [Burn(base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL', 100000)] |
---|
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', 10000000)] |
---|
| 21 | + | else [Burn(base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL', 100000)] |
---|
22 | 22 | | } |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|
25 | 25 | | @Verifier(tx) |
---|
26 | 26 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
27 | 27 | | |
---|