tx · HohVCBgQkfXTDCGXvSij7Zc7UxSawDcwf6uqycFAbyfc 3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu: -0.01400000 Waves 2019.01.29 22:32 [471967] smart account 3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu > SELF 0.00000000 Waves
{ "type": 13, "id": "HohVCBgQkfXTDCGXvSij7Zc7UxSawDcwf6uqycFAbyfc", "fee": 1400000, "feeAssetId": null, "timestamp": 1548790342677, "version": 1, "sender": "3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu", "senderPublicKey": "F3DbYSfYZz6arcD6Mst8HdWScxTeWvTvatC7jp4DGryX", "proofs": [ "4NRHVin13Eh4p2Nn3du5SkTVjSou4GGfghKaVz31LBz6HcGoDAq1hpKu7AgdB9h6omNxw64GzBuHZcd92Bw9Pn17" ], "script": "base64:AQQAAAACbWUIBQAAAAJ0eAAAAAZzZW5kZXIEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBAAAAANrZXkJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQQAAAAEdHlwZQkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBAAAAAN2YWwJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAwQAAAAFa2V5NTgJAAJYAAAAAQUAAAADa2V5BAAAAAp2YWxDb21wbGV4CQEAAAAHZXh0cmFjdAAAAAEJAAQcAAAAAgUAAAACbWUFAAAABWtleTU4BAAAAAVrb2VmZgMJAAAAAAAAAgUAAAAEdHlwZQkAAZoAAAABAAAAAAAAAAAAAAAAAAAAAAAkAwkAAAAAAAACBQAAAAR0eXBlCQABmgAAAAEAAAAAAAAAAAEAAAAAAAAAAAEDCQAAAAAAAAIFAAAABHR5cGUJAAGaAAAAAQAAAAAAAAAAAgAAAAAAAAAAAQMJAAAAAAAAAgUAAAAEdHlwZQkAAZoAAAABAAAAAAAAAAADAAAAAAAAAAABAAAAAAAAAAAABAAAAAd2YWxSZWFsAwkAAAAAAAACBQAAAAR0eXBlCQABmgAAAAEAAAAAAAAAAAAJAADKAAAAAgkAAMkAAAACBQAAAAp2YWxDb21wbGV4AAAAAAAAAAACAAAAAAAAAAABAwkAAAAAAAACBQAAAAR0eXBlCQABmgAAAAEAAAAAAAAAAAEJAADKAAAAAgkAAMkAAAACBQAAAAp2YWxDb21wbGV4AAAAAAAAAAADAAAAAAAAAAACAwkAAAAAAAACBQAAAAR0eXBlCQABmgAAAAEAAAAAAAAAAAIJAADKAAAAAgkAAMkAAAACBQAAAAp2YWxDb21wbGV4AAAAAAAAAAAEAAAAAAAAAAADAwkAAAAAAAACBQAAAAR0eXBlCQABmgAAAAEAAAAAAAAAAAMJAADKAAAAAgkAAMkAAAACBQAAAAp2YWxDb21wbGV4AAAAAAAAAAAFAAAAAAAAAAAECQABmgAAAAEAAAAAAAAAACYDCQAAAAAAAAIFAAAAA3ZhbAUAAAAHdmFsUmVhbAkBAAAAAiE9AAAAAgUAAAADdmFsCQABmgAAAAEAAAAAAAAAACYHBi1Q3jo=", "chainId": 84, "height": 471967, "spentComplexity": 0 } View: original | compacted Prev: XF9PTmL3d3WziSjuf2814ydo15mFHKKFGB8GvXzrnqS Next: 4om2KWrgSi5maL4bf5jon4Ewfgptgq99NAb2UpKT5fRR 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 key = tx.proofs[1] | |
7 | 7 | let type = tx.proofs[2] | |
8 | 8 | let val = tx.proofs[3] | |
9 | 9 | let key58 = toBase58String(key) | |
10 | 10 | let valComplex = extract(getBinary(me, key58)) | |
11 | 11 | let koeff = if ((type == toBytes(0))) | |
12 | 12 | then 36 | |
13 | 13 | else if ((type == toBytes(1))) | |
14 | 14 | then 1 | |
15 | 15 | else if ((type == toBytes(2))) | |
16 | 16 | then 1 | |
17 | 17 | else if ((type == toBytes(3))) | |
18 | 18 | then 1 | |
19 | 19 | else 0 | |
20 | 20 | let valReal = if ((type == toBytes(0))) | |
21 | 21 | then drop(take(valComplex, 2), 1) | |
22 | 22 | else if ((type == toBytes(1))) | |
23 | 23 | then drop(take(valComplex, 3), 2) | |
24 | 24 | else if ((type == toBytes(2))) | |
25 | 25 | then drop(take(valComplex, 4), 3) | |
26 | 26 | else if ((type == toBytes(3))) | |
27 | 27 | then drop(take(valComplex, 5), 4) | |
28 | 28 | else toBytes(38) | |
29 | 29 | if ((val == valReal)) | |
30 | 30 | then (val != toBytes(38)) | |
31 | 31 | else false | |
32 | 32 | case _ => | |
33 | 33 | true | |
34 | 34 | } |
github/deemru/w8io/169f3d6 22.61 ms ◑