Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockPegin
- func (m *MockPegin) CreatePeginAddress(addressType types.AddressType, pubkey *types.Pubkey, ...) (*types.Address, *types.Script, error)
- func (m *MockPegin) CreatePeginTransaction(peginOutPoint *types.OutPoint, peginData *types.InputPeginData, ...) (*types.ConfidentialTx, *types.ConfidentialTx, error)
- func (m *MockPegin) EXPECT() *MockPeginMockRecorder
- func (m *MockPegin) GetPeginUtxoData(proposalTx *types.ConfidentialTx, peginOutPoint *types.OutPoint, ...) (*types.ElementsUtxoData, error)
- func (m *MockPegin) GetPubkeyFromAccountExtPubkey(accountExtPubkey *types.ExtPubkey, bip32Path string) (*types.Pubkey, *types.ExtPubkey, error)
- func (m *MockPegin) VerifyPubkeySignature(proposalTx *types.ConfidentialTx, utxoData *types.ElementsUtxoData, ...) (bool, error)
- type MockPeginMockRecorder
- func (mr *MockPeginMockRecorder) CreatePeginAddress(addressType, pubkey, fedpegScript interface{}) *gomock.Call
- func (mr *MockPeginMockRecorder) CreatePeginTransaction(...) *gomock.Call
- func (mr *MockPeginMockRecorder) GetPeginUtxoData(proposalTx, peginOutPoint, pubkey interface{}) *gomock.Call
- func (mr *MockPeginMockRecorder) GetPubkeyFromAccountExtPubkey(accountExtPubkey, bip32Path interface{}) *gomock.Call
- func (mr *MockPeginMockRecorder) VerifyPubkeySignature(proposalTx, utxoData, signature interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPegin ¶
type MockPegin struct {
// contains filtered or unexported fields
}
MockPegin is a mock of Pegin interface.
func NewMockPegin ¶
func NewMockPegin(ctrl *gomock.Controller) *MockPegin
NewMockPegin creates a new mock instance.
func (*MockPegin) CreatePeginAddress ¶
func (m *MockPegin) CreatePeginAddress(addressType types.AddressType, pubkey *types.Pubkey, fedpegScript *types.Script) (*types.Address, *types.Script, error)
CreatePeginAddress mocks base method.
func (*MockPegin) CreatePeginTransaction ¶
func (m *MockPegin) CreatePeginTransaction(peginOutPoint *types.OutPoint, peginData *types.InputPeginData, utxoList []*types.ElementsUtxoData, sendList []*types.InputConfidentialTxOut, changeAddress *string, option *types.PeginTxOption) (*types.ConfidentialTx, *types.ConfidentialTx, error)
CreatePeginTransaction mocks base method.
func (*MockPegin) EXPECT ¶
func (m *MockPegin) EXPECT() *MockPeginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPegin) GetPeginUtxoData ¶
func (m *MockPegin) GetPeginUtxoData(proposalTx *types.ConfidentialTx, peginOutPoint *types.OutPoint, pubkey *types.Pubkey) (*types.ElementsUtxoData, error)
GetPeginUtxoData mocks base method.
func (*MockPegin) GetPubkeyFromAccountExtPubkey ¶
func (m *MockPegin) GetPubkeyFromAccountExtPubkey(accountExtPubkey *types.ExtPubkey, bip32Path string) (*types.Pubkey, *types.ExtPubkey, error)
GetPubkeyFromAccountExtPubkey mocks base method.
func (*MockPegin) VerifyPubkeySignature ¶
func (m *MockPegin) VerifyPubkeySignature(proposalTx *types.ConfidentialTx, utxoData *types.ElementsUtxoData, signature *types.ByteData) (bool, error)
VerifyPubkeySignature mocks base method.
type MockPeginMockRecorder ¶
type MockPeginMockRecorder struct {
// contains filtered or unexported fields
}
MockPeginMockRecorder is the mock recorder for MockPegin.
func (*MockPeginMockRecorder) CreatePeginAddress ¶
func (mr *MockPeginMockRecorder) CreatePeginAddress(addressType, pubkey, fedpegScript interface{}) *gomock.Call
CreatePeginAddress indicates an expected call of CreatePeginAddress.
func (*MockPeginMockRecorder) CreatePeginTransaction ¶
func (mr *MockPeginMockRecorder) CreatePeginTransaction(peginOutPoint, peginData, utxoList, sendList, changeAddress, option interface{}) *gomock.Call
CreatePeginTransaction indicates an expected call of CreatePeginTransaction.
func (*MockPeginMockRecorder) GetPeginUtxoData ¶
func (mr *MockPeginMockRecorder) GetPeginUtxoData(proposalTx, peginOutPoint, pubkey interface{}) *gomock.Call
GetPeginUtxoData indicates an expected call of GetPeginUtxoData.
func (*MockPeginMockRecorder) GetPubkeyFromAccountExtPubkey ¶
func (mr *MockPeginMockRecorder) GetPubkeyFromAccountExtPubkey(accountExtPubkey, bip32Path interface{}) *gomock.Call
GetPubkeyFromAccountExtPubkey indicates an expected call of GetPubkeyFromAccountExtPubkey.
func (*MockPeginMockRecorder) VerifyPubkeySignature ¶
func (mr *MockPeginMockRecorder) VerifyPubkeySignature(proposalTx, utxoData, signature interface{}) *gomock.Call
VerifyPubkeySignature indicates an expected call of VerifyPubkeySignature.