Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BridgeQueryClient ¶
type BridgeQueryClient interface { bridgetypes.QueryClient }
BridgeQueryClient is an interface that encapsulates the x/bridge `QueryClient` interface.
type EthClient ¶
type EthClient interface { ChainID(ctx context.Context) (*big.Int, error) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]ethcoretypes.Log, error) SuggestGasPrice(ctx context.Context) (*big.Int, error) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error) SendTransaction(ctx context.Context, tx *types.Transaction) error CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error) EstimateGas(ctx context.Context, call ethereum.CallMsg) (gas uint64, err error) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error) }
EthClient is an interface that encapsulates querying an Ethereum JSON-RPC endpoint.
Click to show internal directories.
Click to hide internal directories.