tx · 5jFGSkhA6En6rapMv411n5AVVWTNWHhEzp8pJF99ZSfh
3N5puv3JKFgu9AQrjmoNPVuVmpbYoV6UW8A: -0.01000000 Waves
2019.02.21 20:29 [505309] smart account 3N5puv3JKFgu9AQrjmoNPVuVmpbYoV6UW8A > SELF 0.00000000 Waves
{
"type": 13,
"id": "5jFGSkhA6En6rapMv411n5AVVWTNWHhEzp8pJF99ZSfh",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1550769925644,
"version": 1,
"sender": "3N5puv3JKFgu9AQrjmoNPVuVmpbYoV6UW8A",
"senderPublicKey": "7Bv6osUHEoKpeF3V6bfZ8uL5HhzbngBXuCZHaxfNJgzV",
"proofs": [
"3vQs6Ao83pTqkisirc4uEwFtG1xcfvqEYg514PtDcyNZyM9UwRXnttJBDmxa2RdURisYEupcwV1iyscpNttoHPku"
],
"script": "base64:AQQAAAAEdGhpcwkBAAAAB2V4dHJhY3QAAAABCAUAAAACdHgAAAAGc2VuZGVyBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAQAAAANY29ycmVjdEFuc3dlcgkBAAAAB2V4dHJhY3QAAAABCQAEHAAAAAIFAAAABHRoaXMCAAAAQDNhYzIyNTE2OGRmNTQyMTJhMjVjMWMwMWZkMzViZWJmZWE0MDhmZGFjMmUzMWRkZDZmODBhNGJiZjlhNWYxY2IEAAAABmFuc3dlcgkAAfUAAAABCAUAAAABdAAAAAphdHRhY2htZW50AwkAAAAAAAACBQAAAA1jb3JyZWN0QW5zd2VyBQAAAAZhbnN3ZXIJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAAF0AAAAB2Fzc2V0SWQHAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABcwUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAABcwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAXMAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAABcwAAAA9zZW5kZXJQdWJsaWNLZXkHq5d33Q==",
"chainId": 84,
"height": 505309,
"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, "3ac225168df54212a25c1c01fd35bebfea408fdac2e31ddd6f80a4bbf9a5f1cb")) |
---|
| 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 | + | } |
---|