mocks

package
v1.10.17 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSA added in v1.10.17

type CSA struct {
	mock.Mock
}

CSA is an autogenerated mock type for the CSA type

func (*CSA) Add added in v1.10.17

func (_m *CSA) Add(key csakey.KeyV2) error

Add provides a mock function with given fields: key

func (*CSA) Create added in v1.10.17

func (_m *CSA) Create() (csakey.KeyV2, error)

Create provides a mock function with given fields:

func (*CSA) Delete added in v1.10.17

func (_m *CSA) Delete(id string) (csakey.KeyV2, error)

Delete provides a mock function with given fields: id

func (*CSA) Export added in v1.10.17

func (_m *CSA) Export(id string, password string) ([]byte, error)

Export provides a mock function with given fields: id, password

func (*CSA) Get added in v1.10.17

func (_m *CSA) Get(id string) (csakey.KeyV2, error)

Get provides a mock function with given fields: id

func (*CSA) GetAll added in v1.10.17

func (_m *CSA) GetAll() ([]csakey.KeyV2, error)

GetAll provides a mock function with given fields:

func (*CSA) GetV1KeysAsV2 added in v1.10.17

func (_m *CSA) GetV1KeysAsV2() ([]csakey.KeyV2, error)

GetV1KeysAsV2 provides a mock function with given fields:

func (*CSA) Import added in v1.10.17

func (_m *CSA) Import(keyJSON []byte, password string) (csakey.KeyV2, error)

Import provides a mock function with given fields: keyJSON, password

type Eth added in v1.10.17

type Eth struct {
	mock.Mock
}

Eth is an autogenerated mock type for the Eth type

func (*Eth) Add added in v1.10.17

func (_m *Eth) Add(key ethkey.KeyV2, chainID *big.Int) error

Add provides a mock function with given fields: key, chainID

func (*Eth) Create added in v1.10.17

func (_m *Eth) Create(chainID *big.Int) (ethkey.KeyV2, error)

Create provides a mock function with given fields: chainID

func (*Eth) Delete added in v1.10.17

func (_m *Eth) Delete(id string) (ethkey.KeyV2, error)

Delete provides a mock function with given fields: id

func (*Eth) EnsureKeys added in v1.10.17

func (_m *Eth) EnsureKeys(chainID *big.Int) (ethkey.KeyV2, bool, ethkey.KeyV2, bool, error)

EnsureKeys provides a mock function with given fields: chainID

func (*Eth) Export added in v1.10.17

func (_m *Eth) Export(id string, password string) ([]byte, error)

Export provides a mock function with given fields: id, password

func (*Eth) FundingKeys added in v1.10.17

func (_m *Eth) FundingKeys() ([]ethkey.KeyV2, error)

FundingKeys provides a mock function with given fields:

func (*Eth) Get added in v1.10.17

func (_m *Eth) Get(id string) (ethkey.KeyV2, error)

Get provides a mock function with given fields: id

func (*Eth) GetAll added in v1.10.17

func (_m *Eth) GetAll() ([]ethkey.KeyV2, error)

GetAll provides a mock function with given fields:

func (*Eth) GetRoundRobinAddress added in v1.10.17

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

GetRoundRobinAddress provides a mock function with given fields: addresses

func (*Eth) GetState added in v1.10.17

func (_m *Eth) GetState(id string) (ethkey.State, error)

GetState provides a mock function with given fields: id

func (*Eth) GetStatesForChain added in v1.10.17

func (_m *Eth) GetStatesForChain(chainID *big.Int) ([]ethkey.State, error)

GetStatesForChain provides a mock function with given fields: chainID

func (*Eth) GetStatesForKeys added in v1.10.17

func (_m *Eth) GetStatesForKeys(_a0 []ethkey.KeyV2) ([]ethkey.State, error)

GetStatesForKeys provides a mock function with given fields: _a0

func (*Eth) GetV1KeysAsV2 added in v1.10.17

func (_m *Eth) GetV1KeysAsV2(chainID *big.Int) ([]ethkey.KeyV2, []ethkey.State, error)

GetV1KeysAsV2 provides a mock function with given fields: chainID

func (*Eth) Import added in v1.10.17

func (_m *Eth) Import(keyJSON []byte, password string, chainID *big.Int) (ethkey.KeyV2, error)

Import provides a mock function with given fields: keyJSON, password, chainID

func (*Eth) SendingKeys added in v1.10.17

func (_m *Eth) SendingKeys() ([]ethkey.KeyV2, error)

SendingKeys provides a mock function with given fields:

func (*Eth) SetState added in v1.10.17

func (_m *Eth) SetState(_a0 ethkey.State) error

SetState provides a mock function with given fields: _a0

func (*Eth) SignTx added in v1.10.17

func (_m *Eth) 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 (*Eth) SubscribeToKeyChanges added in v1.10.17

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

SubscribeToKeyChanges provides a mock function with given fields:

Jump to

Keyboard shortcuts

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