tx · 45S57b1BUHcc5LxSqRthEFYdSawSU41gCexEi2bMxHFa 3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu: -0.01400000 Waves 2019.01.29 22:19 [471956] smart account 3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu > SELF 0.00000000 Waves
{ "type": 13, "id": "45S57b1BUHcc5LxSqRthEFYdSawSU41gCexEi2bMxHFa", "fee": 1400000, "feeAssetId": null, "timestamp": 1548789591982, "version": 1, "sender": "3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu", "senderPublicKey": "F3DbYSfYZz6arcD6Mst8HdWScxTeWvTvatC7jp4DGryX", "proofs": [ "5Qj9i6qPas8aVJbqSVgNtfXrJG4fQZC2ba8ogf5zP9rKdbGrRiGgexGL4YegsDPyv45G6Ytk6DV3pytB46FzXtzq" ], "script": "base64:AQQAAAACbWUIBQAAAAJ0eAAAAAZzZW5kZXIEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBAAAAANrZXkJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQQAAAAEdHlwZQkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBAAAAAN2YWwJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAwQAAAAFa2V5NTgJAAJYAAAAAQUAAAADa2V5BAAAAAp2YWxDb21wbGV4CQEAAAAHZXh0cmFjdAAAAAEJAAQcAAAAAgUAAAACbWUFAAAABWtleTU4BAAAAAVrb2VmZgMJAAAAAAAAAgUAAAAEdHlwZQkAAZoAAAABAAAAAAAAAAAAAAAAAAAAAAAkAwkAAAAAAAACBQAAAAR0eXBlCQABmgAAAAEAAAAAAAAAAAEAAAAAAAAAAAEDCQAAAAAAAAIFAAAABHR5cGUJAAGaAAAAAQAAAAAAAAAAAgAAAAAAAAAAAQMJAAAAAAAAAgUAAAAEdHlwZQkAAZoAAAABAAAAAAAAAAADAAAAAAAAAAABAAAAAAAAAAAABAAAAAN2ZXIJAADJAAAAAgUAAAAKdmFsQ29tcGxleAAAAAAAAAAAAQQAAAAJdmFsTnVtYmVyCQAAygAAAAIJAADJAAAAAgUAAAAKdmFsQ29tcGxleAAAAAAAAAAAAgAAAAAAAAAAAQQAAAALdmFsUmVkQmxhY2sJAADKAAAAAgkAAMkAAAACBQAAAAp2YWxDb21wbGV4AAAAAAAAAAADAAAAAAAAAAACBAAAAAp2YWxFdmVuT2RkCQAAygAAAAIJAADJAAAAAgUAAAAKdmFsQ29tcGxleAAAAAAAAAAABAAAAAAAAAAAAwkAAAAAAAACBQAAAAN2YWwFAAAAC3ZhbFJlZEJsYWNrBjNcvVs=", "chainId": 84, "height": 471956, "spentComplexity": 0 } View: original | compacted Prev: HP3xwNLfZPNpBocGm94GEFuHKgHz23qoQjGWvy2fdAKP Next: XF9PTmL3d3WziSjuf2814ydo15mFHKKFGB8GvXzrnqS 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 ver = take(valComplex, 1) | |
21 | 21 | let valNumber = drop(take(valComplex, 2), 1) | |
22 | 22 | let valRedBlack = drop(take(valComplex, 3), 2) | |
23 | 23 | let valEvenOdd = drop(take(valComplex, 4), 3) | |
24 | 24 | (val == valRedBlack) | |
25 | 25 | case _ => | |
26 | 26 | true | |
27 | 27 | } |
github/deemru/w8io/026f985 42.15 ms ◑