tx · Gw6EfokrkTREbcu1skchLFePZGivwwL9S3s4y4bLSDVc

3NCN79gCSaKTFV6fDoEzELoxDMrAUTCekd5:  -0.01400000 Waves

2019.09.17 17:59 [680394] smart account 3NCN79gCSaKTFV6fDoEzELoxDMrAUTCekd5 > SELF 0.00000000 Waves

{ "type": 13, "id": "Gw6EfokrkTREbcu1skchLFePZGivwwL9S3s4y4bLSDVc", "fee": 1400000, "feeAssetId": null, "timestamp": 1568732399347, "version": 1, "sender": "3NCN79gCSaKTFV6fDoEzELoxDMrAUTCekd5", "senderPublicKey": "4tD3VgZ1AmHzY7q1KZpn2mAkpMbBoXVAKSw3FRP9EXfT", "proofs": [ "3o7Tm7w1u1YyCkYCMLYKdxMbXK5tiwmfBTmBhpP96jG8ZyabRvZm4xXpyoEQAGiJUpbxLi4fs5heTJBoFxehtpRd" ], "script": "base64:AgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAQAAAACazAICQABkQAAAAIIBQAAAAFkAAAABGRhdGEAAAAAAAAAAAAAAAADa2V5BAAAAAVldmVudAkAAS8AAAACBQAAAAJrMAkAAGUAAAACCQABMQAAAAEFAAAAAmswAAAAAAAAAAAFBAAAAAR0eGlkCQEAAAAHZXh0cmFjdAAAAAEJAAQTAAAAAggFAAAAAWQAAAAEZGF0YQkAASwAAAACBQAAAAVldmVudAIAAAADX3R4BAAAAApleGNoYW5nZVR4CQEAAAAHZXh0cmFjdAAAAAEEAAAAByRtYXRjaDEJAAPoAAAAAQkAAlkAAAABBQAAAAR0eGlkAwkAAAEAAAACBQAAAAckbWF0Y2gxAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gxBQAAAAFlBQAAAAR1bml0BAAAAAZwcmV2VHMJAAQaAAAAAggFAAAAAnR4AAAABnNlbmRlcgkAASwAAAACBQAAAAVldmVudAIA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b29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleecdE7s=", "chainId": 84, "height": 680394, "spentComplexity": 0 } View: original | compacted Prev: E59KCj3gZx9abvpfv5kqTmdaXopB5NQ5WVsjQ6aFBReJ Next: ExZrFuz3hYZmFQEPrYyzh4jYfZ6UMW84bW4juuvPPiSt Diff:
OldNewDifferences
1313 })
1414 let prevTs = getInteger(tx.sender, (event + "_timestamp"))
1515 let eventTs = takeRight(event, 10)
16- if (if (if (if (if (if (if ((size(d.data) == 4))
16+ if (if (if (if (if (if (if (if ((size(d.data) == 4))
1717 then (d.data[0].key == (event + "_rate"))
1818 else false)
1919 then (d.data[1].key == (event + "_timestamp"))
2727 then (d.data[1].value == exchangeTx.timestamp)
2828 else false)
2929 then (d.data[2].value == txid)
30+ else false)
31+ then if (!(isDefined(prevTs)))
32+ then true
33+ else (extract(prevTs) > exchangeTx.timestamp)
3034 else false
3135 case _ =>
3236 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 match tx {
44 case d: DataTransaction =>
55 let k0 = d.data[0].key
66 let event = take(k0, (size(k0) - 5))
77 let txid = extract(getString(d.data, (event + "_tx")))
88 let exchangeTx = extract( match transactionById(fromBase58String(txid)) {
99 case e: ExchangeTransaction =>
1010 e
1111 case _ =>
1212 unit
1313 })
1414 let prevTs = getInteger(tx.sender, (event + "_timestamp"))
1515 let eventTs = takeRight(event, 10)
16- if (if (if (if (if (if (if ((size(d.data) == 4))
16+ if (if (if (if (if (if (if (if ((size(d.data) == 4))
1717 then (d.data[0].key == (event + "_rate"))
1818 else false)
1919 then (d.data[1].key == (event + "_timestamp"))
2020 else false)
2121 then (d.data[2].key == (event + "_tx"))
2222 else false)
2323 then (d.data[3].key == (event + "_eventts"))
2424 else false)
2525 then (d.data[0].value == exchangeTx.price)
2626 else false)
2727 then (d.data[1].value == exchangeTx.timestamp)
2828 else false)
2929 then (d.data[2].value == txid)
30+ else false)
31+ then if (!(isDefined(prevTs)))
32+ then true
33+ else (extract(prevTs) > exchangeTx.timestamp)
3034 else false
3135 case _ =>
3236 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3337 }

github/deemru/w8io/026f985 
23.96 ms