Documentation
¶
Index ¶
- type API
- func (_m *API) EXPECT() *API_Expecter
- func (_mock *API) ExecuteScriptAtBlockHeight(ctx context.Context, blockHeight uint64, script []byte, arguments [][]byte) ([]byte, error)
- func (_mock *API) ExecuteScriptAtBlockID(ctx context.Context, blockID flow.Identifier, script []byte, ...) ([]byte, error)
- func (_mock *API) ExecuteScriptAtLatestBlock(ctx context.Context, script []byte, arguments [][]byte) ([]byte, error)
- func (_mock *API) GetAccount(ctx context.Context, address flow.Address) (*flow.Account, error)
- func (_mock *API) GetAccountAtBlockHeight(ctx context.Context, address flow.Address, height uint64) (*flow.Account, error)
- func (_mock *API) GetAccountAtLatestBlock(ctx context.Context, address flow.Address) (*flow.Account, error)
- func (_mock *API) GetAccountBalanceAtBlockHeight(ctx context.Context, address flow.Address, height uint64) (uint64, error)
- func (_mock *API) GetAccountBalanceAtLatestBlock(ctx context.Context, address flow.Address) (uint64, error)
- func (_mock *API) GetAccountKeyAtBlockHeight(ctx context.Context, address flow.Address, keyIndex uint32, height uint64) (*flow.AccountPublicKey, error)
- func (_mock *API) GetAccountKeyAtLatestBlock(ctx context.Context, address flow.Address, keyIndex uint32) (*flow.AccountPublicKey, error)
- func (_mock *API) GetAccountKeysAtBlockHeight(ctx context.Context, address flow.Address, height uint64) ([]flow.AccountPublicKey, error)
- func (_mock *API) GetAccountKeysAtLatestBlock(ctx context.Context, address flow.Address) ([]flow.AccountPublicKey, error)
- func (_mock *API) GetBlockByHeight(ctx context.Context, height uint64) (*flow.Block, flow.BlockStatus, error)
- func (_mock *API) GetBlockByID(ctx context.Context, id flow.Identifier) (*flow.Block, flow.BlockStatus, error)
- func (_mock *API) GetBlockHeaderByHeight(ctx context.Context, height uint64) (*flow.Header, flow.BlockStatus, error)
- func (_mock *API) GetBlockHeaderByID(ctx context.Context, id flow.Identifier) (*flow.Header, flow.BlockStatus, error)
- func (_mock *API) GetCollectionByID(ctx context.Context, id flow.Identifier) (*flow.LightCollection, error)
- func (_mock *API) GetEventsForBlockIDs(ctx context.Context, eventType string, blockIDs []flow.Identifier, ...) ([]flow.BlockEvents, error)
- func (_mock *API) GetEventsForHeightRange(ctx context.Context, eventType string, startHeight uint64, endHeight uint64, ...) ([]flow.BlockEvents, error)
- func (_mock *API) GetExecutionResultByID(ctx context.Context, id flow.Identifier) (*flow.ExecutionResult, error)
- func (_mock *API) GetExecutionResultForBlockID(ctx context.Context, blockID flow.Identifier) (*flow.ExecutionResult, error)
- func (_mock *API) GetFullCollectionByID(ctx context.Context, id flow.Identifier) (*flow.Collection, error)
- func (_mock *API) GetLatestBlock(ctx context.Context, isSealed bool) (*flow.Block, flow.BlockStatus, error)
- func (_mock *API) GetLatestBlockHeader(ctx context.Context, isSealed bool) (*flow.Header, flow.BlockStatus, error)
- func (_mock *API) GetLatestProtocolStateSnapshot(ctx context.Context) ([]byte, error)
- func (_mock *API) GetNetworkParameters(ctx context.Context) access.NetworkParameters
- func (_mock *API) GetNodeVersionInfo(ctx context.Context) (*access.NodeVersionInfo, error)
- func (_mock *API) GetProtocolStateSnapshotByBlockID(ctx context.Context, blockID flow.Identifier) ([]byte, error)
- func (_mock *API) GetProtocolStateSnapshotByHeight(ctx context.Context, blockHeight uint64) ([]byte, error)
- func (_mock *API) GetScheduledTransaction(ctx context.Context, scheduledTxID uint64) (*flow.TransactionBody, error)
- func (_mock *API) GetScheduledTransactionResult(ctx context.Context, scheduledTxID uint64, ...) (*access.TransactionResult, error)
- func (_mock *API) GetSystemTransaction(ctx context.Context, txID flow.Identifier, blockID flow.Identifier) (*flow.TransactionBody, error)
- func (_mock *API) GetSystemTransactionResult(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, ...) (*access.TransactionResult, error)
- func (_mock *API) GetTransaction(ctx context.Context, id flow.Identifier) (*flow.TransactionBody, error)
- func (_mock *API) GetTransactionResult(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, ...) (*access.TransactionResult, error)
- func (_mock *API) GetTransactionResultByIndex(ctx context.Context, blockID flow.Identifier, index uint32, ...) (*access.TransactionResult, error)
- func (_mock *API) GetTransactionResultsByBlockID(ctx context.Context, blockID flow.Identifier, ...) ([]*access.TransactionResult, error)
- func (_mock *API) GetTransactionsByBlockID(ctx context.Context, blockID flow.Identifier) ([]*flow.TransactionBody, error)
- func (_mock *API) Ping(ctx context.Context) error
- func (_mock *API) SendAndSubscribeTransactionStatuses(ctx context.Context, tx *flow.TransactionBody, ...) subscription.Subscription
- func (_mock *API) SendTransaction(ctx context.Context, tx *flow.TransactionBody) error
- func (_mock *API) SubscribeBlockDigestsFromLatest(ctx context.Context, blockStatus flow.BlockStatus) subscription.Subscription
- func (_mock *API) SubscribeBlockDigestsFromStartBlockID(ctx context.Context, startBlockID flow.Identifier, ...) subscription.Subscription
- func (_mock *API) SubscribeBlockDigestsFromStartHeight(ctx context.Context, startHeight uint64, blockStatus flow.BlockStatus) subscription.Subscription
- func (_mock *API) SubscribeBlockHeadersFromLatest(ctx context.Context, blockStatus flow.BlockStatus) subscription.Subscription
- func (_mock *API) SubscribeBlockHeadersFromStartBlockID(ctx context.Context, startBlockID flow.Identifier, ...) subscription.Subscription
- func (_mock *API) SubscribeBlockHeadersFromStartHeight(ctx context.Context, startHeight uint64, blockStatus flow.BlockStatus) subscription.Subscription
- func (_mock *API) SubscribeBlocksFromLatest(ctx context.Context, blockStatus flow.BlockStatus) subscription.Subscription
- func (_mock *API) SubscribeBlocksFromStartBlockID(ctx context.Context, startBlockID flow.Identifier, ...) subscription.Subscription
- func (_mock *API) SubscribeBlocksFromStartHeight(ctx context.Context, startHeight uint64, blockStatus flow.BlockStatus) subscription.Subscription
- func (_mock *API) SubscribeTransactionStatuses(ctx context.Context, txID flow.Identifier, ...) subscription.Subscription
- type API_ExecuteScriptAtBlockHeight_Call
- func (_c *API_ExecuteScriptAtBlockHeight_Call) Return(bytes []byte, err error) *API_ExecuteScriptAtBlockHeight_Call
- func (_c *API_ExecuteScriptAtBlockHeight_Call) Run(...) *API_ExecuteScriptAtBlockHeight_Call
- func (_c *API_ExecuteScriptAtBlockHeight_Call) RunAndReturn(...) *API_ExecuteScriptAtBlockHeight_Call
- type API_ExecuteScriptAtBlockID_Call
- func (_c *API_ExecuteScriptAtBlockID_Call) Return(bytes []byte, err error) *API_ExecuteScriptAtBlockID_Call
- func (_c *API_ExecuteScriptAtBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier, script []byte, ...)) *API_ExecuteScriptAtBlockID_Call
- func (_c *API_ExecuteScriptAtBlockID_Call) RunAndReturn(...) *API_ExecuteScriptAtBlockID_Call
- type API_ExecuteScriptAtLatestBlock_Call
- func (_c *API_ExecuteScriptAtLatestBlock_Call) Return(bytes []byte, err error) *API_ExecuteScriptAtLatestBlock_Call
- func (_c *API_ExecuteScriptAtLatestBlock_Call) Run(run func(ctx context.Context, script []byte, arguments [][]byte)) *API_ExecuteScriptAtLatestBlock_Call
- func (_c *API_ExecuteScriptAtLatestBlock_Call) RunAndReturn(...) *API_ExecuteScriptAtLatestBlock_Call
- type API_Expecter
- func (_e *API_Expecter) ExecuteScriptAtBlockHeight(ctx interface{}, blockHeight interface{}, script interface{}, ...) *API_ExecuteScriptAtBlockHeight_Call
- func (_e *API_Expecter) ExecuteScriptAtBlockID(ctx interface{}, blockID interface{}, script interface{}, ...) *API_ExecuteScriptAtBlockID_Call
- func (_e *API_Expecter) ExecuteScriptAtLatestBlock(ctx interface{}, script interface{}, arguments interface{}) *API_ExecuteScriptAtLatestBlock_Call
- func (_e *API_Expecter) GetAccount(ctx interface{}, address interface{}) *API_GetAccount_Call
- func (_e *API_Expecter) GetAccountAtBlockHeight(ctx interface{}, address interface{}, height interface{}) *API_GetAccountAtBlockHeight_Call
- func (_e *API_Expecter) GetAccountAtLatestBlock(ctx interface{}, address interface{}) *API_GetAccountAtLatestBlock_Call
- func (_e *API_Expecter) GetAccountBalanceAtBlockHeight(ctx interface{}, address interface{}, height interface{}) *API_GetAccountBalanceAtBlockHeight_Call
- func (_e *API_Expecter) GetAccountBalanceAtLatestBlock(ctx interface{}, address interface{}) *API_GetAccountBalanceAtLatestBlock_Call
- func (_e *API_Expecter) GetAccountKeyAtBlockHeight(ctx interface{}, address interface{}, keyIndex interface{}, height interface{}) *API_GetAccountKeyAtBlockHeight_Call
- func (_e *API_Expecter) GetAccountKeyAtLatestBlock(ctx interface{}, address interface{}, keyIndex interface{}) *API_GetAccountKeyAtLatestBlock_Call
- func (_e *API_Expecter) GetAccountKeysAtBlockHeight(ctx interface{}, address interface{}, height interface{}) *API_GetAccountKeysAtBlockHeight_Call
- func (_e *API_Expecter) GetAccountKeysAtLatestBlock(ctx interface{}, address interface{}) *API_GetAccountKeysAtLatestBlock_Call
- func (_e *API_Expecter) GetBlockByHeight(ctx interface{}, height interface{}) *API_GetBlockByHeight_Call
- func (_e *API_Expecter) GetBlockByID(ctx interface{}, id interface{}) *API_GetBlockByID_Call
- func (_e *API_Expecter) GetBlockHeaderByHeight(ctx interface{}, height interface{}) *API_GetBlockHeaderByHeight_Call
- func (_e *API_Expecter) GetBlockHeaderByID(ctx interface{}, id interface{}) *API_GetBlockHeaderByID_Call
- func (_e *API_Expecter) GetCollectionByID(ctx interface{}, id interface{}) *API_GetCollectionByID_Call
- func (_e *API_Expecter) GetEventsForBlockIDs(ctx interface{}, eventType interface{}, blockIDs interface{}, ...) *API_GetEventsForBlockIDs_Call
- func (_e *API_Expecter) GetEventsForHeightRange(ctx interface{}, eventType interface{}, startHeight interface{}, ...) *API_GetEventsForHeightRange_Call
- func (_e *API_Expecter) GetExecutionResultByID(ctx interface{}, id interface{}) *API_GetExecutionResultByID_Call
- func (_e *API_Expecter) GetExecutionResultForBlockID(ctx interface{}, blockID interface{}) *API_GetExecutionResultForBlockID_Call
- func (_e *API_Expecter) GetFullCollectionByID(ctx interface{}, id interface{}) *API_GetFullCollectionByID_Call
- func (_e *API_Expecter) GetLatestBlock(ctx interface{}, isSealed interface{}) *API_GetLatestBlock_Call
- func (_e *API_Expecter) GetLatestBlockHeader(ctx interface{}, isSealed interface{}) *API_GetLatestBlockHeader_Call
- func (_e *API_Expecter) GetLatestProtocolStateSnapshot(ctx interface{}) *API_GetLatestProtocolStateSnapshot_Call
- func (_e *API_Expecter) GetNetworkParameters(ctx interface{}) *API_GetNetworkParameters_Call
- func (_e *API_Expecter) GetNodeVersionInfo(ctx interface{}) *API_GetNodeVersionInfo_Call
- func (_e *API_Expecter) GetProtocolStateSnapshotByBlockID(ctx interface{}, blockID interface{}) *API_GetProtocolStateSnapshotByBlockID_Call
- func (_e *API_Expecter) GetProtocolStateSnapshotByHeight(ctx interface{}, blockHeight interface{}) *API_GetProtocolStateSnapshotByHeight_Call
- func (_e *API_Expecter) GetScheduledTransaction(ctx interface{}, scheduledTxID interface{}) *API_GetScheduledTransaction_Call
- func (_e *API_Expecter) GetScheduledTransactionResult(ctx interface{}, scheduledTxID interface{}, encodingVersion interface{}) *API_GetScheduledTransactionResult_Call
- func (_e *API_Expecter) GetSystemTransaction(ctx interface{}, txID interface{}, blockID interface{}) *API_GetSystemTransaction_Call
- func (_e *API_Expecter) GetSystemTransactionResult(ctx interface{}, txID interface{}, blockID interface{}, ...) *API_GetSystemTransactionResult_Call
- func (_e *API_Expecter) GetTransaction(ctx interface{}, id interface{}) *API_GetTransaction_Call
- func (_e *API_Expecter) GetTransactionResult(ctx interface{}, txID interface{}, blockID interface{}, ...) *API_GetTransactionResult_Call
- func (_e *API_Expecter) GetTransactionResultByIndex(ctx interface{}, blockID interface{}, index interface{}, ...) *API_GetTransactionResultByIndex_Call
- func (_e *API_Expecter) GetTransactionResultsByBlockID(ctx interface{}, blockID interface{}, encodingVersion interface{}) *API_GetTransactionResultsByBlockID_Call
- func (_e *API_Expecter) GetTransactionsByBlockID(ctx interface{}, blockID interface{}) *API_GetTransactionsByBlockID_Call
- func (_e *API_Expecter) Ping(ctx interface{}) *API_Ping_Call
- func (_e *API_Expecter) SendAndSubscribeTransactionStatuses(ctx interface{}, tx interface{}, requiredEventEncodingVersion interface{}) *API_SendAndSubscribeTransactionStatuses_Call
- func (_e *API_Expecter) SendTransaction(ctx interface{}, tx interface{}) *API_SendTransaction_Call
- func (_e *API_Expecter) SubscribeBlockDigestsFromLatest(ctx interface{}, blockStatus interface{}) *API_SubscribeBlockDigestsFromLatest_Call
- func (_e *API_Expecter) SubscribeBlockDigestsFromStartBlockID(ctx interface{}, startBlockID interface{}, blockStatus interface{}) *API_SubscribeBlockDigestsFromStartBlockID_Call
- func (_e *API_Expecter) SubscribeBlockDigestsFromStartHeight(ctx interface{}, startHeight interface{}, blockStatus interface{}) *API_SubscribeBlockDigestsFromStartHeight_Call
- func (_e *API_Expecter) SubscribeBlockHeadersFromLatest(ctx interface{}, blockStatus interface{}) *API_SubscribeBlockHeadersFromLatest_Call
- func (_e *API_Expecter) SubscribeBlockHeadersFromStartBlockID(ctx interface{}, startBlockID interface{}, blockStatus interface{}) *API_SubscribeBlockHeadersFromStartBlockID_Call
- func (_e *API_Expecter) SubscribeBlockHeadersFromStartHeight(ctx interface{}, startHeight interface{}, blockStatus interface{}) *API_SubscribeBlockHeadersFromStartHeight_Call
- func (_e *API_Expecter) SubscribeBlocksFromLatest(ctx interface{}, blockStatus interface{}) *API_SubscribeBlocksFromLatest_Call
- func (_e *API_Expecter) SubscribeBlocksFromStartBlockID(ctx interface{}, startBlockID interface{}, blockStatus interface{}) *API_SubscribeBlocksFromStartBlockID_Call
- func (_e *API_Expecter) SubscribeBlocksFromStartHeight(ctx interface{}, startHeight interface{}, blockStatus interface{}) *API_SubscribeBlocksFromStartHeight_Call
- func (_e *API_Expecter) SubscribeTransactionStatuses(ctx interface{}, txID interface{}, requiredEventEncodingVersion interface{}) *API_SubscribeTransactionStatuses_Call
- type API_GetAccountAtBlockHeight_Call
- func (_c *API_GetAccountAtBlockHeight_Call) Return(account *flow.Account, err error) *API_GetAccountAtBlockHeight_Call
- func (_c *API_GetAccountAtBlockHeight_Call) Run(run func(ctx context.Context, address flow.Address, height uint64)) *API_GetAccountAtBlockHeight_Call
- func (_c *API_GetAccountAtBlockHeight_Call) RunAndReturn(...) *API_GetAccountAtBlockHeight_Call
- type API_GetAccountAtLatestBlock_Call
- func (_c *API_GetAccountAtLatestBlock_Call) Return(account *flow.Account, err error) *API_GetAccountAtLatestBlock_Call
- func (_c *API_GetAccountAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address)) *API_GetAccountAtLatestBlock_Call
- func (_c *API_GetAccountAtLatestBlock_Call) RunAndReturn(run func(ctx context.Context, address flow.Address) (*flow.Account, error)) *API_GetAccountAtLatestBlock_Call
- type API_GetAccountBalanceAtBlockHeight_Call
- func (_c *API_GetAccountBalanceAtBlockHeight_Call) Return(v uint64, err error) *API_GetAccountBalanceAtBlockHeight_Call
- func (_c *API_GetAccountBalanceAtBlockHeight_Call) Run(run func(ctx context.Context, address flow.Address, height uint64)) *API_GetAccountBalanceAtBlockHeight_Call
- func (_c *API_GetAccountBalanceAtBlockHeight_Call) RunAndReturn(...) *API_GetAccountBalanceAtBlockHeight_Call
- type API_GetAccountBalanceAtLatestBlock_Call
- func (_c *API_GetAccountBalanceAtLatestBlock_Call) Return(v uint64, err error) *API_GetAccountBalanceAtLatestBlock_Call
- func (_c *API_GetAccountBalanceAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address)) *API_GetAccountBalanceAtLatestBlock_Call
- func (_c *API_GetAccountBalanceAtLatestBlock_Call) RunAndReturn(run func(ctx context.Context, address flow.Address) (uint64, error)) *API_GetAccountBalanceAtLatestBlock_Call
- type API_GetAccountKeyAtBlockHeight_Call
- func (_c *API_GetAccountKeyAtBlockHeight_Call) Return(accountPublicKey *flow.AccountPublicKey, err error) *API_GetAccountKeyAtBlockHeight_Call
- func (_c *API_GetAccountKeyAtBlockHeight_Call) Run(...) *API_GetAccountKeyAtBlockHeight_Call
- func (_c *API_GetAccountKeyAtBlockHeight_Call) RunAndReturn(...) *API_GetAccountKeyAtBlockHeight_Call
- type API_GetAccountKeyAtLatestBlock_Call
- func (_c *API_GetAccountKeyAtLatestBlock_Call) Return(accountPublicKey *flow.AccountPublicKey, err error) *API_GetAccountKeyAtLatestBlock_Call
- func (_c *API_GetAccountKeyAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address, keyIndex uint32)) *API_GetAccountKeyAtLatestBlock_Call
- func (_c *API_GetAccountKeyAtLatestBlock_Call) RunAndReturn(...) *API_GetAccountKeyAtLatestBlock_Call
- type API_GetAccountKeysAtBlockHeight_Call
- func (_c *API_GetAccountKeysAtBlockHeight_Call) Return(accountPublicKeys []flow.AccountPublicKey, err error) *API_GetAccountKeysAtBlockHeight_Call
- func (_c *API_GetAccountKeysAtBlockHeight_Call) Run(run func(ctx context.Context, address flow.Address, height uint64)) *API_GetAccountKeysAtBlockHeight_Call
- func (_c *API_GetAccountKeysAtBlockHeight_Call) RunAndReturn(...) *API_GetAccountKeysAtBlockHeight_Call
- type API_GetAccountKeysAtLatestBlock_Call
- func (_c *API_GetAccountKeysAtLatestBlock_Call) Return(accountPublicKeys []flow.AccountPublicKey, err error) *API_GetAccountKeysAtLatestBlock_Call
- func (_c *API_GetAccountKeysAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address)) *API_GetAccountKeysAtLatestBlock_Call
- func (_c *API_GetAccountKeysAtLatestBlock_Call) RunAndReturn(...) *API_GetAccountKeysAtLatestBlock_Call
- type API_GetAccount_Call
- func (_c *API_GetAccount_Call) Return(account *flow.Account, err error) *API_GetAccount_Call
- func (_c *API_GetAccount_Call) Run(run func(ctx context.Context, address flow.Address)) *API_GetAccount_Call
- func (_c *API_GetAccount_Call) RunAndReturn(run func(ctx context.Context, address flow.Address) (*flow.Account, error)) *API_GetAccount_Call
- type API_GetBlockByHeight_Call
- func (_c *API_GetBlockByHeight_Call) Return(v *flow.Block, blockStatus flow.BlockStatus, err error) *API_GetBlockByHeight_Call
- func (_c *API_GetBlockByHeight_Call) Run(run func(ctx context.Context, height uint64)) *API_GetBlockByHeight_Call
- func (_c *API_GetBlockByHeight_Call) RunAndReturn(...) *API_GetBlockByHeight_Call
- type API_GetBlockByID_Call
- func (_c *API_GetBlockByID_Call) Return(v *flow.Block, blockStatus flow.BlockStatus, err error) *API_GetBlockByID_Call
- func (_c *API_GetBlockByID_Call) Run(run func(ctx context.Context, id flow.Identifier)) *API_GetBlockByID_Call
- func (_c *API_GetBlockByID_Call) RunAndReturn(...) *API_GetBlockByID_Call
- type API_GetBlockHeaderByHeight_Call
- func (_c *API_GetBlockHeaderByHeight_Call) Return(header *flow.Header, blockStatus flow.BlockStatus, err error) *API_GetBlockHeaderByHeight_Call
- func (_c *API_GetBlockHeaderByHeight_Call) Run(run func(ctx context.Context, height uint64)) *API_GetBlockHeaderByHeight_Call
- func (_c *API_GetBlockHeaderByHeight_Call) RunAndReturn(...) *API_GetBlockHeaderByHeight_Call
- type API_GetBlockHeaderByID_Call
- func (_c *API_GetBlockHeaderByID_Call) Return(header *flow.Header, blockStatus flow.BlockStatus, err error) *API_GetBlockHeaderByID_Call
- func (_c *API_GetBlockHeaderByID_Call) Run(run func(ctx context.Context, id flow.Identifier)) *API_GetBlockHeaderByID_Call
- func (_c *API_GetBlockHeaderByID_Call) RunAndReturn(...) *API_GetBlockHeaderByID_Call
- type API_GetCollectionByID_Call
- func (_c *API_GetCollectionByID_Call) Return(lightCollection *flow.LightCollection, err error) *API_GetCollectionByID_Call
- func (_c *API_GetCollectionByID_Call) Run(run func(ctx context.Context, id flow.Identifier)) *API_GetCollectionByID_Call
- func (_c *API_GetCollectionByID_Call) RunAndReturn(...) *API_GetCollectionByID_Call
- type API_GetEventsForBlockIDs_Call
- type API_GetEventsForHeightRange_Call
- func (_c *API_GetEventsForHeightRange_Call) Return(blockEventss []flow.BlockEvents, err error) *API_GetEventsForHeightRange_Call
- func (_c *API_GetEventsForHeightRange_Call) Run(...) *API_GetEventsForHeightRange_Call
- func (_c *API_GetEventsForHeightRange_Call) RunAndReturn(...) *API_GetEventsForHeightRange_Call
- type API_GetExecutionResultByID_Call
- func (_c *API_GetExecutionResultByID_Call) Return(executionResult *flow.ExecutionResult, err error) *API_GetExecutionResultByID_Call
- func (_c *API_GetExecutionResultByID_Call) Run(run func(ctx context.Context, id flow.Identifier)) *API_GetExecutionResultByID_Call
- func (_c *API_GetExecutionResultByID_Call) RunAndReturn(...) *API_GetExecutionResultByID_Call
- type API_GetExecutionResultForBlockID_Call
- func (_c *API_GetExecutionResultForBlockID_Call) Return(executionResult *flow.ExecutionResult, err error) *API_GetExecutionResultForBlockID_Call
- func (_c *API_GetExecutionResultForBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier)) *API_GetExecutionResultForBlockID_Call
- func (_c *API_GetExecutionResultForBlockID_Call) RunAndReturn(...) *API_GetExecutionResultForBlockID_Call
- type API_GetFullCollectionByID_Call
- func (_c *API_GetFullCollectionByID_Call) Return(collection *flow.Collection, err error) *API_GetFullCollectionByID_Call
- func (_c *API_GetFullCollectionByID_Call) Run(run func(ctx context.Context, id flow.Identifier)) *API_GetFullCollectionByID_Call
- func (_c *API_GetFullCollectionByID_Call) RunAndReturn(run func(ctx context.Context, id flow.Identifier) (*flow.Collection, error)) *API_GetFullCollectionByID_Call
- type API_GetLatestBlockHeader_Call
- func (_c *API_GetLatestBlockHeader_Call) Return(header *flow.Header, blockStatus flow.BlockStatus, err error) *API_GetLatestBlockHeader_Call
- func (_c *API_GetLatestBlockHeader_Call) Run(run func(ctx context.Context, isSealed bool)) *API_GetLatestBlockHeader_Call
- func (_c *API_GetLatestBlockHeader_Call) RunAndReturn(...) *API_GetLatestBlockHeader_Call
- type API_GetLatestBlock_Call
- func (_c *API_GetLatestBlock_Call) Return(v *flow.Block, blockStatus flow.BlockStatus, err error) *API_GetLatestBlock_Call
- func (_c *API_GetLatestBlock_Call) Run(run func(ctx context.Context, isSealed bool)) *API_GetLatestBlock_Call
- func (_c *API_GetLatestBlock_Call) RunAndReturn(...) *API_GetLatestBlock_Call
- type API_GetLatestProtocolStateSnapshot_Call
- func (_c *API_GetLatestProtocolStateSnapshot_Call) Return(bytes []byte, err error) *API_GetLatestProtocolStateSnapshot_Call
- func (_c *API_GetLatestProtocolStateSnapshot_Call) Run(run func(ctx context.Context)) *API_GetLatestProtocolStateSnapshot_Call
- func (_c *API_GetLatestProtocolStateSnapshot_Call) RunAndReturn(run func(ctx context.Context) ([]byte, error)) *API_GetLatestProtocolStateSnapshot_Call
- type API_GetNetworkParameters_Call
- func (_c *API_GetNetworkParameters_Call) Return(networkParameters access.NetworkParameters) *API_GetNetworkParameters_Call
- func (_c *API_GetNetworkParameters_Call) Run(run func(ctx context.Context)) *API_GetNetworkParameters_Call
- func (_c *API_GetNetworkParameters_Call) RunAndReturn(run func(ctx context.Context) access.NetworkParameters) *API_GetNetworkParameters_Call
- type API_GetNodeVersionInfo_Call
- func (_c *API_GetNodeVersionInfo_Call) Return(nodeVersionInfo *access.NodeVersionInfo, err error) *API_GetNodeVersionInfo_Call
- func (_c *API_GetNodeVersionInfo_Call) Run(run func(ctx context.Context)) *API_GetNodeVersionInfo_Call
- func (_c *API_GetNodeVersionInfo_Call) RunAndReturn(run func(ctx context.Context) (*access.NodeVersionInfo, error)) *API_GetNodeVersionInfo_Call
- type API_GetProtocolStateSnapshotByBlockID_Call
- func (_c *API_GetProtocolStateSnapshotByBlockID_Call) Return(bytes []byte, err error) *API_GetProtocolStateSnapshotByBlockID_Call
- func (_c *API_GetProtocolStateSnapshotByBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier)) *API_GetProtocolStateSnapshotByBlockID_Call
- func (_c *API_GetProtocolStateSnapshotByBlockID_Call) RunAndReturn(run func(ctx context.Context, blockID flow.Identifier) ([]byte, error)) *API_GetProtocolStateSnapshotByBlockID_Call
- type API_GetProtocolStateSnapshotByHeight_Call
- func (_c *API_GetProtocolStateSnapshotByHeight_Call) Return(bytes []byte, err error) *API_GetProtocolStateSnapshotByHeight_Call
- func (_c *API_GetProtocolStateSnapshotByHeight_Call) Run(run func(ctx context.Context, blockHeight uint64)) *API_GetProtocolStateSnapshotByHeight_Call
- func (_c *API_GetProtocolStateSnapshotByHeight_Call) RunAndReturn(run func(ctx context.Context, blockHeight uint64) ([]byte, error)) *API_GetProtocolStateSnapshotByHeight_Call
- type API_GetScheduledTransactionResult_Call
- func (_c *API_GetScheduledTransactionResult_Call) Return(transactionResult *access.TransactionResult, err error) *API_GetScheduledTransactionResult_Call
- func (_c *API_GetScheduledTransactionResult_Call) Run(run func(ctx context.Context, scheduledTxID uint64, ...)) *API_GetScheduledTransactionResult_Call
- func (_c *API_GetScheduledTransactionResult_Call) RunAndReturn(...) *API_GetScheduledTransactionResult_Call
- type API_GetScheduledTransaction_Call
- func (_c *API_GetScheduledTransaction_Call) Return(transactionBody *flow.TransactionBody, err error) *API_GetScheduledTransaction_Call
- func (_c *API_GetScheduledTransaction_Call) Run(run func(ctx context.Context, scheduledTxID uint64)) *API_GetScheduledTransaction_Call
- func (_c *API_GetScheduledTransaction_Call) RunAndReturn(...) *API_GetScheduledTransaction_Call
- type API_GetSystemTransactionResult_Call
- func (_c *API_GetSystemTransactionResult_Call) Return(transactionResult *access.TransactionResult, err error) *API_GetSystemTransactionResult_Call
- func (_c *API_GetSystemTransactionResult_Call) Run(...) *API_GetSystemTransactionResult_Call
- func (_c *API_GetSystemTransactionResult_Call) RunAndReturn(...) *API_GetSystemTransactionResult_Call
- type API_GetSystemTransaction_Call
- func (_c *API_GetSystemTransaction_Call) Return(transactionBody *flow.TransactionBody, err error) *API_GetSystemTransaction_Call
- func (_c *API_GetSystemTransaction_Call) Run(run func(ctx context.Context, txID flow.Identifier, blockID flow.Identifier)) *API_GetSystemTransaction_Call
- func (_c *API_GetSystemTransaction_Call) RunAndReturn(...) *API_GetSystemTransaction_Call
- type API_GetTransactionResultByIndex_Call
- func (_c *API_GetTransactionResultByIndex_Call) Return(transactionResult *access.TransactionResult, err error) *API_GetTransactionResultByIndex_Call
- func (_c *API_GetTransactionResultByIndex_Call) Run(run func(ctx context.Context, blockID flow.Identifier, index uint32, ...)) *API_GetTransactionResultByIndex_Call
- func (_c *API_GetTransactionResultByIndex_Call) RunAndReturn(...) *API_GetTransactionResultByIndex_Call
- type API_GetTransactionResult_Call
- func (_c *API_GetTransactionResult_Call) Return(transactionResult *access.TransactionResult, err error) *API_GetTransactionResult_Call
- func (_c *API_GetTransactionResult_Call) Run(...) *API_GetTransactionResult_Call
- func (_c *API_GetTransactionResult_Call) RunAndReturn(...) *API_GetTransactionResult_Call
- type API_GetTransactionResultsByBlockID_Call
- func (_c *API_GetTransactionResultsByBlockID_Call) Return(transactionResults []*access.TransactionResult, err error) *API_GetTransactionResultsByBlockID_Call
- func (_c *API_GetTransactionResultsByBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier, ...)) *API_GetTransactionResultsByBlockID_Call
- func (_c *API_GetTransactionResultsByBlockID_Call) RunAndReturn(...) *API_GetTransactionResultsByBlockID_Call
- type API_GetTransaction_Call
- func (_c *API_GetTransaction_Call) Return(transactionBody *flow.TransactionBody, err error) *API_GetTransaction_Call
- func (_c *API_GetTransaction_Call) Run(run func(ctx context.Context, id flow.Identifier)) *API_GetTransaction_Call
- func (_c *API_GetTransaction_Call) RunAndReturn(...) *API_GetTransaction_Call
- type API_GetTransactionsByBlockID_Call
- func (_c *API_GetTransactionsByBlockID_Call) Return(transactionBodys []*flow.TransactionBody, err error) *API_GetTransactionsByBlockID_Call
- func (_c *API_GetTransactionsByBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier)) *API_GetTransactionsByBlockID_Call
- func (_c *API_GetTransactionsByBlockID_Call) RunAndReturn(...) *API_GetTransactionsByBlockID_Call
- type API_Ping_Call
- type API_SendAndSubscribeTransactionStatuses_Call
- func (_c *API_SendAndSubscribeTransactionStatuses_Call) Return(subscription1 subscription.Subscription) *API_SendAndSubscribeTransactionStatuses_Call
- func (_c *API_SendAndSubscribeTransactionStatuses_Call) Run(run func(ctx context.Context, tx *flow.TransactionBody, ...)) *API_SendAndSubscribeTransactionStatuses_Call
- func (_c *API_SendAndSubscribeTransactionStatuses_Call) RunAndReturn(...) *API_SendAndSubscribeTransactionStatuses_Call
- type API_SendTransaction_Call
- func (_c *API_SendTransaction_Call) Return(err error) *API_SendTransaction_Call
- func (_c *API_SendTransaction_Call) Run(run func(ctx context.Context, tx *flow.TransactionBody)) *API_SendTransaction_Call
- func (_c *API_SendTransaction_Call) RunAndReturn(run func(ctx context.Context, tx *flow.TransactionBody) error) *API_SendTransaction_Call
- type API_SubscribeBlockDigestsFromLatest_Call
- func (_c *API_SubscribeBlockDigestsFromLatest_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlockDigestsFromLatest_Call
- func (_c *API_SubscribeBlockDigestsFromLatest_Call) Run(run func(ctx context.Context, blockStatus flow.BlockStatus)) *API_SubscribeBlockDigestsFromLatest_Call
- func (_c *API_SubscribeBlockDigestsFromLatest_Call) RunAndReturn(...) *API_SubscribeBlockDigestsFromLatest_Call
- type API_SubscribeBlockDigestsFromStartBlockID_Call
- func (_c *API_SubscribeBlockDigestsFromStartBlockID_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlockDigestsFromStartBlockID_Call
- func (_c *API_SubscribeBlockDigestsFromStartBlockID_Call) Run(run func(ctx context.Context, startBlockID flow.Identifier, ...)) *API_SubscribeBlockDigestsFromStartBlockID_Call
- func (_c *API_SubscribeBlockDigestsFromStartBlockID_Call) RunAndReturn(...) *API_SubscribeBlockDigestsFromStartBlockID_Call
- type API_SubscribeBlockDigestsFromStartHeight_Call
- func (_c *API_SubscribeBlockDigestsFromStartHeight_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlockDigestsFromStartHeight_Call
- func (_c *API_SubscribeBlockDigestsFromStartHeight_Call) Run(...) *API_SubscribeBlockDigestsFromStartHeight_Call
- func (_c *API_SubscribeBlockDigestsFromStartHeight_Call) RunAndReturn(...) *API_SubscribeBlockDigestsFromStartHeight_Call
- type API_SubscribeBlockHeadersFromLatest_Call
- func (_c *API_SubscribeBlockHeadersFromLatest_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlockHeadersFromLatest_Call
- func (_c *API_SubscribeBlockHeadersFromLatest_Call) Run(run func(ctx context.Context, blockStatus flow.BlockStatus)) *API_SubscribeBlockHeadersFromLatest_Call
- func (_c *API_SubscribeBlockHeadersFromLatest_Call) RunAndReturn(...) *API_SubscribeBlockHeadersFromLatest_Call
- type API_SubscribeBlockHeadersFromStartBlockID_Call
- func (_c *API_SubscribeBlockHeadersFromStartBlockID_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlockHeadersFromStartBlockID_Call
- func (_c *API_SubscribeBlockHeadersFromStartBlockID_Call) Run(run func(ctx context.Context, startBlockID flow.Identifier, ...)) *API_SubscribeBlockHeadersFromStartBlockID_Call
- func (_c *API_SubscribeBlockHeadersFromStartBlockID_Call) RunAndReturn(...) *API_SubscribeBlockHeadersFromStartBlockID_Call
- type API_SubscribeBlockHeadersFromStartHeight_Call
- func (_c *API_SubscribeBlockHeadersFromStartHeight_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlockHeadersFromStartHeight_Call
- func (_c *API_SubscribeBlockHeadersFromStartHeight_Call) Run(...) *API_SubscribeBlockHeadersFromStartHeight_Call
- func (_c *API_SubscribeBlockHeadersFromStartHeight_Call) RunAndReturn(...) *API_SubscribeBlockHeadersFromStartHeight_Call
- type API_SubscribeBlocksFromLatest_Call
- func (_c *API_SubscribeBlocksFromLatest_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlocksFromLatest_Call
- func (_c *API_SubscribeBlocksFromLatest_Call) Run(run func(ctx context.Context, blockStatus flow.BlockStatus)) *API_SubscribeBlocksFromLatest_Call
- func (_c *API_SubscribeBlocksFromLatest_Call) RunAndReturn(...) *API_SubscribeBlocksFromLatest_Call
- type API_SubscribeBlocksFromStartBlockID_Call
- func (_c *API_SubscribeBlocksFromStartBlockID_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlocksFromStartBlockID_Call
- func (_c *API_SubscribeBlocksFromStartBlockID_Call) Run(run func(ctx context.Context, startBlockID flow.Identifier, ...)) *API_SubscribeBlocksFromStartBlockID_Call
- func (_c *API_SubscribeBlocksFromStartBlockID_Call) RunAndReturn(...) *API_SubscribeBlocksFromStartBlockID_Call
- type API_SubscribeBlocksFromStartHeight_Call
- func (_c *API_SubscribeBlocksFromStartHeight_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlocksFromStartHeight_Call
- func (_c *API_SubscribeBlocksFromStartHeight_Call) Run(...) *API_SubscribeBlocksFromStartHeight_Call
- func (_c *API_SubscribeBlocksFromStartHeight_Call) RunAndReturn(...) *API_SubscribeBlocksFromStartHeight_Call
- type API_SubscribeTransactionStatuses_Call
- func (_c *API_SubscribeTransactionStatuses_Call) Return(subscription1 subscription.Subscription) *API_SubscribeTransactionStatuses_Call
- func (_c *API_SubscribeTransactionStatuses_Call) Run(run func(ctx context.Context, txID flow.Identifier, ...)) *API_SubscribeTransactionStatuses_Call
- func (_c *API_SubscribeTransactionStatuses_Call) RunAndReturn(...) *API_SubscribeTransactionStatuses_Call
- type AccountsAPI
- func (_m *AccountsAPI) EXPECT() *AccountsAPI_Expecter
- func (_mock *AccountsAPI) GetAccount(ctx context.Context, address flow.Address) (*flow.Account, error)
- func (_mock *AccountsAPI) GetAccountAtBlockHeight(ctx context.Context, address flow.Address, height uint64) (*flow.Account, error)
- func (_mock *AccountsAPI) GetAccountAtLatestBlock(ctx context.Context, address flow.Address) (*flow.Account, error)
- func (_mock *AccountsAPI) GetAccountBalanceAtBlockHeight(ctx context.Context, address flow.Address, height uint64) (uint64, error)
- func (_mock *AccountsAPI) GetAccountBalanceAtLatestBlock(ctx context.Context, address flow.Address) (uint64, error)
- func (_mock *AccountsAPI) GetAccountKeyAtBlockHeight(ctx context.Context, address flow.Address, keyIndex uint32, height uint64) (*flow.AccountPublicKey, error)
- func (_mock *AccountsAPI) GetAccountKeyAtLatestBlock(ctx context.Context, address flow.Address, keyIndex uint32) (*flow.AccountPublicKey, error)
- func (_mock *AccountsAPI) GetAccountKeysAtBlockHeight(ctx context.Context, address flow.Address, height uint64) ([]flow.AccountPublicKey, error)
- func (_mock *AccountsAPI) GetAccountKeysAtLatestBlock(ctx context.Context, address flow.Address) ([]flow.AccountPublicKey, error)
- type AccountsAPI_Expecter
- func (_e *AccountsAPI_Expecter) GetAccount(ctx interface{}, address interface{}) *AccountsAPI_GetAccount_Call
- func (_e *AccountsAPI_Expecter) GetAccountAtBlockHeight(ctx interface{}, address interface{}, height interface{}) *AccountsAPI_GetAccountAtBlockHeight_Call
- func (_e *AccountsAPI_Expecter) GetAccountAtLatestBlock(ctx interface{}, address interface{}) *AccountsAPI_GetAccountAtLatestBlock_Call
- func (_e *AccountsAPI_Expecter) GetAccountBalanceAtBlockHeight(ctx interface{}, address interface{}, height interface{}) *AccountsAPI_GetAccountBalanceAtBlockHeight_Call
- func (_e *AccountsAPI_Expecter) GetAccountBalanceAtLatestBlock(ctx interface{}, address interface{}) *AccountsAPI_GetAccountBalanceAtLatestBlock_Call
- func (_e *AccountsAPI_Expecter) GetAccountKeyAtBlockHeight(ctx interface{}, address interface{}, keyIndex interface{}, height interface{}) *AccountsAPI_GetAccountKeyAtBlockHeight_Call
- func (_e *AccountsAPI_Expecter) GetAccountKeyAtLatestBlock(ctx interface{}, address interface{}, keyIndex interface{}) *AccountsAPI_GetAccountKeyAtLatestBlock_Call
- func (_e *AccountsAPI_Expecter) GetAccountKeysAtBlockHeight(ctx interface{}, address interface{}, height interface{}) *AccountsAPI_GetAccountKeysAtBlockHeight_Call
- func (_e *AccountsAPI_Expecter) GetAccountKeysAtLatestBlock(ctx interface{}, address interface{}) *AccountsAPI_GetAccountKeysAtLatestBlock_Call
- type AccountsAPI_GetAccountAtBlockHeight_Call
- func (_c *AccountsAPI_GetAccountAtBlockHeight_Call) Return(account *flow.Account, err error) *AccountsAPI_GetAccountAtBlockHeight_Call
- func (_c *AccountsAPI_GetAccountAtBlockHeight_Call) Run(run func(ctx context.Context, address flow.Address, height uint64)) *AccountsAPI_GetAccountAtBlockHeight_Call
- func (_c *AccountsAPI_GetAccountAtBlockHeight_Call) RunAndReturn(...) *AccountsAPI_GetAccountAtBlockHeight_Call
- type AccountsAPI_GetAccountAtLatestBlock_Call
- func (_c *AccountsAPI_GetAccountAtLatestBlock_Call) Return(account *flow.Account, err error) *AccountsAPI_GetAccountAtLatestBlock_Call
- func (_c *AccountsAPI_GetAccountAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address)) *AccountsAPI_GetAccountAtLatestBlock_Call
- func (_c *AccountsAPI_GetAccountAtLatestBlock_Call) RunAndReturn(run func(ctx context.Context, address flow.Address) (*flow.Account, error)) *AccountsAPI_GetAccountAtLatestBlock_Call
- type AccountsAPI_GetAccountBalanceAtBlockHeight_Call
- func (_c *AccountsAPI_GetAccountBalanceAtBlockHeight_Call) Return(v uint64, err error) *AccountsAPI_GetAccountBalanceAtBlockHeight_Call
- func (_c *AccountsAPI_GetAccountBalanceAtBlockHeight_Call) Run(run func(ctx context.Context, address flow.Address, height uint64)) *AccountsAPI_GetAccountBalanceAtBlockHeight_Call
- func (_c *AccountsAPI_GetAccountBalanceAtBlockHeight_Call) RunAndReturn(...) *AccountsAPI_GetAccountBalanceAtBlockHeight_Call
- type AccountsAPI_GetAccountBalanceAtLatestBlock_Call
- func (_c *AccountsAPI_GetAccountBalanceAtLatestBlock_Call) Return(v uint64, err error) *AccountsAPI_GetAccountBalanceAtLatestBlock_Call
- func (_c *AccountsAPI_GetAccountBalanceAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address)) *AccountsAPI_GetAccountBalanceAtLatestBlock_Call
- func (_c *AccountsAPI_GetAccountBalanceAtLatestBlock_Call) RunAndReturn(run func(ctx context.Context, address flow.Address) (uint64, error)) *AccountsAPI_GetAccountBalanceAtLatestBlock_Call
- type AccountsAPI_GetAccountKeyAtBlockHeight_Call
- func (_c *AccountsAPI_GetAccountKeyAtBlockHeight_Call) Return(accountPublicKey *flow.AccountPublicKey, err error) *AccountsAPI_GetAccountKeyAtBlockHeight_Call
- func (_c *AccountsAPI_GetAccountKeyAtBlockHeight_Call) Run(...) *AccountsAPI_GetAccountKeyAtBlockHeight_Call
- func (_c *AccountsAPI_GetAccountKeyAtBlockHeight_Call) RunAndReturn(...) *AccountsAPI_GetAccountKeyAtBlockHeight_Call
- type AccountsAPI_GetAccountKeyAtLatestBlock_Call
- func (_c *AccountsAPI_GetAccountKeyAtLatestBlock_Call) Return(accountPublicKey *flow.AccountPublicKey, err error) *AccountsAPI_GetAccountKeyAtLatestBlock_Call
- func (_c *AccountsAPI_GetAccountKeyAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address, keyIndex uint32)) *AccountsAPI_GetAccountKeyAtLatestBlock_Call
- func (_c *AccountsAPI_GetAccountKeyAtLatestBlock_Call) RunAndReturn(...) *AccountsAPI_GetAccountKeyAtLatestBlock_Call
- type AccountsAPI_GetAccountKeysAtBlockHeight_Call
- func (_c *AccountsAPI_GetAccountKeysAtBlockHeight_Call) Return(accountPublicKeys []flow.AccountPublicKey, err error) *AccountsAPI_GetAccountKeysAtBlockHeight_Call
- func (_c *AccountsAPI_GetAccountKeysAtBlockHeight_Call) Run(run func(ctx context.Context, address flow.Address, height uint64)) *AccountsAPI_GetAccountKeysAtBlockHeight_Call
- func (_c *AccountsAPI_GetAccountKeysAtBlockHeight_Call) RunAndReturn(...) *AccountsAPI_GetAccountKeysAtBlockHeight_Call
- type AccountsAPI_GetAccountKeysAtLatestBlock_Call
- func (_c *AccountsAPI_GetAccountKeysAtLatestBlock_Call) Return(accountPublicKeys []flow.AccountPublicKey, err error) *AccountsAPI_GetAccountKeysAtLatestBlock_Call
- func (_c *AccountsAPI_GetAccountKeysAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address)) *AccountsAPI_GetAccountKeysAtLatestBlock_Call
- func (_c *AccountsAPI_GetAccountKeysAtLatestBlock_Call) RunAndReturn(...) *AccountsAPI_GetAccountKeysAtLatestBlock_Call
- type AccountsAPI_GetAccount_Call
- func (_c *AccountsAPI_GetAccount_Call) Return(account *flow.Account, err error) *AccountsAPI_GetAccount_Call
- func (_c *AccountsAPI_GetAccount_Call) Run(run func(ctx context.Context, address flow.Address)) *AccountsAPI_GetAccount_Call
- func (_c *AccountsAPI_GetAccount_Call) RunAndReturn(run func(ctx context.Context, address flow.Address) (*flow.Account, error)) *AccountsAPI_GetAccount_Call
- type EventsAPI
- func (_m *EventsAPI) EXPECT() *EventsAPI_Expecter
- func (_mock *EventsAPI) GetEventsForBlockIDs(ctx context.Context, eventType string, blockIDs []flow.Identifier, ...) ([]flow.BlockEvents, error)
- func (_mock *EventsAPI) GetEventsForHeightRange(ctx context.Context, eventType string, startHeight uint64, endHeight uint64, ...) ([]flow.BlockEvents, error)
- type EventsAPI_Expecter
- func (_e *EventsAPI_Expecter) GetEventsForBlockIDs(ctx interface{}, eventType interface{}, blockIDs interface{}, ...) *EventsAPI_GetEventsForBlockIDs_Call
- func (_e *EventsAPI_Expecter) GetEventsForHeightRange(ctx interface{}, eventType interface{}, startHeight interface{}, ...) *EventsAPI_GetEventsForHeightRange_Call
- type EventsAPI_GetEventsForBlockIDs_Call
- func (_c *EventsAPI_GetEventsForBlockIDs_Call) Return(blockEventss []flow.BlockEvents, err error) *EventsAPI_GetEventsForBlockIDs_Call
- func (_c *EventsAPI_GetEventsForBlockIDs_Call) Run(...) *EventsAPI_GetEventsForBlockIDs_Call
- func (_c *EventsAPI_GetEventsForBlockIDs_Call) RunAndReturn(...) *EventsAPI_GetEventsForBlockIDs_Call
- type EventsAPI_GetEventsForHeightRange_Call
- func (_c *EventsAPI_GetEventsForHeightRange_Call) Return(blockEventss []flow.BlockEvents, err error) *EventsAPI_GetEventsForHeightRange_Call
- func (_c *EventsAPI_GetEventsForHeightRange_Call) Run(...) *EventsAPI_GetEventsForHeightRange_Call
- func (_c *EventsAPI_GetEventsForHeightRange_Call) RunAndReturn(...) *EventsAPI_GetEventsForHeightRange_Call
- type ScriptsAPI
- func (_m *ScriptsAPI) EXPECT() *ScriptsAPI_Expecter
- func (_mock *ScriptsAPI) ExecuteScriptAtBlockHeight(ctx context.Context, blockHeight uint64, script []byte, arguments [][]byte) ([]byte, error)
- func (_mock *ScriptsAPI) ExecuteScriptAtBlockID(ctx context.Context, blockID flow.Identifier, script []byte, ...) ([]byte, error)
- func (_mock *ScriptsAPI) ExecuteScriptAtLatestBlock(ctx context.Context, script []byte, arguments [][]byte) ([]byte, error)
- type ScriptsAPI_ExecuteScriptAtBlockHeight_Call
- func (_c *ScriptsAPI_ExecuteScriptAtBlockHeight_Call) Return(bytes []byte, err error) *ScriptsAPI_ExecuteScriptAtBlockHeight_Call
- func (_c *ScriptsAPI_ExecuteScriptAtBlockHeight_Call) Run(...) *ScriptsAPI_ExecuteScriptAtBlockHeight_Call
- func (_c *ScriptsAPI_ExecuteScriptAtBlockHeight_Call) RunAndReturn(...) *ScriptsAPI_ExecuteScriptAtBlockHeight_Call
- type ScriptsAPI_ExecuteScriptAtBlockID_Call
- func (_c *ScriptsAPI_ExecuteScriptAtBlockID_Call) Return(bytes []byte, err error) *ScriptsAPI_ExecuteScriptAtBlockID_Call
- func (_c *ScriptsAPI_ExecuteScriptAtBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier, script []byte, ...)) *ScriptsAPI_ExecuteScriptAtBlockID_Call
- func (_c *ScriptsAPI_ExecuteScriptAtBlockID_Call) RunAndReturn(...) *ScriptsAPI_ExecuteScriptAtBlockID_Call
- type ScriptsAPI_ExecuteScriptAtLatestBlock_Call
- func (_c *ScriptsAPI_ExecuteScriptAtLatestBlock_Call) Return(bytes []byte, err error) *ScriptsAPI_ExecuteScriptAtLatestBlock_Call
- func (_c *ScriptsAPI_ExecuteScriptAtLatestBlock_Call) Run(run func(ctx context.Context, script []byte, arguments [][]byte)) *ScriptsAPI_ExecuteScriptAtLatestBlock_Call
- func (_c *ScriptsAPI_ExecuteScriptAtLatestBlock_Call) RunAndReturn(...) *ScriptsAPI_ExecuteScriptAtLatestBlock_Call
- type ScriptsAPI_Expecter
- func (_e *ScriptsAPI_Expecter) ExecuteScriptAtBlockHeight(ctx interface{}, blockHeight interface{}, script interface{}, ...) *ScriptsAPI_ExecuteScriptAtBlockHeight_Call
- func (_e *ScriptsAPI_Expecter) ExecuteScriptAtBlockID(ctx interface{}, blockID interface{}, script interface{}, ...) *ScriptsAPI_ExecuteScriptAtBlockID_Call
- func (_e *ScriptsAPI_Expecter) ExecuteScriptAtLatestBlock(ctx interface{}, script interface{}, arguments interface{}) *ScriptsAPI_ExecuteScriptAtLatestBlock_Call
- type TransactionStreamAPI
- func (_m *TransactionStreamAPI) EXPECT() *TransactionStreamAPI_Expecter
- func (_mock *TransactionStreamAPI) SendAndSubscribeTransactionStatuses(ctx context.Context, tx *flow.TransactionBody, ...) subscription.Subscription
- func (_mock *TransactionStreamAPI) SubscribeTransactionStatuses(ctx context.Context, txID flow.Identifier, ...) subscription.Subscription
- type TransactionStreamAPI_Expecter
- func (_e *TransactionStreamAPI_Expecter) SendAndSubscribeTransactionStatuses(ctx interface{}, tx interface{}, requiredEventEncodingVersion interface{}) *TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call
- func (_e *TransactionStreamAPI_Expecter) SubscribeTransactionStatuses(ctx interface{}, txID interface{}, requiredEventEncodingVersion interface{}) *TransactionStreamAPI_SubscribeTransactionStatuses_Call
- type TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call
- func (_c *TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call) Return(subscription1 subscription.Subscription) *TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call
- func (_c *TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call) Run(run func(ctx context.Context, tx *flow.TransactionBody, ...)) *TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call
- func (_c *TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call) RunAndReturn(...) *TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call
- type TransactionStreamAPI_SubscribeTransactionStatuses_Call
- func (_c *TransactionStreamAPI_SubscribeTransactionStatuses_Call) Return(subscription1 subscription.Subscription) *TransactionStreamAPI_SubscribeTransactionStatuses_Call
- func (_c *TransactionStreamAPI_SubscribeTransactionStatuses_Call) Run(run func(ctx context.Context, txID flow.Identifier, ...)) *TransactionStreamAPI_SubscribeTransactionStatuses_Call
- func (_c *TransactionStreamAPI_SubscribeTransactionStatuses_Call) RunAndReturn(...) *TransactionStreamAPI_SubscribeTransactionStatuses_Call
- type TransactionsAPI
- func (_m *TransactionsAPI) EXPECT() *TransactionsAPI_Expecter
- func (_mock *TransactionsAPI) GetScheduledTransaction(ctx context.Context, scheduledTxID uint64) (*flow.TransactionBody, error)
- func (_mock *TransactionsAPI) GetScheduledTransactionResult(ctx context.Context, scheduledTxID uint64, ...) (*access.TransactionResult, error)
- func (_mock *TransactionsAPI) GetSystemTransaction(ctx context.Context, txID flow.Identifier, blockID flow.Identifier) (*flow.TransactionBody, error)
- func (_mock *TransactionsAPI) GetSystemTransactionResult(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, ...) (*access.TransactionResult, error)
- func (_mock *TransactionsAPI) GetTransaction(ctx context.Context, id flow.Identifier) (*flow.TransactionBody, error)
- func (_mock *TransactionsAPI) GetTransactionResult(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, ...) (*access.TransactionResult, error)
- func (_mock *TransactionsAPI) GetTransactionResultByIndex(ctx context.Context, blockID flow.Identifier, index uint32, ...) (*access.TransactionResult, error)
- func (_mock *TransactionsAPI) GetTransactionResultsByBlockID(ctx context.Context, blockID flow.Identifier, ...) ([]*access.TransactionResult, error)
- func (_mock *TransactionsAPI) GetTransactionsByBlockID(ctx context.Context, blockID flow.Identifier) ([]*flow.TransactionBody, error)
- func (_mock *TransactionsAPI) SendTransaction(ctx context.Context, tx *flow.TransactionBody) error
- type TransactionsAPI_Expecter
- func (_e *TransactionsAPI_Expecter) GetScheduledTransaction(ctx interface{}, scheduledTxID interface{}) *TransactionsAPI_GetScheduledTransaction_Call
- func (_e *TransactionsAPI_Expecter) GetScheduledTransactionResult(ctx interface{}, scheduledTxID interface{}, encodingVersion interface{}) *TransactionsAPI_GetScheduledTransactionResult_Call
- func (_e *TransactionsAPI_Expecter) GetSystemTransaction(ctx interface{}, txID interface{}, blockID interface{}) *TransactionsAPI_GetSystemTransaction_Call
- func (_e *TransactionsAPI_Expecter) GetSystemTransactionResult(ctx interface{}, txID interface{}, blockID interface{}, ...) *TransactionsAPI_GetSystemTransactionResult_Call
- func (_e *TransactionsAPI_Expecter) GetTransaction(ctx interface{}, id interface{}) *TransactionsAPI_GetTransaction_Call
- func (_e *TransactionsAPI_Expecter) GetTransactionResult(ctx interface{}, txID interface{}, blockID interface{}, ...) *TransactionsAPI_GetTransactionResult_Call
- func (_e *TransactionsAPI_Expecter) GetTransactionResultByIndex(ctx interface{}, blockID interface{}, index interface{}, ...) *TransactionsAPI_GetTransactionResultByIndex_Call
- func (_e *TransactionsAPI_Expecter) GetTransactionResultsByBlockID(ctx interface{}, blockID interface{}, encodingVersion interface{}) *TransactionsAPI_GetTransactionResultsByBlockID_Call
- func (_e *TransactionsAPI_Expecter) GetTransactionsByBlockID(ctx interface{}, blockID interface{}) *TransactionsAPI_GetTransactionsByBlockID_Call
- func (_e *TransactionsAPI_Expecter) SendTransaction(ctx interface{}, tx interface{}) *TransactionsAPI_SendTransaction_Call
- type TransactionsAPI_GetScheduledTransactionResult_Call
- func (_c *TransactionsAPI_GetScheduledTransactionResult_Call) Return(transactionResult *access.TransactionResult, err error) *TransactionsAPI_GetScheduledTransactionResult_Call
- func (_c *TransactionsAPI_GetScheduledTransactionResult_Call) Run(run func(ctx context.Context, scheduledTxID uint64, ...)) *TransactionsAPI_GetScheduledTransactionResult_Call
- func (_c *TransactionsAPI_GetScheduledTransactionResult_Call) RunAndReturn(...) *TransactionsAPI_GetScheduledTransactionResult_Call
- type TransactionsAPI_GetScheduledTransaction_Call
- func (_c *TransactionsAPI_GetScheduledTransaction_Call) Return(transactionBody *flow.TransactionBody, err error) *TransactionsAPI_GetScheduledTransaction_Call
- func (_c *TransactionsAPI_GetScheduledTransaction_Call) Run(run func(ctx context.Context, scheduledTxID uint64)) *TransactionsAPI_GetScheduledTransaction_Call
- func (_c *TransactionsAPI_GetScheduledTransaction_Call) RunAndReturn(...) *TransactionsAPI_GetScheduledTransaction_Call
- type TransactionsAPI_GetSystemTransactionResult_Call
- func (_c *TransactionsAPI_GetSystemTransactionResult_Call) Return(transactionResult *access.TransactionResult, err error) *TransactionsAPI_GetSystemTransactionResult_Call
- func (_c *TransactionsAPI_GetSystemTransactionResult_Call) Run(...) *TransactionsAPI_GetSystemTransactionResult_Call
- func (_c *TransactionsAPI_GetSystemTransactionResult_Call) RunAndReturn(...) *TransactionsAPI_GetSystemTransactionResult_Call
- type TransactionsAPI_GetSystemTransaction_Call
- func (_c *TransactionsAPI_GetSystemTransaction_Call) Return(transactionBody *flow.TransactionBody, err error) *TransactionsAPI_GetSystemTransaction_Call
- func (_c *TransactionsAPI_GetSystemTransaction_Call) Run(run func(ctx context.Context, txID flow.Identifier, blockID flow.Identifier)) *TransactionsAPI_GetSystemTransaction_Call
- func (_c *TransactionsAPI_GetSystemTransaction_Call) RunAndReturn(...) *TransactionsAPI_GetSystemTransaction_Call
- type TransactionsAPI_GetTransactionResultByIndex_Call
- func (_c *TransactionsAPI_GetTransactionResultByIndex_Call) Return(transactionResult *access.TransactionResult, err error) *TransactionsAPI_GetTransactionResultByIndex_Call
- func (_c *TransactionsAPI_GetTransactionResultByIndex_Call) Run(run func(ctx context.Context, blockID flow.Identifier, index uint32, ...)) *TransactionsAPI_GetTransactionResultByIndex_Call
- func (_c *TransactionsAPI_GetTransactionResultByIndex_Call) RunAndReturn(...) *TransactionsAPI_GetTransactionResultByIndex_Call
- type TransactionsAPI_GetTransactionResult_Call
- func (_c *TransactionsAPI_GetTransactionResult_Call) Return(transactionResult *access.TransactionResult, err error) *TransactionsAPI_GetTransactionResult_Call
- func (_c *TransactionsAPI_GetTransactionResult_Call) Run(...) *TransactionsAPI_GetTransactionResult_Call
- func (_c *TransactionsAPI_GetTransactionResult_Call) RunAndReturn(...) *TransactionsAPI_GetTransactionResult_Call
- type TransactionsAPI_GetTransactionResultsByBlockID_Call
- func (_c *TransactionsAPI_GetTransactionResultsByBlockID_Call) Return(transactionResults []*access.TransactionResult, err error) *TransactionsAPI_GetTransactionResultsByBlockID_Call
- func (_c *TransactionsAPI_GetTransactionResultsByBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier, ...)) *TransactionsAPI_GetTransactionResultsByBlockID_Call
- func (_c *TransactionsAPI_GetTransactionResultsByBlockID_Call) RunAndReturn(...) *TransactionsAPI_GetTransactionResultsByBlockID_Call
- type TransactionsAPI_GetTransaction_Call
- func (_c *TransactionsAPI_GetTransaction_Call) Return(transactionBody *flow.TransactionBody, err error) *TransactionsAPI_GetTransaction_Call
- func (_c *TransactionsAPI_GetTransaction_Call) Run(run func(ctx context.Context, id flow.Identifier)) *TransactionsAPI_GetTransaction_Call
- func (_c *TransactionsAPI_GetTransaction_Call) RunAndReturn(...) *TransactionsAPI_GetTransaction_Call
- type TransactionsAPI_GetTransactionsByBlockID_Call
- func (_c *TransactionsAPI_GetTransactionsByBlockID_Call) Return(transactionBodys []*flow.TransactionBody, err error) *TransactionsAPI_GetTransactionsByBlockID_Call
- func (_c *TransactionsAPI_GetTransactionsByBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier)) *TransactionsAPI_GetTransactionsByBlockID_Call
- func (_c *TransactionsAPI_GetTransactionsByBlockID_Call) RunAndReturn(...) *TransactionsAPI_GetTransactionsByBlockID_Call
- type TransactionsAPI_SendTransaction_Call
- func (_c *TransactionsAPI_SendTransaction_Call) Return(err error) *TransactionsAPI_SendTransaction_Call
- func (_c *TransactionsAPI_SendTransaction_Call) Run(run func(ctx context.Context, tx *flow.TransactionBody)) *TransactionsAPI_SendTransaction_Call
- func (_c *TransactionsAPI_SendTransaction_Call) RunAndReturn(run func(ctx context.Context, tx *flow.TransactionBody) error) *TransactionsAPI_SendTransaction_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API is an autogenerated mock type for the API type
func NewAPI ¶ added in v0.26.1
NewAPI creates a new instance of API. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*API) EXPECT ¶ added in v0.46.0
func (_m *API) EXPECT() *API_Expecter
func (*API) ExecuteScriptAtBlockHeight ¶
func (_mock *API) ExecuteScriptAtBlockHeight(ctx context.Context, blockHeight uint64, script []byte, arguments [][]byte) ([]byte, error)
ExecuteScriptAtBlockHeight provides a mock function for the type API
func (*API) ExecuteScriptAtBlockID ¶
func (_mock *API) ExecuteScriptAtBlockID(ctx context.Context, blockID flow.Identifier, script []byte, arguments [][]byte) ([]byte, error)
ExecuteScriptAtBlockID provides a mock function for the type API
func (*API) ExecuteScriptAtLatestBlock ¶
func (_mock *API) ExecuteScriptAtLatestBlock(ctx context.Context, script []byte, arguments [][]byte) ([]byte, error)
ExecuteScriptAtLatestBlock provides a mock function for the type API
func (*API) GetAccount ¶
GetAccount provides a mock function for the type API
func (*API) GetAccountAtBlockHeight ¶
func (_mock *API) GetAccountAtBlockHeight(ctx context.Context, address flow.Address, height uint64) (*flow.Account, error)
GetAccountAtBlockHeight provides a mock function for the type API
func (*API) GetAccountAtLatestBlock ¶
func (_mock *API) GetAccountAtLatestBlock(ctx context.Context, address flow.Address) (*flow.Account, error)
GetAccountAtLatestBlock provides a mock function for the type API
func (*API) GetAccountBalanceAtBlockHeight ¶ added in v0.36.1
func (_mock *API) GetAccountBalanceAtBlockHeight(ctx context.Context, address flow.Address, height uint64) (uint64, error)
GetAccountBalanceAtBlockHeight provides a mock function for the type API
func (*API) GetAccountBalanceAtLatestBlock ¶ added in v0.36.1
func (_mock *API) GetAccountBalanceAtLatestBlock(ctx context.Context, address flow.Address) (uint64, error)
GetAccountBalanceAtLatestBlock provides a mock function for the type API
func (*API) GetAccountKeyAtBlockHeight ¶ added in v0.36.1
func (_mock *API) GetAccountKeyAtBlockHeight(ctx context.Context, address flow.Address, keyIndex uint32, height uint64) (*flow.AccountPublicKey, error)
GetAccountKeyAtBlockHeight provides a mock function for the type API
func (*API) GetAccountKeyAtLatestBlock ¶ added in v0.36.1
func (_mock *API) GetAccountKeyAtLatestBlock(ctx context.Context, address flow.Address, keyIndex uint32) (*flow.AccountPublicKey, error)
GetAccountKeyAtLatestBlock provides a mock function for the type API
func (*API) GetAccountKeysAtBlockHeight ¶ added in v0.36.1
func (_mock *API) GetAccountKeysAtBlockHeight(ctx context.Context, address flow.Address, height uint64) ([]flow.AccountPublicKey, error)
GetAccountKeysAtBlockHeight provides a mock function for the type API
func (*API) GetAccountKeysAtLatestBlock ¶ added in v0.36.1
func (_mock *API) GetAccountKeysAtLatestBlock(ctx context.Context, address flow.Address) ([]flow.AccountPublicKey, error)
GetAccountKeysAtLatestBlock provides a mock function for the type API
func (*API) GetBlockByHeight ¶
func (_mock *API) GetBlockByHeight(ctx context.Context, height uint64) (*flow.Block, flow.BlockStatus, error)
GetBlockByHeight provides a mock function for the type API
func (*API) GetBlockByID ¶
func (_mock *API) GetBlockByID(ctx context.Context, id flow.Identifier) (*flow.Block, flow.BlockStatus, error)
GetBlockByID provides a mock function for the type API
func (*API) GetBlockHeaderByHeight ¶
func (_mock *API) GetBlockHeaderByHeight(ctx context.Context, height uint64) (*flow.Header, flow.BlockStatus, error)
GetBlockHeaderByHeight provides a mock function for the type API
func (*API) GetBlockHeaderByID ¶
func (_mock *API) GetBlockHeaderByID(ctx context.Context, id flow.Identifier) (*flow.Header, flow.BlockStatus, error)
GetBlockHeaderByID provides a mock function for the type API
func (*API) GetCollectionByID ¶
func (_mock *API) GetCollectionByID(ctx context.Context, id flow.Identifier) (*flow.LightCollection, error)
GetCollectionByID provides a mock function for the type API
func (*API) GetEventsForBlockIDs ¶
func (_mock *API) GetEventsForBlockIDs(ctx context.Context, eventType string, blockIDs []flow.Identifier, requiredEventEncodingVersion entities.EventEncodingVersion) ([]flow.BlockEvents, error)
GetEventsForBlockIDs provides a mock function for the type API
func (*API) GetEventsForHeightRange ¶
func (_mock *API) GetEventsForHeightRange(ctx context.Context, eventType string, startHeight uint64, endHeight uint64, requiredEventEncodingVersion entities.EventEncodingVersion) ([]flow.BlockEvents, error)
GetEventsForHeightRange provides a mock function for the type API
func (*API) GetExecutionResultByID ¶
func (_mock *API) GetExecutionResultByID(ctx context.Context, id flow.Identifier) (*flow.ExecutionResult, error)
GetExecutionResultByID provides a mock function for the type API
func (*API) GetExecutionResultForBlockID ¶
func (_mock *API) GetExecutionResultForBlockID(ctx context.Context, blockID flow.Identifier) (*flow.ExecutionResult, error)
GetExecutionResultForBlockID provides a mock function for the type API
func (*API) GetFullCollectionByID ¶ added in v0.33.26
func (_mock *API) GetFullCollectionByID(ctx context.Context, id flow.Identifier) (*flow.Collection, error)
GetFullCollectionByID provides a mock function for the type API
func (*API) GetLatestBlock ¶
func (_mock *API) GetLatestBlock(ctx context.Context, isSealed bool) (*flow.Block, flow.BlockStatus, error)
GetLatestBlock provides a mock function for the type API
func (*API) GetLatestBlockHeader ¶
func (_mock *API) GetLatestBlockHeader(ctx context.Context, isSealed bool) (*flow.Header, flow.BlockStatus, error)
GetLatestBlockHeader provides a mock function for the type API
func (*API) GetLatestProtocolStateSnapshot ¶
GetLatestProtocolStateSnapshot provides a mock function for the type API
func (*API) GetNetworkParameters ¶
func (_mock *API) GetNetworkParameters(ctx context.Context) access.NetworkParameters
GetNetworkParameters provides a mock function for the type API
func (*API) GetNodeVersionInfo ¶ added in v0.31.0
GetNodeVersionInfo provides a mock function for the type API
func (*API) GetProtocolStateSnapshotByBlockID ¶ added in v0.33.1
func (_mock *API) GetProtocolStateSnapshotByBlockID(ctx context.Context, blockID flow.Identifier) ([]byte, error)
GetProtocolStateSnapshotByBlockID provides a mock function for the type API
func (*API) GetProtocolStateSnapshotByHeight ¶ added in v0.33.1
func (_mock *API) GetProtocolStateSnapshotByHeight(ctx context.Context, blockHeight uint64) ([]byte, error)
GetProtocolStateSnapshotByHeight provides a mock function for the type API
func (*API) GetScheduledTransaction ¶ added in v0.44.0
func (_mock *API) GetScheduledTransaction(ctx context.Context, scheduledTxID uint64) (*flow.TransactionBody, error)
GetScheduledTransaction provides a mock function for the type API
func (*API) GetScheduledTransactionResult ¶ added in v0.44.0
func (_mock *API) GetScheduledTransactionResult(ctx context.Context, scheduledTxID uint64, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)
GetScheduledTransactionResult provides a mock function for the type API
func (*API) GetSystemTransaction ¶ added in v0.33.1
func (_mock *API) GetSystemTransaction(ctx context.Context, txID flow.Identifier, blockID flow.Identifier) (*flow.TransactionBody, error)
GetSystemTransaction provides a mock function for the type API
func (*API) GetSystemTransactionResult ¶ added in v0.33.1
func (_mock *API) GetSystemTransactionResult(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)
GetSystemTransactionResult provides a mock function for the type API
func (*API) GetTransaction ¶
func (_mock *API) GetTransaction(ctx context.Context, id flow.Identifier) (*flow.TransactionBody, error)
GetTransaction provides a mock function for the type API
func (*API) GetTransactionResult ¶
func (_mock *API) GetTransactionResult(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, collectionID flow.Identifier, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)
GetTransactionResult provides a mock function for the type API
func (*API) GetTransactionResultByIndex ¶ added in v0.24.8
func (_mock *API) GetTransactionResultByIndex(ctx context.Context, blockID flow.Identifier, index uint32, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)
GetTransactionResultByIndex provides a mock function for the type API
func (*API) GetTransactionResultsByBlockID ¶ added in v0.24.11
func (_mock *API) GetTransactionResultsByBlockID(ctx context.Context, blockID flow.Identifier, encodingVersion entities.EventEncodingVersion) ([]*access.TransactionResult, error)
GetTransactionResultsByBlockID provides a mock function for the type API
func (*API) GetTransactionsByBlockID ¶ added in v0.24.11
func (_mock *API) GetTransactionsByBlockID(ctx context.Context, blockID flow.Identifier) ([]*flow.TransactionBody, error)
GetTransactionsByBlockID provides a mock function for the type API
func (*API) SendAndSubscribeTransactionStatuses ¶ added in v0.38.0
func (_mock *API) SendAndSubscribeTransactionStatuses(ctx context.Context, tx *flow.TransactionBody, requiredEventEncodingVersion entities.EventEncodingVersion) subscription.Subscription
SendAndSubscribeTransactionStatuses provides a mock function for the type API
func (*API) SendTransaction ¶
SendTransaction provides a mock function for the type API
func (*API) SubscribeBlockDigestsFromLatest ¶ added in v0.33.30
func (_mock *API) SubscribeBlockDigestsFromLatest(ctx context.Context, blockStatus flow.BlockStatus) subscription.Subscription
SubscribeBlockDigestsFromLatest provides a mock function for the type API
func (*API) SubscribeBlockDigestsFromStartBlockID ¶ added in v0.33.30
func (_mock *API) SubscribeBlockDigestsFromStartBlockID(ctx context.Context, startBlockID flow.Identifier, blockStatus flow.BlockStatus) subscription.Subscription
SubscribeBlockDigestsFromStartBlockID provides a mock function for the type API
func (*API) SubscribeBlockDigestsFromStartHeight ¶ added in v0.33.30
func (_mock *API) SubscribeBlockDigestsFromStartHeight(ctx context.Context, startHeight uint64, blockStatus flow.BlockStatus) subscription.Subscription
SubscribeBlockDigestsFromStartHeight provides a mock function for the type API
func (*API) SubscribeBlockHeadersFromLatest ¶ added in v0.33.30
func (_mock *API) SubscribeBlockHeadersFromLatest(ctx context.Context, blockStatus flow.BlockStatus) subscription.Subscription
SubscribeBlockHeadersFromLatest provides a mock function for the type API
func (*API) SubscribeBlockHeadersFromStartBlockID ¶ added in v0.33.30
func (_mock *API) SubscribeBlockHeadersFromStartBlockID(ctx context.Context, startBlockID flow.Identifier, blockStatus flow.BlockStatus) subscription.Subscription
SubscribeBlockHeadersFromStartBlockID provides a mock function for the type API
func (*API) SubscribeBlockHeadersFromStartHeight ¶ added in v0.33.30
func (_mock *API) SubscribeBlockHeadersFromStartHeight(ctx context.Context, startHeight uint64, blockStatus flow.BlockStatus) subscription.Subscription
SubscribeBlockHeadersFromStartHeight provides a mock function for the type API
func (*API) SubscribeBlocksFromLatest ¶ added in v0.33.30
func (_mock *API) SubscribeBlocksFromLatest(ctx context.Context, blockStatus flow.BlockStatus) subscription.Subscription
SubscribeBlocksFromLatest provides a mock function for the type API
func (*API) SubscribeBlocksFromStartBlockID ¶ added in v0.33.30
func (_mock *API) SubscribeBlocksFromStartBlockID(ctx context.Context, startBlockID flow.Identifier, blockStatus flow.BlockStatus) subscription.Subscription
SubscribeBlocksFromStartBlockID provides a mock function for the type API
func (*API) SubscribeBlocksFromStartHeight ¶ added in v0.33.30
func (_mock *API) SubscribeBlocksFromStartHeight(ctx context.Context, startHeight uint64, blockStatus flow.BlockStatus) subscription.Subscription
SubscribeBlocksFromStartHeight provides a mock function for the type API
func (*API) SubscribeTransactionStatuses ¶ added in v0.33.30
func (_mock *API) SubscribeTransactionStatuses(ctx context.Context, txID flow.Identifier, requiredEventEncodingVersion entities.EventEncodingVersion) subscription.Subscription
SubscribeTransactionStatuses provides a mock function for the type API
type API_ExecuteScriptAtBlockHeight_Call ¶ added in v0.46.0
API_ExecuteScriptAtBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteScriptAtBlockHeight'
func (*API_ExecuteScriptAtBlockHeight_Call) Return ¶ added in v0.46.0
func (_c *API_ExecuteScriptAtBlockHeight_Call) Return(bytes []byte, err error) *API_ExecuteScriptAtBlockHeight_Call
func (*API_ExecuteScriptAtBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *API_ExecuteScriptAtBlockHeight_Call) Run(run func(ctx context.Context, blockHeight uint64, script []byte, arguments [][]byte)) *API_ExecuteScriptAtBlockHeight_Call
func (*API_ExecuteScriptAtBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_ExecuteScriptAtBlockHeight_Call) RunAndReturn(run func(ctx context.Context, blockHeight uint64, script []byte, arguments [][]byte) ([]byte, error)) *API_ExecuteScriptAtBlockHeight_Call
type API_ExecuteScriptAtBlockID_Call ¶ added in v0.46.0
API_ExecuteScriptAtBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteScriptAtBlockID'
func (*API_ExecuteScriptAtBlockID_Call) Return ¶ added in v0.46.0
func (_c *API_ExecuteScriptAtBlockID_Call) Return(bytes []byte, err error) *API_ExecuteScriptAtBlockID_Call
func (*API_ExecuteScriptAtBlockID_Call) Run ¶ added in v0.46.0
func (_c *API_ExecuteScriptAtBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier, script []byte, arguments [][]byte)) *API_ExecuteScriptAtBlockID_Call
func (*API_ExecuteScriptAtBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_ExecuteScriptAtBlockID_Call) RunAndReturn(run func(ctx context.Context, blockID flow.Identifier, script []byte, arguments [][]byte) ([]byte, error)) *API_ExecuteScriptAtBlockID_Call
type API_ExecuteScriptAtLatestBlock_Call ¶ added in v0.46.0
API_ExecuteScriptAtLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteScriptAtLatestBlock'
func (*API_ExecuteScriptAtLatestBlock_Call) Return ¶ added in v0.46.0
func (_c *API_ExecuteScriptAtLatestBlock_Call) Return(bytes []byte, err error) *API_ExecuteScriptAtLatestBlock_Call
func (*API_ExecuteScriptAtLatestBlock_Call) Run ¶ added in v0.46.0
func (_c *API_ExecuteScriptAtLatestBlock_Call) Run(run func(ctx context.Context, script []byte, arguments [][]byte)) *API_ExecuteScriptAtLatestBlock_Call
func (*API_ExecuteScriptAtLatestBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_ExecuteScriptAtLatestBlock_Call) RunAndReturn(run func(ctx context.Context, script []byte, arguments [][]byte) ([]byte, error)) *API_ExecuteScriptAtLatestBlock_Call
type API_Expecter ¶ added in v0.46.0
type API_Expecter struct {
// contains filtered or unexported fields
}
func (*API_Expecter) ExecuteScriptAtBlockHeight ¶ added in v0.46.0
func (_e *API_Expecter) ExecuteScriptAtBlockHeight(ctx interface{}, blockHeight interface{}, script interface{}, arguments interface{}) *API_ExecuteScriptAtBlockHeight_Call
ExecuteScriptAtBlockHeight is a helper method to define mock.On call
- ctx context.Context
- blockHeight uint64
- script []byte
- arguments [][]byte
func (*API_Expecter) ExecuteScriptAtBlockID ¶ added in v0.46.0
func (_e *API_Expecter) ExecuteScriptAtBlockID(ctx interface{}, blockID interface{}, script interface{}, arguments interface{}) *API_ExecuteScriptAtBlockID_Call
ExecuteScriptAtBlockID is a helper method to define mock.On call
- ctx context.Context
- blockID flow.Identifier
- script []byte
- arguments [][]byte
func (*API_Expecter) ExecuteScriptAtLatestBlock ¶ added in v0.46.0
func (_e *API_Expecter) ExecuteScriptAtLatestBlock(ctx interface{}, script interface{}, arguments interface{}) *API_ExecuteScriptAtLatestBlock_Call
ExecuteScriptAtLatestBlock is a helper method to define mock.On call
- ctx context.Context
- script []byte
- arguments [][]byte
func (*API_Expecter) GetAccount ¶ added in v0.46.0
func (_e *API_Expecter) GetAccount(ctx interface{}, address interface{}) *API_GetAccount_Call
GetAccount is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
func (*API_Expecter) GetAccountAtBlockHeight ¶ added in v0.46.0
func (_e *API_Expecter) GetAccountAtBlockHeight(ctx interface{}, address interface{}, height interface{}) *API_GetAccountAtBlockHeight_Call
GetAccountAtBlockHeight is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
- height uint64
func (*API_Expecter) GetAccountAtLatestBlock ¶ added in v0.46.0
func (_e *API_Expecter) GetAccountAtLatestBlock(ctx interface{}, address interface{}) *API_GetAccountAtLatestBlock_Call
GetAccountAtLatestBlock is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
func (*API_Expecter) GetAccountBalanceAtBlockHeight ¶ added in v0.46.0
func (_e *API_Expecter) GetAccountBalanceAtBlockHeight(ctx interface{}, address interface{}, height interface{}) *API_GetAccountBalanceAtBlockHeight_Call
GetAccountBalanceAtBlockHeight is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
- height uint64
func (*API_Expecter) GetAccountBalanceAtLatestBlock ¶ added in v0.46.0
func (_e *API_Expecter) GetAccountBalanceAtLatestBlock(ctx interface{}, address interface{}) *API_GetAccountBalanceAtLatestBlock_Call
GetAccountBalanceAtLatestBlock is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
func (*API_Expecter) GetAccountKeyAtBlockHeight ¶ added in v0.46.0
func (_e *API_Expecter) GetAccountKeyAtBlockHeight(ctx interface{}, address interface{}, keyIndex interface{}, height interface{}) *API_GetAccountKeyAtBlockHeight_Call
GetAccountKeyAtBlockHeight is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
- keyIndex uint32
- height uint64
func (*API_Expecter) GetAccountKeyAtLatestBlock ¶ added in v0.46.0
func (_e *API_Expecter) GetAccountKeyAtLatestBlock(ctx interface{}, address interface{}, keyIndex interface{}) *API_GetAccountKeyAtLatestBlock_Call
GetAccountKeyAtLatestBlock is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
- keyIndex uint32
func (*API_Expecter) GetAccountKeysAtBlockHeight ¶ added in v0.46.0
func (_e *API_Expecter) GetAccountKeysAtBlockHeight(ctx interface{}, address interface{}, height interface{}) *API_GetAccountKeysAtBlockHeight_Call
GetAccountKeysAtBlockHeight is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
- height uint64
func (*API_Expecter) GetAccountKeysAtLatestBlock ¶ added in v0.46.0
func (_e *API_Expecter) GetAccountKeysAtLatestBlock(ctx interface{}, address interface{}) *API_GetAccountKeysAtLatestBlock_Call
GetAccountKeysAtLatestBlock is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
func (*API_Expecter) GetBlockByHeight ¶ added in v0.46.0
func (_e *API_Expecter) GetBlockByHeight(ctx interface{}, height interface{}) *API_GetBlockByHeight_Call
GetBlockByHeight is a helper method to define mock.On call
- ctx context.Context
- height uint64
func (*API_Expecter) GetBlockByID ¶ added in v0.46.0
func (_e *API_Expecter) GetBlockByID(ctx interface{}, id interface{}) *API_GetBlockByID_Call
GetBlockByID is a helper method to define mock.On call
- ctx context.Context
- id flow.Identifier
func (*API_Expecter) GetBlockHeaderByHeight ¶ added in v0.46.0
func (_e *API_Expecter) GetBlockHeaderByHeight(ctx interface{}, height interface{}) *API_GetBlockHeaderByHeight_Call
GetBlockHeaderByHeight is a helper method to define mock.On call
- ctx context.Context
- height uint64
func (*API_Expecter) GetBlockHeaderByID ¶ added in v0.46.0
func (_e *API_Expecter) GetBlockHeaderByID(ctx interface{}, id interface{}) *API_GetBlockHeaderByID_Call
GetBlockHeaderByID is a helper method to define mock.On call
- ctx context.Context
- id flow.Identifier
func (*API_Expecter) GetCollectionByID ¶ added in v0.46.0
func (_e *API_Expecter) GetCollectionByID(ctx interface{}, id interface{}) *API_GetCollectionByID_Call
GetCollectionByID is a helper method to define mock.On call
- ctx context.Context
- id flow.Identifier
func (*API_Expecter) GetEventsForBlockIDs ¶ added in v0.46.0
func (_e *API_Expecter) GetEventsForBlockIDs(ctx interface{}, eventType interface{}, blockIDs interface{}, requiredEventEncodingVersion interface{}) *API_GetEventsForBlockIDs_Call
GetEventsForBlockIDs is a helper method to define mock.On call
- ctx context.Context
- eventType string
- blockIDs []flow.Identifier
- requiredEventEncodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetEventsForHeightRange ¶ added in v0.46.0
func (_e *API_Expecter) GetEventsForHeightRange(ctx interface{}, eventType interface{}, startHeight interface{}, endHeight interface{}, requiredEventEncodingVersion interface{}) *API_GetEventsForHeightRange_Call
GetEventsForHeightRange is a helper method to define mock.On call
- ctx context.Context
- eventType string
- startHeight uint64
- endHeight uint64
- requiredEventEncodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetExecutionResultByID ¶ added in v0.46.0
func (_e *API_Expecter) GetExecutionResultByID(ctx interface{}, id interface{}) *API_GetExecutionResultByID_Call
GetExecutionResultByID is a helper method to define mock.On call
- ctx context.Context
- id flow.Identifier
func (*API_Expecter) GetExecutionResultForBlockID ¶ added in v0.46.0
func (_e *API_Expecter) GetExecutionResultForBlockID(ctx interface{}, blockID interface{}) *API_GetExecutionResultForBlockID_Call
GetExecutionResultForBlockID is a helper method to define mock.On call
- ctx context.Context
- blockID flow.Identifier
func (*API_Expecter) GetFullCollectionByID ¶ added in v0.46.0
func (_e *API_Expecter) GetFullCollectionByID(ctx interface{}, id interface{}) *API_GetFullCollectionByID_Call
GetFullCollectionByID is a helper method to define mock.On call
- ctx context.Context
- id flow.Identifier
func (*API_Expecter) GetLatestBlock ¶ added in v0.46.0
func (_e *API_Expecter) GetLatestBlock(ctx interface{}, isSealed interface{}) *API_GetLatestBlock_Call
GetLatestBlock is a helper method to define mock.On call
- ctx context.Context
- isSealed bool
func (*API_Expecter) GetLatestBlockHeader ¶ added in v0.46.0
func (_e *API_Expecter) GetLatestBlockHeader(ctx interface{}, isSealed interface{}) *API_GetLatestBlockHeader_Call
GetLatestBlockHeader is a helper method to define mock.On call
- ctx context.Context
- isSealed bool
func (*API_Expecter) GetLatestProtocolStateSnapshot ¶ added in v0.46.0
func (_e *API_Expecter) GetLatestProtocolStateSnapshot(ctx interface{}) *API_GetLatestProtocolStateSnapshot_Call
GetLatestProtocolStateSnapshot is a helper method to define mock.On call
- ctx context.Context
func (*API_Expecter) GetNetworkParameters ¶ added in v0.46.0
func (_e *API_Expecter) GetNetworkParameters(ctx interface{}) *API_GetNetworkParameters_Call
GetNetworkParameters is a helper method to define mock.On call
- ctx context.Context
func (*API_Expecter) GetNodeVersionInfo ¶ added in v0.46.0
func (_e *API_Expecter) GetNodeVersionInfo(ctx interface{}) *API_GetNodeVersionInfo_Call
GetNodeVersionInfo is a helper method to define mock.On call
- ctx context.Context
func (*API_Expecter) GetProtocolStateSnapshotByBlockID ¶ added in v0.46.0
func (_e *API_Expecter) GetProtocolStateSnapshotByBlockID(ctx interface{}, blockID interface{}) *API_GetProtocolStateSnapshotByBlockID_Call
GetProtocolStateSnapshotByBlockID is a helper method to define mock.On call
- ctx context.Context
- blockID flow.Identifier
func (*API_Expecter) GetProtocolStateSnapshotByHeight ¶ added in v0.46.0
func (_e *API_Expecter) GetProtocolStateSnapshotByHeight(ctx interface{}, blockHeight interface{}) *API_GetProtocolStateSnapshotByHeight_Call
GetProtocolStateSnapshotByHeight is a helper method to define mock.On call
- ctx context.Context
- blockHeight uint64
func (*API_Expecter) GetScheduledTransaction ¶ added in v0.46.0
func (_e *API_Expecter) GetScheduledTransaction(ctx interface{}, scheduledTxID interface{}) *API_GetScheduledTransaction_Call
GetScheduledTransaction is a helper method to define mock.On call
- ctx context.Context
- scheduledTxID uint64
func (*API_Expecter) GetScheduledTransactionResult ¶ added in v0.46.0
func (_e *API_Expecter) GetScheduledTransactionResult(ctx interface{}, scheduledTxID interface{}, encodingVersion interface{}) *API_GetScheduledTransactionResult_Call
GetScheduledTransactionResult is a helper method to define mock.On call
- ctx context.Context
- scheduledTxID uint64
- encodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetSystemTransaction ¶ added in v0.46.0
func (_e *API_Expecter) GetSystemTransaction(ctx interface{}, txID interface{}, blockID interface{}) *API_GetSystemTransaction_Call
GetSystemTransaction is a helper method to define mock.On call
- ctx context.Context
- txID flow.Identifier
- blockID flow.Identifier
func (*API_Expecter) GetSystemTransactionResult ¶ added in v0.46.0
func (_e *API_Expecter) GetSystemTransactionResult(ctx interface{}, txID interface{}, blockID interface{}, encodingVersion interface{}) *API_GetSystemTransactionResult_Call
GetSystemTransactionResult is a helper method to define mock.On call
- ctx context.Context
- txID flow.Identifier
- blockID flow.Identifier
- encodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetTransaction ¶ added in v0.46.0
func (_e *API_Expecter) GetTransaction(ctx interface{}, id interface{}) *API_GetTransaction_Call
GetTransaction is a helper method to define mock.On call
- ctx context.Context
- id flow.Identifier
func (*API_Expecter) GetTransactionResult ¶ added in v0.46.0
func (_e *API_Expecter) GetTransactionResult(ctx interface{}, txID interface{}, blockID interface{}, collectionID interface{}, encodingVersion interface{}) *API_GetTransactionResult_Call
GetTransactionResult is a helper method to define mock.On call
- ctx context.Context
- txID flow.Identifier
- blockID flow.Identifier
- collectionID flow.Identifier
- encodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetTransactionResultByIndex ¶ added in v0.46.0
func (_e *API_Expecter) GetTransactionResultByIndex(ctx interface{}, blockID interface{}, index interface{}, encodingVersion interface{}) *API_GetTransactionResultByIndex_Call
GetTransactionResultByIndex is a helper method to define mock.On call
- ctx context.Context
- blockID flow.Identifier
- index uint32
- encodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetTransactionResultsByBlockID ¶ added in v0.46.0
func (_e *API_Expecter) GetTransactionResultsByBlockID(ctx interface{}, blockID interface{}, encodingVersion interface{}) *API_GetTransactionResultsByBlockID_Call
GetTransactionResultsByBlockID is a helper method to define mock.On call
- ctx context.Context
- blockID flow.Identifier
- encodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetTransactionsByBlockID ¶ added in v0.46.0
func (_e *API_Expecter) GetTransactionsByBlockID(ctx interface{}, blockID interface{}) *API_GetTransactionsByBlockID_Call
GetTransactionsByBlockID is a helper method to define mock.On call
- ctx context.Context
- blockID flow.Identifier
func (*API_Expecter) Ping ¶ added in v0.46.0
func (_e *API_Expecter) Ping(ctx interface{}) *API_Ping_Call
Ping is a helper method to define mock.On call
- ctx context.Context
func (*API_Expecter) SendAndSubscribeTransactionStatuses ¶ added in v0.46.0
func (_e *API_Expecter) SendAndSubscribeTransactionStatuses(ctx interface{}, tx interface{}, requiredEventEncodingVersion interface{}) *API_SendAndSubscribeTransactionStatuses_Call
SendAndSubscribeTransactionStatuses is a helper method to define mock.On call
- ctx context.Context
- tx *flow.TransactionBody
- requiredEventEncodingVersion entities.EventEncodingVersion
func (*API_Expecter) SendTransaction ¶ added in v0.46.0
func (_e *API_Expecter) SendTransaction(ctx interface{}, tx interface{}) *API_SendTransaction_Call
SendTransaction is a helper method to define mock.On call
- ctx context.Context
- tx *flow.TransactionBody
func (*API_Expecter) SubscribeBlockDigestsFromLatest ¶ added in v0.46.0
func (_e *API_Expecter) SubscribeBlockDigestsFromLatest(ctx interface{}, blockStatus interface{}) *API_SubscribeBlockDigestsFromLatest_Call
SubscribeBlockDigestsFromLatest is a helper method to define mock.On call
- ctx context.Context
- blockStatus flow.BlockStatus
func (*API_Expecter) SubscribeBlockDigestsFromStartBlockID ¶ added in v0.46.0
func (_e *API_Expecter) SubscribeBlockDigestsFromStartBlockID(ctx interface{}, startBlockID interface{}, blockStatus interface{}) *API_SubscribeBlockDigestsFromStartBlockID_Call
SubscribeBlockDigestsFromStartBlockID is a helper method to define mock.On call
- ctx context.Context
- startBlockID flow.Identifier
- blockStatus flow.BlockStatus
func (*API_Expecter) SubscribeBlockDigestsFromStartHeight ¶ added in v0.46.0
func (_e *API_Expecter) SubscribeBlockDigestsFromStartHeight(ctx interface{}, startHeight interface{}, blockStatus interface{}) *API_SubscribeBlockDigestsFromStartHeight_Call
SubscribeBlockDigestsFromStartHeight is a helper method to define mock.On call
- ctx context.Context
- startHeight uint64
- blockStatus flow.BlockStatus
func (*API_Expecter) SubscribeBlockHeadersFromLatest ¶ added in v0.46.0
func (_e *API_Expecter) SubscribeBlockHeadersFromLatest(ctx interface{}, blockStatus interface{}) *API_SubscribeBlockHeadersFromLatest_Call
SubscribeBlockHeadersFromLatest is a helper method to define mock.On call
- ctx context.Context
- blockStatus flow.BlockStatus
func (*API_Expecter) SubscribeBlockHeadersFromStartBlockID ¶ added in v0.46.0
func (_e *API_Expecter) SubscribeBlockHeadersFromStartBlockID(ctx interface{}, startBlockID interface{}, blockStatus interface{}) *API_SubscribeBlockHeadersFromStartBlockID_Call
SubscribeBlockHeadersFromStartBlockID is a helper method to define mock.On call
- ctx context.Context
- startBlockID flow.Identifier
- blockStatus flow.BlockStatus
func (*API_Expecter) SubscribeBlockHeadersFromStartHeight ¶ added in v0.46.0
func (_e *API_Expecter) SubscribeBlockHeadersFromStartHeight(ctx interface{}, startHeight interface{}, blockStatus interface{}) *API_SubscribeBlockHeadersFromStartHeight_Call
SubscribeBlockHeadersFromStartHeight is a helper method to define mock.On call
- ctx context.Context
- startHeight uint64
- blockStatus flow.BlockStatus
func (*API_Expecter) SubscribeBlocksFromLatest ¶ added in v0.46.0
func (_e *API_Expecter) SubscribeBlocksFromLatest(ctx interface{}, blockStatus interface{}) *API_SubscribeBlocksFromLatest_Call
SubscribeBlocksFromLatest is a helper method to define mock.On call
- ctx context.Context
- blockStatus flow.BlockStatus
func (*API_Expecter) SubscribeBlocksFromStartBlockID ¶ added in v0.46.0
func (_e *API_Expecter) SubscribeBlocksFromStartBlockID(ctx interface{}, startBlockID interface{}, blockStatus interface{}) *API_SubscribeBlocksFromStartBlockID_Call
SubscribeBlocksFromStartBlockID is a helper method to define mock.On call
- ctx context.Context
- startBlockID flow.Identifier
- blockStatus flow.BlockStatus
func (*API_Expecter) SubscribeBlocksFromStartHeight ¶ added in v0.46.0
func (_e *API_Expecter) SubscribeBlocksFromStartHeight(ctx interface{}, startHeight interface{}, blockStatus interface{}) *API_SubscribeBlocksFromStartHeight_Call
SubscribeBlocksFromStartHeight is a helper method to define mock.On call
- ctx context.Context
- startHeight uint64
- blockStatus flow.BlockStatus
func (*API_Expecter) SubscribeTransactionStatuses ¶ added in v0.46.0
func (_e *API_Expecter) SubscribeTransactionStatuses(ctx interface{}, txID interface{}, requiredEventEncodingVersion interface{}) *API_SubscribeTransactionStatuses_Call
SubscribeTransactionStatuses is a helper method to define mock.On call
- ctx context.Context
- txID flow.Identifier
- requiredEventEncodingVersion entities.EventEncodingVersion
type API_GetAccountAtBlockHeight_Call ¶ added in v0.46.0
API_GetAccountAtBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountAtBlockHeight'
func (*API_GetAccountAtBlockHeight_Call) Return ¶ added in v0.46.0
func (_c *API_GetAccountAtBlockHeight_Call) Return(account *flow.Account, err error) *API_GetAccountAtBlockHeight_Call
func (*API_GetAccountAtBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *API_GetAccountAtBlockHeight_Call) Run(run func(ctx context.Context, address flow.Address, height uint64)) *API_GetAccountAtBlockHeight_Call
func (*API_GetAccountAtBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetAccountAtBlockHeight_Call) RunAndReturn(run func(ctx context.Context, address flow.Address, height uint64) (*flow.Account, error)) *API_GetAccountAtBlockHeight_Call
type API_GetAccountAtLatestBlock_Call ¶ added in v0.46.0
API_GetAccountAtLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountAtLatestBlock'
func (*API_GetAccountAtLatestBlock_Call) Return ¶ added in v0.46.0
func (_c *API_GetAccountAtLatestBlock_Call) Return(account *flow.Account, err error) *API_GetAccountAtLatestBlock_Call
func (*API_GetAccountAtLatestBlock_Call) Run ¶ added in v0.46.0
func (_c *API_GetAccountAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address)) *API_GetAccountAtLatestBlock_Call
func (*API_GetAccountAtLatestBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetAccountAtLatestBlock_Call) RunAndReturn(run func(ctx context.Context, address flow.Address) (*flow.Account, error)) *API_GetAccountAtLatestBlock_Call
type API_GetAccountBalanceAtBlockHeight_Call ¶ added in v0.46.0
API_GetAccountBalanceAtBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountBalanceAtBlockHeight'
func (*API_GetAccountBalanceAtBlockHeight_Call) Return ¶ added in v0.46.0
func (_c *API_GetAccountBalanceAtBlockHeight_Call) Return(v uint64, err error) *API_GetAccountBalanceAtBlockHeight_Call
func (*API_GetAccountBalanceAtBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *API_GetAccountBalanceAtBlockHeight_Call) Run(run func(ctx context.Context, address flow.Address, height uint64)) *API_GetAccountBalanceAtBlockHeight_Call
func (*API_GetAccountBalanceAtBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetAccountBalanceAtBlockHeight_Call) RunAndReturn(run func(ctx context.Context, address flow.Address, height uint64) (uint64, error)) *API_GetAccountBalanceAtBlockHeight_Call
type API_GetAccountBalanceAtLatestBlock_Call ¶ added in v0.46.0
API_GetAccountBalanceAtLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountBalanceAtLatestBlock'
func (*API_GetAccountBalanceAtLatestBlock_Call) Return ¶ added in v0.46.0
func (_c *API_GetAccountBalanceAtLatestBlock_Call) Return(v uint64, err error) *API_GetAccountBalanceAtLatestBlock_Call
func (*API_GetAccountBalanceAtLatestBlock_Call) Run ¶ added in v0.46.0
func (_c *API_GetAccountBalanceAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address)) *API_GetAccountBalanceAtLatestBlock_Call
func (*API_GetAccountBalanceAtLatestBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetAccountBalanceAtLatestBlock_Call) RunAndReturn(run func(ctx context.Context, address flow.Address) (uint64, error)) *API_GetAccountBalanceAtLatestBlock_Call
type API_GetAccountKeyAtBlockHeight_Call ¶ added in v0.46.0
API_GetAccountKeyAtBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountKeyAtBlockHeight'
func (*API_GetAccountKeyAtBlockHeight_Call) Return ¶ added in v0.46.0
func (_c *API_GetAccountKeyAtBlockHeight_Call) Return(accountPublicKey *flow.AccountPublicKey, err error) *API_GetAccountKeyAtBlockHeight_Call
func (*API_GetAccountKeyAtBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *API_GetAccountKeyAtBlockHeight_Call) Run(run func(ctx context.Context, address flow.Address, keyIndex uint32, height uint64)) *API_GetAccountKeyAtBlockHeight_Call
func (*API_GetAccountKeyAtBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetAccountKeyAtBlockHeight_Call) RunAndReturn(run func(ctx context.Context, address flow.Address, keyIndex uint32, height uint64) (*flow.AccountPublicKey, error)) *API_GetAccountKeyAtBlockHeight_Call
type API_GetAccountKeyAtLatestBlock_Call ¶ added in v0.46.0
API_GetAccountKeyAtLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountKeyAtLatestBlock'
func (*API_GetAccountKeyAtLatestBlock_Call) Return ¶ added in v0.46.0
func (_c *API_GetAccountKeyAtLatestBlock_Call) Return(accountPublicKey *flow.AccountPublicKey, err error) *API_GetAccountKeyAtLatestBlock_Call
func (*API_GetAccountKeyAtLatestBlock_Call) Run ¶ added in v0.46.0
func (_c *API_GetAccountKeyAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address, keyIndex uint32)) *API_GetAccountKeyAtLatestBlock_Call
func (*API_GetAccountKeyAtLatestBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetAccountKeyAtLatestBlock_Call) RunAndReturn(run func(ctx context.Context, address flow.Address, keyIndex uint32) (*flow.AccountPublicKey, error)) *API_GetAccountKeyAtLatestBlock_Call
type API_GetAccountKeysAtBlockHeight_Call ¶ added in v0.46.0
API_GetAccountKeysAtBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountKeysAtBlockHeight'
func (*API_GetAccountKeysAtBlockHeight_Call) Return ¶ added in v0.46.0
func (_c *API_GetAccountKeysAtBlockHeight_Call) Return(accountPublicKeys []flow.AccountPublicKey, err error) *API_GetAccountKeysAtBlockHeight_Call
func (*API_GetAccountKeysAtBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *API_GetAccountKeysAtBlockHeight_Call) Run(run func(ctx context.Context, address flow.Address, height uint64)) *API_GetAccountKeysAtBlockHeight_Call
func (*API_GetAccountKeysAtBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetAccountKeysAtBlockHeight_Call) RunAndReturn(run func(ctx context.Context, address flow.Address, height uint64) ([]flow.AccountPublicKey, error)) *API_GetAccountKeysAtBlockHeight_Call
type API_GetAccountKeysAtLatestBlock_Call ¶ added in v0.46.0
API_GetAccountKeysAtLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountKeysAtLatestBlock'
func (*API_GetAccountKeysAtLatestBlock_Call) Return ¶ added in v0.46.0
func (_c *API_GetAccountKeysAtLatestBlock_Call) Return(accountPublicKeys []flow.AccountPublicKey, err error) *API_GetAccountKeysAtLatestBlock_Call
func (*API_GetAccountKeysAtLatestBlock_Call) Run ¶ added in v0.46.0
func (_c *API_GetAccountKeysAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address)) *API_GetAccountKeysAtLatestBlock_Call
func (*API_GetAccountKeysAtLatestBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetAccountKeysAtLatestBlock_Call) RunAndReturn(run func(ctx context.Context, address flow.Address) ([]flow.AccountPublicKey, error)) *API_GetAccountKeysAtLatestBlock_Call
type API_GetAccount_Call ¶ added in v0.46.0
API_GetAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccount'
func (*API_GetAccount_Call) Return ¶ added in v0.46.0
func (_c *API_GetAccount_Call) Return(account *flow.Account, err error) *API_GetAccount_Call
func (*API_GetAccount_Call) Run ¶ added in v0.46.0
func (_c *API_GetAccount_Call) Run(run func(ctx context.Context, address flow.Address)) *API_GetAccount_Call
func (*API_GetAccount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetAccount_Call) RunAndReturn(run func(ctx context.Context, address flow.Address) (*flow.Account, error)) *API_GetAccount_Call
type API_GetBlockByHeight_Call ¶ added in v0.46.0
API_GetBlockByHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockByHeight'
func (*API_GetBlockByHeight_Call) Return ¶ added in v0.46.0
func (_c *API_GetBlockByHeight_Call) Return(v *flow.Block, blockStatus flow.BlockStatus, err error) *API_GetBlockByHeight_Call
func (*API_GetBlockByHeight_Call) Run ¶ added in v0.46.0
func (_c *API_GetBlockByHeight_Call) Run(run func(ctx context.Context, height uint64)) *API_GetBlockByHeight_Call
func (*API_GetBlockByHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetBlockByHeight_Call) RunAndReturn(run func(ctx context.Context, height uint64) (*flow.Block, flow.BlockStatus, error)) *API_GetBlockByHeight_Call
type API_GetBlockByID_Call ¶ added in v0.46.0
API_GetBlockByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockByID'
func (*API_GetBlockByID_Call) Return ¶ added in v0.46.0
func (_c *API_GetBlockByID_Call) Return(v *flow.Block, blockStatus flow.BlockStatus, err error) *API_GetBlockByID_Call
func (*API_GetBlockByID_Call) Run ¶ added in v0.46.0
func (_c *API_GetBlockByID_Call) Run(run func(ctx context.Context, id flow.Identifier)) *API_GetBlockByID_Call
func (*API_GetBlockByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetBlockByID_Call) RunAndReturn(run func(ctx context.Context, id flow.Identifier) (*flow.Block, flow.BlockStatus, error)) *API_GetBlockByID_Call
type API_GetBlockHeaderByHeight_Call ¶ added in v0.46.0
API_GetBlockHeaderByHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockHeaderByHeight'
func (*API_GetBlockHeaderByHeight_Call) Return ¶ added in v0.46.0
func (_c *API_GetBlockHeaderByHeight_Call) Return(header *flow.Header, blockStatus flow.BlockStatus, err error) *API_GetBlockHeaderByHeight_Call
func (*API_GetBlockHeaderByHeight_Call) Run ¶ added in v0.46.0
func (_c *API_GetBlockHeaderByHeight_Call) Run(run func(ctx context.Context, height uint64)) *API_GetBlockHeaderByHeight_Call
func (*API_GetBlockHeaderByHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetBlockHeaderByHeight_Call) RunAndReturn(run func(ctx context.Context, height uint64) (*flow.Header, flow.BlockStatus, error)) *API_GetBlockHeaderByHeight_Call
type API_GetBlockHeaderByID_Call ¶ added in v0.46.0
API_GetBlockHeaderByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockHeaderByID'
func (*API_GetBlockHeaderByID_Call) Return ¶ added in v0.46.0
func (_c *API_GetBlockHeaderByID_Call) Return(header *flow.Header, blockStatus flow.BlockStatus, err error) *API_GetBlockHeaderByID_Call
func (*API_GetBlockHeaderByID_Call) Run ¶ added in v0.46.0
func (_c *API_GetBlockHeaderByID_Call) Run(run func(ctx context.Context, id flow.Identifier)) *API_GetBlockHeaderByID_Call
func (*API_GetBlockHeaderByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetBlockHeaderByID_Call) RunAndReturn(run func(ctx context.Context, id flow.Identifier) (*flow.Header, flow.BlockStatus, error)) *API_GetBlockHeaderByID_Call
type API_GetCollectionByID_Call ¶ added in v0.46.0
API_GetCollectionByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCollectionByID'
func (*API_GetCollectionByID_Call) Return ¶ added in v0.46.0
func (_c *API_GetCollectionByID_Call) Return(lightCollection *flow.LightCollection, err error) *API_GetCollectionByID_Call
func (*API_GetCollectionByID_Call) Run ¶ added in v0.46.0
func (_c *API_GetCollectionByID_Call) Run(run func(ctx context.Context, id flow.Identifier)) *API_GetCollectionByID_Call
func (*API_GetCollectionByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetCollectionByID_Call) RunAndReturn(run func(ctx context.Context, id flow.Identifier) (*flow.LightCollection, error)) *API_GetCollectionByID_Call
type API_GetEventsForBlockIDs_Call ¶ added in v0.46.0
API_GetEventsForBlockIDs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEventsForBlockIDs'
func (*API_GetEventsForBlockIDs_Call) Return ¶ added in v0.46.0
func (_c *API_GetEventsForBlockIDs_Call) Return(blockEventss []flow.BlockEvents, err error) *API_GetEventsForBlockIDs_Call
func (*API_GetEventsForBlockIDs_Call) Run ¶ added in v0.46.0
func (_c *API_GetEventsForBlockIDs_Call) Run(run func(ctx context.Context, eventType string, blockIDs []flow.Identifier, requiredEventEncodingVersion entities.EventEncodingVersion)) *API_GetEventsForBlockIDs_Call
func (*API_GetEventsForBlockIDs_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetEventsForBlockIDs_Call) RunAndReturn(run func(ctx context.Context, eventType string, blockIDs []flow.Identifier, requiredEventEncodingVersion entities.EventEncodingVersion) ([]flow.BlockEvents, error)) *API_GetEventsForBlockIDs_Call
type API_GetEventsForHeightRange_Call ¶ added in v0.46.0
API_GetEventsForHeightRange_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEventsForHeightRange'
func (*API_GetEventsForHeightRange_Call) Return ¶ added in v0.46.0
func (_c *API_GetEventsForHeightRange_Call) Return(blockEventss []flow.BlockEvents, err error) *API_GetEventsForHeightRange_Call
func (*API_GetEventsForHeightRange_Call) Run ¶ added in v0.46.0
func (_c *API_GetEventsForHeightRange_Call) Run(run func(ctx context.Context, eventType string, startHeight uint64, endHeight uint64, requiredEventEncodingVersion entities.EventEncodingVersion)) *API_GetEventsForHeightRange_Call
func (*API_GetEventsForHeightRange_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetEventsForHeightRange_Call) RunAndReturn(run func(ctx context.Context, eventType string, startHeight uint64, endHeight uint64, requiredEventEncodingVersion entities.EventEncodingVersion) ([]flow.BlockEvents, error)) *API_GetEventsForHeightRange_Call
type API_GetExecutionResultByID_Call ¶ added in v0.46.0
API_GetExecutionResultByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExecutionResultByID'
func (*API_GetExecutionResultByID_Call) Return ¶ added in v0.46.0
func (_c *API_GetExecutionResultByID_Call) Return(executionResult *flow.ExecutionResult, err error) *API_GetExecutionResultByID_Call
func (*API_GetExecutionResultByID_Call) Run ¶ added in v0.46.0
func (_c *API_GetExecutionResultByID_Call) Run(run func(ctx context.Context, id flow.Identifier)) *API_GetExecutionResultByID_Call
func (*API_GetExecutionResultByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetExecutionResultByID_Call) RunAndReturn(run func(ctx context.Context, id flow.Identifier) (*flow.ExecutionResult, error)) *API_GetExecutionResultByID_Call
type API_GetExecutionResultForBlockID_Call ¶ added in v0.46.0
API_GetExecutionResultForBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExecutionResultForBlockID'
func (*API_GetExecutionResultForBlockID_Call) Return ¶ added in v0.46.0
func (_c *API_GetExecutionResultForBlockID_Call) Return(executionResult *flow.ExecutionResult, err error) *API_GetExecutionResultForBlockID_Call
func (*API_GetExecutionResultForBlockID_Call) Run ¶ added in v0.46.0
func (_c *API_GetExecutionResultForBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier)) *API_GetExecutionResultForBlockID_Call
func (*API_GetExecutionResultForBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetExecutionResultForBlockID_Call) RunAndReturn(run func(ctx context.Context, blockID flow.Identifier) (*flow.ExecutionResult, error)) *API_GetExecutionResultForBlockID_Call
type API_GetFullCollectionByID_Call ¶ added in v0.46.0
API_GetFullCollectionByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFullCollectionByID'
func (*API_GetFullCollectionByID_Call) Return ¶ added in v0.46.0
func (_c *API_GetFullCollectionByID_Call) Return(collection *flow.Collection, err error) *API_GetFullCollectionByID_Call
func (*API_GetFullCollectionByID_Call) Run ¶ added in v0.46.0
func (_c *API_GetFullCollectionByID_Call) Run(run func(ctx context.Context, id flow.Identifier)) *API_GetFullCollectionByID_Call
func (*API_GetFullCollectionByID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetFullCollectionByID_Call) RunAndReturn(run func(ctx context.Context, id flow.Identifier) (*flow.Collection, error)) *API_GetFullCollectionByID_Call
type API_GetLatestBlockHeader_Call ¶ added in v0.46.0
API_GetLatestBlockHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestBlockHeader'
func (*API_GetLatestBlockHeader_Call) Return ¶ added in v0.46.0
func (_c *API_GetLatestBlockHeader_Call) Return(header *flow.Header, blockStatus flow.BlockStatus, err error) *API_GetLatestBlockHeader_Call
func (*API_GetLatestBlockHeader_Call) Run ¶ added in v0.46.0
func (_c *API_GetLatestBlockHeader_Call) Run(run func(ctx context.Context, isSealed bool)) *API_GetLatestBlockHeader_Call
func (*API_GetLatestBlockHeader_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetLatestBlockHeader_Call) RunAndReturn(run func(ctx context.Context, isSealed bool) (*flow.Header, flow.BlockStatus, error)) *API_GetLatestBlockHeader_Call
type API_GetLatestBlock_Call ¶ added in v0.46.0
API_GetLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestBlock'
func (*API_GetLatestBlock_Call) Return ¶ added in v0.46.0
func (_c *API_GetLatestBlock_Call) Return(v *flow.Block, blockStatus flow.BlockStatus, err error) *API_GetLatestBlock_Call
func (*API_GetLatestBlock_Call) Run ¶ added in v0.46.0
func (_c *API_GetLatestBlock_Call) Run(run func(ctx context.Context, isSealed bool)) *API_GetLatestBlock_Call
func (*API_GetLatestBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetLatestBlock_Call) RunAndReturn(run func(ctx context.Context, isSealed bool) (*flow.Block, flow.BlockStatus, error)) *API_GetLatestBlock_Call
type API_GetLatestProtocolStateSnapshot_Call ¶ added in v0.46.0
API_GetLatestProtocolStateSnapshot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestProtocolStateSnapshot'
func (*API_GetLatestProtocolStateSnapshot_Call) Return ¶ added in v0.46.0
func (_c *API_GetLatestProtocolStateSnapshot_Call) Return(bytes []byte, err error) *API_GetLatestProtocolStateSnapshot_Call
func (*API_GetLatestProtocolStateSnapshot_Call) Run ¶ added in v0.46.0
func (_c *API_GetLatestProtocolStateSnapshot_Call) Run(run func(ctx context.Context)) *API_GetLatestProtocolStateSnapshot_Call
func (*API_GetLatestProtocolStateSnapshot_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetLatestProtocolStateSnapshot_Call) RunAndReturn(run func(ctx context.Context) ([]byte, error)) *API_GetLatestProtocolStateSnapshot_Call
type API_GetNetworkParameters_Call ¶ added in v0.46.0
API_GetNetworkParameters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNetworkParameters'
func (*API_GetNetworkParameters_Call) Return ¶ added in v0.46.0
func (_c *API_GetNetworkParameters_Call) Return(networkParameters access.NetworkParameters) *API_GetNetworkParameters_Call
func (*API_GetNetworkParameters_Call) Run ¶ added in v0.46.0
func (_c *API_GetNetworkParameters_Call) Run(run func(ctx context.Context)) *API_GetNetworkParameters_Call
func (*API_GetNetworkParameters_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetNetworkParameters_Call) RunAndReturn(run func(ctx context.Context) access.NetworkParameters) *API_GetNetworkParameters_Call
type API_GetNodeVersionInfo_Call ¶ added in v0.46.0
API_GetNodeVersionInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNodeVersionInfo'
func (*API_GetNodeVersionInfo_Call) Return ¶ added in v0.46.0
func (_c *API_GetNodeVersionInfo_Call) Return(nodeVersionInfo *access.NodeVersionInfo, err error) *API_GetNodeVersionInfo_Call
func (*API_GetNodeVersionInfo_Call) Run ¶ added in v0.46.0
func (_c *API_GetNodeVersionInfo_Call) Run(run func(ctx context.Context)) *API_GetNodeVersionInfo_Call
func (*API_GetNodeVersionInfo_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetNodeVersionInfo_Call) RunAndReturn(run func(ctx context.Context) (*access.NodeVersionInfo, error)) *API_GetNodeVersionInfo_Call
type API_GetProtocolStateSnapshotByBlockID_Call ¶ added in v0.46.0
API_GetProtocolStateSnapshotByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProtocolStateSnapshotByBlockID'
func (*API_GetProtocolStateSnapshotByBlockID_Call) Return ¶ added in v0.46.0
func (_c *API_GetProtocolStateSnapshotByBlockID_Call) Return(bytes []byte, err error) *API_GetProtocolStateSnapshotByBlockID_Call
func (*API_GetProtocolStateSnapshotByBlockID_Call) Run ¶ added in v0.46.0
func (_c *API_GetProtocolStateSnapshotByBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier)) *API_GetProtocolStateSnapshotByBlockID_Call
func (*API_GetProtocolStateSnapshotByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetProtocolStateSnapshotByBlockID_Call) RunAndReturn(run func(ctx context.Context, blockID flow.Identifier) ([]byte, error)) *API_GetProtocolStateSnapshotByBlockID_Call
type API_GetProtocolStateSnapshotByHeight_Call ¶ added in v0.46.0
API_GetProtocolStateSnapshotByHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProtocolStateSnapshotByHeight'
func (*API_GetProtocolStateSnapshotByHeight_Call) Return ¶ added in v0.46.0
func (_c *API_GetProtocolStateSnapshotByHeight_Call) Return(bytes []byte, err error) *API_GetProtocolStateSnapshotByHeight_Call
func (*API_GetProtocolStateSnapshotByHeight_Call) Run ¶ added in v0.46.0
func (_c *API_GetProtocolStateSnapshotByHeight_Call) Run(run func(ctx context.Context, blockHeight uint64)) *API_GetProtocolStateSnapshotByHeight_Call
func (*API_GetProtocolStateSnapshotByHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetProtocolStateSnapshotByHeight_Call) RunAndReturn(run func(ctx context.Context, blockHeight uint64) ([]byte, error)) *API_GetProtocolStateSnapshotByHeight_Call
type API_GetScheduledTransactionResult_Call ¶ added in v0.46.0
API_GetScheduledTransactionResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScheduledTransactionResult'
func (*API_GetScheduledTransactionResult_Call) Return ¶ added in v0.46.0
func (_c *API_GetScheduledTransactionResult_Call) Return(transactionResult *access.TransactionResult, err error) *API_GetScheduledTransactionResult_Call
func (*API_GetScheduledTransactionResult_Call) Run ¶ added in v0.46.0
func (_c *API_GetScheduledTransactionResult_Call) Run(run func(ctx context.Context, scheduledTxID uint64, encodingVersion entities.EventEncodingVersion)) *API_GetScheduledTransactionResult_Call
func (*API_GetScheduledTransactionResult_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetScheduledTransactionResult_Call) RunAndReturn(run func(ctx context.Context, scheduledTxID uint64, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)) *API_GetScheduledTransactionResult_Call
type API_GetScheduledTransaction_Call ¶ added in v0.46.0
API_GetScheduledTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScheduledTransaction'
func (*API_GetScheduledTransaction_Call) Return ¶ added in v0.46.0
func (_c *API_GetScheduledTransaction_Call) Return(transactionBody *flow.TransactionBody, err error) *API_GetScheduledTransaction_Call
func (*API_GetScheduledTransaction_Call) Run ¶ added in v0.46.0
func (_c *API_GetScheduledTransaction_Call) Run(run func(ctx context.Context, scheduledTxID uint64)) *API_GetScheduledTransaction_Call
func (*API_GetScheduledTransaction_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetScheduledTransaction_Call) RunAndReturn(run func(ctx context.Context, scheduledTxID uint64) (*flow.TransactionBody, error)) *API_GetScheduledTransaction_Call
type API_GetSystemTransactionResult_Call ¶ added in v0.46.0
API_GetSystemTransactionResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSystemTransactionResult'
func (*API_GetSystemTransactionResult_Call) Return ¶ added in v0.46.0
func (_c *API_GetSystemTransactionResult_Call) Return(transactionResult *access.TransactionResult, err error) *API_GetSystemTransactionResult_Call
func (*API_GetSystemTransactionResult_Call) Run ¶ added in v0.46.0
func (_c *API_GetSystemTransactionResult_Call) Run(run func(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, encodingVersion entities.EventEncodingVersion)) *API_GetSystemTransactionResult_Call
func (*API_GetSystemTransactionResult_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetSystemTransactionResult_Call) RunAndReturn(run func(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)) *API_GetSystemTransactionResult_Call
type API_GetSystemTransaction_Call ¶ added in v0.46.0
API_GetSystemTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSystemTransaction'
func (*API_GetSystemTransaction_Call) Return ¶ added in v0.46.0
func (_c *API_GetSystemTransaction_Call) Return(transactionBody *flow.TransactionBody, err error) *API_GetSystemTransaction_Call
func (*API_GetSystemTransaction_Call) Run ¶ added in v0.46.0
func (_c *API_GetSystemTransaction_Call) Run(run func(ctx context.Context, txID flow.Identifier, blockID flow.Identifier)) *API_GetSystemTransaction_Call
func (*API_GetSystemTransaction_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetSystemTransaction_Call) RunAndReturn(run func(ctx context.Context, txID flow.Identifier, blockID flow.Identifier) (*flow.TransactionBody, error)) *API_GetSystemTransaction_Call
type API_GetTransactionResultByIndex_Call ¶ added in v0.46.0
API_GetTransactionResultByIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionResultByIndex'
func (*API_GetTransactionResultByIndex_Call) Return ¶ added in v0.46.0
func (_c *API_GetTransactionResultByIndex_Call) Return(transactionResult *access.TransactionResult, err error) *API_GetTransactionResultByIndex_Call
func (*API_GetTransactionResultByIndex_Call) Run ¶ added in v0.46.0
func (_c *API_GetTransactionResultByIndex_Call) Run(run func(ctx context.Context, blockID flow.Identifier, index uint32, encodingVersion entities.EventEncodingVersion)) *API_GetTransactionResultByIndex_Call
func (*API_GetTransactionResultByIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetTransactionResultByIndex_Call) RunAndReturn(run func(ctx context.Context, blockID flow.Identifier, index uint32, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)) *API_GetTransactionResultByIndex_Call
type API_GetTransactionResult_Call ¶ added in v0.46.0
API_GetTransactionResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionResult'
func (*API_GetTransactionResult_Call) Return ¶ added in v0.46.0
func (_c *API_GetTransactionResult_Call) Return(transactionResult *access.TransactionResult, err error) *API_GetTransactionResult_Call
func (*API_GetTransactionResult_Call) Run ¶ added in v0.46.0
func (_c *API_GetTransactionResult_Call) Run(run func(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, collectionID flow.Identifier, encodingVersion entities.EventEncodingVersion)) *API_GetTransactionResult_Call
func (*API_GetTransactionResult_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetTransactionResult_Call) RunAndReturn(run func(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, collectionID flow.Identifier, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)) *API_GetTransactionResult_Call
type API_GetTransactionResultsByBlockID_Call ¶ added in v0.46.0
API_GetTransactionResultsByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionResultsByBlockID'
func (*API_GetTransactionResultsByBlockID_Call) Return ¶ added in v0.46.0
func (_c *API_GetTransactionResultsByBlockID_Call) Return(transactionResults []*access.TransactionResult, err error) *API_GetTransactionResultsByBlockID_Call
func (*API_GetTransactionResultsByBlockID_Call) Run ¶ added in v0.46.0
func (_c *API_GetTransactionResultsByBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier, encodingVersion entities.EventEncodingVersion)) *API_GetTransactionResultsByBlockID_Call
func (*API_GetTransactionResultsByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetTransactionResultsByBlockID_Call) RunAndReturn(run func(ctx context.Context, blockID flow.Identifier, encodingVersion entities.EventEncodingVersion) ([]*access.TransactionResult, error)) *API_GetTransactionResultsByBlockID_Call
type API_GetTransaction_Call ¶ added in v0.46.0
API_GetTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransaction'
func (*API_GetTransaction_Call) Return ¶ added in v0.46.0
func (_c *API_GetTransaction_Call) Return(transactionBody *flow.TransactionBody, err error) *API_GetTransaction_Call
func (*API_GetTransaction_Call) Run ¶ added in v0.46.0
func (_c *API_GetTransaction_Call) Run(run func(ctx context.Context, id flow.Identifier)) *API_GetTransaction_Call
func (*API_GetTransaction_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetTransaction_Call) RunAndReturn(run func(ctx context.Context, id flow.Identifier) (*flow.TransactionBody, error)) *API_GetTransaction_Call
type API_GetTransactionsByBlockID_Call ¶ added in v0.46.0
API_GetTransactionsByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionsByBlockID'
func (*API_GetTransactionsByBlockID_Call) Return ¶ added in v0.46.0
func (_c *API_GetTransactionsByBlockID_Call) Return(transactionBodys []*flow.TransactionBody, err error) *API_GetTransactionsByBlockID_Call
func (*API_GetTransactionsByBlockID_Call) Run ¶ added in v0.46.0
func (_c *API_GetTransactionsByBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier)) *API_GetTransactionsByBlockID_Call
func (*API_GetTransactionsByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_GetTransactionsByBlockID_Call) RunAndReturn(run func(ctx context.Context, blockID flow.Identifier) ([]*flow.TransactionBody, error)) *API_GetTransactionsByBlockID_Call
type API_Ping_Call ¶ added in v0.46.0
API_Ping_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ping'
func (*API_Ping_Call) Return ¶ added in v0.46.0
func (_c *API_Ping_Call) Return(err error) *API_Ping_Call
func (*API_Ping_Call) Run ¶ added in v0.46.0
func (_c *API_Ping_Call) Run(run func(ctx context.Context)) *API_Ping_Call
func (*API_Ping_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_Ping_Call) RunAndReturn(run func(ctx context.Context) error) *API_Ping_Call
type API_SendAndSubscribeTransactionStatuses_Call ¶ added in v0.46.0
API_SendAndSubscribeTransactionStatuses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendAndSubscribeTransactionStatuses'
func (*API_SendAndSubscribeTransactionStatuses_Call) Return ¶ added in v0.46.0
func (_c *API_SendAndSubscribeTransactionStatuses_Call) Return(subscription1 subscription.Subscription) *API_SendAndSubscribeTransactionStatuses_Call
func (*API_SendAndSubscribeTransactionStatuses_Call) Run ¶ added in v0.46.0
func (_c *API_SendAndSubscribeTransactionStatuses_Call) Run(run func(ctx context.Context, tx *flow.TransactionBody, requiredEventEncodingVersion entities.EventEncodingVersion)) *API_SendAndSubscribeTransactionStatuses_Call
func (*API_SendAndSubscribeTransactionStatuses_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_SendAndSubscribeTransactionStatuses_Call) RunAndReturn(run func(ctx context.Context, tx *flow.TransactionBody, requiredEventEncodingVersion entities.EventEncodingVersion) subscription.Subscription) *API_SendAndSubscribeTransactionStatuses_Call
type API_SendTransaction_Call ¶ added in v0.46.0
API_SendTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendTransaction'
func (*API_SendTransaction_Call) Return ¶ added in v0.46.0
func (_c *API_SendTransaction_Call) Return(err error) *API_SendTransaction_Call
func (*API_SendTransaction_Call) Run ¶ added in v0.46.0
func (_c *API_SendTransaction_Call) Run(run func(ctx context.Context, tx *flow.TransactionBody)) *API_SendTransaction_Call
func (*API_SendTransaction_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_SendTransaction_Call) RunAndReturn(run func(ctx context.Context, tx *flow.TransactionBody) error) *API_SendTransaction_Call
type API_SubscribeBlockDigestsFromLatest_Call ¶ added in v0.46.0
API_SubscribeBlockDigestsFromLatest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeBlockDigestsFromLatest'
func (*API_SubscribeBlockDigestsFromLatest_Call) Return ¶ added in v0.46.0
func (_c *API_SubscribeBlockDigestsFromLatest_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlockDigestsFromLatest_Call
func (*API_SubscribeBlockDigestsFromLatest_Call) Run ¶ added in v0.46.0
func (_c *API_SubscribeBlockDigestsFromLatest_Call) Run(run func(ctx context.Context, blockStatus flow.BlockStatus)) *API_SubscribeBlockDigestsFromLatest_Call
func (*API_SubscribeBlockDigestsFromLatest_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_SubscribeBlockDigestsFromLatest_Call) RunAndReturn(run func(ctx context.Context, blockStatus flow.BlockStatus) subscription.Subscription) *API_SubscribeBlockDigestsFromLatest_Call
type API_SubscribeBlockDigestsFromStartBlockID_Call ¶ added in v0.46.0
API_SubscribeBlockDigestsFromStartBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeBlockDigestsFromStartBlockID'
func (*API_SubscribeBlockDigestsFromStartBlockID_Call) Return ¶ added in v0.46.0
func (_c *API_SubscribeBlockDigestsFromStartBlockID_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlockDigestsFromStartBlockID_Call
func (*API_SubscribeBlockDigestsFromStartBlockID_Call) Run ¶ added in v0.46.0
func (_c *API_SubscribeBlockDigestsFromStartBlockID_Call) Run(run func(ctx context.Context, startBlockID flow.Identifier, blockStatus flow.BlockStatus)) *API_SubscribeBlockDigestsFromStartBlockID_Call
func (*API_SubscribeBlockDigestsFromStartBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_SubscribeBlockDigestsFromStartBlockID_Call) RunAndReturn(run func(ctx context.Context, startBlockID flow.Identifier, blockStatus flow.BlockStatus) subscription.Subscription) *API_SubscribeBlockDigestsFromStartBlockID_Call
type API_SubscribeBlockDigestsFromStartHeight_Call ¶ added in v0.46.0
API_SubscribeBlockDigestsFromStartHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeBlockDigestsFromStartHeight'
func (*API_SubscribeBlockDigestsFromStartHeight_Call) Return ¶ added in v0.46.0
func (_c *API_SubscribeBlockDigestsFromStartHeight_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlockDigestsFromStartHeight_Call
func (*API_SubscribeBlockDigestsFromStartHeight_Call) Run ¶ added in v0.46.0
func (_c *API_SubscribeBlockDigestsFromStartHeight_Call) Run(run func(ctx context.Context, startHeight uint64, blockStatus flow.BlockStatus)) *API_SubscribeBlockDigestsFromStartHeight_Call
func (*API_SubscribeBlockDigestsFromStartHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_SubscribeBlockDigestsFromStartHeight_Call) RunAndReturn(run func(ctx context.Context, startHeight uint64, blockStatus flow.BlockStatus) subscription.Subscription) *API_SubscribeBlockDigestsFromStartHeight_Call
type API_SubscribeBlockHeadersFromLatest_Call ¶ added in v0.46.0
API_SubscribeBlockHeadersFromLatest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeBlockHeadersFromLatest'
func (*API_SubscribeBlockHeadersFromLatest_Call) Return ¶ added in v0.46.0
func (_c *API_SubscribeBlockHeadersFromLatest_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlockHeadersFromLatest_Call
func (*API_SubscribeBlockHeadersFromLatest_Call) Run ¶ added in v0.46.0
func (_c *API_SubscribeBlockHeadersFromLatest_Call) Run(run func(ctx context.Context, blockStatus flow.BlockStatus)) *API_SubscribeBlockHeadersFromLatest_Call
func (*API_SubscribeBlockHeadersFromLatest_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_SubscribeBlockHeadersFromLatest_Call) RunAndReturn(run func(ctx context.Context, blockStatus flow.BlockStatus) subscription.Subscription) *API_SubscribeBlockHeadersFromLatest_Call
type API_SubscribeBlockHeadersFromStartBlockID_Call ¶ added in v0.46.0
API_SubscribeBlockHeadersFromStartBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeBlockHeadersFromStartBlockID'
func (*API_SubscribeBlockHeadersFromStartBlockID_Call) Return ¶ added in v0.46.0
func (_c *API_SubscribeBlockHeadersFromStartBlockID_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlockHeadersFromStartBlockID_Call
func (*API_SubscribeBlockHeadersFromStartBlockID_Call) Run ¶ added in v0.46.0
func (_c *API_SubscribeBlockHeadersFromStartBlockID_Call) Run(run func(ctx context.Context, startBlockID flow.Identifier, blockStatus flow.BlockStatus)) *API_SubscribeBlockHeadersFromStartBlockID_Call
func (*API_SubscribeBlockHeadersFromStartBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_SubscribeBlockHeadersFromStartBlockID_Call) RunAndReturn(run func(ctx context.Context, startBlockID flow.Identifier, blockStatus flow.BlockStatus) subscription.Subscription) *API_SubscribeBlockHeadersFromStartBlockID_Call
type API_SubscribeBlockHeadersFromStartHeight_Call ¶ added in v0.46.0
API_SubscribeBlockHeadersFromStartHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeBlockHeadersFromStartHeight'
func (*API_SubscribeBlockHeadersFromStartHeight_Call) Return ¶ added in v0.46.0
func (_c *API_SubscribeBlockHeadersFromStartHeight_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlockHeadersFromStartHeight_Call
func (*API_SubscribeBlockHeadersFromStartHeight_Call) Run ¶ added in v0.46.0
func (_c *API_SubscribeBlockHeadersFromStartHeight_Call) Run(run func(ctx context.Context, startHeight uint64, blockStatus flow.BlockStatus)) *API_SubscribeBlockHeadersFromStartHeight_Call
func (*API_SubscribeBlockHeadersFromStartHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_SubscribeBlockHeadersFromStartHeight_Call) RunAndReturn(run func(ctx context.Context, startHeight uint64, blockStatus flow.BlockStatus) subscription.Subscription) *API_SubscribeBlockHeadersFromStartHeight_Call
type API_SubscribeBlocksFromLatest_Call ¶ added in v0.46.0
API_SubscribeBlocksFromLatest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeBlocksFromLatest'
func (*API_SubscribeBlocksFromLatest_Call) Return ¶ added in v0.46.0
func (_c *API_SubscribeBlocksFromLatest_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlocksFromLatest_Call
func (*API_SubscribeBlocksFromLatest_Call) Run ¶ added in v0.46.0
func (_c *API_SubscribeBlocksFromLatest_Call) Run(run func(ctx context.Context, blockStatus flow.BlockStatus)) *API_SubscribeBlocksFromLatest_Call
func (*API_SubscribeBlocksFromLatest_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_SubscribeBlocksFromLatest_Call) RunAndReturn(run func(ctx context.Context, blockStatus flow.BlockStatus) subscription.Subscription) *API_SubscribeBlocksFromLatest_Call
type API_SubscribeBlocksFromStartBlockID_Call ¶ added in v0.46.0
API_SubscribeBlocksFromStartBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeBlocksFromStartBlockID'
func (*API_SubscribeBlocksFromStartBlockID_Call) Return ¶ added in v0.46.0
func (_c *API_SubscribeBlocksFromStartBlockID_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlocksFromStartBlockID_Call
func (*API_SubscribeBlocksFromStartBlockID_Call) Run ¶ added in v0.46.0
func (_c *API_SubscribeBlocksFromStartBlockID_Call) Run(run func(ctx context.Context, startBlockID flow.Identifier, blockStatus flow.BlockStatus)) *API_SubscribeBlocksFromStartBlockID_Call
func (*API_SubscribeBlocksFromStartBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_SubscribeBlocksFromStartBlockID_Call) RunAndReturn(run func(ctx context.Context, startBlockID flow.Identifier, blockStatus flow.BlockStatus) subscription.Subscription) *API_SubscribeBlocksFromStartBlockID_Call
type API_SubscribeBlocksFromStartHeight_Call ¶ added in v0.46.0
API_SubscribeBlocksFromStartHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeBlocksFromStartHeight'
func (*API_SubscribeBlocksFromStartHeight_Call) Return ¶ added in v0.46.0
func (_c *API_SubscribeBlocksFromStartHeight_Call) Return(subscription1 subscription.Subscription) *API_SubscribeBlocksFromStartHeight_Call
func (*API_SubscribeBlocksFromStartHeight_Call) Run ¶ added in v0.46.0
func (_c *API_SubscribeBlocksFromStartHeight_Call) Run(run func(ctx context.Context, startHeight uint64, blockStatus flow.BlockStatus)) *API_SubscribeBlocksFromStartHeight_Call
func (*API_SubscribeBlocksFromStartHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_SubscribeBlocksFromStartHeight_Call) RunAndReturn(run func(ctx context.Context, startHeight uint64, blockStatus flow.BlockStatus) subscription.Subscription) *API_SubscribeBlocksFromStartHeight_Call
type API_SubscribeTransactionStatuses_Call ¶ added in v0.46.0
API_SubscribeTransactionStatuses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeTransactionStatuses'
func (*API_SubscribeTransactionStatuses_Call) Return ¶ added in v0.46.0
func (_c *API_SubscribeTransactionStatuses_Call) Return(subscription1 subscription.Subscription) *API_SubscribeTransactionStatuses_Call
func (*API_SubscribeTransactionStatuses_Call) Run ¶ added in v0.46.0
func (_c *API_SubscribeTransactionStatuses_Call) Run(run func(ctx context.Context, txID flow.Identifier, requiredEventEncodingVersion entities.EventEncodingVersion)) *API_SubscribeTransactionStatuses_Call
func (*API_SubscribeTransactionStatuses_Call) RunAndReturn ¶ added in v0.46.0
func (_c *API_SubscribeTransactionStatuses_Call) RunAndReturn(run func(ctx context.Context, txID flow.Identifier, requiredEventEncodingVersion entities.EventEncodingVersion) subscription.Subscription) *API_SubscribeTransactionStatuses_Call
type AccountsAPI ¶ added in v0.43.2
AccountsAPI is an autogenerated mock type for the AccountsAPI type
func NewAccountsAPI ¶ added in v0.43.2
func NewAccountsAPI(t interface {
mock.TestingT
Cleanup(func())
}) *AccountsAPI
NewAccountsAPI creates a new instance of AccountsAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AccountsAPI) EXPECT ¶ added in v0.46.0
func (_m *AccountsAPI) EXPECT() *AccountsAPI_Expecter
func (*AccountsAPI) GetAccount ¶ added in v0.43.2
func (_mock *AccountsAPI) GetAccount(ctx context.Context, address flow.Address) (*flow.Account, error)
GetAccount provides a mock function for the type AccountsAPI
func (*AccountsAPI) GetAccountAtBlockHeight ¶ added in v0.43.2
func (_mock *AccountsAPI) GetAccountAtBlockHeight(ctx context.Context, address flow.Address, height uint64) (*flow.Account, error)
GetAccountAtBlockHeight provides a mock function for the type AccountsAPI
func (*AccountsAPI) GetAccountAtLatestBlock ¶ added in v0.43.2
func (_mock *AccountsAPI) GetAccountAtLatestBlock(ctx context.Context, address flow.Address) (*flow.Account, error)
GetAccountAtLatestBlock provides a mock function for the type AccountsAPI
func (*AccountsAPI) GetAccountBalanceAtBlockHeight ¶ added in v0.43.2
func (_mock *AccountsAPI) GetAccountBalanceAtBlockHeight(ctx context.Context, address flow.Address, height uint64) (uint64, error)
GetAccountBalanceAtBlockHeight provides a mock function for the type AccountsAPI
func (*AccountsAPI) GetAccountBalanceAtLatestBlock ¶ added in v0.43.2
func (_mock *AccountsAPI) GetAccountBalanceAtLatestBlock(ctx context.Context, address flow.Address) (uint64, error)
GetAccountBalanceAtLatestBlock provides a mock function for the type AccountsAPI
func (*AccountsAPI) GetAccountKeyAtBlockHeight ¶ added in v0.43.2
func (_mock *AccountsAPI) GetAccountKeyAtBlockHeight(ctx context.Context, address flow.Address, keyIndex uint32, height uint64) (*flow.AccountPublicKey, error)
GetAccountKeyAtBlockHeight provides a mock function for the type AccountsAPI
func (*AccountsAPI) GetAccountKeyAtLatestBlock ¶ added in v0.43.2
func (_mock *AccountsAPI) GetAccountKeyAtLatestBlock(ctx context.Context, address flow.Address, keyIndex uint32) (*flow.AccountPublicKey, error)
GetAccountKeyAtLatestBlock provides a mock function for the type AccountsAPI
func (*AccountsAPI) GetAccountKeysAtBlockHeight ¶ added in v0.43.2
func (_mock *AccountsAPI) GetAccountKeysAtBlockHeight(ctx context.Context, address flow.Address, height uint64) ([]flow.AccountPublicKey, error)
GetAccountKeysAtBlockHeight provides a mock function for the type AccountsAPI
func (*AccountsAPI) GetAccountKeysAtLatestBlock ¶ added in v0.43.2
func (_mock *AccountsAPI) GetAccountKeysAtLatestBlock(ctx context.Context, address flow.Address) ([]flow.AccountPublicKey, error)
GetAccountKeysAtLatestBlock provides a mock function for the type AccountsAPI
type AccountsAPI_Expecter ¶ added in v0.46.0
type AccountsAPI_Expecter struct {
// contains filtered or unexported fields
}
func (*AccountsAPI_Expecter) GetAccount ¶ added in v0.46.0
func (_e *AccountsAPI_Expecter) GetAccount(ctx interface{}, address interface{}) *AccountsAPI_GetAccount_Call
GetAccount is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
func (*AccountsAPI_Expecter) GetAccountAtBlockHeight ¶ added in v0.46.0
func (_e *AccountsAPI_Expecter) GetAccountAtBlockHeight(ctx interface{}, address interface{}, height interface{}) *AccountsAPI_GetAccountAtBlockHeight_Call
GetAccountAtBlockHeight is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
- height uint64
func (*AccountsAPI_Expecter) GetAccountAtLatestBlock ¶ added in v0.46.0
func (_e *AccountsAPI_Expecter) GetAccountAtLatestBlock(ctx interface{}, address interface{}) *AccountsAPI_GetAccountAtLatestBlock_Call
GetAccountAtLatestBlock is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
func (*AccountsAPI_Expecter) GetAccountBalanceAtBlockHeight ¶ added in v0.46.0
func (_e *AccountsAPI_Expecter) GetAccountBalanceAtBlockHeight(ctx interface{}, address interface{}, height interface{}) *AccountsAPI_GetAccountBalanceAtBlockHeight_Call
GetAccountBalanceAtBlockHeight is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
- height uint64
func (*AccountsAPI_Expecter) GetAccountBalanceAtLatestBlock ¶ added in v0.46.0
func (_e *AccountsAPI_Expecter) GetAccountBalanceAtLatestBlock(ctx interface{}, address interface{}) *AccountsAPI_GetAccountBalanceAtLatestBlock_Call
GetAccountBalanceAtLatestBlock is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
func (*AccountsAPI_Expecter) GetAccountKeyAtBlockHeight ¶ added in v0.46.0
func (_e *AccountsAPI_Expecter) GetAccountKeyAtBlockHeight(ctx interface{}, address interface{}, keyIndex interface{}, height interface{}) *AccountsAPI_GetAccountKeyAtBlockHeight_Call
GetAccountKeyAtBlockHeight is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
- keyIndex uint32
- height uint64
func (*AccountsAPI_Expecter) GetAccountKeyAtLatestBlock ¶ added in v0.46.0
func (_e *AccountsAPI_Expecter) GetAccountKeyAtLatestBlock(ctx interface{}, address interface{}, keyIndex interface{}) *AccountsAPI_GetAccountKeyAtLatestBlock_Call
GetAccountKeyAtLatestBlock is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
- keyIndex uint32
func (*AccountsAPI_Expecter) GetAccountKeysAtBlockHeight ¶ added in v0.46.0
func (_e *AccountsAPI_Expecter) GetAccountKeysAtBlockHeight(ctx interface{}, address interface{}, height interface{}) *AccountsAPI_GetAccountKeysAtBlockHeight_Call
GetAccountKeysAtBlockHeight is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
- height uint64
func (*AccountsAPI_Expecter) GetAccountKeysAtLatestBlock ¶ added in v0.46.0
func (_e *AccountsAPI_Expecter) GetAccountKeysAtLatestBlock(ctx interface{}, address interface{}) *AccountsAPI_GetAccountKeysAtLatestBlock_Call
GetAccountKeysAtLatestBlock is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
type AccountsAPI_GetAccountAtBlockHeight_Call ¶ added in v0.46.0
AccountsAPI_GetAccountAtBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountAtBlockHeight'
func (*AccountsAPI_GetAccountAtBlockHeight_Call) Return ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountAtBlockHeight_Call) Return(account *flow.Account, err error) *AccountsAPI_GetAccountAtBlockHeight_Call
func (*AccountsAPI_GetAccountAtBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountAtBlockHeight_Call) Run(run func(ctx context.Context, address flow.Address, height uint64)) *AccountsAPI_GetAccountAtBlockHeight_Call
func (*AccountsAPI_GetAccountAtBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountAtBlockHeight_Call) RunAndReturn(run func(ctx context.Context, address flow.Address, height uint64) (*flow.Account, error)) *AccountsAPI_GetAccountAtBlockHeight_Call
type AccountsAPI_GetAccountAtLatestBlock_Call ¶ added in v0.46.0
AccountsAPI_GetAccountAtLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountAtLatestBlock'
func (*AccountsAPI_GetAccountAtLatestBlock_Call) Return ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountAtLatestBlock_Call) Return(account *flow.Account, err error) *AccountsAPI_GetAccountAtLatestBlock_Call
func (*AccountsAPI_GetAccountAtLatestBlock_Call) Run ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address)) *AccountsAPI_GetAccountAtLatestBlock_Call
func (*AccountsAPI_GetAccountAtLatestBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountAtLatestBlock_Call) RunAndReturn(run func(ctx context.Context, address flow.Address) (*flow.Account, error)) *AccountsAPI_GetAccountAtLatestBlock_Call
type AccountsAPI_GetAccountBalanceAtBlockHeight_Call ¶ added in v0.46.0
AccountsAPI_GetAccountBalanceAtBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountBalanceAtBlockHeight'
func (*AccountsAPI_GetAccountBalanceAtBlockHeight_Call) Return ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountBalanceAtBlockHeight_Call) Return(v uint64, err error) *AccountsAPI_GetAccountBalanceAtBlockHeight_Call
func (*AccountsAPI_GetAccountBalanceAtBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountBalanceAtBlockHeight_Call) Run(run func(ctx context.Context, address flow.Address, height uint64)) *AccountsAPI_GetAccountBalanceAtBlockHeight_Call
func (*AccountsAPI_GetAccountBalanceAtBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountBalanceAtBlockHeight_Call) RunAndReturn(run func(ctx context.Context, address flow.Address, height uint64) (uint64, error)) *AccountsAPI_GetAccountBalanceAtBlockHeight_Call
type AccountsAPI_GetAccountBalanceAtLatestBlock_Call ¶ added in v0.46.0
AccountsAPI_GetAccountBalanceAtLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountBalanceAtLatestBlock'
func (*AccountsAPI_GetAccountBalanceAtLatestBlock_Call) Return ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountBalanceAtLatestBlock_Call) Return(v uint64, err error) *AccountsAPI_GetAccountBalanceAtLatestBlock_Call
func (*AccountsAPI_GetAccountBalanceAtLatestBlock_Call) Run ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountBalanceAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address)) *AccountsAPI_GetAccountBalanceAtLatestBlock_Call
func (*AccountsAPI_GetAccountBalanceAtLatestBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountBalanceAtLatestBlock_Call) RunAndReturn(run func(ctx context.Context, address flow.Address) (uint64, error)) *AccountsAPI_GetAccountBalanceAtLatestBlock_Call
type AccountsAPI_GetAccountKeyAtBlockHeight_Call ¶ added in v0.46.0
AccountsAPI_GetAccountKeyAtBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountKeyAtBlockHeight'
func (*AccountsAPI_GetAccountKeyAtBlockHeight_Call) Return ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountKeyAtBlockHeight_Call) Return(accountPublicKey *flow.AccountPublicKey, err error) *AccountsAPI_GetAccountKeyAtBlockHeight_Call
func (*AccountsAPI_GetAccountKeyAtBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountKeyAtBlockHeight_Call) Run(run func(ctx context.Context, address flow.Address, keyIndex uint32, height uint64)) *AccountsAPI_GetAccountKeyAtBlockHeight_Call
func (*AccountsAPI_GetAccountKeyAtBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountKeyAtBlockHeight_Call) RunAndReturn(run func(ctx context.Context, address flow.Address, keyIndex uint32, height uint64) (*flow.AccountPublicKey, error)) *AccountsAPI_GetAccountKeyAtBlockHeight_Call
type AccountsAPI_GetAccountKeyAtLatestBlock_Call ¶ added in v0.46.0
AccountsAPI_GetAccountKeyAtLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountKeyAtLatestBlock'
func (*AccountsAPI_GetAccountKeyAtLatestBlock_Call) Return ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountKeyAtLatestBlock_Call) Return(accountPublicKey *flow.AccountPublicKey, err error) *AccountsAPI_GetAccountKeyAtLatestBlock_Call
func (*AccountsAPI_GetAccountKeyAtLatestBlock_Call) Run ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountKeyAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address, keyIndex uint32)) *AccountsAPI_GetAccountKeyAtLatestBlock_Call
func (*AccountsAPI_GetAccountKeyAtLatestBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountKeyAtLatestBlock_Call) RunAndReturn(run func(ctx context.Context, address flow.Address, keyIndex uint32) (*flow.AccountPublicKey, error)) *AccountsAPI_GetAccountKeyAtLatestBlock_Call
type AccountsAPI_GetAccountKeysAtBlockHeight_Call ¶ added in v0.46.0
AccountsAPI_GetAccountKeysAtBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountKeysAtBlockHeight'
func (*AccountsAPI_GetAccountKeysAtBlockHeight_Call) Return ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountKeysAtBlockHeight_Call) Return(accountPublicKeys []flow.AccountPublicKey, err error) *AccountsAPI_GetAccountKeysAtBlockHeight_Call
func (*AccountsAPI_GetAccountKeysAtBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountKeysAtBlockHeight_Call) Run(run func(ctx context.Context, address flow.Address, height uint64)) *AccountsAPI_GetAccountKeysAtBlockHeight_Call
func (*AccountsAPI_GetAccountKeysAtBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountKeysAtBlockHeight_Call) RunAndReturn(run func(ctx context.Context, address flow.Address, height uint64) ([]flow.AccountPublicKey, error)) *AccountsAPI_GetAccountKeysAtBlockHeight_Call
type AccountsAPI_GetAccountKeysAtLatestBlock_Call ¶ added in v0.46.0
AccountsAPI_GetAccountKeysAtLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountKeysAtLatestBlock'
func (*AccountsAPI_GetAccountKeysAtLatestBlock_Call) Return ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountKeysAtLatestBlock_Call) Return(accountPublicKeys []flow.AccountPublicKey, err error) *AccountsAPI_GetAccountKeysAtLatestBlock_Call
func (*AccountsAPI_GetAccountKeysAtLatestBlock_Call) Run ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountKeysAtLatestBlock_Call) Run(run func(ctx context.Context, address flow.Address)) *AccountsAPI_GetAccountKeysAtLatestBlock_Call
func (*AccountsAPI_GetAccountKeysAtLatestBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccountKeysAtLatestBlock_Call) RunAndReturn(run func(ctx context.Context, address flow.Address) ([]flow.AccountPublicKey, error)) *AccountsAPI_GetAccountKeysAtLatestBlock_Call
type AccountsAPI_GetAccount_Call ¶ added in v0.46.0
AccountsAPI_GetAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccount'
func (*AccountsAPI_GetAccount_Call) Return ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccount_Call) Return(account *flow.Account, err error) *AccountsAPI_GetAccount_Call
func (*AccountsAPI_GetAccount_Call) Run ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccount_Call) Run(run func(ctx context.Context, address flow.Address)) *AccountsAPI_GetAccount_Call
func (*AccountsAPI_GetAccount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountsAPI_GetAccount_Call) RunAndReturn(run func(ctx context.Context, address flow.Address) (*flow.Account, error)) *AccountsAPI_GetAccount_Call
type EventsAPI ¶ added in v0.43.2
EventsAPI is an autogenerated mock type for the EventsAPI type
func NewEventsAPI ¶ added in v0.43.2
NewEventsAPI creates a new instance of EventsAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EventsAPI) EXPECT ¶ added in v0.46.0
func (_m *EventsAPI) EXPECT() *EventsAPI_Expecter
func (*EventsAPI) GetEventsForBlockIDs ¶ added in v0.43.2
func (_mock *EventsAPI) GetEventsForBlockIDs(ctx context.Context, eventType string, blockIDs []flow.Identifier, requiredEventEncodingVersion entities.EventEncodingVersion) ([]flow.BlockEvents, error)
GetEventsForBlockIDs provides a mock function for the type EventsAPI
func (*EventsAPI) GetEventsForHeightRange ¶ added in v0.43.2
func (_mock *EventsAPI) GetEventsForHeightRange(ctx context.Context, eventType string, startHeight uint64, endHeight uint64, requiredEventEncodingVersion entities.EventEncodingVersion) ([]flow.BlockEvents, error)
GetEventsForHeightRange provides a mock function for the type EventsAPI
type EventsAPI_Expecter ¶ added in v0.46.0
type EventsAPI_Expecter struct {
// contains filtered or unexported fields
}
func (*EventsAPI_Expecter) GetEventsForBlockIDs ¶ added in v0.46.0
func (_e *EventsAPI_Expecter) GetEventsForBlockIDs(ctx interface{}, eventType interface{}, blockIDs interface{}, requiredEventEncodingVersion interface{}) *EventsAPI_GetEventsForBlockIDs_Call
GetEventsForBlockIDs is a helper method to define mock.On call
- ctx context.Context
- eventType string
- blockIDs []flow.Identifier
- requiredEventEncodingVersion entities.EventEncodingVersion
func (*EventsAPI_Expecter) GetEventsForHeightRange ¶ added in v0.46.0
func (_e *EventsAPI_Expecter) GetEventsForHeightRange(ctx interface{}, eventType interface{}, startHeight interface{}, endHeight interface{}, requiredEventEncodingVersion interface{}) *EventsAPI_GetEventsForHeightRange_Call
GetEventsForHeightRange is a helper method to define mock.On call
- ctx context.Context
- eventType string
- startHeight uint64
- endHeight uint64
- requiredEventEncodingVersion entities.EventEncodingVersion
type EventsAPI_GetEventsForBlockIDs_Call ¶ added in v0.46.0
EventsAPI_GetEventsForBlockIDs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEventsForBlockIDs'
func (*EventsAPI_GetEventsForBlockIDs_Call) Return ¶ added in v0.46.0
func (_c *EventsAPI_GetEventsForBlockIDs_Call) Return(blockEventss []flow.BlockEvents, err error) *EventsAPI_GetEventsForBlockIDs_Call
func (*EventsAPI_GetEventsForBlockIDs_Call) Run ¶ added in v0.46.0
func (_c *EventsAPI_GetEventsForBlockIDs_Call) Run(run func(ctx context.Context, eventType string, blockIDs []flow.Identifier, requiredEventEncodingVersion entities.EventEncodingVersion)) *EventsAPI_GetEventsForBlockIDs_Call
func (*EventsAPI_GetEventsForBlockIDs_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EventsAPI_GetEventsForBlockIDs_Call) RunAndReturn(run func(ctx context.Context, eventType string, blockIDs []flow.Identifier, requiredEventEncodingVersion entities.EventEncodingVersion) ([]flow.BlockEvents, error)) *EventsAPI_GetEventsForBlockIDs_Call
type EventsAPI_GetEventsForHeightRange_Call ¶ added in v0.46.0
EventsAPI_GetEventsForHeightRange_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEventsForHeightRange'
func (*EventsAPI_GetEventsForHeightRange_Call) Return ¶ added in v0.46.0
func (_c *EventsAPI_GetEventsForHeightRange_Call) Return(blockEventss []flow.BlockEvents, err error) *EventsAPI_GetEventsForHeightRange_Call
func (*EventsAPI_GetEventsForHeightRange_Call) Run ¶ added in v0.46.0
func (_c *EventsAPI_GetEventsForHeightRange_Call) Run(run func(ctx context.Context, eventType string, startHeight uint64, endHeight uint64, requiredEventEncodingVersion entities.EventEncodingVersion)) *EventsAPI_GetEventsForHeightRange_Call
func (*EventsAPI_GetEventsForHeightRange_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EventsAPI_GetEventsForHeightRange_Call) RunAndReturn(run func(ctx context.Context, eventType string, startHeight uint64, endHeight uint64, requiredEventEncodingVersion entities.EventEncodingVersion) ([]flow.BlockEvents, error)) *EventsAPI_GetEventsForHeightRange_Call
type ScriptsAPI ¶ added in v0.43.2
ScriptsAPI is an autogenerated mock type for the ScriptsAPI type
func NewScriptsAPI ¶ added in v0.43.2
func NewScriptsAPI(t interface {
mock.TestingT
Cleanup(func())
}) *ScriptsAPI
NewScriptsAPI creates a new instance of ScriptsAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ScriptsAPI) EXPECT ¶ added in v0.46.0
func (_m *ScriptsAPI) EXPECT() *ScriptsAPI_Expecter
func (*ScriptsAPI) ExecuteScriptAtBlockHeight ¶ added in v0.43.2
func (_mock *ScriptsAPI) ExecuteScriptAtBlockHeight(ctx context.Context, blockHeight uint64, script []byte, arguments [][]byte) ([]byte, error)
ExecuteScriptAtBlockHeight provides a mock function for the type ScriptsAPI
func (*ScriptsAPI) ExecuteScriptAtBlockID ¶ added in v0.43.2
func (_mock *ScriptsAPI) ExecuteScriptAtBlockID(ctx context.Context, blockID flow.Identifier, script []byte, arguments [][]byte) ([]byte, error)
ExecuteScriptAtBlockID provides a mock function for the type ScriptsAPI
func (*ScriptsAPI) ExecuteScriptAtLatestBlock ¶ added in v0.43.2
func (_mock *ScriptsAPI) ExecuteScriptAtLatestBlock(ctx context.Context, script []byte, arguments [][]byte) ([]byte, error)
ExecuteScriptAtLatestBlock provides a mock function for the type ScriptsAPI
type ScriptsAPI_ExecuteScriptAtBlockHeight_Call ¶ added in v0.46.0
ScriptsAPI_ExecuteScriptAtBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteScriptAtBlockHeight'
func (*ScriptsAPI_ExecuteScriptAtBlockHeight_Call) Return ¶ added in v0.46.0
func (_c *ScriptsAPI_ExecuteScriptAtBlockHeight_Call) Return(bytes []byte, err error) *ScriptsAPI_ExecuteScriptAtBlockHeight_Call
func (*ScriptsAPI_ExecuteScriptAtBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *ScriptsAPI_ExecuteScriptAtBlockHeight_Call) Run(run func(ctx context.Context, blockHeight uint64, script []byte, arguments [][]byte)) *ScriptsAPI_ExecuteScriptAtBlockHeight_Call
func (*ScriptsAPI_ExecuteScriptAtBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ScriptsAPI_ExecuteScriptAtBlockHeight_Call) RunAndReturn(run func(ctx context.Context, blockHeight uint64, script []byte, arguments [][]byte) ([]byte, error)) *ScriptsAPI_ExecuteScriptAtBlockHeight_Call
type ScriptsAPI_ExecuteScriptAtBlockID_Call ¶ added in v0.46.0
ScriptsAPI_ExecuteScriptAtBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteScriptAtBlockID'
func (*ScriptsAPI_ExecuteScriptAtBlockID_Call) Return ¶ added in v0.46.0
func (_c *ScriptsAPI_ExecuteScriptAtBlockID_Call) Return(bytes []byte, err error) *ScriptsAPI_ExecuteScriptAtBlockID_Call
func (*ScriptsAPI_ExecuteScriptAtBlockID_Call) Run ¶ added in v0.46.0
func (_c *ScriptsAPI_ExecuteScriptAtBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier, script []byte, arguments [][]byte)) *ScriptsAPI_ExecuteScriptAtBlockID_Call
func (*ScriptsAPI_ExecuteScriptAtBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ScriptsAPI_ExecuteScriptAtBlockID_Call) RunAndReturn(run func(ctx context.Context, blockID flow.Identifier, script []byte, arguments [][]byte) ([]byte, error)) *ScriptsAPI_ExecuteScriptAtBlockID_Call
type ScriptsAPI_ExecuteScriptAtLatestBlock_Call ¶ added in v0.46.0
ScriptsAPI_ExecuteScriptAtLatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteScriptAtLatestBlock'
func (*ScriptsAPI_ExecuteScriptAtLatestBlock_Call) Return ¶ added in v0.46.0
func (_c *ScriptsAPI_ExecuteScriptAtLatestBlock_Call) Return(bytes []byte, err error) *ScriptsAPI_ExecuteScriptAtLatestBlock_Call
func (*ScriptsAPI_ExecuteScriptAtLatestBlock_Call) Run ¶ added in v0.46.0
func (_c *ScriptsAPI_ExecuteScriptAtLatestBlock_Call) Run(run func(ctx context.Context, script []byte, arguments [][]byte)) *ScriptsAPI_ExecuteScriptAtLatestBlock_Call
func (*ScriptsAPI_ExecuteScriptAtLatestBlock_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ScriptsAPI_ExecuteScriptAtLatestBlock_Call) RunAndReturn(run func(ctx context.Context, script []byte, arguments [][]byte) ([]byte, error)) *ScriptsAPI_ExecuteScriptAtLatestBlock_Call
type ScriptsAPI_Expecter ¶ added in v0.46.0
type ScriptsAPI_Expecter struct {
// contains filtered or unexported fields
}
func (*ScriptsAPI_Expecter) ExecuteScriptAtBlockHeight ¶ added in v0.46.0
func (_e *ScriptsAPI_Expecter) ExecuteScriptAtBlockHeight(ctx interface{}, blockHeight interface{}, script interface{}, arguments interface{}) *ScriptsAPI_ExecuteScriptAtBlockHeight_Call
ExecuteScriptAtBlockHeight is a helper method to define mock.On call
- ctx context.Context
- blockHeight uint64
- script []byte
- arguments [][]byte
func (*ScriptsAPI_Expecter) ExecuteScriptAtBlockID ¶ added in v0.46.0
func (_e *ScriptsAPI_Expecter) ExecuteScriptAtBlockID(ctx interface{}, blockID interface{}, script interface{}, arguments interface{}) *ScriptsAPI_ExecuteScriptAtBlockID_Call
ExecuteScriptAtBlockID is a helper method to define mock.On call
- ctx context.Context
- blockID flow.Identifier
- script []byte
- arguments [][]byte
func (*ScriptsAPI_Expecter) ExecuteScriptAtLatestBlock ¶ added in v0.46.0
func (_e *ScriptsAPI_Expecter) ExecuteScriptAtLatestBlock(ctx interface{}, script interface{}, arguments interface{}) *ScriptsAPI_ExecuteScriptAtLatestBlock_Call
ExecuteScriptAtLatestBlock is a helper method to define mock.On call
- ctx context.Context
- script []byte
- arguments [][]byte
type TransactionStreamAPI ¶ added in v0.43.2
TransactionStreamAPI is an autogenerated mock type for the TransactionStreamAPI type
func NewTransactionStreamAPI ¶ added in v0.43.2
func NewTransactionStreamAPI(t interface {
mock.TestingT
Cleanup(func())
}) *TransactionStreamAPI
NewTransactionStreamAPI creates a new instance of TransactionStreamAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TransactionStreamAPI) EXPECT ¶ added in v0.46.0
func (_m *TransactionStreamAPI) EXPECT() *TransactionStreamAPI_Expecter
func (*TransactionStreamAPI) SendAndSubscribeTransactionStatuses ¶ added in v0.43.2
func (_mock *TransactionStreamAPI) SendAndSubscribeTransactionStatuses(ctx context.Context, tx *flow.TransactionBody, requiredEventEncodingVersion entities.EventEncodingVersion) subscription.Subscription
SendAndSubscribeTransactionStatuses provides a mock function for the type TransactionStreamAPI
func (*TransactionStreamAPI) SubscribeTransactionStatuses ¶ added in v0.43.2
func (_mock *TransactionStreamAPI) SubscribeTransactionStatuses(ctx context.Context, txID flow.Identifier, requiredEventEncodingVersion entities.EventEncodingVersion) subscription.Subscription
SubscribeTransactionStatuses provides a mock function for the type TransactionStreamAPI
type TransactionStreamAPI_Expecter ¶ added in v0.46.0
type TransactionStreamAPI_Expecter struct {
// contains filtered or unexported fields
}
func (*TransactionStreamAPI_Expecter) SendAndSubscribeTransactionStatuses ¶ added in v0.46.0
func (_e *TransactionStreamAPI_Expecter) SendAndSubscribeTransactionStatuses(ctx interface{}, tx interface{}, requiredEventEncodingVersion interface{}) *TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call
SendAndSubscribeTransactionStatuses is a helper method to define mock.On call
- ctx context.Context
- tx *flow.TransactionBody
- requiredEventEncodingVersion entities.EventEncodingVersion
func (*TransactionStreamAPI_Expecter) SubscribeTransactionStatuses ¶ added in v0.46.0
func (_e *TransactionStreamAPI_Expecter) SubscribeTransactionStatuses(ctx interface{}, txID interface{}, requiredEventEncodingVersion interface{}) *TransactionStreamAPI_SubscribeTransactionStatuses_Call
SubscribeTransactionStatuses is a helper method to define mock.On call
- ctx context.Context
- txID flow.Identifier
- requiredEventEncodingVersion entities.EventEncodingVersion
type TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call ¶ added in v0.46.0
TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendAndSubscribeTransactionStatuses'
func (*TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call) Return ¶ added in v0.46.0
func (_c *TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call) Return(subscription1 subscription.Subscription) *TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call
func (*TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call) Run ¶ added in v0.46.0
func (_c *TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call) Run(run func(ctx context.Context, tx *flow.TransactionBody, requiredEventEncodingVersion entities.EventEncodingVersion)) *TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call
func (*TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call) RunAndReturn(run func(ctx context.Context, tx *flow.TransactionBody, requiredEventEncodingVersion entities.EventEncodingVersion) subscription.Subscription) *TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call
type TransactionStreamAPI_SubscribeTransactionStatuses_Call ¶ added in v0.46.0
TransactionStreamAPI_SubscribeTransactionStatuses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeTransactionStatuses'
func (*TransactionStreamAPI_SubscribeTransactionStatuses_Call) Return ¶ added in v0.46.0
func (_c *TransactionStreamAPI_SubscribeTransactionStatuses_Call) Return(subscription1 subscription.Subscription) *TransactionStreamAPI_SubscribeTransactionStatuses_Call
func (*TransactionStreamAPI_SubscribeTransactionStatuses_Call) Run ¶ added in v0.46.0
func (_c *TransactionStreamAPI_SubscribeTransactionStatuses_Call) Run(run func(ctx context.Context, txID flow.Identifier, requiredEventEncodingVersion entities.EventEncodingVersion)) *TransactionStreamAPI_SubscribeTransactionStatuses_Call
func (*TransactionStreamAPI_SubscribeTransactionStatuses_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionStreamAPI_SubscribeTransactionStatuses_Call) RunAndReturn(run func(ctx context.Context, txID flow.Identifier, requiredEventEncodingVersion entities.EventEncodingVersion) subscription.Subscription) *TransactionStreamAPI_SubscribeTransactionStatuses_Call
type TransactionsAPI ¶ added in v0.43.2
TransactionsAPI is an autogenerated mock type for the TransactionsAPI type
func NewTransactionsAPI ¶ added in v0.43.2
func NewTransactionsAPI(t interface {
mock.TestingT
Cleanup(func())
}) *TransactionsAPI
NewTransactionsAPI creates a new instance of TransactionsAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TransactionsAPI) EXPECT ¶ added in v0.46.0
func (_m *TransactionsAPI) EXPECT() *TransactionsAPI_Expecter
func (*TransactionsAPI) GetScheduledTransaction ¶ added in v0.44.0
func (_mock *TransactionsAPI) GetScheduledTransaction(ctx context.Context, scheduledTxID uint64) (*flow.TransactionBody, error)
GetScheduledTransaction provides a mock function for the type TransactionsAPI
func (*TransactionsAPI) GetScheduledTransactionResult ¶ added in v0.44.0
func (_mock *TransactionsAPI) GetScheduledTransactionResult(ctx context.Context, scheduledTxID uint64, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)
GetScheduledTransactionResult provides a mock function for the type TransactionsAPI
func (*TransactionsAPI) GetSystemTransaction ¶ added in v0.43.2
func (_mock *TransactionsAPI) GetSystemTransaction(ctx context.Context, txID flow.Identifier, blockID flow.Identifier) (*flow.TransactionBody, error)
GetSystemTransaction provides a mock function for the type TransactionsAPI
func (*TransactionsAPI) GetSystemTransactionResult ¶ added in v0.43.2
func (_mock *TransactionsAPI) GetSystemTransactionResult(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)
GetSystemTransactionResult provides a mock function for the type TransactionsAPI
func (*TransactionsAPI) GetTransaction ¶ added in v0.43.2
func (_mock *TransactionsAPI) GetTransaction(ctx context.Context, id flow.Identifier) (*flow.TransactionBody, error)
GetTransaction provides a mock function for the type TransactionsAPI
func (*TransactionsAPI) GetTransactionResult ¶ added in v0.43.2
func (_mock *TransactionsAPI) GetTransactionResult(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, collectionID flow.Identifier, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)
GetTransactionResult provides a mock function for the type TransactionsAPI
func (*TransactionsAPI) GetTransactionResultByIndex ¶ added in v0.43.2
func (_mock *TransactionsAPI) GetTransactionResultByIndex(ctx context.Context, blockID flow.Identifier, index uint32, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)
GetTransactionResultByIndex provides a mock function for the type TransactionsAPI
func (*TransactionsAPI) GetTransactionResultsByBlockID ¶ added in v0.43.2
func (_mock *TransactionsAPI) GetTransactionResultsByBlockID(ctx context.Context, blockID flow.Identifier, encodingVersion entities.EventEncodingVersion) ([]*access.TransactionResult, error)
GetTransactionResultsByBlockID provides a mock function for the type TransactionsAPI
func (*TransactionsAPI) GetTransactionsByBlockID ¶ added in v0.43.2
func (_mock *TransactionsAPI) GetTransactionsByBlockID(ctx context.Context, blockID flow.Identifier) ([]*flow.TransactionBody, error)
GetTransactionsByBlockID provides a mock function for the type TransactionsAPI
func (*TransactionsAPI) SendTransaction ¶ added in v0.43.2
func (_mock *TransactionsAPI) SendTransaction(ctx context.Context, tx *flow.TransactionBody) error
SendTransaction provides a mock function for the type TransactionsAPI
type TransactionsAPI_Expecter ¶ added in v0.46.0
type TransactionsAPI_Expecter struct {
// contains filtered or unexported fields
}
func (*TransactionsAPI_Expecter) GetScheduledTransaction ¶ added in v0.46.0
func (_e *TransactionsAPI_Expecter) GetScheduledTransaction(ctx interface{}, scheduledTxID interface{}) *TransactionsAPI_GetScheduledTransaction_Call
GetScheduledTransaction is a helper method to define mock.On call
- ctx context.Context
- scheduledTxID uint64
func (*TransactionsAPI_Expecter) GetScheduledTransactionResult ¶ added in v0.46.0
func (_e *TransactionsAPI_Expecter) GetScheduledTransactionResult(ctx interface{}, scheduledTxID interface{}, encodingVersion interface{}) *TransactionsAPI_GetScheduledTransactionResult_Call
GetScheduledTransactionResult is a helper method to define mock.On call
- ctx context.Context
- scheduledTxID uint64
- encodingVersion entities.EventEncodingVersion
func (*TransactionsAPI_Expecter) GetSystemTransaction ¶ added in v0.46.0
func (_e *TransactionsAPI_Expecter) GetSystemTransaction(ctx interface{}, txID interface{}, blockID interface{}) *TransactionsAPI_GetSystemTransaction_Call
GetSystemTransaction is a helper method to define mock.On call
- ctx context.Context
- txID flow.Identifier
- blockID flow.Identifier
func (*TransactionsAPI_Expecter) GetSystemTransactionResult ¶ added in v0.46.0
func (_e *TransactionsAPI_Expecter) GetSystemTransactionResult(ctx interface{}, txID interface{}, blockID interface{}, encodingVersion interface{}) *TransactionsAPI_GetSystemTransactionResult_Call
GetSystemTransactionResult is a helper method to define mock.On call
- ctx context.Context
- txID flow.Identifier
- blockID flow.Identifier
- encodingVersion entities.EventEncodingVersion
func (*TransactionsAPI_Expecter) GetTransaction ¶ added in v0.46.0
func (_e *TransactionsAPI_Expecter) GetTransaction(ctx interface{}, id interface{}) *TransactionsAPI_GetTransaction_Call
GetTransaction is a helper method to define mock.On call
- ctx context.Context
- id flow.Identifier
func (*TransactionsAPI_Expecter) GetTransactionResult ¶ added in v0.46.0
func (_e *TransactionsAPI_Expecter) GetTransactionResult(ctx interface{}, txID interface{}, blockID interface{}, collectionID interface{}, encodingVersion interface{}) *TransactionsAPI_GetTransactionResult_Call
GetTransactionResult is a helper method to define mock.On call
- ctx context.Context
- txID flow.Identifier
- blockID flow.Identifier
- collectionID flow.Identifier
- encodingVersion entities.EventEncodingVersion
func (*TransactionsAPI_Expecter) GetTransactionResultByIndex ¶ added in v0.46.0
func (_e *TransactionsAPI_Expecter) GetTransactionResultByIndex(ctx interface{}, blockID interface{}, index interface{}, encodingVersion interface{}) *TransactionsAPI_GetTransactionResultByIndex_Call
GetTransactionResultByIndex is a helper method to define mock.On call
- ctx context.Context
- blockID flow.Identifier
- index uint32
- encodingVersion entities.EventEncodingVersion
func (*TransactionsAPI_Expecter) GetTransactionResultsByBlockID ¶ added in v0.46.0
func (_e *TransactionsAPI_Expecter) GetTransactionResultsByBlockID(ctx interface{}, blockID interface{}, encodingVersion interface{}) *TransactionsAPI_GetTransactionResultsByBlockID_Call
GetTransactionResultsByBlockID is a helper method to define mock.On call
- ctx context.Context
- blockID flow.Identifier
- encodingVersion entities.EventEncodingVersion
func (*TransactionsAPI_Expecter) GetTransactionsByBlockID ¶ added in v0.46.0
func (_e *TransactionsAPI_Expecter) GetTransactionsByBlockID(ctx interface{}, blockID interface{}) *TransactionsAPI_GetTransactionsByBlockID_Call
GetTransactionsByBlockID is a helper method to define mock.On call
- ctx context.Context
- blockID flow.Identifier
func (*TransactionsAPI_Expecter) SendTransaction ¶ added in v0.46.0
func (_e *TransactionsAPI_Expecter) SendTransaction(ctx interface{}, tx interface{}) *TransactionsAPI_SendTransaction_Call
SendTransaction is a helper method to define mock.On call
- ctx context.Context
- tx *flow.TransactionBody
type TransactionsAPI_GetScheduledTransactionResult_Call ¶ added in v0.46.0
TransactionsAPI_GetScheduledTransactionResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScheduledTransactionResult'
func (*TransactionsAPI_GetScheduledTransactionResult_Call) Return ¶ added in v0.46.0
func (_c *TransactionsAPI_GetScheduledTransactionResult_Call) Return(transactionResult *access.TransactionResult, err error) *TransactionsAPI_GetScheduledTransactionResult_Call
func (*TransactionsAPI_GetScheduledTransactionResult_Call) Run ¶ added in v0.46.0
func (_c *TransactionsAPI_GetScheduledTransactionResult_Call) Run(run func(ctx context.Context, scheduledTxID uint64, encodingVersion entities.EventEncodingVersion)) *TransactionsAPI_GetScheduledTransactionResult_Call
func (*TransactionsAPI_GetScheduledTransactionResult_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionsAPI_GetScheduledTransactionResult_Call) RunAndReturn(run func(ctx context.Context, scheduledTxID uint64, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)) *TransactionsAPI_GetScheduledTransactionResult_Call
type TransactionsAPI_GetScheduledTransaction_Call ¶ added in v0.46.0
TransactionsAPI_GetScheduledTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScheduledTransaction'
func (*TransactionsAPI_GetScheduledTransaction_Call) Return ¶ added in v0.46.0
func (_c *TransactionsAPI_GetScheduledTransaction_Call) Return(transactionBody *flow.TransactionBody, err error) *TransactionsAPI_GetScheduledTransaction_Call
func (*TransactionsAPI_GetScheduledTransaction_Call) Run ¶ added in v0.46.0
func (_c *TransactionsAPI_GetScheduledTransaction_Call) Run(run func(ctx context.Context, scheduledTxID uint64)) *TransactionsAPI_GetScheduledTransaction_Call
func (*TransactionsAPI_GetScheduledTransaction_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionsAPI_GetScheduledTransaction_Call) RunAndReturn(run func(ctx context.Context, scheduledTxID uint64) (*flow.TransactionBody, error)) *TransactionsAPI_GetScheduledTransaction_Call
type TransactionsAPI_GetSystemTransactionResult_Call ¶ added in v0.46.0
TransactionsAPI_GetSystemTransactionResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSystemTransactionResult'
func (*TransactionsAPI_GetSystemTransactionResult_Call) Return ¶ added in v0.46.0
func (_c *TransactionsAPI_GetSystemTransactionResult_Call) Return(transactionResult *access.TransactionResult, err error) *TransactionsAPI_GetSystemTransactionResult_Call
func (*TransactionsAPI_GetSystemTransactionResult_Call) Run ¶ added in v0.46.0
func (_c *TransactionsAPI_GetSystemTransactionResult_Call) Run(run func(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, encodingVersion entities.EventEncodingVersion)) *TransactionsAPI_GetSystemTransactionResult_Call
func (*TransactionsAPI_GetSystemTransactionResult_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionsAPI_GetSystemTransactionResult_Call) RunAndReturn(run func(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)) *TransactionsAPI_GetSystemTransactionResult_Call
type TransactionsAPI_GetSystemTransaction_Call ¶ added in v0.46.0
TransactionsAPI_GetSystemTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSystemTransaction'
func (*TransactionsAPI_GetSystemTransaction_Call) Return ¶ added in v0.46.0
func (_c *TransactionsAPI_GetSystemTransaction_Call) Return(transactionBody *flow.TransactionBody, err error) *TransactionsAPI_GetSystemTransaction_Call
func (*TransactionsAPI_GetSystemTransaction_Call) Run ¶ added in v0.46.0
func (_c *TransactionsAPI_GetSystemTransaction_Call) Run(run func(ctx context.Context, txID flow.Identifier, blockID flow.Identifier)) *TransactionsAPI_GetSystemTransaction_Call
func (*TransactionsAPI_GetSystemTransaction_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionsAPI_GetSystemTransaction_Call) RunAndReturn(run func(ctx context.Context, txID flow.Identifier, blockID flow.Identifier) (*flow.TransactionBody, error)) *TransactionsAPI_GetSystemTransaction_Call
type TransactionsAPI_GetTransactionResultByIndex_Call ¶ added in v0.46.0
TransactionsAPI_GetTransactionResultByIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionResultByIndex'
func (*TransactionsAPI_GetTransactionResultByIndex_Call) Return ¶ added in v0.46.0
func (_c *TransactionsAPI_GetTransactionResultByIndex_Call) Return(transactionResult *access.TransactionResult, err error) *TransactionsAPI_GetTransactionResultByIndex_Call
func (*TransactionsAPI_GetTransactionResultByIndex_Call) Run ¶ added in v0.46.0
func (_c *TransactionsAPI_GetTransactionResultByIndex_Call) Run(run func(ctx context.Context, blockID flow.Identifier, index uint32, encodingVersion entities.EventEncodingVersion)) *TransactionsAPI_GetTransactionResultByIndex_Call
func (*TransactionsAPI_GetTransactionResultByIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionsAPI_GetTransactionResultByIndex_Call) RunAndReturn(run func(ctx context.Context, blockID flow.Identifier, index uint32, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)) *TransactionsAPI_GetTransactionResultByIndex_Call
type TransactionsAPI_GetTransactionResult_Call ¶ added in v0.46.0
TransactionsAPI_GetTransactionResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionResult'
func (*TransactionsAPI_GetTransactionResult_Call) Return ¶ added in v0.46.0
func (_c *TransactionsAPI_GetTransactionResult_Call) Return(transactionResult *access.TransactionResult, err error) *TransactionsAPI_GetTransactionResult_Call
func (*TransactionsAPI_GetTransactionResult_Call) Run ¶ added in v0.46.0
func (_c *TransactionsAPI_GetTransactionResult_Call) Run(run func(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, collectionID flow.Identifier, encodingVersion entities.EventEncodingVersion)) *TransactionsAPI_GetTransactionResult_Call
func (*TransactionsAPI_GetTransactionResult_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionsAPI_GetTransactionResult_Call) RunAndReturn(run func(ctx context.Context, txID flow.Identifier, blockID flow.Identifier, collectionID flow.Identifier, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)) *TransactionsAPI_GetTransactionResult_Call
type TransactionsAPI_GetTransactionResultsByBlockID_Call ¶ added in v0.46.0
TransactionsAPI_GetTransactionResultsByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionResultsByBlockID'
func (*TransactionsAPI_GetTransactionResultsByBlockID_Call) Return ¶ added in v0.46.0
func (_c *TransactionsAPI_GetTransactionResultsByBlockID_Call) Return(transactionResults []*access.TransactionResult, err error) *TransactionsAPI_GetTransactionResultsByBlockID_Call
func (*TransactionsAPI_GetTransactionResultsByBlockID_Call) Run ¶ added in v0.46.0
func (_c *TransactionsAPI_GetTransactionResultsByBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier, encodingVersion entities.EventEncodingVersion)) *TransactionsAPI_GetTransactionResultsByBlockID_Call
func (*TransactionsAPI_GetTransactionResultsByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionsAPI_GetTransactionResultsByBlockID_Call) RunAndReturn(run func(ctx context.Context, blockID flow.Identifier, encodingVersion entities.EventEncodingVersion) ([]*access.TransactionResult, error)) *TransactionsAPI_GetTransactionResultsByBlockID_Call
type TransactionsAPI_GetTransaction_Call ¶ added in v0.46.0
TransactionsAPI_GetTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransaction'
func (*TransactionsAPI_GetTransaction_Call) Return ¶ added in v0.46.0
func (_c *TransactionsAPI_GetTransaction_Call) Return(transactionBody *flow.TransactionBody, err error) *TransactionsAPI_GetTransaction_Call
func (*TransactionsAPI_GetTransaction_Call) Run ¶ added in v0.46.0
func (_c *TransactionsAPI_GetTransaction_Call) Run(run func(ctx context.Context, id flow.Identifier)) *TransactionsAPI_GetTransaction_Call
func (*TransactionsAPI_GetTransaction_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionsAPI_GetTransaction_Call) RunAndReturn(run func(ctx context.Context, id flow.Identifier) (*flow.TransactionBody, error)) *TransactionsAPI_GetTransaction_Call
type TransactionsAPI_GetTransactionsByBlockID_Call ¶ added in v0.46.0
TransactionsAPI_GetTransactionsByBlockID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionsByBlockID'
func (*TransactionsAPI_GetTransactionsByBlockID_Call) Return ¶ added in v0.46.0
func (_c *TransactionsAPI_GetTransactionsByBlockID_Call) Return(transactionBodys []*flow.TransactionBody, err error) *TransactionsAPI_GetTransactionsByBlockID_Call
func (*TransactionsAPI_GetTransactionsByBlockID_Call) Run ¶ added in v0.46.0
func (_c *TransactionsAPI_GetTransactionsByBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier)) *TransactionsAPI_GetTransactionsByBlockID_Call
func (*TransactionsAPI_GetTransactionsByBlockID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionsAPI_GetTransactionsByBlockID_Call) RunAndReturn(run func(ctx context.Context, blockID flow.Identifier) ([]*flow.TransactionBody, error)) *TransactionsAPI_GetTransactionsByBlockID_Call
type TransactionsAPI_SendTransaction_Call ¶ added in v0.46.0
TransactionsAPI_SendTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendTransaction'
func (*TransactionsAPI_SendTransaction_Call) Return ¶ added in v0.46.0
func (_c *TransactionsAPI_SendTransaction_Call) Return(err error) *TransactionsAPI_SendTransaction_Call
func (*TransactionsAPI_SendTransaction_Call) Run ¶ added in v0.46.0
func (_c *TransactionsAPI_SendTransaction_Call) Run(run func(ctx context.Context, tx *flow.TransactionBody)) *TransactionsAPI_SendTransaction_Call
func (*TransactionsAPI_SendTransaction_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionsAPI_SendTransaction_Call) RunAndReturn(run func(ctx context.Context, tx *flow.TransactionBody) error) *TransactionsAPI_SendTransaction_Call