Skip to content

Commit

Permalink
ube-convert exchange rate updated
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammedea committed Apr 16, 2024
1 parent b3eb157 commit 093dabe
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/pages/ClaimNewUbeToken/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useCelo, useConnectedSigner } from '@celo/react-celo'
import { JsonRpcSigner } from '@ethersproject/providers'
import { CELO, ChainId as UbeswapChainId, Fraction, Token, TokenAmount } from '@ubeswap/sdk'
import { CELO, ChainId as UbeswapChainId, Token, TokenAmount } from '@ubeswap/sdk'
import { useDoTransaction } from 'components/swap/routing'
import { useUbeConvertContract } from 'hooks/useContract'
import React, { useCallback, useContext, useEffect, useMemo, useState } from 'react'
Expand Down Expand Up @@ -115,7 +115,6 @@ export default function ClaimNewUbeToken() {

// toggle wallet when disconnected
const toggleWalletModal = useWalletModalToggle()
const allowedSlippage = 0

// swap state
const { v2Trade } = useDerivedSwapInfo()
Expand Down Expand Up @@ -154,7 +153,7 @@ export default function ClaimNewUbeToken() {
const parsedAmount = useMemo(() => {
return tryParseAmount(typedValue, inputCurrency ?? undefined)
}, [typedValue, inputCurrency])
const outputAmount = parsedAmount?.multiply(new Fraction('3', '2'))
const outputAmount = parsedAmount
const outputAmountText = outputAmount?.toSignificant(6) ?? ''

// the callback to execute the swap
Expand Down Expand Up @@ -293,9 +292,8 @@ export default function ClaimNewUbeToken() {
</RowBetween>
<RowBetween>
<TYPE.white fontSize={14}>
All token swaps made until April 15th 2024 will be made on a 1:1,5 basis. After this period, it will
switch to 1:1. After 75% of the liquid tokens are swapped, 1 month will be provided for the remainder of
the community to swap. Any tokens not swapped after this period will be burned.
After 75% of the liquid tokens are swapped, 1 month will be provided for the remainder of the community
to swap. Any tokens not swapped after this period will be burned.
</TYPE.white>
</RowBetween>
</AutoColumn>
Expand Down

0 comments on commit 093dabe

Please sign in to comment.