Documentation ¶
Index ¶
- type CSA
- func (_m *CSA) Add(key csakey.KeyV2) error
- func (_m *CSA) Create() (csakey.KeyV2, error)
- func (_m *CSA) Delete(id string) (csakey.KeyV2, error)
- func (_m *CSA) Export(id string, password string) ([]byte, error)
- func (_m *CSA) Get(id string) (csakey.KeyV2, error)
- func (_m *CSA) GetAll() ([]csakey.KeyV2, error)
- func (_m *CSA) GetV1KeysAsV2() ([]csakey.KeyV2, error)
- func (_m *CSA) Import(keyJSON []byte, password string) (csakey.KeyV2, error)
- type Eth
- func (_m *Eth) Add(key ethkey.KeyV2, chainID *big.Int) error
- func (_m *Eth) Create(chainID *big.Int) (ethkey.KeyV2, error)
- func (_m *Eth) Delete(id string) (ethkey.KeyV2, error)
- func (_m *Eth) EnsureKeys(chainID *big.Int) (ethkey.KeyV2, bool, ethkey.KeyV2, bool, error)
- func (_m *Eth) Export(id string, password string) ([]byte, error)
- func (_m *Eth) FundingKeys() ([]ethkey.KeyV2, error)
- func (_m *Eth) Get(id string) (ethkey.KeyV2, error)
- func (_m *Eth) GetAll() ([]ethkey.KeyV2, error)
- func (_m *Eth) GetRoundRobinAddress(addresses ...common.Address) (common.Address, error)
- func (_m *Eth) GetState(id string) (ethkey.State, error)
- func (_m *Eth) GetStatesForChain(chainID *big.Int) ([]ethkey.State, error)
- func (_m *Eth) GetStatesForKeys(_a0 []ethkey.KeyV2) ([]ethkey.State, error)
- func (_m *Eth) GetV1KeysAsV2(chainID *big.Int) ([]ethkey.KeyV2, []ethkey.State, error)
- func (_m *Eth) Import(keyJSON []byte, password string, chainID *big.Int) (ethkey.KeyV2, error)
- func (_m *Eth) SendingKeys() ([]ethkey.KeyV2, error)
- func (_m *Eth) SetState(_a0 ethkey.State) error
- func (_m *Eth) SignTx(fromAddress common.Address, tx *types.Transaction, chainID *big.Int) (*types.Transaction, error)
- func (_m *Eth) SubscribeToKeyChanges() (chan struct{}, func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSA ¶ added in v1.10.17
CSA is an autogenerated mock type for the CSA type
func (*CSA) Export ¶ added in v1.10.17
Export provides a mock function with given fields: id, password
func (*CSA) GetV1KeysAsV2 ¶ added in v1.10.17
GetV1KeysAsV2 provides a mock function with given fields:
type Eth ¶ added in v1.10.17
Eth is an autogenerated mock type for the Eth type
func (*Eth) EnsureKeys ¶ added in v1.10.17
EnsureKeys provides a mock function with given fields: chainID
func (*Eth) Export ¶ added in v1.10.17
Export provides a mock function with given fields: id, password
func (*Eth) FundingKeys ¶ added in v1.10.17
FundingKeys provides a mock function with given fields:
func (*Eth) GetRoundRobinAddress ¶ added in v1.10.17
GetRoundRobinAddress provides a mock function with given fields: addresses
func (*Eth) GetStatesForChain ¶ added in v1.10.17
GetStatesForChain provides a mock function with given fields: chainID
func (*Eth) GetStatesForKeys ¶ added in v1.10.17
GetStatesForKeys provides a mock function with given fields: _a0
func (*Eth) GetV1KeysAsV2 ¶ added in v1.10.17
GetV1KeysAsV2 provides a mock function with given fields: chainID
func (*Eth) Import ¶ added in v1.10.17
Import provides a mock function with given fields: keyJSON, password, chainID
func (*Eth) SendingKeys ¶ added in v1.10.17
SendingKeys provides a mock function with given fields:
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: