tx · 5SHnw9npxicGnQDizr9draWjaFVgtXNoqJfmoMVY9HNb
3NCz7eGUeigVJAE4nDjBCf4CHiNGxpR5cUi: -0.05000000 Waves
2019.07.25 02:08 [600763] smart account 3NCz7eGUeigVJAE4nDjBCf4CHiNGxpR5cUi > SELF 0.00000000 Waves
{
"type": 13,
"id": "5SHnw9npxicGnQDizr9draWjaFVgtXNoqJfmoMVY9HNb",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1564009714312,
"version": 1,
"sender": "3NCz7eGUeigVJAE4nDjBCf4CHiNGxpR5cUi",
"senderPublicKey": "92L7vso5LBACqG3wijJY3E7baDfvZabvtUTjTVptfrNZ",
"proofs": [
"5H13wk1nXYxcoasZ8HbyDU5PBLU5jD5UrztBSX3CvUuuRDkBaUfoyyNHFKS7Qdcs22aw65b3AzT5vkHwRs4qW2Lt"
],
"script": "base64:AAIDAAAAAAAAAAAAAAABAAAAAA5vd25lclB1YmxpY0tleQEAAAAgdzSx1afl0ePTmg4gnQqpy8e9MyGIVfhvf2+si3EVX0YAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFzBQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAOb3duZXJQdWJsaWNLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYHFpZ4aQ==",
"chainId": 84,
"height": 600763,
"spentComplexity": 0
}
View: original | compacted
Prev: 1B9D9zuPYv1XkhosQSw8PuvCuKc99YcZALLmZHnKPGE
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'92L7vso5LBACqG3wijJY3E7baDfvZabvtUTjTVptfrNZ' |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Verifier(tx) |
---|
8 | 8 | | func verify () = match tx { |
---|
9 | 9 | | case s: 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'92L7vso5LBACqG3wijJY3E7baDfvZabvtUTjTVptfrNZ' |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Verifier(tx) |
---|
8 | 8 | | func verify () = match tx { |
---|
9 | 9 | | case s: 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 | | |
---|