tx · qHZSt28pY4nDVN8XyvWGMtzU7WWhLGuxvJtHqkEh6UW

3MozTr8r7fZ1siohKsJgDUBykyB3ZAmTXQz:  -1.00000000 Waves

2019.09.11 00:50 [670584] smart asset 3MozTr8r7fZ1siohKsJgDUBykyB3ZAmTXQz > SELF 0.00000000 DualB

{ "type": 15, "id": "qHZSt28pY4nDVN8XyvWGMtzU7WWhLGuxvJtHqkEh6UW", "fee": 100000000, "feeAssetId": null, "timestamp": 1568152231694, "version": 1, "sender": "3MozTr8r7fZ1siohKsJgDUBykyB3ZAmTXQz", "senderPublicKey": "8xbFEr8yZ5HF64v8tiadoqScjuYSatXx8ceugsivh1zn", "proofs": [ "31pC8yR7Xm5EEh8aE7KtTysen9MGUdugpvMC7VGk3PYDVmGsSMAHAJZWdL6NDsbw2DgcqRVFVAwTViCsMPS76M7R" ], "assetId": "xQ1Tz4qgbFNaPuhrBbzL3ZxaDCTuoFuAJwxYsK52FSV", "script": "base64:AgQAAAAFQmR1YWwBAAAAIA4w9bJLywoxfeXMUuEAY70K/uOYq+f5nZswxuoTVG5mBAAAAAVBZHVhbAEAAAAg9QNs9GvWrc67pxSr4BUJbIJG7uAMgeEktp4NxADgEHwEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAQAAAADYnV5CQAB9AAAAAMICAUAAAACdHgAAAAIYnV5T3JkZXIAAAAJYm9keUJ5dGVzCQABkQAAAAIICAUAAAACdHgAAAAIYnV5T3JkZXIAAAAGcHJvb2ZzAAAAAAAAAAAACAgFAAAAAnR4AAAACGJ1eU9yZGVyAAAAD3NlbmRlclB1YmxpY0tleQMJAABnAAAAAgkAA+sAAAACCAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAZzZW5kZXIFAAAABUFkdWFsCQAAaAAAAAIJAABpAAAAAgkAA+sAAAACCAgFAAAAAnR4AAAACXNl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PxWk35wVEahej8p Next: HVNxWqQQkH3HcKKCpKJeruc58JpH5NE7sqerjDfkNjqw Diff:
OldNewDifferences
55 match tx {
66 case tx: ExchangeTransaction =>
77 let buy = sigVerify(tx.buyOrder.bodyBytes, tx.buyOrder.proofs[0], tx.buyOrder.senderPublicKey)
8- if ((((assetBalance(tx.sellOrder.sender, Adual) / 100) * 70) >= assetBalance(tx.sellOrder.sender, Bdual)))
8+ if ((assetBalance(tx.sellOrder.sender, Adual) >= ((assetBalance(tx.sellOrder.sender, Bdual) / 100) * 70)))
99 then true
1010 else if (buy)
1111 then true
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let Bdual = base58'xQ1Tz4qgbFNaPuhrBbzL3ZxaDCTuoFuAJwxYsK52FSV'
44 let Adual = base58'HVRv6zPUYH7FKeRPAtDtQVAUdrJZdd3C4Qouz5ra55zs'
55 match tx {
66 case tx: ExchangeTransaction =>
77 let buy = sigVerify(tx.buyOrder.bodyBytes, tx.buyOrder.proofs[0], tx.buyOrder.senderPublicKey)
8- if ((((assetBalance(tx.sellOrder.sender, Adual) / 100) * 70) >= assetBalance(tx.sellOrder.sender, Bdual)))
8+ if ((assetBalance(tx.sellOrder.sender, Adual) >= ((assetBalance(tx.sellOrder.sender, Bdual) / 100) * 70)))
99 then true
1010 else if (buy)
1111 then true
1212 else false
1313 case mass: SetAssetScriptTransaction|MassTransferTransaction|ReissueTransaction|TransferTransaction =>
1414 let transaction = transactionById(extract(mass.assetId))
1515 match transaction {
1616 case issueTx: SetAssetScriptTransaction|MassTransferTransaction|ReissueTransaction|TransferTransaction|IssueTransaction =>
1717 (mass.senderPublicKey == issueTx.senderPublicKey)
1818 case _ =>
1919 throw("You cannot transfer this token")
2020 }
2121 case _ =>
2222 true
2323 }

github/deemru/w8io/169f3d6 
45.53 ms