tx · FW47GXbr71g9KbfXjgJ3yCVQD66Ftrangtqge46Um3B5
3NBaYzWT2odsyrZ2u1ghsrHinBm4xFRAgLX: -0.01400000 Waves
2019.07.02 14:16 [567699] smart account 3NBaYzWT2odsyrZ2u1ghsrHinBm4xFRAgLX > SELF 0.00000000 Waves
{
"type": 13,
"id": "FW47GXbr71g9KbfXjgJ3yCVQD66Ftrangtqge46Um3B5",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1562066215504,
"version": 1,
"sender": "3NBaYzWT2odsyrZ2u1ghsrHinBm4xFRAgLX",
"senderPublicKey": "HBqhfdFASRQ5eBBpu2y6c6KKi1az6bMx8v1JxX4iW1Q8",
"proofs": [
"nbRGCvQDB168HdVcoH7nhEZfg2mBRqUsyjbtwcQGKWSzikp3jhCKFTrCvVBFVPv5tZQpxbhxnoaLE1wfcwjVWBr"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAAFpAQAAAApyZXRyYW5zbWl0AAAABAAAAAdhZGRyZXNzAAAABmFtb3VudAAAAARkYXRhAAAABnJlYWxseQQAAAABYQkBAAAAEUBleHRyTmF0aXZlKDEwNTIpAAAAAgUAAAAEdGhpcwIAAAADMTIzBAAAAAJ0bwkBAAAAHEBleHRyVXNlcihhZGRyZXNzRnJvbVN0cmluZykAAAABBQAAAAdhZGRyZXNzBAAAAAVjaGVjawkAAfcAAAABCQABmwAAAAEFAAAAB2FkZHJlc3MDCQEAAAABIQAAAAEFAAAABnJlYWxseQkAAAIAAAABAgAAAA1yZWFsbHkgPSB0cnVlAwkBAAAAAiE9AAAAAgUAAAAEZGF0YQUAAAAFY2hlY2sJAAACAAAAAQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAJYAAAAAQUAAAAEZGF0YQIAAAAEICE9IAkAAlgAAAABBQAAAAVjaGVjawIAAAABKAUAAAAHYWRkcmVzcwIAAAABKQkBAAAAC1RyYW5zZmVyU2V0AAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAJ0bwUAAAAGYW1vdW50BQAAAAR1bml0BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleag1fEY=",
"chainId": 84,
"height": 567699,
"spentComplexity": 0
}
View: original | compacted
Prev: 5d2DDECLBgwnFWQ5CscUyikAjPPRoj5iyEnqLZ7P198
Next: 8umcD1GZghbrFiamMKAiVtkMmnq9FJDZ2SMnzmiRQHPB
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func retransmit (address,amount,data,really) = { |
---|
| 8 | + | let a = getBinaryValue(this, "123") |
---|
8 | 9 | | let to = addressFromStringValue(address) |
---|
9 | 10 | | let check = sha256(toBytes(address)) |
---|
10 | 11 | | if (!(really)) |
---|
|
16 | 17 | | |
---|
17 | 18 | | |
---|
18 | 19 | | @Verifier(tx) |
---|
19 | | - | func verify () = true |
---|
| 20 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
20 | 21 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func retransmit (address,amount,data,really) = { |
---|
| 8 | + | let a = getBinaryValue(this, "123") |
---|
8 | 9 | | let to = addressFromStringValue(address) |
---|
9 | 10 | | let check = sha256(toBytes(address)) |
---|
10 | 11 | | if (!(really)) |
---|
11 | 12 | | then throw("really = true") |
---|
12 | 13 | | else if ((data != check)) |
---|
13 | 14 | | then throw((((((toBase58String(data) + " != ") + toBase58String(check)) + "(") + address) + ")")) |
---|
14 | 15 | | else TransferSet([ScriptTransfer(to, amount, unit)]) |
---|
15 | 16 | | } |
---|
16 | 17 | | |
---|
17 | 18 | | |
---|
18 | 19 | | @Verifier(tx) |
---|
19 | | - | func verify () = true |
---|
| 20 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
20 | 21 | | |
---|