Created
October 17, 2019 13:19
-
-
Save vince0656/c90020cfa8a9594e2c4720ee187cc02d 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
| submitBid() { | |
| if(this.isDrizzleInitialized) { | |
| const bidContractMethod = this.drizzleInstance.contracts[this.contractName].methods['bid']; | |
| bidContractMethod.cacheSend(this.parameter, { value: this.bidInWei }); | |
| } else { | |
| alert("Drizzle doesn't seem to be initialised / ready"); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment