tx · 6XNc1YSkcJ968sM8QLreV7pMRGGRbip7mLnFxn6WjDfL
3Muk4vL9xShp3mm2ux5zaDSTMvofNEUpvFV: -0.01400000 Waves
2019.11.20 17:29 [773613] smart account 3Muk4vL9xShp3mm2ux5zaDSTMvofNEUpvFV > SELF 0.00000000 Waves
{
"type": 13,
"id": "6XNc1YSkcJ968sM8QLreV7pMRGGRbip7mLnFxn6WjDfL",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1574260209606,
"version": 1,
"sender": "3Muk4vL9xShp3mm2ux5zaDSTMvofNEUpvFV",
"senderPublicKey": "678QohU5T9vyLPVBx8MZqznHPGEoTmz1CG53NLU1Wc7f",
"proofs": [
"XuFHoUP8mf5mti8yfKJcThdHQqyhS7QNRxQ89AbzNZkBvUXkXyH19mrPgsMqhHgmgKCx5iMRKTuYKEvMhxuGLwi"
],
"script": "base64:AAIDAAAAAAAAAAIIAQAAAAEAAAAADm93bmVyUHVibGlja2V5AQAAACA7TvkvBV54ZDxWCvjbilMFjfU6bl4u3n3fV/LjIaqmZgAAAAAAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYHEIGqUw==",
"chainId": 84,
"height": 773613,
"spentComplexity": 0
}
View: original | compacted
Prev: DexvdfCqSNSDRgBUgjyEq4nvhEz4LEKQ6D65eZh1yyhU
Next: none
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let ownerPublickey = base58'4zWu7xYWo5xE6XkGNYRb6qFrq9Q9Rdn1gcwh3yYfv9ho' |
---|
4 | 5 | | |
---|
5 | 6 | | |
---|
6 | | - | @Callable(i) |
---|
7 | | - | func WriteNote (note) = { |
---|
8 | | - | let SenderAddress = toBase58String(i.caller.bytes) |
---|
9 | | - | let hBC10 = (height + 10) |
---|
10 | | - | WriteSet([DataEntry(SenderAddress, hBC10)]) |
---|
11 | | - | } |
---|
12 | | - | |
---|
| 7 | + | @Verifier(tx) |
---|
| 8 | + | func verify () = match tx { |
---|
| 9 | + | case d: SetAssetScriptTransaction => |
---|
| 10 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 11 | + | case d: DataTransaction => |
---|
| 12 | + | true |
---|
| 13 | + | case _ => |
---|
| 14 | + | false |
---|
| 15 | + | } |
---|
13 | 16 | | |
---|