tx · AtP2n1wbj31p1ug3BLyeKzgBrGafBtUEbDP2wxmdFbXz
3Mv8Q6vZs3qXMP6qrY9Neo4XV9dNJ3mZcyf: -0.01400000 Waves
2021.05.14 17:59 [1525496] smart account 3Mv8Q6vZs3qXMP6qrY9Neo4XV9dNJ3mZcyf > SELF 0.00000000 Waves
{
"type": 13,
"id": "AtP2n1wbj31p1ug3BLyeKzgBrGafBtUEbDP2wxmdFbXz",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1621004414716,
"version": 2,
"chainId": 84,
"sender": "3Mv8Q6vZs3qXMP6qrY9Neo4XV9dNJ3mZcyf",
"senderPublicKey": "CcoVu3omByrb3M4yqVad24D3V5rskYaZrkiFEqCYb83w",
"proofs": [
"63NSaQPQTwHLbf5PhLjbqZu7LaCpPJ2jMG5np9a9TPAubzXvyyootSeHc5u15uy2vUU3w1A4Vui8PHT3rPxkFf52"
],
"script": "base64:AAIEAAAAAAAAAAIIAgAAAAAAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQdQ2drB",
"height": 1525496,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 5bZUPhchPt46yCezM1HL5Ebsa3pfGNxCNTpee7kk74My
Next: none
Diff:
Old | New | | Differences |
---|
7 | 7 | | @Verifier(tx) |
---|
8 | 8 | | func verify () = match tx { |
---|
9 | 9 | | case d: SetScriptTransaction => |
---|
10 | | - | true |
---|
| 10 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
11 | 11 | | case d: DataTransaction => |
---|
12 | | - | true |
---|
| 12 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
13 | 13 | | case _ => |
---|
14 | 14 | | false |
---|
15 | 15 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
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], tx.senderPublicKey) |
---|
11 | 11 | | case d: DataTransaction => |
---|
12 | | - | true |
---|
| 12 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
13 | 13 | | case _ => |
---|
14 | 14 | | false |
---|
15 | 15 | | } |
---|
16 | 16 | | |
---|