Documentation ¶
Index ¶
- type OracleBackendChain
- func (_m *OracleBackendChain) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error)
- func (_m *OracleBackendChain) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
- func (_m *OracleBackendChain) ChainConfig() *params.ChainConfig
- func (_m *OracleBackendChain) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
- func (_m *OracleBackendChain) SuggestGasPrice(ctx context.Context) (*big.Int, error)
- func (_m *OracleBackendChain) SuggestGasTipCap(ctx context.Context) (*big.Int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OracleBackendChain ¶
OracleBackendChain is an autogenerated mock type for the OracleBackendChain type
func (*OracleBackendChain) BlockByHash ¶
func (_m *OracleBackendChain) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error)
BlockByHash provides a mock function with given fields: ctx, hash
func (*OracleBackendChain) BlockByNumber ¶
func (_m *OracleBackendChain) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
BlockByNumber provides a mock function with given fields: ctx, number
func (*OracleBackendChain) ChainConfig ¶
func (_m *OracleBackendChain) ChainConfig() *params.ChainConfig
ChainConfig provides a mock function with given fields:
func (*OracleBackendChain) HeaderByNumber ¶
func (_m *OracleBackendChain) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
HeaderByNumber provides a mock function with given fields: ctx, number
func (*OracleBackendChain) SuggestGasPrice ¶
SuggestGasPrice provides a mock function with given fields: ctx
func (*OracleBackendChain) SuggestGasTipCap ¶
SuggestGasTipCap provides a mock function with given fields: ctx
Click to show internal directories.
Click to hide internal directories.