tx · 79FzVGV7F5g1Y61NXMyevYQmdLZw2Nb8LAq6AH3kukUB 3NBaYzWT2odsyrZ2u1ghsrHinBm4xFRAgLX: -0.01000000 Waves 2019.06.23 21:53 [555079] smart account 3NBaYzWT2odsyrZ2u1ghsrHinBm4xFRAgLX > SELF 0.00000000 Waves
{ "type": 13, "id": "79FzVGV7F5g1Y61NXMyevYQmdLZw2Nb8LAq6AH3kukUB", "fee": 1000000, "feeAssetId": null, "timestamp": 1561316005027, "version": 1, "sender": "3NBaYzWT2odsyrZ2u1ghsrHinBm4xFRAgLX", "senderPublicKey": "HBqhfdFASRQ5eBBpu2y6c6KKi1az6bMx8v1JxX4iW1Q8", "proofs": [ "2FSxss9upgmFX3YH6h5ico3ERCdHgHmkQncMG5EKk9oD4SRuTingbVF8GFvB9VGiRDih7pT6F9kFyiP94FpBsm5d" ], "script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAAFpAQAAAApyZXRyYW5zbWl0AAAABAAAAAdhZGRyZXNzAAAABmFtb3VudAAAAARkYXRhAAAABnJlYWxseQQAAAADcGF5CQEAAAAHZXh0cmFjdAAAAAEIBQAAAAFpAAAAB3BheW1lbnQEAAAAAnRvCQEAAAAcQGV4dHJVc2VyKGFkZHJlc3NGcm9tU3RyaW5nKQAAAAEFAAAAB2FkZHJlc3MEAAAABWNoZWNrCQAB9wAAAAEJAAGbAAAAAQUAAAAHYWRkcmVzcwMJAQAAAAEhAAAAAQUAAAAGcmVhbGx5CQAAAgAAAAECAAAADXJlYWxseSA9IHRydWUDCQEAAAACIT0AAAACBQAAAARkYXRhBQAAAAVjaGVjawkAAAIAAAABCQABLAAAAAICAAAACGRhdGEgIT0gCQACWAAAAAEFAAAABWNoZWNrCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAAAnRvBQAAAAZhbW91bnQIBQAAAANwYXkAAAAHYXNzZXRJZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkG+t1Q", "chainId": 84, "height": 555079, "spentComplexity": 0 } View: original | compacted Prev: F7YfXWQMiYF9f7yHS2zphiBh6gZjxQT7nb7QB27q36JB Next: 4dvTu5Z2EN2Mt578s8PYejr6ZSXw7tFKFbQAJjea1pqu Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | @Callable(i) | |
7 | + | func retransmit (address,amount,data,really) = { | |
8 | + | let pay = extract(i.payment) | |
9 | + | let to = addressFromStringValue(address) | |
10 | + | let check = sha256(toBytes(address)) | |
11 | + | if (!(really)) | |
12 | + | then throw("really = true") | |
13 | + | else if ((data != check)) | |
14 | + | then throw(("data != " + toBase58String(check))) | |
15 | + | else TransferSet([ScriptTransfer(to, amount, pay.assetId)]) | |
16 | + | } | |
17 | + | ||
18 | + | ||
19 | + | @Verifier(tx) | |
20 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
21 | + |
github/deemru/w8io/169f3d6 36.78 ms ◑