finished off mobius money pairs

This commit is contained in:
Noah Khamliche
2022-02-14 16:17:34 -05:00
committed by Noah Khamliche
parent 77a592e891
commit ae365ce92c

View File

@@ -280,6 +280,7 @@ export const BUY_SOURCE_FILTER_BY_CHAIN_ID = valueByChainId<SourceFilters>(
ERC20BridgeSource.Mooniswap,
ERC20BridgeSource.MultiHop,
ERC20BridgeSource.Nerve,
ERC20BridgeSource.Synapse,
ERC20BridgeSource.PancakeSwap,
ERC20BridgeSource.PancakeSwapV2,
ERC20BridgeSource.SushiSwap,
@@ -821,6 +822,16 @@ export const MOBIUSMONEY_CELO_POOLS = {
usdc_optics_v2: '0x9906589ea8fd27504974b7e8201df5bbde986b03',
dai_optics_v2: '0xf3f65dfe0c8c8f2986da0fec159abe6fd4e700b4',
weth_optics_v2: '0x74ef28d635c6c5800dd3cd62d4c4f8752daacb09',
wbtc_optics_v2: '0xaefc4e8cf655a182e8346b24c8abce45616ee0d2',
pusdc_optics_v2: '0xcce0d62ce14fb3e4363eb92db37ff3630836c252',
usdc_allbridge_avax: '0x0986b42f5f9c42feeef66fc23eba9ea1164c916d',
usdc_allbridge_solana: '0x63c1914bf00a9b395a2bf89aada55a5615a3656e',
usdc_eth_optics: '0xa5037661989789d0310ac2b796fa78f1b01f195d',
usdc_poly_optics: '0x2080aaa167e2225e1fc9923250ba60e19a180fb2',
wbtc: '0x19260b9b573569ddb105780176547875fe9feda3',
weth: '0xe0f2cc70e52f05edb383313393d88df2937da55a',
usdt_moss: '0xdbf27fd2a702cc02ac7acf0aea376db780d53247',
usdc_moss: '0x0ff04189ef135b6541e56f7c638489de92e9c778',
};
export const ACRYPTOS_POOLS = {
@@ -1761,6 +1772,105 @@ export const MOBIUSMONEY_CELO_INFOS: { [name: string]: CurveInfo } = {
metaTokens: undefined,
gasSchedule: 100e3,
},
[MOBIUSMONEY_CELO_POOLS.weth_optics_v2]: {
exchangeFunctionSelector: CurveFunctionSelectors.swap,
sellQuoteFunctionSelector: CurveFunctionSelectors.calculateSwap,
buyQuoteFunctionSelector: CurveFunctionSelectors.None,
poolAddress: MOBIUSMONEY_CELO_POOLS.weth_optics_v2,
tokens: [CELO_TOKENS.cETH, CELO_TOKENS.oWETH],
metaTokens: undefined,
gasSchedule: 100e3,
},
[MOBIUSMONEY_CELO_POOLS.wbtc_optics_v2]: {
exchangeFunctionSelector: CurveFunctionSelectors.swap,
sellQuoteFunctionSelector: CurveFunctionSelectors.calculateSwap,
buyQuoteFunctionSelector: CurveFunctionSelectors.None,
poolAddress: MOBIUSMONEY_CELO_POOLS.wbtc_optics_v2,
tokens: [CELO_TOKENS.cBTC, CELO_TOKENS.WBTC],
metaTokens: undefined,
gasSchedule: 100e3,
},
[MOBIUSMONEY_CELO_POOLS.pusdc_optics_v2]: {
exchangeFunctionSelector: CurveFunctionSelectors.swap,
sellQuoteFunctionSelector: CurveFunctionSelectors.calculateSwap,
buyQuoteFunctionSelector: CurveFunctionSelectors.None,
poolAddress: MOBIUSMONEY_CELO_POOLS.pusdc_optics_v2,
tokens: [CELO_TOKENS.cUSD, CELO_TOKENS.pUSDC_V2],
metaTokens: undefined,
gasSchedule: 100e3,
},
[MOBIUSMONEY_CELO_POOLS.usdc_allbridge_avax]: {
exchangeFunctionSelector: CurveFunctionSelectors.swap,
sellQuoteFunctionSelector: CurveFunctionSelectors.calculateSwap,
buyQuoteFunctionSelector: CurveFunctionSelectors.None,
poolAddress: MOBIUSMONEY_CELO_POOLS.usdc_allbridge_avax,
tokens: [CELO_TOKENS.cUSD, CELO_TOKENS.aaUSDC],
metaTokens: undefined,
gasSchedule: 100e3,
},
[MOBIUSMONEY_CELO_POOLS.usdc_allbridge_solana]: {
exchangeFunctionSelector: CurveFunctionSelectors.swap,
sellQuoteFunctionSelector: CurveFunctionSelectors.calculateSwap,
buyQuoteFunctionSelector: CurveFunctionSelectors.None,
poolAddress: MOBIUSMONEY_CELO_POOLS.usdc_allbridge_solana,
tokens: [CELO_TOKENS.cUSD, CELO_TOKENS.asUSDC],
metaTokens: undefined,
gasSchedule: 100e3,
},
[MOBIUSMONEY_CELO_POOLS.usdc_eth_optics]: {
exchangeFunctionSelector: CurveFunctionSelectors.swap,
sellQuoteFunctionSelector: CurveFunctionSelectors.calculateSwap,
buyQuoteFunctionSelector: CurveFunctionSelectors.None,
poolAddress: MOBIUSMONEY_CELO_POOLS.usdc_eth_optics,
tokens: [CELO_TOKENS.cUSD, CELO_TOKENS.cUSDC],
metaTokens: undefined,
gasSchedule: 100e3,
},
[MOBIUSMONEY_CELO_POOLS.usdc_poly_optics]: {
exchangeFunctionSelector: CurveFunctionSelectors.swap,
sellQuoteFunctionSelector: CurveFunctionSelectors.calculateSwap,
buyQuoteFunctionSelector: CurveFunctionSelectors.None,
poolAddress: MOBIUSMONEY_CELO_POOLS.usdc_poly_optics,
tokens: [CELO_TOKENS.cUSD, CELO_TOKENS.pUSDC],
metaTokens: undefined,
gasSchedule: 100e3,
},
[MOBIUSMONEY_CELO_POOLS.wbtc]: {
exchangeFunctionSelector: CurveFunctionSelectors.swap,
sellQuoteFunctionSelector: CurveFunctionSelectors.calculateSwap,
buyQuoteFunctionSelector: CurveFunctionSelectors.None,
poolAddress: MOBIUSMONEY_CELO_POOLS.wbtc,
tokens: [CELO_TOKENS.cBTC, CELO_TOKENS.wBTCO],
metaTokens: undefined,
gasSchedule: 100e3,
},
[MOBIUSMONEY_CELO_POOLS.weth]: {
exchangeFunctionSelector: CurveFunctionSelectors.swap,
sellQuoteFunctionSelector: CurveFunctionSelectors.calculateSwap,
buyQuoteFunctionSelector: CurveFunctionSelectors.None,
poolAddress: MOBIUSMONEY_CELO_POOLS.weth,
tokens: [CELO_TOKENS.cETH, CELO_TOKENS.WETHv1],
metaTokens: undefined,
gasSchedule: 100e3,
},
[MOBIUSMONEY_CELO_POOLS.usdt_moss]: {
exchangeFunctionSelector: CurveFunctionSelectors.swap,
sellQuoteFunctionSelector: CurveFunctionSelectors.calculateSwap,
buyQuoteFunctionSelector: CurveFunctionSelectors.None,
poolAddress: MOBIUSMONEY_CELO_POOLS.usdt_moss,
tokens: [CELO_TOKENS.cETH, CELO_TOKENS.mcUSDT],
metaTokens: undefined,
gasSchedule: 100e3,
},
[MOBIUSMONEY_CELO_POOLS.usdc_moss]: {
exchangeFunctionSelector: CurveFunctionSelectors.swap,
sellQuoteFunctionSelector: CurveFunctionSelectors.calculateSwap,
buyQuoteFunctionSelector: CurveFunctionSelectors.None,
poolAddress: MOBIUSMONEY_CELO_POOLS.usdc_moss,
tokens: [CELO_TOKENS.cETH, CELO_TOKENS.mcUSDC],
metaTokens: undefined,
gasSchedule: 100e3,
},
};
const ACRYPTOS_ACS4USD_POOL_BSC_TOKENS = [BSC_TOKENS.BUSD, BSC_TOKENS.USDT, BSC_TOKENS.DAI, BSC_TOKENS.USDC];