tx · 85fHRK2igsnvcNGdaMLrWQ9ZML3GX7jsMRua9cLaqqBy

3MqEisFsWdhvDMAKBwZzZv4niVsfJJtxcaw:  -0.01400000 Waves

2019.01.26 13:44 [467078] smart account 3MqEisFsWdhvDMAKBwZzZv4niVsfJJtxcaw > SELF 0.00000000 Waves

{ "type": 13, "id": "85fHRK2igsnvcNGdaMLrWQ9ZML3GX7jsMRua9cLaqqBy", "fee": 1400000, "feeAssetId": null, "timestamp": 1548499319461, "version": 1, "sender": "3MqEisFsWdhvDMAKBwZzZv4niVsfJJtxcaw", "senderPublicKey": "CW5DxpGCtnJZYLWfiibxzfHP1t6B5QW8iCWgrDeQhcdH", "proofs": [ "53rpJGjyEjSRjwJ9DFgF1YiMaqJk6nLjDHDgyA8j7vuZXXLQ6b6rQFjnpciWY9HH7roMz6maiyVtkbZAhXfbYCQE" ], "script": "base64:AQQAAAAJYmV0QW1vdW50AAAAAAAF9eEABAAAAAlkYXRhVHhGZWUAAAAAAACYloAEAAAACXBheW91dEZlZQAAAAAAAAehIAQAAAANbWluSGVpZ2h0RGlmZgAAAAAAAAAANwQAAAANbWF4SGVpZ2h0RGlmZgAAAAAAAAAAQQQAAAACbWUIBQAAAAJ0eAAAAAZzZW5kZXIEAAAAEGhlaWdodFRvR2V0TW9uZXkJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAJtZQIAAAAQaGVpZ2h0VG9HZXRNb25leQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAQAAAATbmV3SGVpZ2h0VG9HZXRNb25leQkBAAAAB2V4dHJhY3QAAAABCQAEEAAAAAIIBQAAAAF0AAAABGRhdGECAAAAEGhlaWdodFRvR2V0TW9uZXkEAAAAC3BheW1lbnRUeElkCQEAAAAHZXh0cmFjdAAAAAEJAAQTAAAAAggFAAAAAXQAAAAEZGF0YQIAAAALbGFzdFB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AAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAABnBheW91dAUAAAAHJG1hdGNoMAQAAAANbGFzdFBheW1lbnRUeAkAA+gAAAABCQACWQAAAAEJAQAAAAdleHRyYWN0AAAAAQkABB0AAAACBQAAAAJtZQIAAAALbGFzdFBheW1lbnQEAAAAByRtYXRjaDEFAAAADWxhc3RQYXltZW50VHgDCQAAAQAAAAIFAAAAByRtYXRjaDECAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAADWxhc3RQYXltZW50VHgFAAAAByRtYXRjaDEDAwMJAABnAAAAAgUAAAAGaGVpZ2h0BQAAABBoZWlnaHRUb0dldE1vbmV5CQAAAAAAAAIIBQAAAA1sYXN0UGF5bWVudFR4AAAABnNlbmRlcggFAAAABnBheW91dAAAAAlyZWNpcGllbnQHCQAAAAAAAAIIBQAAAAZwYXlvdXQAAAADZmVlBQAAAAlwYXlvdXRGZWUHCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAUAAAAGcGF5b3V0AAAACmZlZUFzc2V0SWQHBwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAABAAAAIJv9Ef0GzIKJ30lx3Q1mPC1HnMc37t3afWcLym3VTVhb0KbebQ==", "chainId": 84, "height": 467078, "spentComplexity": 0 } View: original | compacted Prev: 5WHYqrUe6d9M15JvCcT5K5MnMPoornoxgcBZYMWJSCHP Next: B2z4wFMGca9w2j1rA4tbZtDUR49cF8JyQ1G358CmfGk7 Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let betAmount = 100000000
44 let dataTxFee = 10000000
55 let payoutFee = 500000
66 let minHeightDiff = 55
77 let maxHeightDiff = 65
88 let me = tx.sender
99 let heightToGetMoney = extract(getInteger(me, "heightToGetMoney"))
1010 match tx {
1111 case t: DataTransaction =>
1212 let newHeightToGetMoney = extract(getInteger(t.data, "heightToGetMoney"))
1313 let paymentTxId = extract(getString(t.data, "lastPayment"))
1414 let paymentTx = transactionById(fromBase58String(paymentTxId))
1515 match paymentTx {
1616 case paymentTx: TransferTransaction =>
1717 if (if (if (if (if (if (if (if (if (if ((heightToGetMoney > height))
1818 then !(isDefined(getString(me, paymentTxId)))
1919 else false)
2020 then (paymentTx.recipient == me)
2121 else false)
2222 then (paymentTx.amount >= (betAmount + dataTxFee))
2323 else false)
2424 then !(isDefined(paymentTx.assetId))
2525 else false)
2626 then ((newHeightToGetMoney - height) > minHeightDiff)
2727 else false)
2828 then (maxHeightDiff > (newHeightToGetMoney - height))
2929 else false)
3030 then (size(t.data) == 3)
3131 else false)
3232 then isDefined(getString(t.data, paymentTxId))
3333 else false)
3434 then sigVerify(t.bodyBytes, t.proofs[0], paymentTx.senderPublicKey)
3535 else false)
3636 then (t.fee == dataTxFee)
3737 else false
3838 case _ =>
3939 false
4040 }
4141 case payout: TransferTransaction =>
4242 let lastPaymentTx = transactionById(fromBase58String(extract(getString(me, "lastPayment"))))
4343 match lastPaymentTx {
4444 case lastPaymentTx: TransferTransaction =>
4545 if (if (if ((height >= heightToGetMoney))
4646 then (lastPaymentTx.sender == payout.recipient)
4747 else false)
4848 then (payout.fee == payoutFee)
4949 else false)
5050 then !(isDefined(payout.feeAssetId))
5151 else false
5252 case _ =>
5353 false
5454 }
5555 case _ =>
5656 sigVerify(tx.bodyBytes, tx.proofs[0], base58'BVv1ZuE3gKFa6krwWJQwEmrLYUESuUabNCXgYTmCoBt6')
5757 }

github/deemru/w8io/026f985 
28.11 ms