mirror of
https://github.com/kremalicious/asi-calculator.git
synced 2024-12-22 09:23:16 +01:00
use complete ratios for calculations
This commit is contained in:
parent
69d6b512bb
commit
ca7aba9ff9
@ -4,8 +4,8 @@ export const title = 'ASI Calculator'
|
||||
export const description =
|
||||
'See how much ASI you get for your OCEAN, AGIX, or FET.'
|
||||
|
||||
export const ratioOceanToAsi = 0.433226
|
||||
export const ratioAgixToAsi = 0.43335
|
||||
export const ratioOceanToAsi = 0.43322638231018
|
||||
export const ratioAgixToAsi = 0.43335018345744
|
||||
export const ratioFetToAsi = 1
|
||||
|
||||
export const tokens: Token[] = [
|
||||
|
@ -16,11 +16,6 @@
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.marketData p {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.fiat {
|
||||
color: var(--text-dimmed);
|
||||
}
|
||||
|
@ -37,7 +37,9 @@ export function MarketData() {
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
1 OCEAN = {ratioOceanToAsi} ASI
|
||||
1 OCEAN ={' '}
|
||||
<span title={`${ratioOceanToAsi}`}>{ratioOceanToAsi.toFixed(6)}</span>{' '}
|
||||
ASI
|
||||
<Label>fixed</Label>
|
||||
</p>
|
||||
<p>
|
||||
@ -48,7 +50,9 @@ export function MarketData() {
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
1 AGIX = {ratioAgixToAsi} ASI
|
||||
1 AGIX ={' '}
|
||||
<span title={`${ratioAgixToAsi}`}>{ratioAgixToAsi.toFixed(5)}</span>{' '}
|
||||
ASI
|
||||
<Label>fixed</Label>
|
||||
</p>
|
||||
<p>
|
||||
|
Loading…
Reference in New Issue
Block a user