tx · ByA9KjBKJvPfrKd7SuR3J7qHVN1Nkc5GyGsJnoEBpoqH 3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu: -0.01400000 Waves 2019.01.30 10:36 [472701] smart account 3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu > SELF 0.00000000 Waves
{ "type": 13, "id": "ByA9KjBKJvPfrKd7SuR3J7qHVN1Nkc5GyGsJnoEBpoqH", "fee": 1400000, "feeAssetId": null, "timestamp": 1548833809120, "version": 1, "sender": "3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu", "senderPublicKey": "F3DbYSfYZz6arcD6Mst8HdWScxTeWvTvatC7jp4DGryX", "proofs": [ "2w6F7GXzUd1irUm6Hj4xyjR5Ja5EGnqJbrCdT4WP34sEeZozFFj3PiWeQDp9tfW3Pks1xPqam3Kka8vFV7rPAbUt" ], "script": "base64:AQQAAAACbWUIBQAAAAJ0eAAAAAZzZW5kZXIEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBAAAAARhdHQwCAUAAAABdAAAAAphdHRhY2htZW50BAAAAANhdHQJAADKAAAAAggFAAAAAXQAAAAKYXR0YWNobWVudAAAAAAAAAAAFgQAAAADa2V5CQAAyQAAAAIFAAAAA2F0dAAAAAAAAAAACAQAAAAEdHlwZQkAAMoAAAACCQAAyQAAAAIFAAAAA2F0dAAAAAAAAAAACQAAAAAAAAAACAQAAAADdmFsCQAAygAAAAIJAADJAAAAAgUAAAADYXR0AAAAAAAAAAAKAAAAAAAAAAAJBAAAAAVrZXk1OAkAAlgAAAABBQAAAANrZXkEAAAACnZhbENvbXBsZXgJAQAAAAdleHRyYWN0AAAAAQkABBwAAAACBQAAAAJtZQUAAAAFa2V5NTgEAAAABWtvZWZmAwkAAAAAAAACBQAAAAR0eXBlCQAAygAAAAIJAAGaAAAAAQAA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AAAAAHCQAAygAAAAIJAADJAAAAAgUAAAAKdmFsQ29tcGxleAAAAAAAAAAABQAAAAAAAAAABAMJAAAAAAAAAgUAAAAEdHlwZQkAAMoAAAACCQABmgAAAAEAAAAAAAAAAAQAAAAAAAAAAAcJAADKAAAAAgkAAMkAAAACBQAAAAp2YWxDb21wbGV4AAAAAAAAAAAGAAAAAAAAAAAFAwkAAAAAAAACBQAAAAR0eXBlCQAAygAAAAIJAAGaAAAAAQAAAAAAAAAABQAAAAAAAAAABwkAAMoAAAACCQAAyQAAAAIFAAAACnZhbENvbXBsZXgAAAAAAAAAAAcAAAAAAAAAAAUDCQAAAAAAAAIFAAAABHR5cGUJAADKAAAAAgkAAZoAAAABAAAAAAAAAAAGAAAAAAAAAAAHCQAAygAAAAIJAADJAAAAAgUAAAAKdmFsQ29tcGxleAAAAAAAAAAACAAAAAAAAAAABgkAAZoAAAABAAAAAAAAAAAmAwkAAAAAAAACBQAAAAN2YWwFAAAAB3ZhbFJlYWwJAQAAAAIhPQAAAAIFAAAAA3ZhbAkAAZoAAAABAAAAAAAAAAAmBwYS0E9f", "chainId": 84, "height": 472701, "spentComplexity": 0 } View: original | compacted Prev: DJUzVThHwBTAUeJPat4DAKG3wFUPskCGpSgbJhRtC8c4 Next: Dc1Q5dwzNMRgaBvEdMKgSk246L2Skw2dfiXFchLtnLER 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 att0 = t.attachment | |
7 | 7 | let att = drop(t.attachment, 22) | |
8 | 8 | let key = take(att, 8) | |
9 | 9 | let type = drop(take(att, 9), 8) | |
10 | 10 | let val = drop(take(att, 10), 9) | |
11 | 11 | let key58 = toBase58String(key) | |
12 | 12 | let valComplex = extract(getBinary(me, key58)) | |
13 | 13 | let koeff = if ((type == drop(toBytes(0), 7))) | |
14 | 14 | then 35 | |
15 | 15 | else if ((type == drop(toBytes(1), 7))) | |
16 | 16 | then 1 | |
17 | 17 | else if ((type == drop(toBytes(2), 7))) | |
18 | 18 | then 1 | |
19 | 19 | else if ((type == drop(toBytes(3), 7))) | |
20 | 20 | then 1 | |
21 | 21 | else if ((type == drop(toBytes(4), 7))) | |
22 | 22 | then 2 | |
23 | 23 | else if ((type == drop(toBytes(5), 7))) | |
24 | 24 | then 2 | |
25 | 25 | else if ((type == drop(toBytes(6), 7))) | |
26 | 26 | then 2 | |
27 | 27 | else 0 | |
28 | 28 | let ver = take(valComplex, 1) | |
29 | 29 | let valReal = if ((type == drop(toBytes(0), 7))) | |
30 | 30 | then drop(take(valComplex, 2), 1) | |
31 | 31 | else if ((type == drop(toBytes(1), 7))) | |
32 | 32 | then drop(take(valComplex, 3), 2) | |
33 | 33 | else if ((type == drop(toBytes(2), 7))) | |
34 | 34 | then drop(take(valComplex, 4), 3) | |
35 | 35 | else if ((type == drop(toBytes(3), 7))) | |
36 | 36 | then drop(take(valComplex, 5), 4) | |
37 | 37 | else if ((type == drop(toBytes(4), 7))) | |
38 | 38 | then drop(take(valComplex, 6), 5) | |
39 | 39 | else if ((type == drop(toBytes(5), 7))) | |
40 | 40 | then drop(take(valComplex, 7), 5) | |
41 | 41 | else if ((type == drop(toBytes(6), 7))) | |
42 | 42 | then drop(take(valComplex, 8), 6) | |
43 | 43 | else toBytes(38) | |
44 | 44 | if ((val == valReal)) | |
45 | 45 | then (val != toBytes(38)) | |
46 | 46 | else false | |
47 | 47 | case _ => | |
48 | 48 | true | |
49 | 49 | } |
github/deemru/w8io/026f985 36.90 ms ◑