tx · 5xiBwdWVFALqbTEMZ8rwGYMeeUfy4ErXtNryUUBFw1p5
3MwvNguAJMnh3pKUiuzDRBemNh75bdBjyVr: -0.01400000 Waves
2019.07.29 21:29 [607733] smart account 3MwvNguAJMnh3pKUiuzDRBemNh75bdBjyVr > SELF 0.00000000 Waves
{
"type": 13,
"id": "5xiBwdWVFALqbTEMZ8rwGYMeeUfy4ErXtNryUUBFw1p5",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1564424933553,
"version": 1,
"sender": "3MwvNguAJMnh3pKUiuzDRBemNh75bdBjyVr",
"senderPublicKey": "6ujKbRwbiQw9xBPcWiwb6LJbvyH3fWurt5YUViqNiWza",
"proofs": [
"2cBJWNk8iZjFmuaffprLHCDpfbDGhqXrFZq59gMaQ8frzzs7feicBWJxPy4YJ6hDRqh4qTHQWs4mb3mLQ9WreSmE"
],
"script": "base64:AAIDAAAAAAAAAAAAAAABAAAAAAtvd25lclB1YktleQEAAAAgV8x9HcerrDQCpw+Fu5KLA4m5aihgDqLYMCLkrAyouhcAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALb3duZXJQdWJLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYHWKvqCA==",
"chainId": 84,
"height": 607733,
"spentComplexity": 0
}
View: original | compacted
Prev: 23T35HRjaTiyqQG69BiKyNGPLnC4stsWKZVeZeaJZwFh
Next: 1anmNGLuaN7fsfPyMn25z9k9KSFLH9UJ4qk1ZjbVyxC
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | |
---|
| 4 | + | let ownerPubKey = base58'6ujKbRwbiQw9xBPcWiwb6LJbvyH3fWurt5YUViqNiWza' |
---|
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], ownerPubKey) |
---|
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 ownerPubKey = base58'6ujKbRwbiQw9xBPcWiwb6LJbvyH3fWurt5YUViqNiWza' |
---|
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], ownerPubKey) |
---|
11 | 11 | | case d: DataTransaction => |
---|
12 | 12 | | true |
---|
13 | 13 | | case _ => |
---|
14 | 14 | | false |
---|
15 | 15 | | } |
---|
16 | 16 | | |
---|