tx · 93CH3WpSKVBaPL3udrbymUt7y1JEeeZa6JEXTsnuXbcS
3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu: -0.01400000 Waves
2019.01.29 00:15 [470639] smart account 3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu > SELF 0.00000000 Waves
{
"type": 13,
"id": "93CH3WpSKVBaPL3udrbymUt7y1JEeeZa6JEXTsnuXbcS",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1548710141361,
"version": 1,
"sender": "3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu",
"senderPublicKey": "F3DbYSfYZz6arcD6Mst8HdWScxTeWvTvatC7jp4DGryX",
"proofs": [
"5YGR3jHMGg7QTYHwd7PS7Rvdx3rGeXVTpV7WDeFQoiZowAvyG7jwnR7U1aLQaFMN1VXy5r9fJ7zHGRepXTTFuHmG"
],
"script": "base64:AQQAAAACbWUIBQAAAAJ0eAAAAAZzZW5kZXIEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBAAAAANhdHQIBQAAAAF0AAAACmF0dGFjaG1lbnQEAAAAA2tleQkAAMkAAAACBQAAAANhdHQAAAAAAAAAABMEAAAABHR5cGUJAADKAAAAAgUAAAADa2V5AAAAAAAAAAARBAAAAAN2YWwJAQAAAA50YWtlUmlnaHRCeXRlcwAAAAIFAAAAA2F0dAAAAAAAAAAAAgQAAAAFc3RyMTIJAAGbAAAAAQIAAAACMTIEAAAABXN0cjAxCQABmwAAAAECAAAAAjAxBAAAAAZrZXlTdHIJAAJYAAAAAQUAAAADa2V5BAAAAAZzdHJWYWwJAQAAAAdleHRyYWN0AAAAAQkABBwAAAACBQAAAAJtZQUAAAAGa2V5U3RyAwkAAAAAAAACBQAAAAR0eXBlBQAAAAVzdHIxMgkAAAAAAAACBQAAAAN2YWwFAAAABnN0clZhbAcGPgcDKA==",
"chainId": 84,
"height": 470639,
"spentComplexity": 0
}
View: original | compacted
Prev: 4eYHCCJT2ZA2ftZBkpJjeZEQ7Bb8BSAcXm37hmm1SUmF
Next: J5PrxiQsJBdhjFxP56mK5FiFUizDGamrshgcmCVZSUTt
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 | 12 | | let keyStr = toBase58String(key) |
---|
13 | 13 | | let strVal = extract(getBinary(me, keyStr)) |
---|
14 | 14 | | if ((type == str12)) |
---|
15 | 15 | | then (val == strVal) |
---|
16 | 16 | | else false |
---|
17 | 17 | | case _ => |
---|
18 | 18 | | true |
---|
19 | 19 | | } |
---|