bugfixes
This commit is contained in:
@@ -38,15 +38,13 @@ function pairPrice(chainId, baseToken, quoteToken, price) {
|
||||
if (price === null || price === undefined)
|
||||
return null
|
||||
const decimals = quoteToken.d - baseToken.d
|
||||
// console.log('pairPrice', chainId, baseToken, quoteToken, price, decimals)
|
||||
if (decimals >= 0)
|
||||
price /= 10 ** decimals
|
||||
else
|
||||
price *= 10 ** -decimals
|
||||
// console.log('adjusted pairPrice', price)
|
||||
if (inversionPreference(chainId, baseToken, quoteToken))
|
||||
const pref = inversionPreference(chainId, baseToken, quoteToken);
|
||||
if (pref)
|
||||
price = 1 / price
|
||||
// console.log('inverted?', price)
|
||||
return price
|
||||
}
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ function pulse() {
|
||||
if (props.touch === lastValue) return
|
||||
lastValue = props.touch
|
||||
const e = element.value;
|
||||
if (!e) return
|
||||
if (!e.classList.contains('pulse')) {
|
||||
// add class for the first time
|
||||
e.classList.add('pulse')
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<v-card-text class="text-center">Last Updated November 18, 2024</v-card-text>
|
||||
|
||||
<v-card-text>
|
||||
Please read these Terms of Service (the “<b>Terms</b>”) and our Privacy Policy carefully because they govern your
|
||||
Please read these Terms of Service (the “<b>Terms</b>”) and our <a href="https://dexorder.trade/privacy-policy" target="dexorder">Privacy Policy</a> carefully because they govern your
|
||||
use of the
|
||||
website (and all subdomains and subpages thereon) located at dexorder.trade, including without limitation the
|
||||
subdomains app.dexorder.trade and www.dexorder.trade (collectively, the “<b>Site</b>”), and the Dexorder web
|
||||
@@ -205,7 +205,7 @@
|
||||
(i) Subject to your compliance with these Terms, Dexorder will use its commercially
|
||||
reasonable efforts to provide you with access to the Dexorder Service and to cause your Interactions to be
|
||||
executed on the applicable DEX in accordance with Dexorder’s Execution Policy located at
|
||||
<a href="https://dexorder.trade/home/execution_policy">https://dexorder.trade/home/execution_policy</a>
|
||||
<a href="https://dexorder.trade/execution-policy">https://dexorder.trade/execution-policy</a>
|
||||
(“<b>Execution Policy</b>”), however from time to time the Site and the Dexorder Service may be inaccessible or
|
||||
inoperable for any
|
||||
reason, including, without limitation: (a) if an Interaction repeatedly fails to be executed (such as due to an
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<toolbar-button tooltip="Assets" icon="mdi-currency-btc" route="Assets"/>
|
||||
<!-- mdi-format-list-checks mdi-format-list-bulleted-square -->
|
||||
<toolbar-button tooltip="Status" icon="mdi-format-list-checks" route="Status"/>
|
||||
<toolbar-button tooltip="About" icon="mdi-information-outline" href="https://dexorder.trade/home" target="dexorder-help"/>
|
||||
<toolbar-button tooltip="About" icon="mdi-information-outline" href="https://dexorder.trade/" target="dexorder"/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user