tx · CjJ1RMXEUf5LmKzWukUSN6tfN2nNQGPHmYo62rxFMA7V
3N4qqgqxKhUxPhNWexZdVLFZF4f6E9AG8J2: -0.01400000 Waves
2019.09.15 20:51 [677655] smart account 3N4qqgqxKhUxPhNWexZdVLFZF4f6E9AG8J2 > SELF 0.00000000 Waves
{
"type": 13,
"id": "CjJ1RMXEUf5LmKzWukUSN6tfN2nNQGPHmYo62rxFMA7V",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1568569814287,
"version": 1,
"sender": "3N4qqgqxKhUxPhNWexZdVLFZF4f6E9AG8J2",
"senderPublicKey": "AqAjKhpty12gZLGVeYp5KBits72Ahgud7eBBveb2ju2n",
"proofs": [
"9UF52gYPp1uAVqFVa1QTT1DCbk4Hs3g2pjkGiYc5RRaw9SZTyV2t6ZyYeJwB6b21b5zhCFLhgK9RKXyCfC88Mrs"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BW0EAQ==",
"chainId": 84,
"height": 677655,
"spentComplexity": 0
}
View: original | compacted
Prev: HQStSAfeJiA7nhTHLbjsZ7kWuud8r88U3LfpJGzw4N8Z
Next: 4L4cfXZ32VuG6FnaEvSXXJrTxKYaRFoKWEt8FeFV1Xcc
Diff:
Old | New | | Differences |
---|
6 | 6 | | |
---|
7 | 7 | | @Verifier(tx) |
---|
8 | 8 | | func verify () = match tx { |
---|
9 | | - | case d: SetScriptTransaction => |
---|
10 | | - | true |
---|
11 | 9 | | case d: DataTransaction => |
---|
12 | 10 | | true |
---|
| 11 | + | case t: SetScriptTransaction => |
---|
| 12 | + | true |
---|
13 | 13 | | case _ => |
---|
14 | | - | false |
---|
| 14 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
15 | 15 | | } |
---|
16 | 16 | | |
---|
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 | | |
---|
7 | 7 | | @Verifier(tx) |
---|
8 | 8 | | func verify () = match tx { |
---|
9 | | - | case d: SetScriptTransaction => |
---|
10 | | - | true |
---|
11 | 9 | | case d: DataTransaction => |
---|
12 | 10 | | true |
---|
| 11 | + | case t: SetScriptTransaction => |
---|
| 12 | + | true |
---|
13 | 13 | | case _ => |
---|
14 | | - | false |
---|
| 14 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
15 | 15 | | } |
---|
16 | 16 | | |
---|