Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockSigner
- func (m *MockSigner) Address() *types.Address
- func (m *MockSigner) BlockWithTxHashes(blockID rpc.BlockID) (any, error)
- func (m *MockSigner) BuildAttestTransaction(blockHash *types.BlockHash) (rpc.BroadcastInvokeTxnV3, error)
- func (m *MockSigner) Call(call rpc.FunctionCall, blockId rpc.BlockID) ([]*felt.Felt, error)
- func (m *MockSigner) EXPECT() *MockSignerMockRecorder
- func (m *MockSigner) EstimateFee(txn *rpc.BroadcastInvokeTxnV3) (rpc.FeeEstimation, error)
- func (m *MockSigner) InvokeTransaction(txn *rpc.BroadcastInvokeTxnV3) (rpc.AddInvokeTransactionResponse, error)
- func (m *MockSigner) Nonce() (*felt.Felt, error)
- func (m *MockSigner) SignTransaction(txn *rpc.BroadcastInvokeTxnV3) (*rpc.BroadcastInvokeTxnV3, error)
- func (m *MockSigner) TransactionStatus(transactionHash *felt.Felt) (*rpc.TxnStatusResult, error)
- func (m *MockSigner) ValidationContracts() *types.ValidationContracts
- type MockSignerMockRecorder
- func (mr *MockSignerMockRecorder) Address() *gomock.Call
- func (mr *MockSignerMockRecorder) BlockWithTxHashes(blockID any) *gomock.Call
- func (mr *MockSignerMockRecorder) BuildAttestTransaction(blockHash any) *gomock.Call
- func (mr *MockSignerMockRecorder) Call(call, blockId any) *gomock.Call
- func (mr *MockSignerMockRecorder) EstimateFee(txn any) *gomock.Call
- func (mr *MockSignerMockRecorder) InvokeTransaction(txn any) *gomock.Call
- func (mr *MockSignerMockRecorder) Nonce() *gomock.Call
- func (mr *MockSignerMockRecorder) SignTransaction(txn any) *gomock.Call
- func (mr *MockSignerMockRecorder) TransactionStatus(transactionHash any) *gomock.Call
- func (mr *MockSignerMockRecorder) ValidationContracts() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSigner ¶ added in v0.2.0
type MockSigner struct {
// contains filtered or unexported fields
}
MockSigner is a mock of Signer interface.
func NewMockSigner ¶ added in v0.2.0
func NewMockSigner(ctrl *gomock.Controller) *MockSigner
NewMockSigner creates a new mock instance.
func (*MockSigner) Address ¶ added in v0.2.0
func (m *MockSigner) Address() *types.Address
Address mocks base method.
func (*MockSigner) BlockWithTxHashes ¶ added in v0.2.0
func (m *MockSigner) BlockWithTxHashes(blockID rpc.BlockID) (any, error)
BlockWithTxHashes mocks base method.
func (*MockSigner) BuildAttestTransaction ¶ added in v0.2.4
func (m *MockSigner) BuildAttestTransaction(blockHash *types.BlockHash) (rpc.BroadcastInvokeTxnV3, error)
BuildAttestTransaction mocks base method.
func (*MockSigner) Call ¶ added in v0.2.0
func (m *MockSigner) Call(call rpc.FunctionCall, blockId rpc.BlockID) ([]*felt.Felt, error)
Call mocks base method.
func (*MockSigner) EXPECT ¶ added in v0.2.0
func (m *MockSigner) EXPECT() *MockSignerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSigner) EstimateFee ¶ added in v0.2.4
func (m *MockSigner) EstimateFee(txn *rpc.BroadcastInvokeTxnV3) (rpc.FeeEstimation, error)
EstimateFee mocks base method.
func (*MockSigner) InvokeTransaction ¶ added in v0.2.4
func (m *MockSigner) InvokeTransaction(txn *rpc.BroadcastInvokeTxnV3) (rpc.AddInvokeTransactionResponse, error)
InvokeTransaction mocks base method.
func (*MockSigner) Nonce ¶ added in v0.2.4
func (m *MockSigner) Nonce() (*felt.Felt, error)
Nonce mocks base method.
func (*MockSigner) SignTransaction ¶ added in v0.2.4
func (m *MockSigner) SignTransaction(txn *rpc.BroadcastInvokeTxnV3) (*rpc.BroadcastInvokeTxnV3, error)
SignTransaction mocks base method.
func (*MockSigner) TransactionStatus ¶ added in v0.3.0
func (m *MockSigner) TransactionStatus(transactionHash *felt.Felt) (*rpc.TxnStatusResult, error)
TransactionStatus mocks base method.
func (*MockSigner) ValidationContracts ¶ added in v0.2.0
func (m *MockSigner) ValidationContracts() *types.ValidationContracts
ValidationContracts mocks base method.
type MockSignerMockRecorder ¶ added in v0.2.0
type MockSignerMockRecorder struct {
// contains filtered or unexported fields
}
MockSignerMockRecorder is the mock recorder for MockSigner.
func (*MockSignerMockRecorder) Address ¶ added in v0.2.0
func (mr *MockSignerMockRecorder) Address() *gomock.Call
Address indicates an expected call of Address.
func (*MockSignerMockRecorder) BlockWithTxHashes ¶ added in v0.2.0
func (mr *MockSignerMockRecorder) BlockWithTxHashes(blockID any) *gomock.Call
BlockWithTxHashes indicates an expected call of BlockWithTxHashes.
func (*MockSignerMockRecorder) BuildAttestTransaction ¶ added in v0.2.4
func (mr *MockSignerMockRecorder) BuildAttestTransaction(blockHash any) *gomock.Call
BuildAttestTransaction indicates an expected call of BuildAttestTransaction.
func (*MockSignerMockRecorder) Call ¶ added in v0.2.0
func (mr *MockSignerMockRecorder) Call(call, blockId any) *gomock.Call
Call indicates an expected call of Call.
func (*MockSignerMockRecorder) EstimateFee ¶ added in v0.2.4
func (mr *MockSignerMockRecorder) EstimateFee(txn any) *gomock.Call
EstimateFee indicates an expected call of EstimateFee.
func (*MockSignerMockRecorder) InvokeTransaction ¶ added in v0.2.4
func (mr *MockSignerMockRecorder) InvokeTransaction(txn any) *gomock.Call
InvokeTransaction indicates an expected call of InvokeTransaction.
func (*MockSignerMockRecorder) Nonce ¶ added in v0.2.4
func (mr *MockSignerMockRecorder) Nonce() *gomock.Call
Nonce indicates an expected call of Nonce.
func (*MockSignerMockRecorder) SignTransaction ¶ added in v0.2.4
func (mr *MockSignerMockRecorder) SignTransaction(txn any) *gomock.Call
SignTransaction indicates an expected call of SignTransaction.
func (*MockSignerMockRecorder) TransactionStatus ¶ added in v0.3.0
func (mr *MockSignerMockRecorder) TransactionStatus(transactionHash any) *gomock.Call
TransactionStatus indicates an expected call of TransactionStatus.
func (*MockSignerMockRecorder) ValidationContracts ¶ added in v0.2.0
func (mr *MockSignerMockRecorder) ValidationContracts() *gomock.Call
ValidationContracts indicates an expected call of ValidationContracts.