Skip to content

Commit 17c86ec

Browse files
committed
verifying borrow helpers contract
1 parent 3777a06 commit 17c86ec

File tree

3 files changed

+394
-3
lines changed

3 files changed

+394
-3
lines changed

deploy/ui-helpers.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,24 @@ const func: DeployFunction = async ({ deployments, ethers, network }) => {
1515
// Otherwise, we're using the proxy admin address from the desired network
1616
proxyAdmin = CONTRACTS_ADDRESSES[network.config.chainId as ChainId].ProxyAdmin!;
1717
}
18+
// Using the proxyAdminGuardian for Avalanche
19+
proxyAdmin = '0xe14bFA5575d9906BA35beb15C9DBe5C77bFdd5b5';
1820
console.log('deployer ', deployer.address);
1921

2022
console.log('Now deploying the AngleHelpers contract');
2123
console.log('Starting with the implementation');
22-
const angleHelpersImplementation = await deploy('AngleHelpers_Arbitrum_Implementation', {
24+
const angleHelpersImplementation = await deploy('AngleHelpers_Avalanche_Implementation', {
2325
contract: 'AngleBorrowHelpers',
2426
from: deployer.address,
2527
});
2628

27-
console.log(`Successfully deployed the Arbitrum implementation for AngleBorrowHelpers at ${angleHelpersImplementation.address}\n`);
29+
console.log(
30+
`Successfully deployed the Avalanche implementation for AngleBorrowHelpers at ${angleHelpersImplementation.address}\n`,
31+
);
2832

2933
console.log('Now deploying the Proxy');
3034
console.log(`Proxy admin: ${proxyAdmin}`);
31-
const angleHelpers = await deploy('AngleBorrowHelpersArbitrum', {
35+
const angleHelpers = await deploy('AngleBorrowHelpersAvalanche', {
3236
contract: 'TransparentUpgradeableProxy',
3337
from: deployer.address,
3438
args: [angleHelpersImplementation.address, proxyAdmin, '0x'],

deployments/avalanche/AngleBorrowHelpersAvalanche.json

Lines changed: 235 additions & 0 deletions
Large diffs are not rendered by default.

deployments/avalanche/AngleHelpers_Avalanche_Implementation.json

Lines changed: 152 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)