Skip to content

Instantly share code, notes, and snippets.

@Perseverance
Last active October 4, 2018 06:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Perseverance/ae895996ae2722986fbf72fe3e035781 to your computer and use it in GitHub Desktop.
Save Perseverance/ae895996ae2722986fbf72fe3e035781 to your computer and use it in GitHub Desktop.
_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