mock

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionDeserializer

type ActionDeserializer[TA driver.TransferAction, IA driver.IssueAction] struct {
	DeserializeActionsStub func(*driver.TokenRequest) ([]IA, []TA, error)
	// contains filtered or unexported fields
}

func (*ActionDeserializer[TA, IA]) DeserializeActions

func (fake *ActionDeserializer[TA, IA]) DeserializeActions(arg1 *driver.TokenRequest) ([]IA, []TA, error)

func (*ActionDeserializer[TA, IA]) DeserializeActionsArgsForCall

func (fake *ActionDeserializer[TA, IA]) DeserializeActionsArgsForCall(i int) *driver.TokenRequest

func (*ActionDeserializer[TA, IA]) DeserializeActionsCallCount

func (fake *ActionDeserializer[TA, IA]) DeserializeActionsCallCount() int

func (*ActionDeserializer[TA, IA]) DeserializeActionsCalls

func (fake *ActionDeserializer[TA, IA]) DeserializeActionsCalls(stub func(*driver.TokenRequest) ([]IA, []TA, error))

func (*ActionDeserializer[TA, IA]) DeserializeActionsReturns

func (fake *ActionDeserializer[TA, IA]) DeserializeActionsReturns(result1 []IA, result2 []TA, result3 error)

func (*ActionDeserializer[TA, IA]) DeserializeActionsReturnsOnCall

func (fake *ActionDeserializer[TA, IA]) DeserializeActionsReturnsOnCall(i int, result1 []IA, result2 []TA, result3 error)

func (*ActionDeserializer[TA, IA]) Invocations

func (fake *ActionDeserializer[TA, IA]) Invocations() map[string][][]interface{}

type ActionWithInputs

type ActionWithInputs struct {
	ExtraSignersStub func() []driver.Identity

	GetInputsStub func() []*token.ID

	GetMetadataStub func() map[string][]byte

	GetSerialNumbersStub func() []string

	GetSerializedInputsStub func() ([][]byte, error)

	IsGraphHidingStub func() bool

	NumInputsStub func() int
	// contains filtered or unexported fields
}

func (*ActionWithInputs) ExtraSigners

func (fake *ActionWithInputs) ExtraSigners() []driver.Identity

func (*ActionWithInputs) ExtraSignersCallCount

func (fake *ActionWithInputs) ExtraSignersCallCount() int

func (*ActionWithInputs) ExtraSignersCalls

func (fake *ActionWithInputs) ExtraSignersCalls(stub func() []driver.Identity)

func (*ActionWithInputs) ExtraSignersReturns

func (fake *ActionWithInputs) ExtraSignersReturns(result1 []driver.Identity)

func (*ActionWithInputs) ExtraSignersReturnsOnCall

func (fake *ActionWithInputs) ExtraSignersReturnsOnCall(i int, result1 []driver.Identity)

func (*ActionWithInputs) GetInputs

func (fake *ActionWithInputs) GetInputs() []*token.ID

func (*ActionWithInputs) GetInputsCallCount

func (fake *ActionWithInputs) GetInputsCallCount() int

func (*ActionWithInputs) GetInputsCalls

func (fake *ActionWithInputs) GetInputsCalls(stub func() []*token.ID)

func (*ActionWithInputs) GetInputsReturns

func (fake *ActionWithInputs) GetInputsReturns(result1 []*token.ID)

func (*ActionWithInputs) GetInputsReturnsOnCall

func (fake *ActionWithInputs) GetInputsReturnsOnCall(i int, result1 []*token.ID)

func (*ActionWithInputs) GetMetadata

func (fake *ActionWithInputs) GetMetadata() map[string][]byte

func (*ActionWithInputs) GetMetadataCallCount

func (fake *ActionWithInputs) GetMetadataCallCount() int

func (*ActionWithInputs) GetMetadataCalls

func (fake *ActionWithInputs) GetMetadataCalls(stub func() map[string][]byte)

func (*ActionWithInputs) GetMetadataReturns

func (fake *ActionWithInputs) GetMetadataReturns(result1 map[string][]byte)

func (*ActionWithInputs) GetMetadataReturnsOnCall

func (fake *ActionWithInputs) GetMetadataReturnsOnCall(i int, result1 map[string][]byte)

func (*ActionWithInputs) GetSerialNumbers

func (fake *ActionWithInputs) GetSerialNumbers() []string

func (*ActionWithInputs) GetSerialNumbersCallCount

func (fake *ActionWithInputs) GetSerialNumbersCallCount() int

func (*ActionWithInputs) GetSerialNumbersCalls

func (fake *ActionWithInputs) GetSerialNumbersCalls(stub func() []string)

func (*ActionWithInputs) GetSerialNumbersReturns

func (fake *ActionWithInputs) GetSerialNumbersReturns(result1 []string)

func (*ActionWithInputs) GetSerialNumbersReturnsOnCall

func (fake *ActionWithInputs) GetSerialNumbersReturnsOnCall(i int, result1 []string)

func (*ActionWithInputs) GetSerializedInputs

func (fake *ActionWithInputs) GetSerializedInputs() ([][]byte, error)

func (*ActionWithInputs) GetSerializedInputsCallCount

func (fake *ActionWithInputs) GetSerializedInputsCallCount() int

func (*ActionWithInputs) GetSerializedInputsCalls

func (fake *ActionWithInputs) GetSerializedInputsCalls(stub func() ([][]byte, error))

func (*ActionWithInputs) GetSerializedInputsReturns

func (fake *ActionWithInputs) GetSerializedInputsReturns(result1 [][]byte, result2 error)

func (*ActionWithInputs) GetSerializedInputsReturnsOnCall

func (fake *ActionWithInputs) GetSerializedInputsReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*ActionWithInputs) Invocations

func (fake *ActionWithInputs) Invocations() map[string][][]interface{}

func (*ActionWithInputs) IsGraphHiding

func (fake *ActionWithInputs) IsGraphHiding() bool

func (*ActionWithInputs) IsGraphHidingCallCount

func (fake *ActionWithInputs) IsGraphHidingCallCount() int

func (*ActionWithInputs) IsGraphHidingCalls

func (fake *ActionWithInputs) IsGraphHidingCalls(stub func() bool)

func (*ActionWithInputs) IsGraphHidingReturns

func (fake *ActionWithInputs) IsGraphHidingReturns(result1 bool)

func (*ActionWithInputs) IsGraphHidingReturnsOnCall

func (fake *ActionWithInputs) IsGraphHidingReturnsOnCall(i int, result1 bool)

func (*ActionWithInputs) NumInputs

func (fake *ActionWithInputs) NumInputs() int

func (*ActionWithInputs) NumInputsCallCount

func (fake *ActionWithInputs) NumInputsCallCount() int

func (*ActionWithInputs) NumInputsCalls

func (fake *ActionWithInputs) NumInputsCalls(stub func() int)

func (*ActionWithInputs) NumInputsReturns

func (fake *ActionWithInputs) NumInputsReturns(result1 int)

func (*ActionWithInputs) NumInputsReturnsOnCall

func (fake *ActionWithInputs) NumInputsReturnsOnCall(i int, result1 int)

type AuditInfoProvider

type AuditInfoProvider struct {
	GetAuditInfoStub func(context.Context, driver.Identity) ([]byte, error)
	// contains filtered or unexported fields
}

func (*AuditInfoProvider) GetAuditInfo

func (fake *AuditInfoProvider) GetAuditInfo(arg1 context.Context, arg2 driver.Identity) ([]byte, error)

func (*AuditInfoProvider) GetAuditInfoArgsForCall

func (fake *AuditInfoProvider) GetAuditInfoArgsForCall(i int) (context.Context, driver.Identity)

func (*AuditInfoProvider) GetAuditInfoCallCount

func (fake *AuditInfoProvider) GetAuditInfoCallCount() int

func (*AuditInfoProvider) GetAuditInfoCalls

func (fake *AuditInfoProvider) GetAuditInfoCalls(stub func(context.Context, driver.Identity) ([]byte, error))

func (*AuditInfoProvider) GetAuditInfoReturns

func (fake *AuditInfoProvider) GetAuditInfoReturns(result1 []byte, result2 error)

func (*AuditInfoProvider) GetAuditInfoReturnsOnCall

func (fake *AuditInfoProvider) GetAuditInfoReturnsOnCall(i int, result1 []byte, result2 error)

func (*AuditInfoProvider) Invocations

func (fake *AuditInfoProvider) Invocations() map[string][][]interface{}

type AuditMatcherProvider

type AuditMatcherProvider struct {
	GetAuditInfoStub func(context.Context, driver.Identity, driver.AuditInfoProvider) ([]byte, error)

	GetAuditInfoMatcherStub func(context.Context, driver.Identity, []byte) (driver.Matcher, error)

	MatchIdentityStub func(context.Context, driver.Identity, []byte) error
	// contains filtered or unexported fields
}

func (*AuditMatcherProvider) GetAuditInfo

func (fake *AuditMatcherProvider) GetAuditInfo(arg1 context.Context, arg2 driver.Identity, arg3 driver.AuditInfoProvider) ([]byte, error)

func (*AuditMatcherProvider) GetAuditInfoArgsForCall

func (fake *AuditMatcherProvider) GetAuditInfoArgsForCall(i int) (context.Context, driver.Identity, driver.AuditInfoProvider)

func (*AuditMatcherProvider) GetAuditInfoCallCount

func (fake *AuditMatcherProvider) GetAuditInfoCallCount() int

func (*AuditMatcherProvider) GetAuditInfoCalls

func (fake *AuditMatcherProvider) GetAuditInfoCalls(stub func(context.Context, driver.Identity, driver.AuditInfoProvider) ([]byte, error))

func (*AuditMatcherProvider) GetAuditInfoMatcher

func (fake *AuditMatcherProvider) GetAuditInfoMatcher(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (driver.Matcher, error)

func (*AuditMatcherProvider) GetAuditInfoMatcherArgsForCall

func (fake *AuditMatcherProvider) GetAuditInfoMatcherArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*AuditMatcherProvider) GetAuditInfoMatcherCallCount

func (fake *AuditMatcherProvider) GetAuditInfoMatcherCallCount() int

func (*AuditMatcherProvider) GetAuditInfoMatcherCalls

func (fake *AuditMatcherProvider) GetAuditInfoMatcherCalls(stub func(context.Context, driver.Identity, []byte) (driver.Matcher, error))

func (*AuditMatcherProvider) GetAuditInfoMatcherReturns

func (fake *AuditMatcherProvider) GetAuditInfoMatcherReturns(result1 driver.Matcher, result2 error)

func (*AuditMatcherProvider) GetAuditInfoMatcherReturnsOnCall

func (fake *AuditMatcherProvider) GetAuditInfoMatcherReturnsOnCall(i int, result1 driver.Matcher, result2 error)

func (*AuditMatcherProvider) GetAuditInfoReturns

func (fake *AuditMatcherProvider) GetAuditInfoReturns(result1 []byte, result2 error)

func (*AuditMatcherProvider) GetAuditInfoReturnsOnCall

func (fake *AuditMatcherProvider) GetAuditInfoReturnsOnCall(i int, result1 []byte, result2 error)

func (*AuditMatcherProvider) Invocations

func (fake *AuditMatcherProvider) Invocations() map[string][][]interface{}

func (*AuditMatcherProvider) MatchIdentity

func (fake *AuditMatcherProvider) MatchIdentity(arg1 context.Context, arg2 driver.Identity, arg3 []byte) error

func (*AuditMatcherProvider) MatchIdentityArgsForCall

func (fake *AuditMatcherProvider) MatchIdentityArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*AuditMatcherProvider) MatchIdentityCallCount

func (fake *AuditMatcherProvider) MatchIdentityCallCount() int

func (*AuditMatcherProvider) MatchIdentityCalls

func (fake *AuditMatcherProvider) MatchIdentityCalls(stub func(context.Context, driver.Identity, []byte) error)

func (*AuditMatcherProvider) MatchIdentityReturns

func (fake *AuditMatcherProvider) MatchIdentityReturns(result1 error)

func (*AuditMatcherProvider) MatchIdentityReturnsOnCall

func (fake *AuditMatcherProvider) MatchIdentityReturnsOnCall(i int, result1 error)

type AuditorService

type AuditorService struct {
	AuditorCheckStub func(context.Context, *driver.TokenRequest, *driver.TokenRequestMetadata, driver.TokenRequestAnchor) error
	// contains filtered or unexported fields
}

func (*AuditorService) AuditorCheck

func (*AuditorService) AuditorCheckArgsForCall

func (*AuditorService) AuditorCheckCallCount

func (fake *AuditorService) AuditorCheckCallCount() int

func (*AuditorService) AuditorCheckCalls

func (*AuditorService) AuditorCheckReturns

func (fake *AuditorService) AuditorCheckReturns(result1 error)

func (*AuditorService) AuditorCheckReturnsOnCall

func (fake *AuditorService) AuditorCheckReturnsOnCall(i int, result1 error)

func (*AuditorService) Invocations

func (fake *AuditorService) Invocations() map[string][][]interface{}

type AuditorWallet

type AuditorWallet struct {
	ContainsStub func(context.Context, driver.Identity) bool

	ContainsTokenStub func(context.Context, *token.UnspentToken) bool

	GetAuditorIdentityStub func() (driver.Identity, error)

	GetSignerStub func(context.Context, driver.Identity) (driver.Signer, error)

	IDStub func() string
	// contains filtered or unexported fields
}

func (*AuditorWallet) Contains

func (fake *AuditorWallet) Contains(arg1 context.Context, arg2 driver.Identity) bool

func (*AuditorWallet) ContainsArgsForCall

func (fake *AuditorWallet) ContainsArgsForCall(i int) (context.Context, driver.Identity)

func (*AuditorWallet) ContainsCallCount

func (fake *AuditorWallet) ContainsCallCount() int

func (*AuditorWallet) ContainsCalls

func (fake *AuditorWallet) ContainsCalls(stub func(context.Context, driver.Identity) bool)

func (*AuditorWallet) ContainsReturns

func (fake *AuditorWallet) ContainsReturns(result1 bool)

func (*AuditorWallet) ContainsReturnsOnCall

func (fake *AuditorWallet) ContainsReturnsOnCall(i int, result1 bool)

func (*AuditorWallet) ContainsToken

func (fake *AuditorWallet) ContainsToken(arg1 context.Context, arg2 *token.UnspentToken) bool

func (*AuditorWallet) ContainsTokenArgsForCall

func (fake *AuditorWallet) ContainsTokenArgsForCall(i int) (context.Context, *token.UnspentToken)

func (*AuditorWallet) ContainsTokenCallCount

func (fake *AuditorWallet) ContainsTokenCallCount() int

func (*AuditorWallet) ContainsTokenCalls

func (fake *AuditorWallet) ContainsTokenCalls(stub func(context.Context, *token.UnspentToken) bool)

func (*AuditorWallet) ContainsTokenReturns

func (fake *AuditorWallet) ContainsTokenReturns(result1 bool)

func (*AuditorWallet) ContainsTokenReturnsOnCall

func (fake *AuditorWallet) ContainsTokenReturnsOnCall(i int, result1 bool)

func (*AuditorWallet) GetAuditorIdentity

func (fake *AuditorWallet) GetAuditorIdentity() (driver.Identity, error)

func (*AuditorWallet) GetAuditorIdentityCallCount

func (fake *AuditorWallet) GetAuditorIdentityCallCount() int

func (*AuditorWallet) GetAuditorIdentityCalls

func (fake *AuditorWallet) GetAuditorIdentityCalls(stub func() (driver.Identity, error))

func (*AuditorWallet) GetAuditorIdentityReturns

func (fake *AuditorWallet) GetAuditorIdentityReturns(result1 driver.Identity, result2 error)

func (*AuditorWallet) GetAuditorIdentityReturnsOnCall

func (fake *AuditorWallet) GetAuditorIdentityReturnsOnCall(i int, result1 driver.Identity, result2 error)

func (*AuditorWallet) GetSigner

func (fake *AuditorWallet) GetSigner(arg1 context.Context, arg2 driver.Identity) (driver.Signer, error)

func (*AuditorWallet) GetSignerArgsForCall

func (fake *AuditorWallet) GetSignerArgsForCall(i int) (context.Context, driver.Identity)

func (*AuditorWallet) GetSignerCallCount

func (fake *AuditorWallet) GetSignerCallCount() int

func (*AuditorWallet) GetSignerCalls

func (fake *AuditorWallet) GetSignerCalls(stub func(context.Context, driver.Identity) (driver.Signer, error))

func (*AuditorWallet) GetSignerReturns

func (fake *AuditorWallet) GetSignerReturns(result1 driver.Signer, result2 error)

func (*AuditorWallet) GetSignerReturnsOnCall

func (fake *AuditorWallet) GetSignerReturnsOnCall(i int, result1 driver.Signer, result2 error)

func (*AuditorWallet) ID

func (fake *AuditorWallet) ID() string

func (*AuditorWallet) IDCallCount

func (fake *AuditorWallet) IDCallCount() int

func (*AuditorWallet) IDCalls

func (fake *AuditorWallet) IDCalls(stub func() string)

func (*AuditorWallet) IDReturns

func (fake *AuditorWallet) IDReturns(result1 string)

func (*AuditorWallet) IDReturnsOnCall

func (fake *AuditorWallet) IDReturnsOnCall(i int, result1 string)

func (*AuditorWallet) Invocations

func (fake *AuditorWallet) Invocations() map[string][][]interface{}

type Authorization

type Authorization struct {
	AmIAnAuditorStub func() bool

	IsMineStub func(context.Context, *token.Token) (string, []string, bool)

	IssuedStub func(context.Context, driver.Identity, *token.Token) bool

	OwnerTypeStub func([]byte) (driver.IdentityType, []byte, error)
	// contains filtered or unexported fields
}

func (*Authorization) AmIAnAuditor

func (fake *Authorization) AmIAnAuditor() bool

func (*Authorization) AmIAnAuditorCallCount

func (fake *Authorization) AmIAnAuditorCallCount() int

func (*Authorization) AmIAnAuditorCalls

func (fake *Authorization) AmIAnAuditorCalls(stub func() bool)

func (*Authorization) AmIAnAuditorReturns

func (fake *Authorization) AmIAnAuditorReturns(result1 bool)

func (*Authorization) AmIAnAuditorReturnsOnCall

func (fake *Authorization) AmIAnAuditorReturnsOnCall(i int, result1 bool)

func (*Authorization) Invocations

func (fake *Authorization) Invocations() map[string][][]interface{}

func (*Authorization) IsMine

func (fake *Authorization) IsMine(arg1 context.Context, arg2 *token.Token) (string, []string, bool)

func (*Authorization) IsMineArgsForCall

func (fake *Authorization) IsMineArgsForCall(i int) (context.Context, *token.Token)

func (*Authorization) IsMineCallCount

func (fake *Authorization) IsMineCallCount() int

func (*Authorization) IsMineCalls

func (fake *Authorization) IsMineCalls(stub func(context.Context, *token.Token) (string, []string, bool))

func (*Authorization) IsMineReturns

func (fake *Authorization) IsMineReturns(result1 string, result2 []string, result3 bool)

func (*Authorization) IsMineReturnsOnCall

func (fake *Authorization) IsMineReturnsOnCall(i int, result1 string, result2 []string, result3 bool)

func (*Authorization) Issued

func (fake *Authorization) Issued(arg1 context.Context, arg2 driver.Identity, arg3 *token.Token) bool

func (*Authorization) IssuedArgsForCall

func (fake *Authorization) IssuedArgsForCall(i int) (context.Context, driver.Identity, *token.Token)

func (*Authorization) IssuedCallCount

func (fake *Authorization) IssuedCallCount() int

func (*Authorization) IssuedCalls

func (fake *Authorization) IssuedCalls(stub func(context.Context, driver.Identity, *token.Token) bool)

func (*Authorization) IssuedReturns

func (fake *Authorization) IssuedReturns(result1 bool)

func (*Authorization) IssuedReturnsOnCall

func (fake *Authorization) IssuedReturnsOnCall(i int, result1 bool)

func (*Authorization) OwnerType

func (fake *Authorization) OwnerType(arg1 []byte) (driver.IdentityType, []byte, error)

func (*Authorization) OwnerTypeArgsForCall

func (fake *Authorization) OwnerTypeArgsForCall(i int) []byte

func (*Authorization) OwnerTypeCallCount

func (fake *Authorization) OwnerTypeCallCount() int

func (*Authorization) OwnerTypeCalls

func (fake *Authorization) OwnerTypeCalls(stub func([]byte) (driver.IdentityType, []byte, error))

func (*Authorization) OwnerTypeReturns

func (fake *Authorization) OwnerTypeReturns(result1 driver.IdentityType, result2 []byte, result3 error)

func (*Authorization) OwnerTypeReturnsOnCall

func (fake *Authorization) OwnerTypeReturnsOnCall(i int, result1 driver.IdentityType, result2 []byte, result3 error)

type CertificationClient

type CertificationClient struct {
	IsCertifiedStub func(context.Context, *token.ID) bool

	RequestCertificationStub func(context.Context, ...*token.ID) error
	// contains filtered or unexported fields
}

func (*CertificationClient) Invocations

func (fake *CertificationClient) Invocations() map[string][][]interface{}

func (*CertificationClient) IsCertified

func (fake *CertificationClient) IsCertified(arg1 context.Context, arg2 *token.ID) bool

func (*CertificationClient) IsCertifiedArgsForCall

func (fake *CertificationClient) IsCertifiedArgsForCall(i int) (context.Context, *token.ID)

func (*CertificationClient) IsCertifiedCallCount

func (fake *CertificationClient) IsCertifiedCallCount() int

func (*CertificationClient) IsCertifiedCalls

func (fake *CertificationClient) IsCertifiedCalls(stub func(context.Context, *token.ID) bool)

func (*CertificationClient) IsCertifiedReturns

func (fake *CertificationClient) IsCertifiedReturns(result1 bool)

func (*CertificationClient) IsCertifiedReturnsOnCall

func (fake *CertificationClient) IsCertifiedReturnsOnCall(i int, result1 bool)

func (*CertificationClient) RequestCertification

func (fake *CertificationClient) RequestCertification(arg1 context.Context, arg2 ...*token.ID) error

func (*CertificationClient) RequestCertificationArgsForCall

func (fake *CertificationClient) RequestCertificationArgsForCall(i int) (context.Context, []*token.ID)

func (*CertificationClient) RequestCertificationCallCount

func (fake *CertificationClient) RequestCertificationCallCount() int

func (*CertificationClient) RequestCertificationCalls

func (fake *CertificationClient) RequestCertificationCalls(stub func(context.Context, ...*token.ID) error)

func (*CertificationClient) RequestCertificationReturns

func (fake *CertificationClient) RequestCertificationReturns(result1 error)

func (*CertificationClient) RequestCertificationReturnsOnCall

func (fake *CertificationClient) RequestCertificationReturnsOnCall(i int, result1 error)

type CertificationService

type CertificationService struct {
	CertifyStub func(driver.CertifierWallet, []*token.ID, [][]byte, []byte) ([][]byte, error)

	NewCertificationRequestStub func([]*token.ID) ([]byte, error)

	VerifyCertificationsStub func([]*token.ID, [][]byte) ([][]byte, error)
	// contains filtered or unexported fields
}

func (*CertificationService) Certify

func (fake *CertificationService) Certify(arg1 driver.CertifierWallet, arg2 []*token.ID, arg3 [][]byte, arg4 []byte) ([][]byte, error)

func (*CertificationService) CertifyArgsForCall

func (fake *CertificationService) CertifyArgsForCall(i int) (driver.CertifierWallet, []*token.ID, [][]byte, []byte)

func (*CertificationService) CertifyCallCount

func (fake *CertificationService) CertifyCallCount() int

func (*CertificationService) CertifyCalls

func (fake *CertificationService) CertifyCalls(stub func(driver.CertifierWallet, []*token.ID, [][]byte, []byte) ([][]byte, error))

func (*CertificationService) CertifyReturns

func (fake *CertificationService) CertifyReturns(result1 [][]byte, result2 error)

func (*CertificationService) CertifyReturnsOnCall

func (fake *CertificationService) CertifyReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*CertificationService) Invocations

func (fake *CertificationService) Invocations() map[string][][]interface{}

func (*CertificationService) NewCertificationRequest

func (fake *CertificationService) NewCertificationRequest(arg1 []*token.ID) ([]byte, error)

func (*CertificationService) NewCertificationRequestArgsForCall

func (fake *CertificationService) NewCertificationRequestArgsForCall(i int) []*token.ID

func (*CertificationService) NewCertificationRequestCallCount

func (fake *CertificationService) NewCertificationRequestCallCount() int

func (*CertificationService) NewCertificationRequestCalls

func (fake *CertificationService) NewCertificationRequestCalls(stub func([]*token.ID) ([]byte, error))

func (*CertificationService) NewCertificationRequestReturns

func (fake *CertificationService) NewCertificationRequestReturns(result1 []byte, result2 error)

func (*CertificationService) NewCertificationRequestReturnsOnCall

func (fake *CertificationService) NewCertificationRequestReturnsOnCall(i int, result1 []byte, result2 error)

func (*CertificationService) VerifyCertifications

func (fake *CertificationService) VerifyCertifications(arg1 []*token.ID, arg2 [][]byte) ([][]byte, error)

func (*CertificationService) VerifyCertificationsArgsForCall

func (fake *CertificationService) VerifyCertificationsArgsForCall(i int) ([]*token.ID, [][]byte)

func (*CertificationService) VerifyCertificationsCallCount

func (fake *CertificationService) VerifyCertificationsCallCount() int

func (*CertificationService) VerifyCertificationsCalls

func (fake *CertificationService) VerifyCertificationsCalls(stub func([]*token.ID, [][]byte) ([][]byte, error))

func (*CertificationService) VerifyCertificationsReturns

func (fake *CertificationService) VerifyCertificationsReturns(result1 [][]byte, result2 error)

func (*CertificationService) VerifyCertificationsReturnsOnCall

func (fake *CertificationService) VerifyCertificationsReturnsOnCall(i int, result1 [][]byte, result2 error)

type CertificationStorage

type CertificationStorage struct {
	ExistsStub func(context.Context, *token.ID) bool

	StoreStub func(context.Context, map[*token.ID][]byte) error
	// contains filtered or unexported fields
}

func (*CertificationStorage) Exists

func (fake *CertificationStorage) Exists(arg1 context.Context, arg2 *token.ID) bool

func (*CertificationStorage) ExistsArgsForCall

func (fake *CertificationStorage) ExistsArgsForCall(i int) (context.Context, *token.ID)

func (*CertificationStorage) ExistsCallCount

func (fake *CertificationStorage) ExistsCallCount() int

func (*CertificationStorage) ExistsCalls

func (fake *CertificationStorage) ExistsCalls(stub func(context.Context, *token.ID) bool)

func (*CertificationStorage) ExistsReturns

func (fake *CertificationStorage) ExistsReturns(result1 bool)

func (*CertificationStorage) ExistsReturnsOnCall

func (fake *CertificationStorage) ExistsReturnsOnCall(i int, result1 bool)

func (*CertificationStorage) Invocations

func (fake *CertificationStorage) Invocations() map[string][][]interface{}

func (*CertificationStorage) Store

func (fake *CertificationStorage) Store(arg1 context.Context, arg2 map[*token.ID][]byte) error

func (*CertificationStorage) StoreArgsForCall

func (fake *CertificationStorage) StoreArgsForCall(i int) (context.Context, map[*token.ID][]byte)

func (*CertificationStorage) StoreCallCount

func (fake *CertificationStorage) StoreCallCount() int

func (*CertificationStorage) StoreCalls

func (fake *CertificationStorage) StoreCalls(stub func(context.Context, map[*token.ID][]byte) error)

func (*CertificationStorage) StoreReturns

func (fake *CertificationStorage) StoreReturns(result1 error)

func (*CertificationStorage) StoreReturnsOnCall

func (fake *CertificationStorage) StoreReturnsOnCall(i int, result1 error)

type CertifierWallet

type CertifierWallet struct {
	ContainsStub func(context.Context, driver.Identity) bool

	ContainsTokenStub func(context.Context, *token.UnspentToken) bool

	GetCertifierIdentityStub func() (driver.Identity, error)

	GetSignerStub func(context.Context, driver.Identity) (driver.Signer, error)

	IDStub func() string
	// contains filtered or unexported fields
}

func (*CertifierWallet) Contains

func (fake *CertifierWallet) Contains(arg1 context.Context, arg2 driver.Identity) bool

func (*CertifierWallet) ContainsArgsForCall

func (fake *CertifierWallet) ContainsArgsForCall(i int) (context.Context, driver.Identity)

func (*CertifierWallet) ContainsCallCount

func (fake *CertifierWallet) ContainsCallCount() int

func (*CertifierWallet) ContainsCalls

func (fake *CertifierWallet) ContainsCalls(stub func(context.Context, driver.Identity) bool)

func (*CertifierWallet) ContainsReturns

func (fake *CertifierWallet) ContainsReturns(result1 bool)

func (*CertifierWallet) ContainsReturnsOnCall

func (fake *CertifierWallet) ContainsReturnsOnCall(i int, result1 bool)

func (*CertifierWallet) ContainsToken

func (fake *CertifierWallet) ContainsToken(arg1 context.Context, arg2 *token.UnspentToken) bool

func (*CertifierWallet) ContainsTokenArgsForCall

func (fake *CertifierWallet) ContainsTokenArgsForCall(i int) (context.Context, *token.UnspentToken)

func (*CertifierWallet) ContainsTokenCallCount

func (fake *CertifierWallet) ContainsTokenCallCount() int

func (*CertifierWallet) ContainsTokenCalls

func (fake *CertifierWallet) ContainsTokenCalls(stub func(context.Context, *token.UnspentToken) bool)

func (*CertifierWallet) ContainsTokenReturns

func (fake *CertifierWallet) ContainsTokenReturns(result1 bool)

func (*CertifierWallet) ContainsTokenReturnsOnCall

func (fake *CertifierWallet) ContainsTokenReturnsOnCall(i int, result1 bool)

func (*CertifierWallet) GetCertifierIdentity

func (fake *CertifierWallet) GetCertifierIdentity() (driver.Identity, error)

func (*CertifierWallet) GetCertifierIdentityCallCount

func (fake *CertifierWallet) GetCertifierIdentityCallCount() int

func (*CertifierWallet) GetCertifierIdentityCalls

func (fake *CertifierWallet) GetCertifierIdentityCalls(stub func() (driver.Identity, error))

func (*CertifierWallet) GetCertifierIdentityReturns

func (fake *CertifierWallet) GetCertifierIdentityReturns(result1 driver.Identity, result2 error)

func (*CertifierWallet) GetCertifierIdentityReturnsOnCall

func (fake *CertifierWallet) GetCertifierIdentityReturnsOnCall(i int, result1 driver.Identity, result2 error)

func (*CertifierWallet) GetSigner

func (fake *CertifierWallet) GetSigner(arg1 context.Context, arg2 driver.Identity) (driver.Signer, error)

func (*CertifierWallet) GetSignerArgsForCall

func (fake *CertifierWallet) GetSignerArgsForCall(i int) (context.Context, driver.Identity)

func (*CertifierWallet) GetSignerCallCount

func (fake *CertifierWallet) GetSignerCallCount() int

func (*CertifierWallet) GetSignerCalls

func (fake *CertifierWallet) GetSignerCalls(stub func(context.Context, driver.Identity) (driver.Signer, error))

func (*CertifierWallet) GetSignerReturns

func (fake *CertifierWallet) GetSignerReturns(result1 driver.Signer, result2 error)

func (*CertifierWallet) GetSignerReturnsOnCall

func (fake *CertifierWallet) GetSignerReturnsOnCall(i int, result1 driver.Signer, result2 error)

func (*CertifierWallet) ID

func (fake *CertifierWallet) ID() string

func (*CertifierWallet) IDCallCount

func (fake *CertifierWallet) IDCallCount() int

func (*CertifierWallet) IDCalls

func (fake *CertifierWallet) IDCalls(stub func() string)

func (*CertifierWallet) IDReturns

func (fake *CertifierWallet) IDReturns(result1 string)

func (*CertifierWallet) IDReturnsOnCall

func (fake *CertifierWallet) IDReturnsOnCall(i int, result1 string)

func (*CertifierWallet) Invocations

func (fake *CertifierWallet) Invocations() map[string][][]interface{}

type Configuration

type Configuration struct {
	GetBoolStub func(string) bool

	GetStringStub func(string) string

	IDStub func() driver.TMSID

	IsSetStub func(string) bool

	TranslatePathStub func(string) string

	UnmarshalKeyStub func(string, interface{}) error
	// contains filtered or unexported fields
}

func (*Configuration) GetBool

func (fake *Configuration) GetBool(arg1 string) bool

func (*Configuration) GetBoolArgsForCall

func (fake *Configuration) GetBoolArgsForCall(i int) string

func (*Configuration) GetBoolCallCount

func (fake *Configuration) GetBoolCallCount() int

func (*Configuration) GetBoolCalls

func (fake *Configuration) GetBoolCalls(stub func(string) bool)

func (*Configuration) GetBoolReturns

func (fake *Configuration) GetBoolReturns(result1 bool)

func (*Configuration) GetBoolReturnsOnCall

func (fake *Configuration) GetBoolReturnsOnCall(i int, result1 bool)

func (*Configuration) GetString

func (fake *Configuration) GetString(arg1 string) string

func (*Configuration) GetStringArgsForCall

func (fake *Configuration) GetStringArgsForCall(i int) string

func (*Configuration) GetStringCallCount

func (fake *Configuration) GetStringCallCount() int

func (*Configuration) GetStringCalls

func (fake *Configuration) GetStringCalls(stub func(string) string)

func (*Configuration) GetStringReturns

func (fake *Configuration) GetStringReturns(result1 string)

func (*Configuration) GetStringReturnsOnCall

func (fake *Configuration) GetStringReturnsOnCall(i int, result1 string)

func (*Configuration) ID

func (fake *Configuration) ID() driver.TMSID

func (*Configuration) IDCallCount

func (fake *Configuration) IDCallCount() int

func (*Configuration) IDCalls

func (fake *Configuration) IDCalls(stub func() driver.TMSID)

func (*Configuration) IDReturns

func (fake *Configuration) IDReturns(result1 driver.TMSID)

func (*Configuration) IDReturnsOnCall

func (fake *Configuration) IDReturnsOnCall(i int, result1 driver.TMSID)

func (*Configuration) Invocations

func (fake *Configuration) Invocations() map[string][][]interface{}

func (*Configuration) IsSet

func (fake *Configuration) IsSet(arg1 string) bool

func (*Configuration) IsSetArgsForCall

func (fake *Configuration) IsSetArgsForCall(i int) string

func (*Configuration) IsSetCallCount

func (fake *Configuration) IsSetCallCount() int

func (*Configuration) IsSetCalls

func (fake *Configuration) IsSetCalls(stub func(string) bool)

func (*Configuration) IsSetReturns

func (fake *Configuration) IsSetReturns(result1 bool)

func (*Configuration) IsSetReturnsOnCall

func (fake *Configuration) IsSetReturnsOnCall(i int, result1 bool)

func (*Configuration) TranslatePath

func (fake *Configuration) TranslatePath(arg1 string) string

func (*Configuration) TranslatePathArgsForCall

func (fake *Configuration) TranslatePathArgsForCall(i int) string

func (*Configuration) TranslatePathCallCount

func (fake *Configuration) TranslatePathCallCount() int

func (*Configuration) TranslatePathCalls

func (fake *Configuration) TranslatePathCalls(stub func(string) string)

func (*Configuration) TranslatePathReturns

func (fake *Configuration) TranslatePathReturns(result1 string)

func (*Configuration) TranslatePathReturnsOnCall

func (fake *Configuration) TranslatePathReturnsOnCall(i int, result1 string)

func (*Configuration) UnmarshalKey

func (fake *Configuration) UnmarshalKey(arg1 string, arg2 interface{}) error

func (*Configuration) UnmarshalKeyArgsForCall

func (fake *Configuration) UnmarshalKeyArgsForCall(i int) (string, interface{})

func (*Configuration) UnmarshalKeyCallCount

func (fake *Configuration) UnmarshalKeyCallCount() int

func (*Configuration) UnmarshalKeyCalls

func (fake *Configuration) UnmarshalKeyCalls(stub func(string, interface{}) error)

func (*Configuration) UnmarshalKeyReturns

func (fake *Configuration) UnmarshalKeyReturns(result1 error)

func (*Configuration) UnmarshalKeyReturnsOnCall

func (fake *Configuration) UnmarshalKeyReturnsOnCall(i int, result1 error)

type Deserializer

type Deserializer struct {
	GetAuditInfoStub func(context.Context, driver.Identity, driver.AuditInfoProvider) ([]byte, error)

	GetAuditInfoMatcherStub func(context.Context, driver.Identity, []byte) (driver.Matcher, error)

	GetAuditorVerifierStub func(context.Context, driver.Identity) (driver.Verifier, error)

	GetIssuerVerifierStub func(context.Context, driver.Identity) (driver.Verifier, error)

	GetOwnerVerifierStub func(context.Context, driver.Identity) (driver.Verifier, error)

	MatchIdentityStub func(context.Context, driver.Identity, []byte) error

	RecipientsStub func(driver.Identity) ([]driver.Identity, error)
	// contains filtered or unexported fields
}

func (*Deserializer) GetAuditInfo

func (fake *Deserializer) GetAuditInfo(arg1 context.Context, arg2 driver.Identity, arg3 driver.AuditInfoProvider) ([]byte, error)

func (*Deserializer) GetAuditInfoArgsForCall

func (fake *Deserializer) GetAuditInfoArgsForCall(i int) (context.Context, driver.Identity, driver.AuditInfoProvider)

func (*Deserializer) GetAuditInfoCallCount

func (fake *Deserializer) GetAuditInfoCallCount() int

func (*Deserializer) GetAuditInfoCalls

func (fake *Deserializer) GetAuditInfoCalls(stub func(context.Context, driver.Identity, driver.AuditInfoProvider) ([]byte, error))

func (*Deserializer) GetAuditInfoMatcher

func (fake *Deserializer) GetAuditInfoMatcher(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (driver.Matcher, error)

func (*Deserializer) GetAuditInfoMatcherArgsForCall

func (fake *Deserializer) GetAuditInfoMatcherArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*Deserializer) GetAuditInfoMatcherCallCount

func (fake *Deserializer) GetAuditInfoMatcherCallCount() int

func (*Deserializer) GetAuditInfoMatcherCalls

func (fake *Deserializer) GetAuditInfoMatcherCalls(stub func(context.Context, driver.Identity, []byte) (driver.Matcher, error))

func (*Deserializer) GetAuditInfoMatcherReturns

func (fake *Deserializer) GetAuditInfoMatcherReturns(result1 driver.Matcher, result2 error)

func (*Deserializer) GetAuditInfoMatcherReturnsOnCall

func (fake *Deserializer) GetAuditInfoMatcherReturnsOnCall(i int, result1 driver.Matcher, result2 error)

func (*Deserializer) GetAuditInfoReturns

func (fake *Deserializer) GetAuditInfoReturns(result1 []byte, result2 error)

func (*Deserializer) GetAuditInfoReturnsOnCall

func (fake *Deserializer) GetAuditInfoReturnsOnCall(i int, result1 []byte, result2 error)

func (*Deserializer) GetAuditorVerifier

func (fake *Deserializer) GetAuditorVerifier(arg1 context.Context, arg2 driver.Identity) (driver.Verifier, error)

func (*Deserializer) GetAuditorVerifierArgsForCall

func (fake *Deserializer) GetAuditorVerifierArgsForCall(i int) (context.Context, driver.Identity)

func (*Deserializer) GetAuditorVerifierCallCount

func (fake *Deserializer) GetAuditorVerifierCallCount() int

func (*Deserializer) GetAuditorVerifierCalls

func (fake *Deserializer) GetAuditorVerifierCalls(stub func(context.Context, driver.Identity) (driver.Verifier, error))

func (*Deserializer) GetAuditorVerifierReturns

func (fake *Deserializer) GetAuditorVerifierReturns(result1 driver.Verifier, result2 error)

func (*Deserializer) GetAuditorVerifierReturnsOnCall

func (fake *Deserializer) GetAuditorVerifierReturnsOnCall(i int, result1 driver.Verifier, result2 error)

func (*Deserializer) GetIssuerVerifier

func (fake *Deserializer) GetIssuerVerifier(arg1 context.Context, arg2 driver.Identity) (driver.Verifier, error)

func (*Deserializer) GetIssuerVerifierArgsForCall

func (fake *Deserializer) GetIssuerVerifierArgsForCall(i int) (context.Context, driver.Identity)

func (*Deserializer) GetIssuerVerifierCallCount

func (fake *Deserializer) GetIssuerVerifierCallCount() int

func (*Deserializer) GetIssuerVerifierCalls

func (fake *Deserializer) GetIssuerVerifierCalls(stub func(context.Context, driver.Identity) (driver.Verifier, error))

func (*Deserializer) GetIssuerVerifierReturns

func (fake *Deserializer) GetIssuerVerifierReturns(result1 driver.Verifier, result2 error)

func (*Deserializer) GetIssuerVerifierReturnsOnCall

func (fake *Deserializer) GetIssuerVerifierReturnsOnCall(i int, result1 driver.Verifier, result2 error)

func (*Deserializer) GetOwnerVerifier

func (fake *Deserializer) GetOwnerVerifier(arg1 context.Context, arg2 driver.Identity) (driver.Verifier, error)

func (*Deserializer) GetOwnerVerifierArgsForCall

func (fake *Deserializer) GetOwnerVerifierArgsForCall(i int) (context.Context, driver.Identity)

func (*Deserializer) GetOwnerVerifierCallCount

func (fake *Deserializer) GetOwnerVerifierCallCount() int

func (*Deserializer) GetOwnerVerifierCalls

func (fake *Deserializer) GetOwnerVerifierCalls(stub func(context.Context, driver.Identity) (driver.Verifier, error))

func (*Deserializer) GetOwnerVerifierReturns

func (fake *Deserializer) GetOwnerVerifierReturns(result1 driver.Verifier, result2 error)

func (*Deserializer) GetOwnerVerifierReturnsOnCall

func (fake *Deserializer) GetOwnerVerifierReturnsOnCall(i int, result1 driver.Verifier, result2 error)

func (*Deserializer) Invocations

func (fake *Deserializer) Invocations() map[string][][]interface{}

func (*Deserializer) MatchIdentity

func (fake *Deserializer) MatchIdentity(arg1 context.Context, arg2 driver.Identity, arg3 []byte) error

func (*Deserializer) MatchIdentityArgsForCall

func (fake *Deserializer) MatchIdentityArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*Deserializer) MatchIdentityCallCount

func (fake *Deserializer) MatchIdentityCallCount() int

func (*Deserializer) MatchIdentityCalls

func (fake *Deserializer) MatchIdentityCalls(stub func(context.Context, driver.Identity, []byte) error)

func (*Deserializer) MatchIdentityReturns

func (fake *Deserializer) MatchIdentityReturns(result1 error)

func (*Deserializer) MatchIdentityReturnsOnCall

func (fake *Deserializer) MatchIdentityReturnsOnCall(i int, result1 error)

func (*Deserializer) Recipients

func (fake *Deserializer) Recipients(arg1 driver.Identity) ([]driver.Identity, error)

func (*Deserializer) RecipientsArgsForCall

func (fake *Deserializer) RecipientsArgsForCall(i int) driver.Identity

func (*Deserializer) RecipientsCallCount

func (fake *Deserializer) RecipientsCallCount() int

func (*Deserializer) RecipientsCalls

func (fake *Deserializer) RecipientsCalls(stub func(driver.Identity) ([]driver.Identity, error))

func (*Deserializer) RecipientsReturns

func (fake *Deserializer) RecipientsReturns(result1 []driver.Identity, result2 error)

func (*Deserializer) RecipientsReturnsOnCall

func (fake *Deserializer) RecipientsReturnsOnCall(i int, result1 []driver.Identity, result2 error)

type Driver

type Driver struct {
	NewTokenServiceStub func(driver.TMSID, []byte) (driver.TokenManagerService, error)

	PublicParametersFromBytesStub func([]byte) (driver.PublicParameters, error)
	// contains filtered or unexported fields
}

func (*Driver) Invocations

func (fake *Driver) Invocations() map[string][][]interface{}

func (*Driver) NewTokenService

func (fake *Driver) NewTokenService(arg1 driver.TMSID, arg2 []byte) (driver.TokenManagerService, error)

func (*Driver) NewTokenServiceArgsForCall

func (fake *Driver) NewTokenServiceArgsForCall(i int) (driver.TMSID, []byte)

func (*Driver) NewTokenServiceCallCount

func (fake *Driver) NewTokenServiceCallCount() int

func (*Driver) NewTokenServiceCalls

func (fake *Driver) NewTokenServiceCalls(stub func(driver.TMSID, []byte) (driver.TokenManagerService, error))

func (*Driver) NewTokenServiceReturns

func (fake *Driver) NewTokenServiceReturns(result1 driver.TokenManagerService, result2 error)

func (*Driver) NewTokenServiceReturnsOnCall

func (fake *Driver) NewTokenServiceReturnsOnCall(i int, result1 driver.TokenManagerService, result2 error)

func (*Driver) PublicParametersFromBytes

func (fake *Driver) PublicParametersFromBytes(arg1 []byte) (driver.PublicParameters, error)

func (*Driver) PublicParametersFromBytesArgsForCall

func (fake *Driver) PublicParametersFromBytesArgsForCall(i int) []byte

func (*Driver) PublicParametersFromBytesCallCount

func (fake *Driver) PublicParametersFromBytesCallCount() int

func (*Driver) PublicParametersFromBytesCalls

func (fake *Driver) PublicParametersFromBytesCalls(stub func([]byte) (driver.PublicParameters, error))

func (*Driver) PublicParametersFromBytesReturns

func (fake *Driver) PublicParametersFromBytesReturns(result1 driver.PublicParameters, result2 error)

func (*Driver) PublicParametersFromBytesReturnsOnCall

func (fake *Driver) PublicParametersFromBytesReturnsOnCall(i int, result1 driver.PublicParameters, result2 error)

type IdentityProvider

type IdentityProvider struct {
	AreMeStub func(context.Context, ...driver.Identity) []string

	BindStub func(context.Context, driver.Identity, ...driver.Identity) error

	GetAuditInfoStub func(context.Context, driver.Identity) ([]byte, error)

	GetEIDAndRHStub func(context.Context, driver.Identity, []byte) (string, string, error)

	GetEnrollmentIDStub func(context.Context, driver.Identity, []byte) (string, error)

	GetRevocationHandlerStub func(context.Context, driver.Identity, []byte) (string, error)

	GetSignerStub func(context.Context, driver.Identity) (driver.Signer, error)

	IsMeStub func(context.Context, driver.Identity) bool

	RegisterRecipientDataStub func(context.Context, *driver.RecipientData) error

	RegisterRecipientIdentityStub func(context.Context, driver.Identity) error

	RegisterSignerStub func(context.Context, driver.Identity, driver.Signer, driver.Verifier, []byte, bool) error
	// contains filtered or unexported fields
}

func (*IdentityProvider) AreMe

func (fake *IdentityProvider) AreMe(arg1 context.Context, arg2 ...driver.Identity) []string

func (*IdentityProvider) AreMeArgsForCall

func (fake *IdentityProvider) AreMeArgsForCall(i int) (context.Context, []driver.Identity)

func (*IdentityProvider) AreMeCallCount

func (fake *IdentityProvider) AreMeCallCount() int

func (*IdentityProvider) AreMeCalls

func (fake *IdentityProvider) AreMeCalls(stub func(context.Context, ...driver.Identity) []string)

func (*IdentityProvider) AreMeReturns

func (fake *IdentityProvider) AreMeReturns(result1 []string)

func (*IdentityProvider) AreMeReturnsOnCall

func (fake *IdentityProvider) AreMeReturnsOnCall(i int, result1 []string)

func (*IdentityProvider) Bind

func (fake *IdentityProvider) Bind(arg1 context.Context, arg2 driver.Identity, arg3 ...driver.Identity) error

func (*IdentityProvider) BindArgsForCall

func (fake *IdentityProvider) BindArgsForCall(i int) (context.Context, driver.Identity, []driver.Identity)

func (*IdentityProvider) BindCallCount

func (fake *IdentityProvider) BindCallCount() int

func (*IdentityProvider) BindCalls

func (fake *IdentityProvider) BindCalls(stub func(context.Context, driver.Identity, ...driver.Identity) error)

func (*IdentityProvider) BindReturns

func (fake *IdentityProvider) BindReturns(result1 error)

func (*IdentityProvider) BindReturnsOnCall

func (fake *IdentityProvider) BindReturnsOnCall(i int, result1 error)

func (*IdentityProvider) GetAuditInfo

func (fake *IdentityProvider) GetAuditInfo(arg1 context.Context, arg2 driver.Identity) ([]byte, error)

func (*IdentityProvider) GetAuditInfoArgsForCall

func (fake *IdentityProvider) GetAuditInfoArgsForCall(i int) (context.Context, driver.Identity)

func (*IdentityProvider) GetAuditInfoCallCount

func (fake *IdentityProvider) GetAuditInfoCallCount() int

func (*IdentityProvider) GetAuditInfoCalls

func (fake *IdentityProvider) GetAuditInfoCalls(stub func(context.Context, driver.Identity) ([]byte, error))

func (*IdentityProvider) GetAuditInfoReturns

func (fake *IdentityProvider) GetAuditInfoReturns(result1 []byte, result2 error)

func (*IdentityProvider) GetAuditInfoReturnsOnCall

func (fake *IdentityProvider) GetAuditInfoReturnsOnCall(i int, result1 []byte, result2 error)

func (*IdentityProvider) GetEIDAndRH

func (fake *IdentityProvider) GetEIDAndRH(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (string, string, error)

func (*IdentityProvider) GetEIDAndRHArgsForCall

func (fake *IdentityProvider) GetEIDAndRHArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*IdentityProvider) GetEIDAndRHCallCount

func (fake *IdentityProvider) GetEIDAndRHCallCount() int

func (*IdentityProvider) GetEIDAndRHCalls

func (fake *IdentityProvider) GetEIDAndRHCalls(stub func(context.Context, driver.Identity, []byte) (string, string, error))

func (*IdentityProvider) GetEIDAndRHReturns

func (fake *IdentityProvider) GetEIDAndRHReturns(result1 string, result2 string, result3 error)

func (*IdentityProvider) GetEIDAndRHReturnsOnCall

func (fake *IdentityProvider) GetEIDAndRHReturnsOnCall(i int, result1 string, result2 string, result3 error)

func (*IdentityProvider) GetEnrollmentID

func (fake *IdentityProvider) GetEnrollmentID(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (string, error)

func (*IdentityProvider) GetEnrollmentIDArgsForCall

func (fake *IdentityProvider) GetEnrollmentIDArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*IdentityProvider) GetEnrollmentIDCallCount

func (fake *IdentityProvider) GetEnrollmentIDCallCount() int

func (*IdentityProvider) GetEnrollmentIDCalls

func (fake *IdentityProvider) GetEnrollmentIDCalls(stub func(context.Context, driver.Identity, []byte) (string, error))

func (*IdentityProvider) GetEnrollmentIDReturns

func (fake *IdentityProvider) GetEnrollmentIDReturns(result1 string, result2 error)

func (*IdentityProvider) GetEnrollmentIDReturnsOnCall

func (fake *IdentityProvider) GetEnrollmentIDReturnsOnCall(i int, result1 string, result2 error)

func (*IdentityProvider) GetRevocationHandler

func (fake *IdentityProvider) GetRevocationHandler(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (string, error)

func (*IdentityProvider) GetRevocationHandlerArgsForCall

func (fake *IdentityProvider) GetRevocationHandlerArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*IdentityProvider) GetRevocationHandlerCallCount

func (fake *IdentityProvider) GetRevocationHandlerCallCount() int

func (*IdentityProvider) GetRevocationHandlerCalls

func (fake *IdentityProvider) GetRevocationHandlerCalls(stub func(context.Context, driver.Identity, []byte) (string, error))

func (*IdentityProvider) GetRevocationHandlerReturns

func (fake *IdentityProvider) GetRevocationHandlerReturns(result1 string, result2 error)

func (*IdentityProvider) GetRevocationHandlerReturnsOnCall

func (fake *IdentityProvider) GetRevocationHandlerReturnsOnCall(i int, result1 string, result2 error)

func (*IdentityProvider) GetSigner

func (fake *IdentityProvider) GetSigner(arg1 context.Context, arg2 driver.Identity) (driver.Signer, error)

func (*IdentityProvider) GetSignerArgsForCall

func (fake *IdentityProvider) GetSignerArgsForCall(i int) (context.Context, driver.Identity)

func (*IdentityProvider) GetSignerCallCount

func (fake *IdentityProvider) GetSignerCallCount() int

func (*IdentityProvider) GetSignerCalls

func (fake *IdentityProvider) GetSignerCalls(stub func(context.Context, driver.Identity) (driver.Signer, error))

func (*IdentityProvider) GetSignerReturns

func (fake *IdentityProvider) GetSignerReturns(result1 driver.Signer, result2 error)

func (*IdentityProvider) GetSignerReturnsOnCall

func (fake *IdentityProvider) GetSignerReturnsOnCall(i int, result1 driver.Signer, result2 error)

func (*IdentityProvider) Invocations

func (fake *IdentityProvider) Invocations() map[string][][]interface{}

func (*IdentityProvider) IsMe

func (fake *IdentityProvider) IsMe(arg1 context.Context, arg2 driver.Identity) bool

func (*IdentityProvider) IsMeArgsForCall

func (fake *IdentityProvider) IsMeArgsForCall(i int) (context.Context, driver.Identity)

func (*IdentityProvider) IsMeCallCount

func (fake *IdentityProvider) IsMeCallCount() int

func (*IdentityProvider) IsMeCalls

func (fake *IdentityProvider) IsMeCalls(stub func(context.Context, driver.Identity) bool)

func (*IdentityProvider) IsMeReturns

func (fake *IdentityProvider) IsMeReturns(result1 bool)

func (*IdentityProvider) IsMeReturnsOnCall

func (fake *IdentityProvider) IsMeReturnsOnCall(i int, result1 bool)

func (*IdentityProvider) RegisterRecipientData

func (fake *IdentityProvider) RegisterRecipientData(arg1 context.Context, arg2 *driver.RecipientData) error

func (*IdentityProvider) RegisterRecipientDataArgsForCall

func (fake *IdentityProvider) RegisterRecipientDataArgsForCall(i int) (context.Context, *driver.RecipientData)

func (*IdentityProvider) RegisterRecipientDataCallCount

func (fake *IdentityProvider) RegisterRecipientDataCallCount() int

func (*IdentityProvider) RegisterRecipientDataCalls

func (fake *IdentityProvider) RegisterRecipientDataCalls(stub func(context.Context, *driver.RecipientData) error)

func (*IdentityProvider) RegisterRecipientDataReturns

func (fake *IdentityProvider) RegisterRecipientDataReturns(result1 error)

func (*IdentityProvider) RegisterRecipientDataReturnsOnCall

func (fake *IdentityProvider) RegisterRecipientDataReturnsOnCall(i int, result1 error)

func (*IdentityProvider) RegisterRecipientIdentity

func (fake *IdentityProvider) RegisterRecipientIdentity(arg1 context.Context, arg2 driver.Identity) error

func (*IdentityProvider) RegisterRecipientIdentityArgsForCall

func (fake *IdentityProvider) RegisterRecipientIdentityArgsForCall(i int) (context.Context, driver.Identity)

func (*IdentityProvider) RegisterRecipientIdentityCallCount

func (fake *IdentityProvider) RegisterRecipientIdentityCallCount() int

func (*IdentityProvider) RegisterRecipientIdentityCalls

func (fake *IdentityProvider) RegisterRecipientIdentityCalls(stub func(context.Context, driver.Identity) error)

func (*IdentityProvider) RegisterRecipientIdentityReturns

func (fake *IdentityProvider) RegisterRecipientIdentityReturns(result1 error)

func (*IdentityProvider) RegisterRecipientIdentityReturnsOnCall

func (fake *IdentityProvider) RegisterRecipientIdentityReturnsOnCall(i int, result1 error)

func (*IdentityProvider) RegisterSigner

func (fake *IdentityProvider) RegisterSigner(arg1 context.Context, arg2 driver.Identity, arg3 driver.Signer, arg4 driver.Verifier, arg5 []byte, arg6 bool) error

func (*IdentityProvider) RegisterSignerArgsForCall

func (fake *IdentityProvider) RegisterSignerArgsForCall(i int) (context.Context, driver.Identity, driver.Signer, driver.Verifier, []byte, bool)

func (*IdentityProvider) RegisterSignerCallCount

func (fake *IdentityProvider) RegisterSignerCallCount() int

func (*IdentityProvider) RegisterSignerCalls

func (fake *IdentityProvider) RegisterSignerCalls(stub func(context.Context, driver.Identity, driver.Signer, driver.Verifier, []byte, bool) error)

func (*IdentityProvider) RegisterSignerReturns

func (fake *IdentityProvider) RegisterSignerReturns(result1 error)

func (*IdentityProvider) RegisterSignerReturnsOnCall

func (fake *IdentityProvider) RegisterSignerReturnsOnCall(i int, result1 error)

type IssueAction

type IssueAction struct {
	ExtraSignersStub func() []driver.Identity

	GetInputsStub func() []*token.ID

	GetIssuerStub func() []byte

	GetMetadataStub func() map[string][]byte

	GetOutputsStub func() []driver.Output

	GetSerialNumbersStub func() []string

	GetSerializedInputsStub func() ([][]byte, error)

	GetSerializedOutputsStub func() ([][]byte, error)

	IsAnonymousStub func() bool

	IsGraphHidingStub func() bool

	NumInputsStub func() int

	NumOutputsStub func() int

	SerializeStub func() ([]byte, error)

	ValidateStub func() error
	// contains filtered or unexported fields
}

func (*IssueAction) ExtraSigners

func (fake *IssueAction) ExtraSigners() []driver.Identity

func (*IssueAction) ExtraSignersCallCount

func (fake *IssueAction) ExtraSignersCallCount() int

func (*IssueAction) ExtraSignersCalls

func (fake *IssueAction) ExtraSignersCalls(stub func() []driver.Identity)

func (*IssueAction) ExtraSignersReturns

func (fake *IssueAction) ExtraSignersReturns(result1 []driver.Identity)

func (*IssueAction) ExtraSignersReturnsOnCall

func (fake *IssueAction) ExtraSignersReturnsOnCall(i int, result1 []driver.Identity)

func (*IssueAction) GetInputs

func (fake *IssueAction) GetInputs() []*token.ID

func (*IssueAction) GetInputsCallCount

func (fake *IssueAction) GetInputsCallCount() int

func (*IssueAction) GetInputsCalls

func (fake *IssueAction) GetInputsCalls(stub func() []*token.ID)

func (*IssueAction) GetInputsReturns

func (fake *IssueAction) GetInputsReturns(result1 []*token.ID)

func (*IssueAction) GetInputsReturnsOnCall

func (fake *IssueAction) GetInputsReturnsOnCall(i int, result1 []*token.ID)

func (*IssueAction) GetIssuer

func (fake *IssueAction) GetIssuer() []byte

func (*IssueAction) GetIssuerCallCount

func (fake *IssueAction) GetIssuerCallCount() int

func (*IssueAction) GetIssuerCalls

func (fake *IssueAction) GetIssuerCalls(stub func() []byte)

func (*IssueAction) GetIssuerReturns

func (fake *IssueAction) GetIssuerReturns(result1 []byte)

func (*IssueAction) GetIssuerReturnsOnCall

func (fake *IssueAction) GetIssuerReturnsOnCall(i int, result1 []byte)

func (*IssueAction) GetMetadata

func (fake *IssueAction) GetMetadata() map[string][]byte

func (*IssueAction) GetMetadataCallCount

func (fake *IssueAction) GetMetadataCallCount() int

func (*IssueAction) GetMetadataCalls

func (fake *IssueAction) GetMetadataCalls(stub func() map[string][]byte)

func (*IssueAction) GetMetadataReturns

func (fake *IssueAction) GetMetadataReturns(result1 map[string][]byte)

func (*IssueAction) GetMetadataReturnsOnCall

func (fake *IssueAction) GetMetadataReturnsOnCall(i int, result1 map[string][]byte)

func (*IssueAction) GetOutputs

func (fake *IssueAction) GetOutputs() []driver.Output

func (*IssueAction) GetOutputsCallCount

func (fake *IssueAction) GetOutputsCallCount() int

func (*IssueAction) GetOutputsCalls

func (fake *IssueAction) GetOutputsCalls(stub func() []driver.Output)

func (*IssueAction) GetOutputsReturns

func (fake *IssueAction) GetOutputsReturns(result1 []driver.Output)

func (*IssueAction) GetOutputsReturnsOnCall

func (fake *IssueAction) GetOutputsReturnsOnCall(i int, result1 []driver.Output)

func (*IssueAction) GetSerialNumbers

func (fake *IssueAction) GetSerialNumbers() []string

func (*IssueAction) GetSerialNumbersCallCount

func (fake *IssueAction) GetSerialNumbersCallCount() int

func (*IssueAction) GetSerialNumbersCalls

func (fake *IssueAction) GetSerialNumbersCalls(stub func() []string)

func (*IssueAction) GetSerialNumbersReturns

func (fake *IssueAction) GetSerialNumbersReturns(result1 []string)

func (*IssueAction) GetSerialNumbersReturnsOnCall

func (fake *IssueAction) GetSerialNumbersReturnsOnCall(i int, result1 []string)

func (*IssueAction) GetSerializedInputs

func (fake *IssueAction) GetSerializedInputs() ([][]byte, error)

func (*IssueAction) GetSerializedInputsCallCount

func (fake *IssueAction) GetSerializedInputsCallCount() int

func (*IssueAction) GetSerializedInputsCalls

func (fake *IssueAction) GetSerializedInputsCalls(stub func() ([][]byte, error))

func (*IssueAction) GetSerializedInputsReturns

func (fake *IssueAction) GetSerializedInputsReturns(result1 [][]byte, result2 error)

func (*IssueAction) GetSerializedInputsReturnsOnCall

func (fake *IssueAction) GetSerializedInputsReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*IssueAction) GetSerializedOutputs

func (fake *IssueAction) GetSerializedOutputs() ([][]byte, error)

func (*IssueAction) GetSerializedOutputsCallCount

func (fake *IssueAction) GetSerializedOutputsCallCount() int

func (*IssueAction) GetSerializedOutputsCalls

func (fake *IssueAction) GetSerializedOutputsCalls(stub func() ([][]byte, error))

func (*IssueAction) GetSerializedOutputsReturns

func (fake *IssueAction) GetSerializedOutputsReturns(result1 [][]byte, result2 error)

func (*IssueAction) GetSerializedOutputsReturnsOnCall

func (fake *IssueAction) GetSerializedOutputsReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*IssueAction) Invocations

func (fake *IssueAction) Invocations() map[string][][]interface{}

func (*IssueAction) IsAnonymous

func (fake *IssueAction) IsAnonymous() bool

func (*IssueAction) IsAnonymousCallCount

func (fake *IssueAction) IsAnonymousCallCount() int

func (*IssueAction) IsAnonymousCalls

func (fake *IssueAction) IsAnonymousCalls(stub func() bool)

func (*IssueAction) IsAnonymousReturns

func (fake *IssueAction) IsAnonymousReturns(result1 bool)

func (*IssueAction) IsAnonymousReturnsOnCall

func (fake *IssueAction) IsAnonymousReturnsOnCall(i int, result1 bool)

func (*IssueAction) IsGraphHiding

func (fake *IssueAction) IsGraphHiding() bool

func (*IssueAction) IsGraphHidingCallCount

func (fake *IssueAction) IsGraphHidingCallCount() int

func (*IssueAction) IsGraphHidingCalls

func (fake *IssueAction) IsGraphHidingCalls(stub func() bool)

func (*IssueAction) IsGraphHidingReturns

func (fake *IssueAction) IsGraphHidingReturns(result1 bool)

func (*IssueAction) IsGraphHidingReturnsOnCall

func (fake *IssueAction) IsGraphHidingReturnsOnCall(i int, result1 bool)

func (*IssueAction) NumInputs

func (fake *IssueAction) NumInputs() int

func (*IssueAction) NumInputsCallCount

func (fake *IssueAction) NumInputsCallCount() int

func (*IssueAction) NumInputsCalls

func (fake *IssueAction) NumInputsCalls(stub func() int)

func (*IssueAction) NumInputsReturns

func (fake *IssueAction) NumInputsReturns(result1 int)

func (*IssueAction) NumInputsReturnsOnCall

func (fake *IssueAction) NumInputsReturnsOnCall(i int, result1 int)

func (*IssueAction) NumOutputs

func (fake *IssueAction) NumOutputs() int

func (*IssueAction) NumOutputsCallCount

func (fake *IssueAction) NumOutputsCallCount() int

func (*IssueAction) NumOutputsCalls

func (fake *IssueAction) NumOutputsCalls(stub func() int)

func (*IssueAction) NumOutputsReturns

func (fake *IssueAction) NumOutputsReturns(result1 int)

func (*IssueAction) NumOutputsReturnsOnCall

func (fake *IssueAction) NumOutputsReturnsOnCall(i int, result1 int)

func (*IssueAction) Serialize

func (fake *IssueAction) Serialize() ([]byte, error)

func (*IssueAction) SerializeCallCount

func (fake *IssueAction) SerializeCallCount() int

func (*IssueAction) SerializeCalls

func (fake *IssueAction) SerializeCalls(stub func() ([]byte, error))

func (*IssueAction) SerializeReturns

func (fake *IssueAction) SerializeReturns(result1 []byte, result2 error)

func (*IssueAction) SerializeReturnsOnCall

func (fake *IssueAction) SerializeReturnsOnCall(i int, result1 []byte, result2 error)

func (*IssueAction) Validate

func (fake *IssueAction) Validate() error

func (*IssueAction) ValidateCallCount

func (fake *IssueAction) ValidateCallCount() int

func (*IssueAction) ValidateCalls

func (fake *IssueAction) ValidateCalls(stub func() error)

func (*IssueAction) ValidateReturns

func (fake *IssueAction) ValidateReturns(result1 error)

func (*IssueAction) ValidateReturnsOnCall

func (fake *IssueAction) ValidateReturnsOnCall(i int, result1 error)

type IssueService

type IssueService struct {
	DeserializeIssueActionStub func([]byte) (driver.IssueAction, error)

	IssueStub func(context.Context, driver.Identity, token.Type, []uint64, [][]byte, *driver.IssueOptions) (driver.IssueAction, *driver.IssueMetadata, error)

	VerifyIssueStub func(context.Context, driver.IssueAction, []*driver.IssueOutputMetadata) error
	// contains filtered or unexported fields
}

func (*IssueService) DeserializeIssueAction

func (fake *IssueService) DeserializeIssueAction(arg1 []byte) (driver.IssueAction, error)

func (*IssueService) DeserializeIssueActionArgsForCall

func (fake *IssueService) DeserializeIssueActionArgsForCall(i int) []byte

func (*IssueService) DeserializeIssueActionCallCount

func (fake *IssueService) DeserializeIssueActionCallCount() int

func (*IssueService) DeserializeIssueActionCalls

func (fake *IssueService) DeserializeIssueActionCalls(stub func([]byte) (driver.IssueAction, error))

func (*IssueService) DeserializeIssueActionReturns

func (fake *IssueService) DeserializeIssueActionReturns(result1 driver.IssueAction, result2 error)

func (*IssueService) DeserializeIssueActionReturnsOnCall

func (fake *IssueService) DeserializeIssueActionReturnsOnCall(i int, result1 driver.IssueAction, result2 error)

func (*IssueService) Invocations

func (fake *IssueService) Invocations() map[string][][]interface{}

func (*IssueService) Issue

func (fake *IssueService) Issue(arg1 context.Context, arg2 driver.Identity, arg3 token.Type, arg4 []uint64, arg5 [][]byte, arg6 *driver.IssueOptions) (driver.IssueAction, *driver.IssueMetadata, error)

func (*IssueService) IssueArgsForCall

func (fake *IssueService) IssueArgsForCall(i int) (context.Context, driver.Identity, token.Type, []uint64, [][]byte, *driver.IssueOptions)

func (*IssueService) IssueCallCount

func (fake *IssueService) IssueCallCount() int

func (*IssueService) IssueCalls

func (*IssueService) IssueReturns

func (fake *IssueService) IssueReturns(result1 driver.IssueAction, result2 *driver.IssueMetadata, result3 error)

func (*IssueService) IssueReturnsOnCall

func (fake *IssueService) IssueReturnsOnCall(i int, result1 driver.IssueAction, result2 *driver.IssueMetadata, result3 error)

func (*IssueService) VerifyIssue

func (fake *IssueService) VerifyIssue(arg1 context.Context, arg2 driver.IssueAction, arg3 []*driver.IssueOutputMetadata) error

func (*IssueService) VerifyIssueArgsForCall

func (fake *IssueService) VerifyIssueArgsForCall(i int) (context.Context, driver.IssueAction, []*driver.IssueOutputMetadata)

func (*IssueService) VerifyIssueCallCount

func (fake *IssueService) VerifyIssueCallCount() int

func (*IssueService) VerifyIssueCalls

func (fake *IssueService) VerifyIssueCalls(stub func(context.Context, driver.IssueAction, []*driver.IssueOutputMetadata) error)

func (*IssueService) VerifyIssueReturns

func (fake *IssueService) VerifyIssueReturns(result1 error)

func (*IssueService) VerifyIssueReturnsOnCall

func (fake *IssueService) VerifyIssueReturnsOnCall(i int, result1 error)

type IssuerWallet

type IssuerWallet struct {
	ContainsStub func(context.Context, driver.Identity) bool

	ContainsTokenStub func(context.Context, *token.UnspentToken) bool

	GetIssuerIdentityStub func(token.Type) (driver.Identity, error)

	GetSignerStub func(context.Context, driver.Identity) (driver.Signer, error)

	HistoryTokensStub func(context.Context, *driver.ListTokensOptions) (*token.IssuedTokens, error)

	IDStub func() string
	// contains filtered or unexported fields
}

func (*IssuerWallet) Contains

func (fake *IssuerWallet) Contains(arg1 context.Context, arg2 driver.Identity) bool

func (*IssuerWallet) ContainsArgsForCall

func (fake *IssuerWallet) ContainsArgsForCall(i int) (context.Context, driver.Identity)

func (*IssuerWallet) ContainsCallCount

func (fake *IssuerWallet) ContainsCallCount() int

func (*IssuerWallet) ContainsCalls

func (fake *IssuerWallet) ContainsCalls(stub func(context.Context, driver.Identity) bool)

func (*IssuerWallet) ContainsReturns

func (fake *IssuerWallet) ContainsReturns(result1 bool)

func (*IssuerWallet) ContainsReturnsOnCall

func (fake *IssuerWallet) ContainsReturnsOnCall(i int, result1 bool)

func (*IssuerWallet) ContainsToken

func (fake *IssuerWallet) ContainsToken(arg1 context.Context, arg2 *token.UnspentToken) bool

func (*IssuerWallet) ContainsTokenArgsForCall

func (fake *IssuerWallet) ContainsTokenArgsForCall(i int) (context.Context, *token.UnspentToken)

func (*IssuerWallet) ContainsTokenCallCount

func (fake *IssuerWallet) ContainsTokenCallCount() int

func (*IssuerWallet) ContainsTokenCalls

func (fake *IssuerWallet) ContainsTokenCalls(stub func(context.Context, *token.UnspentToken) bool)

func (*IssuerWallet) ContainsTokenReturns

func (fake *IssuerWallet) ContainsTokenReturns(result1 bool)

func (*IssuerWallet) ContainsTokenReturnsOnCall

func (fake *IssuerWallet) ContainsTokenReturnsOnCall(i int, result1 bool)

func (*IssuerWallet) GetIssuerIdentity

func (fake *IssuerWallet) GetIssuerIdentity(arg1 token.Type) (driver.Identity, error)

func (*IssuerWallet) GetIssuerIdentityArgsForCall

func (fake *IssuerWallet) GetIssuerIdentityArgsForCall(i int) token.Type

func (*IssuerWallet) GetIssuerIdentityCallCount

func (fake *IssuerWallet) GetIssuerIdentityCallCount() int

func (*IssuerWallet) GetIssuerIdentityCalls

func (fake *IssuerWallet) GetIssuerIdentityCalls(stub func(token.Type) (driver.Identity, error))

func (*IssuerWallet) GetIssuerIdentityReturns

func (fake *IssuerWallet) GetIssuerIdentityReturns(result1 driver.Identity, result2 error)

func (*IssuerWallet) GetIssuerIdentityReturnsOnCall

func (fake *IssuerWallet) GetIssuerIdentityReturnsOnCall(i int, result1 driver.Identity, result2 error)

func (*IssuerWallet) GetSigner

func (fake *IssuerWallet) GetSigner(arg1 context.Context, arg2 driver.Identity) (driver.Signer, error)

func (*IssuerWallet) GetSignerArgsForCall

func (fake *IssuerWallet) GetSignerArgsForCall(i int) (context.Context, driver.Identity)

func (*IssuerWallet) GetSignerCallCount

func (fake *IssuerWallet) GetSignerCallCount() int

func (*IssuerWallet) GetSignerCalls

func (fake *IssuerWallet) GetSignerCalls(stub func(context.Context, driver.Identity) (driver.Signer, error))

func (*IssuerWallet) GetSignerReturns

func (fake *IssuerWallet) GetSignerReturns(result1 driver.Signer, result2 error)

func (*IssuerWallet) GetSignerReturnsOnCall

func (fake *IssuerWallet) GetSignerReturnsOnCall(i int, result1 driver.Signer, result2 error)

func (*IssuerWallet) HistoryTokens

func (fake *IssuerWallet) HistoryTokens(arg1 context.Context, arg2 *driver.ListTokensOptions) (*token.IssuedTokens, error)

func (*IssuerWallet) HistoryTokensArgsForCall

func (fake *IssuerWallet) HistoryTokensArgsForCall(i int) (context.Context, *driver.ListTokensOptions)

func (*IssuerWallet) HistoryTokensCallCount

func (fake *IssuerWallet) HistoryTokensCallCount() int

func (*IssuerWallet) HistoryTokensCalls

func (fake *IssuerWallet) HistoryTokensCalls(stub func(context.Context, *driver.ListTokensOptions) (*token.IssuedTokens, error))

func (*IssuerWallet) HistoryTokensReturns

func (fake *IssuerWallet) HistoryTokensReturns(result1 *token.IssuedTokens, result2 error)

func (*IssuerWallet) HistoryTokensReturnsOnCall

func (fake *IssuerWallet) HistoryTokensReturnsOnCall(i int, result1 *token.IssuedTokens, result2 error)

func (*IssuerWallet) ID

func (fake *IssuerWallet) ID() string

func (*IssuerWallet) IDCallCount

func (fake *IssuerWallet) IDCallCount() int

func (*IssuerWallet) IDCalls

func (fake *IssuerWallet) IDCalls(stub func() string)

func (*IssuerWallet) IDReturns

func (fake *IssuerWallet) IDReturns(result1 string)

func (*IssuerWallet) IDReturnsOnCall

func (fake *IssuerWallet) IDReturnsOnCall(i int, result1 string)

func (*IssuerWallet) Invocations

func (fake *IssuerWallet) Invocations() map[string][][]interface{}

type Ledger

type Ledger struct {
	GetStateStub func(token.ID) ([]byte, error)
	// contains filtered or unexported fields
}

func (*Ledger) GetState

func (fake *Ledger) GetState(arg1 token.ID) ([]byte, error)

func (*Ledger) GetStateArgsForCall

func (fake *Ledger) GetStateArgsForCall(i int) token.ID

func (*Ledger) GetStateCallCount

func (fake *Ledger) GetStateCallCount() int

func (*Ledger) GetStateCalls

func (fake *Ledger) GetStateCalls(stub func(token.ID) ([]byte, error))

func (*Ledger) GetStateReturns

func (fake *Ledger) GetStateReturns(result1 []byte, result2 error)

func (*Ledger) GetStateReturnsOnCall

func (fake *Ledger) GetStateReturnsOnCall(i int, result1 []byte, result2 error)

func (*Ledger) Invocations

func (fake *Ledger) Invocations() map[string][][]interface{}

type LedgerToken

type LedgerToken struct {
	GetOwnerStub func() []byte
	// contains filtered or unexported fields
}

func (*LedgerToken) GetOwner

func (fake *LedgerToken) GetOwner() []byte

func (*LedgerToken) GetOwnerCallCount

func (fake *LedgerToken) GetOwnerCallCount() int

func (*LedgerToken) GetOwnerCalls

func (fake *LedgerToken) GetOwnerCalls(stub func() []byte)

func (*LedgerToken) GetOwnerReturns

func (fake *LedgerToken) GetOwnerReturns(result1 []byte)

func (*LedgerToken) GetOwnerReturnsOnCall

func (fake *LedgerToken) GetOwnerReturnsOnCall(i int, result1 []byte)

func (*LedgerToken) Invocations

func (fake *LedgerToken) Invocations() map[string][][]interface{}

type Matcher

type Matcher struct {
	MatchStub func(context.Context, []byte) error
	// contains filtered or unexported fields
}

func (*Matcher) Invocations

func (fake *Matcher) Invocations() map[string][][]interface{}

func (*Matcher) Match

func (fake *Matcher) Match(arg1 context.Context, arg2 []byte) error

func (*Matcher) MatchArgsForCall

func (fake *Matcher) MatchArgsForCall(i int) (context.Context, []byte)

func (*Matcher) MatchCallCount

func (fake *Matcher) MatchCallCount() int

func (*Matcher) MatchCalls

func (fake *Matcher) MatchCalls(stub func(context.Context, []byte) error)

func (*Matcher) MatchReturns

func (fake *Matcher) MatchReturns(result1 error)

func (*Matcher) MatchReturnsOnCall

func (fake *Matcher) MatchReturnsOnCall(i int, result1 error)

type MatcherDeserializer

type MatcherDeserializer struct {
	GetAuditInfoMatcherStub func(context.Context, driver.Identity, []byte) (driver.Matcher, error)
	// contains filtered or unexported fields
}

func (*MatcherDeserializer) GetAuditInfoMatcher

func (fake *MatcherDeserializer) GetAuditInfoMatcher(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (driver.Matcher, error)

func (*MatcherDeserializer) GetAuditInfoMatcherArgsForCall

func (fake *MatcherDeserializer) GetAuditInfoMatcherArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*MatcherDeserializer) GetAuditInfoMatcherCallCount

func (fake *MatcherDeserializer) GetAuditInfoMatcherCallCount() int

func (*MatcherDeserializer) GetAuditInfoMatcherCalls

func (fake *MatcherDeserializer) GetAuditInfoMatcherCalls(stub func(context.Context, driver.Identity, []byte) (driver.Matcher, error))

func (*MatcherDeserializer) GetAuditInfoMatcherReturns

func (fake *MatcherDeserializer) GetAuditInfoMatcherReturns(result1 driver.Matcher, result2 error)

func (*MatcherDeserializer) GetAuditInfoMatcherReturnsOnCall

func (fake *MatcherDeserializer) GetAuditInfoMatcherReturnsOnCall(i int, result1 driver.Matcher, result2 error)

func (*MatcherDeserializer) Invocations

func (fake *MatcherDeserializer) Invocations() map[string][][]interface{}

type MetadataDeserializer

type MetadataDeserializer[M any] struct {
	DeserializeMetadataStub func([]byte) (M, error)
	// contains filtered or unexported fields
}

func (*MetadataDeserializer[M]) DeserializeMetadata

func (fake *MetadataDeserializer[M]) DeserializeMetadata(arg1 []byte) (M, error)

func (*MetadataDeserializer[M]) DeserializeMetadataArgsForCall

func (fake *MetadataDeserializer[M]) DeserializeMetadataArgsForCall(i int) []byte

func (*MetadataDeserializer[M]) DeserializeMetadataCallCount

func (fake *MetadataDeserializer[M]) DeserializeMetadataCallCount() int

func (*MetadataDeserializer[M]) DeserializeMetadataCalls

func (fake *MetadataDeserializer[M]) DeserializeMetadataCalls(stub func([]byte) (M, error))

func (*MetadataDeserializer[M]) DeserializeMetadataReturns

func (fake *MetadataDeserializer[M]) DeserializeMetadataReturns(result1 M, result2 error)

func (*MetadataDeserializer[M]) DeserializeMetadataReturnsOnCall

func (fake *MetadataDeserializer[M]) DeserializeMetadataReturnsOnCall(i int, result1 M, result2 error)

func (*MetadataDeserializer[M]) Invocations

func (fake *MetadataDeserializer[M]) Invocations() map[string][][]interface{}

type OwnerWallet

type OwnerWallet struct {
	BalanceStub func(context.Context, *driver.ListTokensOptions) (*big.Int, error)

	ContainsStub func(context.Context, driver.Identity) bool

	ContainsTokenStub func(context.Context, *token.UnspentToken) bool

	EnrollmentIDStub func() string

	GetAuditInfoStub func(context.Context, driver.Identity) ([]byte, error)

	GetRecipientDataStub func(context.Context) (*driver.RecipientData, error)

	GetRecipientIdentityStub func(context.Context) (driver.Identity, error)

	GetSignerStub func(context.Context, driver.Identity) (driver.Signer, error)

	GetTokenMetadataStub func(driver.Identity) ([]byte, error)

	GetTokenMetadataAuditInfoStub func(driver.Identity) ([]byte, error)

	IDStub func() string

	ListTokensStub func(context.Context, *driver.ListTokensOptions) (*token.UnspentTokens, error)

	ListTokensIteratorStub func(context.Context, *driver.ListTokensOptions) (driver.UnspentTokensIterator, error)

	RegisterRecipientStub func(context.Context, *driver.RecipientData) error

	RemoteStub func() bool
	// contains filtered or unexported fields
}

func (*OwnerWallet) Balance

func (fake *OwnerWallet) Balance(arg1 context.Context, arg2 *driver.ListTokensOptions) (*big.Int, error)

func (*OwnerWallet) BalanceArgsForCall

func (fake *OwnerWallet) BalanceArgsForCall(i int) (context.Context, *driver.ListTokensOptions)

func (*OwnerWallet) BalanceCallCount

func (fake *OwnerWallet) BalanceCallCount() int

func (*OwnerWallet) BalanceCalls

func (fake *OwnerWallet) BalanceCalls(stub func(context.Context, *driver.ListTokensOptions) (*big.Int, error))

func (*OwnerWallet) BalanceReturns

func (fake *OwnerWallet) BalanceReturns(result1 *big.Int, result2 error)

func (*OwnerWallet) BalanceReturnsOnCall

func (fake *OwnerWallet) BalanceReturnsOnCall(i int, result1 *big.Int, result2 error)

func (*OwnerWallet) Contains

func (fake *OwnerWallet) Contains(arg1 context.Context, arg2 driver.Identity) bool

func (*OwnerWallet) ContainsArgsForCall

func (fake *OwnerWallet) ContainsArgsForCall(i int) (context.Context, driver.Identity)

func (*OwnerWallet) ContainsCallCount

func (fake *OwnerWallet) ContainsCallCount() int

func (*OwnerWallet) ContainsCalls

func (fake *OwnerWallet) ContainsCalls(stub func(context.Context, driver.Identity) bool)

func (*OwnerWallet) ContainsReturns

func (fake *OwnerWallet) ContainsReturns(result1 bool)

func (*OwnerWallet) ContainsReturnsOnCall

func (fake *OwnerWallet) ContainsReturnsOnCall(i int, result1 bool)

func (*OwnerWallet) ContainsToken

func (fake *OwnerWallet) ContainsToken(arg1 context.Context, arg2 *token.UnspentToken) bool

func (*OwnerWallet) ContainsTokenArgsForCall

func (fake *OwnerWallet) ContainsTokenArgsForCall(i int) (context.Context, *token.UnspentToken)

func (*OwnerWallet) ContainsTokenCallCount

func (fake *OwnerWallet) ContainsTokenCallCount() int

func (*OwnerWallet) ContainsTokenCalls

func (fake *OwnerWallet) ContainsTokenCalls(stub func(context.Context, *token.UnspentToken) bool)

func (*OwnerWallet) ContainsTokenReturns

func (fake *OwnerWallet) ContainsTokenReturns(result1 bool)

func (*OwnerWallet) ContainsTokenReturnsOnCall

func (fake *OwnerWallet) ContainsTokenReturnsOnCall(i int, result1 bool)

func (*OwnerWallet) EnrollmentID

func (fake *OwnerWallet) EnrollmentID() string

func (*OwnerWallet) EnrollmentIDCallCount

func (fake *OwnerWallet) EnrollmentIDCallCount() int

func (*OwnerWallet) EnrollmentIDCalls

func (fake *OwnerWallet) EnrollmentIDCalls(stub func() string)

func (*OwnerWallet) EnrollmentIDReturns

func (fake *OwnerWallet) EnrollmentIDReturns(result1 string)

func (*OwnerWallet) EnrollmentIDReturnsOnCall

func (fake *OwnerWallet) EnrollmentIDReturnsOnCall(i int, result1 string)

func (*OwnerWallet) GetAuditInfo

func (fake *OwnerWallet) GetAuditInfo(arg1 context.Context, arg2 driver.Identity) ([]byte, error)

func (*OwnerWallet) GetAuditInfoArgsForCall

func (fake *OwnerWallet) GetAuditInfoArgsForCall(i int) (context.Context, driver.Identity)

func (*OwnerWallet) GetAuditInfoCallCount

func (fake *OwnerWallet) GetAuditInfoCallCount() int

func (*OwnerWallet) GetAuditInfoCalls

func (fake *OwnerWallet) GetAuditInfoCalls(stub func(context.Context, driver.Identity) ([]byte, error))

func (*OwnerWallet) GetAuditInfoReturns

func (fake *OwnerWallet) GetAuditInfoReturns(result1 []byte, result2 error)

func (*OwnerWallet) GetAuditInfoReturnsOnCall

func (fake *OwnerWallet) GetAuditInfoReturnsOnCall(i int, result1 []byte, result2 error)

func (*OwnerWallet) GetRecipientData

func (fake *OwnerWallet) GetRecipientData(arg1 context.Context) (*driver.RecipientData, error)

func (*OwnerWallet) GetRecipientDataArgsForCall

func (fake *OwnerWallet) GetRecipientDataArgsForCall(i int) context.Context

func (*OwnerWallet) GetRecipientDataCallCount

func (fake *OwnerWallet) GetRecipientDataCallCount() int

func (*OwnerWallet) GetRecipientDataCalls

func (fake *OwnerWallet) GetRecipientDataCalls(stub func(context.Context) (*driver.RecipientData, error))

func (*OwnerWallet) GetRecipientDataReturns

func (fake *OwnerWallet) GetRecipientDataReturns(result1 *driver.RecipientData, result2 error)

func (*OwnerWallet) GetRecipientDataReturnsOnCall

func (fake *OwnerWallet) GetRecipientDataReturnsOnCall(i int, result1 *driver.RecipientData, result2 error)

func (*OwnerWallet) GetRecipientIdentity

func (fake *OwnerWallet) GetRecipientIdentity(arg1 context.Context) (driver.Identity, error)

func (*OwnerWallet) GetRecipientIdentityArgsForCall

func (fake *OwnerWallet) GetRecipientIdentityArgsForCall(i int) context.Context

func (*OwnerWallet) GetRecipientIdentityCallCount

func (fake *OwnerWallet) GetRecipientIdentityCallCount() int

func (*OwnerWallet) GetRecipientIdentityCalls

func (fake *OwnerWallet) GetRecipientIdentityCalls(stub func(context.Context) (driver.Identity, error))

func (*OwnerWallet) GetRecipientIdentityReturns

func (fake *OwnerWallet) GetRecipientIdentityReturns(result1 driver.Identity, result2 error)

func (*OwnerWallet) GetRecipientIdentityReturnsOnCall

func (fake *OwnerWallet) GetRecipientIdentityReturnsOnCall(i int, result1 driver.Identity, result2 error)

func (*OwnerWallet) GetSigner

func (fake *OwnerWallet) GetSigner(arg1 context.Context, arg2 driver.Identity) (driver.Signer, error)

func (*OwnerWallet) GetSignerArgsForCall

func (fake *OwnerWallet) GetSignerArgsForCall(i int) (context.Context, driver.Identity)

func (*OwnerWallet) GetSignerCallCount

func (fake *OwnerWallet) GetSignerCallCount() int

func (*OwnerWallet) GetSignerCalls

func (fake *OwnerWallet) GetSignerCalls(stub func(context.Context, driver.Identity) (driver.Signer, error))

func (*OwnerWallet) GetSignerReturns

func (fake *OwnerWallet) GetSignerReturns(result1 driver.Signer, result2 error)

func (*OwnerWallet) GetSignerReturnsOnCall

func (fake *OwnerWallet) GetSignerReturnsOnCall(i int, result1 driver.Signer, result2 error)

func (*OwnerWallet) GetTokenMetadata

func (fake *OwnerWallet) GetTokenMetadata(arg1 driver.Identity) ([]byte, error)

func (*OwnerWallet) GetTokenMetadataArgsForCall

func (fake *OwnerWallet) GetTokenMetadataArgsForCall(i int) driver.Identity

func (*OwnerWallet) GetTokenMetadataAuditInfo

func (fake *OwnerWallet) GetTokenMetadataAuditInfo(arg1 driver.Identity) ([]byte, error)

func (*OwnerWallet) GetTokenMetadataAuditInfoArgsForCall

func (fake *OwnerWallet) GetTokenMetadataAuditInfoArgsForCall(i int) driver.Identity

func (*OwnerWallet) GetTokenMetadataAuditInfoCallCount

func (fake *OwnerWallet) GetTokenMetadataAuditInfoCallCount() int

func (*OwnerWallet) GetTokenMetadataAuditInfoCalls

func (fake *OwnerWallet) GetTokenMetadataAuditInfoCalls(stub func(driver.Identity) ([]byte, error))

func (*OwnerWallet) GetTokenMetadataAuditInfoReturns

func (fake *OwnerWallet) GetTokenMetadataAuditInfoReturns(result1 []byte, result2 error)

func (*OwnerWallet) GetTokenMetadataAuditInfoReturnsOnCall

func (fake *OwnerWallet) GetTokenMetadataAuditInfoReturnsOnCall(i int, result1 []byte, result2 error)

func (*OwnerWallet) GetTokenMetadataCallCount

func (fake *OwnerWallet) GetTokenMetadataCallCount() int

func (*OwnerWallet) GetTokenMetadataCalls

func (fake *OwnerWallet) GetTokenMetadataCalls(stub func(driver.Identity) ([]byte, error))

func (*OwnerWallet) GetTokenMetadataReturns

func (fake *OwnerWallet) GetTokenMetadataReturns(result1 []byte, result2 error)

func (*OwnerWallet) GetTokenMetadataReturnsOnCall

func (fake *OwnerWallet) GetTokenMetadataReturnsOnCall(i int, result1 []byte, result2 error)

func (*OwnerWallet) ID

func (fake *OwnerWallet) ID() string

func (*OwnerWallet) IDCallCount

func (fake *OwnerWallet) IDCallCount() int

func (*OwnerWallet) IDCalls

func (fake *OwnerWallet) IDCalls(stub func() string)

func (*OwnerWallet) IDReturns

func (fake *OwnerWallet) IDReturns(result1 string)

func (*OwnerWallet) IDReturnsOnCall

func (fake *OwnerWallet) IDReturnsOnCall(i int, result1 string)

func (*OwnerWallet) Invocations

func (fake *OwnerWallet) Invocations() map[string][][]interface{}

func (*OwnerWallet) ListTokens

func (fake *OwnerWallet) ListTokens(arg1 context.Context, arg2 *driver.ListTokensOptions) (*token.UnspentTokens, error)

func (*OwnerWallet) ListTokensArgsForCall

func (fake *OwnerWallet) ListTokensArgsForCall(i int) (context.Context, *driver.ListTokensOptions)

func (*OwnerWallet) ListTokensCallCount

func (fake *OwnerWallet) ListTokensCallCount() int

func (*OwnerWallet) ListTokensCalls

func (fake *OwnerWallet) ListTokensCalls(stub func(context.Context, *driver.ListTokensOptions) (*token.UnspentTokens, error))

func (*OwnerWallet) ListTokensIterator

func (fake *OwnerWallet) ListTokensIterator(arg1 context.Context, arg2 *driver.ListTokensOptions) (driver.UnspentTokensIterator, error)

func (*OwnerWallet) ListTokensIteratorArgsForCall

func (fake *OwnerWallet) ListTokensIteratorArgsForCall(i int) (context.Context, *driver.ListTokensOptions)

func (*OwnerWallet) ListTokensIteratorCallCount

func (fake *OwnerWallet) ListTokensIteratorCallCount() int

func (*OwnerWallet) ListTokensIteratorCalls

func (fake *OwnerWallet) ListTokensIteratorCalls(stub func(context.Context, *driver.ListTokensOptions) (driver.UnspentTokensIterator, error))

func (*OwnerWallet) ListTokensIteratorReturns

func (fake *OwnerWallet) ListTokensIteratorReturns(result1 driver.UnspentTokensIterator, result2 error)

func (*OwnerWallet) ListTokensIteratorReturnsOnCall

func (fake *OwnerWallet) ListTokensIteratorReturnsOnCall(i int, result1 driver.UnspentTokensIterator, result2 error)

func (*OwnerWallet) ListTokensReturns

func (fake *OwnerWallet) ListTokensReturns(result1 *token.UnspentTokens, result2 error)

func (*OwnerWallet) ListTokensReturnsOnCall

func (fake *OwnerWallet) ListTokensReturnsOnCall(i int, result1 *token.UnspentTokens, result2 error)

func (*OwnerWallet) RegisterRecipient

func (fake *OwnerWallet) RegisterRecipient(arg1 context.Context, arg2 *driver.RecipientData) error

func (*OwnerWallet) RegisterRecipientArgsForCall

func (fake *OwnerWallet) RegisterRecipientArgsForCall(i int) (context.Context, *driver.RecipientData)

func (*OwnerWallet) RegisterRecipientCallCount

func (fake *OwnerWallet) RegisterRecipientCallCount() int

func (*OwnerWallet) RegisterRecipientCalls

func (fake *OwnerWallet) RegisterRecipientCalls(stub func(context.Context, *driver.RecipientData) error)

func (*OwnerWallet) RegisterRecipientReturns

func (fake *OwnerWallet) RegisterRecipientReturns(result1 error)

func (*OwnerWallet) RegisterRecipientReturnsOnCall

func (fake *OwnerWallet) RegisterRecipientReturnsOnCall(i int, result1 error)

func (*OwnerWallet) Remote

func (fake *OwnerWallet) Remote() bool

func (*OwnerWallet) RemoteCallCount

func (fake *OwnerWallet) RemoteCallCount() int

func (*OwnerWallet) RemoteCalls

func (fake *OwnerWallet) RemoteCalls(stub func() bool)

func (*OwnerWallet) RemoteReturns

func (fake *OwnerWallet) RemoteReturns(result1 bool)

func (*OwnerWallet) RemoteReturnsOnCall

func (fake *OwnerWallet) RemoteReturnsOnCall(i int, result1 bool)

type PPMFactory

type PPMFactory struct {
	NewPublicParametersManagerStub func(driver.PublicParameters) (driver.PublicParamsManager, error)

	PublicParametersFromBytesStub func([]byte) (driver.PublicParameters, error)
	// contains filtered or unexported fields
}

func (*PPMFactory) Invocations

func (fake *PPMFactory) Invocations() map[string][][]interface{}

func (*PPMFactory) NewPublicParametersManager

func (fake *PPMFactory) NewPublicParametersManager(arg1 driver.PublicParameters) (driver.PublicParamsManager, error)

func (*PPMFactory) NewPublicParametersManagerArgsForCall

func (fake *PPMFactory) NewPublicParametersManagerArgsForCall(i int) driver.PublicParameters

func (*PPMFactory) NewPublicParametersManagerCallCount

func (fake *PPMFactory) NewPublicParametersManagerCallCount() int

func (*PPMFactory) NewPublicParametersManagerCalls

func (fake *PPMFactory) NewPublicParametersManagerCalls(stub func(driver.PublicParameters) (driver.PublicParamsManager, error))

func (*PPMFactory) NewPublicParametersManagerReturns

func (fake *PPMFactory) NewPublicParametersManagerReturns(result1 driver.PublicParamsManager, result2 error)

func (*PPMFactory) NewPublicParametersManagerReturnsOnCall

func (fake *PPMFactory) NewPublicParametersManagerReturnsOnCall(i int, result1 driver.PublicParamsManager, result2 error)

func (*PPMFactory) PublicParametersFromBytes

func (fake *PPMFactory) PublicParametersFromBytes(arg1 []byte) (driver.PublicParameters, error)

func (*PPMFactory) PublicParametersFromBytesArgsForCall

func (fake *PPMFactory) PublicParametersFromBytesArgsForCall(i int) []byte

func (*PPMFactory) PublicParametersFromBytesCallCount

func (fake *PPMFactory) PublicParametersFromBytesCallCount() int

func (*PPMFactory) PublicParametersFromBytesCalls

func (fake *PPMFactory) PublicParametersFromBytesCalls(stub func([]byte) (driver.PublicParameters, error))

func (*PPMFactory) PublicParametersFromBytesReturns

func (fake *PPMFactory) PublicParametersFromBytesReturns(result1 driver.PublicParameters, result2 error)

func (*PPMFactory) PublicParametersFromBytesReturnsOnCall

func (fake *PPMFactory) PublicParametersFromBytesReturnsOnCall(i int, result1 driver.PublicParameters, result2 error)

type PublicParameters

type PublicParameters struct {
	AuditorsStub func() []driver.Identity

	CertificationDriverStub func() string

	ExtrasStub func() driver.Extras

	GraphHidingStub func() bool

	IssuersStub func() []driver.Identity

	MaxTokenValueStub func() uint64

	PrecisionStub func() uint64

	SerializeStub func() ([]byte, error)

	StringStub func() string

	TokenDataHidingStub func() bool

	TokenDriverNameStub func() driver.TokenDriverName

	TokenDriverVersionStub func() driver.TokenDriverVersion

	ValidateStub func() error
	// contains filtered or unexported fields
}

func (*PublicParameters) Auditors

func (fake *PublicParameters) Auditors() []driver.Identity

func (*PublicParameters) AuditorsCallCount

func (fake *PublicParameters) AuditorsCallCount() int

func (*PublicParameters) AuditorsCalls

func (fake *PublicParameters) AuditorsCalls(stub func() []driver.Identity)

func (*PublicParameters) AuditorsReturns

func (fake *PublicParameters) AuditorsReturns(result1 []driver.Identity)

func (*PublicParameters) AuditorsReturnsOnCall

func (fake *PublicParameters) AuditorsReturnsOnCall(i int, result1 []driver.Identity)

func (*PublicParameters) CertificationDriver

func (fake *PublicParameters) CertificationDriver() string

func (*PublicParameters) CertificationDriverCallCount

func (fake *PublicParameters) CertificationDriverCallCount() int

func (*PublicParameters) CertificationDriverCalls

func (fake *PublicParameters) CertificationDriverCalls(stub func() string)

func (*PublicParameters) CertificationDriverReturns

func (fake *PublicParameters) CertificationDriverReturns(result1 string)

func (*PublicParameters) CertificationDriverReturnsOnCall

func (fake *PublicParameters) CertificationDriverReturnsOnCall(i int, result1 string)

func (*PublicParameters) Extras

func (fake *PublicParameters) Extras() driver.Extras

func (*PublicParameters) ExtrasCallCount

func (fake *PublicParameters) ExtrasCallCount() int

func (*PublicParameters) ExtrasCalls

func (fake *PublicParameters) ExtrasCalls(stub func() driver.Extras)

func (*PublicParameters) ExtrasReturns

func (fake *PublicParameters) ExtrasReturns(result1 driver.Extras)

func (*PublicParameters) ExtrasReturnsOnCall

func (fake *PublicParameters) ExtrasReturnsOnCall(i int, result1 driver.Extras)

func (*PublicParameters) GraphHiding

func (fake *PublicParameters) GraphHiding() bool

func (*PublicParameters) GraphHidingCallCount

func (fake *PublicParameters) GraphHidingCallCount() int

func (*PublicParameters) GraphHidingCalls

func (fake *PublicParameters) GraphHidingCalls(stub func() bool)

func (*PublicParameters) GraphHidingReturns

func (fake *PublicParameters) GraphHidingReturns(result1 bool)

func (*PublicParameters) GraphHidingReturnsOnCall

func (fake *PublicParameters) GraphHidingReturnsOnCall(i int, result1 bool)

func (*PublicParameters) Invocations

func (fake *PublicParameters) Invocations() map[string][][]interface{}

func (*PublicParameters) Issuers

func (fake *PublicParameters) Issuers() []driver.Identity

func (*PublicParameters) IssuersCallCount

func (fake *PublicParameters) IssuersCallCount() int

func (*PublicParameters) IssuersCalls

func (fake *PublicParameters) IssuersCalls(stub func() []driver.Identity)

func (*PublicParameters) IssuersReturns

func (fake *PublicParameters) IssuersReturns(result1 []driver.Identity)

func (*PublicParameters) IssuersReturnsOnCall

func (fake *PublicParameters) IssuersReturnsOnCall(i int, result1 []driver.Identity)

func (*PublicParameters) MaxTokenValue

func (fake *PublicParameters) MaxTokenValue() uint64

func (*PublicParameters) MaxTokenValueCallCount

func (fake *PublicParameters) MaxTokenValueCallCount() int

func (*PublicParameters) MaxTokenValueCalls

func (fake *PublicParameters) MaxTokenValueCalls(stub func() uint64)

func (*PublicParameters) MaxTokenValueReturns

func (fake *PublicParameters) MaxTokenValueReturns(result1 uint64)

func (*PublicParameters) MaxTokenValueReturnsOnCall

func (fake *PublicParameters) MaxTokenValueReturnsOnCall(i int, result1 uint64)

func (*PublicParameters) Precision

func (fake *PublicParameters) Precision() uint64

func (*PublicParameters) PrecisionCallCount

func (fake *PublicParameters) PrecisionCallCount() int

func (*PublicParameters) PrecisionCalls

func (fake *PublicParameters) PrecisionCalls(stub func() uint64)

func (*PublicParameters) PrecisionReturns

func (fake *PublicParameters) PrecisionReturns(result1 uint64)

func (*PublicParameters) PrecisionReturnsOnCall

func (fake *PublicParameters) PrecisionReturnsOnCall(i int, result1 uint64)

func (*PublicParameters) Serialize

func (fake *PublicParameters) Serialize() ([]byte, error)

func (*PublicParameters) SerializeCallCount

func (fake *PublicParameters) SerializeCallCount() int

func (*PublicParameters) SerializeCalls

func (fake *PublicParameters) SerializeCalls(stub func() ([]byte, error))

func (*PublicParameters) SerializeReturns

func (fake *PublicParameters) SerializeReturns(result1 []byte, result2 error)

func (*PublicParameters) SerializeReturnsOnCall

func (fake *PublicParameters) SerializeReturnsOnCall(i int, result1 []byte, result2 error)

func (*PublicParameters) String

func (fake *PublicParameters) String() string

func (*PublicParameters) StringCallCount

func (fake *PublicParameters) StringCallCount() int

func (*PublicParameters) StringCalls

func (fake *PublicParameters) StringCalls(stub func() string)

func (*PublicParameters) StringReturns

func (fake *PublicParameters) StringReturns(result1 string)

func (*PublicParameters) StringReturnsOnCall

func (fake *PublicParameters) StringReturnsOnCall(i int, result1 string)

func (*PublicParameters) TokenDataHiding

func (fake *PublicParameters) TokenDataHiding() bool

func (*PublicParameters) TokenDataHidingCallCount

func (fake *PublicParameters) TokenDataHidingCallCount() int

func (*PublicParameters) TokenDataHidingCalls

func (fake *PublicParameters) TokenDataHidingCalls(stub func() bool)

func (*PublicParameters) TokenDataHidingReturns

func (fake *PublicParameters) TokenDataHidingReturns(result1 bool)

func (*PublicParameters) TokenDataHidingReturnsOnCall

func (fake *PublicParameters) TokenDataHidingReturnsOnCall(i int, result1 bool)

func (*PublicParameters) TokenDriverName

func (fake *PublicParameters) TokenDriverName() driver.TokenDriverName

func (*PublicParameters) TokenDriverNameCallCount

func (fake *PublicParameters) TokenDriverNameCallCount() int

func (*PublicParameters) TokenDriverNameCalls

func (fake *PublicParameters) TokenDriverNameCalls(stub func() driver.TokenDriverName)

func (*PublicParameters) TokenDriverNameReturns

func (fake *PublicParameters) TokenDriverNameReturns(result1 driver.TokenDriverName)

func (*PublicParameters) TokenDriverNameReturnsOnCall

func (fake *PublicParameters) TokenDriverNameReturnsOnCall(i int, result1 driver.TokenDriverName)

func (*PublicParameters) TokenDriverVersion

func (fake *PublicParameters) TokenDriverVersion() driver.TokenDriverVersion

func (*PublicParameters) TokenDriverVersionCallCount

func (fake *PublicParameters) TokenDriverVersionCallCount() int

func (*PublicParameters) TokenDriverVersionCalls

func (fake *PublicParameters) TokenDriverVersionCalls(stub func() driver.TokenDriverVersion)

func (*PublicParameters) TokenDriverVersionReturns

func (fake *PublicParameters) TokenDriverVersionReturns(result1 driver.TokenDriverVersion)

func (*PublicParameters) TokenDriverVersionReturnsOnCall

func (fake *PublicParameters) TokenDriverVersionReturnsOnCall(i int, result1 driver.TokenDriverVersion)

func (*PublicParameters) Validate

func (fake *PublicParameters) Validate() error

func (*PublicParameters) ValidateCallCount

func (fake *PublicParameters) ValidateCallCount() int

func (*PublicParameters) ValidateCalls

func (fake *PublicParameters) ValidateCalls(stub func() error)

func (*PublicParameters) ValidateReturns

func (fake *PublicParameters) ValidateReturns(result1 error)

func (*PublicParameters) ValidateReturnsOnCall

func (fake *PublicParameters) ValidateReturnsOnCall(i int, result1 error)

type PublicParamsFetcher

type PublicParamsFetcher struct {
	FetchStub func() ([]byte, error)
	// contains filtered or unexported fields
}

func (*PublicParamsFetcher) Fetch

func (fake *PublicParamsFetcher) Fetch() ([]byte, error)

func (*PublicParamsFetcher) FetchCallCount

func (fake *PublicParamsFetcher) FetchCallCount() int

func (*PublicParamsFetcher) FetchCalls

func (fake *PublicParamsFetcher) FetchCalls(stub func() ([]byte, error))

func (*PublicParamsFetcher) FetchReturns

func (fake *PublicParamsFetcher) FetchReturns(result1 []byte, result2 error)

func (*PublicParamsFetcher) FetchReturnsOnCall

func (fake *PublicParamsFetcher) FetchReturnsOnCall(i int, result1 []byte, result2 error)

func (*PublicParamsFetcher) Invocations

func (fake *PublicParamsFetcher) Invocations() map[string][][]interface{}

type PublicParamsManager

type PublicParamsManager struct {
	NewCertifierKeyPairStub func() ([]byte, []byte, error)

	PublicParametersStub func() driver.PublicParameters

	PublicParamsHashStub func() driver.PPHash
	// contains filtered or unexported fields
}

func (*PublicParamsManager) Invocations

func (fake *PublicParamsManager) Invocations() map[string][][]interface{}

func (*PublicParamsManager) NewCertifierKeyPair

func (fake *PublicParamsManager) NewCertifierKeyPair() ([]byte, []byte, error)

func (*PublicParamsManager) NewCertifierKeyPairCallCount

func (fake *PublicParamsManager) NewCertifierKeyPairCallCount() int

func (*PublicParamsManager) NewCertifierKeyPairCalls

func (fake *PublicParamsManager) NewCertifierKeyPairCalls(stub func() ([]byte, []byte, error))

func (*PublicParamsManager) NewCertifierKeyPairReturns

func (fake *PublicParamsManager) NewCertifierKeyPairReturns(result1 []byte, result2 []byte, result3 error)

func (*PublicParamsManager) NewCertifierKeyPairReturnsOnCall

func (fake *PublicParamsManager) NewCertifierKeyPairReturnsOnCall(i int, result1 []byte, result2 []byte, result3 error)

func (*PublicParamsManager) PublicParameters

func (fake *PublicParamsManager) PublicParameters() driver.PublicParameters

func (*PublicParamsManager) PublicParametersCallCount

func (fake *PublicParamsManager) PublicParametersCallCount() int

func (*PublicParamsManager) PublicParametersCalls

func (fake *PublicParamsManager) PublicParametersCalls(stub func() driver.PublicParameters)

func (*PublicParamsManager) PublicParametersReturns

func (fake *PublicParamsManager) PublicParametersReturns(result1 driver.PublicParameters)

func (*PublicParamsManager) PublicParametersReturnsOnCall

func (fake *PublicParamsManager) PublicParametersReturnsOnCall(i int, result1 driver.PublicParameters)

func (*PublicParamsManager) PublicParamsHash

func (fake *PublicParamsManager) PublicParamsHash() driver.PPHash

func (*PublicParamsManager) PublicParamsHashCallCount

func (fake *PublicParamsManager) PublicParamsHashCallCount() int

func (*PublicParamsManager) PublicParamsHashCalls

func (fake *PublicParamsManager) PublicParamsHashCalls(stub func() driver.PPHash)

func (*PublicParamsManager) PublicParamsHashReturns

func (fake *PublicParamsManager) PublicParamsHashReturns(result1 driver.PPHash)

func (*PublicParamsManager) PublicParamsHashReturnsOnCall

func (fake *PublicParamsManager) PublicParamsHashReturnsOnCall(i int, result1 driver.PPHash)

type QueryEngine

type QueryEngine struct {
	BalanceStub func(context.Context, string, token.Type) (*big.Int, error)

	GetStatusStub func(context.Context, string) (driver.TxStatus, string, error)

	GetTokenMetadataStub func(context.Context, []*token.ID) ([][]byte, error)

	GetTokenOutputsStub func(context.Context, []*token.ID, driver.QueryCallbackFunc) error

	GetTokenOutputsAndMetaStub func(context.Context, []*token.ID) ([][]byte, [][]byte, []token.Format, error)

	GetTokensStub func(context.Context, ...*token.ID) ([]*token.Token, error)

	IsMineStub func(context.Context, *token.ID) (bool, error)

	IsPendingStub func(context.Context, *token.ID) (bool, error)

	ListAuditTokensStub func(context.Context, ...*token.ID) ([]*token.Token, error)

	ListHistoryIssuedTokensStub func(context.Context) (*token.IssuedTokens, error)

	ListUnspentTokensStub func(context.Context) (*token.UnspentTokens, error)

	PublicParamsStub func(context.Context) ([]byte, error)

	UnspentLedgerTokensIteratorByStub func(context.Context) (driver.LedgerTokensIterator, error)

	UnspentTokensIteratorStub func(context.Context) (driver.UnspentTokensIterator, error)

	UnspentTokensIteratorByStub func(context.Context, string, token.Type) (driver.UnspentTokensIterator, error)

	WhoDeletedTokensStub func(context.Context, ...*token.ID) ([]string, []bool, error)
	// contains filtered or unexported fields
}

func (*QueryEngine) Balance

func (fake *QueryEngine) Balance(arg1 context.Context, arg2 string, arg3 token.Type) (*big.Int, error)

func (*QueryEngine) BalanceArgsForCall

func (fake *QueryEngine) BalanceArgsForCall(i int) (context.Context, string, token.Type)

func (*QueryEngine) BalanceCallCount

func (fake *QueryEngine) BalanceCallCount() int

func (*QueryEngine) BalanceCalls

func (fake *QueryEngine) BalanceCalls(stub func(context.Context, string, token.Type) (*big.Int, error))

func (*QueryEngine) BalanceReturns

func (fake *QueryEngine) BalanceReturns(result1 *big.Int, result2 error)

func (*QueryEngine) BalanceReturnsOnCall

func (fake *QueryEngine) BalanceReturnsOnCall(i int, result1 *big.Int, result2 error)

func (*QueryEngine) GetStatus

func (fake *QueryEngine) GetStatus(arg1 context.Context, arg2 string) (driver.TxStatus, string, error)

func (*QueryEngine) GetStatusArgsForCall

func (fake *QueryEngine) GetStatusArgsForCall(i int) (context.Context, string)

func (*QueryEngine) GetStatusCallCount

func (fake *QueryEngine) GetStatusCallCount() int

func (*QueryEngine) GetStatusCalls

func (fake *QueryEngine) GetStatusCalls(stub func(context.Context, string) (driver.TxStatus, string, error))

func (*QueryEngine) GetStatusReturns

func (fake *QueryEngine) GetStatusReturns(result1 driver.TxStatus, result2 string, result3 error)

func (*QueryEngine) GetStatusReturnsOnCall

func (fake *QueryEngine) GetStatusReturnsOnCall(i int, result1 driver.TxStatus, result2 string, result3 error)

func (*QueryEngine) GetTokenMetadata

func (fake *QueryEngine) GetTokenMetadata(arg1 context.Context, arg2 []*token.ID) ([][]byte, error)

func (*QueryEngine) GetTokenMetadataArgsForCall

func (fake *QueryEngine) GetTokenMetadataArgsForCall(i int) (context.Context, []*token.ID)

func (*QueryEngine) GetTokenMetadataCallCount

func (fake *QueryEngine) GetTokenMetadataCallCount() int

func (*QueryEngine) GetTokenMetadataCalls

func (fake *QueryEngine) GetTokenMetadataCalls(stub func(context.Context, []*token.ID) ([][]byte, error))

func (*QueryEngine) GetTokenMetadataReturns

func (fake *QueryEngine) GetTokenMetadataReturns(result1 [][]byte, result2 error)

func (*QueryEngine) GetTokenMetadataReturnsOnCall

func (fake *QueryEngine) GetTokenMetadataReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*QueryEngine) GetTokenOutputs

func (fake *QueryEngine) GetTokenOutputs(arg1 context.Context, arg2 []*token.ID, arg3 driver.QueryCallbackFunc) error

func (*QueryEngine) GetTokenOutputsAndMeta

func (fake *QueryEngine) GetTokenOutputsAndMeta(arg1 context.Context, arg2 []*token.ID) ([][]byte, [][]byte, []token.Format, error)

func (*QueryEngine) GetTokenOutputsAndMetaArgsForCall

func (fake *QueryEngine) GetTokenOutputsAndMetaArgsForCall(i int) (context.Context, []*token.ID)

func (*QueryEngine) GetTokenOutputsAndMetaCallCount

func (fake *QueryEngine) GetTokenOutputsAndMetaCallCount() int

func (*QueryEngine) GetTokenOutputsAndMetaCalls

func (fake *QueryEngine) GetTokenOutputsAndMetaCalls(stub func(context.Context, []*token.ID) ([][]byte, [][]byte, []token.Format, error))

func (*QueryEngine) GetTokenOutputsAndMetaReturns

func (fake *QueryEngine) GetTokenOutputsAndMetaReturns(result1 [][]byte, result2 [][]byte, result3 []token.Format, result4 error)

func (*QueryEngine) GetTokenOutputsAndMetaReturnsOnCall

func (fake *QueryEngine) GetTokenOutputsAndMetaReturnsOnCall(i int, result1 [][]byte, result2 [][]byte, result3 []token.Format, result4 error)

func (*QueryEngine) GetTokenOutputsArgsForCall

func (fake *QueryEngine) GetTokenOutputsArgsForCall(i int) (context.Context, []*token.ID, driver.QueryCallbackFunc)

func (*QueryEngine) GetTokenOutputsCallCount

func (fake *QueryEngine) GetTokenOutputsCallCount() int

func (*QueryEngine) GetTokenOutputsCalls

func (fake *QueryEngine) GetTokenOutputsCalls(stub func(context.Context, []*token.ID, driver.QueryCallbackFunc) error)

func (*QueryEngine) GetTokenOutputsReturns

func (fake *QueryEngine) GetTokenOutputsReturns(result1 error)

func (*QueryEngine) GetTokenOutputsReturnsOnCall

func (fake *QueryEngine) GetTokenOutputsReturnsOnCall(i int, result1 error)

func (*QueryEngine) GetTokens

func (fake *QueryEngine) GetTokens(arg1 context.Context, arg2 ...*token.ID) ([]*token.Token, error)

func (*QueryEngine) GetTokensArgsForCall

func (fake *QueryEngine) GetTokensArgsForCall(i int) (context.Context, []*token.ID)

func (*QueryEngine) GetTokensCallCount

func (fake *QueryEngine) GetTokensCallCount() int

func (*QueryEngine) GetTokensCalls

func (fake *QueryEngine) GetTokensCalls(stub func(context.Context, ...*token.ID) ([]*token.Token, error))

func (*QueryEngine) GetTokensReturns

func (fake *QueryEngine) GetTokensReturns(result1 []*token.Token, result2 error)

func (*QueryEngine) GetTokensReturnsOnCall

func (fake *QueryEngine) GetTokensReturnsOnCall(i int, result1 []*token.Token, result2 error)

func (*QueryEngine) Invocations

func (fake *QueryEngine) Invocations() map[string][][]interface{}

func (*QueryEngine) IsMine

func (fake *QueryEngine) IsMine(arg1 context.Context, arg2 *token.ID) (bool, error)

func (*QueryEngine) IsMineArgsForCall

func (fake *QueryEngine) IsMineArgsForCall(i int) (context.Context, *token.ID)

func (*QueryEngine) IsMineCallCount

func (fake *QueryEngine) IsMineCallCount() int

func (*QueryEngine) IsMineCalls

func (fake *QueryEngine) IsMineCalls(stub func(context.Context, *token.ID) (bool, error))

func (*QueryEngine) IsMineReturns

func (fake *QueryEngine) IsMineReturns(result1 bool, result2 error)

func (*QueryEngine) IsMineReturnsOnCall

func (fake *QueryEngine) IsMineReturnsOnCall(i int, result1 bool, result2 error)

func (*QueryEngine) IsPending

func (fake *QueryEngine) IsPending(arg1 context.Context, arg2 *token.ID) (bool, error)

func (*QueryEngine) IsPendingArgsForCall

func (fake *QueryEngine) IsPendingArgsForCall(i int) (context.Context, *token.ID)

func (*QueryEngine) IsPendingCallCount

func (fake *QueryEngine) IsPendingCallCount() int

func (*QueryEngine) IsPendingCalls

func (fake *QueryEngine) IsPendingCalls(stub func(context.Context, *token.ID) (bool, error))

func (*QueryEngine) IsPendingReturns

func (fake *QueryEngine) IsPendingReturns(result1 bool, result2 error)

func (*QueryEngine) IsPendingReturnsOnCall

func (fake *QueryEngine) IsPendingReturnsOnCall(i int, result1 bool, result2 error)

func (*QueryEngine) ListAuditTokens

func (fake *QueryEngine) ListAuditTokens(arg1 context.Context, arg2 ...*token.ID) ([]*token.Token, error)

func (*QueryEngine) ListAuditTokensArgsForCall

func (fake *QueryEngine) ListAuditTokensArgsForCall(i int) (context.Context, []*token.ID)

func (*QueryEngine) ListAuditTokensCallCount

func (fake *QueryEngine) ListAuditTokensCallCount() int

func (*QueryEngine) ListAuditTokensCalls

func (fake *QueryEngine) ListAuditTokensCalls(stub func(context.Context, ...*token.ID) ([]*token.Token, error))

func (*QueryEngine) ListAuditTokensReturns

func (fake *QueryEngine) ListAuditTokensReturns(result1 []*token.Token, result2 error)

func (*QueryEngine) ListAuditTokensReturnsOnCall

func (fake *QueryEngine) ListAuditTokensReturnsOnCall(i int, result1 []*token.Token, result2 error)

func (*QueryEngine) ListHistoryIssuedTokens

func (fake *QueryEngine) ListHistoryIssuedTokens(arg1 context.Context) (*token.IssuedTokens, error)

func (*QueryEngine) ListHistoryIssuedTokensArgsForCall

func (fake *QueryEngine) ListHistoryIssuedTokensArgsForCall(i int) context.Context

func (*QueryEngine) ListHistoryIssuedTokensCallCount

func (fake *QueryEngine) ListHistoryIssuedTokensCallCount() int

func (*QueryEngine) ListHistoryIssuedTokensCalls

func (fake *QueryEngine) ListHistoryIssuedTokensCalls(stub func(context.Context) (*token.IssuedTokens, error))

func (*QueryEngine) ListHistoryIssuedTokensReturns

func (fake *QueryEngine) ListHistoryIssuedTokensReturns(result1 *token.IssuedTokens, result2 error)

func (*QueryEngine) ListHistoryIssuedTokensReturnsOnCall

func (fake *QueryEngine) ListHistoryIssuedTokensReturnsOnCall(i int, result1 *token.IssuedTokens, result2 error)

func (*QueryEngine) ListUnspentTokens

func (fake *QueryEngine) ListUnspentTokens(arg1 context.Context) (*token.UnspentTokens, error)

func (*QueryEngine) ListUnspentTokensArgsForCall

func (fake *QueryEngine) ListUnspentTokensArgsForCall(i int) context.Context

func (*QueryEngine) ListUnspentTokensCallCount

func (fake *QueryEngine) ListUnspentTokensCallCount() int

func (*QueryEngine) ListUnspentTokensCalls

func (fake *QueryEngine) ListUnspentTokensCalls(stub func(context.Context) (*token.UnspentTokens, error))

func (*QueryEngine) ListUnspentTokensReturns

func (fake *QueryEngine) ListUnspentTokensReturns(result1 *token.UnspentTokens, result2 error)

func (*QueryEngine) ListUnspentTokensReturnsOnCall

func (fake *QueryEngine) ListUnspentTokensReturnsOnCall(i int, result1 *token.UnspentTokens, result2 error)

func (*QueryEngine) PublicParams

func (fake *QueryEngine) PublicParams(arg1 context.Context) ([]byte, error)

func (*QueryEngine) PublicParamsArgsForCall

func (fake *QueryEngine) PublicParamsArgsForCall(i int) context.Context

func (*QueryEngine) PublicParamsCallCount

func (fake *QueryEngine) PublicParamsCallCount() int

func (*QueryEngine) PublicParamsCalls

func (fake *QueryEngine) PublicParamsCalls(stub func(context.Context) ([]byte, error))

func (*QueryEngine) PublicParamsReturns

func (fake *QueryEngine) PublicParamsReturns(result1 []byte, result2 error)

func (*QueryEngine) PublicParamsReturnsOnCall

func (fake *QueryEngine) PublicParamsReturnsOnCall(i int, result1 []byte, result2 error)

func (*QueryEngine) UnspentLedgerTokensIteratorBy

func (fake *QueryEngine) UnspentLedgerTokensIteratorBy(arg1 context.Context) (driver.LedgerTokensIterator, error)

func (*QueryEngine) UnspentLedgerTokensIteratorByArgsForCall

func (fake *QueryEngine) UnspentLedgerTokensIteratorByArgsForCall(i int) context.Context

func (*QueryEngine) UnspentLedgerTokensIteratorByCallCount

func (fake *QueryEngine) UnspentLedgerTokensIteratorByCallCount() int

func (*QueryEngine) UnspentLedgerTokensIteratorByCalls

func (fake *QueryEngine) UnspentLedgerTokensIteratorByCalls(stub func(context.Context) (driver.LedgerTokensIterator, error))

func (*QueryEngine) UnspentLedgerTokensIteratorByReturns

func (fake *QueryEngine) UnspentLedgerTokensIteratorByReturns(result1 driver.LedgerTokensIterator, result2 error)

func (*QueryEngine) UnspentLedgerTokensIteratorByReturnsOnCall

func (fake *QueryEngine) UnspentLedgerTokensIteratorByReturnsOnCall(i int, result1 driver.LedgerTokensIterator, result2 error)

func (*QueryEngine) UnspentTokensIterator

func (fake *QueryEngine) UnspentTokensIterator(arg1 context.Context) (driver.UnspentTokensIterator, error)

func (*QueryEngine) UnspentTokensIteratorArgsForCall

func (fake *QueryEngine) UnspentTokensIteratorArgsForCall(i int) context.Context

func (*QueryEngine) UnspentTokensIteratorBy

func (fake *QueryEngine) UnspentTokensIteratorBy(arg1 context.Context, arg2 string, arg3 token.Type) (driver.UnspentTokensIterator, error)

func (*QueryEngine) UnspentTokensIteratorByArgsForCall

func (fake *QueryEngine) UnspentTokensIteratorByArgsForCall(i int) (context.Context, string, token.Type)

func (*QueryEngine) UnspentTokensIteratorByCallCount

func (fake *QueryEngine) UnspentTokensIteratorByCallCount() int

func (*QueryEngine) UnspentTokensIteratorByCalls

func (fake *QueryEngine) UnspentTokensIteratorByCalls(stub func(context.Context, string, token.Type) (driver.UnspentTokensIterator, error))

func (*QueryEngine) UnspentTokensIteratorByReturns

func (fake *QueryEngine) UnspentTokensIteratorByReturns(result1 driver.UnspentTokensIterator, result2 error)

func (*QueryEngine) UnspentTokensIteratorByReturnsOnCall

func (fake *QueryEngine) UnspentTokensIteratorByReturnsOnCall(i int, result1 driver.UnspentTokensIterator, result2 error)

func (*QueryEngine) UnspentTokensIteratorCallCount

func (fake *QueryEngine) UnspentTokensIteratorCallCount() int

func (*QueryEngine) UnspentTokensIteratorCalls

func (fake *QueryEngine) UnspentTokensIteratorCalls(stub func(context.Context) (driver.UnspentTokensIterator, error))

func (*QueryEngine) UnspentTokensIteratorReturns

func (fake *QueryEngine) UnspentTokensIteratorReturns(result1 driver.UnspentTokensIterator, result2 error)

func (*QueryEngine) UnspentTokensIteratorReturnsOnCall

func (fake *QueryEngine) UnspentTokensIteratorReturnsOnCall(i int, result1 driver.UnspentTokensIterator, result2 error)

func (*QueryEngine) WhoDeletedTokens

func (fake *QueryEngine) WhoDeletedTokens(arg1 context.Context, arg2 ...*token.ID) ([]string, []bool, error)

func (*QueryEngine) WhoDeletedTokensArgsForCall

func (fake *QueryEngine) WhoDeletedTokensArgsForCall(i int) (context.Context, []*token.ID)

func (*QueryEngine) WhoDeletedTokensCallCount

func (fake *QueryEngine) WhoDeletedTokensCallCount() int

func (*QueryEngine) WhoDeletedTokensCalls

func (fake *QueryEngine) WhoDeletedTokensCalls(stub func(context.Context, ...*token.ID) ([]string, []bool, error))

func (*QueryEngine) WhoDeletedTokensReturns

func (fake *QueryEngine) WhoDeletedTokensReturns(result1 []string, result2 []bool, result3 error)

func (*QueryEngine) WhoDeletedTokensReturnsOnCall

func (fake *QueryEngine) WhoDeletedTokensReturnsOnCall(i int, result1 []string, result2 []bool, result3 error)

type RecipientExtractor

type RecipientExtractor struct {
	RecipientsStub func(driver.Identity) ([]driver.Identity, error)
	// contains filtered or unexported fields
}

func (*RecipientExtractor) Invocations

func (fake *RecipientExtractor) Invocations() map[string][][]interface{}

func (*RecipientExtractor) Recipients

func (fake *RecipientExtractor) Recipients(arg1 driver.Identity) ([]driver.Identity, error)

func (*RecipientExtractor) RecipientsArgsForCall

func (fake *RecipientExtractor) RecipientsArgsForCall(i int) driver.Identity

func (*RecipientExtractor) RecipientsCallCount

func (fake *RecipientExtractor) RecipientsCallCount() int

func (*RecipientExtractor) RecipientsCalls

func (fake *RecipientExtractor) RecipientsCalls(stub func(driver.Identity) ([]driver.Identity, error))

func (*RecipientExtractor) RecipientsReturns

func (fake *RecipientExtractor) RecipientsReturns(result1 []driver.Identity, result2 error)

func (*RecipientExtractor) RecipientsReturnsOnCall

func (fake *RecipientExtractor) RecipientsReturnsOnCall(i int, result1 []driver.Identity, result2 error)

type SignatureProvider

type SignatureProvider struct {
	HasBeenSignedByStub func(context.Context, driver.Identity, driver.Verifier) ([]byte, error)

	SignaturesStub func() [][]byte
	// contains filtered or unexported fields
}

func (*SignatureProvider) HasBeenSignedBy

func (fake *SignatureProvider) HasBeenSignedBy(arg1 context.Context, arg2 driver.Identity, arg3 driver.Verifier) ([]byte, error)

func (*SignatureProvider) HasBeenSignedByArgsForCall

func (fake *SignatureProvider) HasBeenSignedByArgsForCall(i int) (context.Context, driver.Identity, driver.Verifier)

func (*SignatureProvider) HasBeenSignedByCallCount

func (fake *SignatureProvider) HasBeenSignedByCallCount() int

func (*SignatureProvider) HasBeenSignedByCalls

func (fake *SignatureProvider) HasBeenSignedByCalls(stub func(context.Context, driver.Identity, driver.Verifier) ([]byte, error))

func (*SignatureProvider) HasBeenSignedByReturns

func (fake *SignatureProvider) HasBeenSignedByReturns(result1 []byte, result2 error)

func (*SignatureProvider) HasBeenSignedByReturnsOnCall

func (fake *SignatureProvider) HasBeenSignedByReturnsOnCall(i int, result1 []byte, result2 error)

func (*SignatureProvider) Invocations

func (fake *SignatureProvider) Invocations() map[string][][]interface{}

func (*SignatureProvider) Signatures

func (fake *SignatureProvider) Signatures() [][]byte

func (*SignatureProvider) SignaturesCallCount

func (fake *SignatureProvider) SignaturesCallCount() int

func (*SignatureProvider) SignaturesCalls

func (fake *SignatureProvider) SignaturesCalls(stub func() [][]byte)

func (*SignatureProvider) SignaturesReturns

func (fake *SignatureProvider) SignaturesReturns(result1 [][]byte)

func (*SignatureProvider) SignaturesReturnsOnCall

func (fake *SignatureProvider) SignaturesReturnsOnCall(i int, result1 [][]byte)

type Signer

type Signer struct {
	SignStub func([]byte) ([]byte, error)
	// contains filtered or unexported fields
}

func (*Signer) Invocations

func (fake *Signer) Invocations() map[string][][]interface{}

func (*Signer) Sign

func (fake *Signer) Sign(arg1 []byte) ([]byte, error)

func (*Signer) SignArgsForCall

func (fake *Signer) SignArgsForCall(i int) []byte

func (*Signer) SignCallCount

func (fake *Signer) SignCallCount() int

func (*Signer) SignCalls

func (fake *Signer) SignCalls(stub func([]byte) ([]byte, error))

func (*Signer) SignReturns

func (fake *Signer) SignReturns(result1 []byte, result2 error)

func (*Signer) SignReturnsOnCall

func (fake *Signer) SignReturnsOnCall(i int, result1 []byte, result2 error)

type TokenAndMetadataDeserializer

type TokenAndMetadataDeserializer[T any, M any] struct {
	DeserializeMetadataStub func([]byte) (M, error)

	DeserializeTokenStub func([]byte) (T, error)
	// contains filtered or unexported fields
}

func (*TokenAndMetadataDeserializer[T, M]) DeserializeMetadata

func (fake *TokenAndMetadataDeserializer[T, M]) DeserializeMetadata(arg1 []byte) (M, error)

func (*TokenAndMetadataDeserializer[T, M]) DeserializeMetadataArgsForCall

func (fake *TokenAndMetadataDeserializer[T, M]) DeserializeMetadataArgsForCall(i int) []byte

func (*TokenAndMetadataDeserializer[T, M]) DeserializeMetadataCallCount

func (fake *TokenAndMetadataDeserializer[T, M]) DeserializeMetadataCallCount() int

func (*TokenAndMetadataDeserializer[T, M]) DeserializeMetadataCalls

func (fake *TokenAndMetadataDeserializer[T, M]) DeserializeMetadataCalls(stub func([]byte) (M, error))

func (*TokenAndMetadataDeserializer[T, M]) DeserializeMetadataReturns

func (fake *TokenAndMetadataDeserializer[T, M]) DeserializeMetadataReturns(result1 M, result2 error)

func (*TokenAndMetadataDeserializer[T, M]) DeserializeMetadataReturnsOnCall

func (fake *TokenAndMetadataDeserializer[T, M]) DeserializeMetadataReturnsOnCall(i int, result1 M, result2 error)

func (*TokenAndMetadataDeserializer[T, M]) DeserializeToken

func (fake *TokenAndMetadataDeserializer[T, M]) DeserializeToken(arg1 []byte) (T, error)

func (*TokenAndMetadataDeserializer[T, M]) DeserializeTokenArgsForCall

func (fake *TokenAndMetadataDeserializer[T, M]) DeserializeTokenArgsForCall(i int) []byte

func (*TokenAndMetadataDeserializer[T, M]) DeserializeTokenCallCount

func (fake *TokenAndMetadataDeserializer[T, M]) DeserializeTokenCallCount() int

func (*TokenAndMetadataDeserializer[T, M]) DeserializeTokenCalls

func (fake *TokenAndMetadataDeserializer[T, M]) DeserializeTokenCalls(stub func([]byte) (T, error))

func (*TokenAndMetadataDeserializer[T, M]) DeserializeTokenReturns

func (fake *TokenAndMetadataDeserializer[T, M]) DeserializeTokenReturns(result1 T, result2 error)

func (*TokenAndMetadataDeserializer[T, M]) DeserializeTokenReturnsOnCall

func (fake *TokenAndMetadataDeserializer[T, M]) DeserializeTokenReturnsOnCall(i int, result1 T, result2 error)

func (*TokenAndMetadataDeserializer[T, M]) Invocations

func (fake *TokenAndMetadataDeserializer[T, M]) Invocations() map[string][][]interface{}

type TokenCertificationStorage

type TokenCertificationStorage struct {
	GetCertificationsStub func(context.Context, []*token.ID) ([][]byte, error)
	// contains filtered or unexported fields
}

func (*TokenCertificationStorage) GetCertifications

func (fake *TokenCertificationStorage) GetCertifications(arg1 context.Context, arg2 []*token.ID) ([][]byte, error)

func (*TokenCertificationStorage) GetCertificationsArgsForCall

func (fake *TokenCertificationStorage) GetCertificationsArgsForCall(i int) (context.Context, []*token.ID)

func (*TokenCertificationStorage) GetCertificationsCallCount

func (fake *TokenCertificationStorage) GetCertificationsCallCount() int

func (*TokenCertificationStorage) GetCertificationsCalls

func (fake *TokenCertificationStorage) GetCertificationsCalls(stub func(context.Context, []*token.ID) ([][]byte, error))

func (*TokenCertificationStorage) GetCertificationsReturns

func (fake *TokenCertificationStorage) GetCertificationsReturns(result1 [][]byte, result2 error)

func (*TokenCertificationStorage) GetCertificationsReturnsOnCall

func (fake *TokenCertificationStorage) GetCertificationsReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*TokenCertificationStorage) Invocations

func (fake *TokenCertificationStorage) Invocations() map[string][][]interface{}

type TokenDeserializer

type TokenDeserializer[T any] struct {
	DeserializeTokenStub func([]byte) (T, error)
	// contains filtered or unexported fields
}

func (*TokenDeserializer[T]) DeserializeToken

func (fake *TokenDeserializer[T]) DeserializeToken(arg1 []byte) (T, error)

func (*TokenDeserializer[T]) DeserializeTokenArgsForCall

func (fake *TokenDeserializer[T]) DeserializeTokenArgsForCall(i int) []byte

func (*TokenDeserializer[T]) DeserializeTokenCallCount

func (fake *TokenDeserializer[T]) DeserializeTokenCallCount() int

func (*TokenDeserializer[T]) DeserializeTokenCalls

func (fake *TokenDeserializer[T]) DeserializeTokenCalls(stub func([]byte) (T, error))

func (*TokenDeserializer[T]) DeserializeTokenReturns

func (fake *TokenDeserializer[T]) DeserializeTokenReturns(result1 T, result2 error)

func (*TokenDeserializer[T]) DeserializeTokenReturnsOnCall

func (fake *TokenDeserializer[T]) DeserializeTokenReturnsOnCall(i int, result1 T, result2 error)

func (*TokenDeserializer[T]) Invocations

func (fake *TokenDeserializer[T]) Invocations() map[string][][]interface{}

type TokenManagerService

type TokenManagerService struct {
	AuditorServiceStub func() driver.AuditorService

	AuthorizationStub func() driver.Authorization

	CertificationServiceStub func() driver.CertificationService

	ConfigurationStub func() driver.Configuration

	DeserializerStub func() driver.Deserializer

	DoneStub func() error

	IdentityProviderStub func() driver.IdentityProvider

	IssueServiceStub func() driver.IssueService

	PublicParamsManagerStub func() driver.PublicParamsManager

	TokensServiceStub func() driver.TokensService

	TokensUpgradeServiceStub func() driver.TokensUpgradeService

	TransferServiceStub func() driver.TransferService

	ValidatorStub func() (driver.Validator, error)

	WalletServiceStub func() driver.WalletService
	// contains filtered or unexported fields
}

func (*TokenManagerService) AuditorService

func (fake *TokenManagerService) AuditorService() driver.AuditorService

func (*TokenManagerService) AuditorServiceCallCount

func (fake *TokenManagerService) AuditorServiceCallCount() int

func (*TokenManagerService) AuditorServiceCalls

func (fake *TokenManagerService) AuditorServiceCalls(stub func() driver.AuditorService)

func (*TokenManagerService) AuditorServiceReturns

func (fake *TokenManagerService) AuditorServiceReturns(result1 driver.AuditorService)

func (*TokenManagerService) AuditorServiceReturnsOnCall

func (fake *TokenManagerService) AuditorServiceReturnsOnCall(i int, result1 driver.AuditorService)

func (*TokenManagerService) Authorization

func (fake *TokenManagerService) Authorization() driver.Authorization

func (*TokenManagerService) AuthorizationCallCount

func (fake *TokenManagerService) AuthorizationCallCount() int

func (*TokenManagerService) AuthorizationCalls

func (fake *TokenManagerService) AuthorizationCalls(stub func() driver.Authorization)

func (*TokenManagerService) AuthorizationReturns

func (fake *TokenManagerService) AuthorizationReturns(result1 driver.Authorization)

func (*TokenManagerService) AuthorizationReturnsOnCall

func (fake *TokenManagerService) AuthorizationReturnsOnCall(i int, result1 driver.Authorization)

func (*TokenManagerService) CertificationService

func (fake *TokenManagerService) CertificationService() driver.CertificationService

func (*TokenManagerService) CertificationServiceCallCount

func (fake *TokenManagerService) CertificationServiceCallCount() int

func (*TokenManagerService) CertificationServiceCalls

func (fake *TokenManagerService) CertificationServiceCalls(stub func() driver.CertificationService)

func (*TokenManagerService) CertificationServiceReturns

func (fake *TokenManagerService) CertificationServiceReturns(result1 driver.CertificationService)

func (*TokenManagerService) CertificationServiceReturnsOnCall

func (fake *TokenManagerService) CertificationServiceReturnsOnCall(i int, result1 driver.CertificationService)

func (*TokenManagerService) Configuration

func (fake *TokenManagerService) Configuration() driver.Configuration

func (*TokenManagerService) ConfigurationCallCount

func (fake *TokenManagerService) ConfigurationCallCount() int

func (*TokenManagerService) ConfigurationCalls

func (fake *TokenManagerService) ConfigurationCalls(stub func() driver.Configuration)

func (*TokenManagerService) ConfigurationReturns

func (fake *TokenManagerService) ConfigurationReturns(result1 driver.Configuration)

func (*TokenManagerService) ConfigurationReturnsOnCall

func (fake *TokenManagerService) ConfigurationReturnsOnCall(i int, result1 driver.Configuration)

func (*TokenManagerService) Deserializer

func (fake *TokenManagerService) Deserializer() driver.Deserializer

func (*TokenManagerService) DeserializerCallCount

func (fake *TokenManagerService) DeserializerCallCount() int

func (*TokenManagerService) DeserializerCalls

func (fake *TokenManagerService) DeserializerCalls(stub func() driver.Deserializer)

func (*TokenManagerService) DeserializerReturns

func (fake *TokenManagerService) DeserializerReturns(result1 driver.Deserializer)

func (*TokenManagerService) DeserializerReturnsOnCall

func (fake *TokenManagerService) DeserializerReturnsOnCall(i int, result1 driver.Deserializer)

func (*TokenManagerService) Done

func (fake *TokenManagerService) Done() error

func (*TokenManagerService) DoneCallCount

func (fake *TokenManagerService) DoneCallCount() int

func (*TokenManagerService) DoneCalls

func (fake *TokenManagerService) DoneCalls(stub func() error)

func (*TokenManagerService) DoneReturns

func (fake *TokenManagerService) DoneReturns(result1 error)

func (*TokenManagerService) DoneReturnsOnCall

func (fake *TokenManagerService) DoneReturnsOnCall(i int, result1 error)

func (*TokenManagerService) IdentityProvider

func (fake *TokenManagerService) IdentityProvider() driver.IdentityProvider

func (*TokenManagerService) IdentityProviderCallCount

func (fake *TokenManagerService) IdentityProviderCallCount() int

func (*TokenManagerService) IdentityProviderCalls

func (fake *TokenManagerService) IdentityProviderCalls(stub func() driver.IdentityProvider)

func (*TokenManagerService) IdentityProviderReturns

func (fake *TokenManagerService) IdentityProviderReturns(result1 driver.IdentityProvider)

func (*TokenManagerService) IdentityProviderReturnsOnCall

func (fake *TokenManagerService) IdentityProviderReturnsOnCall(i int, result1 driver.IdentityProvider)

func (*TokenManagerService) Invocations

func (fake *TokenManagerService) Invocations() map[string][][]interface{}

func (*TokenManagerService) IssueService

func (fake *TokenManagerService) IssueService() driver.IssueService

func (*TokenManagerService) IssueServiceCallCount

func (fake *TokenManagerService) IssueServiceCallCount() int

func (*TokenManagerService) IssueServiceCalls

func (fake *TokenManagerService) IssueServiceCalls(stub func() driver.IssueService)

func (*TokenManagerService) IssueServiceReturns

func (fake *TokenManagerService) IssueServiceReturns(result1 driver.IssueService)

func (*TokenManagerService) IssueServiceReturnsOnCall

func (fake *TokenManagerService) IssueServiceReturnsOnCall(i int, result1 driver.IssueService)

func (*TokenManagerService) PublicParamsManager

func (fake *TokenManagerService) PublicParamsManager() driver.PublicParamsManager

func (*TokenManagerService) PublicParamsManagerCallCount

func (fake *TokenManagerService) PublicParamsManagerCallCount() int

func (*TokenManagerService) PublicParamsManagerCalls

func (fake *TokenManagerService) PublicParamsManagerCalls(stub func() driver.PublicParamsManager)

func (*TokenManagerService) PublicParamsManagerReturns

func (fake *TokenManagerService) PublicParamsManagerReturns(result1 driver.PublicParamsManager)

func (*TokenManagerService) PublicParamsManagerReturnsOnCall

func (fake *TokenManagerService) PublicParamsManagerReturnsOnCall(i int, result1 driver.PublicParamsManager)

func (*TokenManagerService) TokensService

func (fake *TokenManagerService) TokensService() driver.TokensService

func (*TokenManagerService) TokensServiceCallCount

func (fake *TokenManagerService) TokensServiceCallCount() int

func (*TokenManagerService) TokensServiceCalls

func (fake *TokenManagerService) TokensServiceCalls(stub func() driver.TokensService)

func (*TokenManagerService) TokensServiceReturns

func (fake *TokenManagerService) TokensServiceReturns(result1 driver.TokensService)

func (*TokenManagerService) TokensServiceReturnsOnCall

func (fake *TokenManagerService) TokensServiceReturnsOnCall(i int, result1 driver.TokensService)

func (*TokenManagerService) TokensUpgradeService

func (fake *TokenManagerService) TokensUpgradeService() driver.TokensUpgradeService

func (*TokenManagerService) TokensUpgradeServiceCallCount

func (fake *TokenManagerService) TokensUpgradeServiceCallCount() int

func (*TokenManagerService) TokensUpgradeServiceCalls

func (fake *TokenManagerService) TokensUpgradeServiceCalls(stub func() driver.TokensUpgradeService)

func (*TokenManagerService) TokensUpgradeServiceReturns

func (fake *TokenManagerService) TokensUpgradeServiceReturns(result1 driver.TokensUpgradeService)

func (*TokenManagerService) TokensUpgradeServiceReturnsOnCall

func (fake *TokenManagerService) TokensUpgradeServiceReturnsOnCall(i int, result1 driver.TokensUpgradeService)

func (*TokenManagerService) TransferService

func (fake *TokenManagerService) TransferService() driver.TransferService

func (*TokenManagerService) TransferServiceCallCount

func (fake *TokenManagerService) TransferServiceCallCount() int

func (*TokenManagerService) TransferServiceCalls

func (fake *TokenManagerService) TransferServiceCalls(stub func() driver.TransferService)

func (*TokenManagerService) TransferServiceReturns

func (fake *TokenManagerService) TransferServiceReturns(result1 driver.TransferService)

func (*TokenManagerService) TransferServiceReturnsOnCall

func (fake *TokenManagerService) TransferServiceReturnsOnCall(i int, result1 driver.TransferService)

func (*TokenManagerService) Validator

func (fake *TokenManagerService) Validator() (driver.Validator, error)

func (*TokenManagerService) ValidatorCallCount

func (fake *TokenManagerService) ValidatorCallCount() int

func (*TokenManagerService) ValidatorCalls

func (fake *TokenManagerService) ValidatorCalls(stub func() (driver.Validator, error))

func (*TokenManagerService) ValidatorReturns

func (fake *TokenManagerService) ValidatorReturns(result1 driver.Validator, result2 error)

func (*TokenManagerService) ValidatorReturnsOnCall

func (fake *TokenManagerService) ValidatorReturnsOnCall(i int, result1 driver.Validator, result2 error)

func (*TokenManagerService) WalletService

func (fake *TokenManagerService) WalletService() driver.WalletService

func (*TokenManagerService) WalletServiceCallCount

func (fake *TokenManagerService) WalletServiceCallCount() int

func (*TokenManagerService) WalletServiceCalls

func (fake *TokenManagerService) WalletServiceCalls(stub func() driver.WalletService)

func (*TokenManagerService) WalletServiceReturns

func (fake *TokenManagerService) WalletServiceReturns(result1 driver.WalletService)

func (*TokenManagerService) WalletServiceReturnsOnCall

func (fake *TokenManagerService) WalletServiceReturnsOnCall(i int, result1 driver.WalletService)

type TokenManagerServiceProvider

type TokenManagerServiceProvider struct {
	GetTokenManagerServiceStub func(driver.ServiceOptions) (driver.TokenManagerService, error)

	UpdateStub func(driver.ServiceOptions) error
	// contains filtered or unexported fields
}

func (*TokenManagerServiceProvider) GetTokenManagerService

func (fake *TokenManagerServiceProvider) GetTokenManagerService(arg1 driver.ServiceOptions) (driver.TokenManagerService, error)

func (*TokenManagerServiceProvider) GetTokenManagerServiceArgsForCall

func (fake *TokenManagerServiceProvider) GetTokenManagerServiceArgsForCall(i int) driver.ServiceOptions

func (*TokenManagerServiceProvider) GetTokenManagerServiceCallCount

func (fake *TokenManagerServiceProvider) GetTokenManagerServiceCallCount() int

func (*TokenManagerServiceProvider) GetTokenManagerServiceCalls

func (fake *TokenManagerServiceProvider) GetTokenManagerServiceCalls(stub func(driver.ServiceOptions) (driver.TokenManagerService, error))

func (*TokenManagerServiceProvider) GetTokenManagerServiceReturns

func (fake *TokenManagerServiceProvider) GetTokenManagerServiceReturns(result1 driver.TokenManagerService, result2 error)

func (*TokenManagerServiceProvider) GetTokenManagerServiceReturnsOnCall

func (fake *TokenManagerServiceProvider) GetTokenManagerServiceReturnsOnCall(i int, result1 driver.TokenManagerService, result2 error)

func (*TokenManagerServiceProvider) Invocations

func (fake *TokenManagerServiceProvider) Invocations() map[string][][]interface{}

func (*TokenManagerServiceProvider) Update

func (*TokenManagerServiceProvider) UpdateArgsForCall

func (fake *TokenManagerServiceProvider) UpdateArgsForCall(i int) driver.ServiceOptions

func (*TokenManagerServiceProvider) UpdateCallCount

func (fake *TokenManagerServiceProvider) UpdateCallCount() int

func (*TokenManagerServiceProvider) UpdateCalls

func (fake *TokenManagerServiceProvider) UpdateCalls(stub func(driver.ServiceOptions) error)

func (*TokenManagerServiceProvider) UpdateReturns

func (fake *TokenManagerServiceProvider) UpdateReturns(result1 error)

func (*TokenManagerServiceProvider) UpdateReturnsOnCall

func (fake *TokenManagerServiceProvider) UpdateReturnsOnCall(i int, result1 error)

type TokenVault

type TokenVault struct {
	BalanceStub func(context.Context, string, token.Type) (*big.Int, error)

	GetTokenOutputsStub func(context.Context, []*token.ID, driver.QueryCallbackFunc) error

	GetTokenOutputsAndMetaStub func(context.Context, []*token.ID) ([][]byte, [][]byte, []token.Format, error)

	IsPendingStub func(context.Context, *token.ID) (bool, error)

	ListHistoryIssuedTokensStub func(context.Context) (*token.IssuedTokens, error)

	PublicParamsStub func(context.Context) ([]byte, error)

	UnspentTokensIteratorByStub func(context.Context, string, token.Type) (driver.UnspentTokensIterator, error)
	// contains filtered or unexported fields
}

func (*TokenVault) Balance

func (fake *TokenVault) Balance(arg1 context.Context, arg2 string, arg3 token.Type) (*big.Int, error)

func (*TokenVault) BalanceArgsForCall

func (fake *TokenVault) BalanceArgsForCall(i int) (context.Context, string, token.Type)

func (*TokenVault) BalanceCallCount

func (fake *TokenVault) BalanceCallCount() int

func (*TokenVault) BalanceCalls

func (fake *TokenVault) BalanceCalls(stub func(context.Context, string, token.Type) (*big.Int, error))

func (*TokenVault) BalanceReturns

func (fake *TokenVault) BalanceReturns(result1 *big.Int, result2 error)

func (*TokenVault) BalanceReturnsOnCall

func (fake *TokenVault) BalanceReturnsOnCall(i int, result1 *big.Int, result2 error)

func (*TokenVault) GetTokenOutputs

func (fake *TokenVault) GetTokenOutputs(arg1 context.Context, arg2 []*token.ID, arg3 driver.QueryCallbackFunc) error

func (*TokenVault) GetTokenOutputsAndMeta

func (fake *TokenVault) GetTokenOutputsAndMeta(arg1 context.Context, arg2 []*token.ID) ([][]byte, [][]byte, []token.Format, error)

func (*TokenVault) GetTokenOutputsAndMetaArgsForCall

func (fake *TokenVault) GetTokenOutputsAndMetaArgsForCall(i int) (context.Context, []*token.ID)

func (*TokenVault) GetTokenOutputsAndMetaCallCount

func (fake *TokenVault) GetTokenOutputsAndMetaCallCount() int

func (*TokenVault) GetTokenOutputsAndMetaCalls

func (fake *TokenVault) GetTokenOutputsAndMetaCalls(stub func(context.Context, []*token.ID) ([][]byte, [][]byte, []token.Format, error))

func (*TokenVault) GetTokenOutputsAndMetaReturns

func (fake *TokenVault) GetTokenOutputsAndMetaReturns(result1 [][]byte, result2 [][]byte, result3 []token.Format, result4 error)

func (*TokenVault) GetTokenOutputsAndMetaReturnsOnCall

func (fake *TokenVault) GetTokenOutputsAndMetaReturnsOnCall(i int, result1 [][]byte, result2 [][]byte, result3 []token.Format, result4 error)

func (*TokenVault) GetTokenOutputsArgsForCall

func (fake *TokenVault) GetTokenOutputsArgsForCall(i int) (context.Context, []*token.ID, driver.QueryCallbackFunc)

func (*TokenVault) GetTokenOutputsCallCount

func (fake *TokenVault) GetTokenOutputsCallCount() int

func (*TokenVault) GetTokenOutputsCalls

func (fake *TokenVault) GetTokenOutputsCalls(stub func(context.Context, []*token.ID, driver.QueryCallbackFunc) error)

func (*TokenVault) GetTokenOutputsReturns

func (fake *TokenVault) GetTokenOutputsReturns(result1 error)

func (*TokenVault) GetTokenOutputsReturnsOnCall

func (fake *TokenVault) GetTokenOutputsReturnsOnCall(i int, result1 error)

func (*TokenVault) Invocations

func (fake *TokenVault) Invocations() map[string][][]interface{}

func (*TokenVault) IsPending

func (fake *TokenVault) IsPending(arg1 context.Context, arg2 *token.ID) (bool, error)

func (*TokenVault) IsPendingArgsForCall

func (fake *TokenVault) IsPendingArgsForCall(i int) (context.Context, *token.ID)

func (*TokenVault) IsPendingCallCount

func (fake *TokenVault) IsPendingCallCount() int

func (*TokenVault) IsPendingCalls

func (fake *TokenVault) IsPendingCalls(stub func(context.Context, *token.ID) (bool, error))

func (*TokenVault) IsPendingReturns

func (fake *TokenVault) IsPendingReturns(result1 bool, result2 error)

func (*TokenVault) IsPendingReturnsOnCall

func (fake *TokenVault) IsPendingReturnsOnCall(i int, result1 bool, result2 error)

func (*TokenVault) ListHistoryIssuedTokens

func (fake *TokenVault) ListHistoryIssuedTokens(arg1 context.Context) (*token.IssuedTokens, error)

func (*TokenVault) ListHistoryIssuedTokensArgsForCall

func (fake *TokenVault) ListHistoryIssuedTokensArgsForCall(i int) context.Context

func (*TokenVault) ListHistoryIssuedTokensCallCount

func (fake *TokenVault) ListHistoryIssuedTokensCallCount() int

func (*TokenVault) ListHistoryIssuedTokensCalls

func (fake *TokenVault) ListHistoryIssuedTokensCalls(stub func(context.Context) (*token.IssuedTokens, error))

func (*TokenVault) ListHistoryIssuedTokensReturns

func (fake *TokenVault) ListHistoryIssuedTokensReturns(result1 *token.IssuedTokens, result2 error)

func (*TokenVault) ListHistoryIssuedTokensReturnsOnCall

func (fake *TokenVault) ListHistoryIssuedTokensReturnsOnCall(i int, result1 *token.IssuedTokens, result2 error)

func (*TokenVault) PublicParams

func (fake *TokenVault) PublicParams(arg1 context.Context) ([]byte, error)

func (*TokenVault) PublicParamsArgsForCall

func (fake *TokenVault) PublicParamsArgsForCall(i int) context.Context

func (*TokenVault) PublicParamsCallCount

func (fake *TokenVault) PublicParamsCallCount() int

func (*TokenVault) PublicParamsCalls

func (fake *TokenVault) PublicParamsCalls(stub func(context.Context) ([]byte, error))

func (*TokenVault) PublicParamsReturns

func (fake *TokenVault) PublicParamsReturns(result1 []byte, result2 error)

func (*TokenVault) PublicParamsReturnsOnCall

func (fake *TokenVault) PublicParamsReturnsOnCall(i int, result1 []byte, result2 error)

func (*TokenVault) UnspentTokensIteratorBy

func (fake *TokenVault) UnspentTokensIteratorBy(arg1 context.Context, arg2 string, arg3 token.Type) (driver.UnspentTokensIterator, error)

func (*TokenVault) UnspentTokensIteratorByArgsForCall

func (fake *TokenVault) UnspentTokensIteratorByArgsForCall(i int) (context.Context, string, token.Type)

func (*TokenVault) UnspentTokensIteratorByCallCount

func (fake *TokenVault) UnspentTokensIteratorByCallCount() int

func (*TokenVault) UnspentTokensIteratorByCalls

func (fake *TokenVault) UnspentTokensIteratorByCalls(stub func(context.Context, string, token.Type) (driver.UnspentTokensIterator, error))

func (*TokenVault) UnspentTokensIteratorByReturns

func (fake *TokenVault) UnspentTokensIteratorByReturns(result1 driver.UnspentTokensIterator, result2 error)

func (*TokenVault) UnspentTokensIteratorByReturnsOnCall

func (fake *TokenVault) UnspentTokensIteratorByReturnsOnCall(i int, result1 driver.UnspentTokensIterator, result2 error)

type TokensService

type TokensService struct {
	DeobfuscateStub func(context.Context, driver.TokenOutput, driver.TokenOutputMetadata) (*token.Token, driver.Identity, []driver.Identity, token.Format, error)

	RecipientsStub func(driver.TokenOutput) ([]driver.Identity, error)

	SupportedTokenFormatsStub func() []token.Format
	// contains filtered or unexported fields
}

func (*TokensService) Deobfuscate

func (*TokensService) DeobfuscateArgsForCall

func (fake *TokensService) DeobfuscateArgsForCall(i int) (context.Context, driver.TokenOutput, driver.TokenOutputMetadata)

func (*TokensService) DeobfuscateCallCount

func (fake *TokensService) DeobfuscateCallCount() int

func (*TokensService) DeobfuscateCalls

func (*TokensService) DeobfuscateReturns

func (fake *TokensService) DeobfuscateReturns(result1 *token.Token, result2 driver.Identity, result3 []driver.Identity, result4 token.Format, result5 error)

func (*TokensService) DeobfuscateReturnsOnCall

func (fake *TokensService) DeobfuscateReturnsOnCall(i int, result1 *token.Token, result2 driver.Identity, result3 []driver.Identity, result4 token.Format, result5 error)

func (*TokensService) Invocations

func (fake *TokensService) Invocations() map[string][][]interface{}

func (*TokensService) Recipients

func (fake *TokensService) Recipients(arg1 driver.TokenOutput) ([]driver.Identity, error)

func (*TokensService) RecipientsArgsForCall

func (fake *TokensService) RecipientsArgsForCall(i int) driver.TokenOutput

func (*TokensService) RecipientsCallCount

func (fake *TokensService) RecipientsCallCount() int

func (*TokensService) RecipientsCalls

func (fake *TokensService) RecipientsCalls(stub func(driver.TokenOutput) ([]driver.Identity, error))

func (*TokensService) RecipientsReturns

func (fake *TokensService) RecipientsReturns(result1 []driver.Identity, result2 error)

func (*TokensService) RecipientsReturnsOnCall

func (fake *TokensService) RecipientsReturnsOnCall(i int, result1 []driver.Identity, result2 error)

func (*TokensService) SupportedTokenFormats

func (fake *TokensService) SupportedTokenFormats() []token.Format

func (*TokensService) SupportedTokenFormatsCallCount

func (fake *TokensService) SupportedTokenFormatsCallCount() int

func (*TokensService) SupportedTokenFormatsCalls

func (fake *TokensService) SupportedTokenFormatsCalls(stub func() []token.Format)

func (*TokensService) SupportedTokenFormatsReturns

func (fake *TokensService) SupportedTokenFormatsReturns(result1 []token.Format)

func (*TokensService) SupportedTokenFormatsReturnsOnCall

func (fake *TokensService) SupportedTokenFormatsReturnsOnCall(i int, result1 []token.Format)

type TokensUpgradeService

type TokensUpgradeService struct {
	CheckUpgradeProofStub func(context.Context, driver.TokensUpgradeChallenge, driver.TokensUpgradeProof, []token.LedgerToken) (bool, error)

	GenUpgradeProofStub func(context.Context, driver.TokensUpgradeChallenge, []token.LedgerToken, driver.TokensUpgradeWitness) (driver.TokensUpgradeProof, error)

	NewUpgradeChallengeStub func() (driver.TokensUpgradeChallenge, error)
	// contains filtered or unexported fields
}

func (*TokensUpgradeService) CheckUpgradeProof

func (*TokensUpgradeService) CheckUpgradeProofArgsForCall

func (*TokensUpgradeService) CheckUpgradeProofCallCount

func (fake *TokensUpgradeService) CheckUpgradeProofCallCount() int

func (*TokensUpgradeService) CheckUpgradeProofCalls

func (*TokensUpgradeService) CheckUpgradeProofReturns

func (fake *TokensUpgradeService) CheckUpgradeProofReturns(result1 bool, result2 error)

func (*TokensUpgradeService) CheckUpgradeProofReturnsOnCall

func (fake *TokensUpgradeService) CheckUpgradeProofReturnsOnCall(i int, result1 bool, result2 error)

func (*TokensUpgradeService) GenUpgradeProof

func (*TokensUpgradeService) GenUpgradeProofArgsForCall

func (*TokensUpgradeService) GenUpgradeProofCallCount

func (fake *TokensUpgradeService) GenUpgradeProofCallCount() int

func (*TokensUpgradeService) GenUpgradeProofReturns

func (fake *TokensUpgradeService) GenUpgradeProofReturns(result1 driver.TokensUpgradeProof, result2 error)

func (*TokensUpgradeService) GenUpgradeProofReturnsOnCall

func (fake *TokensUpgradeService) GenUpgradeProofReturnsOnCall(i int, result1 driver.TokensUpgradeProof, result2 error)

func (*TokensUpgradeService) Invocations

func (fake *TokensUpgradeService) Invocations() map[string][][]interface{}

func (*TokensUpgradeService) NewUpgradeChallenge

func (fake *TokensUpgradeService) NewUpgradeChallenge() (driver.TokensUpgradeChallenge, error)

func (*TokensUpgradeService) NewUpgradeChallengeCallCount

func (fake *TokensUpgradeService) NewUpgradeChallengeCallCount() int

func (*TokensUpgradeService) NewUpgradeChallengeCalls

func (fake *TokensUpgradeService) NewUpgradeChallengeCalls(stub func() (driver.TokensUpgradeChallenge, error))

func (*TokensUpgradeService) NewUpgradeChallengeReturns

func (fake *TokensUpgradeService) NewUpgradeChallengeReturns(result1 driver.TokensUpgradeChallenge, result2 error)

func (*TokensUpgradeService) NewUpgradeChallengeReturnsOnCall

func (fake *TokensUpgradeService) NewUpgradeChallengeReturnsOnCall(i int, result1 driver.TokensUpgradeChallenge, result2 error)

type TransferAction

type TransferAction struct {
	ExtraSignersStub func() []driver.Identity

	GetInputsStub func() []*token.ID

	GetIssuerStub func() driver.Identity

	GetMetadataStub func() map[string][]byte

	GetOutputsStub func() []driver.Output

	GetSerialNumbersStub func() []string

	GetSerializedInputsStub func() ([][]byte, error)

	GetSerializedOutputsStub func() ([][]byte, error)

	IsGraphHidingStub func() bool

	IsRedeemAtStub func(int) bool

	NumInputsStub func() int

	NumOutputsStub func() int

	SerializeStub func() ([]byte, error)

	SerializeOutputAtStub func(int) ([]byte, error)

	ValidateStub func() error
	// contains filtered or unexported fields
}

func (*TransferAction) ExtraSigners

func (fake *TransferAction) ExtraSigners() []driver.Identity

func (*TransferAction) ExtraSignersCallCount

func (fake *TransferAction) ExtraSignersCallCount() int

func (*TransferAction) ExtraSignersCalls

func (fake *TransferAction) ExtraSignersCalls(stub func() []driver.Identity)

func (*TransferAction) ExtraSignersReturns

func (fake *TransferAction) ExtraSignersReturns(result1 []driver.Identity)

func (*TransferAction) ExtraSignersReturnsOnCall

func (fake *TransferAction) ExtraSignersReturnsOnCall(i int, result1 []driver.Identity)

func (*TransferAction) GetInputs

func (fake *TransferAction) GetInputs() []*token.ID

func (*TransferAction) GetInputsCallCount

func (fake *TransferAction) GetInputsCallCount() int

func (*TransferAction) GetInputsCalls

func (fake *TransferAction) GetInputsCalls(stub func() []*token.ID)

func (*TransferAction) GetInputsReturns

func (fake *TransferAction) GetInputsReturns(result1 []*token.ID)

func (*TransferAction) GetInputsReturnsOnCall

func (fake *TransferAction) GetInputsReturnsOnCall(i int, result1 []*token.ID)

func (*TransferAction) GetIssuer

func (fake *TransferAction) GetIssuer() driver.Identity

func (*TransferAction) GetIssuerCallCount

func (fake *TransferAction) GetIssuerCallCount() int

func (*TransferAction) GetIssuerCalls

func (fake *TransferAction) GetIssuerCalls(stub func() driver.Identity)

func (*TransferAction) GetIssuerReturns

func (fake *TransferAction) GetIssuerReturns(result1 driver.Identity)

func (*TransferAction) GetIssuerReturnsOnCall

func (fake *TransferAction) GetIssuerReturnsOnCall(i int, result1 driver.Identity)

func (*TransferAction) GetMetadata

func (fake *TransferAction) GetMetadata() map[string][]byte

func (*TransferAction) GetMetadataCallCount

func (fake *TransferAction) GetMetadataCallCount() int

func (*TransferAction) GetMetadataCalls

func (fake *TransferAction) GetMetadataCalls(stub func() map[string][]byte)

func (*TransferAction) GetMetadataReturns

func (fake *TransferAction) GetMetadataReturns(result1 map[string][]byte)

func (*TransferAction) GetMetadataReturnsOnCall

func (fake *TransferAction) GetMetadataReturnsOnCall(i int, result1 map[string][]byte)

func (*TransferAction) GetOutputs

func (fake *TransferAction) GetOutputs() []driver.Output

func (*TransferAction) GetOutputsCallCount

func (fake *TransferAction) GetOutputsCallCount() int

func (*TransferAction) GetOutputsCalls

func (fake *TransferAction) GetOutputsCalls(stub func() []driver.Output)

func (*TransferAction) GetOutputsReturns

func (fake *TransferAction) GetOutputsReturns(result1 []driver.Output)

func (*TransferAction) GetOutputsReturnsOnCall

func (fake *TransferAction) GetOutputsReturnsOnCall(i int, result1 []driver.Output)

func (*TransferAction) GetSerialNumbers

func (fake *TransferAction) GetSerialNumbers() []string

func (*TransferAction) GetSerialNumbersCallCount

func (fake *TransferAction) GetSerialNumbersCallCount() int

func (*TransferAction) GetSerialNumbersCalls

func (fake *TransferAction) GetSerialNumbersCalls(stub func() []string)

func (*TransferAction) GetSerialNumbersReturns

func (fake *TransferAction) GetSerialNumbersReturns(result1 []string)

func (*TransferAction) GetSerialNumbersReturnsOnCall

func (fake *TransferAction) GetSerialNumbersReturnsOnCall(i int, result1 []string)

func (*TransferAction) GetSerializedInputs

func (fake *TransferAction) GetSerializedInputs() ([][]byte, error)

func (*TransferAction) GetSerializedInputsCallCount

func (fake *TransferAction) GetSerializedInputsCallCount() int

func (*TransferAction) GetSerializedInputsCalls

func (fake *TransferAction) GetSerializedInputsCalls(stub func() ([][]byte, error))

func (*TransferAction) GetSerializedInputsReturns

func (fake *TransferAction) GetSerializedInputsReturns(result1 [][]byte, result2 error)

func (*TransferAction) GetSerializedInputsReturnsOnCall

func (fake *TransferAction) GetSerializedInputsReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*TransferAction) GetSerializedOutputs

func (fake *TransferAction) GetSerializedOutputs() ([][]byte, error)

func (*TransferAction) GetSerializedOutputsCallCount

func (fake *TransferAction) GetSerializedOutputsCallCount() int

func (*TransferAction) GetSerializedOutputsCalls

func (fake *TransferAction) GetSerializedOutputsCalls(stub func() ([][]byte, error))

func (*TransferAction) GetSerializedOutputsReturns

func (fake *TransferAction) GetSerializedOutputsReturns(result1 [][]byte, result2 error)

func (*TransferAction) GetSerializedOutputsReturnsOnCall

func (fake *TransferAction) GetSerializedOutputsReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*TransferAction) Invocations

func (fake *TransferAction) Invocations() map[string][][]interface{}

func (*TransferAction) IsGraphHiding

func (fake *TransferAction) IsGraphHiding() bool

func (*TransferAction) IsGraphHidingCallCount

func (fake *TransferAction) IsGraphHidingCallCount() int

func (*TransferAction) IsGraphHidingCalls

func (fake *TransferAction) IsGraphHidingCalls(stub func() bool)

func (*TransferAction) IsGraphHidingReturns

func (fake *TransferAction) IsGraphHidingReturns(result1 bool)

func (*TransferAction) IsGraphHidingReturnsOnCall

func (fake *TransferAction) IsGraphHidingReturnsOnCall(i int, result1 bool)

func (*TransferAction) IsRedeemAt

func (fake *TransferAction) IsRedeemAt(arg1 int) bool

func (*TransferAction) IsRedeemAtArgsForCall

func (fake *TransferAction) IsRedeemAtArgsForCall(i int) int

func (*TransferAction) IsRedeemAtCallCount

func (fake *TransferAction) IsRedeemAtCallCount() int

func (*TransferAction) IsRedeemAtCalls

func (fake *TransferAction) IsRedeemAtCalls(stub func(int) bool)

func (*TransferAction) IsRedeemAtReturns

func (fake *TransferAction) IsRedeemAtReturns(result1 bool)

func (*TransferAction) IsRedeemAtReturnsOnCall

func (fake *TransferAction) IsRedeemAtReturnsOnCall(i int, result1 bool)

func (*TransferAction) NumInputs

func (fake *TransferAction) NumInputs() int

func (*TransferAction) NumInputsCallCount

func (fake *TransferAction) NumInputsCallCount() int

func (*TransferAction) NumInputsCalls

func (fake *TransferAction) NumInputsCalls(stub func() int)

func (*TransferAction) NumInputsReturns

func (fake *TransferAction) NumInputsReturns(result1 int)

func (*TransferAction) NumInputsReturnsOnCall

func (fake *TransferAction) NumInputsReturnsOnCall(i int, result1 int)

func (*TransferAction) NumOutputs

func (fake *TransferAction) NumOutputs() int

func (*TransferAction) NumOutputsCallCount

func (fake *TransferAction) NumOutputsCallCount() int

func (*TransferAction) NumOutputsCalls

func (fake *TransferAction) NumOutputsCalls(stub func() int)

func (*TransferAction) NumOutputsReturns

func (fake *TransferAction) NumOutputsReturns(result1 int)

func (*TransferAction) NumOutputsReturnsOnCall

func (fake *TransferAction) NumOutputsReturnsOnCall(i int, result1 int)

func (*TransferAction) Serialize

func (fake *TransferAction) Serialize() ([]byte, error)

func (*TransferAction) SerializeCallCount

func (fake *TransferAction) SerializeCallCount() int

func (*TransferAction) SerializeCalls

func (fake *TransferAction) SerializeCalls(stub func() ([]byte, error))

func (*TransferAction) SerializeOutputAt

func (fake *TransferAction) SerializeOutputAt(arg1 int) ([]byte, error)

func (*TransferAction) SerializeOutputAtArgsForCall

func (fake *TransferAction) SerializeOutputAtArgsForCall(i int) int

func (*TransferAction) SerializeOutputAtCallCount

func (fake *TransferAction) SerializeOutputAtCallCount() int

func (*TransferAction) SerializeOutputAtCalls

func (fake *TransferAction) SerializeOutputAtCalls(stub func(int) ([]byte, error))

func (*TransferAction) SerializeOutputAtReturns

func (fake *TransferAction) SerializeOutputAtReturns(result1 []byte, result2 error)

func (*TransferAction) SerializeOutputAtReturnsOnCall

func (fake *TransferAction) SerializeOutputAtReturnsOnCall(i int, result1 []byte, result2 error)

func (*TransferAction) SerializeReturns

func (fake *TransferAction) SerializeReturns(result1 []byte, result2 error)

func (*TransferAction) SerializeReturnsOnCall

func (fake *TransferAction) SerializeReturnsOnCall(i int, result1 []byte, result2 error)

func (*TransferAction) Validate

func (fake *TransferAction) Validate() error

func (*TransferAction) ValidateCallCount

func (fake *TransferAction) ValidateCallCount() int

func (*TransferAction) ValidateCalls

func (fake *TransferAction) ValidateCalls(stub func() error)

func (*TransferAction) ValidateReturns

func (fake *TransferAction) ValidateReturns(result1 error)

func (*TransferAction) ValidateReturnsOnCall

func (fake *TransferAction) ValidateReturnsOnCall(i int, result1 error)

type TransferService

type TransferService struct {
	DeserializeTransferActionStub func([]byte) (driver.TransferAction, error)

	TransferStub func(context.Context, driver.TokenRequestAnchor, driver.OwnerWallet, []*token.ID, []*token.Token, *driver.TransferOptions) (driver.TransferAction, *driver.TransferMetadata, error)

	VerifyTransferStub func(context.Context, driver.TransferAction, []*driver.TransferOutputMetadata) error
	// contains filtered or unexported fields
}

func (*TransferService) DeserializeTransferAction

func (fake *TransferService) DeserializeTransferAction(arg1 []byte) (driver.TransferAction, error)

func (*TransferService) DeserializeTransferActionArgsForCall

func (fake *TransferService) DeserializeTransferActionArgsForCall(i int) []byte

func (*TransferService) DeserializeTransferActionCallCount

func (fake *TransferService) DeserializeTransferActionCallCount() int

func (*TransferService) DeserializeTransferActionCalls

func (fake *TransferService) DeserializeTransferActionCalls(stub func([]byte) (driver.TransferAction, error))

func (*TransferService) DeserializeTransferActionReturns

func (fake *TransferService) DeserializeTransferActionReturns(result1 driver.TransferAction, result2 error)

func (*TransferService) DeserializeTransferActionReturnsOnCall

func (fake *TransferService) DeserializeTransferActionReturnsOnCall(i int, result1 driver.TransferAction, result2 error)

func (*TransferService) Invocations

func (fake *TransferService) Invocations() map[string][][]interface{}

func (*TransferService) Transfer

func (*TransferService) TransferArgsForCall

func (*TransferService) TransferCallCount

func (fake *TransferService) TransferCallCount() int

func (*TransferService) TransferReturns

func (fake *TransferService) TransferReturns(result1 driver.TransferAction, result2 *driver.TransferMetadata, result3 error)

func (*TransferService) TransferReturnsOnCall

func (fake *TransferService) TransferReturnsOnCall(i int, result1 driver.TransferAction, result2 *driver.TransferMetadata, result3 error)

func (*TransferService) VerifyTransfer

func (fake *TransferService) VerifyTransfer(arg1 context.Context, arg2 driver.TransferAction, arg3 []*driver.TransferOutputMetadata) error

func (*TransferService) VerifyTransferArgsForCall

func (fake *TransferService) VerifyTransferArgsForCall(i int) (context.Context, driver.TransferAction, []*driver.TransferOutputMetadata)

func (*TransferService) VerifyTransferCallCount

func (fake *TransferService) VerifyTransferCallCount() int

func (*TransferService) VerifyTransferCalls

func (fake *TransferService) VerifyTransferCalls(stub func(context.Context, driver.TransferAction, []*driver.TransferOutputMetadata) error)

func (*TransferService) VerifyTransferReturns

func (fake *TransferService) VerifyTransferReturns(result1 error)

func (*TransferService) VerifyTransferReturnsOnCall

func (fake *TransferService) VerifyTransferReturnsOnCall(i int, result1 error)

type UnspentTokensIterator

type UnspentTokensIterator struct {
	CloseStub func()

	NextStub func() (*token.UnspentToken, error)
	// contains filtered or unexported fields
}

func (*UnspentTokensIterator) Close

func (fake *UnspentTokensIterator) Close()

func (*UnspentTokensIterator) CloseCallCount

func (fake *UnspentTokensIterator) CloseCallCount() int

func (*UnspentTokensIterator) CloseCalls

func (fake *UnspentTokensIterator) CloseCalls(stub func())

func (*UnspentTokensIterator) Invocations

func (fake *UnspentTokensIterator) Invocations() map[string][][]interface{}

func (*UnspentTokensIterator) Next

func (fake *UnspentTokensIterator) Next() (*token.UnspentToken, error)

func (*UnspentTokensIterator) NextCallCount

func (fake *UnspentTokensIterator) NextCallCount() int

func (*UnspentTokensIterator) NextCalls

func (fake *UnspentTokensIterator) NextCalls(stub func() (*token.UnspentToken, error))

func (*UnspentTokensIterator) NextReturns

func (fake *UnspentTokensIterator) NextReturns(result1 *token.UnspentToken, result2 error)

func (*UnspentTokensIterator) NextReturnsOnCall

func (fake *UnspentTokensIterator) NextReturnsOnCall(i int, result1 *token.UnspentToken, result2 error)

type Validator

type Validator struct {
	SetMinProtocolVersionStub func(uint32)

	UnmarshalActionsStub func([]byte) ([]interface{}, error)

	VerifyTokenRequestFromRawStub func(context.Context, driver.GetStateFnc, driver.TokenRequestAnchor, []byte) ([]interface{}, driver.ValidationAttributes, error)
	// contains filtered or unexported fields
}

func (*Validator) Invocations

func (fake *Validator) Invocations() map[string][][]interface{}

func (*Validator) SetMinProtocolVersion

func (fake *Validator) SetMinProtocolVersion(arg1 uint32)

func (*Validator) SetMinProtocolVersionArgsForCall

func (fake *Validator) SetMinProtocolVersionArgsForCall(i int) uint32

func (*Validator) SetMinProtocolVersionCallCount

func (fake *Validator) SetMinProtocolVersionCallCount() int

func (*Validator) SetMinProtocolVersionCalls

func (fake *Validator) SetMinProtocolVersionCalls(stub func(uint32))

func (*Validator) UnmarshalActions

func (fake *Validator) UnmarshalActions(arg1 []byte) ([]interface{}, error)

func (*Validator) UnmarshalActionsArgsForCall

func (fake *Validator) UnmarshalActionsArgsForCall(i int) []byte

func (*Validator) UnmarshalActionsCallCount

func (fake *Validator) UnmarshalActionsCallCount() int

func (*Validator) UnmarshalActionsCalls

func (fake *Validator) UnmarshalActionsCalls(stub func([]byte) ([]interface{}, error))

func (*Validator) UnmarshalActionsReturns

func (fake *Validator) UnmarshalActionsReturns(result1 []interface{}, result2 error)

func (*Validator) UnmarshalActionsReturnsOnCall

func (fake *Validator) UnmarshalActionsReturnsOnCall(i int, result1 []interface{}, result2 error)

func (*Validator) VerifyTokenRequestFromRaw

func (fake *Validator) VerifyTokenRequestFromRaw(arg1 context.Context, arg2 driver.GetStateFnc, arg3 driver.TokenRequestAnchor, arg4 []byte) ([]interface{}, driver.ValidationAttributes, error)

func (*Validator) VerifyTokenRequestFromRawArgsForCall

func (fake *Validator) VerifyTokenRequestFromRawArgsForCall(i int) (context.Context, driver.GetStateFnc, driver.TokenRequestAnchor, []byte)

func (*Validator) VerifyTokenRequestFromRawCallCount

func (fake *Validator) VerifyTokenRequestFromRawCallCount() int

func (*Validator) VerifyTokenRequestFromRawCalls

func (fake *Validator) VerifyTokenRequestFromRawCalls(stub func(context.Context, driver.GetStateFnc, driver.TokenRequestAnchor, []byte) ([]interface{}, driver.ValidationAttributes, error))

func (*Validator) VerifyTokenRequestFromRawReturns

func (fake *Validator) VerifyTokenRequestFromRawReturns(result1 []interface{}, result2 driver.ValidationAttributes, result3 error)

func (*Validator) VerifyTokenRequestFromRawReturnsOnCall

func (fake *Validator) VerifyTokenRequestFromRawReturnsOnCall(i int, result1 []interface{}, result2 driver.ValidationAttributes, result3 error)

type ValidatorDriver

type ValidatorDriver struct {
	NewValidatorStub func(driver.PublicParameters) (driver.Validator, error)

	PublicParametersFromBytesStub func([]byte) (driver.PublicParameters, error)
	// contains filtered or unexported fields
}

func (*ValidatorDriver) Invocations

func (fake *ValidatorDriver) Invocations() map[string][][]interface{}

func (*ValidatorDriver) NewValidator

func (fake *ValidatorDriver) NewValidator(arg1 driver.PublicParameters) (driver.Validator, error)

func (*ValidatorDriver) NewValidatorArgsForCall

func (fake *ValidatorDriver) NewValidatorArgsForCall(i int) driver.PublicParameters

func (*ValidatorDriver) NewValidatorCallCount

func (fake *ValidatorDriver) NewValidatorCallCount() int

func (*ValidatorDriver) NewValidatorCalls

func (fake *ValidatorDriver) NewValidatorCalls(stub func(driver.PublicParameters) (driver.Validator, error))

func (*ValidatorDriver) NewValidatorReturns

func (fake *ValidatorDriver) NewValidatorReturns(result1 driver.Validator, result2 error)

func (*ValidatorDriver) NewValidatorReturnsOnCall

func (fake *ValidatorDriver) NewValidatorReturnsOnCall(i int, result1 driver.Validator, result2 error)

func (*ValidatorDriver) PublicParametersFromBytes

func (fake *ValidatorDriver) PublicParametersFromBytes(arg1 []byte) (driver.PublicParameters, error)

func (*ValidatorDriver) PublicParametersFromBytesArgsForCall

func (fake *ValidatorDriver) PublicParametersFromBytesArgsForCall(i int) []byte

func (*ValidatorDriver) PublicParametersFromBytesCallCount

func (fake *ValidatorDriver) PublicParametersFromBytesCallCount() int

func (*ValidatorDriver) PublicParametersFromBytesCalls

func (fake *ValidatorDriver) PublicParametersFromBytesCalls(stub func([]byte) (driver.PublicParameters, error))

func (*ValidatorDriver) PublicParametersFromBytesReturns

func (fake *ValidatorDriver) PublicParametersFromBytesReturns(result1 driver.PublicParameters, result2 error)

func (*ValidatorDriver) PublicParametersFromBytesReturnsOnCall

func (fake *ValidatorDriver) PublicParametersFromBytesReturnsOnCall(i int, result1 driver.PublicParameters, result2 error)

type ValidatorLedger

type ValidatorLedger struct {
	GetStateStub func(token.ID) ([]byte, error)
	// contains filtered or unexported fields
}

func (*ValidatorLedger) GetState

func (fake *ValidatorLedger) GetState(arg1 token.ID) ([]byte, error)

func (*ValidatorLedger) GetStateArgsForCall

func (fake *ValidatorLedger) GetStateArgsForCall(i int) token.ID

func (*ValidatorLedger) GetStateCallCount

func (fake *ValidatorLedger) GetStateCallCount() int

func (*ValidatorLedger) GetStateCalls

func (fake *ValidatorLedger) GetStateCalls(stub func(token.ID) ([]byte, error))

func (*ValidatorLedger) GetStateReturns

func (fake *ValidatorLedger) GetStateReturns(result1 []byte, result2 error)

func (*ValidatorLedger) GetStateReturnsOnCall

func (fake *ValidatorLedger) GetStateReturnsOnCall(i int, result1 []byte, result2 error)

func (*ValidatorLedger) Invocations

func (fake *ValidatorLedger) Invocations() map[string][][]interface{}

type Vault

type Vault struct {
	CertificationStorageStub func() driver.CertificationStorage

	QueryEngineStub func() driver.QueryEngine
	// contains filtered or unexported fields
}

func (*Vault) CertificationStorage

func (fake *Vault) CertificationStorage() driver.CertificationStorage

func (*Vault) CertificationStorageCallCount

func (fake *Vault) CertificationStorageCallCount() int

func (*Vault) CertificationStorageCalls

func (fake *Vault) CertificationStorageCalls(stub func() driver.CertificationStorage)

func (*Vault) CertificationStorageReturns

func (fake *Vault) CertificationStorageReturns(result1 driver.CertificationStorage)

func (*Vault) CertificationStorageReturnsOnCall

func (fake *Vault) CertificationStorageReturnsOnCall(i int, result1 driver.CertificationStorage)

func (*Vault) Invocations

func (fake *Vault) Invocations() map[string][][]interface{}

func (*Vault) QueryEngine

func (fake *Vault) QueryEngine() driver.QueryEngine

func (*Vault) QueryEngineCallCount

func (fake *Vault) QueryEngineCallCount() int

func (*Vault) QueryEngineCalls

func (fake *Vault) QueryEngineCalls(stub func() driver.QueryEngine)

func (*Vault) QueryEngineReturns

func (fake *Vault) QueryEngineReturns(result1 driver.QueryEngine)

func (*Vault) QueryEngineReturnsOnCall

func (fake *Vault) QueryEngineReturnsOnCall(i int, result1 driver.QueryEngine)

type Verifier

type Verifier struct {
	VerifyStub func([]byte, []byte) error
	// contains filtered or unexported fields
}

func (*Verifier) Invocations

func (fake *Verifier) Invocations() map[string][][]interface{}

func (*Verifier) Verify

func (fake *Verifier) Verify(arg1 []byte, arg2 []byte) error

func (*Verifier) VerifyArgsForCall

func (fake *Verifier) VerifyArgsForCall(i int) ([]byte, []byte)

func (*Verifier) VerifyCallCount

func (fake *Verifier) VerifyCallCount() int

func (*Verifier) VerifyCalls

func (fake *Verifier) VerifyCalls(stub func([]byte, []byte) error)

func (*Verifier) VerifyReturns

func (fake *Verifier) VerifyReturns(result1 error)

func (*Verifier) VerifyReturnsOnCall

func (fake *Verifier) VerifyReturnsOnCall(i int, result1 error)

type VerifierDeserializer

type VerifierDeserializer struct {
	DeserializeVerifierStub func(context.Context, driver.Identity) (driver.Verifier, error)
	// contains filtered or unexported fields
}

func (*VerifierDeserializer) DeserializeVerifier

func (fake *VerifierDeserializer) DeserializeVerifier(arg1 context.Context, arg2 driver.Identity) (driver.Verifier, error)

func (*VerifierDeserializer) DeserializeVerifierArgsForCall

func (fake *VerifierDeserializer) DeserializeVerifierArgsForCall(i int) (context.Context, driver.Identity)

func (*VerifierDeserializer) DeserializeVerifierCallCount

func (fake *VerifierDeserializer) DeserializeVerifierCallCount() int

func (*VerifierDeserializer) DeserializeVerifierCalls

func (fake *VerifierDeserializer) DeserializeVerifierCalls(stub func(context.Context, driver.Identity) (driver.Verifier, error))

func (*VerifierDeserializer) DeserializeVerifierReturns

func (fake *VerifierDeserializer) DeserializeVerifierReturns(result1 driver.Verifier, result2 error)

func (*VerifierDeserializer) DeserializeVerifierReturnsOnCall

func (fake *VerifierDeserializer) DeserializeVerifierReturnsOnCall(i int, result1 driver.Verifier, result2 error)

func (*VerifierDeserializer) Invocations

func (fake *VerifierDeserializer) Invocations() map[string][][]interface{}

type Wallet

type Wallet struct {
	ContainsStub func(context.Context, driver.Identity) bool

	ContainsTokenStub func(context.Context, *token.UnspentToken) bool

	GetSignerStub func(context.Context, driver.Identity) (driver.Signer, error)

	IDStub func() string
	// contains filtered or unexported fields
}

func (*Wallet) Contains

func (fake *Wallet) Contains(arg1 context.Context, arg2 driver.Identity) bool

func (*Wallet) ContainsArgsForCall

func (fake *Wallet) ContainsArgsForCall(i int) (context.Context, driver.Identity)

func (*Wallet) ContainsCallCount

func (fake *Wallet) ContainsCallCount() int

func (*Wallet) ContainsCalls

func (fake *Wallet) ContainsCalls(stub func(context.Context, driver.Identity) bool)

func (*Wallet) ContainsReturns

func (fake *Wallet) ContainsReturns(result1 bool)

func (*Wallet) ContainsReturnsOnCall

func (fake *Wallet) ContainsReturnsOnCall(i int, result1 bool)

func (*Wallet) ContainsToken

func (fake *Wallet) ContainsToken(arg1 context.Context, arg2 *token.UnspentToken) bool

func (*Wallet) ContainsTokenArgsForCall

func (fake *Wallet) ContainsTokenArgsForCall(i int) (context.Context, *token.UnspentToken)

func (*Wallet) ContainsTokenCallCount

func (fake *Wallet) ContainsTokenCallCount() int

func (*Wallet) ContainsTokenCalls

func (fake *Wallet) ContainsTokenCalls(stub func(context.Context, *token.UnspentToken) bool)

func (*Wallet) ContainsTokenReturns

func (fake *Wallet) ContainsTokenReturns(result1 bool)

func (*Wallet) ContainsTokenReturnsOnCall

func (fake *Wallet) ContainsTokenReturnsOnCall(i int, result1 bool)

func (*Wallet) GetSigner

func (fake *Wallet) GetSigner(arg1 context.Context, arg2 driver.Identity) (driver.Signer, error)

func (*Wallet) GetSignerArgsForCall

func (fake *Wallet) GetSignerArgsForCall(i int) (context.Context, driver.Identity)

func (*Wallet) GetSignerCallCount

func (fake *Wallet) GetSignerCallCount() int

func (*Wallet) GetSignerCalls

func (fake *Wallet) GetSignerCalls(stub func(context.Context, driver.Identity) (driver.Signer, error))

func (*Wallet) GetSignerReturns

func (fake *Wallet) GetSignerReturns(result1 driver.Signer, result2 error)

func (*Wallet) GetSignerReturnsOnCall

func (fake *Wallet) GetSignerReturnsOnCall(i int, result1 driver.Signer, result2 error)

func (*Wallet) ID

func (fake *Wallet) ID() string

func (*Wallet) IDCallCount

func (fake *Wallet) IDCallCount() int

func (*Wallet) IDCalls

func (fake *Wallet) IDCalls(stub func() string)

func (*Wallet) IDReturns

func (fake *Wallet) IDReturns(result1 string)

func (*Wallet) IDReturnsOnCall

func (fake *Wallet) IDReturnsOnCall(i int, result1 string)

func (*Wallet) Invocations

func (fake *Wallet) Invocations() map[string][][]interface{}

type WalletService

type WalletService struct {
	AuditorWalletStub func(context.Context, driver.WalletLookupID) (driver.AuditorWallet, error)

	CertifierWalletStub func(context.Context, driver.WalletLookupID) (driver.CertifierWallet, error)

	DoneStub func() error

	GetAuditInfoStub func(context.Context, driver.Identity) ([]byte, error)

	GetEIDAndRHStub func(context.Context, driver.Identity, []byte) (string, string, error)

	GetEnrollmentIDStub func(context.Context, driver.Identity, []byte) (string, error)

	GetRevocationHandleStub func(context.Context, driver.Identity, []byte) (string, error)

	IssuerWalletStub func(context.Context, driver.WalletLookupID) (driver.IssuerWallet, error)

	OwnerWalletStub func(context.Context, driver.WalletLookupID) (driver.OwnerWallet, error)

	OwnerWalletIDsStub func(context.Context) ([]string, error)

	RegisterIssuerIdentityStub func(context.Context, driver.IdentityConfiguration) error

	RegisterOwnerIdentityStub func(context.Context, driver.IdentityConfiguration) error

	RegisterRecipientIdentityStub func(context.Context, *driver.RecipientData) error

	SpendIDsStub func(...*token.ID) ([]string, error)

	WalletStub func(context.Context, driver.Identity) driver.Wallet
	// contains filtered or unexported fields
}

func (*WalletService) AuditorWallet

func (fake *WalletService) AuditorWallet(arg1 context.Context, arg2 driver.WalletLookupID) (driver.AuditorWallet, error)

func (*WalletService) AuditorWalletArgsForCall

func (fake *WalletService) AuditorWalletArgsForCall(i int) (context.Context, driver.WalletLookupID)

func (*WalletService) AuditorWalletCallCount

func (fake *WalletService) AuditorWalletCallCount() int

func (*WalletService) AuditorWalletCalls

func (fake *WalletService) AuditorWalletCalls(stub func(context.Context, driver.WalletLookupID) (driver.AuditorWallet, error))

func (*WalletService) AuditorWalletReturns

func (fake *WalletService) AuditorWalletReturns(result1 driver.AuditorWallet, result2 error)

func (*WalletService) AuditorWalletReturnsOnCall

func (fake *WalletService) AuditorWalletReturnsOnCall(i int, result1 driver.AuditorWallet, result2 error)

func (*WalletService) CertifierWallet

func (fake *WalletService) CertifierWallet(arg1 context.Context, arg2 driver.WalletLookupID) (driver.CertifierWallet, error)

func (*WalletService) CertifierWalletArgsForCall

func (fake *WalletService) CertifierWalletArgsForCall(i int) (context.Context, driver.WalletLookupID)

func (*WalletService) CertifierWalletCallCount

func (fake *WalletService) CertifierWalletCallCount() int

func (*WalletService) CertifierWalletCalls

func (fake *WalletService) CertifierWalletCalls(stub func(context.Context, driver.WalletLookupID) (driver.CertifierWallet, error))

func (*WalletService) CertifierWalletReturns

func (fake *WalletService) CertifierWalletReturns(result1 driver.CertifierWallet, result2 error)

func (*WalletService) CertifierWalletReturnsOnCall

func (fake *WalletService) CertifierWalletReturnsOnCall(i int, result1 driver.CertifierWallet, result2 error)

func (*WalletService) Done

func (fake *WalletService) Done() error

func (*WalletService) DoneCallCount

func (fake *WalletService) DoneCallCount() int

func (*WalletService) DoneCalls

func (fake *WalletService) DoneCalls(stub func() error)

func (*WalletService) DoneReturns

func (fake *WalletService) DoneReturns(result1 error)

func (*WalletService) DoneReturnsOnCall

func (fake *WalletService) DoneReturnsOnCall(i int, result1 error)

func (*WalletService) GetAuditInfo

func (fake *WalletService) GetAuditInfo(arg1 context.Context, arg2 driver.Identity) ([]byte, error)

func (*WalletService) GetAuditInfoArgsForCall

func (fake *WalletService) GetAuditInfoArgsForCall(i int) (context.Context, driver.Identity)

func (*WalletService) GetAuditInfoCallCount

func (fake *WalletService) GetAuditInfoCallCount() int

func (*WalletService) GetAuditInfoCalls

func (fake *WalletService) GetAuditInfoCalls(stub func(context.Context, driver.Identity) ([]byte, error))

func (*WalletService) GetAuditInfoReturns

func (fake *WalletService) GetAuditInfoReturns(result1 []byte, result2 error)

func (*WalletService) GetAuditInfoReturnsOnCall

func (fake *WalletService) GetAuditInfoReturnsOnCall(i int, result1 []byte, result2 error)

func (*WalletService) GetEIDAndRH

func (fake *WalletService) GetEIDAndRH(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (string, string, error)

func (*WalletService) GetEIDAndRHArgsForCall

func (fake *WalletService) GetEIDAndRHArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*WalletService) GetEIDAndRHCallCount

func (fake *WalletService) GetEIDAndRHCallCount() int

func (*WalletService) GetEIDAndRHCalls

func (fake *WalletService) GetEIDAndRHCalls(stub func(context.Context, driver.Identity, []byte) (string, string, error))

func (*WalletService) GetEIDAndRHReturns

func (fake *WalletService) GetEIDAndRHReturns(result1 string, result2 string, result3 error)

func (*WalletService) GetEIDAndRHReturnsOnCall

func (fake *WalletService) GetEIDAndRHReturnsOnCall(i int, result1 string, result2 string, result3 error)

func (*WalletService) GetEnrollmentID

func (fake *WalletService) GetEnrollmentID(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (string, error)

func (*WalletService) GetEnrollmentIDArgsForCall

func (fake *WalletService) GetEnrollmentIDArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*WalletService) GetEnrollmentIDCallCount

func (fake *WalletService) GetEnrollmentIDCallCount() int

func (*WalletService) GetEnrollmentIDCalls

func (fake *WalletService) GetEnrollmentIDCalls(stub func(context.Context, driver.Identity, []byte) (string, error))

func (*WalletService) GetEnrollmentIDReturns

func (fake *WalletService) GetEnrollmentIDReturns(result1 string, result2 error)

func (*WalletService) GetEnrollmentIDReturnsOnCall

func (fake *WalletService) GetEnrollmentIDReturnsOnCall(i int, result1 string, result2 error)

func (*WalletService) GetRevocationHandle

func (fake *WalletService) GetRevocationHandle(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (string, error)

func (*WalletService) GetRevocationHandleArgsForCall

func (fake *WalletService) GetRevocationHandleArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*WalletService) GetRevocationHandleCallCount

func (fake *WalletService) GetRevocationHandleCallCount() int

func (*WalletService) GetRevocationHandleCalls

func (fake *WalletService) GetRevocationHandleCalls(stub func(context.Context, driver.Identity, []byte) (string, error))

func (*WalletService) GetRevocationHandleReturns

func (fake *WalletService) GetRevocationHandleReturns(result1 string, result2 error)

func (*WalletService) GetRevocationHandleReturnsOnCall

func (fake *WalletService) GetRevocationHandleReturnsOnCall(i int, result1 string, result2 error)

func (*WalletService) Invocations

func (fake *WalletService) Invocations() map[string][][]interface{}

func (*WalletService) IssuerWallet

func (fake *WalletService) IssuerWallet(arg1 context.Context, arg2 driver.WalletLookupID) (driver.IssuerWallet, error)

func (*WalletService) IssuerWalletArgsForCall

func (fake *WalletService) IssuerWalletArgsForCall(i int) (context.Context, driver.WalletLookupID)

func (*WalletService) IssuerWalletCallCount

func (fake *WalletService) IssuerWalletCallCount() int

func (*WalletService) IssuerWalletCalls

func (fake *WalletService) IssuerWalletCalls(stub func(context.Context, driver.WalletLookupID) (driver.IssuerWallet, error))

func (*WalletService) IssuerWalletReturns

func (fake *WalletService) IssuerWalletReturns(result1 driver.IssuerWallet, result2 error)

func (*WalletService) IssuerWalletReturnsOnCall

func (fake *WalletService) IssuerWalletReturnsOnCall(i int, result1 driver.IssuerWallet, result2 error)

func (*WalletService) OwnerWallet

func (fake *WalletService) OwnerWallet(arg1 context.Context, arg2 driver.WalletLookupID) (driver.OwnerWallet, error)

func (*WalletService) OwnerWalletArgsForCall

func (fake *WalletService) OwnerWalletArgsForCall(i int) (context.Context, driver.WalletLookupID)

func (*WalletService) OwnerWalletCallCount

func (fake *WalletService) OwnerWalletCallCount() int

func (*WalletService) OwnerWalletCalls

func (fake *WalletService) OwnerWalletCalls(stub func(context.Context, driver.WalletLookupID) (driver.OwnerWallet, error))

func (*WalletService) OwnerWalletIDs

func (fake *WalletService) OwnerWalletIDs(arg1 context.Context) ([]string, error)

func (*WalletService) OwnerWalletIDsArgsForCall

func (fake *WalletService) OwnerWalletIDsArgsForCall(i int) context.Context

func (*WalletService) OwnerWalletIDsCallCount

func (fake *WalletService) OwnerWalletIDsCallCount() int

func (*WalletService) OwnerWalletIDsCalls

func (fake *WalletService) OwnerWalletIDsCalls(stub func(context.Context) ([]string, error))

func (*WalletService) OwnerWalletIDsReturns

func (fake *WalletService) OwnerWalletIDsReturns(result1 []string, result2 error)

func (*WalletService) OwnerWalletIDsReturnsOnCall

func (fake *WalletService) OwnerWalletIDsReturnsOnCall(i int, result1 []string, result2 error)

func (*WalletService) OwnerWalletReturns

func (fake *WalletService) OwnerWalletReturns(result1 driver.OwnerWallet, result2 error)

func (*WalletService) OwnerWalletReturnsOnCall

func (fake *WalletService) OwnerWalletReturnsOnCall(i int, result1 driver.OwnerWallet, result2 error)

func (*WalletService) RegisterIssuerIdentity

func (fake *WalletService) RegisterIssuerIdentity(arg1 context.Context, arg2 driver.IdentityConfiguration) error

func (*WalletService) RegisterIssuerIdentityArgsForCall

func (fake *WalletService) RegisterIssuerIdentityArgsForCall(i int) (context.Context, driver.IdentityConfiguration)

func (*WalletService) RegisterIssuerIdentityCallCount

func (fake *WalletService) RegisterIssuerIdentityCallCount() int

func (*WalletService) RegisterIssuerIdentityCalls

func (fake *WalletService) RegisterIssuerIdentityCalls(stub func(context.Context, driver.IdentityConfiguration) error)

func (*WalletService) RegisterIssuerIdentityReturns

func (fake *WalletService) RegisterIssuerIdentityReturns(result1 error)

func (*WalletService) RegisterIssuerIdentityReturnsOnCall

func (fake *WalletService) RegisterIssuerIdentityReturnsOnCall(i int, result1 error)

func (*WalletService) RegisterOwnerIdentity

func (fake *WalletService) RegisterOwnerIdentity(arg1 context.Context, arg2 driver.IdentityConfiguration) error

func (*WalletService) RegisterOwnerIdentityArgsForCall

func (fake *WalletService) RegisterOwnerIdentityArgsForCall(i int) (context.Context, driver.IdentityConfiguration)

func (*WalletService) RegisterOwnerIdentityCallCount

func (fake *WalletService) RegisterOwnerIdentityCallCount() int

func (*WalletService) RegisterOwnerIdentityCalls

func (fake *WalletService) RegisterOwnerIdentityCalls(stub func(context.Context, driver.IdentityConfiguration) error)

func (*WalletService) RegisterOwnerIdentityReturns

func (fake *WalletService) RegisterOwnerIdentityReturns(result1 error)

func (*WalletService) RegisterOwnerIdentityReturnsOnCall

func (fake *WalletService) RegisterOwnerIdentityReturnsOnCall(i int, result1 error)

func (*WalletService) RegisterRecipientIdentity

func (fake *WalletService) RegisterRecipientIdentity(arg1 context.Context, arg2 *driver.RecipientData) error

func (*WalletService) RegisterRecipientIdentityArgsForCall

func (fake *WalletService) RegisterRecipientIdentityArgsForCall(i int) (context.Context, *driver.RecipientData)

func (*WalletService) RegisterRecipientIdentityCallCount

func (fake *WalletService) RegisterRecipientIdentityCallCount() int

func (*WalletService) RegisterRecipientIdentityCalls

func (fake *WalletService) RegisterRecipientIdentityCalls(stub func(context.Context, *driver.RecipientData) error)

func (*WalletService) RegisterRecipientIdentityReturns

func (fake *WalletService) RegisterRecipientIdentityReturns(result1 error)

func (*WalletService) RegisterRecipientIdentityReturnsOnCall

func (fake *WalletService) RegisterRecipientIdentityReturnsOnCall(i int, result1 error)

func (*WalletService) SpendIDs

func (fake *WalletService) SpendIDs(arg1 ...*token.ID) ([]string, error)

func (*WalletService) SpendIDsArgsForCall

func (fake *WalletService) SpendIDsArgsForCall(i int) []*token.ID

func (*WalletService) SpendIDsCallCount

func (fake *WalletService) SpendIDsCallCount() int

func (*WalletService) SpendIDsCalls

func (fake *WalletService) SpendIDsCalls(stub func(...*token.ID) ([]string, error))

func (*WalletService) SpendIDsReturns

func (fake *WalletService) SpendIDsReturns(result1 []string, result2 error)

func (*WalletService) SpendIDsReturnsOnCall

func (fake *WalletService) SpendIDsReturnsOnCall(i int, result1 []string, result2 error)

func (*WalletService) Wallet

func (fake *WalletService) Wallet(arg1 context.Context, arg2 driver.Identity) driver.Wallet

func (*WalletService) WalletArgsForCall

func (fake *WalletService) WalletArgsForCall(i int) (context.Context, driver.Identity)

func (*WalletService) WalletCallCount

func (fake *WalletService) WalletCallCount() int

func (*WalletService) WalletCalls

func (fake *WalletService) WalletCalls(stub func(context.Context, driver.Identity) driver.Wallet)

func (*WalletService) WalletReturns

func (fake *WalletService) WalletReturns(result1 driver.Wallet)

func (*WalletService) WalletReturnsOnCall

func (fake *WalletService) WalletReturnsOnCall(i int, result1 driver.Wallet)

type WalletServiceFactory

type WalletServiceFactory struct {
	NewWalletServiceStub func(driver.Configuration, driver.PublicParameters) (driver.WalletService, error)

	PublicParametersFromBytesStub func([]byte) (driver.PublicParameters, error)
	// contains filtered or unexported fields
}

func (*WalletServiceFactory) Invocations

func (fake *WalletServiceFactory) Invocations() map[string][][]interface{}

func (*WalletServiceFactory) NewWalletService

func (*WalletServiceFactory) NewWalletServiceArgsForCall

func (fake *WalletServiceFactory) NewWalletServiceArgsForCall(i int) (driver.Configuration, driver.PublicParameters)

func (*WalletServiceFactory) NewWalletServiceCallCount

func (fake *WalletServiceFactory) NewWalletServiceCallCount() int

func (*WalletServiceFactory) NewWalletServiceCalls

func (fake *WalletServiceFactory) NewWalletServiceCalls(stub func(driver.Configuration, driver.PublicParameters) (driver.WalletService, error))

func (*WalletServiceFactory) NewWalletServiceReturns

func (fake *WalletServiceFactory) NewWalletServiceReturns(result1 driver.WalletService, result2 error)

func (*WalletServiceFactory) NewWalletServiceReturnsOnCall

func (fake *WalletServiceFactory) NewWalletServiceReturnsOnCall(i int, result1 driver.WalletService, result2 error)

func (*WalletServiceFactory) PublicParametersFromBytes

func (fake *WalletServiceFactory) PublicParametersFromBytes(arg1 []byte) (driver.PublicParameters, error)

func (*WalletServiceFactory) PublicParametersFromBytesArgsForCall

func (fake *WalletServiceFactory) PublicParametersFromBytesArgsForCall(i int) []byte

func (*WalletServiceFactory) PublicParametersFromBytesCallCount

func (fake *WalletServiceFactory) PublicParametersFromBytesCallCount() int

func (*WalletServiceFactory) PublicParametersFromBytesCalls

func (fake *WalletServiceFactory) PublicParametersFromBytesCalls(stub func([]byte) (driver.PublicParameters, error))

func (*WalletServiceFactory) PublicParametersFromBytesReturns

func (fake *WalletServiceFactory) PublicParametersFromBytesReturns(result1 driver.PublicParameters, result2 error)

func (*WalletServiceFactory) PublicParametersFromBytesReturnsOnCall

func (fake *WalletServiceFactory) PublicParametersFromBytesReturnsOnCall(i int, result1 driver.PublicParameters, result2 error)

Jump to

Keyboard shortcuts

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