@@ -27,6 +27,9 @@ class Contribution extends Base {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getByContributorId(contributorId) {
|
getByContributorId(contributorId) {
|
||||||
|
return this.functions.getContributorAddressById(contributorId)
|
||||||
|
.then(address => this.getByContributorAddress(address));
|
||||||
|
}
|
||||||
// return this.functions.balanceOf(address)
|
// return this.functions.balanceOf(address)
|
||||||
// then(balance => {
|
// then(balance => {
|
||||||
// count = balance.toNumber();
|
// count = balance.toNumber();
|
||||||
|
|||||||
Reference in New Issue
Block a user