Documentation
¶
Index ¶
- type ChainClient
- func (c *ChainClient) NonceAt(ctx context.Context, address common.Address, blockNumber *big.Int) (uint64, error)
- func (c *ChainClient) PendingNonceAt(ctx context.Context, address common.Address) (uint64, error)
- func (c *ChainClient) SendTransaction(ctx context.Context, _ *types.Transaction, attempt *types.Attempt) error
- type DualBroadcastClient
- func (d *DualBroadcastClient) NonceAt(ctx context.Context, address common.Address, blockNumber *big.Int) (uint64, error)
- func (d *DualBroadcastClient) PendingNonceAt(ctx context.Context, address common.Address) (uint64, error)
- func (d *DualBroadcastClient) SendTransaction(ctx context.Context, tx *types.Transaction, attempt *types.Attempt) error
- type GethClient
- func (g *GethClient) BatchCallContext(ctx context.Context, b []rpc.BatchElem) error
- func (g *GethClient) CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error
- func (g *GethClient) CallContract(ctx context.Context, message ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
- func (g *GethClient) HeadByNumber(ctx context.Context, number *big.Int) (*evmtypes.Head, error)
- func (g *GethClient) SendTransaction(ctx context.Context, _ *types.Transaction, attempt *types.Attempt) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainClient ¶
type ChainClient struct {
// contains filtered or unexported fields
}
func NewChainClient ¶
func NewChainClient(client client.Client) *ChainClient
func (*ChainClient) PendingNonceAt ¶
func (*ChainClient) SendTransaction ¶
func (c *ChainClient) SendTransaction(ctx context.Context, _ *types.Transaction, attempt *types.Attempt) error
type DualBroadcastClient ¶
type DualBroadcastClient struct {
// contains filtered or unexported fields
}
func NewDualBroadcastClient ¶
func NewDualBroadcastClient(c client.Client, keystore keys.MessageSigner, customURL *url.URL) *DualBroadcastClient
func (*DualBroadcastClient) PendingNonceAt ¶
func (*DualBroadcastClient) SendTransaction ¶
func (d *DualBroadcastClient) SendTransaction(ctx context.Context, tx *types.Transaction, attempt *types.Attempt) error
type GethClient ¶
func NewGethClient ¶
func NewGethClient(client *ethclient.Client) *GethClient
func (*GethClient) BatchCallContext ¶
func (*GethClient) CallContext ¶
func (g *GethClient) CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error
func (*GethClient) CallContract ¶
func (*GethClient) HeadByNumber ¶
func (*GethClient) SendTransaction ¶
func (g *GethClient) SendTransaction(ctx context.Context, _ *types.Transaction, attempt *types.Attempt) error
Click to show internal directories.
Click to hide internal directories.