Documentation ¶
Index ¶
- type ProtocolServiceClient
- func (_m *ProtocolServiceClient) BroadcastTransaction(ctx context.Context, in *v1.BroadcastTransactionRequest, ...) (*typesv1.Transaction, error)
- func (_m *ProtocolServiceClient) ConstructTransaction(ctx context.Context, in *v1.ConstructTransactionRequest, ...) (*typesv1.Transaction, error)
- func (_m *ProtocolServiceClient) ConstructTransferTransaction(ctx context.Context, in *v1.ConstructTransferTransactionRequest, ...) (*typesv1.Transaction, error)
- func (_m *ProtocolServiceClient) EstimateFee(ctx context.Context, in *v1.EstimateFeeRequest, opts ...grpc.CallOption) (*v1.EstimateFeeResponse, error)
- type ProtocolServiceServer
- func (_m *ProtocolServiceServer) BroadcastTransaction(_a0 context.Context, _a1 *v1.BroadcastTransactionRequest) (*typesv1.Transaction, error)
- func (_m *ProtocolServiceServer) ConstructTransaction(_a0 context.Context, _a1 *v1.ConstructTransactionRequest) (*typesv1.Transaction, error)
- func (_m *ProtocolServiceServer) ConstructTransferTransaction(_a0 context.Context, _a1 *v1.ConstructTransferTransactionRequest) (*typesv1.Transaction, error)
- func (_m *ProtocolServiceServer) EstimateFee(_a0 context.Context, _a1 *v1.EstimateFeeRequest) (*v1.EstimateFeeResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtocolServiceClient ¶
ProtocolServiceClient is an autogenerated mock type for the ProtocolServiceClient type
func NewProtocolServiceClient ¶
func NewProtocolServiceClient(t interface { mock.TestingT Cleanup(func()) }) *ProtocolServiceClient
NewProtocolServiceClient creates a new instance of ProtocolServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ProtocolServiceClient) BroadcastTransaction ¶
func (_m *ProtocolServiceClient) BroadcastTransaction(ctx context.Context, in *v1.BroadcastTransactionRequest, opts ...grpc.CallOption) (*typesv1.Transaction, error)
BroadcastTransaction provides a mock function with given fields: ctx, in, opts
func (*ProtocolServiceClient) ConstructTransaction ¶
func (_m *ProtocolServiceClient) ConstructTransaction(ctx context.Context, in *v1.ConstructTransactionRequest, opts ...grpc.CallOption) (*typesv1.Transaction, error)
ConstructTransaction provides a mock function with given fields: ctx, in, opts
func (*ProtocolServiceClient) ConstructTransferTransaction ¶
func (_m *ProtocolServiceClient) ConstructTransferTransaction(ctx context.Context, in *v1.ConstructTransferTransactionRequest, opts ...grpc.CallOption) (*typesv1.Transaction, error)
ConstructTransferTransaction provides a mock function with given fields: ctx, in, opts
func (*ProtocolServiceClient) EstimateFee ¶
func (_m *ProtocolServiceClient) EstimateFee(ctx context.Context, in *v1.EstimateFeeRequest, opts ...grpc.CallOption) (*v1.EstimateFeeResponse, error)
EstimateFee provides a mock function with given fields: ctx, in, opts
type ProtocolServiceServer ¶
ProtocolServiceServer is an autogenerated mock type for the ProtocolServiceServer type
func NewProtocolServiceServer ¶
func NewProtocolServiceServer(t interface { mock.TestingT Cleanup(func()) }) *ProtocolServiceServer
NewProtocolServiceServer creates a new instance of ProtocolServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ProtocolServiceServer) BroadcastTransaction ¶
func (_m *ProtocolServiceServer) BroadcastTransaction(_a0 context.Context, _a1 *v1.BroadcastTransactionRequest) (*typesv1.Transaction, error)
BroadcastTransaction provides a mock function with given fields: _a0, _a1
func (*ProtocolServiceServer) ConstructTransaction ¶
func (_m *ProtocolServiceServer) ConstructTransaction(_a0 context.Context, _a1 *v1.ConstructTransactionRequest) (*typesv1.Transaction, error)
ConstructTransaction provides a mock function with given fields: _a0, _a1
func (*ProtocolServiceServer) ConstructTransferTransaction ¶
func (_m *ProtocolServiceServer) ConstructTransferTransaction(_a0 context.Context, _a1 *v1.ConstructTransferTransactionRequest) (*typesv1.Transaction, error)
ConstructTransferTransaction provides a mock function with given fields: _a0, _a1
func (*ProtocolServiceServer) EstimateFee ¶
func (_m *ProtocolServiceServer) EstimateFee(_a0 context.Context, _a1 *v1.EstimateFeeRequest) (*v1.EstimateFeeResponse, error)
EstimateFee provides a mock function with given fields: _a0, _a1