tx · BLnP6CTt798JLyEoVrupJVGLSUZrEz3Kskw13fRFZrf2

3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar:  -1.00000000 Waves

2020.05.26 09:21 [1014907] smart asset 3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar > SELF 0.00000000 MOITOKEN

{ "type": 15, "id": "BLnP6CTt798JLyEoVrupJVGLSUZrEz3Kskw13fRFZrf2", "fee": 100000000, "feeAssetId": null, "timestamp": 1590474120543, "version": 1, "sender": "3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar", "senderPublicKey": "BUxg9XtvamV81CZCqrQzi8BxCizU41dpSqoqt5mW56XS", "proofs": [ "616xzrsWS1m9V2L1UfoXre69gbVLTfMezzqRHiTARAM3WnF43cjdh82sJ8XJE4VPdpp3Pncp9cG2Xx4LX9tDUpoj" ], "assetId": "3tqknScoCegnWpFYGvYGiUM68iWC1Fw9KPgHdYgi8ZWc", "script": "base64:AQQAAAALZEFwcEFkZHJlc3MJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNNeWdRYXdHMmdQam9lajh3WDJjcWt4bWc3S1hBUFA2eGFyBAAAAAdhZG1pblBLAQAAACCbvoDDAKlv8SHnGnzbjcmS7cF3EYTHum5V5rS3JwBICQQAAAAFQlRDSWQBAAAAICZW18edbVw5IUDUbKCl7CbP+JI8377yHi104yBIibXVBAAAAAVVU0RJZAEAAAAgadXwn0S4hl1jVhAJyD0lkaiOX1QUdPc+9ZwqbMIh9QkEAAAACXNlbGxQcmljZQAAAAAABkIsQAQAAAAIYnV5UHJpY2UAAAAAAAWplcAEAAAAByRtYXRjaDAFAAAAAnR4AwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAASUmVpc3N1ZVRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAkAAAAAAAACCAUAAAACdHgAAAAGc2VuZGVyBQAAAAtkQXBwQWRkcmVzcwMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDADCQAAAAAAAAIICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BQAAAAVVU0RJZAYJAAAAAAAAAggICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0BQAAAAVVU0RJZAeb1HO/", "chainId": 84, "height": 1014907, "spentComplexity": 0 } View: original | compacted Prev: 47wu33hqaJF3pb7WZ1i2NjicQnonmutEjbRwfcHo1hQ6 Next: 4Hoi32ne16SJddohHQFmqn4La1mvEoxTkD6zC9Wtwskg Diff:
OldNewDifferences
1414 case e: ExchangeTransaction =>
1515 if ((e.sellOrder.assetPair.priceAsset == USDId))
1616 then true
17- else if ((e.sellOrder.assetPair.priceAsset != BTCId))
18- then throw("UNREAL is being traded in a pair: UNREAL/BTC. Details in the telegram channel @UNREAL_WAVES")
19- else true
17+ else (e.sellOrder.assetPair.amountAsset == USDId)
2018 case _ =>
2119 false
2220 }
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 USDId = base58'88922xdkSYjAPeqSGp6K22Tmkr43DGBZbbPDLK1sT6U8'
77 let sellPrice = 105000000
88 let buyPrice = 95000000
99 match tx {
1010 case tx: BurnTransaction|SetAssetScriptTransaction|ReissueTransaction =>
1111 (tx.sender == dAppAddress)
1212 case tx: TransferTransaction|MassTransferTransaction =>
1313 true
1414 case e: ExchangeTransaction =>
1515 if ((e.sellOrder.assetPair.priceAsset == USDId))
1616 then true
17- else if ((e.sellOrder.assetPair.priceAsset != BTCId))
18- then throw("UNREAL is being traded in a pair: UNREAL/BTC. Details in the telegram channel @UNREAL_WAVES")
19- else true
17+ else (e.sellOrder.assetPair.amountAsset == USDId)
2018 case _ =>
2119 false
2220 }

github/deemru/w8io/026f985 
22.04 ms