Last active
October 4, 2018 06:59
-
-
Save Perseverance/ae895996ae2722986fbf72fe3e035781 to your computer and use it in GitHub Desktop.
This file contains 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
_createDeployTransaction(addressHash, addressSig) { | |
return ethers.Contract.getDeployTransaction(IdentityProxy.bytecode, IdentityProxy.abi, settings.implementationAddress, connection.wallet.address, addressHash, addressSig); | |
} | |
_setupDeployTransaction(deployTransaction) { | |
deployTransaction.gasLimit = this.deploymentGasNeeded; | |
deployTransaction.gasPrice = this.deploymentGasPrice; | |
return deployTransaction; | |
} | |
_signDeployTransaction(deployTransaction) { | |
return connection.wallet.sign(deployTransaction); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment