tx · FoCdv52SdJMfyFj7UF7oGgxQexQhrbHyX8HsqmFbPNpm
3MvU8vDCk4NkA1Ag4vE3mETA4U9ioFh6VEM: -0.01500000 Waves
2019.12.13 15:59 [807119] smart account 3MvU8vDCk4NkA1Ag4vE3mETA4U9ioFh6VEM > SELF 0.00000000 Waves
{
"type": 13,
"id": "FoCdv52SdJMfyFj7UF7oGgxQexQhrbHyX8HsqmFbPNpm",
"fee": 1500000,
"feeAssetId": null,
"timestamp": 1576242043525,
"version": 1,
"sender": "3MvU8vDCk4NkA1Ag4vE3mETA4U9ioFh6VEM",
"senderPublicKey": "LknnJnwRo6xRdriHmjgVbRDgpexijZFTYBU3Lw4HBS1",
"proofs": [
"55H6JMYQqbVstcLPZvV7ZurcqBvyLKH3rWhJCE5fkuSDsomNeDZ9igxTdfL6wtvqf5EchzuS9MZDfbzs8qzG8QYV"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAAAAAAEAAAABaQEAAAAJZW50ZXJEYXRhAAAAAQAAAAdkYXRhVmFsBAAAAANwbXQJAQAAAAdleHRyYWN0AAAAAQgFAAAAAWkAAAAHcGF5bWVudAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAQQ29udGVudF9WYXJpYWJsZQUAAAAHZGF0YVZhbAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAKcG10LmFtb3VudAgFAAAAA3BtdAAAAAZhbW91bnQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAAC3BtdC5hc3NldElkAwkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAANwbXQAAAAHYXNzZXRJZAkAAlgAAAABCQEAAAAFdmFsdWUAAAABCAUAAAADcG10AAAAB2Fzc2V0SWQCAAAABVdBVkVTBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAAAQAAACAFD4xR+vhn87/hBYKK3U65pNDGgCOmIhphWGox2SE5QgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgeaRx5W",
"chainId": 84,
"height": 807119,
"spentComplexity": 0
}
View: original | compacted
Prev: ETvzjBZBUMZ7EPd1cxmmwrjQsM1ZQ87t7ZiTPebUksE3
Next: DH1zF8WHqUdUeNdy98Ym9KydDCaF3w3pXSHVxv7Dx24z
Diff:
Old | New | | Differences |
---|
16 | 16 | | func verify () = match tx { |
---|
17 | 17 | | case d: SetScriptTransaction => |
---|
18 | 18 | | sigVerify(tx.bodyBytes, tx.proofs[0], base58'LknnJnwRo6xRdriHmjgVbRDgpexijZFTYBU3Lw4HBS1') |
---|
| 19 | + | case d: DataTransaction => |
---|
| 20 | + | true |
---|
19 | 21 | | case _ => |
---|
20 | 22 | | false |
---|
21 | 23 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func enterData (dataVal) = { |
---|
8 | 8 | | let pmt = extract(i.payment) |
---|
9 | 9 | | WriteSet([DataEntry("Content_Variable", dataVal), DataEntry("pmt.amount", pmt.amount), DataEntry("pmt.assetId", if (isDefined(pmt.assetId)) |
---|
10 | 10 | | then toBase58String(value(pmt.assetId)) |
---|
11 | 11 | | else "WAVES")]) |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Verifier(tx) |
---|
16 | 16 | | func verify () = match tx { |
---|
17 | 17 | | case d: SetScriptTransaction => |
---|
18 | 18 | | sigVerify(tx.bodyBytes, tx.proofs[0], base58'LknnJnwRo6xRdriHmjgVbRDgpexijZFTYBU3Lw4HBS1') |
---|
| 19 | + | case d: DataTransaction => |
---|
| 20 | + | true |
---|
19 | 21 | | case _ => |
---|
20 | 22 | | false |
---|
21 | 23 | | } |
---|
22 | 24 | | |
---|