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) GetExecutionResultByID(ctx context.Context, in *access.GetExecutionResultByIDRequest, ...) (*access.ExecutionResultByIDResponse, error)
- func (_m *AccessAPIClient) GetExecutionResultForBlockID(ctx context.Context, in *access.GetExecutionResultForBlockIDRequest, ...) (*access.ExecutionResultForBlockIDResponse, error)
- func (_m *AccessAPIClient) GetFullCollectionByID(ctx context.Context, in *access.GetFullCollectionByIDRequest, ...) (*access.FullCollectionResponse, 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) GetNodeVersionInfo(ctx context.Context, in *access.GetNodeVersionInfoRequest, ...) (*access.GetNodeVersionInfoResponse, error)
- func (_m *AccessAPIClient) GetProtocolStateSnapshotByBlockID(ctx context.Context, in *access.GetProtocolStateSnapshotByBlockIDRequest, ...) (*access.ProtocolStateSnapshotResponse, error)
- func (_m *AccessAPIClient) GetProtocolStateSnapshotByHeight(ctx context.Context, in *access.GetProtocolStateSnapshotByHeightRequest, ...) (*access.ProtocolStateSnapshotResponse, error)
- func (_m *AccessAPIClient) GetSystemTransaction(ctx context.Context, in *access.GetSystemTransactionRequest, ...) (*access.TransactionResponse, error)
- func (_m *AccessAPIClient) GetSystemTransactionResult(ctx context.Context, in *access.GetSystemTransactionResultRequest, ...) (*access.TransactionResultResponse, 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) SendAndSubscribeTransactionStatuses(ctx context.Context, in *access.SendAndSubscribeTransactionStatusesRequest, ...) (access.AccessAPI_SendAndSubscribeTransactionStatusesClient, error)
- func (_m *AccessAPIClient) SendTransaction(ctx context.Context, in *access.SendTransactionRequest, ...) (*access.SendTransactionResponse, error)
- func (_m *AccessAPIClient) SubscribeBlockDigestsFromLatest(ctx context.Context, in *access.SubscribeBlockDigestsFromLatestRequest, ...) (access.AccessAPI_SubscribeBlockDigestsFromLatestClient, error)
- func (_m *AccessAPIClient) SubscribeBlockDigestsFromStartBlockID(ctx context.Context, in *access.SubscribeBlockDigestsFromStartBlockIDRequest, ...) (access.AccessAPI_SubscribeBlockDigestsFromStartBlockIDClient, error)
- func (_m *AccessAPIClient) SubscribeBlockDigestsFromStartHeight(ctx context.Context, in *access.SubscribeBlockDigestsFromStartHeightRequest, ...) (access.AccessAPI_SubscribeBlockDigestsFromStartHeightClient, error)
- func (_m *AccessAPIClient) SubscribeBlockHeadersFromLatest(ctx context.Context, in *access.SubscribeBlockHeadersFromLatestRequest, ...) (access.AccessAPI_SubscribeBlockHeadersFromLatestClient, error)
- func (_m *AccessAPIClient) SubscribeBlockHeadersFromStartBlockID(ctx context.Context, in *access.SubscribeBlockHeadersFromStartBlockIDRequest, ...) (access.AccessAPI_SubscribeBlockHeadersFromStartBlockIDClient, error)
- func (_m *AccessAPIClient) SubscribeBlockHeadersFromStartHeight(ctx context.Context, in *access.SubscribeBlockHeadersFromStartHeightRequest, ...) (access.AccessAPI_SubscribeBlockHeadersFromStartHeightClient, error)
- func (_m *AccessAPIClient) SubscribeBlocksFromLatest(ctx context.Context, in *access.SubscribeBlocksFromLatestRequest, ...) (access.AccessAPI_SubscribeBlocksFromLatestClient, error)
- func (_m *AccessAPIClient) SubscribeBlocksFromStartBlockID(ctx context.Context, in *access.SubscribeBlocksFromStartBlockIDRequest, ...) (access.AccessAPI_SubscribeBlocksFromStartBlockIDClient, error)
- func (_m *AccessAPIClient) SubscribeBlocksFromStartHeight(ctx context.Context, in *access.SubscribeBlocksFromStartHeightRequest, ...) (access.AccessAPI_SubscribeBlocksFromStartHeightClient, 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) GetExecutionResultByID(_a0 context.Context, _a1 *access.GetExecutionResultByIDRequest) (*access.ExecutionResultByIDResponse, error)
- func (_m *AccessAPIServer) GetExecutionResultForBlockID(_a0 context.Context, _a1 *access.GetExecutionResultForBlockIDRequest) (*access.ExecutionResultForBlockIDResponse, error)
- func (_m *AccessAPIServer) GetFullCollectionByID(_a0 context.Context, _a1 *access.GetFullCollectionByIDRequest) (*access.FullCollectionResponse, 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) GetNodeVersionInfo(_a0 context.Context, _a1 *access.GetNodeVersionInfoRequest) (*access.GetNodeVersionInfoResponse, error)
- func (_m *AccessAPIServer) GetProtocolStateSnapshotByBlockID(_a0 context.Context, _a1 *access.GetProtocolStateSnapshotByBlockIDRequest) (*access.ProtocolStateSnapshotResponse, error)
- func (_m *AccessAPIServer) GetProtocolStateSnapshotByHeight(_a0 context.Context, _a1 *access.GetProtocolStateSnapshotByHeightRequest) (*access.ProtocolStateSnapshotResponse, error)
- func (_m *AccessAPIServer) GetSystemTransaction(_a0 context.Context, _a1 *access.GetSystemTransactionRequest) (*access.TransactionResponse, error)
- func (_m *AccessAPIServer) GetSystemTransactionResult(_a0 context.Context, _a1 *access.GetSystemTransactionResultRequest) (*access.TransactionResultResponse, 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) SendAndSubscribeTransactionStatuses(_a0 *access.SendAndSubscribeTransactionStatusesRequest, ...) error
- func (_m *AccessAPIServer) SendTransaction(_a0 context.Context, _a1 *access.SendTransactionRequest) (*access.SendTransactionResponse, error)
- func (_m *AccessAPIServer) SubscribeBlockDigestsFromLatest(_a0 *access.SubscribeBlockDigestsFromLatestRequest, ...) error
- func (_m *AccessAPIServer) SubscribeBlockDigestsFromStartBlockID(_a0 *access.SubscribeBlockDigestsFromStartBlockIDRequest, ...) error
- func (_m *AccessAPIServer) SubscribeBlockDigestsFromStartHeight(_a0 *access.SubscribeBlockDigestsFromStartHeightRequest, ...) error
- func (_m *AccessAPIServer) SubscribeBlockHeadersFromLatest(_a0 *access.SubscribeBlockHeadersFromLatestRequest, ...) error
- func (_m *AccessAPIServer) SubscribeBlockHeadersFromStartBlockID(_a0 *access.SubscribeBlockHeadersFromStartBlockIDRequest, ...) error
- func (_m *AccessAPIServer) SubscribeBlockHeadersFromStartHeight(_a0 *access.SubscribeBlockHeadersFromStartHeightRequest, ...) error
- func (_m *AccessAPIServer) SubscribeBlocksFromLatest(_a0 *access.SubscribeBlocksFromLatestRequest, ...) error
- func (_m *AccessAPIServer) SubscribeBlocksFromStartBlockID(_a0 *access.SubscribeBlocksFromStartBlockIDRequest, ...) error
- func (_m *AccessAPIServer) SubscribeBlocksFromStartHeight(_a0 *access.SubscribeBlocksFromStartHeightRequest, ...) 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) GetTransactionErrorMessage(ctx context.Context, in *execution.GetTransactionErrorMessageRequest, ...) (*execution.GetTransactionErrorMessageResponse, error)
- func (_m *ExecutionAPIClient) GetTransactionErrorMessageByIndex(ctx context.Context, in *execution.GetTransactionErrorMessageByIndexRequest, ...) (*execution.GetTransactionErrorMessageResponse, error)
- func (_m *ExecutionAPIClient) GetTransactionErrorMessagesByBlockID(ctx context.Context, in *execution.GetTransactionErrorMessagesByBlockIDRequest, ...) (*execution.GetTransactionErrorMessagesResponse, 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) GetTransactionErrorMessage(_a0 context.Context, _a1 *execution.GetTransactionErrorMessageRequest) (*execution.GetTransactionErrorMessageResponse, error)
- func (_m *ExecutionAPIServer) GetTransactionErrorMessageByIndex(_a0 context.Context, _a1 *execution.GetTransactionErrorMessageByIndexRequest) (*execution.GetTransactionErrorMessageResponse, error)
- func (_m *ExecutionAPIServer) GetTransactionErrorMessagesByBlockID(_a0 context.Context, ...) (*execution.GetTransactionErrorMessagesResponse, 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 mockConstructorTestingTNewAccessAPIClient) *AccessAPIClient
NewAccessAPIClient creates a new instance of AccessAPIClient. It also registers a testing 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) GetExecutionResultByID ¶ added in v0.32.0
func (_m *AccessAPIClient) GetExecutionResultByID(ctx context.Context, in *access.GetExecutionResultByIDRequest, opts ...grpc.CallOption) (*access.ExecutionResultByIDResponse, error)
GetExecutionResultByID 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) GetFullCollectionByID ¶ added in v0.33.26
func (_m *AccessAPIClient) GetFullCollectionByID(ctx context.Context, in *access.GetFullCollectionByIDRequest, opts ...grpc.CallOption) (*access.FullCollectionResponse, error)
GetFullCollectionByID 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) GetNodeVersionInfo ¶ added in v0.31.0
func (_m *AccessAPIClient) GetNodeVersionInfo(ctx context.Context, in *access.GetNodeVersionInfoRequest, opts ...grpc.CallOption) (*access.GetNodeVersionInfoResponse, error)
GetNodeVersionInfo provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetProtocolStateSnapshotByBlockID ¶ added in v0.33.1
func (_m *AccessAPIClient) GetProtocolStateSnapshotByBlockID(ctx context.Context, in *access.GetProtocolStateSnapshotByBlockIDRequest, opts ...grpc.CallOption) (*access.ProtocolStateSnapshotResponse, error)
GetProtocolStateSnapshotByBlockID provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetProtocolStateSnapshotByHeight ¶ added in v0.33.1
func (_m *AccessAPIClient) GetProtocolStateSnapshotByHeight(ctx context.Context, in *access.GetProtocolStateSnapshotByHeightRequest, opts ...grpc.CallOption) (*access.ProtocolStateSnapshotResponse, error)
GetProtocolStateSnapshotByHeight provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetSystemTransaction ¶ added in v0.33.1
func (_m *AccessAPIClient) GetSystemTransaction(ctx context.Context, in *access.GetSystemTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResponse, error)
GetSystemTransaction provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) GetSystemTransactionResult ¶ added in v0.33.1
func (_m *AccessAPIClient) GetSystemTransactionResult(ctx context.Context, in *access.GetSystemTransactionResultRequest, opts ...grpc.CallOption) (*access.TransactionResultResponse, error)
GetSystemTransactionResult 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) SendAndSubscribeTransactionStatuses ¶ added in v0.33.26
func (_m *AccessAPIClient) SendAndSubscribeTransactionStatuses(ctx context.Context, in *access.SendAndSubscribeTransactionStatusesRequest, opts ...grpc.CallOption) (access.AccessAPI_SendAndSubscribeTransactionStatusesClient, error)
SendAndSubscribeTransactionStatuses 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
func (*AccessAPIClient) SubscribeBlockDigestsFromLatest ¶ added in v0.33.26
func (_m *AccessAPIClient) SubscribeBlockDigestsFromLatest(ctx context.Context, in *access.SubscribeBlockDigestsFromLatestRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlockDigestsFromLatestClient, error)
SubscribeBlockDigestsFromLatest provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) SubscribeBlockDigestsFromStartBlockID ¶ added in v0.33.26
func (_m *AccessAPIClient) SubscribeBlockDigestsFromStartBlockID(ctx context.Context, in *access.SubscribeBlockDigestsFromStartBlockIDRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlockDigestsFromStartBlockIDClient, error)
SubscribeBlockDigestsFromStartBlockID provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) SubscribeBlockDigestsFromStartHeight ¶ added in v0.33.26
func (_m *AccessAPIClient) SubscribeBlockDigestsFromStartHeight(ctx context.Context, in *access.SubscribeBlockDigestsFromStartHeightRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlockDigestsFromStartHeightClient, error)
SubscribeBlockDigestsFromStartHeight provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) SubscribeBlockHeadersFromLatest ¶ added in v0.33.26
func (_m *AccessAPIClient) SubscribeBlockHeadersFromLatest(ctx context.Context, in *access.SubscribeBlockHeadersFromLatestRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlockHeadersFromLatestClient, error)
SubscribeBlockHeadersFromLatest provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) SubscribeBlockHeadersFromStartBlockID ¶ added in v0.33.26
func (_m *AccessAPIClient) SubscribeBlockHeadersFromStartBlockID(ctx context.Context, in *access.SubscribeBlockHeadersFromStartBlockIDRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlockHeadersFromStartBlockIDClient, error)
SubscribeBlockHeadersFromStartBlockID provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) SubscribeBlockHeadersFromStartHeight ¶ added in v0.33.26
func (_m *AccessAPIClient) SubscribeBlockHeadersFromStartHeight(ctx context.Context, in *access.SubscribeBlockHeadersFromStartHeightRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlockHeadersFromStartHeightClient, error)
SubscribeBlockHeadersFromStartHeight provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) SubscribeBlocksFromLatest ¶ added in v0.33.26
func (_m *AccessAPIClient) SubscribeBlocksFromLatest(ctx context.Context, in *access.SubscribeBlocksFromLatestRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlocksFromLatestClient, error)
SubscribeBlocksFromLatest provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) SubscribeBlocksFromStartBlockID ¶ added in v0.33.26
func (_m *AccessAPIClient) SubscribeBlocksFromStartBlockID(ctx context.Context, in *access.SubscribeBlocksFromStartBlockIDRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlocksFromStartBlockIDClient, error)
SubscribeBlocksFromStartBlockID provides a mock function with given fields: ctx, in, opts
func (*AccessAPIClient) SubscribeBlocksFromStartHeight ¶ added in v0.33.26
func (_m *AccessAPIClient) SubscribeBlocksFromStartHeight(ctx context.Context, in *access.SubscribeBlocksFromStartHeightRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlocksFromStartHeightClient, error)
SubscribeBlocksFromStartHeight 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 mockConstructorTestingTNewAccessAPIServer) *AccessAPIServer
NewAccessAPIServer creates a new instance of AccessAPIServer. It also registers a testing 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) GetExecutionResultByID ¶ added in v0.32.0
func (_m *AccessAPIServer) GetExecutionResultByID(_a0 context.Context, _a1 *access.GetExecutionResultByIDRequest) (*access.ExecutionResultByIDResponse, error)
GetExecutionResultByID 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) GetFullCollectionByID ¶ added in v0.33.26
func (_m *AccessAPIServer) GetFullCollectionByID(_a0 context.Context, _a1 *access.GetFullCollectionByIDRequest) (*access.FullCollectionResponse, error)
GetFullCollectionByID 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) GetNodeVersionInfo ¶ added in v0.31.0
func (_m *AccessAPIServer) GetNodeVersionInfo(_a0 context.Context, _a1 *access.GetNodeVersionInfoRequest) (*access.GetNodeVersionInfoResponse, error)
GetNodeVersionInfo provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetProtocolStateSnapshotByBlockID ¶ added in v0.33.1
func (_m *AccessAPIServer) GetProtocolStateSnapshotByBlockID(_a0 context.Context, _a1 *access.GetProtocolStateSnapshotByBlockIDRequest) (*access.ProtocolStateSnapshotResponse, error)
GetProtocolStateSnapshotByBlockID provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetProtocolStateSnapshotByHeight ¶ added in v0.33.1
func (_m *AccessAPIServer) GetProtocolStateSnapshotByHeight(_a0 context.Context, _a1 *access.GetProtocolStateSnapshotByHeightRequest) (*access.ProtocolStateSnapshotResponse, error)
GetProtocolStateSnapshotByHeight provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetSystemTransaction ¶ added in v0.33.1
func (_m *AccessAPIServer) GetSystemTransaction(_a0 context.Context, _a1 *access.GetSystemTransactionRequest) (*access.TransactionResponse, error)
GetSystemTransaction provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) GetSystemTransactionResult ¶ added in v0.33.1
func (_m *AccessAPIServer) GetSystemTransactionResult(_a0 context.Context, _a1 *access.GetSystemTransactionResultRequest) (*access.TransactionResultResponse, error)
GetSystemTransactionResult 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) SendAndSubscribeTransactionStatuses ¶ added in v0.33.26
func (_m *AccessAPIServer) SendAndSubscribeTransactionStatuses(_a0 *access.SendAndSubscribeTransactionStatusesRequest, _a1 access.AccessAPI_SendAndSubscribeTransactionStatusesServer) error
SendAndSubscribeTransactionStatuses 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
func (*AccessAPIServer) SubscribeBlockDigestsFromLatest ¶ added in v0.33.26
func (_m *AccessAPIServer) SubscribeBlockDigestsFromLatest(_a0 *access.SubscribeBlockDigestsFromLatestRequest, _a1 access.AccessAPI_SubscribeBlockDigestsFromLatestServer) error
SubscribeBlockDigestsFromLatest provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) SubscribeBlockDigestsFromStartBlockID ¶ added in v0.33.26
func (_m *AccessAPIServer) SubscribeBlockDigestsFromStartBlockID(_a0 *access.SubscribeBlockDigestsFromStartBlockIDRequest, _a1 access.AccessAPI_SubscribeBlockDigestsFromStartBlockIDServer) error
SubscribeBlockDigestsFromStartBlockID provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) SubscribeBlockDigestsFromStartHeight ¶ added in v0.33.26
func (_m *AccessAPIServer) SubscribeBlockDigestsFromStartHeight(_a0 *access.SubscribeBlockDigestsFromStartHeightRequest, _a1 access.AccessAPI_SubscribeBlockDigestsFromStartHeightServer) error
SubscribeBlockDigestsFromStartHeight provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) SubscribeBlockHeadersFromLatest ¶ added in v0.33.26
func (_m *AccessAPIServer) SubscribeBlockHeadersFromLatest(_a0 *access.SubscribeBlockHeadersFromLatestRequest, _a1 access.AccessAPI_SubscribeBlockHeadersFromLatestServer) error
SubscribeBlockHeadersFromLatest provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) SubscribeBlockHeadersFromStartBlockID ¶ added in v0.33.26
func (_m *AccessAPIServer) SubscribeBlockHeadersFromStartBlockID(_a0 *access.SubscribeBlockHeadersFromStartBlockIDRequest, _a1 access.AccessAPI_SubscribeBlockHeadersFromStartBlockIDServer) error
SubscribeBlockHeadersFromStartBlockID provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) SubscribeBlockHeadersFromStartHeight ¶ added in v0.33.26
func (_m *AccessAPIServer) SubscribeBlockHeadersFromStartHeight(_a0 *access.SubscribeBlockHeadersFromStartHeightRequest, _a1 access.AccessAPI_SubscribeBlockHeadersFromStartHeightServer) error
SubscribeBlockHeadersFromStartHeight provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) SubscribeBlocksFromLatest ¶ added in v0.33.26
func (_m *AccessAPIServer) SubscribeBlocksFromLatest(_a0 *access.SubscribeBlocksFromLatestRequest, _a1 access.AccessAPI_SubscribeBlocksFromLatestServer) error
SubscribeBlocksFromLatest provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) SubscribeBlocksFromStartBlockID ¶ added in v0.33.26
func (_m *AccessAPIServer) SubscribeBlocksFromStartBlockID(_a0 *access.SubscribeBlocksFromStartBlockIDRequest, _a1 access.AccessAPI_SubscribeBlocksFromStartBlockIDServer) error
SubscribeBlocksFromStartBlockID provides a mock function with given fields: _a0, _a1
func (*AccessAPIServer) SubscribeBlocksFromStartHeight ¶ added in v0.33.26
func (_m *AccessAPIServer) SubscribeBlocksFromStartHeight(_a0 *access.SubscribeBlocksFromStartHeightRequest, _a1 access.AccessAPI_SubscribeBlocksFromStartHeightServer) error
SubscribeBlocksFromStartHeight 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 mockConstructorTestingTNewExecutionAPIClient) *ExecutionAPIClient
NewExecutionAPIClient creates a new instance of ExecutionAPIClient. It also registers a testing 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) GetTransactionErrorMessage ¶ added in v0.33.1
func (_m *ExecutionAPIClient) GetTransactionErrorMessage(ctx context.Context, in *execution.GetTransactionErrorMessageRequest, opts ...grpc.CallOption) (*execution.GetTransactionErrorMessageResponse, error)
GetTransactionErrorMessage provides a mock function with given fields: ctx, in, opts
func (*ExecutionAPIClient) GetTransactionErrorMessageByIndex ¶ added in v0.33.1
func (_m *ExecutionAPIClient) GetTransactionErrorMessageByIndex(ctx context.Context, in *execution.GetTransactionErrorMessageByIndexRequest, opts ...grpc.CallOption) (*execution.GetTransactionErrorMessageResponse, error)
GetTransactionErrorMessageByIndex provides a mock function with given fields: ctx, in, opts
func (*ExecutionAPIClient) GetTransactionErrorMessagesByBlockID ¶ added in v0.33.1
func (_m *ExecutionAPIClient) GetTransactionErrorMessagesByBlockID(ctx context.Context, in *execution.GetTransactionErrorMessagesByBlockIDRequest, opts ...grpc.CallOption) (*execution.GetTransactionErrorMessagesResponse, error)
GetTransactionErrorMessagesByBlockID 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 mockConstructorTestingTNewExecutionAPIServer) *ExecutionAPIServer
NewExecutionAPIServer creates a new instance of ExecutionAPIServer. It also registers a testing 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) GetTransactionErrorMessage ¶ added in v0.33.1
func (_m *ExecutionAPIServer) GetTransactionErrorMessage(_a0 context.Context, _a1 *execution.GetTransactionErrorMessageRequest) (*execution.GetTransactionErrorMessageResponse, error)
GetTransactionErrorMessage provides a mock function with given fields: _a0, _a1
func (*ExecutionAPIServer) GetTransactionErrorMessageByIndex ¶ added in v0.33.1
func (_m *ExecutionAPIServer) GetTransactionErrorMessageByIndex(_a0 context.Context, _a1 *execution.GetTransactionErrorMessageByIndexRequest) (*execution.GetTransactionErrorMessageResponse, error)
GetTransactionErrorMessageByIndex provides a mock function with given fields: _a0, _a1
func (*ExecutionAPIServer) GetTransactionErrorMessagesByBlockID ¶ added in v0.33.1
func (_m *ExecutionAPIServer) GetTransactionErrorMessagesByBlockID(_a0 context.Context, _a1 *execution.GetTransactionErrorMessagesByBlockIDRequest) (*execution.GetTransactionErrorMessagesResponse, error)
GetTransactionErrorMessagesByBlockID 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