Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployContract ¶
func DeployContract(auth *bind.TransactOpts, backend bind.ContractBackend, contractABI, contractBytecodeHex string) (common.Address, *types.Transaction, *bind.BoundContract, error)
Types ¶
type Deployer ¶
func NewDeployer ¶
func (*Deployer) DeployContract ¶
func (d *Deployer) DeployContract(ctx context.Context, wallet *ethwallet.Wallet, contractABI, contractBytecodeHex string) (common.Address, *types.Transaction, *bind.BoundContract, error)
TODO: accept optional *TransactOpts argument, can be nil and we'll populate ourselves or make our own structs like DeployOpts with nonce, gasPrice and gasLimit
Click to show internal directories.
Click to hide internal directories.