Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthereumClient ¶
EthereumClient wraps the go-ethereum client with additional functionality
func NewEthereumClient ¶
func NewEthereumClient(rpcURL string) (*EthereumClient, error)
NewEthereumClient creates and returns a new Ethereum client
func (*EthereumClient) GetRPCURL ¶
func (c *EthereumClient) GetRPCURL() string
GetRPCURL returns the RPC URL used by this client
func (*EthereumClient) WaitForTxConfirmation ¶
func (c *EthereumClient) WaitForTxConfirmation(txHash common.Hash) error
WaitForTxConfirmation waits for a transaction to be mined and confirmed
type ValidatorManagerContract ¶
type ValidatorManagerContract struct {
*bindings.IValidatorManager
// contains filtered or unexported fields
}
ValidatorManagerContract wraps the ValidatorManager contract with additional functionality
func NewValidatorManagerContract ¶
func NewValidatorManagerContract(contractAddr string, ethClient *EthereumClient) (*ValidatorManagerContract, error)
NewValidatorManagerContract creates and returns a new ValidatorManager contract instance
func (*ValidatorManagerContract) GetAddress ¶
func (c *ValidatorManagerContract) GetAddress() common.Address
GetAddress returns the contract address
Click to show internal directories.
Click to hide internal directories.