tx · 58pdGWgdZzfYS8aqyyWnYnVAatAA4TL8uUAPgLt3EBRi 3N65E1rYWAxQMCLg27pRxBFtAt3bPcH3pys: -0.01400000 Waves 2022.02.11 14:17 [1918880] smart account 3N65E1rYWAxQMCLg27pRxBFtAt3bPcH3pys > SELF 0.00000000 Waves
{ "type": 13, "id": "58pdGWgdZzfYS8aqyyWnYnVAatAA4TL8uUAPgLt3EBRi", "fee": 1400000, "feeAssetId": null, "timestamp": 1644578298190, "version": 2, "chainId": 84, "sender": "3N65E1rYWAxQMCLg27pRxBFtAt3bPcH3pys", "senderPublicKey": "HUBVsBcuExqVSbV3mSVhpdKfgihF2nwdtpGmpVLRwxEN", "proofs": [ "5m2sosoUGnMeForUtqoWfhi4ggZZC54Bkh5MyB5JfKTTSoHXdCFpYx8QThiGhbmLfLs8vXSMhKM3wwqccieDww2X" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAAIdHJhbnNmZXIAAAABAAAACXJlY2lwaWVudAQAAAADcG10AwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAACQAAAgAAAAECAAAAD0F0dGFjaCBwYXltZW50cwQAAAAHYXNzZXRJZAgFAAAAA3BtdAAAAAdhc3NldElkBAAAAAZhbW91bnQIBQAAAANwbXQAAAAGYW1vdW50BAAAAANyZWMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAACXJlY2lwaWVudAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAANyZWMFAAAABmFtb3VudAUAAAAHYXNzZXRJZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkSaNTz", "height": 1918880, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 71TWFUbTC7vDhJocbg9cugcu1wf3fGbGKJkh8X6wQJ6A Next: J9xqF6HbBMgRmBiBSEaPXGgBQA1RBVd2kpu4RLSDiajK Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | - | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | - | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | @Callable(i) | |
7 | + | func transfer (recipient) = { | |
8 | + | let pmt = if ((size(i.payments) == 1)) | |
9 | + | then i.payments[0] | |
10 | + | else throw("Attach payments") | |
11 | + | let assetId = pmt.assetId | |
12 | + | let amount = pmt.amount | |
13 | + | let rec = addressFromStringValue(recipient) | |
14 | + | [ScriptTransfer(rec, amount, assetId)] | |
15 | + | } | |
16 | + | ||
17 | + | ||
18 | + | @Verifier(tx) | |
19 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
20 | + |
github/deemru/w8io/026f985 18.93 ms ◑