tx · CHDhP4pyYnE3GnziCBtjopZqwrD1nse2YV3J7SnNtCGP

3P8BpyQc5nFKYB9yv4TR9phokJZXhJqbCDK:  -1.00000000 Waves

2020.06.03 18:46 [2090704] smart asset 3P8BpyQc5nFKYB9yv4TR9phokJZXhJqbCDK > SELF 0.00000000 ADORE

{ "type": 15, "id": "CHDhP4pyYnE3GnziCBtjopZqwrD1nse2YV3J7SnNtCGP", "fee": 100000000, "feeAssetId": null, "timestamp": 1591199242220, "version": 1, "sender": "3P8BpyQc5nFKYB9yv4TR9phokJZXhJqbCDK", "senderPublicKey": "DhK9WW44bZT8hHu66dsP7UZNJCZzErkiyYBdAbzoLUmg", "proofs": [ "FMknoZZYFV7UCXbocgSdEmqxSWoHoK35jBuHcvuTF8xMsunJ3q3T5TTcLHVNSiz4sDY23BqEDNC7sSSDANmr4V1" ], "assetId": "8mNYpPxdWSyUE3vW3MAT2rVr9yZrsDJXWVFCFE9RUYZx", "script": "base64:AQQAAAALZEFwcEFkZHJlc3MJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNQOEJweVFjNW5GS1lCOXl2NFRSOXBob2tKWlhoSnFiQ0RLBAAAAAdhZG1pblBLAQAAACC8n/54CDPnQOJrj+PJAUa9N0sjZP/ucg14cvDobmtOYwQAAAAFQURLQVIBAAAAIE8ED1OjBotmc2EumypX9reWUxUnC7qOBzHc91n2a5N9BAAAAAVVU05PTgEAAAAgS7jxileDH2cnIxJKjPiSmCmRi7xOEpKIIhAFvKIMH0EEAAAABVVTVE9UAQAAACD5fAIge0PTOAntvRu6JMLnaCFscUNHuCCuZr0RidHEewQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9CdXJuVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABJSZWlzc3VlVH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NlIGlzIDAuOTUgV2F2ZXMuIEluIHRoZSByYW5nZSBvZiAwLjUgLSAwLjk0OTk5OTk5IFdhdmVzIHdlIGNhbiBzZWxsIEFET1JFIG9ubHkgd2UsIHRoZSBoaWdoZXIgdGhlIHByaWNlLCB0aGUgZ3JlYXRlciB0aGUgY2hhbmNlIHRoYXQgd2Ugd2lsbCBzZWxsIHRvIHlvdS4gQWxzbyBvdXIgdG9rZW5zIGFyZSBBREtBUiwgVVNOT04sIFVTVE9ULiBZb3UgY2FuIGZpbmQgb3V0IHdoYXQgdGhleSBhcmUgcmVsYXRlZCB0byBpbiBvdXIgdGVsZWdyYW0gY2hhbm5lbCBAQURLQVJfV0FWRVMGCQAAAgAAAAECAAAAFlNvbWV0aGluZyBiYWQgaGFwcGVuZWQHspLm6w==", "chainId": 87, "height": 2090704, "spentComplexity": 0 } View: original | compacted Prev: 8MgstP7CMgTPqH7R9AQa9tapubnRqx87dDK25X2c4NQU Next: HjX6UsGTqsaC7tFcEXHBs9614K8o1BcYgmX8ccSTh1EU Diff:
OldNewDifferences
55 let ADKAR = base58'6KSoKoXkT1HQP9sd3Z17bjzHX83C3EhAUpfdUpvzgKDv'
66 let USNON = base58'66b9Fkc7VXSHhqngV3Pc4YQTQs38eZkstvFaYjLmZTTN'
77 let USTOT = base58'HntC3EW8FA17D4doh8kJng7uS8gQFDzKFdA22cgo5GAv'
8-let sellPrice = 105000000
9-let buyPrice = 95000000
108 match tx {
119 case tx: BurnTransaction|SetAssetScriptTransaction|ReissueTransaction =>
1210 (tx.sender == dAppAddress)
3432 else if (isDefined(e.sellOrder.assetPair.priceAsset))
3533 then throw("ADORE is being traded in a pair: ADORE/WAVES, ADORE/ADKAR, ADORE/USNON, ADORE/USTOT. Details in the telegram channel @ADKAR_WAVES")
3634 else if (sell)
37- then if (if ((e.sellOrder.price > sellPrice))
38- then true
39- else (buyPrice > e.sellOrder.price))
40- then throw("Trading range 0.95 - 1.05 WAVES. Do not write off the sale, in the future tokens will be added for trading in tandem with ADORE. Details in the telegram channel @ADKAR_WAVES")
35+ then if ((95000000 > e.sellOrder.price))
36+ then throw("The minimum selling price is 0.95 Waves. Trading pairs ADORE/WAVES, ADORE/ADKAR, ADORE/USNON, ADORE/USTOT. Details in the telegram channel @ADKAR_WAVES")
4137 else true
4238 else if (buy)
4339 then if ((50000000 > e.sellOrder.price))
44- then throw("The trading range is 0.95 - 1.05 Waves, the minimum purchase price is 0.5 Waves, the minimum sale price is 0.95 Waves. In the range of 0.5 - 0.94999999 Waves we can sell ADORE only we, the higher the price, the greater the chance that we will sell to you. Also our tokens are ADKAR, USNON, USTOT. You can find out what they are related to in our telegram channel @ADKAR_WAVES")
40+ then throw("The minimum purchase price is 0.5 Waves, the minimum sale price is 0.95 Waves. In the range of 0.5 - 0.94999999 Waves we can sell ADORE only we, the higher the price, the greater the chance that we will sell to you. Also our tokens are ADKAR, USNON, USTOT. You can find out what they are related to in our telegram channel @ADKAR_WAVES")
4541 else true
4642 else throw("Something bad happened")
4743 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let dAppAddress = addressFromString("3P8BpyQc5nFKYB9yv4TR9phokJZXhJqbCDK")
44 let adminPK = base58'DhK9WW44bZT8hHu66dsP7UZNJCZzErkiyYBdAbzoLUmg'
55 let ADKAR = base58'6KSoKoXkT1HQP9sd3Z17bjzHX83C3EhAUpfdUpvzgKDv'
66 let USNON = base58'66b9Fkc7VXSHhqngV3Pc4YQTQs38eZkstvFaYjLmZTTN'
77 let USTOT = base58'HntC3EW8FA17D4doh8kJng7uS8gQFDzKFdA22cgo5GAv'
8-let sellPrice = 105000000
9-let buyPrice = 95000000
108 match tx {
119 case tx: BurnTransaction|SetAssetScriptTransaction|ReissueTransaction =>
1210 (tx.sender == dAppAddress)
1311 case tx: TransferTransaction|MassTransferTransaction =>
1412 true
1513 case e: ExchangeTransaction =>
1614 if (if ((e.sellOrder.assetPair.priceAsset == ADKAR))
1715 then true
1816 else (e.sellOrder.assetPair.amountAsset == ADKAR))
1917 then true
2018 else if (if ((e.sellOrder.assetPair.priceAsset == USNON))
2119 then true
2220 else (e.sellOrder.assetPair.amountAsset == USNON))
2321 then true
2422 else if (if ((e.sellOrder.assetPair.priceAsset == USTOT))
2523 then true
2624 else (e.sellOrder.assetPair.amountAsset == USTOT))
2725 then true
2826 else {
2927 let sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey)
3028 let buy = sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], e.buyOrder.senderPublicKey)
3129 let admin = (e.sellOrder.sender == addressFromPublicKey(adminPK))
3230 if (admin)
3331 then true
3432 else if (isDefined(e.sellOrder.assetPair.priceAsset))
3533 then throw("ADORE is being traded in a pair: ADORE/WAVES, ADORE/ADKAR, ADORE/USNON, ADORE/USTOT. Details in the telegram channel @ADKAR_WAVES")
3634 else if (sell)
37- then if (if ((e.sellOrder.price > sellPrice))
38- then true
39- else (buyPrice > e.sellOrder.price))
40- then throw("Trading range 0.95 - 1.05 WAVES. Do not write off the sale, in the future tokens will be added for trading in tandem with ADORE. Details in the telegram channel @ADKAR_WAVES")
35+ then if ((95000000 > e.sellOrder.price))
36+ then throw("The minimum selling price is 0.95 Waves. Trading pairs ADORE/WAVES, ADORE/ADKAR, ADORE/USNON, ADORE/USTOT. Details in the telegram channel @ADKAR_WAVES")
4137 else true
4238 else if (buy)
4339 then if ((50000000 > e.sellOrder.price))
44- then throw("The trading range is 0.95 - 1.05 Waves, the minimum purchase price is 0.5 Waves, the minimum sale price is 0.95 Waves. In the range of 0.5 - 0.94999999 Waves we can sell ADORE only we, the higher the price, the greater the chance that we will sell to you. Also our tokens are ADKAR, USNON, USTOT. You can find out what they are related to in our telegram channel @ADKAR_WAVES")
40+ then throw("The minimum purchase price is 0.5 Waves, the minimum sale price is 0.95 Waves. In the range of 0.5 - 0.94999999 Waves we can sell ADORE only we, the higher the price, the greater the chance that we will sell to you. Also our tokens are ADKAR, USNON, USTOT. You can find out what they are related to in our telegram channel @ADKAR_WAVES")
4541 else true
4642 else throw("Something bad happened")
4743 }
4844 case _ =>
4945 false
5046 }

github/deemru/w8io/6500d08 
217.44 ms