tx · 6XmLPnCvvGoy29qBMiERWSWtLu28Mja1zRkSCKJodAdM

3MqzL7jC3tshwWNtgM1kF3UndS6ycrqxgTp:  -0.01000000 Waves

2019.01.16 13:43 [452638] smart account 3MqzL7jC3tshwWNtgM1kF3UndS6ycrqxgTp > SELF 0.00000000 Waves

{ "type": 13, "id": "6XmLPnCvvGoy29qBMiERWSWtLu28Mja1zRkSCKJodAdM", "fee": 1000000, "feeAssetId": null, "timestamp": 1547646244152, "version": 1, "sender": "3MqzL7jC3tshwWNtgM1kF3UndS6ycrqxgTp", "senderPublicKey": "4N9cUpBMqC9ahLekvXpzP5Sb8GHs2fjwRdYa4aDi5kgX", "proofs": [ "2jR2mR9itVDreGjoz4uUEK57mHYbWLNaeGpAFPLZY8CyG3ewAe3XM2bCfHfuZa9Z4jzqz846akncGchVWPrVEMKx" ], "script": "base64:AQQAAAAGc2VuZGVyAQAAACD8+D10++o/0Iy7tnTxtnxbBUufYDu12cdJ+m/J2cjQcAQAAAAJcmVjaXBpZW50AQAAAAcYBDc88OZCBAAAAAh0aW1lbG9jawAAAAAAABSZcAQAAAAOc2Vjb25kVGltZWxvY2sJAABkAAAAAgUAAAAIdGltZWxvY2sAAAAAAAAAAGQEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAADHNlbmRlclNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAZzZW5kZXIAAAAAAAAAAAEAAAAAAAAAAAAEAAAAD3JlY2lwaWVudFNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAlyZWNpcGllbnQAAAAAAAAAAAEAAAAAAAAAAAAEAAAADnRpbWVsb2NrUGFzc2VkCQAAZgAAAAIFAAAABmhlaWdodAUAAAAIdGltZWxvY2sEAAAAFHNlY29uZFRpbWVsb2NrUGFzc2VkAwMJAAAAAAAAAgUAAAAMc2VuZGVyU2lnbmVkAAAAAAAAAAABCQAAAAAAAAIFAAAAD3JlY2lwaWVudFNpZ25lZAAAAAAAAAAAAAcJAABmAAAAAgUAAAAGaGVpZ2h0BQAAAA5zZWNvbmRUaW1lbG9jawcDCQAAAAAAAAIJAABkAAAAAgUAAAAMc2VuZGVyU2lnbmVkBQAAAA9yZWNpcGllbnRTaWduZWQAAAAAAAAAAAIDBQAAAA50aW1lbG9ja1Bhc3NlZAYFAAAAFHNlY29uZFRpbWVsb2NrUGFzc2VkBwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgZ5UNZi", "chainId": 84, "height": 452638, "spentComplexity": 0 } View: original | compacted Prev: none Next: 2TDGQiYZzFdzgJMt9favnMRHvKqWcnmufhGLtHFBCLV6 Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 1 #-}
2+{-# CONTENT_TYPE EXPRESSION #-}
3+let sender = base58'J2VHWRcFfMeGq3MwWpVaLcqTWBRCyLX9iiD19p2MjSMu'
4+let recipient = base58'undefined'
5+let timelock = 1350000
6+let secondTimelock = (timelock + 100)
7+match tx {
8+ case tx: MassTransferTransaction =>
9+ let senderSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], sender))
10+ then 1
11+ else 0
12+ let recipientSigned = if (sigVerify(tx.bodyBytes, tx.proofs[1], recipient))
13+ then 1
14+ else 0
15+ let timelockPassed = (height > timelock)
16+ let secondTimelockPassed = if (if ((senderSigned == 1))
17+ then (recipientSigned == 0)
18+ else false)
19+ then (height > secondTimelock)
20+ else false
21+ if (((senderSigned + recipientSigned) == 2))
22+ then if (timelockPassed)
23+ then true
24+ else secondTimelockPassed
25+ else false
26+ case tx: SetScriptTransaction =>
27+ true
28+ case _ =>
29+ true
30+}

github/deemru/w8io/169f3d6 
28.23 ms