tx · 6r4U3ZoTdW8Tns7N3Fy6hVjHH3LLvsAo3gMg3wc3eVVo
3NBYuiC6eFv2jT8DptUfiMDTbhXgFvn7NcK: -0.01000000 Waves
2020.10.27 15:16 [1238988] smart account 3NBYuiC6eFv2jT8DptUfiMDTbhXgFvn7NcK > SELF 0.00000000 Waves
{
"type": 13,
"id": "6r4U3ZoTdW8Tns7N3Fy6hVjHH3LLvsAo3gMg3wc3eVVo",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1603801027409,
"version": 2,
"chainId": 84,
"sender": "3NBYuiC6eFv2jT8DptUfiMDTbhXgFvn7NcK",
"senderPublicKey": "BN5UNNa95ZrPJ8JGf9eweh6CLRZ618MuRsvqmxPX1yTR",
"proofs": [
"2uUJNUiNLh2F7ADTLeundvvVNkqKDRoSSHGtVK7uBz6tp7t4bY9ky4N78nZoCeUySsoSogrZGNUSCHLgevEQdUhy"
],
"script": "base64:AgQAAAAEdGhpcwkBAAAAB2V4dHJhY3QAAAABCAUAAAACdHgAAAAGc2VuZGVyBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAQAAAANY29ycmVjdEFuc3dlcgkBAAAAB2V4dHJhY3QAAAABCQAEHAAAAAIFAAAABHRoaXMCAAAABzhVejZRNGcEAAAABmFuc3dlcgkAAfUAAAABCAUAAAABdAAAAAphdHRhY2htZW50AwkAAAAAAAACBQAAAA1jb3JyZWN0QW5zd2VyBQAAAAZhbnN3ZXIJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAAF0AAAAB2Fzc2V0SWQHAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABcwUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAABcwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAXMAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAABcwAAAA9zZW5kZXJQdWJsaWNLZXkHSPxEbA==",
"height": 1238988,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 8feJSj4Z8qjzseMBAQnMBrcSjmqKawPfiigwiBAJEoky
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 2 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let this = extract(tx.sender) |
---|
| 4 | + | match tx { |
---|
| 5 | + | case t: TransferTransaction => |
---|
| 6 | + | let correctAnswer = extract(getBinary(this, "8Uz6Q4g")) |
---|
| 7 | + | let answer = keccak256(t.attachment) |
---|
| 8 | + | if ((correctAnswer == answer)) |
---|
| 9 | + | then !(isDefined(t.assetId)) |
---|
| 10 | + | else false |
---|
| 11 | + | case s: DataTransaction|SetScriptTransaction => |
---|
| 12 | + | sigVerify(s.bodyBytes, s.proofs[0], s.senderPublicKey) |
---|
| 13 | + | case _ => |
---|
| 14 | + | false |
---|
| 15 | + | } |
---|