Skip to content

Commit a0e5ba1

Browse files
[Bot] Add automatically generated go documentation (#1662)
Co-authored-by: Tofel <[email protected]>
1 parent dc1fc78 commit a0e5ba1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

seth/client.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,9 @@ func (cl *ContractLoader[T]) LoadContract(name string, address common.Address, a
10021002
return wrapperInitFn(address, cl.Client.Client)
10031003
}
10041004

1005+
// DeployContractWithHooks deploys a smart contract with optional pre- and post-deployment hooks.
1006+
// It allows for custom logic to be executed before and after the contract deployment process,
1007+
// enhancing flexibility and control over the deployment workflow.
10051008
func (m *Client) DeployContractWithHooks(hooks ContractDeploymentHooks, auth *bind.TransactOpts, name string, abi abi.ABI, bytecode []byte, params ...interface{}) (DeploymentData, error) {
10061009
L.Info().
10071010
Msgf("Started deploying %s contract", name)

0 commit comments

Comments
 (0)