tx · J32aymxrzEkaSXub9pbtQnv9ohuhZGipe7CNUuhupgxm

3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx:  -1.00000000 Waves

2019.02.21 16:43 [505092] smart asset 3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx > SELF 0.00000000 WTFG

{ "type": 15, "id": "J32aymxrzEkaSXub9pbtQnv9ohuhZGipe7CNUuhupgxm", "fee": 100000000, "feeAssetId": null, "timestamp": 1550756596065, "version": 1, "sender": "3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx", "senderPublicKey": "2hBxjELYxmCKQXARcQYckmzypjNkRLnL4tZSQp6XHhWg", "proofs": [ "2crAFGbz9XmFpGMKmPdB9vEjSDZW7VWM3knaqPVdcBotGzo43UMegUnHkMHSKFga3APyYHGf4gWSp8bZihTj1zfB" ], "assetId": "EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg", "script": "base64:AQQAAAATbWluaW11bVdhdmVzQmFsYW5jZQAAAAAAWWgvAAQAAAAFcHJpY2UAAAAAAAX14QEEAAAACHByaWNlbWluAAAAAAAL68IBBAAAAA5hZG1pblB1YmxpY0tleQEAAAAaAVRC0PwxJhtnFV9wRfoHmO1S1kgvZLHPO40EAAAABUJUQ0lkAQAAACDNjHhb0l53Tt6xXRrPX9r5Cadfo2P618zZJflokPoKZwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAABHNlbGwJAAH0AAAAAwgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAPc2VuZGVyUHVibGljS2V5AwUAAAAEc2VsbAQAAAAGcGVybWl0CQAB9AAAAAMICAUA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GRo25ma Next: E71M9Mx8MS8KH4rxmnusALEAkR8X4UvEeL6Eh7nQ3r4A Diff:
OldNewDifferences
1111 if (sell)
1212 then {
1313 let permit = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], adminPublicKey)
14- if ((price > e.sellOrder.price))
15- then throw("you cannot sell for less than 1.00000001")
16- else if ((minimumWavesBalance > e.sellOrder.amount))
17- then throw("you cannot sell less than 15 tokens")
14+ if ((minimumWavesBalance > e.sellOrder.amount))
15+ then throw("you cannot sell less than 15 tokens")
16+ else if ((price > e.sellOrder.price))
17+ then throw("you cannot sell for less than 1.00000001")
1818 else true
1919 }
2020 else true
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let minimumWavesBalance = 1500000000
44 let price = 100000001
55 let pricemin = 200000001
66 let adminPublicKey = base58'3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx'
77 let BTCId = base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg'
88 match tx {
99 case e: ExchangeTransaction =>
1010 let sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey)
1111 if (sell)
1212 then {
1313 let permit = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], adminPublicKey)
14- if ((price > e.sellOrder.price))
15- then throw("you cannot sell for less than 1.00000001")
16- else if ((minimumWavesBalance > e.sellOrder.amount))
17- then throw("you cannot sell less than 15 tokens")
14+ if ((minimumWavesBalance > e.sellOrder.amount))
15+ then throw("you cannot sell less than 15 tokens")
16+ else if ((price > e.sellOrder.price))
17+ then throw("you cannot sell for less than 1.00000001")
1818 else true
1919 }
2020 else true
2121 case mass: SetAssetScriptTransaction|MassTransferTransaction =>
2222 let transaction = transactionById(extract(mass.assetId))
2323 match transaction {
2424 case issueTx: IssueTransaction =>
2525 (mass.senderPublicKey == issueTx.senderPublicKey)
2626 case _ =>
2727 throw("Bad issue tx type")
2828 }
2929 case _ =>
3030 throw("you cannot transfer this token")
3131 }

github/deemru/w8io/169f3d6 
33.20 ms