Skip to content

Commit

Permalink
deploy: binance
Browse files Browse the repository at this point in the history
  • Loading branch information
Gevarist authored May 3, 2023
1 parent 6f4360d commit 6afd1a8
Show file tree
Hide file tree
Showing 29 changed files with 5,876 additions and 26 deletions.
6 changes: 4 additions & 2 deletions deploy/ArrakisV2.deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum"
hre.network.name === "arbitrum" ||
hre.network.name === "binance"
) {
console.log(
`Deploying ArrakisV2 to ${hre.network.name}. Hit ctrl + c to abort`
Expand Down Expand Up @@ -41,7 +42,8 @@ func.skip = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum";
hre.network.name === "arbitrum" ||
hre.network.name === "binance";
return shouldSkip ? true : false;
};
func.tags = ["ArrakisV2"];
Expand Down
6 changes: 4 additions & 2 deletions deploy/ArrakisV2Beacon.deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum"
hre.network.name === "arbitrum" ||
hre.network.name === "binance"
) {
console.log(
`Deploying ArrakisV2Beacon to ${hre.network.name}. Hit ctrl + c to abort`
Expand Down Expand Up @@ -41,7 +42,8 @@ func.skip = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum";
hre.network.name === "arbitrum" ||
hre.network.name === "binance";
return shouldSkip ? true : false;
};
func.tags = ["ArrakisV2Beacon"];
Expand Down
6 changes: 4 additions & 2 deletions deploy/ArrakisV2Factory.deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum"
hre.network.name === "arbitrum" ||
hre.network.name === "binance"
) {
console.log(
`Deploying ArrakisV2Factory to ${hre.network.name}. Hit ctrl + c to abort`
Expand Down Expand Up @@ -43,7 +44,8 @@ func.skip = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum";
hre.network.name === "arbitrum" ||
hre.network.name === "binance";
return shouldSkip ? true : false;
};
func.tags = ["ArrakisV2Factory"];
Expand Down
6 changes: 4 additions & 2 deletions deploy/ArrakisV2Helper.deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum"
hre.network.name === "arbitrum" ||
hre.network.name === "binance"
) {
console.log(
`Deploying ArrakisV2Helper to ${hre.network.name}. Hit ctrl + c to abort`
Expand Down Expand Up @@ -40,7 +41,8 @@ func.skip = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum";
hre.network.name === "arbitrum" ||
hre.network.name === "binance";
return shouldSkip ? true : false;
};
func.tags = ["ArrakisV2Helper"];
Expand Down
6 changes: 4 additions & 2 deletions deploy/ArrakisV2Resolver.deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum"
hre.network.name === "arbitrum" ||
hre.network.name === "binance"
) {
console.log(
`Deploying ArrakisV2Resolver to ${hre.network.name}. Hit ctrl + c to abort`
Expand Down Expand Up @@ -43,7 +44,8 @@ func.skip = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum";
hre.network.name === "arbitrum" ||
hre.network.name === "binance";
return shouldSkip ? true : false;
};
func.tags = ["ArrakisV2Resolver"];
Expand Down
6 changes: 4 additions & 2 deletions deploy/Pool.deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum"
hre.network.name === "arbitrum" ||
hre.network.name === "binance"
) {
console.log(`Deploying Pool to ${hre.network.name}. Hit ctrl + c to abort`);
await sleep(10000);
Expand All @@ -31,7 +32,8 @@ func.skip = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum";
hre.network.name === "arbitrum" ||
hre.network.name === "binance";
return shouldSkip ? true : false;
};
func.tags = ["Pool"];
6 changes: 4 additions & 2 deletions deploy/Position.deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum"
hre.network.name === "arbitrum" ||
hre.network.name === "binance"
) {
console.log(
`Deploying Position to ${hre.network.name}. Hit ctrl + c to abort`
Expand All @@ -33,7 +34,8 @@ func.skip = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum";
hre.network.name === "arbitrum" ||
hre.network.name === "binance";
return shouldSkip ? true : false;
};
func.tags = ["Position"];
6 changes: 4 additions & 2 deletions deploy/Underlying.deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum"
hre.network.name === "arbitrum" ||
hre.network.name === "binance"
) {
console.log(
`Deploying Underlying to ${hre.network.name}. Hit ctrl + c to abort`
Expand All @@ -36,7 +37,8 @@ func.skip = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum";
hre.network.name === "arbitrum" ||
hre.network.name === "binance";
return shouldSkip ? true : false;
};
func.tags = ["Underlying"];
Expand Down
6 changes: 4 additions & 2 deletions deploy/__mocks__/ManagerProxyMock.deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum"
hre.network.name === "arbitrum" ||
hre.network.name === "binance"
) {
console.log(
`Deploying ManagerProxyMock to ${hre.network.name}. Hit ctrl + c to abort`
Expand All @@ -33,7 +34,8 @@ func.skip = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum";
hre.network.name === "arbitrum" ||
hre.network.name === "binance";
return shouldSkip ? true : false;
};
func.tags = ["ManagerProxyMock"];
6 changes: 4 additions & 2 deletions deploy/__mocks__/MockFArrakisV2.deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum"
hre.network.name === "arbitrum" ||
hre.network.name === "binance"
) {
console.log(
`Deploying MockFArrakisV2 to ${hre.network.name}. Hit ctrl + c to abort`
Expand Down Expand Up @@ -38,7 +39,8 @@ func.skip = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum";
hre.network.name === "arbitrum" ||
hre.network.name === "binance";
return shouldSkip ? true : false;
};
func.tags = ["MockFArrakisV2"];
Expand Down
6 changes: 4 additions & 2 deletions deploy/__mocks__/MockFArrakisV2Factory.deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum"
hre.network.name === "arbitrum" ||
hre.network.name === "binance"
) {
console.log(
`Deploying MockFArrakisV2Factory to ${hre.network.name}. Hit ctrl + c to abort`
Expand All @@ -33,7 +34,8 @@ func.skip = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum";
hre.network.name === "arbitrum" ||
hre.network.name === "binance";
return shouldSkip ? true : false;
};
func.tags = ["MockFArrakisV2Factory"];
6 changes: 4 additions & 2 deletions deploy/__mocks__/MockTransparentImplementation.deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum"
hre.network.name === "arbitrum" ||
hre.network.name === "binance"
) {
console.log(
`Deploying MockTransparentImplementation to ${hre.network.name}. Hit ctrl + c to abort`
Expand Down Expand Up @@ -39,7 +40,8 @@ func.skip = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum";
hre.network.name === "arbitrum" ||
hre.network.name === "binance";
return shouldSkip ? true : false;
};
func.tags = ["MockTransparentImplementation"];
Expand Down
6 changes: 4 additions & 2 deletions deploy/__mocks__/TempProxyAdmin.deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum"
hre.network.name === "arbitrum" ||
hre.network.name === "binance"
) {
console.log(
`Deploying TempProxyAdmin to ${hre.network.name}. Hit ctrl + c to abort`
Expand All @@ -33,7 +34,8 @@ func.skip = async (hre: HardhatRuntimeEnvironment) => {
hre.network.name === "polygon" ||
hre.network.name === "goerli" ||
hre.network.name === "optimism" ||
hre.network.name === "arbitrum";
hre.network.name === "arbitrum" ||
hre.network.name === "binance";
return shouldSkip ? true : false;
};
func.tags = ["TempProxyAdmin"];
1 change: 1 addition & 0 deletions deployments/binance/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
56
Loading

0 comments on commit 6afd1a8

Please sign in to comment.