tx · ECcNi2bUWiZmecbXSBTto2PJsVLEx1aZ4wKPCBTzkbSL
3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu: -0.01400000 Waves
2019.01.29 10:55 [471267] smart account 3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu > SELF 0.00000000 Waves
{
"type": 13,
"id": "ECcNi2bUWiZmecbXSBTto2PJsVLEx1aZ4wKPCBTzkbSL",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1548748544122,
"version": 1,
"sender": "3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu",
"senderPublicKey": "F3DbYSfYZz6arcD6Mst8HdWScxTeWvTvatC7jp4DGryX",
"proofs": [
"5rmm77mkCS7XKazFApGvZccCZDNeGUYzdTaEEN9G38EE2TPUREdEkCurKucufRrKZDETBxbTW9NQbdnb9hyruFT1"
],
"script": "base64:AQQAAAACbWUIBQAAAAJ0eAAAAAZzZW5kZXIEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBAAAAANhdHQIBQAAAAF0AAAACmF0dGFjaG1lbnQEAAAAA2tleQkAAMkAAAACBQAAAANhdHQAAAAAAAAAABMEAAAABHR5cGUJAADKAAAAAgUAAAADa2V5AAAAAAAAAAARBAAAAAN2YWwJAQAAAA50YWtlUmlnaHRCeXRlcwAAAAIFAAAAA2F0dAAAAAAAAAAAAgQAAAAFc3RyMTIJAAGbAAAAAQIAAAACMTIEAAAABXN0cjAxCQABmwAAAAECAAAAAjAxBAAAAAZrZXlTdHIJAAJYAAAAAQUAAAADa2V5BAAAAAZzdHJWYWwJAQAAAAdleHRyYWN0AAAAAQkABBwAAAACBQAAAAJtZQUAAAAGa2V5U3RyAwkAAAAAAAACBQAAAAR0eXBlBQAAAAVzdHIxMgkAAAAAAAACBQAAAAN2YWwFAAAABnN0clZhbAcGPgcDKA==",
"chainId": 84,
"height": 471267,
"spentComplexity": 0
}
View: original | compacted
Prev: BYwR4bQpLk2zdtQpbq63wCSFZhDRoQKHA3emijCUSx9s
Next: 5XdSjLiQMaxP6tWYDbkpr7qHnY8oPYiG3M4T8N154nYa
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 | | } |
---|