Skip to content

Commit

Permalink
feat: coredao and thundercore deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
sogipec committed Nov 13, 2023
1 parent 0876c50 commit 8162383
Show file tree
Hide file tree
Showing 19 changed files with 13,430 additions and 5 deletions.
4 changes: 2 additions & 2 deletions deploy/0_distributor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const func: DeployFunction = async ({ deployments, ethers, network }) => {
const { deployer } = await ethers.getNamedSigners();

let core: string;
// TODO: change the coreMerkl address to that of the desired chain
core = '0x3E399AE5B4D8bc0021e53b51c8BCdD66DD62c03b';
/*
if (!network.live) {
Expand All @@ -23,7 +24,7 @@ const func: DeployFunction = async ({ deployments, ethers, network }) => {

console.log('Let us get started with deployment');
console.log(deployer.address);
/*

console.log('Now deploying Distributor');
console.log('Starting with the implementation');

Expand All @@ -32,7 +33,6 @@ const func: DeployFunction = async ({ deployments, ethers, network }) => {
from: deployer.address,
log: !argv.ci,
});
*/

const implementationAddress = (await ethers.getContract('Distributor_Implementation_2')).address;

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

let core: string;
// TODO: change the coreMerkl address to that of the desired chain
core = '0x3E399AE5B4D8bc0021e53b51c8BCdD66DD62c03b';
/*
if (!network.live) {
Expand Down Expand Up @@ -78,5 +79,5 @@ const func: DeployFunction = async ({ deployments, ethers, network }) => {
};

func.tags = ['distributionCreator'];
func.dependencies = [];
func.dependencies = ['distributor'];
export default func;
1 change: 1 addition & 0 deletions deployments/coredao/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1116
132 changes: 132 additions & 0 deletions deployments/coredao/DistributionCreator.json

Large diffs are not rendered by default.

Loading

0 comments on commit 8162383

Please sign in to comment.