tx · 9gdM8hF2NEjCpckmUG6MA8bwxo1RqRsXhmRrp4QJ8JNv

3NCN79gCSaKTFV6fDoEzELoxDMrAUTCekd5:  -0.01400000 Waves

2019.09.17 17:50 [680385] smart account 3NCN79gCSaKTFV6fDoEzELoxDMrAUTCekd5 > SELF 0.00000000 Waves

{ "type": 13, "id": "9gdM8hF2NEjCpckmUG6MA8bwxo1RqRsXhmRrp4QJ8JNv", "fee": 1400000, "feeAssetId": null, "timestamp": 1568731815292, "version": 1, "sender": "3NCN79gCSaKTFV6fDoEzELoxDMrAUTCekd5", "senderPublicKey": "4tD3VgZ1AmHzY7q1KZpn2mAkpMbBoXVAKSw3FRP9EXfT", "proofs": [ "4kcwwvcJYFMGby7Yr9DZfPMTbCAwNoUdM1NU7a9V2hxsVnsBqg7cNQER9fzU2VB3sw1jFeaJtpEuqXMGSTdTjowk" ], "script": "base64:AgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAQAAAACazAICQABkQAAAAIIBQAAAAFkAAAABGRhdGEAAAAAAAAAAAAAAAADa2V5BAAAAAVldmVudAkAAS8AAAACBQAAAAJrMAkAAGUAAAACCQABMQAAAAEFAAAAAmswAAAAAAAAAAAFBAAAAAR0eGlkCQEAAAAHZXh0cmFjdAAAAAEJAAQTAAAAAggFAAAAAWQAAAAEZGF0YQkAASwAAAACBQAAAAVldmVudAIAAAADX3R4BAAAAApleGNoYW5nZVR4CQEAAAAHZXh0cmFjdAAAAAEEAAAAByRtYXRjaDEJAAPoAAAAAQkAAlkAAAABBQAAAAR0eGlkAwkAAAEAAAACBQAAAAckbWF0Y2gxAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gxBQAAAAFlBQAAAAR1bml0BAAAAAZwcmV2VHMJAAQaAAAAAggFAAAAAnR4AAAABnNlbmRlcgkAASwAAAACBQA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AAAAEZGF0YQkAASwAAAACBQAAAAVldmVudAIAAAAIX2V2ZW50dHMFAAAAB2V2ZW50VHMHCQAAZwAAAAIIBQAAAApleGNoYW5nZVR4AAAACXRpbWVzdGFtcAkBAAAAB2V4dHJhY3QAAAABCQAEEAAAAAIIBQAAAAFkAAAABGRhdGEJAAEsAAAAAgUAAAAFZXZlbnQCAAAACF9ldmVudHRzBwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnToioG", "chainId": 84, "height": 680385, "spentComplexity": 0 } View: original | compacted Prev: EzX2SmyW5zpsq8nA4DvxtBvuWcxidTgakjNzmo7M4Js3 Next: 9UBWWmJ9eXznmwmiQrs4JijXRPYJ6E6MK4bqCKq42X8n Diff:
OldNewDifferences
44 case d: DataTransaction =>
55 let k0 = d.data[0].key
66 let event = take(k0, (size(k0) - 5))
7- let txid = extract(getString(d.data, (event + "_rate")))
7+ let txid = extract(getString(d.data, (event + "_tx")))
88 let exchangeTx = extract( match transactionById(fromBase58String(txid)) {
99 case e: ExchangeTransaction =>
1010 e
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))
7- let txid = extract(getString(d.data, (event + "_rate")))
7+ 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)
1616 if (if (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)
3030 else false)
3131 then if (!(isDefined(prevTs)))
3232 then true
3333 else (extract(prevTs) > exchangeTx.timestamp)
3434 else false)
3535 then (toString(extract(getInteger(d.data, (event + "_eventts")))) == eventTs)
3636 else false)
3737 then (exchangeTx.timestamp >= extract(getInteger(d.data, (event + "_eventts"))))
3838 else false
3939 case _ =>
4040 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
4141 }

github/deemru/w8io/169f3d6 
25.15 ms