Skip to content

Commit

Permalink
verifying borrow helpers contract
Browse files Browse the repository at this point in the history
  • Loading branch information
sogipec committed Dec 13, 2022
1 parent 3777a06 commit 17c86ec
Show file tree
Hide file tree
Showing 3 changed files with 394 additions and 3 deletions.
10 changes: 7 additions & 3 deletions deploy/ui-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,24 @@ const func: DeployFunction = async ({ deployments, ethers, network }) => {
// Otherwise, we're using the proxy admin address from the desired network
proxyAdmin = CONTRACTS_ADDRESSES[network.config.chainId as ChainId].ProxyAdmin!;
}
// Using the proxyAdminGuardian for Avalanche
proxyAdmin = '0xe14bFA5575d9906BA35beb15C9DBe5C77bFdd5b5';
console.log('deployer ', deployer.address);

console.log('Now deploying the AngleHelpers contract');
console.log('Starting with the implementation');
const angleHelpersImplementation = await deploy('AngleHelpers_Arbitrum_Implementation', {
const angleHelpersImplementation = await deploy('AngleHelpers_Avalanche_Implementation', {
contract: 'AngleBorrowHelpers',
from: deployer.address,
});

console.log(`Successfully deployed the Arbitrum implementation for AngleBorrowHelpers at ${angleHelpersImplementation.address}\n`);
console.log(
`Successfully deployed the Avalanche implementation for AngleBorrowHelpers at ${angleHelpersImplementation.address}\n`,
);

console.log('Now deploying the Proxy');
console.log(`Proxy admin: ${proxyAdmin}`);
const angleHelpers = await deploy('AngleBorrowHelpersArbitrum', {
const angleHelpers = await deploy('AngleBorrowHelpersAvalanche', {
contract: 'TransparentUpgradeableProxy',
from: deployer.address,
args: [angleHelpersImplementation.address, proxyAdmin, '0x'],
Expand Down
235 changes: 235 additions & 0 deletions deployments/avalanche/AngleBorrowHelpersAvalanche.json

Large diffs are not rendered by default.

152 changes: 152 additions & 0 deletions deployments/avalanche/AngleHelpers_Avalanche_Implementation.json

Large diffs are not rendered by default.

0 comments on commit 17c86ec

Please sign in to comment.