feat: Curve YFI-ETH (#444)

* feat: Curve YFI-ETH

* CHANGELOG
This commit is contained in:
Jacob Evans
2022-03-10 14:36:59 +10:00
committed by GitHub
parent cba53a9a50
commit 622a542d57
2 changed files with 16 additions and 0 deletions

View File

@@ -1,4 +1,13 @@
[ [
{
"version": "16.51.0",
"changes": [
{
"note": "Added `Curve` `YFI-ETH` pool",
"pr": 444
}
]
},
{ {
"version": "16.50.3", "version": "16.50.3",
"changes": [ "changes": [

View File

@@ -500,6 +500,7 @@ export const MAINNET_TOKENS = {
OUSD: '0x2a8e1e676ec238d8a992307b495b45b3feaa5e86', OUSD: '0x2a8e1e676ec238d8a992307b495b45b3feaa5e86',
agEUR: '0x1a7e4e63778b4f12a199c062f3efdd288afcbce8', agEUR: '0x1a7e4e63778b4f12a199c062f3efdd288afcbce8',
ibEUR: '0x96e61422b6a9ba0e068b6c5add4ffabc6a4aae27', ibEUR: '0x96e61422b6a9ba0e068b6c5add4ffabc6a4aae27',
YFI: '0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e',
}; };
export const BSC_TOKENS = { export const BSC_TOKENS = {
@@ -669,6 +670,7 @@ export const CURVE_POOLS = {
d3pool: '0xbaaa1f5dba42c3389bdbc2c9d2de134f5cd0dc89', d3pool: '0xbaaa1f5dba42c3389bdbc2c9d2de134f5cd0dc89',
triEURpool: '0xb9446c4ef5ebe66268da6700d26f96273de3d571', triEURpool: '0xb9446c4ef5ebe66268da6700d26f96273de3d571',
ibEURsEUR: '0x19b080fe1ffa0553469d20ca36219f17fcf03859', ibEURsEUR: '0x19b080fe1ffa0553469d20ca36219f17fcf03859',
wethyfi: '0xc26b89a667578ec7b3f11b2f98d6fd15c07c54ba',
}; };
export const CURVE_V2_POOLS = { export const CURVE_V2_POOLS = {
@@ -1301,6 +1303,11 @@ export const CURVE_MAINNET_INFOS: { [name: string]: CurveInfo } = {
pool: CURVE_POOLS.btrflyweth, pool: CURVE_POOLS.btrflyweth,
gasSchedule: 250e3, gasSchedule: 250e3,
}), }),
[CURVE_POOLS.wethyfi]: createCurveFactoryCryptoExchangePool({
tokens: [MAINNET_TOKENS.WETH, MAINNET_TOKENS.YFI],
pool: CURVE_POOLS.wethyfi,
gasSchedule: 250e3,
}),
}; };
export const CURVE_V2_MAINNET_INFOS: { [name: string]: CurveInfo } = { export const CURVE_V2_MAINNET_INFOS: { [name: string]: CurveInfo } = {