Skip to content

Commit

Permalink
feat: add worldchain (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptistG authored Oct 23, 2024
1 parent e922429 commit 21e51b1
Show file tree
Hide file tree
Showing 16 changed files with 6,019 additions and 13 deletions.
2 changes: 1 addition & 1 deletion deploy/0_distributor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const func: DeployFunction = async ({ deployments, ethers, network }) => {
let core: string;
// TODO: change the coreMerkl address to that of the desired chain

core = '0x1746f9bb465d3747fe9C2CfE7759F4B871a06d3C';
core = '0xE9169817EdBFe5FCF629eD8b3C2a34E2a50ec84C';
const coreContract = new ethers.Contract(core, CoreBorrow__factory.createInterface(), deployer) as any;
if (await coreContract.GOVERNOR_ROLE()!= '0x7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f55') throw 'Invalid Core Merkl'

Expand Down
2 changes: 1 addition & 1 deletion deploy/1_distributionCreator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const func: DeployFunction = async ({ deployments, ethers, network }) => {
const { deployer } = await ethers.getNamedSigners();

let core: string;
core = '0x1746f9bb465d3747fe9C2CfE7759F4B871a06d3C';
core = '0xE9169817EdBFe5FCF629eD8b3C2a34E2a50ec84C';
const coreContract = new ethers.Contract(core, CoreBorrow__factory.createInterface(), deployer) as any;
if (await coreContract.GOVERNOR_ROLE()!= '0x7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f55') throw 'Invalid Core Merkl'

Expand Down
Loading

0 comments on commit 21e51b1

Please sign in to comment.