tx · XF9PTmL3d3WziSjuf2814ydo15mFHKKFGB8GvXzrnqS

3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu:  -0.01400000 Waves

2019.01.29 22:30 [471966] smart account 3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu > SELF 0.00000000 Waves

{ "type": 13, "id": "XF9PTmL3d3WziSjuf2814ydo15mFHKKFGB8GvXzrnqS", "fee": 1400000, "feeAssetId": null, "timestamp": 1548790232203, "version": 1, "sender": "3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu", "senderPublicKey": "F3DbYSfYZz6arcD6Mst8HdWScxTeWvTvatC7jp4DGryX", "proofs": [ "2Sr49LSFXsoeZpeADmKXUqQfeeJnaHNP7wf8yMaeryyUPHbg9vrkwTrPRHyUjqeDXkQrTUieCqeUaUbrw8ChxWhq" ], "script": "base64:AQQAAAACbWUIBQAAAAJ0eAAAAAZzZW5kZXIEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBAAAAANrZXkJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQQAAAAEdHlwZQkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBAAAAAN2YWwJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAwQAAAAFa2V5NTgJAAJYAAAAAQUAAAADa2V5BAAAAAp2YWxDb21wbGV4CQEAAAAHZXh0cmFjdAAAAAEJAAQcAAAAAgUAAAACbWUFAAAABWtleTU4BAAAAAVrb2VmZgMJAAAAAAAAAgUAAAAEdHlwZQkAAZoAAAABAAAAAAAAAAAAAAAAAAAAAAAkAwkAAAAAAAACBQAAAAR0eXBlCQABmgAAAAEAAAAAAAAAAAEAAAAAAAAAAAEDCQAAAAAAAAIFAAAABHR5cGUJAAGaAAAAAQAAAAAAAAAAAgAAAAAAAAAAAQMJAAAAAAAAAgUAAAAEdHlwZQkAAZoAAAABAAAAAAAAAAADAAAAAAAAAAABAAAAAAAAAAAABAAAAAd2YWxSZWFsAwkAAAAAAAACBQAAAAR0eXBlCQABmgAAAAEAAAAAAAAAAAAJAADKAAAAAgkAAMkAAAACBQAAAAp2YWxDb21wbGV4AAAAAAAAAAACAAAAAAAAAAABAwkAAAAAAAACBQAAAAR0eXBlCQABmgAAAAEAAAAAAAAAAAEJAADKAAAAAgkAAMkAAAACBQAAAAp2YWxDb21wbGV4AAAAAAAAAAADAAAAAAAAAAACAwkAAAAAAAACBQAAAAR0eXBlCQABmgAAAAEAAAAAAAAAAAIJAADKAAAAAgkAAMkAAAACBQAAAAp2YWxDb21wbGV4AAAAAAAAAAAEAAAAAAAAAAADAwkAAAAAAAACBQAAAAR0eXBlCQABmgAAAAEAAAAAAAAAAAMJAADKAAAAAgkAAMkAAAACBQAAAAp2YWxDb21wbGV4AAAAAAAAAAAFAAAAAAAAAAAECQABmgAAAAEAAAAAAAAAACYDCQAAAAAAAAIFAAAAA3ZhbAUAAAAHdmFsUmVhbAkBAAAAAiE9AAAAAgUAAAADdmFsCQABmgAAAAEAAAAAAAAAACYHBi1Q3jo=", "chainId": 84, "height": 471966, "spentComplexity": 0 } View: original | compacted Prev: 45S57b1BUHcc5LxSqRthEFYdSawSU41gCexEi2bMxHFa Next: HohVCBgQkfXTDCGXvSij7Zc7UxSawDcwf6uqycFAbyfc Diff:
OldNewDifferences
1717 else if ((type == toBytes(3)))
1818 then 1
1919 else 0
20- let ver = take(valComplex, 1)
21- let valNumber = drop(take(valComplex, 2), 1)
22- let valRedBlack = drop(take(valComplex, 3), 2)
23- let valEvenOdd = drop(take(valComplex, 4), 3)
24- (val == valRedBlack)
20+ let valReal = if ((type == toBytes(0)))
21+ then drop(take(valComplex, 2), 1)
22+ else if ((type == toBytes(1)))
23+ then drop(take(valComplex, 3), 2)
24+ else if ((type == toBytes(2)))
25+ then drop(take(valComplex, 4), 3)
26+ else if ((type == toBytes(3)))
27+ then drop(take(valComplex, 5), 4)
28+ else toBytes(38)
29+ if ((val == valReal))
30+ then (val != toBytes(38))
31+ else false
2532 case _ =>
2633 true
2734 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let me = tx.sender
44 match tx {
55 case t: TransferTransaction =>
66 let key = tx.proofs[1]
77 let type = tx.proofs[2]
88 let val = tx.proofs[3]
99 let key58 = toBase58String(key)
1010 let valComplex = extract(getBinary(me, key58))
1111 let koeff = if ((type == toBytes(0)))
1212 then 36
1313 else if ((type == toBytes(1)))
1414 then 1
1515 else if ((type == toBytes(2)))
1616 then 1
1717 else if ((type == toBytes(3)))
1818 then 1
1919 else 0
20- let ver = take(valComplex, 1)
21- let valNumber = drop(take(valComplex, 2), 1)
22- let valRedBlack = drop(take(valComplex, 3), 2)
23- let valEvenOdd = drop(take(valComplex, 4), 3)
24- (val == valRedBlack)
20+ let valReal = if ((type == toBytes(0)))
21+ then drop(take(valComplex, 2), 1)
22+ else if ((type == toBytes(1)))
23+ then drop(take(valComplex, 3), 2)
24+ else if ((type == toBytes(2)))
25+ then drop(take(valComplex, 4), 3)
26+ else if ((type == toBytes(3)))
27+ then drop(take(valComplex, 5), 4)
28+ else toBytes(38)
29+ if ((val == valReal))
30+ then (val != toBytes(38))
31+ else false
2532 case _ =>
2633 true
2734 }

github/deemru/w8io/169f3d6 
39.52 ms