[asset-swapper]: Added Curve Tripool (#2708)
This commit is contained in:
parent
f84b375cde
commit
f2507cb94a
@ -117,6 +117,10 @@
|
|||||||
{
|
{
|
||||||
"note": "Add `includedSources` support",
|
"note": "Add `includedSources` support",
|
||||||
"pr": 2703
|
"pr": 2703
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"note": "Added `Curve` Tripool",
|
||||||
|
"pr": 2708
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -118,7 +118,7 @@ export const MAINNET_CURVE_INFOS: { [name: string]: CurveInfo } = {
|
|||||||
DaiUsdcUsdtSusd: {
|
DaiUsdcUsdtSusd: {
|
||||||
exchangeFunctionSelector: CurveFunctionSelectors.exchange_underlying,
|
exchangeFunctionSelector: CurveFunctionSelectors.exchange_underlying,
|
||||||
sellQuoteFunctionSelector: CurveFunctionSelectors.get_dy_underlying,
|
sellQuoteFunctionSelector: CurveFunctionSelectors.get_dy_underlying,
|
||||||
buyQuoteFunctionSelector: CurveFunctionSelectors.get_dx_underlying,
|
buyQuoteFunctionSelector: CurveFunctionSelectors.None,
|
||||||
poolAddress: '0xa5407eae9ba41422680e2e00537571bcc53efbfd',
|
poolAddress: '0xa5407eae9ba41422680e2e00537571bcc53efbfd',
|
||||||
tokens: [
|
tokens: [
|
||||||
'0x6b175474e89094c44da98b954eedeac495271d0f',
|
'0x6b175474e89094c44da98b954eedeac495271d0f',
|
||||||
@ -145,6 +145,17 @@ export const MAINNET_CURVE_INFOS: { [name: string]: CurveInfo } = {
|
|||||||
'0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6',
|
'0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
TriPool: {
|
||||||
|
exchangeFunctionSelector: CurveFunctionSelectors.exchange,
|
||||||
|
sellQuoteFunctionSelector: CurveFunctionSelectors.get_dy,
|
||||||
|
buyQuoteFunctionSelector: CurveFunctionSelectors.None,
|
||||||
|
poolAddress: '0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7',
|
||||||
|
tokens: [
|
||||||
|
'0x6b175474e89094c44da98b954eedeac495271d0f',
|
||||||
|
'0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
|
||||||
|
'0xdac17f958d2ee523a2206206994597c13d831ec7',
|
||||||
|
],
|
||||||
|
},
|
||||||
};
|
};
|
||||||
export const MAINNET_SWERVE_INFOS: { [name: string]: CurveInfo } = {
|
export const MAINNET_SWERVE_INFOS: { [name: string]: CurveInfo } = {
|
||||||
swUSD: {
|
swUSD: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user