tx · BsBNZoPAq8a81Cp2ETuCMjEAw5mhqAi4QNBAG56mSWyx
3My35afiQPyA331xRFbRJCMZRWX5PCmMShm: -0.01000000 Waves
2019.02.26 20:02 [512637] smart account 3My35afiQPyA331xRFbRJCMZRWX5PCmMShm > SELF 0.00000000 Waves
{
"type": 13,
"id": "BsBNZoPAq8a81Cp2ETuCMjEAw5mhqAi4QNBAG56mSWyx",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1551200577384,
"version": 1,
"sender": "3My35afiQPyA331xRFbRJCMZRWX5PCmMShm",
"senderPublicKey": "5WPVDxwNRe4RVPsgmK6ky6NzdRrdqb725e63c4UvWg8L",
"proofs": [
"kmjdHdNdGJN5KZngcxtLbsqQbLbzwaqYkVtFvXdHzLNfBn9ZBdsoJAxNS6dcVhmx5NnAjjT6bRkwAAqaHNWbaxn"
],
"script": "base64:AQQAAAAEdGhpcwkBAAAAB2V4dHJhY3QAAAABCAUAAAACdHgAAAAGc2VuZGVyBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAQAAAANY29ycmVjdEFuc3dlcgkBAAAAB2V4dHJhY3QAAAABCQAEHAAAAAIFAAAABHRoaXMCAAAAQDY0ZTYwNDc4N2NiZjE5NDg0MWU3YjY4ZDdjZDI4Nzg2ZjZjOWEwYTNhYjlmOGIwYTBlODdjYjQzODdhYjAxMDcEAAAABmFuc3dlcgkAAfUAAAABCAUAAAABdAAAAAphdHRhY2htZW50AwkAAAAAAAACBQAAAA1jb3JyZWN0QW5zd2VyBQAAAAZhbnN3ZXIJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAAF0AAAAB2Fzc2V0SWQHAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABcwUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAABcwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAXMAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAABcwAAAA9zZW5kZXJQdWJsaWNLZXkH2prHoA==",
"chainId": 84,
"height": 512637,
"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, "64e604787cbf194841e7b68d7cd28786f6c9a0a3ab9f8b0a0e87cb4387ab0107")) |
---|
| 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 | + | } |
---|