Documentation ¶
Index ¶
- type AccessAPIClient
- func (_m *AccessAPIClient) ExecuteScriptAtBlockHeight(ctx context.Context, in *access.ExecuteScriptAtBlockHeightRequest, ...) (*access.ExecuteScriptResponse, error)
- func (_m *AccessAPIClient) ExecuteScriptAtBlockID(ctx context.Context, in *access.ExecuteScriptAtBlockIDRequest, ...) (*access.ExecuteScriptResponse, error)
- func (_m *AccessAPIClient) ExecuteScriptAtLatestBlock(ctx context.Context, in *access.ExecuteScriptAtLatestBlockRequest, ...) (*access.ExecuteScriptResponse, error)
- func (_m *AccessAPIClient) GetAccount(ctx context.Context, in *access.GetAccountRequest, opts ...grpc.CallOption) (*access.GetAccountResponse, error)
- func (_m *AccessAPIClient) GetAccountAtBlockHeight(ctx context.Context, in *access.GetAccountAtBlockHeightRequest, ...) (*access.AccountResponse, error)
- func (_m *AccessAPIClient) GetAccountAtLatestBlock(ctx context.Context, in *access.GetAccountAtLatestBlockRequest, ...) (*access.AccountResponse, error)
- func (_m *AccessAPIClient) GetBlockByHeight(ctx context.Context, in *access.GetBlockByHeightRequest, ...) (*access.BlockResponse, error)
- func (_m *AccessAPIClient) GetBlockByID(ctx context.Context, in *access.GetBlockByIDRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
- func (_m *AccessAPIClient) GetBlockHeaderByHeight(ctx context.Context, in *access.GetBlockHeaderByHeightRequest, ...) (*access.BlockHeaderResponse, error)
- func (_m *AccessAPIClient) GetBlockHeaderByID(ctx context.Context, in *access.GetBlockHeaderByIDRequest, ...) (*access.BlockHeaderResponse, error)
- func (_m *AccessAPIClient) GetCollectionByID(ctx context.Context, in *access.GetCollectionByIDRequest, ...) (*access.CollectionResponse, error)
- func (_m *AccessAPIClient) GetEventsForBlockIDs(ctx context.Context, in *access.GetEventsForBlockIDsRequest, ...) (*access.EventsResponse, error)
- func (_m *AccessAPIClient) GetEventsForHeightRange(ctx context.Context, in *access.GetEventsForHeightRangeRequest, ...) (*access.EventsResponse, error)
- func (_m *AccessAPIClient) GetExecutionResultForBlockID(ctx context.Context, in *access.GetExecutionResultForBlockIDRequest, ...) (*access.ExecutionResultForBlockIDResponse, error)
- func (_m *AccessAPIClient) GetLatestBlock(ctx context.Context, in *access.GetLatestBlockRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
- func (_m *AccessAPIClient) GetLatestBlockHeader(ctx context.Context, in *access.GetLatestBlockHeaderRequest, ...) (*access.BlockHeaderResponse, error)
- func (_m *AccessAPIClient) GetLatestProtocolStateSnapshot(ctx context.Context, in *access.GetLatestProtocolStateSnapshotRequest, ...) (*access.ProtocolStateSnapshotResponse, error)
- func (_m *AccessAPIClient) GetNetworkParameters(ctx context.Context, in *access.GetNetworkParametersRequest, ...) (*access.GetNetworkParametersResponse, error)
- func (_m *AccessAPIClient) GetTransaction(ctx context.Context, in *access.GetTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResponse, error)
- func (_m *AccessAPIClient) GetTransactionResult(ctx context.Context, in *access.GetTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResultResponse, error)
- func (_m *AccessAPIClient) GetTransactionResultByIndex(ctx context.Context, in *access.GetTransactionByIndexRequest, ...) (*access.TransactionResultResponse, error)
- func (_m *AccessAPIClient) GetTransactionResultsByBlockID(ctx context.Context, in *access.GetTransactionsByBlockIDRequest, ...) (*access.TransactionResultsResponse, error)
- func (_m *AccessAPIClient) GetTransactionsByBlockID(ctx context.Context, in *access.GetTransactionsByBlockIDRequest, ...) (*access.TransactionsResponse, error)
- func (_m *AccessAPIClient) Ping(ctx context.Context, in *access.PingRequest, opts ...grpc.CallOption) (*access.PingResponse, error)
- func (_m *AccessAPIClient) SendTransaction(ctx context.Context, in *access.SendTransactionRequest, ...) (*access.SendTransactionResponse, error)
- type AccessAPIServer
- func (_m *AccessAPIServer) ExecuteScriptAtBlockHeight(_a0 context.Context, _a1 *access.ExecuteScriptAtBlockHeightRequest) (*access.ExecuteScriptResponse, error)
- func (_m *AccessAPIServer) ExecuteScriptAtBlockID(_a0 context.Context, _a1 *access.ExecuteScriptAtBlockIDRequest) (*access.ExecuteScriptResponse, error)
- func (_m *AccessAPIServer) ExecuteScriptAtLatestBlock(_a0 context.Context, _a1 *access.ExecuteScriptAtLatestBlockRequest) (*access.ExecuteScriptResponse, error)
- func (_m *AccessAPIServer) GetAccount(_a0 context.Context, _a1 *access.GetAccountRequest) (*access.GetAccountResponse, error)
- func (_m *AccessAPIServer) GetAccountAtBlockHeight(_a0 context.Context, _a1 *access.GetAccountAtBlockHeightRequest) (*access.AccountResponse, error)
- func (_m *AccessAPIServer) GetAccountAtLatestBlock(_a0 context.Context, _a1 *access.GetAccountAtLatestBlockRequest) (*access.AccountResponse, error)
- func (_m *AccessAPIServer) GetBlockByHeight(_a0 context.Context, _a1 *access.GetBlockByHeightRequest) (*access.BlockResponse, error)
- func (_m *AccessAPIServer) GetBlockByID(_a0 context.Context, _a1 *access.GetBlockByIDRequest) (*access.BlockResponse, error)
- func (_m *AccessAPIServer) GetBlockHeaderByHeight(_a0 context.Context, _a1 *access.GetBlockHeaderByHeightRequest) (*access.BlockHeaderResponse, error)
- func (_m *AccessAPIServer) GetBlockHeaderByID(_a0 context.Context, _a1 *access.GetBlockHeaderByIDRequest) (*access.BlockHeaderResponse, error)
- func (_m *AccessAPIServer) GetCollectionByID(_a0 context.Context, _a1 *access.GetCollectionByIDRequest) (*access.CollectionResponse, error)
- func (_m *AccessAPIServer) GetEventsForBlockIDs(_a0 context.Context, _a1 *access.GetEventsForBlockIDsRequest) (*access.EventsResponse, error)
- func (_m *AccessAPIServer) GetEventsForHeightRange(_a0 context.Context, _a1 *access.GetEventsForHeightRangeRequest) (*access.EventsResponse, error)
- func (_m *AccessAPIServer) GetExecutionResultForBlockID(_a0 context.Context, _a1 *access.GetExecutionResultForBlockIDRequest) (*access.ExecutionResultForBlockIDResponse, error)
- func (_m *AccessAPIServer) GetLatestBlock(_a0 context.Context, _a1 *access.GetLatestBlockRequest) (*access.BlockResponse, error)
- func (_m *AccessAPIServer) GetLatestBlockHeader(_a0 context.Context, _a1 *access.GetLatestBlockHeaderRequest) (*access.BlockHeaderResponse, error)
- func (_m *AccessAPIServer) GetLatestProtocolStateSnapshot(_a0 context.Context, _a1 *access.GetLatestProtocolStateSnapshotRequest) (*access.ProtocolStateSnapshotResponse, error)
- func (_m *AccessAPIServer) GetNetworkParameters(_a0 context.Context, _a1 *access.GetNetworkParametersRequest) (*access.GetNetworkParametersResponse, error)
- func (_m *AccessAPIServer) GetTransaction(_a0 context.Context, _a1 *access.GetTransactionRequest) (*access.TransactionResponse, error)
- func (_m *AccessAPIServer) GetTransactionResult(_a0 context.Context, _a1 *access.GetTransactionRequest) (*access.TransactionResultResponse, error)
- func (_m *AccessAPIServer) GetTransactionResultByIndex(_a0 context.Context, _a1 *access.GetTransactionByIndexRequest) (*access.TransactionResultResponse, error)
- func (_m *AccessAPIServer) GetTransactionResultsByBlockID(_a0 context.Context, _a1 *access.GetTransactionsByBlockIDRequest) (*access.TransactionResultsResponse, error)
- func (_m *AccessAPIServer) GetTransactionsByBlockID(_a0 context.Context, _a1 *access.GetTransactionsByBlockIDRequest) (*access.TransactionsResponse, error)
- func (_m *AccessAPIServer) Ping(_a0 context.Context, _a1 *access.PingRequest) (*access.PingResponse, error)
- func (_m *AccessAPIServer) SendTransaction(_a0 context.Context, _a1 *access.SendTransactionRequest) (*access.SendTransactionResponse, error)
- type ExecutionAPIClient
- func (_m *ExecutionAPIClient) ExecuteScriptAtBlockID(ctx context.Context, in *execution.ExecuteScriptAtBlockIDRequest, ...) (*execution.ExecuteScriptAtBlockIDResponse, error)
- func (_m *ExecutionAPIClient) GetAccountAtBlockID(ctx context.Context, in *execution.GetAccountAtBlockIDRequest, ...) (*execution.GetAccountAtBlockIDResponse, error)
- func (_m *ExecutionAPIClient) GetBlockHeaderByID(ctx context.Context, in *execution.GetBlockHeaderByIDRequest, ...) (*execution.BlockHeaderResponse, error)
- func (_m *ExecutionAPIClient) GetEventsForBlockIDs(ctx context.Context, in *execution.GetEventsForBlockIDsRequest, ...) (*execution.GetEventsForBlockIDsResponse, error)
- func (_m *ExecutionAPIClient) GetLatestBlockHeader(ctx context.Context, in *execution.GetLatestBlockHeaderRequest, ...) (*execution.BlockHeaderResponse, error)
- func (_m *ExecutionAPIClient) GetRegisterAtBlockID(ctx context.Context, in *execution.GetRegisterAtBlockIDRequest, ...) (*execution.GetRegisterAtBlockIDResponse, error)
- func (_m *ExecutionAPIClient) GetTransactionResult(ctx context.Context, in *execution.GetTransactionResultRequest, ...) (*execution.GetTransactionResultResponse, error)
- func (_m *ExecutionAPIClient) GetTransactionResultByIndex(ctx context.Context, in *execution.GetTransactionByIndexRequest, ...) (*execution.GetTransactionResultResponse, error)
- func (_m *ExecutionAPIClient) GetTransactionResultsByBlockID(ctx context.Context, in *execution.GetTransactionsByBlockIDRequest, ...) (*execution.GetTransactionResultsResponse, error)
- func (_m *ExecutionAPIClient) Ping(ctx context.Context, in *execution.PingRequest, opts ...grpc.CallOption) (*execution.PingResponse, error)
- type ExecutionAPIServer
- func (_m *ExecutionAPIServer) ExecuteScriptAtBlockID(_a0 context.Context, _a1 *execution.ExecuteScriptAtBlockIDRequest) (*execution.ExecuteScriptAtBlockIDResponse, error)
- func (_m *ExecutionAPIServer) GetAccountAtBlockID(_a0 context.Context, _a1 *execution.GetAccountAtBlockIDRequest) (*execution.GetAccountAtBlockIDResponse, error)
- func (_m *ExecutionAPIServer) GetBlockHeaderByID(_a0 context.Context, _a1 *execution.GetBlockHeaderByIDRequest) (*execution.BlockHeaderResponse, error)
- func (_m *ExecutionAPIServer) GetEventsForBlockIDs(_a0 context.Context, _a1 *execution.GetEventsForBlockIDsRequest) (*execution.GetEventsForBlockIDsResponse, error)
- func (_m *ExecutionAPIServer) GetLatestBlockHeader(_a0 context.Context, _a1 *execution.GetLatestBlockHeaderRequest) (*execution.BlockHeaderResponse, error)
- func (_m *ExecutionAPIServer) GetRegisterAtBlockID(_a0 context.Context, _a1 *execution.GetRegisterAtBlockIDRequest) (*execution.GetRegisterAtBlockIDResponse, error)
- func (_m *ExecutionAPIServer) GetTransactionResult(_a0 context.Context, _a1 *execution.GetTransactionResultRequest) (*execution.GetTransactionResultResponse, error)
- func (_m *ExecutionAPIServer) GetTransactionResultByIndex(_a0 context.Context, _a1 *execution.GetTransactionByIndexRequest) (*execution.GetTransactionResultResponse, error)
- func (_m *ExecutionAPIServer) GetTransactionResultsByBlockID(_a0 context.Context, _a1 *execution.GetTransactionsByBlockIDRequest) (*execution.GetTransactionResultsResponse, error)
- func (_m *ExecutionAPIServer) Ping(_a0 context.Context, _a1 *execution.PingRequest) (*execution.PingResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessAPIClient ¶
AccessAPIClient is an autogenerated mock type for the AccessAPIClient type
func NewAccessAPIClient ¶ added in v0.26.1
func NewAccessAPIClient(t testing.TB) *AccessAPIClient
NewAccessAPIClient creates a new instance of AccessAPIClient. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*AccessAPIClient) ExecuteScriptAtBlockHeight ¶
func (_m *AccessAPIClient) ExecuteScriptAtBlockHeight(ctx context.Context, in *access.ExecuteScriptAtBlockHeightRequest, opts ...grpc.CallOption) (*access.ExecuteScriptResponse, error)
ExecuteScriptAtBlockHeight provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) ExecuteScriptAtBlockID ¶
func (_m *AccessAPIClient) ExecuteScriptAtBlockID(ctx context.Context, in *access.ExecuteScriptAtBlockIDRequest, opts ...grpc.CallOption) (*access.ExecuteScriptResponse, error)
ExecuteScriptAtBlockID provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) ExecuteScriptAtLatestBlock ¶
func (_m *AccessAPIClient) ExecuteScriptAtLatestBlock(ctx context.Context, in *access.ExecuteScriptAtLatestBlockRequest, opts ...grpc.CallOption) (*access.ExecuteScriptResponse, error)
ExecuteScriptAtLatestBlock provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetAccount ¶
func (_m *AccessAPIClient) GetAccount(ctx context.Context, in *access.GetAccountRequest, opts ...grpc.CallOption) (*access.GetAccountResponse, error)
GetAccount provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetAccountAtBlockHeight ¶
func (_m *AccessAPIClient) GetAccountAtBlockHeight(ctx context.Context, in *access.GetAccountAtBlockHeightRequest, opts ...grpc.CallOption) (*access.AccountResponse, error)
GetAccountAtBlockHeight provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetAccountAtLatestBlock ¶
func (_m *AccessAPIClient) GetAccountAtLatestBlock(ctx context.Context, in *access.GetAccountAtLatestBlockRequest, opts ...grpc.CallOption) (*access.AccountResponse, error)
GetAccountAtLatestBlock provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetBlockByHeight ¶
func (_m *AccessAPIClient) GetBlockByHeight(ctx context.Context, in *access.GetBlockByHeightRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
GetBlockByHeight provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetBlockByID ¶
func (_m *AccessAPIClient) GetBlockByID(ctx context.Context, in *access.GetBlockByIDRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
GetBlockByID provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetBlockHeaderByHeight ¶
func (_m *AccessAPIClient) GetBlockHeaderByHeight(ctx context.Context, in *access.GetBlockHeaderByHeightRequest, opts ...grpc.CallOption) (*access.BlockHeaderResponse, error)
GetBlockHeaderByHeight provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetBlockHeaderByID ¶
func (_m *AccessAPIClient) GetBlockHeaderByID(ctx context.Context, in *access.GetBlockHeaderByIDRequest, opts ...grpc.CallOption) (*access.BlockHeaderResponse, error)
GetBlockHeaderByID provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetCollectionByID ¶
func (_m *AccessAPIClient) GetCollectionByID(ctx context.Context, in *access.GetCollectionByIDRequest, opts ...grpc.CallOption) (*access.CollectionResponse, error)
GetCollectionByID provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetEventsForBlockIDs ¶
func (_m *AccessAPIClient) GetEventsForBlockIDs(ctx context.Context, in *access.GetEventsForBlockIDsRequest, opts ...grpc.CallOption) (*access.EventsResponse, error)
GetEventsForBlockIDs provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetEventsForHeightRange ¶
func (_m *AccessAPIClient) GetEventsForHeightRange(ctx context.Context, in *access.GetEventsForHeightRangeRequest, opts ...grpc.CallOption) (*access.EventsResponse, error)
GetEventsForHeightRange provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetExecutionResultForBlockID ¶ added in v0.21.0
func (_m *AccessAPIClient) GetExecutionResultForBlockID(ctx context.Context, in *access.GetExecutionResultForBlockIDRequest, opts ...grpc.CallOption) (*access.ExecutionResultForBlockIDResponse, error)
GetExecutionResultForBlockID provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetLatestBlock ¶
func (_m *AccessAPIClient) GetLatestBlock(ctx context.Context, in *access.GetLatestBlockRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
GetLatestBlock provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetLatestBlockHeader ¶
func (_m *AccessAPIClient) GetLatestBlockHeader(ctx context.Context, in *access.GetLatestBlockHeaderRequest, opts ...grpc.CallOption) (*access.BlockHeaderResponse, error)
GetLatestBlockHeader provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetLatestProtocolStateSnapshot ¶ added in v0.14.4
func (_m *AccessAPIClient) GetLatestProtocolStateSnapshot(ctx context.Context, in *access.GetLatestProtocolStateSnapshotRequest, opts ...grpc.CallOption) (*access.ProtocolStateSnapshotResponse, error)
GetLatestProtocolStateSnapshot provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetNetworkParameters ¶
func (_m *AccessAPIClient) GetNetworkParameters(ctx context.Context, in *access.GetNetworkParametersRequest, opts ...grpc.CallOption) (*access.GetNetworkParametersResponse, error)
GetNetworkParameters provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetTransaction ¶
func (_m *AccessAPIClient) GetTransaction(ctx context.Context, in *access.GetTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResponse, error)
GetTransaction provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetTransactionResult ¶
func (_m *AccessAPIClient) GetTransactionResult(ctx context.Context, in *access.GetTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResultResponse, error)
GetTransactionResult provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetTransactionResultByIndex ¶ added in v0.24.8
func (_m *AccessAPIClient) GetTransactionResultByIndex(ctx context.Context, in *access.GetTransactionByIndexRequest, opts ...grpc.CallOption) (*access.TransactionResultResponse, error)
GetTransactionResultByIndex provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetTransactionResultsByBlockID ¶ added in v0.24.11
func (_m *AccessAPIClient) GetTransactionResultsByBlockID(ctx context.Context, in *access.GetTransactionsByBlockIDRequest, opts ...grpc.CallOption) (*access.TransactionResultsResponse, error)
GetTransactionResultsByBlockID provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetTransactionsByBlockID ¶ added in v0.24.11
func (_m *AccessAPIClient) GetTransactionsByBlockID(ctx context.Context, in *access.GetTransactionsByBlockIDRequest, opts ...grpc.CallOption) (*access.TransactionsResponse, error)
GetTransactionsByBlockID provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) Ping ¶
func (_m *AccessAPIClient) Ping(ctx context.Context, in *access.PingRequest, opts ...grpc.CallOption) (*access.PingResponse, error)
Ping provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) SendTransaction ¶
func (_m *AccessAPIClient) SendTransaction(ctx context.Context, in *access.SendTransactionRequest, opts ...grpc.CallOption) (*access.SendTransactionResponse, error)
SendTransaction provides a mock function with given fields: ctx, in, opts
type AccessAPIServer ¶ added in v0.14.6
AccessAPIServer is an autogenerated mock type for the AccessAPIServer type
func NewAccessAPIServer ¶ added in v0.26.1
func NewAccessAPIServer(t testing.TB) *AccessAPIServer
NewAccessAPIServer creates a new instance of AccessAPIServer. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*AccessAPIServer) ExecuteScriptAtBlockHeight ¶ added in v0.14.6
func (_m *AccessAPIServer) ExecuteScriptAtBlockHeight(_a0 context.Context, _a1 *access.ExecuteScriptAtBlockHeightRequest) (*access.ExecuteScriptResponse, error)
ExecuteScriptAtBlockHeight provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) ExecuteScriptAtBlockID ¶ added in v0.14.6
func (_m *AccessAPIServer) ExecuteScriptAtBlockID(_a0 context.Context, _a1 *access.ExecuteScriptAtBlockIDRequest) (*access.ExecuteScriptResponse, error)
ExecuteScriptAtBlockID provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) ExecuteScriptAtLatestBlock ¶ added in v0.14.6
func (_m *AccessAPIServer) ExecuteScriptAtLatestBlock(_a0 context.Context, _a1 *access.ExecuteScriptAtLatestBlockRequest) (*access.ExecuteScriptResponse, error)
ExecuteScriptAtLatestBlock provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetAccount ¶ added in v0.14.6
func (_m *AccessAPIServer) GetAccount(_a0 context.Context, _a1 *access.GetAccountRequest) (*access.GetAccountResponse, error)
GetAccount provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetAccountAtBlockHeight ¶ added in v0.14.6
func (_m *AccessAPIServer) GetAccountAtBlockHeight(_a0 context.Context, _a1 *access.GetAccountAtBlockHeightRequest) (*access.AccountResponse, error)
GetAccountAtBlockHeight provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetAccountAtLatestBlock ¶ added in v0.14.6
func (_m *AccessAPIServer) GetAccountAtLatestBlock(_a0 context.Context, _a1 *access.GetAccountAtLatestBlockRequest) (*access.AccountResponse, error)
GetAccountAtLatestBlock provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetBlockByHeight ¶ added in v0.14.6
func (_m *AccessAPIServer) GetBlockByHeight(_a0 context.Context, _a1 *access.GetBlockByHeightRequest) (*access.BlockResponse, error)
GetBlockByHeight provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetBlockByID ¶ added in v0.14.6
func (_m *AccessAPIServer) GetBlockByID(_a0 context.Context, _a1 *access.GetBlockByIDRequest) (*access.BlockResponse, error)
GetBlockByID provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetBlockHeaderByHeight ¶ added in v0.14.6
func (_m *AccessAPIServer) GetBlockHeaderByHeight(_a0 context.Context, _a1 *access.GetBlockHeaderByHeightRequest) (*access.BlockHeaderResponse, error)
GetBlockHeaderByHeight provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetBlockHeaderByID ¶ added in v0.14.6
func (_m *AccessAPIServer) GetBlockHeaderByID(_a0 context.Context, _a1 *access.GetBlockHeaderByIDRequest) (*access.BlockHeaderResponse, error)
GetBlockHeaderByID provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetCollectionByID ¶ added in v0.14.6
func (_m *AccessAPIServer) GetCollectionByID(_a0 context.Context, _a1 *access.GetCollectionByIDRequest) (*access.CollectionResponse, error)
GetCollectionByID provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetEventsForBlockIDs ¶ added in v0.14.6
func (_m *AccessAPIServer) GetEventsForBlockIDs(_a0 context.Context, _a1 *access.GetEventsForBlockIDsRequest) (*access.EventsResponse, error)
GetEventsForBlockIDs provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetEventsForHeightRange ¶ added in v0.14.6
func (_m *AccessAPIServer) GetEventsForHeightRange(_a0 context.Context, _a1 *access.GetEventsForHeightRangeRequest) (*access.EventsResponse, error)
GetEventsForHeightRange provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetExecutionResultForBlockID ¶ added in v0.21.0
func (_m *AccessAPIServer) GetExecutionResultForBlockID(_a0 context.Context, _a1 *access.GetExecutionResultForBlockIDRequest) (*access.ExecutionResultForBlockIDResponse, error)
GetExecutionResultForBlockID provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetLatestBlock ¶ added in v0.14.6
func (_m *AccessAPIServer) GetLatestBlock(_a0 context.Context, _a1 *access.GetLatestBlockRequest) (*access.BlockResponse, error)
GetLatestBlock provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetLatestBlockHeader ¶ added in v0.14.6
func (_m *AccessAPIServer) GetLatestBlockHeader(_a0 context.Context, _a1 *access.GetLatestBlockHeaderRequest) (*access.BlockHeaderResponse, error)
GetLatestBlockHeader provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetLatestProtocolStateSnapshot ¶ added in v0.14.6
func (_m *AccessAPIServer) GetLatestProtocolStateSnapshot(_a0 context.Context, _a1 *access.GetLatestProtocolStateSnapshotRequest) (*access.ProtocolStateSnapshotResponse, error)
GetLatestProtocolStateSnapshot provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetNetworkParameters ¶ added in v0.14.6
func (_m *AccessAPIServer) GetNetworkParameters(_a0 context.Context, _a1 *access.GetNetworkParametersRequest) (*access.GetNetworkParametersResponse, error)
GetNetworkParameters provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetTransaction ¶ added in v0.14.6
func (_m *AccessAPIServer) GetTransaction(_a0 context.Context, _a1 *access.GetTransactionRequest) (*access.TransactionResponse, error)
GetTransaction provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetTransactionResult ¶ added in v0.14.6
func (_m *AccessAPIServer) GetTransactionResult(_a0 context.Context, _a1 *access.GetTransactionRequest) (*access.TransactionResultResponse, error)
GetTransactionResult provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetTransactionResultByIndex ¶ added in v0.24.8
func (_m *AccessAPIServer) GetTransactionResultByIndex(_a0 context.Context, _a1 *access.GetTransactionByIndexRequest) (*access.TransactionResultResponse, error)
GetTransactionResultByIndex provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetTransactionResultsByBlockID ¶ added in v0.24.11
func (_m *AccessAPIServer) GetTransactionResultsByBlockID(_a0 context.Context, _a1 *access.GetTransactionsByBlockIDRequest) (*access.TransactionResultsResponse, error)
GetTransactionResultsByBlockID provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetTransactionsByBlockID ¶ added in v0.24.11
func (_m *AccessAPIServer) GetTransactionsByBlockID(_a0 context.Context, _a1 *access.GetTransactionsByBlockIDRequest) (*access.TransactionsResponse, error)
GetTransactionsByBlockID provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) Ping ¶ added in v0.14.6
func (_m *AccessAPIServer) Ping(_a0 context.Context, _a1 *access.PingRequest) (*access.PingResponse, error)
Ping provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) SendTransaction ¶ added in v0.14.6
func (_m *AccessAPIServer) SendTransaction(_a0 context.Context, _a1 *access.SendTransactionRequest) (*access.SendTransactionResponse, error)
SendTransaction provides a mock function with given fields: _a0, _a1
type ExecutionAPIClient ¶
ExecutionAPIClient is an autogenerated mock type for the ExecutionAPIClient type
func NewExecutionAPIClient ¶ added in v0.26.1
func NewExecutionAPIClient(t testing.TB) *ExecutionAPIClient
NewExecutionAPIClient creates a new instance of ExecutionAPIClient. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExecutionAPIClient) ExecuteScriptAtBlockID ¶
func (_m *ExecutionAPIClient) ExecuteScriptAtBlockID(ctx context.Context, in *execution.ExecuteScriptAtBlockIDRequest, opts ...grpc.CallOption) (*execution.ExecuteScriptAtBlockIDResponse, error)
ExecuteScriptAtBlockID provides a mock function with given fields: ctx, in, opts
func (*ExecutionAPIClient) GetAccountAtBlockID ¶
func (_m *ExecutionAPIClient) GetAccountAtBlockID(ctx context.Context, in *execution.GetAccountAtBlockIDRequest, opts ...grpc.CallOption) (*execution.GetAccountAtBlockIDResponse, error)
GetAccountAtBlockID provides a mock function with given fields: ctx, in, opts
func (*ExecutionAPIClient) GetBlockHeaderByID ¶ added in v0.23.1
func (_m *ExecutionAPIClient) GetBlockHeaderByID(ctx context.Context, in *execution.GetBlockHeaderByIDRequest, opts ...grpc.CallOption) (*execution.BlockHeaderResponse, error)
GetBlockHeaderByID provides a mock function with given fields: ctx, in, opts
func (*ExecutionAPIClient) GetEventsForBlockIDs ¶
func (_m *ExecutionAPIClient) GetEventsForBlockIDs(ctx context.Context, in *execution.GetEventsForBlockIDsRequest, opts ...grpc.CallOption) (*execution.GetEventsForBlockIDsResponse, error)
GetEventsForBlockIDs provides a mock function with given fields: ctx, in, opts
func (*ExecutionAPIClient) GetLatestBlockHeader ¶ added in v0.23.1
func (_m *ExecutionAPIClient) GetLatestBlockHeader(ctx context.Context, in *execution.GetLatestBlockHeaderRequest, opts ...grpc.CallOption) (*execution.BlockHeaderResponse, error)
GetLatestBlockHeader provides a mock function with given fields: ctx, in, opts
func (*ExecutionAPIClient) GetRegisterAtBlockID ¶ added in v0.23.1
func (_m *ExecutionAPIClient) GetRegisterAtBlockID(ctx context.Context, in *execution.GetRegisterAtBlockIDRequest, opts ...grpc.CallOption) (*execution.GetRegisterAtBlockIDResponse, error)
GetRegisterAtBlockID provides a mock function with given fields: ctx, in, opts
func (*ExecutionAPIClient) GetTransactionResult ¶
func (_m *ExecutionAPIClient) GetTransactionResult(ctx context.Context, in *execution.GetTransactionResultRequest, opts ...grpc.CallOption) (*execution.GetTransactionResultResponse, error)
GetTransactionResult provides a mock function with given fields: ctx, in, opts
func (*ExecutionAPIClient) GetTransactionResultByIndex ¶ added in v0.24.8
func (_m *ExecutionAPIClient) GetTransactionResultByIndex(ctx context.Context, in *execution.GetTransactionByIndexRequest, opts ...grpc.CallOption) (*execution.GetTransactionResultResponse, error)
GetTransactionResultByIndex provides a mock function with given fields: ctx, in, opts
func (*ExecutionAPIClient) GetTransactionResultsByBlockID ¶ added in v0.24.11
func (_m *ExecutionAPIClient) GetTransactionResultsByBlockID(ctx context.Context, in *execution.GetTransactionsByBlockIDRequest, opts ...grpc.CallOption) (*execution.GetTransactionResultsResponse, error)
GetTransactionResultsByBlockID provides a mock function with given fields: ctx, in, opts
func (*ExecutionAPIClient) Ping ¶
func (_m *ExecutionAPIClient) Ping(ctx context.Context, in *execution.PingRequest, opts ...grpc.CallOption) (*execution.PingResponse, error)
Ping provides a mock function with given fields: ctx, in, opts
type ExecutionAPIServer ¶ added in v0.14.6
ExecutionAPIServer is an autogenerated mock type for the ExecutionAPIServer type
func NewExecutionAPIServer ¶ added in v0.26.1
func NewExecutionAPIServer(t testing.TB) *ExecutionAPIServer
NewExecutionAPIServer creates a new instance of ExecutionAPIServer. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExecutionAPIServer) ExecuteScriptAtBlockID ¶ added in v0.14.6
func (_m *ExecutionAPIServer) ExecuteScriptAtBlockID(_a0 context.Context, _a1 *execution.ExecuteScriptAtBlockIDRequest) (*execution.ExecuteScriptAtBlockIDResponse, error)
ExecuteScriptAtBlockID provides a mock function with given fields: _a0, _a1
func (*ExecutionAPIServer) GetAccountAtBlockID ¶ added in v0.14.6
func (_m *ExecutionAPIServer) GetAccountAtBlockID(_a0 context.Context, _a1 *execution.GetAccountAtBlockIDRequest) (*execution.GetAccountAtBlockIDResponse, error)
GetAccountAtBlockID provides a mock function with given fields: _a0, _a1
func (*ExecutionAPIServer) GetBlockHeaderByID ¶ added in v0.23.1
func (_m *ExecutionAPIServer) GetBlockHeaderByID(_a0 context.Context, _a1 *execution.GetBlockHeaderByIDRequest) (*execution.BlockHeaderResponse, error)
GetBlockHeaderByID provides a mock function with given fields: _a0, _a1
func (*ExecutionAPIServer) GetEventsForBlockIDs ¶ added in v0.14.6
func (_m *ExecutionAPIServer) GetEventsForBlockIDs(_a0 context.Context, _a1 *execution.GetEventsForBlockIDsRequest) (*execution.GetEventsForBlockIDsResponse, error)
GetEventsForBlockIDs provides a mock function with given fields: _a0, _a1
func (*ExecutionAPIServer) GetLatestBlockHeader ¶ added in v0.23.1
func (_m *ExecutionAPIServer) GetLatestBlockHeader(_a0 context.Context, _a1 *execution.GetLatestBlockHeaderRequest) (*execution.BlockHeaderResponse, error)
GetLatestBlockHeader provides a mock function with given fields: _a0, _a1
func (*ExecutionAPIServer) GetRegisterAtBlockID ¶ added in v0.23.1
func (_m *ExecutionAPIServer) GetRegisterAtBlockID(_a0 context.Context, _a1 *execution.GetRegisterAtBlockIDRequest) (*execution.GetRegisterAtBlockIDResponse, error)
GetRegisterAtBlockID provides a mock function with given fields: _a0, _a1
func (*ExecutionAPIServer) GetTransactionResult ¶ added in v0.14.6
func (_m *ExecutionAPIServer) GetTransactionResult(_a0 context.Context, _a1 *execution.GetTransactionResultRequest) (*execution.GetTransactionResultResponse, error)
GetTransactionResult provides a mock function with given fields: _a0, _a1
func (*ExecutionAPIServer) GetTransactionResultByIndex ¶ added in v0.24.8
func (_m *ExecutionAPIServer) GetTransactionResultByIndex(_a0 context.Context, _a1 *execution.GetTransactionByIndexRequest) (*execution.GetTransactionResultResponse, error)
GetTransactionResultByIndex provides a mock function with given fields: _a0, _a1
func (*ExecutionAPIServer) GetTransactionResultsByBlockID ¶ added in v0.24.11
func (_m *ExecutionAPIServer) GetTransactionResultsByBlockID(_a0 context.Context, _a1 *execution.GetTransactionsByBlockIDRequest) (*execution.GetTransactionResultsResponse, error)
GetTransactionResultsByBlockID provides a mock function with given fields: _a0, _a1
func (*ExecutionAPIServer) Ping ¶ added in v0.14.6
func (_m *ExecutionAPIServer) Ping(_a0 context.Context, _a1 *execution.PingRequest) (*execution.PingResponse, error)
Ping provides a mock function with given fields: _a0, _a1