Documentation
¶
Index ¶
- type BoundContractC
- type EthTransport
- func (et *EthTransport) Close(ctx context.Context)
- func (et *EthTransport) Dial(ctx context.Context) (err error)
- func (et *EthTransport) GetBlockHeader(ctx context.Context, height *big.Int) (h *types.Header, err error)
- func (et *EthTransport) GetBoundContractCaller(ctx context.Context, address common.Address, a abi.ABI) transport.BoundContractCaller
- func (et *EthTransport) GetLatestBlockHeight(ctx context.Context) (uint64, error)
- func (et *EthTransport) GetLogs(ctx context.Context, from, to big.Int, contracts []common.Address) (logs []types.Log, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoundContractC ¶
type BoundContractC struct { ET *EthTransport // contains filtered or unexported fields }
func (*BoundContractC) AbiUnpack ¶
func (bcc *BoundContractC) AbiUnpack(method string, data []byte) (res []interface{}, err error)
func (*BoundContractC) GetContract ¶
func (bcc *BoundContractC) GetContract() *bind.BoundContract
type EthTransport ¶
func NewEthTransport ¶
func NewEthTransport(url string) *EthTransport
func (*EthTransport) Close ¶
func (et *EthTransport) Close(ctx context.Context)
func (*EthTransport) GetBlockHeader ¶
func (*EthTransport) GetBoundContractCaller ¶
func (et *EthTransport) GetBoundContractCaller(ctx context.Context, address common.Address, a abi.ABI) transport.BoundContractCaller
func (*EthTransport) GetLatestBlockHeight ¶
func (et *EthTransport) GetLatestBlockHeight(ctx context.Context) (uint64, error)
Click to show internal directories.
Click to hide internal directories.