tx · 2R2AzMB8mRdnC62GCfvTMmdrxCvFivCT1vx5iSmnu95S
3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu: -0.01400000 Waves
2019.01.29 00:08 [470633] smart account 3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu > SELF 0.00000000 Waves
{
"type": 13,
"id": "2R2AzMB8mRdnC62GCfvTMmdrxCvFivCT1vx5iSmnu95S",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1548709802334,
"version": 1,
"sender": "3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu",
"senderPublicKey": "F3DbYSfYZz6arcD6Mst8HdWScxTeWvTvatC7jp4DGryX",
"proofs": [
"5CBQqY6nW8zJS7gvtYmDWqaDB4jr8eGLNVuX3wiLMwmS2ZwTpg1eaEXT37XdqtqUgLhKswHppMAMqVshSdeZHVuh"
],
"script": "base64:AQQAAAACbWUIBQAAAAJ0eAAAAAZzZW5kZXIEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBAAAAANhdHQIBQAAAAF0AAAACmF0dGFjaG1lbnQEAAAAA2tleQkAAMkAAAACBQAAAANhdHQAAAAAAAAAABMEAAAABHR5cGUJAADKAAAAAgUAAAADa2V5AAAAAAAAAAARBAAAAAN2YWwJAQAAAA50YWtlUmlnaHRCeXRlcwAAAAIFAAAAA2F0dAAAAAAAAAAAAgQAAAAFc3RyMTIJAAGbAAAAAQIAAAACMTIEAAAABXN0cjAxCQABmwAAAAECAAAAAjAxBAAAAAZzdHJWYWwJAQAAAAdleHRyYWN0AAAAAQkABBwAAAACBQAAAAJtZQkAAlgAAAABBQAAAANrZXkDCQAAAAAAAAIFAAAABHR5cGUFAAAABXN0cjEyCQAAAAAAAAIFAAAAA3ZhbAUAAAAGc3RyVmFsBwYZB4hC",
"chainId": 84,
"height": 470633,
"spentComplexity": 0
}
View: original | compacted
Prev: fgd9rJsrFRTSQvzhrmdea66PhT8uAiSoVhgnV9Zfcr3
Next: fUTeMKyUufq7uPeEwhQU32Ak9Xqs9w1xo6AEnTMeTrR
Diff:
Old | New | | Differences |
---|
9 | 9 | | let val = takeRightBytes(att, 2) |
---|
10 | 10 | | let str12 = toBytes("12") |
---|
11 | 11 | | let str01 = toBytes("01") |
---|
| 12 | + | let strVal = extract(getBinary(me, toBase58String(key))) |
---|
12 | 13 | | if ((type == str12)) |
---|
13 | | - | then (val == extract(getBinary(me, toBase58String(key)))) |
---|
| 14 | + | then (val == strVal) |
---|
14 | 15 | | else false |
---|
15 | 16 | | case _ => |
---|
16 | 17 | | true |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let me = tx.sender |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case t: TransferTransaction => |
---|
6 | 6 | | let att = t.attachment |
---|
7 | 7 | | let key = take(att, 19) |
---|
8 | 8 | | let type = drop(key, 17) |
---|
9 | 9 | | let val = takeRightBytes(att, 2) |
---|
10 | 10 | | let str12 = toBytes("12") |
---|
11 | 11 | | let str01 = toBytes("01") |
---|
| 12 | + | let strVal = extract(getBinary(me, toBase58String(key))) |
---|
12 | 13 | | if ((type == str12)) |
---|
13 | | - | then (val == extract(getBinary(me, toBase58String(key)))) |
---|
| 14 | + | then (val == strVal) |
---|
14 | 15 | | else false |
---|
15 | 16 | | case _ => |
---|
16 | 17 | | true |
---|
17 | 18 | | } |
---|