tx · 5FKHLRZTvN9bXGFfpaxtDBJc1g4iGkHQ7czeDpR4rd48

3MwEZ9CjYxnwSkfBSpYZsRJQ4dw2vMgWaxs:  -0.01400000 Waves

2021.01.13 12:38 [1351508] smart account 3MwEZ9CjYxnwSkfBSpYZsRJQ4dw2vMgWaxs > SELF 0.00000000 Waves

{ "type": 13, "id": "5FKHLRZTvN9bXGFfpaxtDBJc1g4iGkHQ7czeDpR4rd48", "fee": 1400000, "feeAssetId": null, "timestamp": 1610530753586, "version": 2, "chainId": 84, "sender": "3MwEZ9CjYxnwSkfBSpYZsRJQ4dw2vMgWaxs", "senderPublicKey": "4X8ghSb8WeHWtKYUwkHWMadcxz9iWH5j5235dsdY3tbG", "proofs": [ "2r8fCXCDEdC1YxaiuWoEVoxs2XecKDbGMEN8gdQqHD87fDyr7UQyGVdQgA4sFAkE8Lt99zy4pv8XT1C7UXsugHEz" ], "script": "base64:AAIEAAAAAAAAAAYIAhIAEgAAAAAAAAAAAgAAAAFpAQAAAAdSZWlzc3VlAAAAAAQAAAADcG10AwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAACQAAAgAAAAECAAAAHEF0dGFjaGVkIHBheW1lbnQgaXMgcmVxdWlyZWQDCQEAAAACIT0AAAACCAUAAAADcG10AAAAB2Fzc2V0SWQBAAAAILq9UjtTFMKdVFYYtHfO3JiSTgJRQVVWW+56fYbWvdw7CQAAAgAAAAECAAAAOUF0dGFjaCBvbmx5IERaeEdaemFjcmhNUzkzRUhLOExyQ2VZQ3JWV0phRjc2VXBQY3lIdWFIOW1MLgkABEwAAAACCQEAAAAHUmVpc3N1ZQAAAAMBAAAAILq9UjtTFMKdVFYYtHfO3JiSTgJRQVVWW+56fYbWvdw7CAUAAAADcG10AAAABmFtb3VudAYJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAD0JAAQAAACC6vVI7UxTCnVRWGLR3ztyYkk4CUUFVVlvuen2G1r3cOwUAAAADbmlsAAAAAWkBAAAABGJ1cm4AAAAABAAAAANwbXQDCQAAAAAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAEJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAAcQXR0YWNoZWQgcGF5bWVudCBpcyByZXF1aXJlZAMJAQAAAAIhPQAAAAIIBQAAAANwbXQAAAAHYXNzZXRJZAEAAAAgur1SO1MUwp1UVhi0d87cmJJOAlFBVVZb7np9hta93DsJAAACAAAAAQIAAAA5QXR0YWNoIG9ubHkgRFp4R1p6YWNyaE1TOTNFSEs4THJDZVlDclZXSmFGNzZVcFBjeUh1YUg5bUwuCQAETAAAAAIJAQAAAARCdXJuAAAAAgEAAAAgur1SO1MUwp1UVhi0d87cmJJOAlFBVVZb7np9hta93DsIBQAAAANwbXQAAAAGYW1vdW50BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleSygTj4=", "height": 1351508, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 12176zkFhXkgEMqN2938UYoGhQ2i8WEasPjhbXqHzMLV Next: 6PwgTzmN8iMN4zarpeVYhdhJRgxPeQMFWqvQqMnpnQhM Diff:
OldNewDifferences
55
66 @Callable(i)
77 func Reissue () = {
8- let assetId = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL'
98 let pmt = if ((size(i.payments) == 1))
109 then i.payments[0]
1110 else throw("Attached payment is required")
12- if ((pmt.assetId != assetId))
11+ if ((pmt.assetId != base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL'))
1312 then throw("Attach only DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL.")
14- else [Reissue(assetId, pmt.amount, true), ScriptTransfer(i.caller, 1000000, assetId)]
13+ else [Reissue(base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL', pmt.amount, true), ScriptTransfer(i.caller, 1000000, base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL')]
1514 }
1615
1716
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func Reissue () = {
8- let assetId = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL'
98 let pmt = if ((size(i.payments) == 1))
109 then i.payments[0]
1110 else throw("Attached payment is required")
12- if ((pmt.assetId != assetId))
11+ if ((pmt.assetId != base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL'))
1312 then throw("Attach only DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL.")
14- else [Reissue(assetId, pmt.amount, true), ScriptTransfer(i.caller, 1000000, assetId)]
13+ else [Reissue(base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL', pmt.amount, true), ScriptTransfer(i.caller, 1000000, base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL')]
1514 }
1615
1716
1817
1918 @Callable(i)
2019 func burn () = {
2120 let pmt = if ((size(i.payments) == 1))
2221 then i.payments[0]
2322 else throw("Attached payment is required")
2423 if ((pmt.assetId != base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL'))
2524 then throw("Attach only DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL.")
2625 else [Burn(base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL', pmt.amount)]
2726 }
2827
2928
3029 @Verifier(tx)
3130 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3231

github/deemru/w8io/026f985 
54.59 ms