Compare commits
1 Commits
master
...
deletemewh
Author | SHA1 | Date | |
---|---|---|---|
533065e527 |
@ -34,35 +34,36 @@ async function main() {
|
|||||||
|
|
||||||
const blocksVetoPeriod = 40320; // 7 days; 15 seconds block time
|
const blocksVetoPeriod = 40320; // 7 days; 15 seconds block time
|
||||||
|
|
||||||
await deployContractProxy('Contributor');
|
// await deployContractProxy('Contributor');
|
||||||
await deployContractProxy('Contribution', [ blocksVetoPeriod ]);
|
// await deployContractProxy('Contribution', [ blocksVetoPeriod ]);
|
||||||
await deployContractProxy('Token');
|
await deployContractProxy('Token');
|
||||||
await deployContractProxy('Reimbursement');
|
// await deployContractProxy('Reimbursement');
|
||||||
|
|
||||||
await contracts.Contributor
|
// await contracts.Contributor
|
||||||
.setTokenContract(contracts.Token.address)
|
// .setTokenContract(contracts.Token.address)
|
||||||
.then(res => res.wait()).catch(handleError);
|
// .then(res => res.wait()).catch(handleError);
|
||||||
await contracts.Contributor
|
// await contracts.Contributor
|
||||||
.setContributionContract(contracts.Contribution.address)
|
// .setContributionContract(contracts.Contribution.address)
|
||||||
.then(res => res.wait()).catch(handleError);
|
// .then(res => res.wait()).catch(handleError);
|
||||||
|
//
|
||||||
await contracts.Contribution
|
// await contracts.Contribution
|
||||||
.setTokenContract(contracts.Token.address)
|
// .setTokenContract(contracts.Token.address)
|
||||||
.then(res => res.wait()).catch(handleError);
|
// .then(res => res.wait()).catch(handleError);
|
||||||
await contracts.Contribution
|
// await contracts.Contribution
|
||||||
.setContributorContract(contracts.Contributor.address)
|
// .setContributorContract(contracts.Contributor.address)
|
||||||
.then(res => res.wait()).catch(handleError);
|
// .then(res => res.wait()).catch(handleError);
|
||||||
|
|
||||||
|
// await contracts.Token
|
||||||
|
// .setContributionContract(contracts.Contribution.address)
|
||||||
|
// .then(res => res.wait()).catch(handleError);
|
||||||
await contracts.Token
|
await contracts.Token
|
||||||
.setContributionContract(contracts.Contribution.address)
|
// .setContributorContract(contracts.Contributor.address)
|
||||||
.then(res => res.wait()).catch(handleError);
|
.setContributorContract('0xEb4100b5939E243f69873A8E463eDa0aE84e43E8')
|
||||||
await contracts.Token
|
|
||||||
.setContributorContract(contracts.Contributor.address)
|
|
||||||
.then(res => res.wait()).catch(handleError);
|
.then(res => res.wait()).catch(handleError);
|
||||||
|
|
||||||
await contracts.Reimbursement
|
// await contracts.Reimbursement
|
||||||
.setContributorContract(contracts.Contributor.address)
|
// .setContributorContract(contracts.Contributor.address)
|
||||||
.then(res => res.wait()).catch(handleError);
|
// .then(res => res.wait()).catch(handleError);
|
||||||
|
|
||||||
const addresses = {
|
const addresses = {
|
||||||
Contributor: contracts.Contributor.address,
|
Contributor: contracts.Contributor.address,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user