Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockAddressApi
- func (m *MockAddressApi) CreateByPubkey(pubkey *types.Pubkey, addressType types.AddressType) (*types.Address, error)
- func (m *MockAddressApi) CreateByScript(redeemScript *types.Script, addressType types.AddressType) (*types.Address, error)
- func (m *MockAddressApi) CreateMultisigAddress(pubkeys *[]types.Pubkey, requireNum uint32, addressType types.AddressType) (*types.Address, *types.Script, error)
- func (m *MockAddressApi) EXPECT() *MockAddressApiMockRecorder
- func (m *MockAddressApi) GetNetworkTypes() []types.NetworkType
- func (m *MockAddressApi) ParseAddress(addressString string) (*types.Address, error)
- type MockAddressApiMockRecorder
- func (mr *MockAddressApiMockRecorder) CreateByPubkey(pubkey, addressType interface{}) *gomock.Call
- func (mr *MockAddressApiMockRecorder) CreateByScript(redeemScript, addressType interface{}) *gomock.Call
- func (mr *MockAddressApiMockRecorder) CreateMultisigAddress(pubkeys, requireNum, addressType interface{}) *gomock.Call
- func (mr *MockAddressApiMockRecorder) GetNetworkTypes() *gomock.Call
- func (mr *MockAddressApiMockRecorder) ParseAddress(addressString interface{}) *gomock.Call
- type MockConfidentialAddressApi
- func (m *MockConfidentialAddressApi) Create(addressString string, confidentialKey *types.Pubkey) (*types.ConfidentialAddress, error)
- func (m *MockConfidentialAddressApi) EXPECT() *MockConfidentialAddressApiMockRecorder
- func (m *MockConfidentialAddressApi) Parse(addressString string) (*types.ConfidentialAddress, error)
- type MockConfidentialAddressApiMockRecorder
- type MockElementsAddressApi
- func (m *MockElementsAddressApi) CreateByPubkey(pubkey *types.Pubkey, addressType types.AddressType) (*types.Address, error)
- func (m *MockElementsAddressApi) CreateByScript(redeemScript *types.Script, addressType types.AddressType) (*types.Address, error)
- func (m *MockElementsAddressApi) CreateMultisigAddress(pubkeys *[]types.Pubkey, requireNum uint32, addressType types.AddressType) (*types.Address, *types.Script, error)
- func (m *MockElementsAddressApi) EXPECT() *MockElementsAddressApiMockRecorder
- func (m *MockElementsAddressApi) GetNetworkTypes() []types.NetworkType
- func (m *MockElementsAddressApi) GetPeginAddressByPubkey(addressType types.AddressType, fedpegScript, pubkey string) (*types.Address, *types.Script, error)
- func (m *MockElementsAddressApi) GetPegoutAddress(addressType types.AddressType, descriptorOrXpub string, bip32Counter uint32) (*types.Address, *string, error)
- func (m *MockElementsAddressApi) ParseAddress(addressString string) (*types.Address, error)
- type MockElementsAddressApiMockRecorder
- func (mr *MockElementsAddressApiMockRecorder) CreateByPubkey(pubkey, addressType interface{}) *gomock.Call
- func (mr *MockElementsAddressApiMockRecorder) CreateByScript(redeemScript, addressType interface{}) *gomock.Call
- func (mr *MockElementsAddressApiMockRecorder) CreateMultisigAddress(pubkeys, requireNum, addressType interface{}) *gomock.Call
- func (mr *MockElementsAddressApiMockRecorder) GetNetworkTypes() *gomock.Call
- func (mr *MockElementsAddressApiMockRecorder) GetPeginAddressByPubkey(addressType, fedpegScript, pubkey interface{}) *gomock.Call
- func (mr *MockElementsAddressApiMockRecorder) GetPegoutAddress(addressType, descriptorOrXpub, bip32Counter interface{}) *gomock.Call
- func (mr *MockElementsAddressApiMockRecorder) ParseAddress(addressString interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAddressApi ¶
type MockAddressApi struct {
// contains filtered or unexported fields
}
MockAddressApi is a mock of AddressApi interface.
func NewMockAddressApi ¶
func NewMockAddressApi(ctrl *gomock.Controller) *MockAddressApi
NewMockAddressApi creates a new mock instance.
func (*MockAddressApi) CreateByPubkey ¶
func (m *MockAddressApi) CreateByPubkey(pubkey *types.Pubkey, addressType types.AddressType) (*types.Address, error)
CreateByPubkey mocks base method.
func (*MockAddressApi) CreateByScript ¶
func (m *MockAddressApi) CreateByScript(redeemScript *types.Script, addressType types.AddressType) (*types.Address, error)
CreateByScript mocks base method.
func (*MockAddressApi) CreateMultisigAddress ¶
func (m *MockAddressApi) CreateMultisigAddress(pubkeys *[]types.Pubkey, requireNum uint32, addressType types.AddressType) (*types.Address, *types.Script, error)
CreateMultisigAddress mocks base method.
func (*MockAddressApi) EXPECT ¶
func (m *MockAddressApi) EXPECT() *MockAddressApiMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAddressApi) GetNetworkTypes ¶
func (m *MockAddressApi) GetNetworkTypes() []types.NetworkType
GetNetworkTypes mocks base method.
func (*MockAddressApi) ParseAddress ¶
func (m *MockAddressApi) ParseAddress(addressString string) (*types.Address, error)
ParseAddress mocks base method.
type MockAddressApiMockRecorder ¶
type MockAddressApiMockRecorder struct {
// contains filtered or unexported fields
}
MockAddressApiMockRecorder is the mock recorder for MockAddressApi.
func (*MockAddressApiMockRecorder) CreateByPubkey ¶
func (mr *MockAddressApiMockRecorder) CreateByPubkey(pubkey, addressType interface{}) *gomock.Call
CreateByPubkey indicates an expected call of CreateByPubkey.
func (*MockAddressApiMockRecorder) CreateByScript ¶
func (mr *MockAddressApiMockRecorder) CreateByScript(redeemScript, addressType interface{}) *gomock.Call
CreateByScript indicates an expected call of CreateByScript.
func (*MockAddressApiMockRecorder) CreateMultisigAddress ¶
func (mr *MockAddressApiMockRecorder) CreateMultisigAddress(pubkeys, requireNum, addressType interface{}) *gomock.Call
CreateMultisigAddress indicates an expected call of CreateMultisigAddress.
func (*MockAddressApiMockRecorder) GetNetworkTypes ¶
func (mr *MockAddressApiMockRecorder) GetNetworkTypes() *gomock.Call
GetNetworkTypes indicates an expected call of GetNetworkTypes.
func (*MockAddressApiMockRecorder) ParseAddress ¶
func (mr *MockAddressApiMockRecorder) ParseAddress(addressString interface{}) *gomock.Call
ParseAddress indicates an expected call of ParseAddress.
type MockConfidentialAddressApi ¶
type MockConfidentialAddressApi struct {
// contains filtered or unexported fields
}
MockConfidentialAddressApi is a mock of ConfidentialAddressApi interface.
func NewMockConfidentialAddressApi ¶
func NewMockConfidentialAddressApi(ctrl *gomock.Controller) *MockConfidentialAddressApi
NewMockConfidentialAddressApi creates a new mock instance.
func (*MockConfidentialAddressApi) Create ¶
func (m *MockConfidentialAddressApi) Create(addressString string, confidentialKey *types.Pubkey) (*types.ConfidentialAddress, error)
Create mocks base method.
func (*MockConfidentialAddressApi) EXPECT ¶
func (m *MockConfidentialAddressApi) EXPECT() *MockConfidentialAddressApiMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConfidentialAddressApi) Parse ¶
func (m *MockConfidentialAddressApi) Parse(addressString string) (*types.ConfidentialAddress, error)
Parse mocks base method.
type MockConfidentialAddressApiMockRecorder ¶
type MockConfidentialAddressApiMockRecorder struct {
// contains filtered or unexported fields
}
MockConfidentialAddressApiMockRecorder is the mock recorder for MockConfidentialAddressApi.
func (*MockConfidentialAddressApiMockRecorder) Create ¶
func (mr *MockConfidentialAddressApiMockRecorder) Create(addressString, confidentialKey interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockConfidentialAddressApiMockRecorder) Parse ¶
func (mr *MockConfidentialAddressApiMockRecorder) Parse(addressString interface{}) *gomock.Call
Parse indicates an expected call of Parse.
type MockElementsAddressApi ¶
type MockElementsAddressApi struct {
// contains filtered or unexported fields
}
MockElementsAddressApi is a mock of ElementsAddressApi interface.
func NewMockElementsAddressApi ¶
func NewMockElementsAddressApi(ctrl *gomock.Controller) *MockElementsAddressApi
NewMockElementsAddressApi creates a new mock instance.
func (*MockElementsAddressApi) CreateByPubkey ¶
func (m *MockElementsAddressApi) CreateByPubkey(pubkey *types.Pubkey, addressType types.AddressType) (*types.Address, error)
CreateByPubkey mocks base method.
func (*MockElementsAddressApi) CreateByScript ¶
func (m *MockElementsAddressApi) CreateByScript(redeemScript *types.Script, addressType types.AddressType) (*types.Address, error)
CreateByScript mocks base method.
func (*MockElementsAddressApi) CreateMultisigAddress ¶
func (m *MockElementsAddressApi) CreateMultisigAddress(pubkeys *[]types.Pubkey, requireNum uint32, addressType types.AddressType) (*types.Address, *types.Script, error)
CreateMultisigAddress mocks base method.
func (*MockElementsAddressApi) EXPECT ¶
func (m *MockElementsAddressApi) EXPECT() *MockElementsAddressApiMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockElementsAddressApi) GetNetworkTypes ¶
func (m *MockElementsAddressApi) GetNetworkTypes() []types.NetworkType
GetNetworkTypes mocks base method.
func (*MockElementsAddressApi) GetPeginAddressByPubkey ¶
func (m *MockElementsAddressApi) GetPeginAddressByPubkey(addressType types.AddressType, fedpegScript, pubkey string) (*types.Address, *types.Script, error)
GetPeginAddressByPubkey mocks base method.
func (*MockElementsAddressApi) GetPegoutAddress ¶
func (m *MockElementsAddressApi) GetPegoutAddress(addressType types.AddressType, descriptorOrXpub string, bip32Counter uint32) (*types.Address, *string, error)
GetPegoutAddress mocks base method.
func (*MockElementsAddressApi) ParseAddress ¶
func (m *MockElementsAddressApi) ParseAddress(addressString string) (*types.Address, error)
ParseAddress mocks base method.
type MockElementsAddressApiMockRecorder ¶
type MockElementsAddressApiMockRecorder struct {
// contains filtered or unexported fields
}
MockElementsAddressApiMockRecorder is the mock recorder for MockElementsAddressApi.
func (*MockElementsAddressApiMockRecorder) CreateByPubkey ¶
func (mr *MockElementsAddressApiMockRecorder) CreateByPubkey(pubkey, addressType interface{}) *gomock.Call
CreateByPubkey indicates an expected call of CreateByPubkey.
func (*MockElementsAddressApiMockRecorder) CreateByScript ¶
func (mr *MockElementsAddressApiMockRecorder) CreateByScript(redeemScript, addressType interface{}) *gomock.Call
CreateByScript indicates an expected call of CreateByScript.
func (*MockElementsAddressApiMockRecorder) CreateMultisigAddress ¶
func (mr *MockElementsAddressApiMockRecorder) CreateMultisigAddress(pubkeys, requireNum, addressType interface{}) *gomock.Call
CreateMultisigAddress indicates an expected call of CreateMultisigAddress.
func (*MockElementsAddressApiMockRecorder) GetNetworkTypes ¶
func (mr *MockElementsAddressApiMockRecorder) GetNetworkTypes() *gomock.Call
GetNetworkTypes indicates an expected call of GetNetworkTypes.
func (*MockElementsAddressApiMockRecorder) GetPeginAddressByPubkey ¶
func (mr *MockElementsAddressApiMockRecorder) GetPeginAddressByPubkey(addressType, fedpegScript, pubkey interface{}) *gomock.Call
GetPeginAddressByPubkey indicates an expected call of GetPeginAddressByPubkey.
func (*MockElementsAddressApiMockRecorder) GetPegoutAddress ¶
func (mr *MockElementsAddressApiMockRecorder) GetPegoutAddress(addressType, descriptorOrXpub, bip32Counter interface{}) *gomock.Call
GetPegoutAddress indicates an expected call of GetPegoutAddress.
func (*MockElementsAddressApiMockRecorder) ParseAddress ¶
func (mr *MockElementsAddressApiMockRecorder) ParseAddress(addressString interface{}) *gomock.Call
ParseAddress indicates an expected call of ParseAddress.