mock

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

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

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 any) *gomock.Call

CreateByPubkey indicates an expected call of CreateByPubkey.

func (*MockAddressApiMockRecorder) CreateByScript

func (mr *MockAddressApiMockRecorder) CreateByScript(redeemScript, addressType any) *gomock.Call

CreateByScript indicates an expected call of CreateByScript.

func (*MockAddressApiMockRecorder) CreateMultisigAddress

func (mr *MockAddressApiMockRecorder) CreateMultisigAddress(pubkeys, requireNum, addressType any) *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 any) *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

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 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockConfidentialAddressApiMockRecorder) Parse

func (mr *MockConfidentialAddressApiMockRecorder) Parse(addressString any) *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

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 any) *gomock.Call

CreateByPubkey indicates an expected call of CreateByPubkey.

func (*MockElementsAddressApiMockRecorder) CreateByScript

func (mr *MockElementsAddressApiMockRecorder) CreateByScript(redeemScript, addressType any) *gomock.Call

CreateByScript indicates an expected call of CreateByScript.

func (*MockElementsAddressApiMockRecorder) CreateMultisigAddress

func (mr *MockElementsAddressApiMockRecorder) CreateMultisigAddress(pubkeys, requireNum, addressType any) *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 any) *gomock.Call

GetPeginAddressByPubkey indicates an expected call of GetPeginAddressByPubkey.

func (*MockElementsAddressApiMockRecorder) GetPegoutAddress

func (mr *MockElementsAddressApiMockRecorder) GetPegoutAddress(addressType, descriptorOrXpub, bip32Counter any) *gomock.Call

GetPegoutAddress indicates an expected call of GetPegoutAddress.

func (*MockElementsAddressApiMockRecorder) ParseAddress

func (mr *MockElementsAddressApiMockRecorder) ParseAddress(addressString any) *gomock.Call

ParseAddress indicates an expected call of ParseAddress.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL