Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/dependencies #198

Merged
merged 22 commits into from Jul 31, 2019
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Running prettier

  • Loading branch information
Freydal committed Jul 30, 2019
commit eff625a0dad0d1dde4c9d113e6520051c33be5f3
@@ -77,11 +77,7 @@ export class KosuToken {
throw new Error("Invalid network for KosuToken");
}

this.contract = new KosuTokenContract(
this.address,
this.web3Wrapper.getProvider(),
{ from: coinbase },
);
this.contract = new KosuTokenContract(this.address, this.web3Wrapper.getProvider(), { from: coinbase });
}
return this.contract;
}
@@ -70,11 +70,9 @@ export class PosterRegistry {
throw new Error("Invalid network for PosterRegistry");
}

this.contract = new PosterRegistryContract(
this.address,
this.web3Wrapper.getProvider(),
{ from: coinbase },
);
this.contract = new PosterRegistryContract(this.address, this.web3Wrapper.getProvider(), {
from: coinbase,
});
}
return this.contract;
}
@@ -78,11 +78,7 @@ export class Treasury {
throw new Error("Invalid network for Treasury");
}

this.contract = new TreasuryContract(
this.address,
this.web3Wrapper.getProvider(),
{ from: this.coinbase },
);
this.contract = new TreasuryContract(this.address, this.web3Wrapper.getProvider(), { from: this.coinbase });
}
return this.contract;
}
@@ -51,11 +51,9 @@ export class ValidatorRegistry {
throw new Error("Invalid network for ValidatorRegistry");
}

this.contract = new ValidatorRegistryContract(
this.address,
this.web3Wrapper.getProvider(),
{ from: this.coinbase },
);
this.contract = new ValidatorRegistryContract(this.address, this.web3Wrapper.getProvider(), {
from: this.coinbase,
});
}
return this.contract;
}
@@ -52,11 +52,7 @@ export class Voting {
throw new Error("Invalid network for Voting");
}

this.contract = new VotingContract(
this.address,
this.web3Wrapper.getProvider(),
{ from: this.coinbase },
);
this.contract = new VotingContract(this.address, this.web3Wrapper.getProvider(), { from: this.coinbase });
}
return this.contract;
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.