tx · FL14L6Mebq9otN6fc638xTvGk1q4BYSYiFrJLua13bKJ
3Muj6owWfBVpN4Kxmk5BqRySJ4kQj14VhpT: -0.05000000 Waves
2019.08.31 13:35 [655321] smart account 3Muj6owWfBVpN4Kxmk5BqRySJ4kQj14VhpT > SELF 0.00000000 Waves
{
"type": 13,
"id": "FL14L6Mebq9otN6fc638xTvGk1q4BYSYiFrJLua13bKJ",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1567247685416,
"version": 1,
"sender": "3Muj6owWfBVpN4Kxmk5BqRySJ4kQj14VhpT",
"senderPublicKey": "CxxaMfUekY9vpGnq3KKuaTAuSwvpkJpnt6pG5aYaTREz",
"proofs": [
"3Nks4fDSEuFkCzi39ubyExYMiWbvjABVaSD9TxC4EkxaY9EouyefWLHGPqodwCvRgVPisNeoAEQjGa5z36pDZGM8"
],
"script": "base64:AAIDAAAAAAAAAAAAAAABAAAAAA5vd25lclB1YmxpY0tleQEAAAAhCxxaMfUekY9vpGnq3KKuaTAuSwvpkJpnt6pG5aYaTREzAAAAAAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADm93bmVyUHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGB7lDb4A=",
"chainId": 84,
"height": 655321,
"spentComplexity": 0
}
View: original | compacted
Prev: HaZrDVcFzRJ5UsLwZJ51ZP7YAnFYzKzCTtgJ5PNEqhva
Next: none
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | |
---|
| 4 | + | let ownerPublicKey = base58'4JSAGAcT6YxgBzYePKgqoTg8adMFo23oxq6dxpNVaWqGv' |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Verifier(tx) |
---|
8 | 8 | | func verify () = match tx { |
---|
9 | 9 | | case d: SetScriptTransaction => |
---|
10 | | - | true |
---|
| 10 | + | sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey) |
---|
11 | 11 | | case d: DataTransaction => |
---|
12 | 12 | | true |
---|
13 | 13 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | |
---|
| 4 | + | let ownerPublicKey = base58'4JSAGAcT6YxgBzYePKgqoTg8adMFo23oxq6dxpNVaWqGv' |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Verifier(tx) |
---|
8 | 8 | | func verify () = match tx { |
---|
9 | 9 | | case d: SetScriptTransaction => |
---|
10 | | - | true |
---|
| 10 | + | sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey) |
---|
11 | 11 | | case d: DataTransaction => |
---|
12 | 12 | | true |
---|
13 | 13 | | case _ => |
---|
14 | 14 | | false |
---|
15 | 15 | | } |
---|
16 | 16 | | |
---|