mocks

package
v1.0.0-preview.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExecutionDataRPCClient added in v0.41.19

type MockExecutionDataRPCClient struct {
	mock.Mock
}

MockExecutionDataRPCClient is an autogenerated mock type for the ExecutionDataRPCClient type

func (*MockExecutionDataRPCClient) GetExecutionDataByBlockID added in v0.41.19

GetExecutionDataByBlockID provides a mock function with given fields: ctx, in, opts

func (*MockExecutionDataRPCClient) GetRegisterValues added in v0.41.19

GetRegisterValues provides a mock function with given fields: ctx, in, opts

func (*MockExecutionDataRPCClient) SubscribeAccountStatusesFromLatestBlock added in v1.0.0

SubscribeAccountStatusesFromLatestBlock provides a mock function with given fields: ctx, in, opts

func (*MockExecutionDataRPCClient) SubscribeAccountStatusesFromStartBlockID added in v1.0.0

SubscribeAccountStatusesFromStartBlockID provides a mock function with given fields: ctx, in, opts

func (*MockExecutionDataRPCClient) SubscribeAccountStatusesFromStartHeight added in v1.0.0

SubscribeAccountStatusesFromStartHeight provides a mock function with given fields: ctx, in, opts

func (*MockExecutionDataRPCClient) SubscribeEvents added in v0.41.19

SubscribeEvents provides a mock function with given fields: ctx, in, opts

func (*MockExecutionDataRPCClient) SubscribeEventsFromLatest added in v1.0.0

SubscribeEventsFromLatest provides a mock function with given fields: ctx, in, opts

func (*MockExecutionDataRPCClient) SubscribeEventsFromStartBlockID added in v1.0.0

SubscribeEventsFromStartBlockID provides a mock function with given fields: ctx, in, opts

func (*MockExecutionDataRPCClient) SubscribeEventsFromStartHeight added in v1.0.0

SubscribeEventsFromStartHeight provides a mock function with given fields: ctx, in, opts

func (*MockExecutionDataRPCClient) SubscribeExecutionData added in v0.41.19

SubscribeExecutionData provides a mock function with given fields: ctx, in, opts

type MockRPCClient

type MockRPCClient struct {
	mock.Mock
}

MockRPCClient is an autogenerated mock type for the RPCClient type

func (*MockRPCClient) ExecuteScriptAtBlockHeight

ExecuteScriptAtBlockHeight provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) ExecuteScriptAtBlockID

ExecuteScriptAtBlockID provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) ExecuteScriptAtLatestBlock

ExecuteScriptAtLatestBlock provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetAccount

GetAccount provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetAccountAtBlockHeight

func (_m *MockRPCClient) 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 (*MockRPCClient) GetAccountAtLatestBlock

func (_m *MockRPCClient) 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 (*MockRPCClient) GetBlockByHeight

GetBlockByHeight provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetBlockByID

GetBlockByID provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetBlockHeaderByHeight

GetBlockHeaderByHeight provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetBlockHeaderByID

GetBlockHeaderByID provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetCollectionByID

GetCollectionByID provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetEventsForBlockIDs

func (_m *MockRPCClient) 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 (*MockRPCClient) GetEventsForHeightRange

func (_m *MockRPCClient) 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 (*MockRPCClient) GetExecutionResultByID

GetExecutionResultByID provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetExecutionResultForBlockID

GetExecutionResultForBlockID provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetLatestBlock

GetLatestBlock provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetLatestBlockHeader

GetLatestBlockHeader provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetLatestProtocolStateSnapshot

GetLatestProtocolStateSnapshot provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetNetworkParameters

GetNetworkParameters provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetNodeVersionInfo

GetNodeVersionInfo provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetProtocolStateSnapshotByBlockID added in v0.41.19

GetProtocolStateSnapshotByBlockID provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetProtocolStateSnapshotByHeight added in v0.41.19

GetProtocolStateSnapshotByHeight provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetSystemTransaction added in v1.0.0

GetSystemTransaction provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetSystemTransactionResult added in v1.0.0

GetSystemTransactionResult provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetTransaction

GetTransaction provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetTransactionResult

GetTransactionResult provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetTransactionResultByIndex

GetTransactionResultByIndex provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetTransactionResultsByBlockID

GetTransactionResultsByBlockID provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) GetTransactionsByBlockID

GetTransactionsByBlockID provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) Ping

Ping provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) SendAndSubscribeTransactionStatuses added in v1.0.0

SendAndSubscribeTransactionStatuses provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) SendTransaction

SendTransaction provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) SubscribeBlockDigestsFromLatest added in v1.0.0

SubscribeBlockDigestsFromLatest provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) SubscribeBlockDigestsFromStartBlockID added in v1.0.0

SubscribeBlockDigestsFromStartBlockID provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) SubscribeBlockDigestsFromStartHeight added in v1.0.0

SubscribeBlockDigestsFromStartHeight provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) SubscribeBlockHeadersFromLatest added in v1.0.0

SubscribeBlockHeadersFromLatest provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) SubscribeBlockHeadersFromStartBlockID added in v1.0.0

SubscribeBlockHeadersFromStartBlockID provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) SubscribeBlockHeadersFromStartHeight added in v1.0.0

SubscribeBlockHeadersFromStartHeight provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) SubscribeBlocksFromLatest added in v1.0.0

SubscribeBlocksFromLatest provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) SubscribeBlocksFromStartBlockID added in v1.0.0

SubscribeBlocksFromStartBlockID provides a mock function with given fields: ctx, in, opts

func (*MockRPCClient) SubscribeBlocksFromStartHeight added in v1.0.0

SubscribeBlocksFromStartHeight provides a mock function with given fields: ctx, in, opts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL