Skip to content

Commit

Permalink
deploy to mainnet (#18)
Browse files Browse the repository at this point in the history
* deploy to mainnet

* etherscan verify

* rename

* added flashmintlib to deployments
  • Loading branch information
teddav authored Apr 7, 2022
1 parent dc27c89 commit b275fe6
Show file tree
Hide file tree
Showing 10 changed files with 2,417 additions and 2 deletions.
4 changes: 4 additions & 0 deletions deploy/StrategyAaveFlashloan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const func: DeployFunction = async ({ deployments, ethers }) => {
from: deployer.address,
});

console.log('success: deployed flashminlib', flashMintLib.address);

const poolManager = new Contract(
CONTRACTS_ADDRESSES[1].agEUR.collaterals!.USDC.PoolManager as string,
Interfaces.PoolManager_Interface,
Expand Down Expand Up @@ -51,6 +53,8 @@ const func: DeployFunction = async ({ deployments, ethers }) => {
libraries: { FlashMintLib: flashMintLib.address },
});

console.log('success: deployed strategy implementation', strategyImplementation.address);

const initializeData = AaveFlashloanStrategy__factory.createInterface().encodeFunctionData('initialize', [
poolManager.address,
'0x8Cae0596bC1eD42dc3F04c4506cfe442b3E74e27',
Expand Down
1 change: 1 addition & 0 deletions deployments/mainnet/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
Loading

0 comments on commit b275fe6

Please sign in to comment.