tx · D7hBLEKB1UcdGeMsooT68H2nCy6uDNzg7xyKvTzW2PmN
3N9ajhjZ6Xi2WHpGEfkZnLPHSgH8YhhZkiF: -0.01400000 Waves
2021.06.24 11:05 [1584195] smart account 3N9ajhjZ6Xi2WHpGEfkZnLPHSgH8YhhZkiF > SELF 0.00000000 Waves
{
"type": 13,
"id": "D7hBLEKB1UcdGeMsooT68H2nCy6uDNzg7xyKvTzW2PmN",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1624521997429,
"version": 2,
"chainId": 84,
"sender": "3N9ajhjZ6Xi2WHpGEfkZnLPHSgH8YhhZkiF",
"senderPublicKey": "3y15zBCpa7ogkU9bxD5qBKPzjNUMTb6ecEVQCXCd8gfZ",
"proofs": [
"532sr3nHhSmip7tQJz8D6TJoLG9Z2Ea7gWfLHrDvdA4FUiNAsf45snysGjexeFdTapEgScnL6riMY3VaCpsXUFXi"
],
"script": "base64:AAIDAAAAAAAAAAIIAQAAAAEAAAAADm93bmVyUHVibGljS2V5AQAAACAsD/8RV5QMFypxT02YnPR31sAU7rtPy3j5oTEL6KbecAAAAAAAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA5vd25lclB1YmxpY0tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgfViQkU",
"height": 1584195,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 9SUtbNgW51YaNXGkqt55vMwYixax9asBPAEC4dTTHBeg
Next: BWGcJifBscWi2Dp63ZvyYXv7tMiBGuCyL8WFnnVsXdNS
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | |
---|
| 4 | + | let ownerPublicKey = base58'3y15zBCpa7ogkU9bxD5qBKPzjNUMTb6ecEVQCXCd8gfZ' |
---|
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'3y15zBCpa7ogkU9bxD5qBKPzjNUMTb6ecEVQCXCd8gfZ' |
---|
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 | | |
---|