tx · DJ8tmMtnF4w4AEFCW92HKTDUecg9Ftr7WMJuKuMrLDNR
3Mz4a39H1TJ6Ax4Mta2YC5pG88s2Wi6G7aT: -0.04000000 Waves
2020.10.15 21:42 [1222050] smart account 3Mz4a39H1TJ6Ax4Mta2YC5pG88s2Wi6G7aT > SELF 0.00000000 Waves
{
"type": 13,
"id": "DJ8tmMtnF4w4AEFCW92HKTDUecg9Ftr7WMJuKuMrLDNR",
"fee": 4000000,
"feeAssetId": null,
"timestamp": 1602787386708,
"version": 2,
"chainId": 84,
"sender": "3Mz4a39H1TJ6Ax4Mta2YC5pG88s2Wi6G7aT",
"senderPublicKey": "FXs7hLhnG6PhobhFeeCSRWHesqimbaLLR95zgbPM43CF",
"proofs": [
"419tGroHFPzcKym9pgbELxaYgeKUNZ19GzuiLbjT7432W2qr5SQCS65auDhAECkvjmVkFcH4SzU1kbRWWQUzk7bF"
],
"script": "base64:AgQAAAAEdGhpcwkBAAAAB2V4dHJhY3QAAAABCAUAAAACdHgAAAAGc2VuZGVyBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAQAAAANY29ycmVjdEFuc3dlcgkBAAAAB2V4dHJhY3QAAAABCQAEHAAAAAIFAAAABHRoaXMCAAAADWhhc2hlZCBhbnN3ZXIEAAAABmFuc3dlcgkAAfUAAAABCAUAAAABdAAAAAphdHRhY2htZW50AwkAAAAAAAACBQAAAA1jb3JyZWN0QW5zd2VyBQAAAAZhbnN3ZXIJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAAF0AAAAB2Fzc2V0SWQHAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABcwUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAABcwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAXMAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAABcwAAAA9zZW5kZXJQdWJsaWNLZXkHnYrj7g==",
"height": 1222050,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 88eFBqMnyExKcGG9pykTUzgmCXPMnU4Gh5acYHBWFev5
Next: none
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let this = extract(tx.sender) |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case t: TransferTransaction => |
---|
6 | 6 | | let correctAnswer = extract(getBinary(this, "hashed answer")) |
---|
7 | 7 | | let answer = keccak256(t.attachment) |
---|
8 | 8 | | if ((correctAnswer == answer)) |
---|
9 | 9 | | then !(isDefined(t.assetId)) |
---|
10 | 10 | | else false |
---|
11 | 11 | | case s: DataTransaction|SetScriptTransaction => |
---|
12 | 12 | | sigVerify(s.bodyBytes, s.proofs[0], s.senderPublicKey) |
---|
13 | 13 | | case _ => |
---|
14 | 14 | | false |
---|
15 | 15 | | } |
---|