Skip to content

Commit

Permalink
Deployments (#17)
Browse files Browse the repository at this point in the history
* start deployment

* deploy bsc and avalanche

* deploying on Ethereum

* changing distrib
  • Loading branch information
sogipec authored Feb 24, 2023
1 parent 5115df3 commit 36234b4
Show file tree
Hide file tree
Showing 44 changed files with 23,183 additions and 713 deletions.
3 changes: 2 additions & 1 deletion deploy/0_distributor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const argv = yargs.env('').boolean('ci').parseSync();
const func: DeployFunction = async ({ deployments, ethers, network }) => {
const { deploy } = deployments;
const { deployer } = await ethers.getNamedSigners();

let core: string;

if (!network.live) {
Expand All @@ -19,6 +20,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 Down Expand Up @@ -49,7 +51,6 @@ const func: DeployFunction = async ({ deployments, ethers, network }) => {
const contract = new ethers.Contract(distributor, Distributor__factory.createInterface(), deployer) as Distributor;
await (await contract.connect(deployer).initialize(core)).wait();
console.log('Contract successfully initialized');
console.log(await contract.core());

console.log('');
};
Expand Down
1 change: 1 addition & 0 deletions deployments/arbitrum/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
42161
132 changes: 132 additions & 0 deletions deployments/arbitrum/DistributionCreator.json

Large diffs are not rendered by default.

Loading

0 comments on commit 36234b4

Please sign in to comment.