Created
October 17, 2019 13:19
-
-
Save vince0656/096b708e039cb641af081dce60e682ae to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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