# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ClientFromContext retrieves an interface implementing ethhelpers.Client from the context, if any.
ConfigFromContext retrieves an ethhelpers.Config from the context, if any.
ContextWithClient creates a new context which contains an ethhelpers.Client.
ContextWithClients creates a new context which contains both the RPC client and a newly created ethclient client.
ContextWithConfig creates a new context which contains an ethhelpers config.
ContextWithRPCClient creates a new context which contains an RPC client.
ContractFromConfigInContext retrieves a Contract from the ContractContainer in the Config stored in the context, if any.
Same as ContractFromConfigInContext, except it returns a nil object if not present.
DefaultErrorHandlerWithLogger is used by e.g.
NewClientWithHandlers creates a new client with custom handlers.
No description provided by the author
No description provided by the author
No description provided by the author
NewPeriodicBlockNumberTicker creates a new block number ticker that ticks at a fixed time interval, starting from the current block number.
NewPeriodicBlockNumberTickerFromBlock creates a new block number ticker that ticks at a fixed time interval, starting from the given block number.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RPCClientFromContext retrieves an *rpc.Client from the context, if any.
The context argument cancels the RPC request that sets up the subscription but has no effect on the subscription after Subscribe has returned.
WaitForTransactionReceipt
The result channel always sends either the receipt or error, and does not close.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
ContractContainer uses a sync.Map to hold Contract instances.
No description provided by the author
TODO: Move to types.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
BlockNumberTicker is a ticker that emits block numbers.
No description provided by the author
Client is an interface that holds the same methods as ethclient.Client.
No description provided by the author
No description provided by the author
No description provided by the author