alpha deployment
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
<ul>
|
||||
<li>Name: Dexorder Alpha</li>
|
||||
<li>New RPC URL: https://rpc.alpha.dexorder.trade</li>
|
||||
<li>Chain ID: 31337</li>
|
||||
<li>Chain ID: 53261</li>
|
||||
<li>Currency Symbol: TETH</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
import {useStore} from "@/store/store";
|
||||
import {subPrices, unsubPrices} from "@/blockchain/prices.js";
|
||||
import {computed, onBeforeUnmount} from "vue";
|
||||
import {FixedNumber} from "ethers";
|
||||
|
||||
const s = useStore()
|
||||
|
||||
@@ -23,7 +24,8 @@ const price = computed(()=>{
|
||||
if( !p )
|
||||
return ''
|
||||
p = Number(p) // TODO: Temporary workaround. Better to fix reason for p being set to string.
|
||||
console.log('pool price is',p)
|
||||
console.log('pool price is',typeof p, p)
|
||||
p = FixedNumber.fromString(p)
|
||||
if( props.inverted )
|
||||
p = 1/p
|
||||
return p.toPrecision(props.precision)
|
||||
|
||||
Reference in New Issue
Block a user