tx · 6kv8XaGBQAJyNBiVfHfLWmEhFx7BV5mf22thAKkAo84W
3NC2rvtcZnJENbe72xV8CcWeXzSapU2NNB3: -0.01400000 Waves
2019.07.10 20:35 [579893] smart account 3NC2rvtcZnJENbe72xV8CcWeXzSapU2NNB3 > SELF 0.00000000 Waves
{
"type": 13,
"id": "6kv8XaGBQAJyNBiVfHfLWmEhFx7BV5mf22thAKkAo84W",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1562780173201,
"version": 1,
"sender": "3NC2rvtcZnJENbe72xV8CcWeXzSapU2NNB3",
"senderPublicKey": "DZtNj2BroKKxoGqE3pW1Ep7ozco9PD18WUmyotjtFadN",
"proofs": [
"27oScj4eFcTTJwW6oTcKsQncdpD6QgANu3HXZCSNgHZu2K6kES5UK4d2VpRCJf7Q8fiLqVT6xWjADvQ83Yogi9YJ"
],
"script": "base64:AAIDAAAAAAAAAAAAAAABAAAAAA5vd25lclB1YmxpY0tleQEAAAAgurjrHLkKXnxExc5cKEJ0+eH0rh60yLyT+Ks725s+ZEEAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAOb3duZXJQdWJsaWNLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYHHyTRFw==",
"chainId": 84,
"height": 579893,
"spentComplexity": 0
}
View: original | compacted
Prev: GkuweGummwqpDZj9gww2yGUxUZQhsh3o6Sy5jAuCBGd9
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'DZtNj2BroKKxoGqE3pW1Ep7ozco9PD18WUmyotjtFadN' |
---|
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'DZtNj2BroKKxoGqE3pW1Ep7ozco9PD18WUmyotjtFadN' |
---|
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 | | |
---|