Skip to content

Commit

Permalink
Merge pull request #125 from Gearbox-protocol/lrt-configs
Browse files Browse the repository at this point in the history
fix: lrt test configs
  • Loading branch information
Van0k authored Apr 18, 2024
2 parents 8f1ae29 + a8286f4 commit 90b0dba
Show file tree
Hide file tree
Showing 10 changed files with 2,021 additions and 271 deletions.
107 changes: 94 additions & 13 deletions contracts/test/config/USDC_Arbitrum_config.sol
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,65 @@ contract CONFIG_ARBITRUM_USDC_V3 is IPoolV3DeployConfig {
cts.push(CollateralTokenHuman({token: Tokens.cbETH, lt: 94_00}));
Contracts[] storage cs = cp.contracts;
cs.push(Contracts.UNISWAP_V3_ROUTER);
UniswapV3Pair[] storage uv3p = cp.uniswapV3Pairs;
uv3p.push(UniswapV3Pair({token0: Tokens.WETH, token1: Tokens.USDC_e, fee: 500}));
uv3p.push(UniswapV3Pair({token0: Tokens.WETH, token1: Tokens.WBTC, fee: 500}));
uv3p.push(UniswapV3Pair({token0: Tokens.WETH, token1: Tokens.ARB, fee: 500}));
uv3p.push(UniswapV3Pair({token0: Tokens.WETH, token1: Tokens.ARB, fee: 3000}));
uv3p.push(UniswapV3Pair({token0: Tokens.wstETH, token1: Tokens.WETH, fee: 100}));
uv3p.push(UniswapV3Pair({token0: Tokens.ARB, token1: Tokens.USDC_e, fee: 500}));
uv3p.push(UniswapV3Pair({token0: Tokens.WBTC, token1: Tokens.WETH, fee: 3000}));
{
UniswapV3Pair[] storage uv3p = cp.uniswapV3Pairs;
uv3p.push(
UniswapV3Pair({
router: Contracts.UNISWAP_V3_ROUTER,
token0: Tokens.WETH,
token1: Tokens.USDC_e,
fee: 500
})
);
uv3p.push(
UniswapV3Pair({
router: Contracts.UNISWAP_V3_ROUTER,
token0: Tokens.WETH,
token1: Tokens.WBTC,
fee: 500
})
);
uv3p.push(
UniswapV3Pair({
router: Contracts.UNISWAP_V3_ROUTER,
token0: Tokens.WETH,
token1: Tokens.ARB,
fee: 500
})
);
uv3p.push(
UniswapV3Pair({
router: Contracts.UNISWAP_V3_ROUTER,
token0: Tokens.WETH,
token1: Tokens.ARB,
fee: 3000
})
);
uv3p.push(
UniswapV3Pair({
router: Contracts.UNISWAP_V3_ROUTER,
token0: Tokens.wstETH,
token1: Tokens.WETH,
fee: 100
})
);
uv3p.push(
UniswapV3Pair({
router: Contracts.UNISWAP_V3_ROUTER,
token0: Tokens.ARB,
token1: Tokens.USDC_e,
fee: 500
})
);
uv3p.push(
UniswapV3Pair({
router: Contracts.UNISWAP_V3_ROUTER,
token0: Tokens.WBTC,
token1: Tokens.WETH,
fee: 3000
})
);
}
cs.push(Contracts.BALANCER_VAULT);
BalancerPool[] storage bp = cp.balancerPools;

Expand Down Expand Up @@ -151,11 +202,41 @@ contract CONFIG_ARBITRUM_USDC_V3 is IPoolV3DeployConfig {
cts.push(CollateralTokenHuman({token: Tokens.PENDLE, lt: 80_00}));
Contracts[] storage cs = cp.contracts;
cs.push(Contracts.UNISWAP_V3_ROUTER);
UniswapV3Pair[] storage uv3p = cp.uniswapV3Pairs;
uv3p.push(UniswapV3Pair({token0: Tokens.WETH, token1: Tokens.USDC_e, fee: 500}));
uv3p.push(UniswapV3Pair({token0: Tokens.PENDLE, token1: Tokens.WETH, fee: 3000}));
uv3p.push(UniswapV3Pair({token0: Tokens.GMX, token1: Tokens.WETH, fee: 3000}));
uv3p.push(UniswapV3Pair({token0: Tokens.LINK, token1: Tokens.WETH, fee: 3000}));
{
UniswapV3Pair[] storage uv3p = cp.uniswapV3Pairs;
uv3p.push(
UniswapV3Pair({
router: Contracts.UNISWAP_V3_ROUTER,
token0: Tokens.WETH,
token1: Tokens.USDC_e,
fee: 500
})
);
uv3p.push(
UniswapV3Pair({
router: Contracts.UNISWAP_V3_ROUTER,
token0: Tokens.PENDLE,
token1: Tokens.WETH,
fee: 3000
})
);
uv3p.push(
UniswapV3Pair({
router: Contracts.UNISWAP_V3_ROUTER,
token0: Tokens.GMX,
token1: Tokens.WETH,
fee: 3000
})
);
uv3p.push(
UniswapV3Pair({
router: Contracts.UNISWAP_V3_ROUTER,
token0: Tokens.LINK,
token1: Tokens.WETH,
fee: 3000
})
);
}
}
}

Expand Down
Loading

0 comments on commit 90b0dba

Please sign in to comment.