Skip to content

Commit

Permalink
feat: add BTC pool deployments on BNB chain
Browse files Browse the repository at this point in the history
  • Loading branch information
kkirka committed Dec 12, 2024
1 parent 70f87e5 commit e604d39
Show file tree
Hide file tree
Showing 16 changed files with 8,714 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deploy/004-swap-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
autoMine: true,
skipIfAlreadyDeployed: true,
});

const comptrollerBTCAddresses = (await deployments.get("Comptroller_BTC")).address;
await deploy("SwapRouter_BTC", {
contract: "SwapRouter",
from: deployer,
args: [wBNBAddress, pancakeFactoryAddress, comptrollerBTCAddresses, vbnbAddress],
log: true,
autoMine: true,
skipIfAlreadyDeployed: true,
});
};

func.tags = ["SwapRouter", "il"];
Expand Down
1 change: 1 addition & 0 deletions deploy/008-deploy-comptrollers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
args: [poolRegistry.address],
log: true,
autoMine: true,
skipIfAlreadyDeployed: true,
});

// Comptroller Beacon
Expand Down
187 changes: 187 additions & 0 deletions deployments/bscmainnet/Comptroller_BTC.json

Large diffs are not rendered by default.

Loading

0 comments on commit e604d39

Please sign in to comment.