Skip to content

Commit 18cc519

Browse files
viatrixlastperson
andauthored
Deploying public pool V1 on stage (#130)
* Add PublicLiquidityPool and ERC4626Adapter, wip * Get fill amount from calldata in Public pool * Add most of the Public pool tests, wip * Complete Public Liquidity Pool tests * Add ERC4626Adapter tests * Add totalDeposited getter to public pool * Revert back to FeeConfig in public pool * Add deploy scripts * Revert back to parsing calldata This reverts commit 930488f. * Update scripts * Fix typo * Add deployment logs * Add rebalancer routes * Update network.config.ts We rebalance to/from ERC4626Adapter, which in turn deposits/withdraws from the Public pool. * Add public pool deploy scripts (#128) * Add deploy scripts * Update scripts * Fix chain id in tests * Audit fixes 4 (#135) * Apply audit fixes 1 * Add various fixes * Remove console.log from tests * Merge main and fix tests * Make all tests run * Last part of fixes * Make public pool maxWithdraw and maxRedeem compliant with the EIP4626 * Fix lint * Improve ERC4626Adapter withdraw profit safety assertion --------- Co-authored-by: Oleksii Matiiasevych <oleksii@sprinter.tech>
1 parent 0b4bdae commit 18cc519

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

deployments/deploy-arbitrumone-stage.log

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,17 @@ Using config for: stage, ARBITRUM_ONE
7474
Rebalancer: 0x34Df9cD75fA0b4d8fF300AeDf7591f79dFdd61C9
7575
Deploying Aave USDC Long Term Liquidity Pool
7676
LiquidityPoolAaveUSDCLongTerm: 0xd1A7cC673D4cE966AD31FcD8Daccf1C2B5969dA4
77+
78+
Deployment ID: MVP
79+
Deploying USDC Public Pool
80+
Using config for: stage, ARBITRUM_ONE
81+
Deploying USDC Public Liquidity Pool
82+
LiquidityPoolPublicUSDC: 0x451291AdB56ffA03Ef2A542389CeE16Ec3A8295D
83+
84+
Deployment ID: MVP
85+
Deploying ERC4626 Adapter USDC
86+
Using config for: stage, ARBITRUM_ONE
87+
Rebalancer: 0x34Df9cD75fA0b4d8fF300AeDf7591f79dFdd61C9
88+
Target Vault: 0x451291AdB56ffA03Ef2A542389CeE16Ec3A8295D
89+
Deploying ERC4626 Adapter USDC
90+
ERC4626AdapterUSDC: 0xd7B2FC36b3D967DE88f9A4e3C84b7dBEF73e7eF3

network.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,9 @@ export const networkConfig: NetworksConfig = {
478478
[LiquidityPoolAaveUSDCLongTermV2]: {
479479
[Network.ARBITRUM_ONE]: [Provider.CCTP],
480480
},
481+
[ERC4626AdapterUSDC]: {
482+
[Network.ARBITRUM_ONE]: [Provider.CCTP],
483+
},
481484
},
482485
RepayerRoutes: {
483486
[LiquidityPoolAaveUSDCV3]: {
@@ -839,6 +842,9 @@ export const networkConfig: NetworksConfig = {
839842
[LiquidityPoolAaveUSDCLongTermV2]: {
840843
[Network.ARBITRUM_ONE]: [Provider.CCTP],
841844
},
845+
[ERC4626AdapterUSDC]: {
846+
[Network.ARBITRUM_ONE]: [Provider.CCTP],
847+
},
842848
},
843849
RepayerRoutes: {
844850
[LiquidityPoolAaveUSDCV3]: {

0 commit comments

Comments
 (0)