Skip to content

Instantly share code, notes, and snippets.

@vince0656
Created October 17, 2019 13:19
Show Gist options
  • Select an option

  • Save vince0656/096b708e039cb641af081dce60e682ae to your computer and use it in GitHub Desktop.

Select an option

Save vince0656/096b708e039cb641af081dce60e682ae to your computer and use it in GitHub Desktop.
get minBid(): number {
if (this.isDrizzleInitialized) {
const min = this.getContractData({
contract: this.contractName,
method: 'minBid'
});
let minInEther: number = etherFromWei(this.drizzleInstance, min, DEFAULT_MIN_BID);
return minInEther;
}
return DEFAULT_MIN_BID;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment