Documentation
¶
Index ¶
- type ListService
- type ListService_Expecter
- type ListService_GetSupportedTokens_Call
- func (_c *ListService_GetSupportedTokens_Call) Return(_a0 *token.TokensPage, _a1 error) *ListService_GetSupportedTokens_Call
- func (_c *ListService_GetSupportedTokens_Call) Run(run func(ctx context.Context, cursor string, limit int)) *ListService_GetSupportedTokens_Call
- func (_c *ListService_GetSupportedTokens_Call) RunAndReturn(run func(context.Context, string, int) (*token.TokensPage, error)) *ListService_GetSupportedTokens_Call
- type Provider
- type Provider_Expecter
- type Provider_GetBalance_Call
- func (_c *Provider_GetBalance_Call) Return(_a0 string, _a1 error) *Provider_GetBalance_Call
- func (_c *Provider_GetBalance_Call) Run(run func(ctx context.Context, tokenSymbol string, partyID string)) *Provider_GetBalance_Call
- func (_c *Provider_GetBalance_Call) RunAndReturn(run func(context.Context, string, string) (string, error)) *Provider_GetBalance_Call
- type Provider_GetTotalSupply_Call
- func (_c *Provider_GetTotalSupply_Call) Return(_a0 string, _a1 error) *Provider_GetTotalSupply_Call
- func (_c *Provider_GetTotalSupply_Call) Run(run func(ctx context.Context, tokenSymbol string)) *Provider_GetTotalSupply_Call
- func (_c *Provider_GetTotalSupply_Call) RunAndReturn(run func(context.Context, string) (string, error)) *Provider_GetTotalSupply_Call
- type Store
- type Store_Expecter
- type Store_GetTotalSupply_Call
- func (_c *Store_GetTotalSupply_Call) Return(_a0 string, _a1 error) *Store_GetTotalSupply_Call
- func (_c *Store_GetTotalSupply_Call) Run(run func(tokenSymbol string)) *Store_GetTotalSupply_Call
- func (_c *Store_GetTotalSupply_Call) RunAndReturn(run func(string) (string, error)) *Store_GetTotalSupply_Call
- type Token
- func (_m *Token) AcceptTransferInstruction(ctx context.Context, partyID string, instructionCID string, ...) error
- func (_m *Token) Burn(ctx context.Context, req *token.BurnRequest) error
- func (_m *Token) EXPECT() *Token_Expecter
- func (_m *Token) ExecuteTransfer(ctx context.Context, req *token.ExecuteTransferRequest) error
- func (_m *Token) FindPendingInboundTransferInstructions(ctx context.Context, partyID string) ([]string, error)
- func (_m *Token) GetAllHoldings(ctx context.Context) ([]*token.Holding, error)
- func (_m *Token) GetBalanceByFingerprint(ctx context.Context, fingerprint string, tokenSymbol string) (string, error)
- func (_m *Token) GetBalanceByPartyID(ctx context.Context, partyID string, tokenSymbol string) (string, error)
- func (_m *Token) GetHoldings(ctx context.Context, ownerParty string, tokenSymbol string) ([]*token.Holding, error)
- func (_m *Token) GetHoldingsByParty(ctx context.Context, ownerParty string, instrumentID string) ([]*token.Holding, error)
- func (_m *Token) GetTokenConfigCID(ctx context.Context, tokenSymbol string) (string, error)
- func (_m *Token) GetTokenTransferEvents(ctx context.Context) ([]*token.TokenTransferEvent, error)
- func (_m *Token) GetTotalSupply(ctx context.Context, tokenSymbol string) (string, error)
- func (_m *Token) GetTransferFactory(ctx context.Context) (*token.TransferFactoryInfo, error)
- func (_m *Token) Mint(ctx context.Context, req *token.MintRequest) (string, error)
- func (_m *Token) PrepareAcceptTransfer(ctx context.Context, partyID string, instructionCID string, ...) (*token.PreparedTransfer, error)
- func (_m *Token) PrepareTransfer(ctx context.Context, req *token.PrepareTransferRequest) (*token.PreparedTransfer, error)
- func (_m *Token) TransferByFingerprint(ctx context.Context, idempotencyKey string, fromFingerprint string, ...) error
- func (_m *Token) TransferByPartyID(ctx context.Context, idempotencyKey string, fromParty string, toParty string, ...) error
- func (_m *Token) TransferInternalByPartyID(ctx context.Context, idempotencyKey string, fromParty string, toParty string, ...) error
- type Token_AcceptTransferInstruction_Call
- func (_c *Token_AcceptTransferInstruction_Call) Return(_a0 error) *Token_AcceptTransferInstruction_Call
- func (_c *Token_AcceptTransferInstruction_Call) Run(run func(ctx context.Context, partyID string, instructionCID string, ...)) *Token_AcceptTransferInstruction_Call
- func (_c *Token_AcceptTransferInstruction_Call) RunAndReturn(run func(context.Context, string, string, string) error) *Token_AcceptTransferInstruction_Call
- type Token_Burn_Call
- type Token_ExecuteTransfer_Call
- func (_c *Token_ExecuteTransfer_Call) Return(_a0 error) *Token_ExecuteTransfer_Call
- func (_c *Token_ExecuteTransfer_Call) Run(run func(ctx context.Context, req *token.ExecuteTransferRequest)) *Token_ExecuteTransfer_Call
- func (_c *Token_ExecuteTransfer_Call) RunAndReturn(run func(context.Context, *token.ExecuteTransferRequest) error) *Token_ExecuteTransfer_Call
- type Token_Expecter
- func (_e *Token_Expecter) AcceptTransferInstruction(ctx interface{}, partyID interface{}, instructionCID interface{}, ...) *Token_AcceptTransferInstruction_Call
- func (_e *Token_Expecter) Burn(ctx interface{}, req interface{}) *Token_Burn_Call
- func (_e *Token_Expecter) ExecuteTransfer(ctx interface{}, req interface{}) *Token_ExecuteTransfer_Call
- func (_e *Token_Expecter) FindPendingInboundTransferInstructions(ctx interface{}, partyID interface{}) *Token_FindPendingInboundTransferInstructions_Call
- func (_e *Token_Expecter) GetAllHoldings(ctx interface{}) *Token_GetAllHoldings_Call
- func (_e *Token_Expecter) GetBalanceByFingerprint(ctx interface{}, fingerprint interface{}, tokenSymbol interface{}) *Token_GetBalanceByFingerprint_Call
- func (_e *Token_Expecter) GetBalanceByPartyID(ctx interface{}, partyID interface{}, tokenSymbol interface{}) *Token_GetBalanceByPartyID_Call
- func (_e *Token_Expecter) GetHoldings(ctx interface{}, ownerParty interface{}, tokenSymbol interface{}) *Token_GetHoldings_Call
- func (_e *Token_Expecter) GetHoldingsByParty(ctx interface{}, ownerParty interface{}, instrumentID interface{}) *Token_GetHoldingsByParty_Call
- func (_e *Token_Expecter) GetTokenConfigCID(ctx interface{}, tokenSymbol interface{}) *Token_GetTokenConfigCID_Call
- func (_e *Token_Expecter) GetTokenTransferEvents(ctx interface{}) *Token_GetTokenTransferEvents_Call
- func (_e *Token_Expecter) GetTotalSupply(ctx interface{}, tokenSymbol interface{}) *Token_GetTotalSupply_Call
- func (_e *Token_Expecter) GetTransferFactory(ctx interface{}) *Token_GetTransferFactory_Call
- func (_e *Token_Expecter) Mint(ctx interface{}, req interface{}) *Token_Mint_Call
- func (_e *Token_Expecter) PrepareAcceptTransfer(ctx interface{}, partyID interface{}, instructionCID interface{}, ...) *Token_PrepareAcceptTransfer_Call
- func (_e *Token_Expecter) PrepareTransfer(ctx interface{}, req interface{}) *Token_PrepareTransfer_Call
- func (_e *Token_Expecter) TransferByFingerprint(ctx interface{}, idempotencyKey interface{}, fromFingerprint interface{}, ...) *Token_TransferByFingerprint_Call
- func (_e *Token_Expecter) TransferByPartyID(ctx interface{}, idempotencyKey interface{}, fromParty interface{}, ...) *Token_TransferByPartyID_Call
- func (_e *Token_Expecter) TransferInternalByPartyID(ctx interface{}, idempotencyKey interface{}, fromParty interface{}, ...) *Token_TransferInternalByPartyID_Call
- type Token_FindPendingInboundTransferInstructions_Call
- func (_c *Token_FindPendingInboundTransferInstructions_Call) Return(_a0 []string, _a1 error) *Token_FindPendingInboundTransferInstructions_Call
- func (_c *Token_FindPendingInboundTransferInstructions_Call) Run(run func(ctx context.Context, partyID string)) *Token_FindPendingInboundTransferInstructions_Call
- func (_c *Token_FindPendingInboundTransferInstructions_Call) RunAndReturn(run func(context.Context, string) ([]string, error)) *Token_FindPendingInboundTransferInstructions_Call
- type Token_GetAllHoldings_Call
- func (_c *Token_GetAllHoldings_Call) Return(_a0 []*token.Holding, _a1 error) *Token_GetAllHoldings_Call
- func (_c *Token_GetAllHoldings_Call) Run(run func(ctx context.Context)) *Token_GetAllHoldings_Call
- func (_c *Token_GetAllHoldings_Call) RunAndReturn(run func(context.Context) ([]*token.Holding, error)) *Token_GetAllHoldings_Call
- type Token_GetBalanceByFingerprint_Call
- func (_c *Token_GetBalanceByFingerprint_Call) Return(_a0 string, _a1 error) *Token_GetBalanceByFingerprint_Call
- func (_c *Token_GetBalanceByFingerprint_Call) Run(run func(ctx context.Context, fingerprint string, tokenSymbol string)) *Token_GetBalanceByFingerprint_Call
- func (_c *Token_GetBalanceByFingerprint_Call) RunAndReturn(run func(context.Context, string, string) (string, error)) *Token_GetBalanceByFingerprint_Call
- type Token_GetBalanceByPartyID_Call
- func (_c *Token_GetBalanceByPartyID_Call) Return(_a0 string, _a1 error) *Token_GetBalanceByPartyID_Call
- func (_c *Token_GetBalanceByPartyID_Call) Run(run func(ctx context.Context, partyID string, tokenSymbol string)) *Token_GetBalanceByPartyID_Call
- func (_c *Token_GetBalanceByPartyID_Call) RunAndReturn(run func(context.Context, string, string) (string, error)) *Token_GetBalanceByPartyID_Call
- type Token_GetHoldingsByParty_Call
- func (_c *Token_GetHoldingsByParty_Call) Return(_a0 []*token.Holding, _a1 error) *Token_GetHoldingsByParty_Call
- func (_c *Token_GetHoldingsByParty_Call) Run(run func(ctx context.Context, ownerParty string, instrumentID string)) *Token_GetHoldingsByParty_Call
- func (_c *Token_GetHoldingsByParty_Call) RunAndReturn(run func(context.Context, string, string) ([]*token.Holding, error)) *Token_GetHoldingsByParty_Call
- type Token_GetHoldings_Call
- func (_c *Token_GetHoldings_Call) Return(_a0 []*token.Holding, _a1 error) *Token_GetHoldings_Call
- func (_c *Token_GetHoldings_Call) Run(run func(ctx context.Context, ownerParty string, tokenSymbol string)) *Token_GetHoldings_Call
- func (_c *Token_GetHoldings_Call) RunAndReturn(run func(context.Context, string, string) ([]*token.Holding, error)) *Token_GetHoldings_Call
- type Token_GetTokenConfigCID_Call
- func (_c *Token_GetTokenConfigCID_Call) Return(_a0 string, _a1 error) *Token_GetTokenConfigCID_Call
- func (_c *Token_GetTokenConfigCID_Call) Run(run func(ctx context.Context, tokenSymbol string)) *Token_GetTokenConfigCID_Call
- func (_c *Token_GetTokenConfigCID_Call) RunAndReturn(run func(context.Context, string) (string, error)) *Token_GetTokenConfigCID_Call
- type Token_GetTokenTransferEvents_Call
- func (_c *Token_GetTokenTransferEvents_Call) Return(_a0 []*token.TokenTransferEvent, _a1 error) *Token_GetTokenTransferEvents_Call
- func (_c *Token_GetTokenTransferEvents_Call) Run(run func(ctx context.Context)) *Token_GetTokenTransferEvents_Call
- func (_c *Token_GetTokenTransferEvents_Call) RunAndReturn(run func(context.Context) ([]*token.TokenTransferEvent, error)) *Token_GetTokenTransferEvents_Call
- type Token_GetTotalSupply_Call
- func (_c *Token_GetTotalSupply_Call) Return(_a0 string, _a1 error) *Token_GetTotalSupply_Call
- func (_c *Token_GetTotalSupply_Call) Run(run func(ctx context.Context, tokenSymbol string)) *Token_GetTotalSupply_Call
- func (_c *Token_GetTotalSupply_Call) RunAndReturn(run func(context.Context, string) (string, error)) *Token_GetTotalSupply_Call
- type Token_GetTransferFactory_Call
- func (_c *Token_GetTransferFactory_Call) Return(_a0 *token.TransferFactoryInfo, _a1 error) *Token_GetTransferFactory_Call
- func (_c *Token_GetTransferFactory_Call) Run(run func(ctx context.Context)) *Token_GetTransferFactory_Call
- func (_c *Token_GetTransferFactory_Call) RunAndReturn(run func(context.Context) (*token.TransferFactoryInfo, error)) *Token_GetTransferFactory_Call
- type Token_Mint_Call
- type Token_PrepareAcceptTransfer_Call
- func (_c *Token_PrepareAcceptTransfer_Call) Return(_a0 *token.PreparedTransfer, _a1 error) *Token_PrepareAcceptTransfer_Call
- func (_c *Token_PrepareAcceptTransfer_Call) Run(run func(ctx context.Context, partyID string, instructionCID string, ...)) *Token_PrepareAcceptTransfer_Call
- func (_c *Token_PrepareAcceptTransfer_Call) RunAndReturn(...) *Token_PrepareAcceptTransfer_Call
- type Token_PrepareTransfer_Call
- func (_c *Token_PrepareTransfer_Call) Return(_a0 *token.PreparedTransfer, _a1 error) *Token_PrepareTransfer_Call
- func (_c *Token_PrepareTransfer_Call) Run(run func(ctx context.Context, req *token.PrepareTransferRequest)) *Token_PrepareTransfer_Call
- func (_c *Token_PrepareTransfer_Call) RunAndReturn(...) *Token_PrepareTransfer_Call
- type Token_TransferByFingerprint_Call
- func (_c *Token_TransferByFingerprint_Call) Return(_a0 error) *Token_TransferByFingerprint_Call
- func (_c *Token_TransferByFingerprint_Call) Run(...) *Token_TransferByFingerprint_Call
- func (_c *Token_TransferByFingerprint_Call) RunAndReturn(run func(context.Context, string, string, string, string, string) error) *Token_TransferByFingerprint_Call
- type Token_TransferByPartyID_Call
- func (_c *Token_TransferByPartyID_Call) Return(_a0 error) *Token_TransferByPartyID_Call
- func (_c *Token_TransferByPartyID_Call) Run(...) *Token_TransferByPartyID_Call
- func (_c *Token_TransferByPartyID_Call) RunAndReturn(run func(context.Context, string, string, string, string, string) error) *Token_TransferByPartyID_Call
- type Token_TransferInternalByPartyID_Call
- func (_c *Token_TransferInternalByPartyID_Call) Return(_a0 error) *Token_TransferInternalByPartyID_Call
- func (_c *Token_TransferInternalByPartyID_Call) Run(...) *Token_TransferInternalByPartyID_Call
- func (_c *Token_TransferInternalByPartyID_Call) RunAndReturn(run func(context.Context, string, string, string, string, string) error) *Token_TransferInternalByPartyID_Call
- type UserStore
- type UserStore_Expecter
- type UserStore_GetUserByCantonPartyID_Call
- func (_c *UserStore_GetUserByCantonPartyID_Call) Return(_a0 *user.User, _a1 error) *UserStore_GetUserByCantonPartyID_Call
- func (_c *UserStore_GetUserByCantonPartyID_Call) Run(run func(ctx context.Context, partyID string)) *UserStore_GetUserByCantonPartyID_Call
- func (_c *UserStore_GetUserByCantonPartyID_Call) RunAndReturn(run func(context.Context, string) (*user.User, error)) *UserStore_GetUserByCantonPartyID_Call
- type UserStore_GetUserByEVMAddress_Call
- func (_c *UserStore_GetUserByEVMAddress_Call) Return(_a0 *user.User, _a1 error) *UserStore_GetUserByEVMAddress_Call
- func (_c *UserStore_GetUserByEVMAddress_Call) Run(run func(ctx context.Context, evmAddress string)) *UserStore_GetUserByEVMAddress_Call
- func (_c *UserStore_GetUserByEVMAddress_Call) RunAndReturn(run func(context.Context, string) (*user.User, error)) *UserStore_GetUserByEVMAddress_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListService ¶
ListService is an autogenerated mock type for the ListService type
func NewListService ¶
func NewListService(t interface {
mock.TestingT
Cleanup(func())
}) *ListService
NewListService creates a new instance of ListService. 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 (*ListService) EXPECT ¶
func (_m *ListService) EXPECT() *ListService_Expecter
func (*ListService) GetSupportedTokens ¶
func (_m *ListService) GetSupportedTokens(ctx context.Context, cursor string, limit int) (*token.TokensPage, error)
GetSupportedTokens provides a mock function with given fields: ctx, cursor, limit
type ListService_Expecter ¶
type ListService_Expecter struct {
// contains filtered or unexported fields
}
func (*ListService_Expecter) GetSupportedTokens ¶
func (_e *ListService_Expecter) GetSupportedTokens(ctx interface{}, cursor interface{}, limit interface{}) *ListService_GetSupportedTokens_Call
GetSupportedTokens is a helper method to define mock.On call
- ctx context.Context
- cursor string
- limit int
type ListService_GetSupportedTokens_Call ¶
ListService_GetSupportedTokens_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSupportedTokens'
func (*ListService_GetSupportedTokens_Call) Return ¶
func (_c *ListService_GetSupportedTokens_Call) Return(_a0 *token.TokensPage, _a1 error) *ListService_GetSupportedTokens_Call
func (*ListService_GetSupportedTokens_Call) Run ¶
func (_c *ListService_GetSupportedTokens_Call) Run(run func(ctx context.Context, cursor string, limit int)) *ListService_GetSupportedTokens_Call
func (*ListService_GetSupportedTokens_Call) RunAndReturn ¶
func (_c *ListService_GetSupportedTokens_Call) RunAndReturn(run func(context.Context, string, int) (*token.TokensPage, error)) *ListService_GetSupportedTokens_Call
type Provider ¶
Provider is an autogenerated mock type for the Provider type
func NewProvider ¶
NewProvider creates a new instance of Provider. 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 (*Provider) EXPECT ¶
func (_m *Provider) EXPECT() *Provider_Expecter
type Provider_Expecter ¶
type Provider_Expecter struct {
// contains filtered or unexported fields
}
func (*Provider_Expecter) GetBalance ¶
func (_e *Provider_Expecter) GetBalance(ctx interface{}, tokenSymbol interface{}, partyID interface{}) *Provider_GetBalance_Call
GetBalance is a helper method to define mock.On call
- ctx context.Context
- tokenSymbol string
- partyID string
func (*Provider_Expecter) GetTotalSupply ¶
func (_e *Provider_Expecter) GetTotalSupply(ctx interface{}, tokenSymbol interface{}) *Provider_GetTotalSupply_Call
GetTotalSupply is a helper method to define mock.On call
- ctx context.Context
- tokenSymbol string
type Provider_GetBalance_Call ¶
Provider_GetBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBalance'
func (*Provider_GetBalance_Call) Return ¶
func (_c *Provider_GetBalance_Call) Return(_a0 string, _a1 error) *Provider_GetBalance_Call
func (*Provider_GetBalance_Call) Run ¶
func (_c *Provider_GetBalance_Call) Run(run func(ctx context.Context, tokenSymbol string, partyID string)) *Provider_GetBalance_Call
func (*Provider_GetBalance_Call) RunAndReturn ¶
func (_c *Provider_GetBalance_Call) RunAndReturn(run func(context.Context, string, string) (string, error)) *Provider_GetBalance_Call
type Provider_GetTotalSupply_Call ¶
Provider_GetTotalSupply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTotalSupply'
func (*Provider_GetTotalSupply_Call) Return ¶
func (_c *Provider_GetTotalSupply_Call) Return(_a0 string, _a1 error) *Provider_GetTotalSupply_Call
func (*Provider_GetTotalSupply_Call) Run ¶
func (_c *Provider_GetTotalSupply_Call) Run(run func(ctx context.Context, tokenSymbol string)) *Provider_GetTotalSupply_Call
func (*Provider_GetTotalSupply_Call) RunAndReturn ¶
func (_c *Provider_GetTotalSupply_Call) RunAndReturn(run func(context.Context, string) (string, error)) *Provider_GetTotalSupply_Call
type Store ¶
Store is an autogenerated mock type for the Store type
func NewStore ¶
NewStore creates a new instance of Store. 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 (*Store) EXPECT ¶
func (_m *Store) EXPECT() *Store_Expecter
type Store_Expecter ¶
type Store_Expecter struct {
// contains filtered or unexported fields
}
func (*Store_Expecter) GetTotalSupply ¶
func (_e *Store_Expecter) GetTotalSupply(tokenSymbol interface{}) *Store_GetTotalSupply_Call
GetTotalSupply is a helper method to define mock.On call
- tokenSymbol string
type Store_GetTotalSupply_Call ¶
Store_GetTotalSupply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTotalSupply'
func (*Store_GetTotalSupply_Call) Return ¶
func (_c *Store_GetTotalSupply_Call) Return(_a0 string, _a1 error) *Store_GetTotalSupply_Call
func (*Store_GetTotalSupply_Call) Run ¶
func (_c *Store_GetTotalSupply_Call) Run(run func(tokenSymbol string)) *Store_GetTotalSupply_Call
func (*Store_GetTotalSupply_Call) RunAndReturn ¶
func (_c *Store_GetTotalSupply_Call) RunAndReturn(run func(string) (string, error)) *Store_GetTotalSupply_Call
type Token ¶
Token is an autogenerated mock type for the Token type
func NewToken ¶
NewToken creates a new instance of Token. 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 (*Token) AcceptTransferInstruction ¶
func (_m *Token) AcceptTransferInstruction(ctx context.Context, partyID string, instructionCID string, instrumentAdmin string) error
AcceptTransferInstruction provides a mock function with given fields: ctx, partyID, instructionCID, instrumentAdmin
func (*Token) EXPECT ¶
func (_m *Token) EXPECT() *Token_Expecter
func (*Token) ExecuteTransfer ¶
ExecuteTransfer provides a mock function with given fields: ctx, req
func (*Token) FindPendingInboundTransferInstructions ¶
func (_m *Token) FindPendingInboundTransferInstructions(ctx context.Context, partyID string) ([]string, error)
FindPendingInboundTransferInstructions provides a mock function with given fields: ctx, partyID
func (*Token) GetAllHoldings ¶
GetAllHoldings provides a mock function with given fields: ctx
func (*Token) GetBalanceByFingerprint ¶
func (_m *Token) GetBalanceByFingerprint(ctx context.Context, fingerprint string, tokenSymbol string) (string, error)
GetBalanceByFingerprint provides a mock function with given fields: ctx, fingerprint, tokenSymbol
func (*Token) GetBalanceByPartyID ¶
func (_m *Token) GetBalanceByPartyID(ctx context.Context, partyID string, tokenSymbol string) (string, error)
GetBalanceByPartyID provides a mock function with given fields: ctx, partyID, tokenSymbol
func (*Token) GetHoldings ¶
func (_m *Token) GetHoldings(ctx context.Context, ownerParty string, tokenSymbol string) ([]*token.Holding, error)
GetHoldings provides a mock function with given fields: ctx, ownerParty, tokenSymbol
func (*Token) GetHoldingsByParty ¶
func (_m *Token) GetHoldingsByParty(ctx context.Context, ownerParty string, instrumentID string) ([]*token.Holding, error)
GetHoldingsByParty provides a mock function with given fields: ctx, ownerParty, instrumentID
func (*Token) GetTokenConfigCID ¶
GetTokenConfigCID provides a mock function with given fields: ctx, tokenSymbol
func (*Token) GetTokenTransferEvents ¶
GetTokenTransferEvents provides a mock function with given fields: ctx
func (*Token) GetTotalSupply ¶
GetTotalSupply provides a mock function with given fields: ctx, tokenSymbol
func (*Token) GetTransferFactory ¶
GetTransferFactory provides a mock function with given fields: ctx
func (*Token) PrepareAcceptTransfer ¶
func (_m *Token) PrepareAcceptTransfer(ctx context.Context, partyID string, instructionCID string, instrumentAdmin string) (*token.PreparedTransfer, error)
PrepareAcceptTransfer provides a mock function with given fields: ctx, partyID, instructionCID, instrumentAdmin
func (*Token) PrepareTransfer ¶
func (_m *Token) PrepareTransfer(ctx context.Context, req *token.PrepareTransferRequest) (*token.PreparedTransfer, error)
PrepareTransfer provides a mock function with given fields: ctx, req
func (*Token) TransferByFingerprint ¶
func (_m *Token) TransferByFingerprint(ctx context.Context, idempotencyKey string, fromFingerprint string, toFingerprint string, amount string, tokenSymbol string) error
TransferByFingerprint provides a mock function with given fields: ctx, idempotencyKey, fromFingerprint, toFingerprint, amount, tokenSymbol
func (*Token) TransferByPartyID ¶
func (_m *Token) TransferByPartyID(ctx context.Context, idempotencyKey string, fromParty string, toParty string, amount string, tokenSymbol string) error
TransferByPartyID provides a mock function with given fields: ctx, idempotencyKey, fromParty, toParty, amount, tokenSymbol
func (*Token) TransferInternalByPartyID ¶
func (_m *Token) TransferInternalByPartyID(ctx context.Context, idempotencyKey string, fromParty string, toParty string, amount string, tokenSymbol string) error
TransferInternalByPartyID provides a mock function with given fields: ctx, idempotencyKey, fromParty, toParty, amount, tokenSymbol
type Token_AcceptTransferInstruction_Call ¶
Token_AcceptTransferInstruction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AcceptTransferInstruction'
func (*Token_AcceptTransferInstruction_Call) Return ¶
func (_c *Token_AcceptTransferInstruction_Call) Return(_a0 error) *Token_AcceptTransferInstruction_Call
func (*Token_AcceptTransferInstruction_Call) Run ¶
func (_c *Token_AcceptTransferInstruction_Call) Run(run func(ctx context.Context, partyID string, instructionCID string, instrumentAdmin string)) *Token_AcceptTransferInstruction_Call
func (*Token_AcceptTransferInstruction_Call) RunAndReturn ¶
func (_c *Token_AcceptTransferInstruction_Call) RunAndReturn(run func(context.Context, string, string, string) error) *Token_AcceptTransferInstruction_Call
type Token_Burn_Call ¶
Token_Burn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Burn'
func (*Token_Burn_Call) Return ¶
func (_c *Token_Burn_Call) Return(_a0 error) *Token_Burn_Call
func (*Token_Burn_Call) Run ¶
func (_c *Token_Burn_Call) Run(run func(ctx context.Context, req *token.BurnRequest)) *Token_Burn_Call
func (*Token_Burn_Call) RunAndReturn ¶
func (_c *Token_Burn_Call) RunAndReturn(run func(context.Context, *token.BurnRequest) error) *Token_Burn_Call
type Token_ExecuteTransfer_Call ¶
Token_ExecuteTransfer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteTransfer'
func (*Token_ExecuteTransfer_Call) Return ¶
func (_c *Token_ExecuteTransfer_Call) Return(_a0 error) *Token_ExecuteTransfer_Call
func (*Token_ExecuteTransfer_Call) Run ¶
func (_c *Token_ExecuteTransfer_Call) Run(run func(ctx context.Context, req *token.ExecuteTransferRequest)) *Token_ExecuteTransfer_Call
func (*Token_ExecuteTransfer_Call) RunAndReturn ¶
func (_c *Token_ExecuteTransfer_Call) RunAndReturn(run func(context.Context, *token.ExecuteTransferRequest) error) *Token_ExecuteTransfer_Call
type Token_Expecter ¶
type Token_Expecter struct {
// contains filtered or unexported fields
}
func (*Token_Expecter) AcceptTransferInstruction ¶
func (_e *Token_Expecter) AcceptTransferInstruction(ctx interface{}, partyID interface{}, instructionCID interface{}, instrumentAdmin interface{}) *Token_AcceptTransferInstruction_Call
AcceptTransferInstruction is a helper method to define mock.On call
- ctx context.Context
- partyID string
- instructionCID string
- instrumentAdmin string
func (*Token_Expecter) Burn ¶
func (_e *Token_Expecter) Burn(ctx interface{}, req interface{}) *Token_Burn_Call
Burn is a helper method to define mock.On call
- ctx context.Context
- req *token.BurnRequest
func (*Token_Expecter) ExecuteTransfer ¶
func (_e *Token_Expecter) ExecuteTransfer(ctx interface{}, req interface{}) *Token_ExecuteTransfer_Call
ExecuteTransfer is a helper method to define mock.On call
- ctx context.Context
- req *token.ExecuteTransferRequest
func (*Token_Expecter) FindPendingInboundTransferInstructions ¶
func (_e *Token_Expecter) FindPendingInboundTransferInstructions(ctx interface{}, partyID interface{}) *Token_FindPendingInboundTransferInstructions_Call
FindPendingInboundTransferInstructions is a helper method to define mock.On call
- ctx context.Context
- partyID string
func (*Token_Expecter) GetAllHoldings ¶
func (_e *Token_Expecter) GetAllHoldings(ctx interface{}) *Token_GetAllHoldings_Call
GetAllHoldings is a helper method to define mock.On call
- ctx context.Context
func (*Token_Expecter) GetBalanceByFingerprint ¶
func (_e *Token_Expecter) GetBalanceByFingerprint(ctx interface{}, fingerprint interface{}, tokenSymbol interface{}) *Token_GetBalanceByFingerprint_Call
GetBalanceByFingerprint is a helper method to define mock.On call
- ctx context.Context
- fingerprint string
- tokenSymbol string
func (*Token_Expecter) GetBalanceByPartyID ¶
func (_e *Token_Expecter) GetBalanceByPartyID(ctx interface{}, partyID interface{}, tokenSymbol interface{}) *Token_GetBalanceByPartyID_Call
GetBalanceByPartyID is a helper method to define mock.On call
- ctx context.Context
- partyID string
- tokenSymbol string
func (*Token_Expecter) GetHoldings ¶
func (_e *Token_Expecter) GetHoldings(ctx interface{}, ownerParty interface{}, tokenSymbol interface{}) *Token_GetHoldings_Call
GetHoldings is a helper method to define mock.On call
- ctx context.Context
- ownerParty string
- tokenSymbol string
func (*Token_Expecter) GetHoldingsByParty ¶
func (_e *Token_Expecter) GetHoldingsByParty(ctx interface{}, ownerParty interface{}, instrumentID interface{}) *Token_GetHoldingsByParty_Call
GetHoldingsByParty is a helper method to define mock.On call
- ctx context.Context
- ownerParty string
- instrumentID string
func (*Token_Expecter) GetTokenConfigCID ¶
func (_e *Token_Expecter) GetTokenConfigCID(ctx interface{}, tokenSymbol interface{}) *Token_GetTokenConfigCID_Call
GetTokenConfigCID is a helper method to define mock.On call
- ctx context.Context
- tokenSymbol string
func (*Token_Expecter) GetTokenTransferEvents ¶
func (_e *Token_Expecter) GetTokenTransferEvents(ctx interface{}) *Token_GetTokenTransferEvents_Call
GetTokenTransferEvents is a helper method to define mock.On call
- ctx context.Context
func (*Token_Expecter) GetTotalSupply ¶
func (_e *Token_Expecter) GetTotalSupply(ctx interface{}, tokenSymbol interface{}) *Token_GetTotalSupply_Call
GetTotalSupply is a helper method to define mock.On call
- ctx context.Context
- tokenSymbol string
func (*Token_Expecter) GetTransferFactory ¶
func (_e *Token_Expecter) GetTransferFactory(ctx interface{}) *Token_GetTransferFactory_Call
GetTransferFactory is a helper method to define mock.On call
- ctx context.Context
func (*Token_Expecter) Mint ¶
func (_e *Token_Expecter) Mint(ctx interface{}, req interface{}) *Token_Mint_Call
Mint is a helper method to define mock.On call
- ctx context.Context
- req *token.MintRequest
func (*Token_Expecter) PrepareAcceptTransfer ¶
func (_e *Token_Expecter) PrepareAcceptTransfer(ctx interface{}, partyID interface{}, instructionCID interface{}, instrumentAdmin interface{}) *Token_PrepareAcceptTransfer_Call
PrepareAcceptTransfer is a helper method to define mock.On call
- ctx context.Context
- partyID string
- instructionCID string
- instrumentAdmin string
func (*Token_Expecter) PrepareTransfer ¶
func (_e *Token_Expecter) PrepareTransfer(ctx interface{}, req interface{}) *Token_PrepareTransfer_Call
PrepareTransfer is a helper method to define mock.On call
- ctx context.Context
- req *token.PrepareTransferRequest
func (*Token_Expecter) TransferByFingerprint ¶
func (_e *Token_Expecter) TransferByFingerprint(ctx interface{}, idempotencyKey interface{}, fromFingerprint interface{}, toFingerprint interface{}, amount interface{}, tokenSymbol interface{}) *Token_TransferByFingerprint_Call
TransferByFingerprint is a helper method to define mock.On call
- ctx context.Context
- idempotencyKey string
- fromFingerprint string
- toFingerprint string
- amount string
- tokenSymbol string
func (*Token_Expecter) TransferByPartyID ¶
func (_e *Token_Expecter) TransferByPartyID(ctx interface{}, idempotencyKey interface{}, fromParty interface{}, toParty interface{}, amount interface{}, tokenSymbol interface{}) *Token_TransferByPartyID_Call
TransferByPartyID is a helper method to define mock.On call
- ctx context.Context
- idempotencyKey string
- fromParty string
- toParty string
- amount string
- tokenSymbol string
func (*Token_Expecter) TransferInternalByPartyID ¶
func (_e *Token_Expecter) TransferInternalByPartyID(ctx interface{}, idempotencyKey interface{}, fromParty interface{}, toParty interface{}, amount interface{}, tokenSymbol interface{}) *Token_TransferInternalByPartyID_Call
TransferInternalByPartyID is a helper method to define mock.On call
- ctx context.Context
- idempotencyKey string
- fromParty string
- toParty string
- amount string
- tokenSymbol string
type Token_FindPendingInboundTransferInstructions_Call ¶
Token_FindPendingInboundTransferInstructions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindPendingInboundTransferInstructions'
func (*Token_FindPendingInboundTransferInstructions_Call) Return ¶
func (_c *Token_FindPendingInboundTransferInstructions_Call) Return(_a0 []string, _a1 error) *Token_FindPendingInboundTransferInstructions_Call
func (*Token_FindPendingInboundTransferInstructions_Call) Run ¶
func (_c *Token_FindPendingInboundTransferInstructions_Call) Run(run func(ctx context.Context, partyID string)) *Token_FindPendingInboundTransferInstructions_Call
func (*Token_FindPendingInboundTransferInstructions_Call) RunAndReturn ¶
func (_c *Token_FindPendingInboundTransferInstructions_Call) RunAndReturn(run func(context.Context, string) ([]string, error)) *Token_FindPendingInboundTransferInstructions_Call
type Token_GetAllHoldings_Call ¶
Token_GetAllHoldings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllHoldings'
func (*Token_GetAllHoldings_Call) Return ¶
func (_c *Token_GetAllHoldings_Call) Return(_a0 []*token.Holding, _a1 error) *Token_GetAllHoldings_Call
func (*Token_GetAllHoldings_Call) Run ¶
func (_c *Token_GetAllHoldings_Call) Run(run func(ctx context.Context)) *Token_GetAllHoldings_Call
func (*Token_GetAllHoldings_Call) RunAndReturn ¶
func (_c *Token_GetAllHoldings_Call) RunAndReturn(run func(context.Context) ([]*token.Holding, error)) *Token_GetAllHoldings_Call
type Token_GetBalanceByFingerprint_Call ¶
Token_GetBalanceByFingerprint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBalanceByFingerprint'
func (*Token_GetBalanceByFingerprint_Call) Return ¶
func (_c *Token_GetBalanceByFingerprint_Call) Return(_a0 string, _a1 error) *Token_GetBalanceByFingerprint_Call
func (*Token_GetBalanceByFingerprint_Call) Run ¶
func (_c *Token_GetBalanceByFingerprint_Call) Run(run func(ctx context.Context, fingerprint string, tokenSymbol string)) *Token_GetBalanceByFingerprint_Call
func (*Token_GetBalanceByFingerprint_Call) RunAndReturn ¶
func (_c *Token_GetBalanceByFingerprint_Call) RunAndReturn(run func(context.Context, string, string) (string, error)) *Token_GetBalanceByFingerprint_Call
type Token_GetBalanceByPartyID_Call ¶
Token_GetBalanceByPartyID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBalanceByPartyID'
func (*Token_GetBalanceByPartyID_Call) Return ¶
func (_c *Token_GetBalanceByPartyID_Call) Return(_a0 string, _a1 error) *Token_GetBalanceByPartyID_Call
func (*Token_GetBalanceByPartyID_Call) Run ¶
func (_c *Token_GetBalanceByPartyID_Call) Run(run func(ctx context.Context, partyID string, tokenSymbol string)) *Token_GetBalanceByPartyID_Call
func (*Token_GetBalanceByPartyID_Call) RunAndReturn ¶
func (_c *Token_GetBalanceByPartyID_Call) RunAndReturn(run func(context.Context, string, string) (string, error)) *Token_GetBalanceByPartyID_Call
type Token_GetHoldingsByParty_Call ¶
Token_GetHoldingsByParty_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHoldingsByParty'
func (*Token_GetHoldingsByParty_Call) Return ¶
func (_c *Token_GetHoldingsByParty_Call) Return(_a0 []*token.Holding, _a1 error) *Token_GetHoldingsByParty_Call
func (*Token_GetHoldingsByParty_Call) Run ¶
func (_c *Token_GetHoldingsByParty_Call) Run(run func(ctx context.Context, ownerParty string, instrumentID string)) *Token_GetHoldingsByParty_Call
func (*Token_GetHoldingsByParty_Call) RunAndReturn ¶
func (_c *Token_GetHoldingsByParty_Call) RunAndReturn(run func(context.Context, string, string) ([]*token.Holding, error)) *Token_GetHoldingsByParty_Call
type Token_GetHoldings_Call ¶
Token_GetHoldings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHoldings'
func (*Token_GetHoldings_Call) Return ¶
func (_c *Token_GetHoldings_Call) Return(_a0 []*token.Holding, _a1 error) *Token_GetHoldings_Call
func (*Token_GetHoldings_Call) Run ¶
func (_c *Token_GetHoldings_Call) Run(run func(ctx context.Context, ownerParty string, tokenSymbol string)) *Token_GetHoldings_Call
func (*Token_GetHoldings_Call) RunAndReturn ¶
func (_c *Token_GetHoldings_Call) RunAndReturn(run func(context.Context, string, string) ([]*token.Holding, error)) *Token_GetHoldings_Call
type Token_GetTokenConfigCID_Call ¶
Token_GetTokenConfigCID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTokenConfigCID'
func (*Token_GetTokenConfigCID_Call) Return ¶
func (_c *Token_GetTokenConfigCID_Call) Return(_a0 string, _a1 error) *Token_GetTokenConfigCID_Call
func (*Token_GetTokenConfigCID_Call) Run ¶
func (_c *Token_GetTokenConfigCID_Call) Run(run func(ctx context.Context, tokenSymbol string)) *Token_GetTokenConfigCID_Call
func (*Token_GetTokenConfigCID_Call) RunAndReturn ¶
func (_c *Token_GetTokenConfigCID_Call) RunAndReturn(run func(context.Context, string) (string, error)) *Token_GetTokenConfigCID_Call
type Token_GetTokenTransferEvents_Call ¶
Token_GetTokenTransferEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTokenTransferEvents'
func (*Token_GetTokenTransferEvents_Call) Return ¶
func (_c *Token_GetTokenTransferEvents_Call) Return(_a0 []*token.TokenTransferEvent, _a1 error) *Token_GetTokenTransferEvents_Call
func (*Token_GetTokenTransferEvents_Call) Run ¶
func (_c *Token_GetTokenTransferEvents_Call) Run(run func(ctx context.Context)) *Token_GetTokenTransferEvents_Call
func (*Token_GetTokenTransferEvents_Call) RunAndReturn ¶
func (_c *Token_GetTokenTransferEvents_Call) RunAndReturn(run func(context.Context) ([]*token.TokenTransferEvent, error)) *Token_GetTokenTransferEvents_Call
type Token_GetTotalSupply_Call ¶
Token_GetTotalSupply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTotalSupply'
func (*Token_GetTotalSupply_Call) Return ¶
func (_c *Token_GetTotalSupply_Call) Return(_a0 string, _a1 error) *Token_GetTotalSupply_Call
func (*Token_GetTotalSupply_Call) Run ¶
func (_c *Token_GetTotalSupply_Call) Run(run func(ctx context.Context, tokenSymbol string)) *Token_GetTotalSupply_Call
func (*Token_GetTotalSupply_Call) RunAndReturn ¶
func (_c *Token_GetTotalSupply_Call) RunAndReturn(run func(context.Context, string) (string, error)) *Token_GetTotalSupply_Call
type Token_GetTransferFactory_Call ¶
Token_GetTransferFactory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransferFactory'
func (*Token_GetTransferFactory_Call) Return ¶
func (_c *Token_GetTransferFactory_Call) Return(_a0 *token.TransferFactoryInfo, _a1 error) *Token_GetTransferFactory_Call
func (*Token_GetTransferFactory_Call) Run ¶
func (_c *Token_GetTransferFactory_Call) Run(run func(ctx context.Context)) *Token_GetTransferFactory_Call
func (*Token_GetTransferFactory_Call) RunAndReturn ¶
func (_c *Token_GetTransferFactory_Call) RunAndReturn(run func(context.Context) (*token.TransferFactoryInfo, error)) *Token_GetTransferFactory_Call
type Token_Mint_Call ¶
Token_Mint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Mint'
func (*Token_Mint_Call) Return ¶
func (_c *Token_Mint_Call) Return(_a0 string, _a1 error) *Token_Mint_Call
func (*Token_Mint_Call) Run ¶
func (_c *Token_Mint_Call) Run(run func(ctx context.Context, req *token.MintRequest)) *Token_Mint_Call
func (*Token_Mint_Call) RunAndReturn ¶
func (_c *Token_Mint_Call) RunAndReturn(run func(context.Context, *token.MintRequest) (string, error)) *Token_Mint_Call
type Token_PrepareAcceptTransfer_Call ¶
Token_PrepareAcceptTransfer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrepareAcceptTransfer'
func (*Token_PrepareAcceptTransfer_Call) Return ¶
func (_c *Token_PrepareAcceptTransfer_Call) Return(_a0 *token.PreparedTransfer, _a1 error) *Token_PrepareAcceptTransfer_Call
func (*Token_PrepareAcceptTransfer_Call) Run ¶
func (_c *Token_PrepareAcceptTransfer_Call) Run(run func(ctx context.Context, partyID string, instructionCID string, instrumentAdmin string)) *Token_PrepareAcceptTransfer_Call
func (*Token_PrepareAcceptTransfer_Call) RunAndReturn ¶
func (_c *Token_PrepareAcceptTransfer_Call) RunAndReturn(run func(context.Context, string, string, string) (*token.PreparedTransfer, error)) *Token_PrepareAcceptTransfer_Call
type Token_PrepareTransfer_Call ¶
Token_PrepareTransfer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrepareTransfer'
func (*Token_PrepareTransfer_Call) Return ¶
func (_c *Token_PrepareTransfer_Call) Return(_a0 *token.PreparedTransfer, _a1 error) *Token_PrepareTransfer_Call
func (*Token_PrepareTransfer_Call) Run ¶
func (_c *Token_PrepareTransfer_Call) Run(run func(ctx context.Context, req *token.PrepareTransferRequest)) *Token_PrepareTransfer_Call
func (*Token_PrepareTransfer_Call) RunAndReturn ¶
func (_c *Token_PrepareTransfer_Call) RunAndReturn(run func(context.Context, *token.PrepareTransferRequest) (*token.PreparedTransfer, error)) *Token_PrepareTransfer_Call
type Token_TransferByFingerprint_Call ¶
Token_TransferByFingerprint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferByFingerprint'
func (*Token_TransferByFingerprint_Call) Return ¶
func (_c *Token_TransferByFingerprint_Call) Return(_a0 error) *Token_TransferByFingerprint_Call
func (*Token_TransferByFingerprint_Call) Run ¶
func (_c *Token_TransferByFingerprint_Call) Run(run func(ctx context.Context, idempotencyKey string, fromFingerprint string, toFingerprint string, amount string, tokenSymbol string)) *Token_TransferByFingerprint_Call
func (*Token_TransferByFingerprint_Call) RunAndReturn ¶
func (_c *Token_TransferByFingerprint_Call) RunAndReturn(run func(context.Context, string, string, string, string, string) error) *Token_TransferByFingerprint_Call
type Token_TransferByPartyID_Call ¶
Token_TransferByPartyID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferByPartyID'
func (*Token_TransferByPartyID_Call) Return ¶
func (_c *Token_TransferByPartyID_Call) Return(_a0 error) *Token_TransferByPartyID_Call
func (*Token_TransferByPartyID_Call) Run ¶
func (_c *Token_TransferByPartyID_Call) Run(run func(ctx context.Context, idempotencyKey string, fromParty string, toParty string, amount string, tokenSymbol string)) *Token_TransferByPartyID_Call
func (*Token_TransferByPartyID_Call) RunAndReturn ¶
func (_c *Token_TransferByPartyID_Call) RunAndReturn(run func(context.Context, string, string, string, string, string) error) *Token_TransferByPartyID_Call
type Token_TransferInternalByPartyID_Call ¶
Token_TransferInternalByPartyID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferInternalByPartyID'
func (*Token_TransferInternalByPartyID_Call) Return ¶
func (_c *Token_TransferInternalByPartyID_Call) Return(_a0 error) *Token_TransferInternalByPartyID_Call
func (*Token_TransferInternalByPartyID_Call) Run ¶
func (_c *Token_TransferInternalByPartyID_Call) Run(run func(ctx context.Context, idempotencyKey string, fromParty string, toParty string, amount string, tokenSymbol string)) *Token_TransferInternalByPartyID_Call
func (*Token_TransferInternalByPartyID_Call) RunAndReturn ¶
func (_c *Token_TransferInternalByPartyID_Call) RunAndReturn(run func(context.Context, string, string, string, string, string) error) *Token_TransferInternalByPartyID_Call
type UserStore ¶
UserStore is an autogenerated mock type for the UserStore type
func NewUserStore ¶
NewUserStore creates a new instance of UserStore. 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 (*UserStore) EXPECT ¶
func (_m *UserStore) EXPECT() *UserStore_Expecter
type UserStore_Expecter ¶
type UserStore_Expecter struct {
// contains filtered or unexported fields
}
func (*UserStore_Expecter) GetUserByCantonPartyID ¶
func (_e *UserStore_Expecter) GetUserByCantonPartyID(ctx interface{}, partyID interface{}) *UserStore_GetUserByCantonPartyID_Call
GetUserByCantonPartyID is a helper method to define mock.On call
- ctx context.Context
- partyID string
func (*UserStore_Expecter) GetUserByEVMAddress ¶
func (_e *UserStore_Expecter) GetUserByEVMAddress(ctx interface{}, evmAddress interface{}) *UserStore_GetUserByEVMAddress_Call
GetUserByEVMAddress is a helper method to define mock.On call
- ctx context.Context
- evmAddress string
type UserStore_GetUserByCantonPartyID_Call ¶
UserStore_GetUserByCantonPartyID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserByCantonPartyID'
func (*UserStore_GetUserByCantonPartyID_Call) Return ¶
func (_c *UserStore_GetUserByCantonPartyID_Call) Return(_a0 *user.User, _a1 error) *UserStore_GetUserByCantonPartyID_Call
func (*UserStore_GetUserByCantonPartyID_Call) Run ¶
func (_c *UserStore_GetUserByCantonPartyID_Call) Run(run func(ctx context.Context, partyID string)) *UserStore_GetUserByCantonPartyID_Call
func (*UserStore_GetUserByCantonPartyID_Call) RunAndReturn ¶
func (_c *UserStore_GetUserByCantonPartyID_Call) RunAndReturn(run func(context.Context, string) (*user.User, error)) *UserStore_GetUserByCantonPartyID_Call
type UserStore_GetUserByEVMAddress_Call ¶
UserStore_GetUserByEVMAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserByEVMAddress'
func (*UserStore_GetUserByEVMAddress_Call) Return ¶
func (_c *UserStore_GetUserByEVMAddress_Call) Return(_a0 *user.User, _a1 error) *UserStore_GetUserByEVMAddress_Call
func (*UserStore_GetUserByEVMAddress_Call) Run ¶
func (_c *UserStore_GetUserByEVMAddress_Call) Run(run func(ctx context.Context, evmAddress string)) *UserStore_GetUserByEVMAddress_Call
func (*UserStore_GetUserByEVMAddress_Call) RunAndReturn ¶
func (_c *UserStore_GetUserByEVMAddress_Call) RunAndReturn(run func(context.Context, string) (*user.User, error)) *UserStore_GetUserByEVMAddress_Call