tx · 39q4jXQVueumxcQM8BZXfKc7am4bXg7nmPC4SoJtA9Gu

3N4DGbdpgjoSygnQJBhimrxWk9VJUcFwsZv:  -0.01400000 Waves

2018.12.17 20:35 [409143] smart account 3N4DGbdpgjoSygnQJBhimrxWk9VJUcFwsZv > SELF 0.00000000 Waves

{ "type": 13, "id": "39q4jXQVueumxcQM8BZXfKc7am4bXg7nmPC4SoJtA9Gu", "fee": 1400000, "feeAssetId": null, "timestamp": 1545068253204, "version": 1, "sender": "3N4DGbdpgjoSygnQJBhimrxWk9VJUcFwsZv", "senderPublicKey": "EDiFhWf8tEZCirhhZdvHUnW9A4GWoR1ZUyDh6SbgiDpH", "proofs": [ "GrqxMRAgCazKqvd5kAa3rEdybSx5oP6oFm6yVGBYNz4WMNrj4NapwceGTRrCvMTac9E6Z6R9kXFNzNvh75jcjTa" ], "script": "base64:AQQAAAAPRmluaXNoVGltZXN0YW1wAAAAAWe9Qx9ABAAAABFWYWxpZGF0ZVRpbWVzdGFtcAAAAAFnvT91wAQAAAAFVG9rZW4AAAAAAAAAJxAEAAAAB1BheW1lbnQAAAAAAAX14QAEAAAAC2NvbnRyYWN0QWRyCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABAQAAACDEaYuOlJG4QPg3ueGFiehINzOfcp+4deDwaoPtguU+PgQAAAAHYXNzZXRJZAEAAAAgn4CR8kmdfGUr4JMh1vT14Lhc1vHdJXLA3Dw817/MbT8EAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAQAAAAQaXNQZXJpb2RGaW5pc2hlZAkAAGYAAAACCAUAAAACdHgAAAAJdGltZXN0YW1wBQAAAA9GaW5pc2hUaW1lc3RhbXAEAAAAGGlzVmFsaWRhdGVQZXJpb2RGaW5pc2hlZAkAAGYAAAACCAUAAAACdHgAAAAJdGltZXN0YW1wBQAAABFWYWxpZGF0ZVRpbWVzdGFtcAQAAAAJaGFzVG9rZW5zCQAAZwAAAAIJAAPrAAAAAgUAAAALY29udHJhY3RBZHIFAAAAB2Fzc2V0SWQFAAAABVRva2VuBAAAAApoYXNQYXltZW50CQAAZwAAAAIJAQAAAAx3YXZlc0JhbGFuY2UAAAABBQAAAAtjb250cmFjdEFkcgUAAAAHUGF5bWVudAQAAAAOY29udHJhY3RJc0Z1bGwDBQAAAAloYXNUb2tlbnMFAAAACmhhc1BheW1lbnQHBAAAABFjb250cmFjdElzTm90RnVsbAkBAAAAASEAAAABBQAAAA5jb250cmFjdElzRnVsbAQAAAAlY29udHJhY3RVbmNvbXBsZXRlQWZ0ZXJWYWxpZGF0ZVBlcmlvZAMFAAAAGGlzVmFsaWRhdGVQZXJpb2RGaW5pc2hlZAUAAAARY29udHJhY3RJc05vdEZ1bGwHBAAAAAZyZXN1bHQDBQAAABBpc1BlcmlvZEZpbmlzaGVkBgUAAAAlY29udHJhY3RVbmNvbXBsZXRlQWZ0ZXJWYWxpZGF0ZVBlcmlvZAMFAAAABnJlc3VsdAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkHCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleeX5OYE=", "chainId": 84, "height": 409143, "spentComplexity": 0 } View: original | compacted Prev: C28w1vnWXj3jt7j5tMNZfnxXjCfCmpxNJL8cyMLHYFWv Next: Hm5obHwPKqs3fACV3X9Pcyykd5HpCyaduLgo37W3VfP Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let FinishTimestamp = 1545069973000
4-let ValidateTimestamp = 1545068773000
3+let FinishTimestamp = 1545068552000
4+let ValidateTimestamp = 1545068312000
55 let Token = 10000
66 let Payment = 100000000
77 let contractAdr = addressFromPublicKey(base58'EDiFhWf8tEZCirhhZdvHUnW9A4GWoR1ZUyDh6SbgiDpH')
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let FinishTimestamp = 1545069973000
4-let ValidateTimestamp = 1545068773000
3+let FinishTimestamp = 1545068552000
4+let ValidateTimestamp = 1545068312000
55 let Token = 10000
66 let Payment = 100000000
77 let contractAdr = addressFromPublicKey(base58'EDiFhWf8tEZCirhhZdvHUnW9A4GWoR1ZUyDh6SbgiDpH')
88 let assetId = base58'BjdXrddqPxjduQoRxErg5WV6bZsp5FWa3FFizZPuh8xE'
99 match tx {
1010 case tx: TransferTransaction =>
1111 let isPeriodFinished = (tx.timestamp > FinishTimestamp)
1212 let isValidatePeriodFinished = (tx.timestamp > ValidateTimestamp)
1313 let hasTokens = (assetBalance(contractAdr, assetId) >= Token)
1414 let hasPayment = (wavesBalance(contractAdr) >= Payment)
1515 let contractIsFull = if (hasTokens)
1616 then hasPayment
1717 else false
1818 let contractIsNotFull = !(contractIsFull)
1919 let contractUncompleteAfterValidatePeriod = if (isValidatePeriodFinished)
2020 then contractIsNotFull
2121 else false
2222 let result = if (isPeriodFinished)
2323 then true
2424 else contractUncompleteAfterValidatePeriod
2525 if (result)
2626 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2727 else false
2828 case _ =>
2929 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3030 }

github/deemru/w8io/026f985 
20.30 ms