tx · H21rQ2XQKTy54Af21PsxYS5WY9Fo486nrzgjVZ8kaN47

3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb:  -1.00000000 Waves

2019.02.13 15:45 [493350] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 zoolla

{ "type": 15, "id": "H21rQ2XQKTy54Af21PsxYS5WY9Fo486nrzgjVZ8kaN47", "fee": 100000000, "feeAssetId": null, "timestamp": 1550061939253, "version": 1, "sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb", "senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf", "proofs": [ "3xCQMAphYAwqS5LV4HK95PXFPfdNFkc17HvbGcCP4MzuZCErsY3tvFYMKbzMke2CDdt97t8Etj5EEktCkNifwWQ8" ], "assetId": "7QnSodML1AAEFywANeQQkKrrjxK3voymkitfhZauWLqx", "script": "base64:AQQAAAAIbWlucHJpY2UAAAAAAAX14QAEAAAACm1pbmFtbW91bnQAAAAAACPDRgAEAAAAB21pbnNlbGwAAAAAAEeGjAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwAwkAAGYAAAACBQAAAAptaW5hbW1vdW50CAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAASiDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdGB0YLQstC+INC90LAg0L/QvtC60YPQv9C60YMgID0gNiBZT1ZJAwkAAGYAAAACBQAAAAdtaW5zZWxsCAUAAAABZQAAAAZhbW91bnQJAAACAAAAAQIAAABLINCc0LjQvdC40LzQsNC70YzQvdC+0LUg0LrQvtC70LjRh9C10YHRgtCy0L4g0L3QsCDQv9GA0L7QtNCw0LbRgyAgPSAxMiBZT1ZJAwkAAGYAAAACBQAAAAhtaW5wcmljZQgFAAAAAWUAAAAFcHJpY2UJAAACAAAAAQIAAAAqINCc0LjQvdC40LzQsNC70YzQvdCw0Y8g0YbQtdC90LAgPSAxIHdhdmVzAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQGAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAABZQAAAAhidXlPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAYHAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGB+itd3I=", "chainId": 84, "height": 493350, "spentComplexity": 0 } View: original | compacted Prev: EBV4yGiowoqG9RxK3UsPhEpJCntUa2njjMGrV2mSK5Xp Next: AnZqqbd6Hxf9Z1Dh7eoBPzKGdggxFhbzSgkYFc1RCatd Diff:
OldNewDifferences
77 case e: ExchangeTransaction =>
88 if ((minammount > e.buyOrder.amount))
99 then throw(" Минимальное количество на покупку = 6 YOVI")
10- else if ((minsell > e.sellOrder.price))
10+ else if ((minsell > e.amount))
1111 then throw(" Минимальное количество на продажу = 12 YOVI")
1212 else if ((minprice > e.price))
1313 then throw(" Минимальная цена = 1 waves")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let minprice = 100000000
44 let minammount = 600000000
55 let minsell = 1200000000
66 match tx {
77 case e: ExchangeTransaction =>
88 if ((minammount > e.buyOrder.amount))
99 then throw(" Минимальное количество на покупку = 6 YOVI")
10- else if ((minsell > e.sellOrder.price))
10+ else if ((minsell > e.amount))
1111 then throw(" Минимальное количество на продажу = 12 YOVI")
1212 else if ((minprice > e.price))
1313 then throw(" Минимальная цена = 1 waves")
1414 else if (!(isDefined(e.sellOrder.assetPair.priceAsset)))
1515 then true
1616 else if (!(isDefined(e.buyOrder.assetPair.priceAsset)))
1717 then true
1818 else false
1919 case tx: ExchangeTransaction|MassTransferTransaction|TransferTransaction|SetAssetScriptTransaction|BurnTransaction =>
2020 true
2121 case _ =>
2222 false
2323 }

github/deemru/w8io/169f3d6 
45.73 ms