tx · G2k53RvCNmxZxCD7cuskuCDcCftwtgCFd1xPoLFsRmwo

3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar:  -1.00000000 Waves

2020.05.25 23:48 [1014324] smart asset 3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar > SELF 0.00000000 MOITOKEN

{ "type": 15, "id": "G2k53RvCNmxZxCD7cuskuCDcCftwtgCFd1xPoLFsRmwo", "fee": 100000000, "feeAssetId": null, "timestamp": 1590439684968, "version": 1, "sender": "3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar", "senderPublicKey": "BUxg9XtvamV81CZCqrQzi8BxCizU41dpSqoqt5mW56XS", "proofs": [ "4bJnwES7pU81yMdHjbtVmGWPGibjdzj2nS8uKtAGyYccJFQQDkPhsgv6BNjerXQzHpBDQksHkxVHabE6jfLn4aMy" ], "assetId": "3tqknScoCegnWpFYGvYGiUM68iWC1Fw9KPgHdYgi8ZWc", "script": "base64:AQQAAAALZEFwcEFkZHJlc3MJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNNeWdRYXdHMmdQam9lajh3WDJjcWt4bWc3S1hBUFA2eGFyBAAAAAdhZG1pblBLAQAAACCbvoDDAKlv8SHnGnzbjcmS7cF3EYTHum5V5rS3JwBICQQAAAAFQlRDSWQBAAAAICZW18edbVw5IUDUbKCl7CbP+JI8377yHi104yBIibXVBAAAAAlzZWxsUHJpY2UAAAAAAAZCLEAEAAAACGJ1eVByaWNlAAAAAAAFqZXABAAAAAckbWF0Y2gwBQAAAAJ0eAMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAElJlaXNzdWVUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAJAAAAAAAAAggFAAAAAnR4AAAABnNlbmRl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AwkAAGYAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABXByaWNlBQAAAAlzZWxsUHJpY2UGCQAAZgAAAAIFAAAACGJ1eVByaWNlCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABXByaWNlCQAAAgAAAAECAAAArVRyYWRpbmcgcmFuZ2UgMC45NSAtIDEuMDUgQlRDLiBEbyBub3Qgd3JpdGUgb2ZmIHRoZSBzYWxlLCBpbiB0aGUgZnV0dXJlIHRva2VucyB3aWxsIGJlIGFkZGVkIGZvciB0cmFkaW5nIGluIHRhbmRlbSB3aXRoIFVOUkVBTC4gRGV0YWlscyBpbiB0aGUgdGVsZWdyYW0gY2hhbm5lbCBAVU5SRUFMX1dBVkVTBgMFAAAAA2J1eQMJAABmAAAAAgUAAAAIYnV5UHJpY2UICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAFcHJpY2UJAAACAAAAAQIAAADzVGhlIHRyYWRpbmcgcmFuZ2UgaXMgMC45NSAtIDEuMDUgQlRDLCB3aGVyZSAwLjk1IGlzIHRoZSBtaW5pbXVtIHB1cmNoYXNlIHByaWNlLCB3aGlsZSBzZWxsaW5nIGF0IHRoZSBwcmljZSBvZiAwLjUgQlRDLCB5b3UgYWxzbyBuZWVkIHRvIHNldCB0aGUgcHJpY2UgdG8gMC45NSBCVEMsIG90aGVyd2lzZSB0aGUgb3JkZXIgd2lsbCBub3Qgd29yay4gRGV0YWlscyBpbiB0aGUgdGVsZWdyYW0gY2hhbm5lbCBAVU5SRUFMX1dBVkVTBgkAAAIAAAABAgAAABZzb21ldGhpbmcgYmFkIGhhcHBlbmVkB+ASBG4=", "chainId": 84, "height": 1014324, "spentComplexity": 0 } View: original | compacted Prev: DxfBpF9jCKfQwgefUtSbo1WFLSCdMZKF7Jb6sMQ5n894 Next: 6AaRuVeexEd2soWuySAmw69hYZb1Jio84f7dQtcKW6ub Diff:
OldNewDifferences
1818 if (admin)
1919 then true
2020 else if ((e.sellOrder.assetPair.priceAsset != BTCId))
21- then throw("торгуется только с парами BTC")
21+ then throw("UNREAL is being traded in a pair: UNREAL/BTC. Details in the telegram channel @UNREAL_WAVES")
2222 else if (sell)
2323 then if (if ((e.sellOrder.price > sellPrice))
2424 then true
2525 else (buyPrice > e.sellOrder.price))
26- then throw("Цена продажи")
26+ then throw("Trading range 0.95 - 1.05 BTC. Do not write off the sale, in the future tokens will be added for trading in tandem with UNREAL. Details in the telegram channel @UNREAL_WAVES")
2727 else true
2828 else if (buy)
2929 then if ((buyPrice > e.sellOrder.price))
30- then throw("Цена покупки")
30+ then throw("The trading range is 0.95 - 1.05 BTC, where 0.95 is the minimum purchase price, while selling at the price of 0.5 BTC, you also need to set the price to 0.95 BTC, otherwise the order will not work. Details in the telegram channel @UNREAL_WAVES")
3131 else true
3232 else throw("something bad happened")
3333 case _ =>
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let dAppAddress = addressFromString("3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar")
44 let adminPK = base58'BUxg9XtvamV81CZCqrQzi8BxCizU41dpSqoqt5mW56XS'
55 let BTCId = base58'3afJDTZVMvCdLB3rd1PEY6M7icZj1VkvwBiprVRbfD3a'
66 let sellPrice = 105000000
77 let buyPrice = 95000000
88 match tx {
99 case tx: BurnTransaction|SetAssetScriptTransaction|ReissueTransaction =>
1010 (tx.sender == dAppAddress)
1111 case tx: TransferTransaction|MassTransferTransaction =>
1212 true
1313 case e: ExchangeTransaction =>
1414 let sender = e.sellOrder.sender
1515 let sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey)
1616 let buy = sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], e.buyOrder.senderPublicKey)
1717 let admin = (e.sellOrder.sender == addressFromPublicKey(adminPK))
1818 if (admin)
1919 then true
2020 else if ((e.sellOrder.assetPair.priceAsset != BTCId))
21- then throw("торгуется только с парами BTC")
21+ then throw("UNREAL is being traded in a pair: UNREAL/BTC. Details in the telegram channel @UNREAL_WAVES")
2222 else if (sell)
2323 then if (if ((e.sellOrder.price > sellPrice))
2424 then true
2525 else (buyPrice > e.sellOrder.price))
26- then throw("Цена продажи")
26+ then throw("Trading range 0.95 - 1.05 BTC. Do not write off the sale, in the future tokens will be added for trading in tandem with UNREAL. Details in the telegram channel @UNREAL_WAVES")
2727 else true
2828 else if (buy)
2929 then if ((buyPrice > e.sellOrder.price))
30- then throw("Цена покупки")
30+ then throw("The trading range is 0.95 - 1.05 BTC, where 0.95 is the minimum purchase price, while selling at the price of 0.5 BTC, you also need to set the price to 0.95 BTC, otherwise the order will not work. Details in the telegram channel @UNREAL_WAVES")
3131 else true
3232 else throw("something bad happened")
3333 case _ =>
3434 false
3535 }

github/deemru/w8io/169f3d6 
35.27 ms