Documentation ¶
Index ¶
- type Eth
- func (_m *Eth) CheckEnabled(ctx context.Context, address common.Address, chainID *big.Int) error
- func (_m *Eth) EnabledAddressesForChain(ctx context.Context, chainID *big.Int) ([]common.Address, error)
- func (_m *Eth) SignTx(ctx context.Context, fromAddress common.Address, tx *types.Transaction, ...) (*types.Transaction, error)
- func (_m *Eth) SubscribeToKeyChanges(ctx context.Context) (chan struct{}, func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Eth ¶
Eth is an autogenerated mock type for the Eth type
func NewEth ¶
NewEth creates a new instance of Eth. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Eth) CheckEnabled ¶
CheckEnabled provides a mock function with given fields: ctx, address, chainID
func (*Eth) EnabledAddressesForChain ¶
func (_m *Eth) EnabledAddressesForChain(ctx context.Context, chainID *big.Int) ([]common.Address, error)
EnabledAddressesForChain provides a mock function with given fields: ctx, chainID
func (*Eth) SignTx ¶
func (_m *Eth) SignTx(ctx context.Context, fromAddress common.Address, tx *types.Transaction, chainID *big.Int) (*types.Transaction, error)
SignTx provides a mock function with given fields: ctx, fromAddress, tx, chainID
func (*Eth) SubscribeToKeyChanges ¶
SubscribeToKeyChanges provides a mock function with given fields: ctx
Click to show internal directories.
Click to hide internal directories.