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(a) |
---|
| 7 | + | func transfer (b) = { |
---|
| 8 | + | let c = if ((size(a.payments) == 1)) |
---|
| 9 | + | then a.payments[0] |
---|
| 10 | + | else throw("Attach payments") |
---|
| 11 | + | let d = c.assetId |
---|
| 12 | + | let e = c.amount |
---|
| 13 | + | let f = addressFromStringValue(b) |
---|
| 14 | + | [ScriptTransfer(f, e, d)] |
---|
| 15 | + | } |
---|
| 16 | + | |
---|
| 17 | + | |
---|
| 18 | + | @Verifier(g) |
---|
| 19 | + | func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) |
---|
| 20 | + | |
---|