tx · 8BMsSH3UEbcJJv8h5sXF6J5P4cCUaqBMyNYjmW8s8qDn 3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar: -1.00000000 Waves 2020.09.03 10:40 [1160924] smart asset 3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar > SELF 0.00000000 Test200
{ "type": 15, "id": "8BMsSH3UEbcJJv8h5sXF6J5P4cCUaqBMyNYjmW8s8qDn", "fee": 100000000, "feeAssetId": null, "timestamp": 1599118886005, "version": 1, "sender": "3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar", "senderPublicKey": "BUxg9XtvamV81CZCqrQzi8BxCizU41dpSqoqt5mW56XS", "proofs": [ "4kuY1r1MwEdfBSdHezKMVxMiZagqz3XAujQ349izGDqLRNR9PmSJ4Qfs7EZznCwts1T37UUVThFKMbAxBCn7Eim5" ], "assetId": "ELifKEtwTDt6TVLYYWJKNoCKuNJxzFTDcR5YC8YBWh2e", "script": "base64:AwQAAAALZEFwcEFkZHJlc3MJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNNeWdRYXdHMmdQam9lajh3WDJjcWt4bWc3S1hBUFA2eGFyBAAAAAdhZG1pblBLAQAAACCbvoDDAKlv8SHnGnzbjcmS7cF3EYTHum5V5rS3JwBICQQAAAAFQURLQVIBAAAAIE8ED1OjBotmc2EumypX9reWUxUnC7qOBzHc91n2a5N9BAAAAAVVU05PTgEAAAAgS7jxileDH2cnIxJKjPiSmCmRi7xOEpKIIhAFvKIMH0EEAAAABVVTVE9UAQAAACD5fAIge0PTOAntvRu6JMLnaCFscUNHuCCuZr0RidHEewQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9CdXJuVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABJSZWlzc3VlVHJhbnN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kEAAAAA2J1eQkAAfQAAAADCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYm9keUJ5dGVzCQABkQAAAAIICAUAAAABZQAAAAhidXlPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAABZQAAAAhidXlPcmRlcgAAAA9zZW5kZXJQdWJsaWNLZXkEAAAABWFkbWluCQAAAAAAAAIICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAGc2VuZGVyCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAAAdhZG1pblBLAwUAAAAFYWRtaW4GAwkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0CQAAAgAAAAECAAAACFdBVkVTZ2hoAwUAAAAEc2VsbAMJAABmAAAAAgAAAAAABamVvwgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAVwcmljZQkAAAIAAAABAgAAAAVnZ2dnZwYDBQAAAANidXkDCQAAZgAAAAIAAAAAAAL68H8ICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAFcHJpY2UJAAACAAAAAQIAAAAJV0FWRVNmZmdnBgkAAAIAAAABAgAAABZTb21ldGhpbmcgYmFkIGhhcHBlbmVkBxMCCSg=", "chainId": 84, "height": 1160924, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FRZd1iBe7zCGWtbTjKLLakyQn2MscZZFcabNFMSFWzrQ Next: ADbV13Lccsrz5zndvZpUEEi9d2sjGmk2wGJ8T7BtAuy2 Diff:
Old | New | Differences | |
---|---|---|---|
5 | 5 | let ADKAR = base58'6KSoKoXkT1HQP9sd3Z17bjzHX83C3EhAUpfdUpvzgKDv' | |
6 | 6 | let USNON = base58'66b9Fkc7VXSHhqngV3Pc4YQTQs38eZkstvFaYjLmZTTN' | |
7 | 7 | let USTOT = base58'HntC3EW8FA17D4doh8kJng7uS8gQFDzKFdA22cgo5GAv' | |
8 | - | let tim = lastBlock.timestamp | |
9 | 8 | match tx { | |
10 | 9 | case tx: BurnTransaction|SetAssetScriptTransaction|ReissueTransaction => | |
11 | 10 | (tx.sender == dAppAddress) | |
31 | 30 | if (admin) | |
32 | 31 | then true | |
33 | 32 | else if (isDefined(e.sellOrder.assetPair.priceAsset)) | |
34 | - | then throw(" | |
33 | + | then throw("WAVESghh") | |
35 | 34 | else if (sell) | |
36 | 35 | then if ((94999999 > e.sellOrder.price)) | |
37 | - | then throw(" | |
36 | + | then throw("ggggg") | |
38 | 37 | else true | |
39 | 38 | else if (buy) | |
40 | 39 | then if ((49999999 > e.sellOrder.price)) | |
41 | - | then throw(" | |
40 | + | then throw("WAVESffgg") | |
42 | 41 | else true | |
43 | 42 | else throw("Something bad happened") | |
44 | 43 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | 3 | let dAppAddress = addressFromString("3MygQawG2gPjoej8wX2cqkxmg7KXAPP6xar") | |
4 | 4 | let adminPK = base58'BUxg9XtvamV81CZCqrQzi8BxCizU41dpSqoqt5mW56XS' | |
5 | 5 | let ADKAR = base58'6KSoKoXkT1HQP9sd3Z17bjzHX83C3EhAUpfdUpvzgKDv' | |
6 | 6 | let USNON = base58'66b9Fkc7VXSHhqngV3Pc4YQTQs38eZkstvFaYjLmZTTN' | |
7 | 7 | let USTOT = base58'HntC3EW8FA17D4doh8kJng7uS8gQFDzKFdA22cgo5GAv' | |
8 | - | let tim = lastBlock.timestamp | |
9 | 8 | match tx { | |
10 | 9 | case tx: BurnTransaction|SetAssetScriptTransaction|ReissueTransaction => | |
11 | 10 | (tx.sender == dAppAddress) | |
12 | 11 | case tx: TransferTransaction|MassTransferTransaction => | |
13 | 12 | true | |
14 | 13 | case e: ExchangeTransaction => | |
15 | 14 | if (if ((e.sellOrder.assetPair.priceAsset == ADKAR)) | |
16 | 15 | then true | |
17 | 16 | else (e.sellOrder.assetPair.amountAsset == ADKAR)) | |
18 | 17 | then true | |
19 | 18 | else if (if ((e.sellOrder.assetPair.priceAsset == USNON)) | |
20 | 19 | then true | |
21 | 20 | else (e.sellOrder.assetPair.amountAsset == USNON)) | |
22 | 21 | then true | |
23 | 22 | else if (if ((e.sellOrder.assetPair.priceAsset == USTOT)) | |
24 | 23 | then true | |
25 | 24 | else (e.sellOrder.assetPair.amountAsset == USTOT)) | |
26 | 25 | then true | |
27 | 26 | else { | |
28 | 27 | let sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey) | |
29 | 28 | let buy = sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], e.buyOrder.senderPublicKey) | |
30 | 29 | let admin = (e.sellOrder.sender == addressFromPublicKey(adminPK)) | |
31 | 30 | if (admin) | |
32 | 31 | then true | |
33 | 32 | else if (isDefined(e.sellOrder.assetPair.priceAsset)) | |
34 | - | then throw(" | |
33 | + | then throw("WAVESghh") | |
35 | 34 | else if (sell) | |
36 | 35 | then if ((94999999 > e.sellOrder.price)) | |
37 | - | then throw(" | |
36 | + | then throw("ggggg") | |
38 | 37 | else true | |
39 | 38 | else if (buy) | |
40 | 39 | then if ((49999999 > e.sellOrder.price)) | |
41 | - | then throw(" | |
40 | + | then throw("WAVESffgg") | |
42 | 41 | else true | |
43 | 42 | else throw("Something bad happened") | |
44 | 43 | } | |
45 | 44 | case _ => | |
46 | 45 | false | |
47 | 46 | } |
github/deemru/w8io/169f3d6 104.80 ms ◑