diff --git a/content.md b/content.md index 6e72bef..47bb957 100644 --- a/content.md +++ b/content.md @@ -2,13 +2,19 @@ The **ASI rows** show what you would get with the given token amount at the moment of the ASI swap, along with the converted USD value based on the current price of FET. -The _All Markets_ scenario uses current spot prices fetched from [Coingecko](https://coingecko.com), ignoring the actual liquidity situation but these values should be pretty close to what you would get on big centralized exchanges like Coinbase or Binance. The swap estimations for _Uniswap_ scenario are fetched directly from [Uniswap](https://uniswap.org) v3 routes on-chain, reflecting the actual liquidity situation for direct swaps between shown tokens. +The _All Markets_ scenario uses current spot prices fetched from [Coingecko](https://coingecko.com), ignoring the actual liquidity situation but these values should be pretty close to what you would get on big centralized exchanges like Coinbase or Kraken, who continue to trade OCEAN/AGIX/FET. + +Since July 1st, the official migration tool can be used to guarantee fixed ratios independent of any market forces. The _Migration Tool_ scenario uses these ratios for showing the FET amount: + +- [singularitydao.ai/migrate-asi](https://singularitydao.ai/migrate-asi) + +The swap estimations for _Uniswap_ scenario are fetched directly from [Uniswap](https://uniswap.org) v3 routes onchain, reflecting the actual liquidity situation for direct swaps between shown tokens. All displayed values should be seen as estimates. Except for the fixed ASI exchange rate, all other values are constantly changing based on market conditions. There is no guarantee the displayed values reflect the value of your investment once the actual ASI swap mechanism is released. Use at your own risk. ## Merge Details -The merge happens between **June 11th-13th, 2024**. The ASI website and docs provide insights into most key points: +The merge happens between **July 1st-15th, 2024**. The ASI website and docs provide insights into most key points: - [superintelligence.io](https://www.superintelligence.io) - [ASI Vision Paper](https://docs.superintelligence.io/artificial-superintelligence-alliance/artificial-superintelligence-asi-alliance-vision-paper) diff --git a/features/strategies/components/FormMarket.tsx b/features/strategies/components/FormMarket.tsx index 9666ddf..a3ccb0d 100644 --- a/features/strategies/components/FormMarket.tsx +++ b/features/strategies/components/FormMarket.tsx @@ -4,6 +4,7 @@ import { type Market } from '@/features/strategies' const options = [ { value: 'market', label: 'All Markets' }, + { value: 'migration', label: 'Migration Tool' }, { value: 'uniswap-v3', label: 'Uniswap v3' } ] diff --git a/features/strategies/components/Swap/Results.tsx b/features/strategies/components/Swap/Results.tsx index ac80214..535ff6b 100644 --- a/features/strategies/components/Swap/Results.tsx +++ b/features/strategies/components/Swap/Results.tsx @@ -15,6 +15,7 @@ export function SwapResults({ market: Market }) { const isUniswap = market === 'uniswap-v3' + const isMigration = market === 'migration' const { prices, @@ -41,13 +42,14 @@ export function SwapResults({ const amountToAgix = amountInUsd / prices.agix.usd // As of July 1st, use fixed ratios instead of FET market price - // as the markets for OCEAN & AGIX are limited - const amountToFet = - tokenSelected === 'ocean' + // for Migration Tool scenario + const amountToFet = isMigration + ? tokenSelected === 'ocean' ? amount * ratioOceanToAsi : tokenSelected === 'agix' ? amount * ratioAgixToAsi : amount + : amountInUsd / prices.fet.usd return ( <> diff --git a/features/strategies/types.ts b/features/strategies/types.ts index 8b18ffa..a741d4e 100644 --- a/features/strategies/types.ts +++ b/features/strategies/types.ts @@ -1 +1 @@ -export type Market = 'all' | 'uniswap-v3' +export type Market = 'all' | 'migration' | 'uniswap-v3'