tx · 496yLp4jsAwDhZVrKkrHDcnNPS6h7KSYtEyRCTLKRZQS

3N5FFsTnUVqFucGkivgJYJHmoK1KUuA5p7B:  -0.01000000 Waves

2019.01.28 20:45 [470436] smart account 3N5FFsTnUVqFucGkivgJYJHmoK1KUuA5p7B > SELF 0.00000000 Waves

{ "type": 13, "id": "496yLp4jsAwDhZVrKkrHDcnNPS6h7KSYtEyRCTLKRZQS", "fee": 1000000, "feeAssetId": null, "timestamp": 1548697510579, "version": 1, "sender": "3N5FFsTnUVqFucGkivgJYJHmoK1KUuA5p7B", "senderPublicKey": "GxGsZXRbdrjp7y5xjavWj6MLwfc3NXymHA2uraJp4zMf", "proofs": [ "3xE3CtVkbT4eJVCBoqnbrEwCD7s6xaLmLPbGY87uSuXzaayVeMmzK2R8P5VoiZvvR9jKR9UvgiNGiqdtzmvZfxp" ], "script": "base64:AQQAAAAGc2VuZGVyAQAAACD8+D10++o/0Iy7tnTxtnxbBUufYDu12cdJ+m/J2cjQcAQAAAAJcmVjaXBpZW50AQAAACAd62Uo+RoCT6pOASiJmryITLUFKcmHcODGBD/IoLWZEgQAAAAIdGltZWxvY2sAAAAAAAAUmXAEAAAADnNlY29uZFRpbWVsb2NrCQAAZAAAAAIFAAAACHRpbWVsb2NrAAAAAAAAAABkBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBAAAAAxzZW5kZXJTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAGc2VuZGVyAAAAAAAAAAABAAAAAAAAAAAABAAAAA9yZWNpcGllbnRTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAJcmVjaXBpZW50AAAAAAAAAAABAAAAAAAAAAAABAAAAA50aW1lbG9ja1Bhc3NlZAkAAGYAAAACBQAAAAZoZWlnaHQFAAAACHRpbWVsb2NrBAAAABRzZWNvbmRUaW1lbG9ja1Bhc3NlZAMDCQAAAAAAAAIFAAAADHNlbmRlclNpZ25lZAAAAAAAAAAAAQkAAAAAAAACBQAAAA9yZWNpcGllbnRTaWduZWQAAAAAAAAAAAAHCQAAZgAAAAIFAAAABmhlaWdodAUAAAAOc2Vjb25kVGltZWxvY2sHAwkAAAAAAAACCQAAZAAAAAIFAAAADHNlbmRlclNpZ25lZAUAAAAPcmVjaXBpZW50U2lnbmVkAAAAAAAAAAACAwUAAAAOdGltZWxvY2tQYXNzZWQGBQAAABRzZWNvbmRUaW1lbG9ja1Bhc3NlZAcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAYGg5IU+A==", "chainId": 84, "height": 470436, "spentComplexity": 0 } View: original | compacted Prev: none Next: 2yJiWjBvHxrz8n8F9Byn2nhfk1HymPNfE6hGvvWVdWNV Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 1 #-}
2+{-# CONTENT_TYPE EXPRESSION #-}
3+let sender = base58'J2VHWRcFfMeGq3MwWpVaLcqTWBRCyLX9iiD19p2MjSMu'
4+let recipient = base58'31o1TbK3QHSyPEv7bKFLKXzctwWgr6xcSLyNXpFSj9Uu'
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/026f985 
12.20 ms