Documentation ¶
Index ¶
- type Aptos
- func (_m *Aptos) Add(ctx context.Context, key aptoskey.Key) error
- func (_m *Aptos) Create(ctx context.Context) (aptoskey.Key, error)
- func (_m *Aptos) Delete(ctx context.Context, id string) (aptoskey.Key, error)
- func (_m *Aptos) EXPECT() *Aptos_Expecter
- func (_m *Aptos) EnsureKey(ctx context.Context) error
- func (_m *Aptos) Export(id string, password string) ([]byte, error)
- func (_m *Aptos) Get(id string) (aptoskey.Key, error)
- func (_m *Aptos) GetAll() ([]aptoskey.Key, error)
- func (_m *Aptos) Import(ctx context.Context, keyJSON []byte, password string) (aptoskey.Key, error)
- func (_m *Aptos) Sign(ctx context.Context, id string, msg []byte) ([]byte, error)
- type Aptos_Add_Call
- type Aptos_Create_Call
- type Aptos_Delete_Call
- type Aptos_EnsureKey_Call
- type Aptos_Expecter
- func (_e *Aptos_Expecter) Add(ctx interface{}, key interface{}) *Aptos_Add_Call
- func (_e *Aptos_Expecter) Create(ctx interface{}) *Aptos_Create_Call
- func (_e *Aptos_Expecter) Delete(ctx interface{}, id interface{}) *Aptos_Delete_Call
- func (_e *Aptos_Expecter) EnsureKey(ctx interface{}) *Aptos_EnsureKey_Call
- func (_e *Aptos_Expecter) Export(id interface{}, password interface{}) *Aptos_Export_Call
- func (_e *Aptos_Expecter) Get(id interface{}) *Aptos_Get_Call
- func (_e *Aptos_Expecter) GetAll() *Aptos_GetAll_Call
- func (_e *Aptos_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *Aptos_Import_Call
- func (_e *Aptos_Expecter) Sign(ctx interface{}, id interface{}, msg interface{}) *Aptos_Sign_Call
- type Aptos_Export_Call
- type Aptos_GetAll_Call
- type Aptos_Get_Call
- type Aptos_Import_Call
- func (_c *Aptos_Import_Call) Return(_a0 aptoskey.Key, _a1 error) *Aptos_Import_Call
- func (_c *Aptos_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *Aptos_Import_Call
- func (_c *Aptos_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (aptoskey.Key, error)) *Aptos_Import_Call
- type Aptos_Sign_Call
- type CSA
- func (_m *CSA) Add(ctx context.Context, key csakey.KeyV2) error
- func (_m *CSA) Create(ctx context.Context) (csakey.KeyV2, error)
- func (_m *CSA) Delete(ctx context.Context, id string) (csakey.KeyV2, error)
- func (_m *CSA) EXPECT() *CSA_Expecter
- func (_m *CSA) EnsureKey(ctx context.Context) 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) Import(ctx context.Context, keyJSON []byte, password string) (csakey.KeyV2, error)
- type CSA_Add_Call
- type CSA_Create_Call
- type CSA_Delete_Call
- type CSA_EnsureKey_Call
- type CSA_Expecter
- func (_e *CSA_Expecter) Add(ctx interface{}, key interface{}) *CSA_Add_Call
- func (_e *CSA_Expecter) Create(ctx interface{}) *CSA_Create_Call
- func (_e *CSA_Expecter) Delete(ctx interface{}, id interface{}) *CSA_Delete_Call
- func (_e *CSA_Expecter) EnsureKey(ctx interface{}) *CSA_EnsureKey_Call
- func (_e *CSA_Expecter) Export(id interface{}, password interface{}) *CSA_Export_Call
- func (_e *CSA_Expecter) Get(id interface{}) *CSA_Get_Call
- func (_e *CSA_Expecter) GetAll() *CSA_GetAll_Call
- func (_e *CSA_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *CSA_Import_Call
- type CSA_Export_Call
- type CSA_GetAll_Call
- type CSA_Get_Call
- type CSA_Import_Call
- func (_c *CSA_Import_Call) Return(_a0 csakey.KeyV2, _a1 error) *CSA_Import_Call
- func (_c *CSA_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *CSA_Import_Call
- func (_c *CSA_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (csakey.KeyV2, error)) *CSA_Import_Call
- type Cosmos
- func (_m *Cosmos) Add(ctx context.Context, key cosmoskey.Key) error
- func (_m *Cosmos) Create(ctx context.Context) (cosmoskey.Key, error)
- func (_m *Cosmos) Delete(ctx context.Context, id string) (cosmoskey.Key, error)
- func (_m *Cosmos) EXPECT() *Cosmos_Expecter
- func (_m *Cosmos) EnsureKey(ctx context.Context) error
- func (_m *Cosmos) Export(id string, password string) ([]byte, error)
- func (_m *Cosmos) Get(id string) (cosmoskey.Key, error)
- func (_m *Cosmos) GetAll() ([]cosmoskey.Key, error)
- func (_m *Cosmos) Import(ctx context.Context, keyJSON []byte, password string) (cosmoskey.Key, error)
- type Cosmos_Add_Call
- type Cosmos_Create_Call
- type Cosmos_Delete_Call
- func (_c *Cosmos_Delete_Call) Return(_a0 cosmoskey.Key, _a1 error) *Cosmos_Delete_Call
- func (_c *Cosmos_Delete_Call) Run(run func(ctx context.Context, id string)) *Cosmos_Delete_Call
- func (_c *Cosmos_Delete_Call) RunAndReturn(run func(context.Context, string) (cosmoskey.Key, error)) *Cosmos_Delete_Call
- type Cosmos_EnsureKey_Call
- type Cosmos_Expecter
- func (_e *Cosmos_Expecter) Add(ctx interface{}, key interface{}) *Cosmos_Add_Call
- func (_e *Cosmos_Expecter) Create(ctx interface{}) *Cosmos_Create_Call
- func (_e *Cosmos_Expecter) Delete(ctx interface{}, id interface{}) *Cosmos_Delete_Call
- func (_e *Cosmos_Expecter) EnsureKey(ctx interface{}) *Cosmos_EnsureKey_Call
- func (_e *Cosmos_Expecter) Export(id interface{}, password interface{}) *Cosmos_Export_Call
- func (_e *Cosmos_Expecter) Get(id interface{}) *Cosmos_Get_Call
- func (_e *Cosmos_Expecter) GetAll() *Cosmos_GetAll_Call
- func (_e *Cosmos_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *Cosmos_Import_Call
- type Cosmos_Export_Call
- type Cosmos_GetAll_Call
- type Cosmos_Get_Call
- type Cosmos_Import_Call
- func (_c *Cosmos_Import_Call) Return(_a0 cosmoskey.Key, _a1 error) *Cosmos_Import_Call
- func (_c *Cosmos_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *Cosmos_Import_Call
- func (_c *Cosmos_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (cosmoskey.Key, error)) *Cosmos_Import_Call
- type Eth
- func (_m *Eth) Add(ctx context.Context, address common.Address, chainID *big.Int) error
- func (_m *Eth) CheckEnabled(ctx context.Context, address common.Address, chainID *big.Int) error
- func (_m *Eth) Create(ctx context.Context, chainIDs ...*big.Int) (ethkey.KeyV2, error)
- func (_m *Eth) Delete(ctx context.Context, id string) (ethkey.KeyV2, error)
- func (_m *Eth) Disable(ctx context.Context, address common.Address, chainID *big.Int) error
- func (_m *Eth) EXPECT() *Eth_Expecter
- func (_m *Eth) Enable(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) EnabledKeysForChain(ctx context.Context, chainID *big.Int) ([]ethkey.KeyV2, error)
- func (_m *Eth) EnsureKeys(ctx context.Context, chainIDs ...*big.Int) error
- func (_m *Eth) Export(ctx context.Context, id string, password string) ([]byte, error)
- func (_m *Eth) Get(ctx context.Context, id string) (ethkey.KeyV2, error)
- func (_m *Eth) GetAll(ctx context.Context) ([]ethkey.KeyV2, error)
- func (_m *Eth) GetRoundRobinAddress(ctx context.Context, chainID *big.Int, addresses ...common.Address) (common.Address, error)
- func (_m *Eth) GetState(ctx context.Context, id string, chainID *big.Int) (ethkey.State, error)
- func (_m *Eth) GetStateForKey(ctx context.Context, key ethkey.KeyV2) (ethkey.State, error)
- func (_m *Eth) GetStatesForChain(ctx context.Context, chainID *big.Int) ([]ethkey.State, error)
- func (_m *Eth) GetStatesForKeys(ctx context.Context, keys []ethkey.KeyV2) ([]ethkey.State, error)
- func (_m *Eth) Import(ctx context.Context, keyJSON []byte, password string, chainIDs ...*big.Int) (ethkey.KeyV2, 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())
- func (_m *Eth) XXXTestingOnlyAdd(ctx context.Context, key ethkey.KeyV2)
- func (_m *Eth) XXXTestingOnlySetState(ctx context.Context, keyState ethkey.State)
- type Eth_Add_Call
- type Eth_CheckEnabled_Call
- func (_c *Eth_CheckEnabled_Call) Return(_a0 error) *Eth_CheckEnabled_Call
- func (_c *Eth_CheckEnabled_Call) Run(run func(ctx context.Context, address common.Address, chainID *big.Int)) *Eth_CheckEnabled_Call
- func (_c *Eth_CheckEnabled_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) error) *Eth_CheckEnabled_Call
- type Eth_Create_Call
- type Eth_Delete_Call
- type Eth_Disable_Call
- func (_c *Eth_Disable_Call) Return(_a0 error) *Eth_Disable_Call
- func (_c *Eth_Disable_Call) Run(run func(ctx context.Context, address common.Address, chainID *big.Int)) *Eth_Disable_Call
- func (_c *Eth_Disable_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) error) *Eth_Disable_Call
- type Eth_Enable_Call
- type Eth_EnabledAddressesForChain_Call
- func (_c *Eth_EnabledAddressesForChain_Call) Return(addresses []common.Address, err error) *Eth_EnabledAddressesForChain_Call
- func (_c *Eth_EnabledAddressesForChain_Call) Run(run func(ctx context.Context, chainID *big.Int)) *Eth_EnabledAddressesForChain_Call
- func (_c *Eth_EnabledAddressesForChain_Call) RunAndReturn(run func(context.Context, *big.Int) ([]common.Address, error)) *Eth_EnabledAddressesForChain_Call
- type Eth_EnabledKeysForChain_Call
- func (_c *Eth_EnabledKeysForChain_Call) Return(keys []ethkey.KeyV2, err error) *Eth_EnabledKeysForChain_Call
- func (_c *Eth_EnabledKeysForChain_Call) Run(run func(ctx context.Context, chainID *big.Int)) *Eth_EnabledKeysForChain_Call
- func (_c *Eth_EnabledKeysForChain_Call) RunAndReturn(run func(context.Context, *big.Int) ([]ethkey.KeyV2, error)) *Eth_EnabledKeysForChain_Call
- type Eth_EnsureKeys_Call
- type Eth_Expecter
- func (_e *Eth_Expecter) Add(ctx interface{}, address interface{}, chainID interface{}) *Eth_Add_Call
- func (_e *Eth_Expecter) CheckEnabled(ctx interface{}, address interface{}, chainID interface{}) *Eth_CheckEnabled_Call
- func (_e *Eth_Expecter) Create(ctx interface{}, chainIDs ...interface{}) *Eth_Create_Call
- func (_e *Eth_Expecter) Delete(ctx interface{}, id interface{}) *Eth_Delete_Call
- func (_e *Eth_Expecter) Disable(ctx interface{}, address interface{}, chainID interface{}) *Eth_Disable_Call
- func (_e *Eth_Expecter) Enable(ctx interface{}, address interface{}, chainID interface{}) *Eth_Enable_Call
- func (_e *Eth_Expecter) EnabledAddressesForChain(ctx interface{}, chainID interface{}) *Eth_EnabledAddressesForChain_Call
- func (_e *Eth_Expecter) EnabledKeysForChain(ctx interface{}, chainID interface{}) *Eth_EnabledKeysForChain_Call
- func (_e *Eth_Expecter) EnsureKeys(ctx interface{}, chainIDs ...interface{}) *Eth_EnsureKeys_Call
- func (_e *Eth_Expecter) Export(ctx interface{}, id interface{}, password interface{}) *Eth_Export_Call
- func (_e *Eth_Expecter) Get(ctx interface{}, id interface{}) *Eth_Get_Call
- func (_e *Eth_Expecter) GetAll(ctx interface{}) *Eth_GetAll_Call
- func (_e *Eth_Expecter) GetRoundRobinAddress(ctx interface{}, chainID interface{}, addresses ...interface{}) *Eth_GetRoundRobinAddress_Call
- func (_e *Eth_Expecter) GetState(ctx interface{}, id interface{}, chainID interface{}) *Eth_GetState_Call
- func (_e *Eth_Expecter) GetStateForKey(ctx interface{}, key interface{}) *Eth_GetStateForKey_Call
- func (_e *Eth_Expecter) GetStatesForChain(ctx interface{}, chainID interface{}) *Eth_GetStatesForChain_Call
- func (_e *Eth_Expecter) GetStatesForKeys(ctx interface{}, keys interface{}) *Eth_GetStatesForKeys_Call
- func (_e *Eth_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}, ...) *Eth_Import_Call
- func (_e *Eth_Expecter) SignTx(ctx interface{}, fromAddress interface{}, tx interface{}, chainID interface{}) *Eth_SignTx_Call
- func (_e *Eth_Expecter) SubscribeToKeyChanges(ctx interface{}) *Eth_SubscribeToKeyChanges_Call
- func (_e *Eth_Expecter) XXXTestingOnlyAdd(ctx interface{}, key interface{}) *Eth_XXXTestingOnlyAdd_Call
- func (_e *Eth_Expecter) XXXTestingOnlySetState(ctx interface{}, keyState interface{}) *Eth_XXXTestingOnlySetState_Call
- type Eth_Export_Call
- type Eth_GetAll_Call
- type Eth_GetRoundRobinAddress_Call
- func (_c *Eth_GetRoundRobinAddress_Call) Return(address common.Address, err error) *Eth_GetRoundRobinAddress_Call
- func (_c *Eth_GetRoundRobinAddress_Call) Run(run func(ctx context.Context, chainID *big.Int, addresses ...common.Address)) *Eth_GetRoundRobinAddress_Call
- func (_c *Eth_GetRoundRobinAddress_Call) RunAndReturn(run func(context.Context, *big.Int, ...common.Address) (common.Address, error)) *Eth_GetRoundRobinAddress_Call
- type Eth_GetStateForKey_Call
- func (_c *Eth_GetStateForKey_Call) Return(_a0 ethkey.State, _a1 error) *Eth_GetStateForKey_Call
- func (_c *Eth_GetStateForKey_Call) Run(run func(ctx context.Context, key ethkey.KeyV2)) *Eth_GetStateForKey_Call
- func (_c *Eth_GetStateForKey_Call) RunAndReturn(run func(context.Context, ethkey.KeyV2) (ethkey.State, error)) *Eth_GetStateForKey_Call
- type Eth_GetState_Call
- func (_c *Eth_GetState_Call) Return(_a0 ethkey.State, _a1 error) *Eth_GetState_Call
- func (_c *Eth_GetState_Call) Run(run func(ctx context.Context, id string, chainID *big.Int)) *Eth_GetState_Call
- func (_c *Eth_GetState_Call) RunAndReturn(run func(context.Context, string, *big.Int) (ethkey.State, error)) *Eth_GetState_Call
- type Eth_GetStatesForChain_Call
- func (_c *Eth_GetStatesForChain_Call) Return(_a0 []ethkey.State, _a1 error) *Eth_GetStatesForChain_Call
- func (_c *Eth_GetStatesForChain_Call) Run(run func(ctx context.Context, chainID *big.Int)) *Eth_GetStatesForChain_Call
- func (_c *Eth_GetStatesForChain_Call) RunAndReturn(run func(context.Context, *big.Int) ([]ethkey.State, error)) *Eth_GetStatesForChain_Call
- type Eth_GetStatesForKeys_Call
- func (_c *Eth_GetStatesForKeys_Call) Return(_a0 []ethkey.State, _a1 error) *Eth_GetStatesForKeys_Call
- func (_c *Eth_GetStatesForKeys_Call) Run(run func(ctx context.Context, keys []ethkey.KeyV2)) *Eth_GetStatesForKeys_Call
- func (_c *Eth_GetStatesForKeys_Call) RunAndReturn(run func(context.Context, []ethkey.KeyV2) ([]ethkey.State, error)) *Eth_GetStatesForKeys_Call
- type Eth_Get_Call
- type Eth_Import_Call
- type Eth_SignTx_Call
- type Eth_SubscribeToKeyChanges_Call
- func (_c *Eth_SubscribeToKeyChanges_Call) Return(ch chan struct{}, unsub func()) *Eth_SubscribeToKeyChanges_Call
- func (_c *Eth_SubscribeToKeyChanges_Call) Run(run func(ctx context.Context)) *Eth_SubscribeToKeyChanges_Call
- func (_c *Eth_SubscribeToKeyChanges_Call) RunAndReturn(run func(context.Context) (chan struct{}, func())) *Eth_SubscribeToKeyChanges_Call
- type Eth_XXXTestingOnlyAdd_Call
- func (_c *Eth_XXXTestingOnlyAdd_Call) Return() *Eth_XXXTestingOnlyAdd_Call
- func (_c *Eth_XXXTestingOnlyAdd_Call) Run(run func(ctx context.Context, key ethkey.KeyV2)) *Eth_XXXTestingOnlyAdd_Call
- func (_c *Eth_XXXTestingOnlyAdd_Call) RunAndReturn(run func(context.Context, ethkey.KeyV2)) *Eth_XXXTestingOnlyAdd_Call
- type Eth_XXXTestingOnlySetState_Call
- func (_c *Eth_XXXTestingOnlySetState_Call) Return() *Eth_XXXTestingOnlySetState_Call
- func (_c *Eth_XXXTestingOnlySetState_Call) Run(run func(ctx context.Context, keyState ethkey.State)) *Eth_XXXTestingOnlySetState_Call
- func (_c *Eth_XXXTestingOnlySetState_Call) RunAndReturn(run func(context.Context, ethkey.State)) *Eth_XXXTestingOnlySetState_Call
- type Master
- func (_m *Master) Aptos() keystore.Aptos
- func (_m *Master) CSA() keystore.CSA
- func (_m *Master) Cosmos() keystore.Cosmos
- func (_m *Master) EXPECT() *Master_Expecter
- func (_m *Master) Eth() keystore.Eth
- func (_m *Master) IsEmpty(ctx context.Context) (bool, error)
- func (_m *Master) OCR() keystore.OCR
- func (_m *Master) OCR2() keystore.OCR2
- func (_m *Master) P2P() keystore.P2P
- func (_m *Master) Solana() keystore.Solana
- func (_m *Master) StarkNet() keystore.StarkNet
- func (_m *Master) Unlock(ctx context.Context, password string) error
- func (_m *Master) VRF() keystore.VRF
- type Master_Aptos_Call
- type Master_CSA_Call
- type Master_Cosmos_Call
- type Master_Eth_Call
- type Master_Expecter
- func (_e *Master_Expecter) Aptos() *Master_Aptos_Call
- func (_e *Master_Expecter) CSA() *Master_CSA_Call
- func (_e *Master_Expecter) Cosmos() *Master_Cosmos_Call
- func (_e *Master_Expecter) Eth() *Master_Eth_Call
- func (_e *Master_Expecter) IsEmpty(ctx interface{}) *Master_IsEmpty_Call
- func (_e *Master_Expecter) OCR() *Master_OCR_Call
- func (_e *Master_Expecter) OCR2() *Master_OCR2_Call
- func (_e *Master_Expecter) P2P() *Master_P2P_Call
- func (_e *Master_Expecter) Solana() *Master_Solana_Call
- func (_e *Master_Expecter) StarkNet() *Master_StarkNet_Call
- func (_e *Master_Expecter) Unlock(ctx interface{}, password interface{}) *Master_Unlock_Call
- func (_e *Master_Expecter) VRF() *Master_VRF_Call
- type Master_IsEmpty_Call
- type Master_OCR2_Call
- type Master_OCR_Call
- type Master_P2P_Call
- type Master_Solana_Call
- type Master_StarkNet_Call
- type Master_Unlock_Call
- type Master_VRF_Call
- type OCR
- func (_m *OCR) Add(ctx context.Context, key ocrkey.KeyV2) error
- func (_m *OCR) Create(ctx context.Context) (ocrkey.KeyV2, error)
- func (_m *OCR) Delete(ctx context.Context, id string) (ocrkey.KeyV2, error)
- func (_m *OCR) EXPECT() *OCR_Expecter
- func (_m *OCR) EnsureKey(ctx context.Context) error
- func (_m *OCR) Export(id string, password string) ([]byte, error)
- func (_m *OCR) Get(id string) (ocrkey.KeyV2, error)
- func (_m *OCR) GetAll() ([]ocrkey.KeyV2, error)
- func (_m *OCR) Import(ctx context.Context, keyJSON []byte, password string) (ocrkey.KeyV2, error)
- type OCR2
- func (_m *OCR2) Add(ctx context.Context, key ocr2key.KeyBundle) error
- func (_m *OCR2) Create(_a0 context.Context, _a1 chaintype.ChainType) (ocr2key.KeyBundle, error)
- func (_m *OCR2) Delete(ctx context.Context, id string) error
- func (_m *OCR2) EXPECT() *OCR2_Expecter
- func (_m *OCR2) EnsureKeys(ctx context.Context, enabledChains ...chaintype.ChainType) error
- func (_m *OCR2) Export(id string, password string) ([]byte, error)
- func (_m *OCR2) Get(id string) (ocr2key.KeyBundle, error)
- func (_m *OCR2) GetAll() ([]ocr2key.KeyBundle, error)
- func (_m *OCR2) GetAllOfType(_a0 chaintype.ChainType) ([]ocr2key.KeyBundle, error)
- func (_m *OCR2) Import(ctx context.Context, keyJSON []byte, password string) (ocr2key.KeyBundle, error)
- type OCR2_Add_Call
- type OCR2_Create_Call
- func (_c *OCR2_Create_Call) Return(_a0 ocr2key.KeyBundle, _a1 error) *OCR2_Create_Call
- func (_c *OCR2_Create_Call) Run(run func(_a0 context.Context, _a1 chaintype.ChainType)) *OCR2_Create_Call
- func (_c *OCR2_Create_Call) RunAndReturn(run func(context.Context, chaintype.ChainType) (ocr2key.KeyBundle, error)) *OCR2_Create_Call
- type OCR2_Delete_Call
- type OCR2_EnsureKeys_Call
- func (_c *OCR2_EnsureKeys_Call) Return(_a0 error) *OCR2_EnsureKeys_Call
- func (_c *OCR2_EnsureKeys_Call) Run(run func(ctx context.Context, enabledChains ...chaintype.ChainType)) *OCR2_EnsureKeys_Call
- func (_c *OCR2_EnsureKeys_Call) RunAndReturn(run func(context.Context, ...chaintype.ChainType) error) *OCR2_EnsureKeys_Call
- type OCR2_Expecter
- func (_e *OCR2_Expecter) Add(ctx interface{}, key interface{}) *OCR2_Add_Call
- func (_e *OCR2_Expecter) Create(_a0 interface{}, _a1 interface{}) *OCR2_Create_Call
- func (_e *OCR2_Expecter) Delete(ctx interface{}, id interface{}) *OCR2_Delete_Call
- func (_e *OCR2_Expecter) EnsureKeys(ctx interface{}, enabledChains ...interface{}) *OCR2_EnsureKeys_Call
- func (_e *OCR2_Expecter) Export(id interface{}, password interface{}) *OCR2_Export_Call
- func (_e *OCR2_Expecter) Get(id interface{}) *OCR2_Get_Call
- func (_e *OCR2_Expecter) GetAll() *OCR2_GetAll_Call
- func (_e *OCR2_Expecter) GetAllOfType(_a0 interface{}) *OCR2_GetAllOfType_Call
- func (_e *OCR2_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *OCR2_Import_Call
- type OCR2_Export_Call
- type OCR2_GetAllOfType_Call
- func (_c *OCR2_GetAllOfType_Call) Return(_a0 []ocr2key.KeyBundle, _a1 error) *OCR2_GetAllOfType_Call
- func (_c *OCR2_GetAllOfType_Call) Run(run func(_a0 chaintype.ChainType)) *OCR2_GetAllOfType_Call
- func (_c *OCR2_GetAllOfType_Call) RunAndReturn(run func(chaintype.ChainType) ([]ocr2key.KeyBundle, error)) *OCR2_GetAllOfType_Call
- type OCR2_GetAll_Call
- type OCR2_Get_Call
- type OCR2_Import_Call
- func (_c *OCR2_Import_Call) Return(_a0 ocr2key.KeyBundle, _a1 error) *OCR2_Import_Call
- func (_c *OCR2_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *OCR2_Import_Call
- func (_c *OCR2_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (ocr2key.KeyBundle, error)) *OCR2_Import_Call
- type OCR_Add_Call
- type OCR_Create_Call
- type OCR_Delete_Call
- type OCR_EnsureKey_Call
- type OCR_Expecter
- func (_e *OCR_Expecter) Add(ctx interface{}, key interface{}) *OCR_Add_Call
- func (_e *OCR_Expecter) Create(ctx interface{}) *OCR_Create_Call
- func (_e *OCR_Expecter) Delete(ctx interface{}, id interface{}) *OCR_Delete_Call
- func (_e *OCR_Expecter) EnsureKey(ctx interface{}) *OCR_EnsureKey_Call
- func (_e *OCR_Expecter) Export(id interface{}, password interface{}) *OCR_Export_Call
- func (_e *OCR_Expecter) Get(id interface{}) *OCR_Get_Call
- func (_e *OCR_Expecter) GetAll() *OCR_GetAll_Call
- func (_e *OCR_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *OCR_Import_Call
- type OCR_Export_Call
- type OCR_GetAll_Call
- type OCR_Get_Call
- type OCR_Import_Call
- func (_c *OCR_Import_Call) Return(_a0 ocrkey.KeyV2, _a1 error) *OCR_Import_Call
- func (_c *OCR_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *OCR_Import_Call
- func (_c *OCR_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (ocrkey.KeyV2, error)) *OCR_Import_Call
- type P2P
- func (_m *P2P) Add(ctx context.Context, key p2pkey.KeyV2) error
- func (_m *P2P) Create(ctx context.Context) (p2pkey.KeyV2, error)
- func (_m *P2P) Delete(ctx context.Context, id p2pkey.PeerID) (p2pkey.KeyV2, error)
- func (_m *P2P) EXPECT() *P2P_Expecter
- func (_m *P2P) EnsureKey(ctx context.Context) error
- func (_m *P2P) Export(id p2pkey.PeerID, password string) ([]byte, error)
- func (_m *P2P) Get(id p2pkey.PeerID) (p2pkey.KeyV2, error)
- func (_m *P2P) GetAll() ([]p2pkey.KeyV2, error)
- func (_m *P2P) GetOrFirst(id p2pkey.PeerID) (p2pkey.KeyV2, error)
- func (_m *P2P) Import(ctx context.Context, keyJSON []byte, password string) (p2pkey.KeyV2, error)
- type P2P_Add_Call
- type P2P_Create_Call
- type P2P_Delete_Call
- type P2P_EnsureKey_Call
- type P2P_Expecter
- func (_e *P2P_Expecter) Add(ctx interface{}, key interface{}) *P2P_Add_Call
- func (_e *P2P_Expecter) Create(ctx interface{}) *P2P_Create_Call
- func (_e *P2P_Expecter) Delete(ctx interface{}, id interface{}) *P2P_Delete_Call
- func (_e *P2P_Expecter) EnsureKey(ctx interface{}) *P2P_EnsureKey_Call
- func (_e *P2P_Expecter) Export(id interface{}, password interface{}) *P2P_Export_Call
- func (_e *P2P_Expecter) Get(id interface{}) *P2P_Get_Call
- func (_e *P2P_Expecter) GetAll() *P2P_GetAll_Call
- func (_e *P2P_Expecter) GetOrFirst(id interface{}) *P2P_GetOrFirst_Call
- func (_e *P2P_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *P2P_Import_Call
- type P2P_Export_Call
- type P2P_GetAll_Call
- type P2P_GetOrFirst_Call
- type P2P_Get_Call
- type P2P_Import_Call
- func (_c *P2P_Import_Call) Return(_a0 p2pkey.KeyV2, _a1 error) *P2P_Import_Call
- func (_c *P2P_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *P2P_Import_Call
- func (_c *P2P_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (p2pkey.KeyV2, error)) *P2P_Import_Call
- type Solana
- func (_m *Solana) Add(ctx context.Context, key solkey.Key) error
- func (_m *Solana) Create(ctx context.Context) (solkey.Key, error)
- func (_m *Solana) Delete(ctx context.Context, id string) (solkey.Key, error)
- func (_m *Solana) EXPECT() *Solana_Expecter
- func (_m *Solana) EnsureKey(ctx context.Context) error
- func (_m *Solana) Export(id string, password string) ([]byte, error)
- func (_m *Solana) Get(id string) (solkey.Key, error)
- func (_m *Solana) GetAll() ([]solkey.Key, error)
- func (_m *Solana) Import(ctx context.Context, keyJSON []byte, password string) (solkey.Key, error)
- func (_m *Solana) Sign(ctx context.Context, id string, msg []byte) ([]byte, error)
- type Solana_Add_Call
- type Solana_Create_Call
- type Solana_Delete_Call
- type Solana_EnsureKey_Call
- type Solana_Expecter
- func (_e *Solana_Expecter) Add(ctx interface{}, key interface{}) *Solana_Add_Call
- func (_e *Solana_Expecter) Create(ctx interface{}) *Solana_Create_Call
- func (_e *Solana_Expecter) Delete(ctx interface{}, id interface{}) *Solana_Delete_Call
- func (_e *Solana_Expecter) EnsureKey(ctx interface{}) *Solana_EnsureKey_Call
- func (_e *Solana_Expecter) Export(id interface{}, password interface{}) *Solana_Export_Call
- func (_e *Solana_Expecter) Get(id interface{}) *Solana_Get_Call
- func (_e *Solana_Expecter) GetAll() *Solana_GetAll_Call
- func (_e *Solana_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *Solana_Import_Call
- func (_e *Solana_Expecter) Sign(ctx interface{}, id interface{}, msg interface{}) *Solana_Sign_Call
- type Solana_Export_Call
- type Solana_GetAll_Call
- type Solana_Get_Call
- type Solana_Import_Call
- func (_c *Solana_Import_Call) Return(_a0 solkey.Key, _a1 error) *Solana_Import_Call
- func (_c *Solana_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *Solana_Import_Call
- func (_c *Solana_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (solkey.Key, error)) *Solana_Import_Call
- type Solana_Sign_Call
- func (_c *Solana_Sign_Call) Return(signature []byte, err error) *Solana_Sign_Call
- func (_c *Solana_Sign_Call) Run(run func(ctx context.Context, id string, msg []byte)) *Solana_Sign_Call
- func (_c *Solana_Sign_Call) RunAndReturn(run func(context.Context, string, []byte) ([]byte, error)) *Solana_Sign_Call
- type StarkNet
- func (_m *StarkNet) Add(ctx context.Context, key starkkey.Key) error
- func (_m *StarkNet) Create(ctx context.Context) (starkkey.Key, error)
- func (_m *StarkNet) Delete(ctx context.Context, id string) (starkkey.Key, error)
- func (_m *StarkNet) EXPECT() *StarkNet_Expecter
- func (_m *StarkNet) EnsureKey(ctx context.Context) error
- func (_m *StarkNet) Export(id string, password string) ([]byte, error)
- func (_m *StarkNet) Get(id string) (starkkey.Key, error)
- func (_m *StarkNet) GetAll() ([]starkkey.Key, error)
- func (_m *StarkNet) Import(ctx context.Context, keyJSON []byte, password string) (starkkey.Key, error)
- type StarkNet_Add_Call
- type StarkNet_Create_Call
- type StarkNet_Delete_Call
- func (_c *StarkNet_Delete_Call) Return(_a0 starkkey.Key, _a1 error) *StarkNet_Delete_Call
- func (_c *StarkNet_Delete_Call) Run(run func(ctx context.Context, id string)) *StarkNet_Delete_Call
- func (_c *StarkNet_Delete_Call) RunAndReturn(run func(context.Context, string) (starkkey.Key, error)) *StarkNet_Delete_Call
- type StarkNet_EnsureKey_Call
- type StarkNet_Expecter
- func (_e *StarkNet_Expecter) Add(ctx interface{}, key interface{}) *StarkNet_Add_Call
- func (_e *StarkNet_Expecter) Create(ctx interface{}) *StarkNet_Create_Call
- func (_e *StarkNet_Expecter) Delete(ctx interface{}, id interface{}) *StarkNet_Delete_Call
- func (_e *StarkNet_Expecter) EnsureKey(ctx interface{}) *StarkNet_EnsureKey_Call
- func (_e *StarkNet_Expecter) Export(id interface{}, password interface{}) *StarkNet_Export_Call
- func (_e *StarkNet_Expecter) Get(id interface{}) *StarkNet_Get_Call
- func (_e *StarkNet_Expecter) GetAll() *StarkNet_GetAll_Call
- func (_e *StarkNet_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *StarkNet_Import_Call
- type StarkNet_Export_Call
- type StarkNet_GetAll_Call
- type StarkNet_Get_Call
- type StarkNet_Import_Call
- func (_c *StarkNet_Import_Call) Return(_a0 starkkey.Key, _a1 error) *StarkNet_Import_Call
- func (_c *StarkNet_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *StarkNet_Import_Call
- func (_c *StarkNet_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (starkkey.Key, error)) *StarkNet_Import_Call
- type VRF
- func (_m *VRF) Add(ctx context.Context, key vrfkey.KeyV2) error
- func (_m *VRF) Create(ctx context.Context) (vrfkey.KeyV2, error)
- func (_m *VRF) Delete(ctx context.Context, id string) (vrfkey.KeyV2, error)
- func (_m *VRF) EXPECT() *VRF_Expecter
- func (_m *VRF) Export(id string, password string) ([]byte, error)
- func (_m *VRF) GenerateProof(id string, seed *big.Int) (vrfkey.Proof, error)
- func (_m *VRF) Get(id string) (vrfkey.KeyV2, error)
- func (_m *VRF) GetAll() ([]vrfkey.KeyV2, error)
- func (_m *VRF) Import(ctx context.Context, keyJSON []byte, password string) (vrfkey.KeyV2, error)
- type VRF_Add_Call
- type VRF_Create_Call
- type VRF_Delete_Call
- type VRF_Expecter
- func (_e *VRF_Expecter) Add(ctx interface{}, key interface{}) *VRF_Add_Call
- func (_e *VRF_Expecter) Create(ctx interface{}) *VRF_Create_Call
- func (_e *VRF_Expecter) Delete(ctx interface{}, id interface{}) *VRF_Delete_Call
- func (_e *VRF_Expecter) Export(id interface{}, password interface{}) *VRF_Export_Call
- func (_e *VRF_Expecter) GenerateProof(id interface{}, seed interface{}) *VRF_GenerateProof_Call
- func (_e *VRF_Expecter) Get(id interface{}) *VRF_Get_Call
- func (_e *VRF_Expecter) GetAll() *VRF_GetAll_Call
- func (_e *VRF_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *VRF_Import_Call
- type VRF_Export_Call
- type VRF_GenerateProof_Call
- func (_c *VRF_GenerateProof_Call) Return(_a0 vrfkey.Proof, _a1 error) *VRF_GenerateProof_Call
- func (_c *VRF_GenerateProof_Call) Run(run func(id string, seed *big.Int)) *VRF_GenerateProof_Call
- func (_c *VRF_GenerateProof_Call) RunAndReturn(run func(string, *big.Int) (vrfkey.Proof, error)) *VRF_GenerateProof_Call
- type VRF_GetAll_Call
- type VRF_Get_Call
- type VRF_Import_Call
- func (_c *VRF_Import_Call) Return(_a0 vrfkey.KeyV2, _a1 error) *VRF_Import_Call
- func (_c *VRF_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *VRF_Import_Call
- func (_c *VRF_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (vrfkey.KeyV2, error)) *VRF_Import_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aptos ¶ added in v2.14.0
Aptos is an autogenerated mock type for the Aptos type
func NewAptos ¶ added in v2.14.0
NewAptos creates a new instance of Aptos. 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 (*Aptos) EXPECT ¶ added in v2.15.0
func (_m *Aptos) EXPECT() *Aptos_Expecter
func (*Aptos) EnsureKey ¶ added in v2.14.0
EnsureKey provides a mock function with given fields: ctx
func (*Aptos) Export ¶ added in v2.14.0
Export provides a mock function with given fields: id, password
type Aptos_Add_Call ¶ added in v2.15.0
Aptos_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*Aptos_Add_Call) Return ¶ added in v2.15.0
func (_c *Aptos_Add_Call) Return(_a0 error) *Aptos_Add_Call
func (*Aptos_Add_Call) Run ¶ added in v2.15.0
func (_c *Aptos_Add_Call) Run(run func(ctx context.Context, key aptoskey.Key)) *Aptos_Add_Call
func (*Aptos_Add_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Aptos_Add_Call) RunAndReturn(run func(context.Context, aptoskey.Key) error) *Aptos_Add_Call
type Aptos_Create_Call ¶ added in v2.15.0
Aptos_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Aptos_Create_Call) Return ¶ added in v2.15.0
func (_c *Aptos_Create_Call) Return(_a0 aptoskey.Key, _a1 error) *Aptos_Create_Call
func (*Aptos_Create_Call) Run ¶ added in v2.15.0
func (_c *Aptos_Create_Call) Run(run func(ctx context.Context)) *Aptos_Create_Call
func (*Aptos_Create_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Aptos_Create_Call) RunAndReturn(run func(context.Context) (aptoskey.Key, error)) *Aptos_Create_Call
type Aptos_Delete_Call ¶ added in v2.15.0
Aptos_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Aptos_Delete_Call) Return ¶ added in v2.15.0
func (_c *Aptos_Delete_Call) Return(_a0 aptoskey.Key, _a1 error) *Aptos_Delete_Call
func (*Aptos_Delete_Call) Run ¶ added in v2.15.0
func (_c *Aptos_Delete_Call) Run(run func(ctx context.Context, id string)) *Aptos_Delete_Call
func (*Aptos_Delete_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Aptos_Delete_Call) RunAndReturn(run func(context.Context, string) (aptoskey.Key, error)) *Aptos_Delete_Call
type Aptos_EnsureKey_Call ¶ added in v2.15.0
Aptos_EnsureKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureKey'
func (*Aptos_EnsureKey_Call) Return ¶ added in v2.15.0
func (_c *Aptos_EnsureKey_Call) Return(_a0 error) *Aptos_EnsureKey_Call
func (*Aptos_EnsureKey_Call) Run ¶ added in v2.15.0
func (_c *Aptos_EnsureKey_Call) Run(run func(ctx context.Context)) *Aptos_EnsureKey_Call
func (*Aptos_EnsureKey_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Aptos_EnsureKey_Call) RunAndReturn(run func(context.Context) error) *Aptos_EnsureKey_Call
type Aptos_Expecter ¶ added in v2.15.0
type Aptos_Expecter struct {
// contains filtered or unexported fields
}
func (*Aptos_Expecter) Add ¶ added in v2.15.0
func (_e *Aptos_Expecter) Add(ctx interface{}, key interface{}) *Aptos_Add_Call
Add is a helper method to define mock.On call
- ctx context.Context
- key aptoskey.Key
func (*Aptos_Expecter) Create ¶ added in v2.15.0
func (_e *Aptos_Expecter) Create(ctx interface{}) *Aptos_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
func (*Aptos_Expecter) Delete ¶ added in v2.15.0
func (_e *Aptos_Expecter) Delete(ctx interface{}, id interface{}) *Aptos_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- id string
func (*Aptos_Expecter) EnsureKey ¶ added in v2.15.0
func (_e *Aptos_Expecter) EnsureKey(ctx interface{}) *Aptos_EnsureKey_Call
EnsureKey is a helper method to define mock.On call
- ctx context.Context
func (*Aptos_Expecter) Export ¶ added in v2.15.0
func (_e *Aptos_Expecter) Export(id interface{}, password interface{}) *Aptos_Export_Call
Export is a helper method to define mock.On call
- id string
- password string
func (*Aptos_Expecter) Get ¶ added in v2.15.0
func (_e *Aptos_Expecter) Get(id interface{}) *Aptos_Get_Call
Get is a helper method to define mock.On call
- id string
func (*Aptos_Expecter) GetAll ¶ added in v2.15.0
func (_e *Aptos_Expecter) GetAll() *Aptos_GetAll_Call
GetAll is a helper method to define mock.On call
func (*Aptos_Expecter) Import ¶ added in v2.15.0
func (_e *Aptos_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *Aptos_Import_Call
Import is a helper method to define mock.On call
- ctx context.Context
- keyJSON []byte
- password string
func (*Aptos_Expecter) Sign ¶ added in v2.15.0
func (_e *Aptos_Expecter) Sign(ctx interface{}, id interface{}, msg interface{}) *Aptos_Sign_Call
Sign is a helper method to define mock.On call
- ctx context.Context
- id string
- msg []byte
type Aptos_Export_Call ¶ added in v2.15.0
Aptos_Export_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Export'
func (*Aptos_Export_Call) Return ¶ added in v2.15.0
func (_c *Aptos_Export_Call) Return(_a0 []byte, _a1 error) *Aptos_Export_Call
func (*Aptos_Export_Call) Run ¶ added in v2.15.0
func (_c *Aptos_Export_Call) Run(run func(id string, password string)) *Aptos_Export_Call
func (*Aptos_Export_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Aptos_Export_Call) RunAndReturn(run func(string, string) ([]byte, error)) *Aptos_Export_Call
type Aptos_GetAll_Call ¶ added in v2.15.0
Aptos_GetAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAll'
func (*Aptos_GetAll_Call) Return ¶ added in v2.15.0
func (_c *Aptos_GetAll_Call) Return(_a0 []aptoskey.Key, _a1 error) *Aptos_GetAll_Call
func (*Aptos_GetAll_Call) Run ¶ added in v2.15.0
func (_c *Aptos_GetAll_Call) Run(run func()) *Aptos_GetAll_Call
func (*Aptos_GetAll_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Aptos_GetAll_Call) RunAndReturn(run func() ([]aptoskey.Key, error)) *Aptos_GetAll_Call
type Aptos_Get_Call ¶ added in v2.15.0
Aptos_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Aptos_Get_Call) Return ¶ added in v2.15.0
func (_c *Aptos_Get_Call) Return(_a0 aptoskey.Key, _a1 error) *Aptos_Get_Call
func (*Aptos_Get_Call) Run ¶ added in v2.15.0
func (_c *Aptos_Get_Call) Run(run func(id string)) *Aptos_Get_Call
func (*Aptos_Get_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Aptos_Get_Call) RunAndReturn(run func(string) (aptoskey.Key, error)) *Aptos_Get_Call
type Aptos_Import_Call ¶ added in v2.15.0
Aptos_Import_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Import'
func (*Aptos_Import_Call) Return ¶ added in v2.15.0
func (_c *Aptos_Import_Call) Return(_a0 aptoskey.Key, _a1 error) *Aptos_Import_Call
func (*Aptos_Import_Call) Run ¶ added in v2.15.0
func (_c *Aptos_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *Aptos_Import_Call
func (*Aptos_Import_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Aptos_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (aptoskey.Key, error)) *Aptos_Import_Call
type Aptos_Sign_Call ¶ added in v2.15.0
Aptos_Sign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sign'
func (*Aptos_Sign_Call) Return ¶ added in v2.15.0
func (_c *Aptos_Sign_Call) Return(signature []byte, err error) *Aptos_Sign_Call
func (*Aptos_Sign_Call) Run ¶ added in v2.15.0
func (_c *Aptos_Sign_Call) Run(run func(ctx context.Context, id string, msg []byte)) *Aptos_Sign_Call
func (*Aptos_Sign_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Aptos_Sign_Call) RunAndReturn(run func(context.Context, string, []byte) ([]byte, error)) *Aptos_Sign_Call
type CSA ¶
CSA is an autogenerated mock type for the CSA type
func NewCSA ¶
NewCSA creates a new instance of CSA. 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 (*CSA) EXPECT ¶ added in v2.15.0
func (_m *CSA) EXPECT() *CSA_Expecter
type CSA_Add_Call ¶ added in v2.15.0
CSA_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*CSA_Add_Call) Return ¶ added in v2.15.0
func (_c *CSA_Add_Call) Return(_a0 error) *CSA_Add_Call
func (*CSA_Add_Call) Run ¶ added in v2.15.0
func (_c *CSA_Add_Call) Run(run func(ctx context.Context, key csakey.KeyV2)) *CSA_Add_Call
func (*CSA_Add_Call) RunAndReturn ¶ added in v2.15.0
func (_c *CSA_Add_Call) RunAndReturn(run func(context.Context, csakey.KeyV2) error) *CSA_Add_Call
type CSA_Create_Call ¶ added in v2.15.0
CSA_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*CSA_Create_Call) Return ¶ added in v2.15.0
func (_c *CSA_Create_Call) Return(_a0 csakey.KeyV2, _a1 error) *CSA_Create_Call
func (*CSA_Create_Call) Run ¶ added in v2.15.0
func (_c *CSA_Create_Call) Run(run func(ctx context.Context)) *CSA_Create_Call
func (*CSA_Create_Call) RunAndReturn ¶ added in v2.15.0
func (_c *CSA_Create_Call) RunAndReturn(run func(context.Context) (csakey.KeyV2, error)) *CSA_Create_Call
type CSA_Delete_Call ¶ added in v2.15.0
CSA_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*CSA_Delete_Call) Return ¶ added in v2.15.0
func (_c *CSA_Delete_Call) Return(_a0 csakey.KeyV2, _a1 error) *CSA_Delete_Call
func (*CSA_Delete_Call) Run ¶ added in v2.15.0
func (_c *CSA_Delete_Call) Run(run func(ctx context.Context, id string)) *CSA_Delete_Call
func (*CSA_Delete_Call) RunAndReturn ¶ added in v2.15.0
func (_c *CSA_Delete_Call) RunAndReturn(run func(context.Context, string) (csakey.KeyV2, error)) *CSA_Delete_Call
type CSA_EnsureKey_Call ¶ added in v2.15.0
CSA_EnsureKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureKey'
func (*CSA_EnsureKey_Call) Return ¶ added in v2.15.0
func (_c *CSA_EnsureKey_Call) Return(_a0 error) *CSA_EnsureKey_Call
func (*CSA_EnsureKey_Call) Run ¶ added in v2.15.0
func (_c *CSA_EnsureKey_Call) Run(run func(ctx context.Context)) *CSA_EnsureKey_Call
func (*CSA_EnsureKey_Call) RunAndReturn ¶ added in v2.15.0
func (_c *CSA_EnsureKey_Call) RunAndReturn(run func(context.Context) error) *CSA_EnsureKey_Call
type CSA_Expecter ¶ added in v2.15.0
type CSA_Expecter struct {
// contains filtered or unexported fields
}
func (*CSA_Expecter) Add ¶ added in v2.15.0
func (_e *CSA_Expecter) Add(ctx interface{}, key interface{}) *CSA_Add_Call
Add is a helper method to define mock.On call
- ctx context.Context
- key csakey.KeyV2
func (*CSA_Expecter) Create ¶ added in v2.15.0
func (_e *CSA_Expecter) Create(ctx interface{}) *CSA_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
func (*CSA_Expecter) Delete ¶ added in v2.15.0
func (_e *CSA_Expecter) Delete(ctx interface{}, id interface{}) *CSA_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- id string
func (*CSA_Expecter) EnsureKey ¶ added in v2.15.0
func (_e *CSA_Expecter) EnsureKey(ctx interface{}) *CSA_EnsureKey_Call
EnsureKey is a helper method to define mock.On call
- ctx context.Context
func (*CSA_Expecter) Export ¶ added in v2.15.0
func (_e *CSA_Expecter) Export(id interface{}, password interface{}) *CSA_Export_Call
Export is a helper method to define mock.On call
- id string
- password string
func (*CSA_Expecter) Get ¶ added in v2.15.0
func (_e *CSA_Expecter) Get(id interface{}) *CSA_Get_Call
Get is a helper method to define mock.On call
- id string
func (*CSA_Expecter) GetAll ¶ added in v2.15.0
func (_e *CSA_Expecter) GetAll() *CSA_GetAll_Call
GetAll is a helper method to define mock.On call
func (*CSA_Expecter) Import ¶ added in v2.15.0
func (_e *CSA_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *CSA_Import_Call
Import is a helper method to define mock.On call
- ctx context.Context
- keyJSON []byte
- password string
type CSA_Export_Call ¶ added in v2.15.0
CSA_Export_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Export'
func (*CSA_Export_Call) Return ¶ added in v2.15.0
func (_c *CSA_Export_Call) Return(_a0 []byte, _a1 error) *CSA_Export_Call
func (*CSA_Export_Call) Run ¶ added in v2.15.0
func (_c *CSA_Export_Call) Run(run func(id string, password string)) *CSA_Export_Call
func (*CSA_Export_Call) RunAndReturn ¶ added in v2.15.0
func (_c *CSA_Export_Call) RunAndReturn(run func(string, string) ([]byte, error)) *CSA_Export_Call
type CSA_GetAll_Call ¶ added in v2.15.0
CSA_GetAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAll'
func (*CSA_GetAll_Call) Return ¶ added in v2.15.0
func (_c *CSA_GetAll_Call) Return(_a0 []csakey.KeyV2, _a1 error) *CSA_GetAll_Call
func (*CSA_GetAll_Call) Run ¶ added in v2.15.0
func (_c *CSA_GetAll_Call) Run(run func()) *CSA_GetAll_Call
func (*CSA_GetAll_Call) RunAndReturn ¶ added in v2.15.0
func (_c *CSA_GetAll_Call) RunAndReturn(run func() ([]csakey.KeyV2, error)) *CSA_GetAll_Call
type CSA_Get_Call ¶ added in v2.15.0
CSA_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*CSA_Get_Call) Return ¶ added in v2.15.0
func (_c *CSA_Get_Call) Return(_a0 csakey.KeyV2, _a1 error) *CSA_Get_Call
func (*CSA_Get_Call) Run ¶ added in v2.15.0
func (_c *CSA_Get_Call) Run(run func(id string)) *CSA_Get_Call
func (*CSA_Get_Call) RunAndReturn ¶ added in v2.15.0
func (_c *CSA_Get_Call) RunAndReturn(run func(string) (csakey.KeyV2, error)) *CSA_Get_Call
type CSA_Import_Call ¶ added in v2.15.0
CSA_Import_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Import'
func (*CSA_Import_Call) Return ¶ added in v2.15.0
func (_c *CSA_Import_Call) Return(_a0 csakey.KeyV2, _a1 error) *CSA_Import_Call
func (*CSA_Import_Call) Run ¶ added in v2.15.0
func (_c *CSA_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *CSA_Import_Call
func (*CSA_Import_Call) RunAndReturn ¶ added in v2.15.0
func (_c *CSA_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (csakey.KeyV2, error)) *CSA_Import_Call
type Cosmos ¶
Cosmos is an autogenerated mock type for the Cosmos type
func NewCosmos ¶
NewCosmos creates a new instance of Cosmos. 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 (*Cosmos) EXPECT ¶ added in v2.15.0
func (_m *Cosmos) EXPECT() *Cosmos_Expecter
type Cosmos_Add_Call ¶ added in v2.15.0
Cosmos_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*Cosmos_Add_Call) Return ¶ added in v2.15.0
func (_c *Cosmos_Add_Call) Return(_a0 error) *Cosmos_Add_Call
func (*Cosmos_Add_Call) Run ¶ added in v2.15.0
func (_c *Cosmos_Add_Call) Run(run func(ctx context.Context, key cosmoskey.Key)) *Cosmos_Add_Call
func (*Cosmos_Add_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Cosmos_Add_Call) RunAndReturn(run func(context.Context, cosmoskey.Key) error) *Cosmos_Add_Call
type Cosmos_Create_Call ¶ added in v2.15.0
Cosmos_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Cosmos_Create_Call) Return ¶ added in v2.15.0
func (_c *Cosmos_Create_Call) Return(_a0 cosmoskey.Key, _a1 error) *Cosmos_Create_Call
func (*Cosmos_Create_Call) Run ¶ added in v2.15.0
func (_c *Cosmos_Create_Call) Run(run func(ctx context.Context)) *Cosmos_Create_Call
func (*Cosmos_Create_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Cosmos_Create_Call) RunAndReturn(run func(context.Context) (cosmoskey.Key, error)) *Cosmos_Create_Call
type Cosmos_Delete_Call ¶ added in v2.15.0
Cosmos_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Cosmos_Delete_Call) Return ¶ added in v2.15.0
func (_c *Cosmos_Delete_Call) Return(_a0 cosmoskey.Key, _a1 error) *Cosmos_Delete_Call
func (*Cosmos_Delete_Call) Run ¶ added in v2.15.0
func (_c *Cosmos_Delete_Call) Run(run func(ctx context.Context, id string)) *Cosmos_Delete_Call
func (*Cosmos_Delete_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Cosmos_Delete_Call) RunAndReturn(run func(context.Context, string) (cosmoskey.Key, error)) *Cosmos_Delete_Call
type Cosmos_EnsureKey_Call ¶ added in v2.15.0
Cosmos_EnsureKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureKey'
func (*Cosmos_EnsureKey_Call) Return ¶ added in v2.15.0
func (_c *Cosmos_EnsureKey_Call) Return(_a0 error) *Cosmos_EnsureKey_Call
func (*Cosmos_EnsureKey_Call) Run ¶ added in v2.15.0
func (_c *Cosmos_EnsureKey_Call) Run(run func(ctx context.Context)) *Cosmos_EnsureKey_Call
func (*Cosmos_EnsureKey_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Cosmos_EnsureKey_Call) RunAndReturn(run func(context.Context) error) *Cosmos_EnsureKey_Call
type Cosmos_Expecter ¶ added in v2.15.0
type Cosmos_Expecter struct {
// contains filtered or unexported fields
}
func (*Cosmos_Expecter) Add ¶ added in v2.15.0
func (_e *Cosmos_Expecter) Add(ctx interface{}, key interface{}) *Cosmos_Add_Call
Add is a helper method to define mock.On call
- ctx context.Context
- key cosmoskey.Key
func (*Cosmos_Expecter) Create ¶ added in v2.15.0
func (_e *Cosmos_Expecter) Create(ctx interface{}) *Cosmos_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
func (*Cosmos_Expecter) Delete ¶ added in v2.15.0
func (_e *Cosmos_Expecter) Delete(ctx interface{}, id interface{}) *Cosmos_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- id string
func (*Cosmos_Expecter) EnsureKey ¶ added in v2.15.0
func (_e *Cosmos_Expecter) EnsureKey(ctx interface{}) *Cosmos_EnsureKey_Call
EnsureKey is a helper method to define mock.On call
- ctx context.Context
func (*Cosmos_Expecter) Export ¶ added in v2.15.0
func (_e *Cosmos_Expecter) Export(id interface{}, password interface{}) *Cosmos_Export_Call
Export is a helper method to define mock.On call
- id string
- password string
func (*Cosmos_Expecter) Get ¶ added in v2.15.0
func (_e *Cosmos_Expecter) Get(id interface{}) *Cosmos_Get_Call
Get is a helper method to define mock.On call
- id string
func (*Cosmos_Expecter) GetAll ¶ added in v2.15.0
func (_e *Cosmos_Expecter) GetAll() *Cosmos_GetAll_Call
GetAll is a helper method to define mock.On call
func (*Cosmos_Expecter) Import ¶ added in v2.15.0
func (_e *Cosmos_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *Cosmos_Import_Call
Import is a helper method to define mock.On call
- ctx context.Context
- keyJSON []byte
- password string
type Cosmos_Export_Call ¶ added in v2.15.0
Cosmos_Export_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Export'
func (*Cosmos_Export_Call) Return ¶ added in v2.15.0
func (_c *Cosmos_Export_Call) Return(_a0 []byte, _a1 error) *Cosmos_Export_Call
func (*Cosmos_Export_Call) Run ¶ added in v2.15.0
func (_c *Cosmos_Export_Call) Run(run func(id string, password string)) *Cosmos_Export_Call
func (*Cosmos_Export_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Cosmos_Export_Call) RunAndReturn(run func(string, string) ([]byte, error)) *Cosmos_Export_Call
type Cosmos_GetAll_Call ¶ added in v2.15.0
Cosmos_GetAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAll'
func (*Cosmos_GetAll_Call) Return ¶ added in v2.15.0
func (_c *Cosmos_GetAll_Call) Return(_a0 []cosmoskey.Key, _a1 error) *Cosmos_GetAll_Call
func (*Cosmos_GetAll_Call) Run ¶ added in v2.15.0
func (_c *Cosmos_GetAll_Call) Run(run func()) *Cosmos_GetAll_Call
func (*Cosmos_GetAll_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Cosmos_GetAll_Call) RunAndReturn(run func() ([]cosmoskey.Key, error)) *Cosmos_GetAll_Call
type Cosmos_Get_Call ¶ added in v2.15.0
Cosmos_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Cosmos_Get_Call) Return ¶ added in v2.15.0
func (_c *Cosmos_Get_Call) Return(_a0 cosmoskey.Key, _a1 error) *Cosmos_Get_Call
func (*Cosmos_Get_Call) Run ¶ added in v2.15.0
func (_c *Cosmos_Get_Call) Run(run func(id string)) *Cosmos_Get_Call
func (*Cosmos_Get_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Cosmos_Get_Call) RunAndReturn(run func(string) (cosmoskey.Key, error)) *Cosmos_Get_Call
type Cosmos_Import_Call ¶ added in v2.15.0
Cosmos_Import_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Import'
func (*Cosmos_Import_Call) Return ¶ added in v2.15.0
func (_c *Cosmos_Import_Call) Return(_a0 cosmoskey.Key, _a1 error) *Cosmos_Import_Call
func (*Cosmos_Import_Call) Run ¶ added in v2.15.0
func (_c *Cosmos_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *Cosmos_Import_Call
func (*Cosmos_Import_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Cosmos_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (cosmoskey.Key, error)) *Cosmos_Import_Call
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) Add ¶ added in v2.3.0
Add provides a mock function with given fields: ctx, address, chainID
func (*Eth) CheckEnabled ¶
CheckEnabled provides a mock function with given fields: ctx, address, chainID
func (*Eth) EXPECT ¶ added in v2.15.0
func (_m *Eth) EXPECT() *Eth_Expecter
func (*Eth) EnabledAddressesForChain ¶ added in v2.1.0
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) EnabledKeysForChain ¶
EnabledKeysForChain provides a mock function with given fields: ctx, chainID
func (*Eth) EnsureKeys ¶
EnsureKeys provides a mock function with given fields: ctx, chainIDs
func (*Eth) GetRoundRobinAddress ¶
func (_m *Eth) GetRoundRobinAddress(ctx context.Context, chainID *big.Int, addresses ...common.Address) (common.Address, error)
GetRoundRobinAddress provides a mock function with given fields: ctx, chainID, addresses
func (*Eth) GetStateForKey ¶ added in v2.3.0
GetStateForKey provides a mock function with given fields: ctx, key
func (*Eth) GetStatesForChain ¶
GetStatesForChain provides a mock function with given fields: ctx, chainID
func (*Eth) GetStatesForKeys ¶
GetStatesForKeys provides a mock function with given fields: ctx, keys
func (*Eth) Import ¶
func (_m *Eth) Import(ctx context.Context, keyJSON []byte, password string, chainIDs ...*big.Int) (ethkey.KeyV2, error)
Import provides a mock function with given fields: ctx, keyJSON, password, chainIDs
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
func (*Eth) XXXTestingOnlyAdd ¶
XXXTestingOnlyAdd provides a mock function with given fields: ctx, key
type Eth_Add_Call ¶ added in v2.15.0
Eth_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*Eth_Add_Call) Return ¶ added in v2.15.0
func (_c *Eth_Add_Call) Return(_a0 error) *Eth_Add_Call
func (*Eth_Add_Call) Run ¶ added in v2.15.0
func (_c *Eth_Add_Call) Run(run func(ctx context.Context, address common.Address, chainID *big.Int)) *Eth_Add_Call
func (*Eth_Add_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_Add_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) error) *Eth_Add_Call
type Eth_CheckEnabled_Call ¶ added in v2.15.0
Eth_CheckEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckEnabled'
func (*Eth_CheckEnabled_Call) Return ¶ added in v2.15.0
func (_c *Eth_CheckEnabled_Call) Return(_a0 error) *Eth_CheckEnabled_Call
func (*Eth_CheckEnabled_Call) Run ¶ added in v2.15.0
func (_c *Eth_CheckEnabled_Call) Run(run func(ctx context.Context, address common.Address, chainID *big.Int)) *Eth_CheckEnabled_Call
func (*Eth_CheckEnabled_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_CheckEnabled_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) error) *Eth_CheckEnabled_Call
type Eth_Create_Call ¶ added in v2.15.0
Eth_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Eth_Create_Call) Return ¶ added in v2.15.0
func (_c *Eth_Create_Call) Return(_a0 ethkey.KeyV2, _a1 error) *Eth_Create_Call
func (*Eth_Create_Call) Run ¶ added in v2.15.0
func (_c *Eth_Create_Call) Run(run func(ctx context.Context, chainIDs ...*big.Int)) *Eth_Create_Call
func (*Eth_Create_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_Create_Call) RunAndReturn(run func(context.Context, ...*big.Int) (ethkey.KeyV2, error)) *Eth_Create_Call
type Eth_Delete_Call ¶ added in v2.15.0
Eth_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Eth_Delete_Call) Return ¶ added in v2.15.0
func (_c *Eth_Delete_Call) Return(_a0 ethkey.KeyV2, _a1 error) *Eth_Delete_Call
func (*Eth_Delete_Call) Run ¶ added in v2.15.0
func (_c *Eth_Delete_Call) Run(run func(ctx context.Context, id string)) *Eth_Delete_Call
func (*Eth_Delete_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_Delete_Call) RunAndReturn(run func(context.Context, string) (ethkey.KeyV2, error)) *Eth_Delete_Call
type Eth_Disable_Call ¶ added in v2.15.0
Eth_Disable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Disable'
func (*Eth_Disable_Call) Return ¶ added in v2.15.0
func (_c *Eth_Disable_Call) Return(_a0 error) *Eth_Disable_Call
func (*Eth_Disable_Call) Run ¶ added in v2.15.0
func (_c *Eth_Disable_Call) Run(run func(ctx context.Context, address common.Address, chainID *big.Int)) *Eth_Disable_Call
func (*Eth_Disable_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_Disable_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) error) *Eth_Disable_Call
type Eth_Enable_Call ¶ added in v2.15.0
Eth_Enable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Enable'
func (*Eth_Enable_Call) Return ¶ added in v2.15.0
func (_c *Eth_Enable_Call) Return(_a0 error) *Eth_Enable_Call
func (*Eth_Enable_Call) Run ¶ added in v2.15.0
func (_c *Eth_Enable_Call) Run(run func(ctx context.Context, address common.Address, chainID *big.Int)) *Eth_Enable_Call
func (*Eth_Enable_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_Enable_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) error) *Eth_Enable_Call
type Eth_EnabledAddressesForChain_Call ¶ added in v2.15.0
Eth_EnabledAddressesForChain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnabledAddressesForChain'
func (*Eth_EnabledAddressesForChain_Call) Return ¶ added in v2.15.0
func (_c *Eth_EnabledAddressesForChain_Call) Return(addresses []common.Address, err error) *Eth_EnabledAddressesForChain_Call
func (*Eth_EnabledAddressesForChain_Call) Run ¶ added in v2.15.0
func (_c *Eth_EnabledAddressesForChain_Call) Run(run func(ctx context.Context, chainID *big.Int)) *Eth_EnabledAddressesForChain_Call
func (*Eth_EnabledAddressesForChain_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_EnabledAddressesForChain_Call) RunAndReturn(run func(context.Context, *big.Int) ([]common.Address, error)) *Eth_EnabledAddressesForChain_Call
type Eth_EnabledKeysForChain_Call ¶ added in v2.15.0
Eth_EnabledKeysForChain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnabledKeysForChain'
func (*Eth_EnabledKeysForChain_Call) Return ¶ added in v2.15.0
func (_c *Eth_EnabledKeysForChain_Call) Return(keys []ethkey.KeyV2, err error) *Eth_EnabledKeysForChain_Call
func (*Eth_EnabledKeysForChain_Call) Run ¶ added in v2.15.0
func (_c *Eth_EnabledKeysForChain_Call) Run(run func(ctx context.Context, chainID *big.Int)) *Eth_EnabledKeysForChain_Call
func (*Eth_EnabledKeysForChain_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_EnabledKeysForChain_Call) RunAndReturn(run func(context.Context, *big.Int) ([]ethkey.KeyV2, error)) *Eth_EnabledKeysForChain_Call
type Eth_EnsureKeys_Call ¶ added in v2.15.0
Eth_EnsureKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureKeys'
func (*Eth_EnsureKeys_Call) Return ¶ added in v2.15.0
func (_c *Eth_EnsureKeys_Call) Return(_a0 error) *Eth_EnsureKeys_Call
func (*Eth_EnsureKeys_Call) Run ¶ added in v2.15.0
func (_c *Eth_EnsureKeys_Call) Run(run func(ctx context.Context, chainIDs ...*big.Int)) *Eth_EnsureKeys_Call
func (*Eth_EnsureKeys_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_EnsureKeys_Call) RunAndReturn(run func(context.Context, ...*big.Int) error) *Eth_EnsureKeys_Call
type Eth_Expecter ¶ added in v2.15.0
type Eth_Expecter struct {
// contains filtered or unexported fields
}
func (*Eth_Expecter) Add ¶ added in v2.15.0
func (_e *Eth_Expecter) Add(ctx interface{}, address interface{}, chainID interface{}) *Eth_Add_Call
Add is a helper method to define mock.On call
- ctx context.Context
- address common.Address
- chainID *big.Int
func (*Eth_Expecter) CheckEnabled ¶ added in v2.15.0
func (_e *Eth_Expecter) CheckEnabled(ctx interface{}, address interface{}, chainID interface{}) *Eth_CheckEnabled_Call
CheckEnabled is a helper method to define mock.On call
- ctx context.Context
- address common.Address
- chainID *big.Int
func (*Eth_Expecter) Create ¶ added in v2.15.0
func (_e *Eth_Expecter) Create(ctx interface{}, chainIDs ...interface{}) *Eth_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- chainIDs ...*big.Int
func (*Eth_Expecter) Delete ¶ added in v2.15.0
func (_e *Eth_Expecter) Delete(ctx interface{}, id interface{}) *Eth_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- id string
func (*Eth_Expecter) Disable ¶ added in v2.15.0
func (_e *Eth_Expecter) Disable(ctx interface{}, address interface{}, chainID interface{}) *Eth_Disable_Call
Disable is a helper method to define mock.On call
- ctx context.Context
- address common.Address
- chainID *big.Int
func (*Eth_Expecter) Enable ¶ added in v2.15.0
func (_e *Eth_Expecter) Enable(ctx interface{}, address interface{}, chainID interface{}) *Eth_Enable_Call
Enable is a helper method to define mock.On call
- ctx context.Context
- address common.Address
- chainID *big.Int
func (*Eth_Expecter) EnabledAddressesForChain ¶ added in v2.15.0
func (_e *Eth_Expecter) EnabledAddressesForChain(ctx interface{}, chainID interface{}) *Eth_EnabledAddressesForChain_Call
EnabledAddressesForChain is a helper method to define mock.On call
- ctx context.Context
- chainID *big.Int
func (*Eth_Expecter) EnabledKeysForChain ¶ added in v2.15.0
func (_e *Eth_Expecter) EnabledKeysForChain(ctx interface{}, chainID interface{}) *Eth_EnabledKeysForChain_Call
EnabledKeysForChain is a helper method to define mock.On call
- ctx context.Context
- chainID *big.Int
func (*Eth_Expecter) EnsureKeys ¶ added in v2.15.0
func (_e *Eth_Expecter) EnsureKeys(ctx interface{}, chainIDs ...interface{}) *Eth_EnsureKeys_Call
EnsureKeys is a helper method to define mock.On call
- ctx context.Context
- chainIDs ...*big.Int
func (*Eth_Expecter) Export ¶ added in v2.15.0
func (_e *Eth_Expecter) Export(ctx interface{}, id interface{}, password interface{}) *Eth_Export_Call
Export is a helper method to define mock.On call
- ctx context.Context
- id string
- password string
func (*Eth_Expecter) Get ¶ added in v2.15.0
func (_e *Eth_Expecter) Get(ctx interface{}, id interface{}) *Eth_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- id string
func (*Eth_Expecter) GetAll ¶ added in v2.15.0
func (_e *Eth_Expecter) GetAll(ctx interface{}) *Eth_GetAll_Call
GetAll is a helper method to define mock.On call
- ctx context.Context
func (*Eth_Expecter) GetRoundRobinAddress ¶ added in v2.15.0
func (_e *Eth_Expecter) GetRoundRobinAddress(ctx interface{}, chainID interface{}, addresses ...interface{}) *Eth_GetRoundRobinAddress_Call
GetRoundRobinAddress is a helper method to define mock.On call
- ctx context.Context
- chainID *big.Int
- addresses ...common.Address
func (*Eth_Expecter) GetState ¶ added in v2.15.0
func (_e *Eth_Expecter) GetState(ctx interface{}, id interface{}, chainID interface{}) *Eth_GetState_Call
GetState is a helper method to define mock.On call
- ctx context.Context
- id string
- chainID *big.Int
func (*Eth_Expecter) GetStateForKey ¶ added in v2.15.0
func (_e *Eth_Expecter) GetStateForKey(ctx interface{}, key interface{}) *Eth_GetStateForKey_Call
GetStateForKey is a helper method to define mock.On call
- ctx context.Context
- key ethkey.KeyV2
func (*Eth_Expecter) GetStatesForChain ¶ added in v2.15.0
func (_e *Eth_Expecter) GetStatesForChain(ctx interface{}, chainID interface{}) *Eth_GetStatesForChain_Call
GetStatesForChain is a helper method to define mock.On call
- ctx context.Context
- chainID *big.Int
func (*Eth_Expecter) GetStatesForKeys ¶ added in v2.15.0
func (_e *Eth_Expecter) GetStatesForKeys(ctx interface{}, keys interface{}) *Eth_GetStatesForKeys_Call
GetStatesForKeys is a helper method to define mock.On call
- ctx context.Context
- keys []ethkey.KeyV2
func (*Eth_Expecter) Import ¶ added in v2.15.0
func (_e *Eth_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}, chainIDs ...interface{}) *Eth_Import_Call
Import is a helper method to define mock.On call
- ctx context.Context
- keyJSON []byte
- password string
- chainIDs ...*big.Int
func (*Eth_Expecter) SignTx ¶ added in v2.15.0
func (_e *Eth_Expecter) SignTx(ctx interface{}, fromAddress interface{}, tx interface{}, chainID interface{}) *Eth_SignTx_Call
SignTx is a helper method to define mock.On call
- ctx context.Context
- fromAddress common.Address
- tx *types.Transaction
- chainID *big.Int
func (*Eth_Expecter) SubscribeToKeyChanges ¶ added in v2.15.0
func (_e *Eth_Expecter) SubscribeToKeyChanges(ctx interface{}) *Eth_SubscribeToKeyChanges_Call
SubscribeToKeyChanges is a helper method to define mock.On call
- ctx context.Context
func (*Eth_Expecter) XXXTestingOnlyAdd ¶ added in v2.15.0
func (_e *Eth_Expecter) XXXTestingOnlyAdd(ctx interface{}, key interface{}) *Eth_XXXTestingOnlyAdd_Call
XXXTestingOnlyAdd is a helper method to define mock.On call
- ctx context.Context
- key ethkey.KeyV2
func (*Eth_Expecter) XXXTestingOnlySetState ¶ added in v2.15.0
func (_e *Eth_Expecter) XXXTestingOnlySetState(ctx interface{}, keyState interface{}) *Eth_XXXTestingOnlySetState_Call
XXXTestingOnlySetState is a helper method to define mock.On call
- ctx context.Context
- keyState ethkey.State
type Eth_Export_Call ¶ added in v2.15.0
Eth_Export_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Export'
func (*Eth_Export_Call) Return ¶ added in v2.15.0
func (_c *Eth_Export_Call) Return(_a0 []byte, _a1 error) *Eth_Export_Call
func (*Eth_Export_Call) Run ¶ added in v2.15.0
func (_c *Eth_Export_Call) Run(run func(ctx context.Context, id string, password string)) *Eth_Export_Call
func (*Eth_Export_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_Export_Call) RunAndReturn(run func(context.Context, string, string) ([]byte, error)) *Eth_Export_Call
type Eth_GetAll_Call ¶ added in v2.15.0
Eth_GetAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAll'
func (*Eth_GetAll_Call) Return ¶ added in v2.15.0
func (_c *Eth_GetAll_Call) Return(_a0 []ethkey.KeyV2, _a1 error) *Eth_GetAll_Call
func (*Eth_GetAll_Call) Run ¶ added in v2.15.0
func (_c *Eth_GetAll_Call) Run(run func(ctx context.Context)) *Eth_GetAll_Call
func (*Eth_GetAll_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_GetAll_Call) RunAndReturn(run func(context.Context) ([]ethkey.KeyV2, error)) *Eth_GetAll_Call
type Eth_GetRoundRobinAddress_Call ¶ added in v2.15.0
Eth_GetRoundRobinAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRoundRobinAddress'
func (*Eth_GetRoundRobinAddress_Call) Return ¶ added in v2.15.0
func (_c *Eth_GetRoundRobinAddress_Call) Return(address common.Address, err error) *Eth_GetRoundRobinAddress_Call
func (*Eth_GetRoundRobinAddress_Call) Run ¶ added in v2.15.0
func (_c *Eth_GetRoundRobinAddress_Call) Run(run func(ctx context.Context, chainID *big.Int, addresses ...common.Address)) *Eth_GetRoundRobinAddress_Call
func (*Eth_GetRoundRobinAddress_Call) RunAndReturn ¶ added in v2.15.0
type Eth_GetStateForKey_Call ¶ added in v2.15.0
Eth_GetStateForKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStateForKey'
func (*Eth_GetStateForKey_Call) Return ¶ added in v2.15.0
func (_c *Eth_GetStateForKey_Call) Return(_a0 ethkey.State, _a1 error) *Eth_GetStateForKey_Call
func (*Eth_GetStateForKey_Call) Run ¶ added in v2.15.0
func (_c *Eth_GetStateForKey_Call) Run(run func(ctx context.Context, key ethkey.KeyV2)) *Eth_GetStateForKey_Call
func (*Eth_GetStateForKey_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_GetStateForKey_Call) RunAndReturn(run func(context.Context, ethkey.KeyV2) (ethkey.State, error)) *Eth_GetStateForKey_Call
type Eth_GetState_Call ¶ added in v2.15.0
Eth_GetState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetState'
func (*Eth_GetState_Call) Return ¶ added in v2.15.0
func (_c *Eth_GetState_Call) Return(_a0 ethkey.State, _a1 error) *Eth_GetState_Call
func (*Eth_GetState_Call) Run ¶ added in v2.15.0
func (_c *Eth_GetState_Call) Run(run func(ctx context.Context, id string, chainID *big.Int)) *Eth_GetState_Call
func (*Eth_GetState_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_GetState_Call) RunAndReturn(run func(context.Context, string, *big.Int) (ethkey.State, error)) *Eth_GetState_Call
type Eth_GetStatesForChain_Call ¶ added in v2.15.0
Eth_GetStatesForChain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatesForChain'
func (*Eth_GetStatesForChain_Call) Return ¶ added in v2.15.0
func (_c *Eth_GetStatesForChain_Call) Return(_a0 []ethkey.State, _a1 error) *Eth_GetStatesForChain_Call
func (*Eth_GetStatesForChain_Call) Run ¶ added in v2.15.0
func (_c *Eth_GetStatesForChain_Call) Run(run func(ctx context.Context, chainID *big.Int)) *Eth_GetStatesForChain_Call
func (*Eth_GetStatesForChain_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_GetStatesForChain_Call) RunAndReturn(run func(context.Context, *big.Int) ([]ethkey.State, error)) *Eth_GetStatesForChain_Call
type Eth_GetStatesForKeys_Call ¶ added in v2.15.0
Eth_GetStatesForKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatesForKeys'
func (*Eth_GetStatesForKeys_Call) Return ¶ added in v2.15.0
func (_c *Eth_GetStatesForKeys_Call) Return(_a0 []ethkey.State, _a1 error) *Eth_GetStatesForKeys_Call
func (*Eth_GetStatesForKeys_Call) Run ¶ added in v2.15.0
func (_c *Eth_GetStatesForKeys_Call) Run(run func(ctx context.Context, keys []ethkey.KeyV2)) *Eth_GetStatesForKeys_Call
func (*Eth_GetStatesForKeys_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_GetStatesForKeys_Call) RunAndReturn(run func(context.Context, []ethkey.KeyV2) ([]ethkey.State, error)) *Eth_GetStatesForKeys_Call
type Eth_Get_Call ¶ added in v2.15.0
Eth_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Eth_Get_Call) Return ¶ added in v2.15.0
func (_c *Eth_Get_Call) Return(_a0 ethkey.KeyV2, _a1 error) *Eth_Get_Call
func (*Eth_Get_Call) Run ¶ added in v2.15.0
func (_c *Eth_Get_Call) Run(run func(ctx context.Context, id string)) *Eth_Get_Call
func (*Eth_Get_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_Get_Call) RunAndReturn(run func(context.Context, string) (ethkey.KeyV2, error)) *Eth_Get_Call
type Eth_Import_Call ¶ added in v2.15.0
Eth_Import_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Import'
func (*Eth_Import_Call) Return ¶ added in v2.15.0
func (_c *Eth_Import_Call) Return(_a0 ethkey.KeyV2, _a1 error) *Eth_Import_Call
func (*Eth_Import_Call) Run ¶ added in v2.15.0
func (_c *Eth_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string, chainIDs ...*big.Int)) *Eth_Import_Call
func (*Eth_Import_Call) RunAndReturn ¶ added in v2.15.0
type Eth_SignTx_Call ¶ added in v2.15.0
Eth_SignTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignTx'
func (*Eth_SignTx_Call) Return ¶ added in v2.15.0
func (_c *Eth_SignTx_Call) Return(_a0 *types.Transaction, _a1 error) *Eth_SignTx_Call
func (*Eth_SignTx_Call) Run ¶ added in v2.15.0
func (_c *Eth_SignTx_Call) Run(run func(ctx context.Context, fromAddress common.Address, tx *types.Transaction, chainID *big.Int)) *Eth_SignTx_Call
func (*Eth_SignTx_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_SignTx_Call) RunAndReturn(run func(context.Context, common.Address, *types.Transaction, *big.Int) (*types.Transaction, error)) *Eth_SignTx_Call
type Eth_SubscribeToKeyChanges_Call ¶ added in v2.15.0
Eth_SubscribeToKeyChanges_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeToKeyChanges'
func (*Eth_SubscribeToKeyChanges_Call) Return ¶ added in v2.15.0
func (_c *Eth_SubscribeToKeyChanges_Call) Return(ch chan struct{}, unsub func()) *Eth_SubscribeToKeyChanges_Call
func (*Eth_SubscribeToKeyChanges_Call) Run ¶ added in v2.15.0
func (_c *Eth_SubscribeToKeyChanges_Call) Run(run func(ctx context.Context)) *Eth_SubscribeToKeyChanges_Call
func (*Eth_SubscribeToKeyChanges_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_SubscribeToKeyChanges_Call) RunAndReturn(run func(context.Context) (chan struct{}, func())) *Eth_SubscribeToKeyChanges_Call
type Eth_XXXTestingOnlyAdd_Call ¶ added in v2.15.0
Eth_XXXTestingOnlyAdd_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'XXXTestingOnlyAdd'
func (*Eth_XXXTestingOnlyAdd_Call) Return ¶ added in v2.15.0
func (_c *Eth_XXXTestingOnlyAdd_Call) Return() *Eth_XXXTestingOnlyAdd_Call
func (*Eth_XXXTestingOnlyAdd_Call) Run ¶ added in v2.15.0
func (_c *Eth_XXXTestingOnlyAdd_Call) Run(run func(ctx context.Context, key ethkey.KeyV2)) *Eth_XXXTestingOnlyAdd_Call
func (*Eth_XXXTestingOnlyAdd_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_XXXTestingOnlyAdd_Call) RunAndReturn(run func(context.Context, ethkey.KeyV2)) *Eth_XXXTestingOnlyAdd_Call
type Eth_XXXTestingOnlySetState_Call ¶ added in v2.15.0
Eth_XXXTestingOnlySetState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'XXXTestingOnlySetState'
func (*Eth_XXXTestingOnlySetState_Call) Return ¶ added in v2.15.0
func (_c *Eth_XXXTestingOnlySetState_Call) Return() *Eth_XXXTestingOnlySetState_Call
func (*Eth_XXXTestingOnlySetState_Call) Run ¶ added in v2.15.0
func (_c *Eth_XXXTestingOnlySetState_Call) Run(run func(ctx context.Context, keyState ethkey.State)) *Eth_XXXTestingOnlySetState_Call
func (*Eth_XXXTestingOnlySetState_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Eth_XXXTestingOnlySetState_Call) RunAndReturn(run func(context.Context, ethkey.State)) *Eth_XXXTestingOnlySetState_Call
type Master ¶
Master is an autogenerated mock type for the Master type
func NewMaster ¶
NewMaster creates a new instance of Master. 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 (*Master) EXPECT ¶ added in v2.15.0
func (_m *Master) EXPECT() *Master_Expecter
type Master_Aptos_Call ¶ added in v2.15.0
Master_Aptos_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Aptos'
func (*Master_Aptos_Call) Return ¶ added in v2.15.0
func (_c *Master_Aptos_Call) Return(_a0 keystore.Aptos) *Master_Aptos_Call
func (*Master_Aptos_Call) Run ¶ added in v2.15.0
func (_c *Master_Aptos_Call) Run(run func()) *Master_Aptos_Call
func (*Master_Aptos_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Master_Aptos_Call) RunAndReturn(run func() keystore.Aptos) *Master_Aptos_Call
type Master_CSA_Call ¶ added in v2.15.0
Master_CSA_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CSA'
func (*Master_CSA_Call) Return ¶ added in v2.15.0
func (_c *Master_CSA_Call) Return(_a0 keystore.CSA) *Master_CSA_Call
func (*Master_CSA_Call) Run ¶ added in v2.15.0
func (_c *Master_CSA_Call) Run(run func()) *Master_CSA_Call
func (*Master_CSA_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Master_CSA_Call) RunAndReturn(run func() keystore.CSA) *Master_CSA_Call
type Master_Cosmos_Call ¶ added in v2.15.0
Master_Cosmos_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cosmos'
func (*Master_Cosmos_Call) Return ¶ added in v2.15.0
func (_c *Master_Cosmos_Call) Return(_a0 keystore.Cosmos) *Master_Cosmos_Call
func (*Master_Cosmos_Call) Run ¶ added in v2.15.0
func (_c *Master_Cosmos_Call) Run(run func()) *Master_Cosmos_Call
func (*Master_Cosmos_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Master_Cosmos_Call) RunAndReturn(run func() keystore.Cosmos) *Master_Cosmos_Call
type Master_Eth_Call ¶ added in v2.15.0
Master_Eth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Eth'
func (*Master_Eth_Call) Return ¶ added in v2.15.0
func (_c *Master_Eth_Call) Return(_a0 keystore.Eth) *Master_Eth_Call
func (*Master_Eth_Call) Run ¶ added in v2.15.0
func (_c *Master_Eth_Call) Run(run func()) *Master_Eth_Call
func (*Master_Eth_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Master_Eth_Call) RunAndReturn(run func() keystore.Eth) *Master_Eth_Call
type Master_Expecter ¶ added in v2.15.0
type Master_Expecter struct {
// contains filtered or unexported fields
}
func (*Master_Expecter) Aptos ¶ added in v2.15.0
func (_e *Master_Expecter) Aptos() *Master_Aptos_Call
Aptos is a helper method to define mock.On call
func (*Master_Expecter) CSA ¶ added in v2.15.0
func (_e *Master_Expecter) CSA() *Master_CSA_Call
CSA is a helper method to define mock.On call
func (*Master_Expecter) Cosmos ¶ added in v2.15.0
func (_e *Master_Expecter) Cosmos() *Master_Cosmos_Call
Cosmos is a helper method to define mock.On call
func (*Master_Expecter) Eth ¶ added in v2.15.0
func (_e *Master_Expecter) Eth() *Master_Eth_Call
Eth is a helper method to define mock.On call
func (*Master_Expecter) IsEmpty ¶ added in v2.15.0
func (_e *Master_Expecter) IsEmpty(ctx interface{}) *Master_IsEmpty_Call
IsEmpty is a helper method to define mock.On call
- ctx context.Context
func (*Master_Expecter) OCR ¶ added in v2.15.0
func (_e *Master_Expecter) OCR() *Master_OCR_Call
OCR is a helper method to define mock.On call
func (*Master_Expecter) OCR2 ¶ added in v2.15.0
func (_e *Master_Expecter) OCR2() *Master_OCR2_Call
OCR2 is a helper method to define mock.On call
func (*Master_Expecter) P2P ¶ added in v2.15.0
func (_e *Master_Expecter) P2P() *Master_P2P_Call
P2P is a helper method to define mock.On call
func (*Master_Expecter) Solana ¶ added in v2.15.0
func (_e *Master_Expecter) Solana() *Master_Solana_Call
Solana is a helper method to define mock.On call
func (*Master_Expecter) StarkNet ¶ added in v2.15.0
func (_e *Master_Expecter) StarkNet() *Master_StarkNet_Call
StarkNet is a helper method to define mock.On call
func (*Master_Expecter) Unlock ¶ added in v2.15.0
func (_e *Master_Expecter) Unlock(ctx interface{}, password interface{}) *Master_Unlock_Call
Unlock is a helper method to define mock.On call
- ctx context.Context
- password string
func (*Master_Expecter) VRF ¶ added in v2.15.0
func (_e *Master_Expecter) VRF() *Master_VRF_Call
VRF is a helper method to define mock.On call
type Master_IsEmpty_Call ¶ added in v2.15.0
Master_IsEmpty_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsEmpty'
func (*Master_IsEmpty_Call) Return ¶ added in v2.15.0
func (_c *Master_IsEmpty_Call) Return(_a0 bool, _a1 error) *Master_IsEmpty_Call
func (*Master_IsEmpty_Call) Run ¶ added in v2.15.0
func (_c *Master_IsEmpty_Call) Run(run func(ctx context.Context)) *Master_IsEmpty_Call
func (*Master_IsEmpty_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Master_IsEmpty_Call) RunAndReturn(run func(context.Context) (bool, error)) *Master_IsEmpty_Call
type Master_OCR2_Call ¶ added in v2.15.0
Master_OCR2_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OCR2'
func (*Master_OCR2_Call) Return ¶ added in v2.15.0
func (_c *Master_OCR2_Call) Return(_a0 keystore.OCR2) *Master_OCR2_Call
func (*Master_OCR2_Call) Run ¶ added in v2.15.0
func (_c *Master_OCR2_Call) Run(run func()) *Master_OCR2_Call
func (*Master_OCR2_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Master_OCR2_Call) RunAndReturn(run func() keystore.OCR2) *Master_OCR2_Call
type Master_OCR_Call ¶ added in v2.15.0
Master_OCR_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OCR'
func (*Master_OCR_Call) Return ¶ added in v2.15.0
func (_c *Master_OCR_Call) Return(_a0 keystore.OCR) *Master_OCR_Call
func (*Master_OCR_Call) Run ¶ added in v2.15.0
func (_c *Master_OCR_Call) Run(run func()) *Master_OCR_Call
func (*Master_OCR_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Master_OCR_Call) RunAndReturn(run func() keystore.OCR) *Master_OCR_Call
type Master_P2P_Call ¶ added in v2.15.0
Master_P2P_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'P2P'
func (*Master_P2P_Call) Return ¶ added in v2.15.0
func (_c *Master_P2P_Call) Return(_a0 keystore.P2P) *Master_P2P_Call
func (*Master_P2P_Call) Run ¶ added in v2.15.0
func (_c *Master_P2P_Call) Run(run func()) *Master_P2P_Call
func (*Master_P2P_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Master_P2P_Call) RunAndReturn(run func() keystore.P2P) *Master_P2P_Call
type Master_Solana_Call ¶ added in v2.15.0
Master_Solana_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Solana'
func (*Master_Solana_Call) Return ¶ added in v2.15.0
func (_c *Master_Solana_Call) Return(_a0 keystore.Solana) *Master_Solana_Call
func (*Master_Solana_Call) Run ¶ added in v2.15.0
func (_c *Master_Solana_Call) Run(run func()) *Master_Solana_Call
func (*Master_Solana_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Master_Solana_Call) RunAndReturn(run func() keystore.Solana) *Master_Solana_Call
type Master_StarkNet_Call ¶ added in v2.15.0
Master_StarkNet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StarkNet'
func (*Master_StarkNet_Call) Return ¶ added in v2.15.0
func (_c *Master_StarkNet_Call) Return(_a0 keystore.StarkNet) *Master_StarkNet_Call
func (*Master_StarkNet_Call) Run ¶ added in v2.15.0
func (_c *Master_StarkNet_Call) Run(run func()) *Master_StarkNet_Call
func (*Master_StarkNet_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Master_StarkNet_Call) RunAndReturn(run func() keystore.StarkNet) *Master_StarkNet_Call
type Master_Unlock_Call ¶ added in v2.15.0
Master_Unlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unlock'
func (*Master_Unlock_Call) Return ¶ added in v2.15.0
func (_c *Master_Unlock_Call) Return(_a0 error) *Master_Unlock_Call
func (*Master_Unlock_Call) Run ¶ added in v2.15.0
func (_c *Master_Unlock_Call) Run(run func(ctx context.Context, password string)) *Master_Unlock_Call
func (*Master_Unlock_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Master_Unlock_Call) RunAndReturn(run func(context.Context, string) error) *Master_Unlock_Call
type Master_VRF_Call ¶ added in v2.15.0
Master_VRF_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VRF'
func (*Master_VRF_Call) Return ¶ added in v2.15.0
func (_c *Master_VRF_Call) Return(_a0 keystore.VRF) *Master_VRF_Call
func (*Master_VRF_Call) Run ¶ added in v2.15.0
func (_c *Master_VRF_Call) Run(run func()) *Master_VRF_Call
func (*Master_VRF_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Master_VRF_Call) RunAndReturn(run func() keystore.VRF) *Master_VRF_Call
type OCR ¶
OCR is an autogenerated mock type for the OCR type
func NewOCR ¶
NewOCR creates a new instance of OCR. 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 (*OCR) EXPECT ¶ added in v2.15.0
func (_m *OCR) EXPECT() *OCR_Expecter
type OCR2 ¶
OCR2 is an autogenerated mock type for the OCR2 type
func NewOCR2 ¶
NewOCR2 creates a new instance of OCR2. 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 (*OCR2) EXPECT ¶ added in v2.15.0
func (_m *OCR2) EXPECT() *OCR2_Expecter
func (*OCR2) EnsureKeys ¶
EnsureKeys provides a mock function with given fields: ctx, enabledChains
func (*OCR2) GetAllOfType ¶
GetAllOfType provides a mock function with given fields: _a0
type OCR2_Add_Call ¶ added in v2.15.0
OCR2_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*OCR2_Add_Call) Return ¶ added in v2.15.0
func (_c *OCR2_Add_Call) Return(_a0 error) *OCR2_Add_Call
func (*OCR2_Add_Call) Run ¶ added in v2.15.0
func (_c *OCR2_Add_Call) Run(run func(ctx context.Context, key ocr2key.KeyBundle)) *OCR2_Add_Call
func (*OCR2_Add_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR2_Add_Call) RunAndReturn(run func(context.Context, ocr2key.KeyBundle) error) *OCR2_Add_Call
type OCR2_Create_Call ¶ added in v2.15.0
OCR2_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*OCR2_Create_Call) Return ¶ added in v2.15.0
func (_c *OCR2_Create_Call) Return(_a0 ocr2key.KeyBundle, _a1 error) *OCR2_Create_Call
func (*OCR2_Create_Call) Run ¶ added in v2.15.0
func (_c *OCR2_Create_Call) Run(run func(_a0 context.Context, _a1 chaintype.ChainType)) *OCR2_Create_Call
func (*OCR2_Create_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR2_Create_Call) RunAndReturn(run func(context.Context, chaintype.ChainType) (ocr2key.KeyBundle, error)) *OCR2_Create_Call
type OCR2_Delete_Call ¶ added in v2.15.0
OCR2_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*OCR2_Delete_Call) Return ¶ added in v2.15.0
func (_c *OCR2_Delete_Call) Return(_a0 error) *OCR2_Delete_Call
func (*OCR2_Delete_Call) Run ¶ added in v2.15.0
func (_c *OCR2_Delete_Call) Run(run func(ctx context.Context, id string)) *OCR2_Delete_Call
func (*OCR2_Delete_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR2_Delete_Call) RunAndReturn(run func(context.Context, string) error) *OCR2_Delete_Call
type OCR2_EnsureKeys_Call ¶ added in v2.15.0
OCR2_EnsureKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureKeys'
func (*OCR2_EnsureKeys_Call) Return ¶ added in v2.15.0
func (_c *OCR2_EnsureKeys_Call) Return(_a0 error) *OCR2_EnsureKeys_Call
func (*OCR2_EnsureKeys_Call) Run ¶ added in v2.15.0
func (_c *OCR2_EnsureKeys_Call) Run(run func(ctx context.Context, enabledChains ...chaintype.ChainType)) *OCR2_EnsureKeys_Call
func (*OCR2_EnsureKeys_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR2_EnsureKeys_Call) RunAndReturn(run func(context.Context, ...chaintype.ChainType) error) *OCR2_EnsureKeys_Call
type OCR2_Expecter ¶ added in v2.15.0
type OCR2_Expecter struct {
// contains filtered or unexported fields
}
func (*OCR2_Expecter) Add ¶ added in v2.15.0
func (_e *OCR2_Expecter) Add(ctx interface{}, key interface{}) *OCR2_Add_Call
Add is a helper method to define mock.On call
- ctx context.Context
- key ocr2key.KeyBundle
func (*OCR2_Expecter) Create ¶ added in v2.15.0
func (_e *OCR2_Expecter) Create(_a0 interface{}, _a1 interface{}) *OCR2_Create_Call
Create is a helper method to define mock.On call
- _a0 context.Context
- _a1 chaintype.ChainType
func (*OCR2_Expecter) Delete ¶ added in v2.15.0
func (_e *OCR2_Expecter) Delete(ctx interface{}, id interface{}) *OCR2_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- id string
func (*OCR2_Expecter) EnsureKeys ¶ added in v2.15.0
func (_e *OCR2_Expecter) EnsureKeys(ctx interface{}, enabledChains ...interface{}) *OCR2_EnsureKeys_Call
EnsureKeys is a helper method to define mock.On call
- ctx context.Context
- enabledChains ...chaintype.ChainType
func (*OCR2_Expecter) Export ¶ added in v2.15.0
func (_e *OCR2_Expecter) Export(id interface{}, password interface{}) *OCR2_Export_Call
Export is a helper method to define mock.On call
- id string
- password string
func (*OCR2_Expecter) Get ¶ added in v2.15.0
func (_e *OCR2_Expecter) Get(id interface{}) *OCR2_Get_Call
Get is a helper method to define mock.On call
- id string
func (*OCR2_Expecter) GetAll ¶ added in v2.15.0
func (_e *OCR2_Expecter) GetAll() *OCR2_GetAll_Call
GetAll is a helper method to define mock.On call
func (*OCR2_Expecter) GetAllOfType ¶ added in v2.15.0
func (_e *OCR2_Expecter) GetAllOfType(_a0 interface{}) *OCR2_GetAllOfType_Call
GetAllOfType is a helper method to define mock.On call
- _a0 chaintype.ChainType
func (*OCR2_Expecter) Import ¶ added in v2.15.0
func (_e *OCR2_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *OCR2_Import_Call
Import is a helper method to define mock.On call
- ctx context.Context
- keyJSON []byte
- password string
type OCR2_Export_Call ¶ added in v2.15.0
OCR2_Export_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Export'
func (*OCR2_Export_Call) Return ¶ added in v2.15.0
func (_c *OCR2_Export_Call) Return(_a0 []byte, _a1 error) *OCR2_Export_Call
func (*OCR2_Export_Call) Run ¶ added in v2.15.0
func (_c *OCR2_Export_Call) Run(run func(id string, password string)) *OCR2_Export_Call
func (*OCR2_Export_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR2_Export_Call) RunAndReturn(run func(string, string) ([]byte, error)) *OCR2_Export_Call
type OCR2_GetAllOfType_Call ¶ added in v2.15.0
OCR2_GetAllOfType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllOfType'
func (*OCR2_GetAllOfType_Call) Return ¶ added in v2.15.0
func (_c *OCR2_GetAllOfType_Call) Return(_a0 []ocr2key.KeyBundle, _a1 error) *OCR2_GetAllOfType_Call
func (*OCR2_GetAllOfType_Call) Run ¶ added in v2.15.0
func (_c *OCR2_GetAllOfType_Call) Run(run func(_a0 chaintype.ChainType)) *OCR2_GetAllOfType_Call
func (*OCR2_GetAllOfType_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR2_GetAllOfType_Call) RunAndReturn(run func(chaintype.ChainType) ([]ocr2key.KeyBundle, error)) *OCR2_GetAllOfType_Call
type OCR2_GetAll_Call ¶ added in v2.15.0
OCR2_GetAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAll'
func (*OCR2_GetAll_Call) Return ¶ added in v2.15.0
func (_c *OCR2_GetAll_Call) Return(_a0 []ocr2key.KeyBundle, _a1 error) *OCR2_GetAll_Call
func (*OCR2_GetAll_Call) Run ¶ added in v2.15.0
func (_c *OCR2_GetAll_Call) Run(run func()) *OCR2_GetAll_Call
func (*OCR2_GetAll_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR2_GetAll_Call) RunAndReturn(run func() ([]ocr2key.KeyBundle, error)) *OCR2_GetAll_Call
type OCR2_Get_Call ¶ added in v2.15.0
OCR2_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*OCR2_Get_Call) Return ¶ added in v2.15.0
func (_c *OCR2_Get_Call) Return(_a0 ocr2key.KeyBundle, _a1 error) *OCR2_Get_Call
func (*OCR2_Get_Call) Run ¶ added in v2.15.0
func (_c *OCR2_Get_Call) Run(run func(id string)) *OCR2_Get_Call
func (*OCR2_Get_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR2_Get_Call) RunAndReturn(run func(string) (ocr2key.KeyBundle, error)) *OCR2_Get_Call
type OCR2_Import_Call ¶ added in v2.15.0
OCR2_Import_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Import'
func (*OCR2_Import_Call) Return ¶ added in v2.15.0
func (_c *OCR2_Import_Call) Return(_a0 ocr2key.KeyBundle, _a1 error) *OCR2_Import_Call
func (*OCR2_Import_Call) Run ¶ added in v2.15.0
func (_c *OCR2_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *OCR2_Import_Call
func (*OCR2_Import_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR2_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (ocr2key.KeyBundle, error)) *OCR2_Import_Call
type OCR_Add_Call ¶ added in v2.15.0
OCR_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*OCR_Add_Call) Return ¶ added in v2.15.0
func (_c *OCR_Add_Call) Return(_a0 error) *OCR_Add_Call
func (*OCR_Add_Call) Run ¶ added in v2.15.0
func (_c *OCR_Add_Call) Run(run func(ctx context.Context, key ocrkey.KeyV2)) *OCR_Add_Call
func (*OCR_Add_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR_Add_Call) RunAndReturn(run func(context.Context, ocrkey.KeyV2) error) *OCR_Add_Call
type OCR_Create_Call ¶ added in v2.15.0
OCR_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*OCR_Create_Call) Return ¶ added in v2.15.0
func (_c *OCR_Create_Call) Return(_a0 ocrkey.KeyV2, _a1 error) *OCR_Create_Call
func (*OCR_Create_Call) Run ¶ added in v2.15.0
func (_c *OCR_Create_Call) Run(run func(ctx context.Context)) *OCR_Create_Call
func (*OCR_Create_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR_Create_Call) RunAndReturn(run func(context.Context) (ocrkey.KeyV2, error)) *OCR_Create_Call
type OCR_Delete_Call ¶ added in v2.15.0
OCR_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*OCR_Delete_Call) Return ¶ added in v2.15.0
func (_c *OCR_Delete_Call) Return(_a0 ocrkey.KeyV2, _a1 error) *OCR_Delete_Call
func (*OCR_Delete_Call) Run ¶ added in v2.15.0
func (_c *OCR_Delete_Call) Run(run func(ctx context.Context, id string)) *OCR_Delete_Call
func (*OCR_Delete_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR_Delete_Call) RunAndReturn(run func(context.Context, string) (ocrkey.KeyV2, error)) *OCR_Delete_Call
type OCR_EnsureKey_Call ¶ added in v2.15.0
OCR_EnsureKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureKey'
func (*OCR_EnsureKey_Call) Return ¶ added in v2.15.0
func (_c *OCR_EnsureKey_Call) Return(_a0 error) *OCR_EnsureKey_Call
func (*OCR_EnsureKey_Call) Run ¶ added in v2.15.0
func (_c *OCR_EnsureKey_Call) Run(run func(ctx context.Context)) *OCR_EnsureKey_Call
func (*OCR_EnsureKey_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR_EnsureKey_Call) RunAndReturn(run func(context.Context) error) *OCR_EnsureKey_Call
type OCR_Expecter ¶ added in v2.15.0
type OCR_Expecter struct {
// contains filtered or unexported fields
}
func (*OCR_Expecter) Add ¶ added in v2.15.0
func (_e *OCR_Expecter) Add(ctx interface{}, key interface{}) *OCR_Add_Call
Add is a helper method to define mock.On call
- ctx context.Context
- key ocrkey.KeyV2
func (*OCR_Expecter) Create ¶ added in v2.15.0
func (_e *OCR_Expecter) Create(ctx interface{}) *OCR_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
func (*OCR_Expecter) Delete ¶ added in v2.15.0
func (_e *OCR_Expecter) Delete(ctx interface{}, id interface{}) *OCR_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- id string
func (*OCR_Expecter) EnsureKey ¶ added in v2.15.0
func (_e *OCR_Expecter) EnsureKey(ctx interface{}) *OCR_EnsureKey_Call
EnsureKey is a helper method to define mock.On call
- ctx context.Context
func (*OCR_Expecter) Export ¶ added in v2.15.0
func (_e *OCR_Expecter) Export(id interface{}, password interface{}) *OCR_Export_Call
Export is a helper method to define mock.On call
- id string
- password string
func (*OCR_Expecter) Get ¶ added in v2.15.0
func (_e *OCR_Expecter) Get(id interface{}) *OCR_Get_Call
Get is a helper method to define mock.On call
- id string
func (*OCR_Expecter) GetAll ¶ added in v2.15.0
func (_e *OCR_Expecter) GetAll() *OCR_GetAll_Call
GetAll is a helper method to define mock.On call
func (*OCR_Expecter) Import ¶ added in v2.15.0
func (_e *OCR_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *OCR_Import_Call
Import is a helper method to define mock.On call
- ctx context.Context
- keyJSON []byte
- password string
type OCR_Export_Call ¶ added in v2.15.0
OCR_Export_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Export'
func (*OCR_Export_Call) Return ¶ added in v2.15.0
func (_c *OCR_Export_Call) Return(_a0 []byte, _a1 error) *OCR_Export_Call
func (*OCR_Export_Call) Run ¶ added in v2.15.0
func (_c *OCR_Export_Call) Run(run func(id string, password string)) *OCR_Export_Call
func (*OCR_Export_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR_Export_Call) RunAndReturn(run func(string, string) ([]byte, error)) *OCR_Export_Call
type OCR_GetAll_Call ¶ added in v2.15.0
OCR_GetAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAll'
func (*OCR_GetAll_Call) Return ¶ added in v2.15.0
func (_c *OCR_GetAll_Call) Return(_a0 []ocrkey.KeyV2, _a1 error) *OCR_GetAll_Call
func (*OCR_GetAll_Call) Run ¶ added in v2.15.0
func (_c *OCR_GetAll_Call) Run(run func()) *OCR_GetAll_Call
func (*OCR_GetAll_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR_GetAll_Call) RunAndReturn(run func() ([]ocrkey.KeyV2, error)) *OCR_GetAll_Call
type OCR_Get_Call ¶ added in v2.15.0
OCR_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*OCR_Get_Call) Return ¶ added in v2.15.0
func (_c *OCR_Get_Call) Return(_a0 ocrkey.KeyV2, _a1 error) *OCR_Get_Call
func (*OCR_Get_Call) Run ¶ added in v2.15.0
func (_c *OCR_Get_Call) Run(run func(id string)) *OCR_Get_Call
func (*OCR_Get_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR_Get_Call) RunAndReturn(run func(string) (ocrkey.KeyV2, error)) *OCR_Get_Call
type OCR_Import_Call ¶ added in v2.15.0
OCR_Import_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Import'
func (*OCR_Import_Call) Return ¶ added in v2.15.0
func (_c *OCR_Import_Call) Return(_a0 ocrkey.KeyV2, _a1 error) *OCR_Import_Call
func (*OCR_Import_Call) Run ¶ added in v2.15.0
func (_c *OCR_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *OCR_Import_Call
func (*OCR_Import_Call) RunAndReturn ¶ added in v2.15.0
func (_c *OCR_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (ocrkey.KeyV2, error)) *OCR_Import_Call
type P2P ¶
P2P is an autogenerated mock type for the P2P type
func NewP2P ¶
NewP2P creates a new instance of P2P. 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 (*P2P) EXPECT ¶ added in v2.15.0
func (_m *P2P) EXPECT() *P2P_Expecter
func (*P2P) GetOrFirst ¶
GetOrFirst provides a mock function with given fields: id
type P2P_Add_Call ¶ added in v2.15.0
P2P_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*P2P_Add_Call) Return ¶ added in v2.15.0
func (_c *P2P_Add_Call) Return(_a0 error) *P2P_Add_Call
func (*P2P_Add_Call) Run ¶ added in v2.15.0
func (_c *P2P_Add_Call) Run(run func(ctx context.Context, key p2pkey.KeyV2)) *P2P_Add_Call
func (*P2P_Add_Call) RunAndReturn ¶ added in v2.15.0
func (_c *P2P_Add_Call) RunAndReturn(run func(context.Context, p2pkey.KeyV2) error) *P2P_Add_Call
type P2P_Create_Call ¶ added in v2.15.0
P2P_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*P2P_Create_Call) Return ¶ added in v2.15.0
func (_c *P2P_Create_Call) Return(_a0 p2pkey.KeyV2, _a1 error) *P2P_Create_Call
func (*P2P_Create_Call) Run ¶ added in v2.15.0
func (_c *P2P_Create_Call) Run(run func(ctx context.Context)) *P2P_Create_Call
func (*P2P_Create_Call) RunAndReturn ¶ added in v2.15.0
func (_c *P2P_Create_Call) RunAndReturn(run func(context.Context) (p2pkey.KeyV2, error)) *P2P_Create_Call
type P2P_Delete_Call ¶ added in v2.15.0
P2P_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*P2P_Delete_Call) Return ¶ added in v2.15.0
func (_c *P2P_Delete_Call) Return(_a0 p2pkey.KeyV2, _a1 error) *P2P_Delete_Call
func (*P2P_Delete_Call) Run ¶ added in v2.15.0
func (_c *P2P_Delete_Call) Run(run func(ctx context.Context, id p2pkey.PeerID)) *P2P_Delete_Call
func (*P2P_Delete_Call) RunAndReturn ¶ added in v2.15.0
func (_c *P2P_Delete_Call) RunAndReturn(run func(context.Context, p2pkey.PeerID) (p2pkey.KeyV2, error)) *P2P_Delete_Call
type P2P_EnsureKey_Call ¶ added in v2.15.0
P2P_EnsureKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureKey'
func (*P2P_EnsureKey_Call) Return ¶ added in v2.15.0
func (_c *P2P_EnsureKey_Call) Return(_a0 error) *P2P_EnsureKey_Call
func (*P2P_EnsureKey_Call) Run ¶ added in v2.15.0
func (_c *P2P_EnsureKey_Call) Run(run func(ctx context.Context)) *P2P_EnsureKey_Call
func (*P2P_EnsureKey_Call) RunAndReturn ¶ added in v2.15.0
func (_c *P2P_EnsureKey_Call) RunAndReturn(run func(context.Context) error) *P2P_EnsureKey_Call
type P2P_Expecter ¶ added in v2.15.0
type P2P_Expecter struct {
// contains filtered or unexported fields
}
func (*P2P_Expecter) Add ¶ added in v2.15.0
func (_e *P2P_Expecter) Add(ctx interface{}, key interface{}) *P2P_Add_Call
Add is a helper method to define mock.On call
- ctx context.Context
- key p2pkey.KeyV2
func (*P2P_Expecter) Create ¶ added in v2.15.0
func (_e *P2P_Expecter) Create(ctx interface{}) *P2P_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
func (*P2P_Expecter) Delete ¶ added in v2.15.0
func (_e *P2P_Expecter) Delete(ctx interface{}, id interface{}) *P2P_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- id p2pkey.PeerID
func (*P2P_Expecter) EnsureKey ¶ added in v2.15.0
func (_e *P2P_Expecter) EnsureKey(ctx interface{}) *P2P_EnsureKey_Call
EnsureKey is a helper method to define mock.On call
- ctx context.Context
func (*P2P_Expecter) Export ¶ added in v2.15.0
func (_e *P2P_Expecter) Export(id interface{}, password interface{}) *P2P_Export_Call
Export is a helper method to define mock.On call
- id p2pkey.PeerID
- password string
func (*P2P_Expecter) Get ¶ added in v2.15.0
func (_e *P2P_Expecter) Get(id interface{}) *P2P_Get_Call
Get is a helper method to define mock.On call
- id p2pkey.PeerID
func (*P2P_Expecter) GetAll ¶ added in v2.15.0
func (_e *P2P_Expecter) GetAll() *P2P_GetAll_Call
GetAll is a helper method to define mock.On call
func (*P2P_Expecter) GetOrFirst ¶ added in v2.15.0
func (_e *P2P_Expecter) GetOrFirst(id interface{}) *P2P_GetOrFirst_Call
GetOrFirst is a helper method to define mock.On call
- id p2pkey.PeerID
func (*P2P_Expecter) Import ¶ added in v2.15.0
func (_e *P2P_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *P2P_Import_Call
Import is a helper method to define mock.On call
- ctx context.Context
- keyJSON []byte
- password string
type P2P_Export_Call ¶ added in v2.15.0
P2P_Export_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Export'
func (*P2P_Export_Call) Return ¶ added in v2.15.0
func (_c *P2P_Export_Call) Return(_a0 []byte, _a1 error) *P2P_Export_Call
func (*P2P_Export_Call) Run ¶ added in v2.15.0
func (_c *P2P_Export_Call) Run(run func(id p2pkey.PeerID, password string)) *P2P_Export_Call
func (*P2P_Export_Call) RunAndReturn ¶ added in v2.15.0
func (_c *P2P_Export_Call) RunAndReturn(run func(p2pkey.PeerID, string) ([]byte, error)) *P2P_Export_Call
type P2P_GetAll_Call ¶ added in v2.15.0
P2P_GetAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAll'
func (*P2P_GetAll_Call) Return ¶ added in v2.15.0
func (_c *P2P_GetAll_Call) Return(_a0 []p2pkey.KeyV2, _a1 error) *P2P_GetAll_Call
func (*P2P_GetAll_Call) Run ¶ added in v2.15.0
func (_c *P2P_GetAll_Call) Run(run func()) *P2P_GetAll_Call
func (*P2P_GetAll_Call) RunAndReturn ¶ added in v2.15.0
func (_c *P2P_GetAll_Call) RunAndReturn(run func() ([]p2pkey.KeyV2, error)) *P2P_GetAll_Call
type P2P_GetOrFirst_Call ¶ added in v2.15.0
P2P_GetOrFirst_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOrFirst'
func (*P2P_GetOrFirst_Call) Return ¶ added in v2.15.0
func (_c *P2P_GetOrFirst_Call) Return(_a0 p2pkey.KeyV2, _a1 error) *P2P_GetOrFirst_Call
func (*P2P_GetOrFirst_Call) Run ¶ added in v2.15.0
func (_c *P2P_GetOrFirst_Call) Run(run func(id p2pkey.PeerID)) *P2P_GetOrFirst_Call
func (*P2P_GetOrFirst_Call) RunAndReturn ¶ added in v2.15.0
func (_c *P2P_GetOrFirst_Call) RunAndReturn(run func(p2pkey.PeerID) (p2pkey.KeyV2, error)) *P2P_GetOrFirst_Call
type P2P_Get_Call ¶ added in v2.15.0
P2P_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*P2P_Get_Call) Return ¶ added in v2.15.0
func (_c *P2P_Get_Call) Return(_a0 p2pkey.KeyV2, _a1 error) *P2P_Get_Call
func (*P2P_Get_Call) Run ¶ added in v2.15.0
func (_c *P2P_Get_Call) Run(run func(id p2pkey.PeerID)) *P2P_Get_Call
func (*P2P_Get_Call) RunAndReturn ¶ added in v2.15.0
func (_c *P2P_Get_Call) RunAndReturn(run func(p2pkey.PeerID) (p2pkey.KeyV2, error)) *P2P_Get_Call
type P2P_Import_Call ¶ added in v2.15.0
P2P_Import_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Import'
func (*P2P_Import_Call) Return ¶ added in v2.15.0
func (_c *P2P_Import_Call) Return(_a0 p2pkey.KeyV2, _a1 error) *P2P_Import_Call
func (*P2P_Import_Call) Run ¶ added in v2.15.0
func (_c *P2P_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *P2P_Import_Call
func (*P2P_Import_Call) RunAndReturn ¶ added in v2.15.0
func (_c *P2P_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (p2pkey.KeyV2, error)) *P2P_Import_Call
type Solana ¶
Solana is an autogenerated mock type for the Solana type
func NewSolana ¶
NewSolana creates a new instance of Solana. 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 (*Solana) EXPECT ¶ added in v2.15.0
func (_m *Solana) EXPECT() *Solana_Expecter
type Solana_Add_Call ¶ added in v2.15.0
Solana_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*Solana_Add_Call) Return ¶ added in v2.15.0
func (_c *Solana_Add_Call) Return(_a0 error) *Solana_Add_Call
func (*Solana_Add_Call) Run ¶ added in v2.15.0
func (_c *Solana_Add_Call) Run(run func(ctx context.Context, key solkey.Key)) *Solana_Add_Call
func (*Solana_Add_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Solana_Add_Call) RunAndReturn(run func(context.Context, solkey.Key) error) *Solana_Add_Call
type Solana_Create_Call ¶ added in v2.15.0
Solana_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Solana_Create_Call) Return ¶ added in v2.15.0
func (_c *Solana_Create_Call) Return(_a0 solkey.Key, _a1 error) *Solana_Create_Call
func (*Solana_Create_Call) Run ¶ added in v2.15.0
func (_c *Solana_Create_Call) Run(run func(ctx context.Context)) *Solana_Create_Call
func (*Solana_Create_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Solana_Create_Call) RunAndReturn(run func(context.Context) (solkey.Key, error)) *Solana_Create_Call
type Solana_Delete_Call ¶ added in v2.15.0
Solana_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Solana_Delete_Call) Return ¶ added in v2.15.0
func (_c *Solana_Delete_Call) Return(_a0 solkey.Key, _a1 error) *Solana_Delete_Call
func (*Solana_Delete_Call) Run ¶ added in v2.15.0
func (_c *Solana_Delete_Call) Run(run func(ctx context.Context, id string)) *Solana_Delete_Call
func (*Solana_Delete_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Solana_Delete_Call) RunAndReturn(run func(context.Context, string) (solkey.Key, error)) *Solana_Delete_Call
type Solana_EnsureKey_Call ¶ added in v2.15.0
Solana_EnsureKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureKey'
func (*Solana_EnsureKey_Call) Return ¶ added in v2.15.0
func (_c *Solana_EnsureKey_Call) Return(_a0 error) *Solana_EnsureKey_Call
func (*Solana_EnsureKey_Call) Run ¶ added in v2.15.0
func (_c *Solana_EnsureKey_Call) Run(run func(ctx context.Context)) *Solana_EnsureKey_Call
func (*Solana_EnsureKey_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Solana_EnsureKey_Call) RunAndReturn(run func(context.Context) error) *Solana_EnsureKey_Call
type Solana_Expecter ¶ added in v2.15.0
type Solana_Expecter struct {
// contains filtered or unexported fields
}
func (*Solana_Expecter) Add ¶ added in v2.15.0
func (_e *Solana_Expecter) Add(ctx interface{}, key interface{}) *Solana_Add_Call
Add is a helper method to define mock.On call
- ctx context.Context
- key solkey.Key
func (*Solana_Expecter) Create ¶ added in v2.15.0
func (_e *Solana_Expecter) Create(ctx interface{}) *Solana_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
func (*Solana_Expecter) Delete ¶ added in v2.15.0
func (_e *Solana_Expecter) Delete(ctx interface{}, id interface{}) *Solana_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- id string
func (*Solana_Expecter) EnsureKey ¶ added in v2.15.0
func (_e *Solana_Expecter) EnsureKey(ctx interface{}) *Solana_EnsureKey_Call
EnsureKey is a helper method to define mock.On call
- ctx context.Context
func (*Solana_Expecter) Export ¶ added in v2.15.0
func (_e *Solana_Expecter) Export(id interface{}, password interface{}) *Solana_Export_Call
Export is a helper method to define mock.On call
- id string
- password string
func (*Solana_Expecter) Get ¶ added in v2.15.0
func (_e *Solana_Expecter) Get(id interface{}) *Solana_Get_Call
Get is a helper method to define mock.On call
- id string
func (*Solana_Expecter) GetAll ¶ added in v2.15.0
func (_e *Solana_Expecter) GetAll() *Solana_GetAll_Call
GetAll is a helper method to define mock.On call
func (*Solana_Expecter) Import ¶ added in v2.15.0
func (_e *Solana_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *Solana_Import_Call
Import is a helper method to define mock.On call
- ctx context.Context
- keyJSON []byte
- password string
func (*Solana_Expecter) Sign ¶ added in v2.15.0
func (_e *Solana_Expecter) Sign(ctx interface{}, id interface{}, msg interface{}) *Solana_Sign_Call
Sign is a helper method to define mock.On call
- ctx context.Context
- id string
- msg []byte
type Solana_Export_Call ¶ added in v2.15.0
Solana_Export_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Export'
func (*Solana_Export_Call) Return ¶ added in v2.15.0
func (_c *Solana_Export_Call) Return(_a0 []byte, _a1 error) *Solana_Export_Call
func (*Solana_Export_Call) Run ¶ added in v2.15.0
func (_c *Solana_Export_Call) Run(run func(id string, password string)) *Solana_Export_Call
func (*Solana_Export_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Solana_Export_Call) RunAndReturn(run func(string, string) ([]byte, error)) *Solana_Export_Call
type Solana_GetAll_Call ¶ added in v2.15.0
Solana_GetAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAll'
func (*Solana_GetAll_Call) Return ¶ added in v2.15.0
func (_c *Solana_GetAll_Call) Return(_a0 []solkey.Key, _a1 error) *Solana_GetAll_Call
func (*Solana_GetAll_Call) Run ¶ added in v2.15.0
func (_c *Solana_GetAll_Call) Run(run func()) *Solana_GetAll_Call
func (*Solana_GetAll_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Solana_GetAll_Call) RunAndReturn(run func() ([]solkey.Key, error)) *Solana_GetAll_Call
type Solana_Get_Call ¶ added in v2.15.0
Solana_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Solana_Get_Call) Return ¶ added in v2.15.0
func (_c *Solana_Get_Call) Return(_a0 solkey.Key, _a1 error) *Solana_Get_Call
func (*Solana_Get_Call) Run ¶ added in v2.15.0
func (_c *Solana_Get_Call) Run(run func(id string)) *Solana_Get_Call
func (*Solana_Get_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Solana_Get_Call) RunAndReturn(run func(string) (solkey.Key, error)) *Solana_Get_Call
type Solana_Import_Call ¶ added in v2.15.0
Solana_Import_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Import'
func (*Solana_Import_Call) Return ¶ added in v2.15.0
func (_c *Solana_Import_Call) Return(_a0 solkey.Key, _a1 error) *Solana_Import_Call
func (*Solana_Import_Call) Run ¶ added in v2.15.0
func (_c *Solana_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *Solana_Import_Call
func (*Solana_Import_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Solana_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (solkey.Key, error)) *Solana_Import_Call
type Solana_Sign_Call ¶ added in v2.15.0
Solana_Sign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sign'
func (*Solana_Sign_Call) Return ¶ added in v2.15.0
func (_c *Solana_Sign_Call) Return(signature []byte, err error) *Solana_Sign_Call
func (*Solana_Sign_Call) Run ¶ added in v2.15.0
func (_c *Solana_Sign_Call) Run(run func(ctx context.Context, id string, msg []byte)) *Solana_Sign_Call
func (*Solana_Sign_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Solana_Sign_Call) RunAndReturn(run func(context.Context, string, []byte) ([]byte, error)) *Solana_Sign_Call
type StarkNet ¶
StarkNet is an autogenerated mock type for the StarkNet type
func NewStarkNet ¶
NewStarkNet creates a new instance of StarkNet. 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 (*StarkNet) EXPECT ¶ added in v2.15.0
func (_m *StarkNet) EXPECT() *StarkNet_Expecter
type StarkNet_Add_Call ¶ added in v2.15.0
StarkNet_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*StarkNet_Add_Call) Return ¶ added in v2.15.0
func (_c *StarkNet_Add_Call) Return(_a0 error) *StarkNet_Add_Call
func (*StarkNet_Add_Call) Run ¶ added in v2.15.0
func (_c *StarkNet_Add_Call) Run(run func(ctx context.Context, key starkkey.Key)) *StarkNet_Add_Call
func (*StarkNet_Add_Call) RunAndReturn ¶ added in v2.15.0
func (_c *StarkNet_Add_Call) RunAndReturn(run func(context.Context, starkkey.Key) error) *StarkNet_Add_Call
type StarkNet_Create_Call ¶ added in v2.15.0
StarkNet_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*StarkNet_Create_Call) Return ¶ added in v2.15.0
func (_c *StarkNet_Create_Call) Return(_a0 starkkey.Key, _a1 error) *StarkNet_Create_Call
func (*StarkNet_Create_Call) Run ¶ added in v2.15.0
func (_c *StarkNet_Create_Call) Run(run func(ctx context.Context)) *StarkNet_Create_Call
func (*StarkNet_Create_Call) RunAndReturn ¶ added in v2.15.0
func (_c *StarkNet_Create_Call) RunAndReturn(run func(context.Context) (starkkey.Key, error)) *StarkNet_Create_Call
type StarkNet_Delete_Call ¶ added in v2.15.0
StarkNet_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*StarkNet_Delete_Call) Return ¶ added in v2.15.0
func (_c *StarkNet_Delete_Call) Return(_a0 starkkey.Key, _a1 error) *StarkNet_Delete_Call
func (*StarkNet_Delete_Call) Run ¶ added in v2.15.0
func (_c *StarkNet_Delete_Call) Run(run func(ctx context.Context, id string)) *StarkNet_Delete_Call
func (*StarkNet_Delete_Call) RunAndReturn ¶ added in v2.15.0
func (_c *StarkNet_Delete_Call) RunAndReturn(run func(context.Context, string) (starkkey.Key, error)) *StarkNet_Delete_Call
type StarkNet_EnsureKey_Call ¶ added in v2.15.0
StarkNet_EnsureKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureKey'
func (*StarkNet_EnsureKey_Call) Return ¶ added in v2.15.0
func (_c *StarkNet_EnsureKey_Call) Return(_a0 error) *StarkNet_EnsureKey_Call
func (*StarkNet_EnsureKey_Call) Run ¶ added in v2.15.0
func (_c *StarkNet_EnsureKey_Call) Run(run func(ctx context.Context)) *StarkNet_EnsureKey_Call
func (*StarkNet_EnsureKey_Call) RunAndReturn ¶ added in v2.15.0
func (_c *StarkNet_EnsureKey_Call) RunAndReturn(run func(context.Context) error) *StarkNet_EnsureKey_Call
type StarkNet_Expecter ¶ added in v2.15.0
type StarkNet_Expecter struct {
// contains filtered or unexported fields
}
func (*StarkNet_Expecter) Add ¶ added in v2.15.0
func (_e *StarkNet_Expecter) Add(ctx interface{}, key interface{}) *StarkNet_Add_Call
Add is a helper method to define mock.On call
- ctx context.Context
- key starkkey.Key
func (*StarkNet_Expecter) Create ¶ added in v2.15.0
func (_e *StarkNet_Expecter) Create(ctx interface{}) *StarkNet_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
func (*StarkNet_Expecter) Delete ¶ added in v2.15.0
func (_e *StarkNet_Expecter) Delete(ctx interface{}, id interface{}) *StarkNet_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- id string
func (*StarkNet_Expecter) EnsureKey ¶ added in v2.15.0
func (_e *StarkNet_Expecter) EnsureKey(ctx interface{}) *StarkNet_EnsureKey_Call
EnsureKey is a helper method to define mock.On call
- ctx context.Context
func (*StarkNet_Expecter) Export ¶ added in v2.15.0
func (_e *StarkNet_Expecter) Export(id interface{}, password interface{}) *StarkNet_Export_Call
Export is a helper method to define mock.On call
- id string
- password string
func (*StarkNet_Expecter) Get ¶ added in v2.15.0
func (_e *StarkNet_Expecter) Get(id interface{}) *StarkNet_Get_Call
Get is a helper method to define mock.On call
- id string
func (*StarkNet_Expecter) GetAll ¶ added in v2.15.0
func (_e *StarkNet_Expecter) GetAll() *StarkNet_GetAll_Call
GetAll is a helper method to define mock.On call
func (*StarkNet_Expecter) Import ¶ added in v2.15.0
func (_e *StarkNet_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *StarkNet_Import_Call
Import is a helper method to define mock.On call
- ctx context.Context
- keyJSON []byte
- password string
type StarkNet_Export_Call ¶ added in v2.15.0
StarkNet_Export_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Export'
func (*StarkNet_Export_Call) Return ¶ added in v2.15.0
func (_c *StarkNet_Export_Call) Return(_a0 []byte, _a1 error) *StarkNet_Export_Call
func (*StarkNet_Export_Call) Run ¶ added in v2.15.0
func (_c *StarkNet_Export_Call) Run(run func(id string, password string)) *StarkNet_Export_Call
func (*StarkNet_Export_Call) RunAndReturn ¶ added in v2.15.0
func (_c *StarkNet_Export_Call) RunAndReturn(run func(string, string) ([]byte, error)) *StarkNet_Export_Call
type StarkNet_GetAll_Call ¶ added in v2.15.0
StarkNet_GetAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAll'
func (*StarkNet_GetAll_Call) Return ¶ added in v2.15.0
func (_c *StarkNet_GetAll_Call) Return(_a0 []starkkey.Key, _a1 error) *StarkNet_GetAll_Call
func (*StarkNet_GetAll_Call) Run ¶ added in v2.15.0
func (_c *StarkNet_GetAll_Call) Run(run func()) *StarkNet_GetAll_Call
func (*StarkNet_GetAll_Call) RunAndReturn ¶ added in v2.15.0
func (_c *StarkNet_GetAll_Call) RunAndReturn(run func() ([]starkkey.Key, error)) *StarkNet_GetAll_Call
type StarkNet_Get_Call ¶ added in v2.15.0
StarkNet_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*StarkNet_Get_Call) Return ¶ added in v2.15.0
func (_c *StarkNet_Get_Call) Return(_a0 starkkey.Key, _a1 error) *StarkNet_Get_Call
func (*StarkNet_Get_Call) Run ¶ added in v2.15.0
func (_c *StarkNet_Get_Call) Run(run func(id string)) *StarkNet_Get_Call
func (*StarkNet_Get_Call) RunAndReturn ¶ added in v2.15.0
func (_c *StarkNet_Get_Call) RunAndReturn(run func(string) (starkkey.Key, error)) *StarkNet_Get_Call
type StarkNet_Import_Call ¶ added in v2.15.0
StarkNet_Import_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Import'
func (*StarkNet_Import_Call) Return ¶ added in v2.15.0
func (_c *StarkNet_Import_Call) Return(_a0 starkkey.Key, _a1 error) *StarkNet_Import_Call
func (*StarkNet_Import_Call) Run ¶ added in v2.15.0
func (_c *StarkNet_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *StarkNet_Import_Call
func (*StarkNet_Import_Call) RunAndReturn ¶ added in v2.15.0
func (_c *StarkNet_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (starkkey.Key, error)) *StarkNet_Import_Call
type VRF ¶
VRF is an autogenerated mock type for the VRF type
func NewVRF ¶
NewVRF creates a new instance of VRF. 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 (*VRF) EXPECT ¶ added in v2.15.0
func (_m *VRF) EXPECT() *VRF_Expecter
func (*VRF) GenerateProof ¶
GenerateProof provides a mock function with given fields: id, seed
type VRF_Add_Call ¶ added in v2.15.0
VRF_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*VRF_Add_Call) Return ¶ added in v2.15.0
func (_c *VRF_Add_Call) Return(_a0 error) *VRF_Add_Call
func (*VRF_Add_Call) Run ¶ added in v2.15.0
func (_c *VRF_Add_Call) Run(run func(ctx context.Context, key vrfkey.KeyV2)) *VRF_Add_Call
func (*VRF_Add_Call) RunAndReturn ¶ added in v2.15.0
func (_c *VRF_Add_Call) RunAndReturn(run func(context.Context, vrfkey.KeyV2) error) *VRF_Add_Call
type VRF_Create_Call ¶ added in v2.15.0
VRF_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*VRF_Create_Call) Return ¶ added in v2.15.0
func (_c *VRF_Create_Call) Return(_a0 vrfkey.KeyV2, _a1 error) *VRF_Create_Call
func (*VRF_Create_Call) Run ¶ added in v2.15.0
func (_c *VRF_Create_Call) Run(run func(ctx context.Context)) *VRF_Create_Call
func (*VRF_Create_Call) RunAndReturn ¶ added in v2.15.0
func (_c *VRF_Create_Call) RunAndReturn(run func(context.Context) (vrfkey.KeyV2, error)) *VRF_Create_Call
type VRF_Delete_Call ¶ added in v2.15.0
VRF_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*VRF_Delete_Call) Return ¶ added in v2.15.0
func (_c *VRF_Delete_Call) Return(_a0 vrfkey.KeyV2, _a1 error) *VRF_Delete_Call
func (*VRF_Delete_Call) Run ¶ added in v2.15.0
func (_c *VRF_Delete_Call) Run(run func(ctx context.Context, id string)) *VRF_Delete_Call
func (*VRF_Delete_Call) RunAndReturn ¶ added in v2.15.0
func (_c *VRF_Delete_Call) RunAndReturn(run func(context.Context, string) (vrfkey.KeyV2, error)) *VRF_Delete_Call
type VRF_Expecter ¶ added in v2.15.0
type VRF_Expecter struct {
// contains filtered or unexported fields
}
func (*VRF_Expecter) Add ¶ added in v2.15.0
func (_e *VRF_Expecter) Add(ctx interface{}, key interface{}) *VRF_Add_Call
Add is a helper method to define mock.On call
- ctx context.Context
- key vrfkey.KeyV2
func (*VRF_Expecter) Create ¶ added in v2.15.0
func (_e *VRF_Expecter) Create(ctx interface{}) *VRF_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
func (*VRF_Expecter) Delete ¶ added in v2.15.0
func (_e *VRF_Expecter) Delete(ctx interface{}, id interface{}) *VRF_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- id string
func (*VRF_Expecter) Export ¶ added in v2.15.0
func (_e *VRF_Expecter) Export(id interface{}, password interface{}) *VRF_Export_Call
Export is a helper method to define mock.On call
- id string
- password string
func (*VRF_Expecter) GenerateProof ¶ added in v2.15.0
func (_e *VRF_Expecter) GenerateProof(id interface{}, seed interface{}) *VRF_GenerateProof_Call
GenerateProof is a helper method to define mock.On call
- id string
- seed *big.Int
func (*VRF_Expecter) Get ¶ added in v2.15.0
func (_e *VRF_Expecter) Get(id interface{}) *VRF_Get_Call
Get is a helper method to define mock.On call
- id string
func (*VRF_Expecter) GetAll ¶ added in v2.15.0
func (_e *VRF_Expecter) GetAll() *VRF_GetAll_Call
GetAll is a helper method to define mock.On call
func (*VRF_Expecter) Import ¶ added in v2.15.0
func (_e *VRF_Expecter) Import(ctx interface{}, keyJSON interface{}, password interface{}) *VRF_Import_Call
Import is a helper method to define mock.On call
- ctx context.Context
- keyJSON []byte
- password string
type VRF_Export_Call ¶ added in v2.15.0
VRF_Export_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Export'
func (*VRF_Export_Call) Return ¶ added in v2.15.0
func (_c *VRF_Export_Call) Return(_a0 []byte, _a1 error) *VRF_Export_Call
func (*VRF_Export_Call) Run ¶ added in v2.15.0
func (_c *VRF_Export_Call) Run(run func(id string, password string)) *VRF_Export_Call
func (*VRF_Export_Call) RunAndReturn ¶ added in v2.15.0
func (_c *VRF_Export_Call) RunAndReturn(run func(string, string) ([]byte, error)) *VRF_Export_Call
type VRF_GenerateProof_Call ¶ added in v2.15.0
VRF_GenerateProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateProof'
func (*VRF_GenerateProof_Call) Return ¶ added in v2.15.0
func (_c *VRF_GenerateProof_Call) Return(_a0 vrfkey.Proof, _a1 error) *VRF_GenerateProof_Call
func (*VRF_GenerateProof_Call) Run ¶ added in v2.15.0
func (_c *VRF_GenerateProof_Call) Run(run func(id string, seed *big.Int)) *VRF_GenerateProof_Call
func (*VRF_GenerateProof_Call) RunAndReturn ¶ added in v2.15.0
func (_c *VRF_GenerateProof_Call) RunAndReturn(run func(string, *big.Int) (vrfkey.Proof, error)) *VRF_GenerateProof_Call
type VRF_GetAll_Call ¶ added in v2.15.0
VRF_GetAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAll'
func (*VRF_GetAll_Call) Return ¶ added in v2.15.0
func (_c *VRF_GetAll_Call) Return(_a0 []vrfkey.KeyV2, _a1 error) *VRF_GetAll_Call
func (*VRF_GetAll_Call) Run ¶ added in v2.15.0
func (_c *VRF_GetAll_Call) Run(run func()) *VRF_GetAll_Call
func (*VRF_GetAll_Call) RunAndReturn ¶ added in v2.15.0
func (_c *VRF_GetAll_Call) RunAndReturn(run func() ([]vrfkey.KeyV2, error)) *VRF_GetAll_Call
type VRF_Get_Call ¶ added in v2.15.0
VRF_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*VRF_Get_Call) Return ¶ added in v2.15.0
func (_c *VRF_Get_Call) Return(_a0 vrfkey.KeyV2, _a1 error) *VRF_Get_Call
func (*VRF_Get_Call) Run ¶ added in v2.15.0
func (_c *VRF_Get_Call) Run(run func(id string)) *VRF_Get_Call
func (*VRF_Get_Call) RunAndReturn ¶ added in v2.15.0
func (_c *VRF_Get_Call) RunAndReturn(run func(string) (vrfkey.KeyV2, error)) *VRF_Get_Call
type VRF_Import_Call ¶ added in v2.15.0
VRF_Import_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Import'
func (*VRF_Import_Call) Return ¶ added in v2.15.0
func (_c *VRF_Import_Call) Return(_a0 vrfkey.KeyV2, _a1 error) *VRF_Import_Call
func (*VRF_Import_Call) Run ¶ added in v2.15.0
func (_c *VRF_Import_Call) Run(run func(ctx context.Context, keyJSON []byte, password string)) *VRF_Import_Call
func (*VRF_Import_Call) RunAndReturn ¶ added in v2.15.0
func (_c *VRF_Import_Call) RunAndReturn(run func(context.Context, []byte, string) (vrfkey.KeyV2, error)) *VRF_Import_Call