tx · EEwX6KKbSvDLJosoGTFesgew83uqYCN2kKpUcL1fv4x8
3N4LH5XizMixv95sbA8KzKsWP79LBJ6EQ1K: -0.04000000 Waves
2020.09.17 18:41 [1181473] smart account 3N4LH5XizMixv95sbA8KzKsWP79LBJ6EQ1K > SELF 0.00000000 Waves
{
"type": 13,
"id": "EEwX6KKbSvDLJosoGTFesgew83uqYCN2kKpUcL1fv4x8",
"fee": 4000000,
"feeAssetId": null,
"timestamp": 1600357284627,
"version": 2,
"chainId": 84,
"sender": "3N4LH5XizMixv95sbA8KzKsWP79LBJ6EQ1K",
"senderPublicKey": "B1L9ADLhT3AgSCGBbDqFgvHGQg23J4vtF6qx38yTzi2V",
"proofs": [
"3P2f1QBCyznFSA4MB7GmAdfMSjVr8Ay4LmELR6DuF3ggRGxUQBgJvamXno9gbubDiBKfB78ng81xF6K2ZjtvbS18"
],
"script": "base64:AAIEAAAAAAAAAAIIAgAAAAEAAAAABW93bmVyAQAAACCUqoL99z99yt8V4c9BQAk4cX2C4u1ce2I0RHcd71boYgAAAAAAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAVvd25lcgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgehbgtm",
"height": 1181473,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Ma5KTWBH4giKNt8DuBfpvyJRELfGTCLyg9B1WWPWqAG
Next: 7vFAC1tXuLuy64Po7VnVpvcU6FMatZe9ogE9dp2bbLw3
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | |
---|
| 4 | + | let owner = base58'B1L9ADLhT3AgSCGBbDqFgvHGQg23J4vtF6qx38yTzi2V' |
---|
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], owner) |
---|
11 | 11 | | case d: DataTransaction => |
---|
12 | 12 | | true |
---|
13 | 13 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | |
---|
| 4 | + | let owner = base58'B1L9ADLhT3AgSCGBbDqFgvHGQg23J4vtF6qx38yTzi2V' |
---|
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], owner) |
---|
11 | 11 | | case d: DataTransaction => |
---|
12 | 12 | | true |
---|
13 | 13 | | case _ => |
---|
14 | 14 | | false |
---|
15 | 15 | | } |
---|
16 | 16 | | |
---|