mocks

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthKeyStoreInterface

type EthKeyStoreInterface struct {
	mock.Mock
}

EthKeyStoreInterface is an autogenerated mock type for the EthKeyStoreInterface type

func (*EthKeyStoreInterface) AddKey

func (_m *EthKeyStoreInterface) AddKey(key *ethkey.Key) error

AddKey provides a mock function with given fields: key

func (*EthKeyStoreInterface) AllKeys

func (_m *EthKeyStoreInterface) AllKeys() ([]ethkey.Key, error)

AllKeys provides a mock function with given fields:

func (*EthKeyStoreInterface) CreateNewKey

func (_m *EthKeyStoreInterface) CreateNewKey() (ethkey.Key, error)

CreateNewKey provides a mock function with given fields:

func (*EthKeyStoreInterface) EnsureFundingKey

func (_m *EthKeyStoreInterface) EnsureFundingKey() (ethkey.Key, bool, error)

EnsureFundingKey provides a mock function with given fields:

func (*EthKeyStoreInterface) ExportKey

func (_m *EthKeyStoreInterface) ExportKey(address common.Address, newPassword string) ([]byte, error)

ExportKey provides a mock function with given fields: address, newPassword

func (*EthKeyStoreInterface) FundingKeys

func (_m *EthKeyStoreInterface) FundingKeys() ([]ethkey.Key, error)

FundingKeys provides a mock function with given fields:

func (*EthKeyStoreInterface) GetRoundRobinAddress

func (_m *EthKeyStoreInterface) GetRoundRobinAddress(addresses ...common.Address) (common.Address, error)

GetRoundRobinAddress provides a mock function with given fields: addresses

func (*EthKeyStoreInterface) HasDBSendingKeys

func (_m *EthKeyStoreInterface) HasDBSendingKeys() (bool, error)

HasDBSendingKeys provides a mock function with given fields:

func (*EthKeyStoreInterface) HasSendingKeyWithAddress

func (_m *EthKeyStoreInterface) HasSendingKeyWithAddress(address common.Address) (bool, error)

HasSendingKeyWithAddress provides a mock function with given fields: address

func (*EthKeyStoreInterface) ImportKey

func (_m *EthKeyStoreInterface) ImportKey(keyJSON []byte, oldPassword string) (ethkey.Key, error)

ImportKey provides a mock function with given fields: keyJSON, oldPassword

func (*EthKeyStoreInterface) ImportKeyFileToDB

func (_m *EthKeyStoreInterface) ImportKeyFileToDB(keyPath string) (ethkey.Key, error)

ImportKeyFileToDB provides a mock function with given fields: keyPath

func (*EthKeyStoreInterface) KeyByAddress

func (_m *EthKeyStoreInterface) KeyByAddress(address common.Address) (ethkey.Key, error)

KeyByAddress provides a mock function with given fields: address

func (*EthKeyStoreInterface) RemoveKey

func (_m *EthKeyStoreInterface) RemoveKey(address common.Address, hardDelete bool) (ethkey.Key, error)

RemoveKey provides a mock function with given fields: address, hardDelete

func (*EthKeyStoreInterface) SendingKeys

func (_m *EthKeyStoreInterface) SendingKeys() ([]ethkey.Key, error)

SendingKeys provides a mock function with given fields:

func (*EthKeyStoreInterface) SignTx

func (_m *EthKeyStoreInterface) SignTx(fromAddress common.Address, tx *types.Transaction, chainID *big.Int) (*types.Transaction, error)

SignTx provides a mock function with given fields: fromAddress, tx, chainID

func (*EthKeyStoreInterface) SubscribeToKeyChanges

func (_m *EthKeyStoreInterface) SubscribeToKeyChanges() (chan struct{}, func())

SubscribeToKeyChanges provides a mock function with given fields:

func (*EthKeyStoreInterface) Unlock

func (_m *EthKeyStoreInterface) Unlock(password string) error

Unlock provides a mock function with given fields: password

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL