tx · 9fMt8WtiA1eAt7ViaHP631u17mEpYsqracegqENv4i7s
3NA47YhHs5GELB6FZUDKB6fpKTwNZvJ4cxN: -0.01000000 Waves
2019.03.13 00:28 [533466] smart account 3NA47YhHs5GELB6FZUDKB6fpKTwNZvJ4cxN > SELF 0.00000000 Waves
{
"type": 13,
"id": "9fMt8WtiA1eAt7ViaHP631u17mEpYsqracegqENv4i7s",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1552426080029,
"version": 1,
"sender": "3NA47YhHs5GELB6FZUDKB6fpKTwNZvJ4cxN",
"senderPublicKey": "9Laby3yBg4w58hvaHAMcZL9wwPsPC8Qo9WZeF1L36Qwh",
"proofs": [
"4uJ2KcFXcjTPEEjtzhEbsxSV9ee8xmmaPiEY2XmH21woAhbgvyQxDiqD7SgBqrSLyKgE79ynoQy1FZmT5dg3UDzw"
],
"script": "base64:AQQAAAAEdGhpcwkBAAAAB2V4dHJhY3QAAAABCAUAAAACdHgAAAAGc2VuZGVyBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAQAAAANY29ycmVjdEFuc3dlcgkBAAAAB2V4dHJhY3QAAAABCQAEHAAAAAIFAAAABHRoaXMCAAAAQGM4OWVmZGFhNTRjMGYyMGM3YWRmNjEyODgyZGYwOTUwZjVhOTUxNjM3ZTAzMDdjZGNiNGM2NzJmMjk4YjhiYzYEAAAABmFuc3dlcgkAAfUAAAABCAUAAAABdAAAAAphdHRhY2htZW50AwkAAAAAAAACBQAAAA1jb3JyZWN0QW5zd2VyBQAAAAZhbnN3ZXIJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAAF0AAAAB2Fzc2V0SWQHAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABcwUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAABcwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAXMAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAABcwAAAA9zZW5kZXJQdWJsaWNLZXkHoDsClw==",
"chainId": 84,
"height": 533466,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 1 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let this = extract(tx.sender) |
---|
| 4 | + | match tx { |
---|
| 5 | + | case t: TransferTransaction => |
---|
| 6 | + | let correctAnswer = extract(getBinary(this, "c89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6")) |
---|
| 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 | + | } |
---|