Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Reorganize swappool consts
Browse files Browse the repository at this point in the history
  • Loading branch information
bleaker0x committed Dec 29, 2021
1 parent 31b649b commit a873e93
Showing 1 changed file with 61 additions and 61 deletions.
122 changes: 61 additions & 61 deletions src/swappools/swappools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,41 +173,56 @@ export namespace SwapPools {
poolTokens: [Tokens.NUSD, Tokens.DAI, Tokens.USDC, Tokens.USDT]
});

export const AVALANCHE_POOL_SWAP_TOKEN = new SwapToken({
export const FANTOM_POOL_SWAP_TOKEN = new SwapToken({
addresses: {
[ChainId.AVALANCHE]: '0xCA87BF3ec55372D9540437d7a86a7750B42C02f4',
[ChainId.FANTOM]: '0x464d121D3cA63cEEfd390D76f19364D3Bd024cD2',
},
decimals: 18,
symbol: 'nUSD-LP',
name: 'Synapse nUSD LP Token Avalanche',
poolName: 'Avalanche Stableswap Pool ', // DONT GET RID OF SPACE AFTER POOL
name: 'Synapse nUSD LP Token Fantom',
poolName: 'Fantom Stableswap Pool ', // DONT GET RID OF SPACE AFTER POOL
poolId: 1,
poolType: 'USD',
swapAddresses: {
[ChainId.AVALANCHE]: '0xED2a7edd7413021d440b09D654f3b87712abAB66',
[ChainId.FANTOM]: '0x2913E812Cf0dcCA30FB28E6Cac3d2DCFF4497688',
},
poolTokens: [Tokens.NUSD, Tokens.DAI, Tokens.USDC, Tokens.USDT]
poolTokens: [Tokens.NUSD, Tokens.MIM, Tokens.USDC, Tokens.USDT],
});

export const AVALANCHE_ETH_SWAP_TOKEN = new SwapToken({
export const BOBA_POOL_SWAP_TOKEN = new SwapToken({
addresses: {
[ChainId.AVALANCHE]: '0xD70A52248e546A3B260849386410C7170c7BD1E9',
[ChainId.BOBA]: '0x9D7283A6AeeD9BCd4Ac70876fEA2b69a63DD8cb9',
},
decimals: 18,
symbol: 'nUSD-LP',
name: 'Synapse nUSD LP Token Boba',
poolName: 'Boba Stableswap Pool ', // DONT GET RID OF SPACE AFTER POOL
poolId: 1,
poolType: 'USD',
swapAddresses: {
[ChainId.BOBA]: '0x75FF037256b36F15919369AC58695550bE72fead',
},
poolTokens: [Tokens.NUSD, Tokens.DAI, Tokens.USDC, Tokens.USDT],
});

export const BOBA_ETH_SWAP_TOKEN = new SwapToken({
addresses: {
[ChainId.BOBA]: '0x56A28e084B29f975bf0D31fD3aA074647F43728C',
},
decimals: 18,
symbol: 'nETH-LP', // make sure this gets update to match conytract
name: 'Synapse Eth LP Token Avalanche',
poolName: 'Avalanche ETH Pool',
name: 'Synapse Eth LP Token Boba',
poolName: 'Boba ETH Pool',
poolId: 2,
poolType: 'ETH',
swapAddresses: {
[ChainId.AVALANCHE]: '0x77a7e60555bC18B4Be44C181b2575eee46212d44',
[ChainId.BOBA]: '0xaB1EB0B9a0124D89445a547366C9eD61a5180E43',
},
swapEthAddresses: {
[ChainId.AVALANCHE]: '0xdd60483Ace9B215a7c019A44Be2F22Aa9982652E',
[ChainId.BOBA]: '0x06Fea8513FF03a0d3f61324da709D4cf06F42A5c',
},
poolTokens: [Tokens.NETH, Tokens.AVWETH],
nativeTokens: [Tokens.NETH, Tokens.WETH_E],
depositTokens: [Tokens.NETH, Tokens.WETH_E],
poolTokens: [Tokens.NETH, Tokens.WETH], // add eth token whether eth or weth here
nativeTokens: [Tokens.NETH, Tokens.ETH],
});

export const ARBITRUM_POOL_SWAP_TOKEN = new SwapToken({
Expand All @@ -226,38 +241,6 @@ export namespace SwapPools {
poolTokens: [Tokens.NUSD, Tokens.MIM, Tokens.USDC, Tokens.USDT],
});

export const FANTOM_POOL_SWAP_TOKEN = new SwapToken({
addresses: {
[ChainId.FANTOM]: '0x464d121D3cA63cEEfd390D76f19364D3Bd024cD2',
},
decimals: 18,
symbol: 'nUSD-LP',
name: 'Synapse nUSD LP Token Fantom',
poolName: 'Fantom Stableswap Pool ', // DONT GET RID OF SPACE AFTER POOL
poolId: 1,
poolType: 'USD',
swapAddresses: {
[ChainId.FANTOM]: '0x2913E812Cf0dcCA30FB28E6Cac3d2DCFF4497688',
},
poolTokens: [Tokens.NUSD, Tokens.MIM, Tokens.USDC, Tokens.USDT],
});

export const HARMONY_POOL_SWAP_TOKEN = new SwapToken({
addresses: {
[ChainId.HARMONY]: '0xE269abBFAF52b26D2632F55B6b223A5223088B96',
},
decimals: 18,
symbol: 'nUSD-LP',
name: 'Synapse nUSD LP Token Harmony',
poolName: 'Harmony Stableswap Pool ', // DONT GET RID OF SPACE AFTER POOL
poolId: 1,
poolType: 'USD',
swapAddresses: {
[ChainId.HARMONY]: '0x3ea9B0ab55F34Fb188824Ee288CeaEfC63cf908e',
},
poolTokens: [Tokens.NUSD, Tokens.DAI, Tokens.USDC, Tokens.USDT],
});

export const ARBITRUM_ETH_SWAP_TOKEN = new SwapToken({
addresses: {
[ChainId.ARBITRUM]: '0xD70A52248e546A3B260849386410C7170c7BD1E9',
Expand All @@ -278,40 +261,57 @@ export namespace SwapPools {
nativeTokens: [Tokens.NETH, Tokens.ETH],
});

export const BOBA_POOL_SWAP_TOKEN = new SwapToken({
export const AVALANCHE_POOL_SWAP_TOKEN = new SwapToken({
addresses: {
[ChainId.BOBA]: '0x9D7283A6AeeD9BCd4Ac70876fEA2b69a63DD8cb9',
[ChainId.AVALANCHE]: '0xCA87BF3ec55372D9540437d7a86a7750B42C02f4',
},
decimals: 18,
symbol: 'nUSD-LP',
name: 'Synapse nUSD LP Token Boba',
poolName: 'Boba Stableswap Pool ', // DONT GET RID OF SPACE AFTER POOL
name: 'Synapse nUSD LP Token Avalanche',
poolName: 'Avalanche Stableswap Pool ', // DONT GET RID OF SPACE AFTER POOL
poolId: 1,
poolType: 'USD',
swapAddresses: {
[ChainId.BOBA]: '0x75FF037256b36F15919369AC58695550bE72fead',
[ChainId.AVALANCHE]: '0xED2a7edd7413021d440b09D654f3b87712abAB66',
},
poolTokens: [Tokens.NUSD, Tokens.DAI, Tokens.USDC, Tokens.USDT],
poolTokens: [Tokens.NUSD, Tokens.DAI, Tokens.USDC, Tokens.USDT]
});

export const BOBA_ETH_SWAP_TOKEN = new SwapToken({
export const AVALANCHE_ETH_SWAP_TOKEN = new SwapToken({
addresses: {
[ChainId.BOBA]: '0x56A28e084B29f975bf0D31fD3aA074647F43728C',
[ChainId.AVALANCHE]: '0xD70A52248e546A3B260849386410C7170c7BD1E9',
},
decimals: 18,
symbol: 'nETH-LP', // make sure this gets update to match conytract
name: 'Synapse Eth LP Token Boba',
poolName: 'Boba ETH Pool',
name: 'Synapse Eth LP Token Avalanche',
poolName: 'Avalanche ETH Pool',
poolId: 2,
poolType: 'ETH',
swapAddresses: {
[ChainId.BOBA]: '0xaB1EB0B9a0124D89445a547366C9eD61a5180E43',
[ChainId.AVALANCHE]: '0x77a7e60555bC18B4Be44C181b2575eee46212d44',
},
swapEthAddresses: {
[ChainId.BOBA]: '0x06Fea8513FF03a0d3f61324da709D4cf06F42A5c',
[ChainId.AVALANCHE]: '0xdd60483Ace9B215a7c019A44Be2F22Aa9982652E',
},
poolTokens: [Tokens.NETH, Tokens.WETH], // add eth token whether eth or weth here
nativeTokens: [Tokens.NETH, Tokens.ETH],
poolTokens: [Tokens.NETH, Tokens.AVWETH],
nativeTokens: [Tokens.NETH, Tokens.WETH_E],
depositTokens: [Tokens.NETH, Tokens.WETH_E],
});

export const HARMONY_POOL_SWAP_TOKEN = new SwapToken({
addresses: {
[ChainId.HARMONY]: '0xE269abBFAF52b26D2632F55B6b223A5223088B96',
},
decimals: 18,
symbol: 'nUSD-LP',
name: 'Synapse nUSD LP Token Harmony',
poolName: 'Harmony Stableswap Pool ', // DONT GET RID OF SPACE AFTER POOL
poolId: 1,
poolType: 'USD',
swapAddresses: {
[ChainId.HARMONY]: '0x3ea9B0ab55F34Fb188824Ee288CeaEfC63cf908e',
},
poolTokens: [Tokens.NUSD, Tokens.DAI, Tokens.USDC, Tokens.USDT],
});

export interface SwapGroupTokenMap {
Expand Down

0 comments on commit a873e93

Please sign in to comment.