Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions deployments/deploy-arbitrumone-stage.log
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,10 @@ RepayerRoutes:
│ 7 │ '0xa21007B5BC5E2B488063752d1BE43C0f3f376743' │ 'OP_MAINNET' │ 'STARGATE' │ true │
│ 8 │ '0xa21007B5BC5E2B488063752d1BE43C0f3f376743' │ 'OP_MAINNET' │ 'EVERCLEAR' │ true │
└─────────┴──────────────────────────────────────────────┴────────────────┴─────────────┴───────────────────┘

Deployment ID: MVP
Deploying Aave USDC Long Term Pool
Using config for: stage, ARBITRUM_ONE
Rebalancer: 0x34Df9cD75fA0b4d8fF300AeDf7591f79dFdd61C9
Deploying Aave USDC Long Term Liquidity Pool
LiquidityPoolAaveUSDCLongTerm: 0xd1A7cC673D4cE966AD31FcD8Daccf1C2B5969dA4
1 change: 1 addition & 0 deletions deployments/deployments.staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ eip155:42161:
name: ARBITRUM_ONE
LiquidityPoolAaveUSDC: "0x2D24c6c58bBCe4BC09aE6ac559F697D97665d05D"
LiquidityPoolUSDC: "0xfe22Dff2Dc00E80e3127BCac393aC4e0672570F0"
LiquidityPoolAaveUSDCLongTerm: "0xd1A7cC673D4cE966AD31FcD8Daccf1C2B5969dA4"
CensoredTransferFromMulticall: "0xd0A630c391daEb244369DB0f75CBDF7dFeEaEaC3"
USDC: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831"
Rebalancer: "0x34Df9cD75fA0b4d8fF300AeDf7591f79dFdd61C9"
Expand Down
28 changes: 28 additions & 0 deletions network.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ export const networkConfig: NetworksConfig = {
[Network.BASE]: [Provider.CCTP],
[Network.ARBITRUM_ONE]: [Provider.CCTP],
},
[LiquidityPoolAaveUSDCLongTerm]: {
[Network.ARBITRUM_ONE]: [Provider.CCTP],
},
},
RepayerRoutes: {
[LiquidityPoolAaveUSDC]: {
Expand All @@ -343,6 +346,12 @@ export const networkConfig: NetworksConfig = {
[Network.BASE]: [Provider.CCTP],
},
},
[LiquidityPoolAaveUSDCLongTerm]: {
SupportsAllTokens: true,
Domains: {
[Network.ARBITRUM_ONE]: [Provider.CCTP, Provider.ACROSS, Provider.EVERCLEAR],
},
},
},
AavePool: {
AaveAddressesProvider: AAVEPools.AaveV3Optimism.POOL_ADDRESSES_PROVIDER,
Expand Down Expand Up @@ -509,6 +518,16 @@ export const networkConfig: NetworksConfig = {
},
},
USDCPool: true,
AavePoolLongTerm: {
AaveAddressesProvider: AAVEPools.AaveV3Arbitrum.POOL_ADDRESSES_PROVIDER,
MinHealthFactor: 150,
DefaultLTV: 0,
TokenLTVs: {
"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f": 100, // WBTC
},
BorrowLongTermAdmin: "0x2D5B6C193C39D2AECb4a99052074E6F325258a0f",
RepayCaller: "0x2D5B6C193C39D2AECb4a99052074E6F325258a0f",
},
},
},
BASE: {
Expand Down Expand Up @@ -632,6 +651,9 @@ export const networkConfig: NetworksConfig = {
[Network.OP_MAINNET]: [Provider.CCTP],
[Network.ARBITRUM_ONE]: [Provider.CCTP],
},
[LiquidityPoolAaveUSDCLongTerm]: {
[Network.ARBITRUM_ONE]: [Provider.CCTP],
},
},
RepayerRoutes: {
[LiquidityPoolAaveUSDC]: {
Expand All @@ -648,6 +670,12 @@ export const networkConfig: NetworksConfig = {
[Network.ARBITRUM_ONE]: [Provider.CCTP],
},
},
[LiquidityPoolAaveUSDCLongTerm]: {
SupportsAllTokens: true,
Domains: {
[Network.ARBITRUM_ONE]: [Provider.CCTP, Provider.ACROSS, Provider.EVERCLEAR],
},
},
},
AavePool: {
AaveAddressesProvider: AAVEPools.AaveV3Base.POOL_ADDRESSES_PROVIDER,
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"deploy-censoredmulticall-ethereum": "hardhat run ./scripts/deployCensoredMulticall.ts --network ETHEREUM",
"deploy-usdcpool-base-stage": "DEPLOY_TYPE=STAGE hardhat run ./scripts/deployUSDCPool.ts --network BASE",
"deploy-usdcstablecoinpool-base-stage": "DEPLOY_TYPE=STAGE hardhat run ./scripts/deployUSDCStablecoinPool.ts --network BASE",
"deploy-usdcpoolaavelongterm-arbitrumone-stage": "DEPLOY_TYPE=STAGE hardhat run ./scripts/deployUSDCPoolAaveLongTerm.ts --network ARBITRUM_ONE",
"deploy-repayer-base": "hardhat run ./scripts/deployRepayer.ts --network BASE",
"deploy-repayer-arbitrumone": "hardhat run ./scripts/deployRepayer.ts --network ARBITRUM_ONE",
"deploy-repayer-opmainnet": "hardhat run ./scripts/deployRepayer.ts --network OP_MAINNET",
Expand Down Expand Up @@ -69,6 +70,7 @@
"dry:deploy-censoredmulticall-ethereum": "DRY_RUN=ETHEREUM VERIFY=false ts-node --files ./scripts/deployCensoredMulticall.ts",
"dry:deploy-usdcpool-base-stage": "DRY_RUN=BASE DEPLOY_TYPE=STAGE VERIFY=false ts-node --files ./scripts/deployUSDCPool.ts",
"dry:deploy-usdcstablecoinpool-base-stage": "DRY_RUN=BASE DEPLOY_TYPE=STAGE VERIFY=false ts-node --files ./scripts/deployUSDCStablecoinPool.ts",
"dry:deploy-usdcpoolaavelongterm-arbitrumone-stage": "DRY_RUN=ARBITRUM_ONE DEPLOY_TYPE=STAGE VERIFY=false ts-node --files ./scripts/deployUSDCPoolAaveLongTerm.ts",
"dry:deploy-repayer-base": "DRY_RUN=BASE VERIFY=false ts-node --files ./scripts/deployRepayer.ts",
"dry:deploy-repayer-arbitrumone": "DRY_RUN=ARBITRUM_ONE VERIFY=false ts-node --files ./scripts/deployRepayer.ts",
"dry:deploy-repayer-opmainnet": "DRY_RUN=OP_MAINNET VERIFY=false ts-node --files ./scripts/deployRepayer.ts",
Expand Down