mock

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: AGPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	mock.Mock
}

API is an autogenerated mock type for the API type

func NewAPI added in v0.26.1

func NewAPI(t interface {
	mock.TestingT
	Cleanup(func())
}) *API

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

func (_mock *API) GetAccount(ctx context.Context, address flow.Address) (*flow.Account, error)

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

func (_mock *API) GetLatestProtocolStateSnapshot(ctx context.Context) ([]byte, error)

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

func (_mock *API) GetNodeVersionInfo(ctx context.Context) (*access.NodeVersionInfo, error)

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) Ping

func (_mock *API) Ping(ctx context.Context) error

Ping 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

func (_mock *API) SendTransaction(ctx context.Context, tx *flow.TransactionBody) error

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

type API_ExecuteScriptAtBlockHeight_Call struct {
	*mock.Call
}

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 (*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

type API_ExecuteScriptAtBlockID_Call struct {
	*mock.Call
}

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 (*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

type API_ExecuteScriptAtLatestBlock_Call struct {
	*mock.Call
}

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 (*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

type API_GetAccountAtBlockHeight_Call struct {
	*mock.Call
}

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 (*API_GetAccountAtBlockHeight_Call) Run added in v0.46.0

func (*API_GetAccountAtBlockHeight_Call) RunAndReturn added in v0.46.0

type API_GetAccountAtLatestBlock_Call added in v0.46.0

type API_GetAccountAtLatestBlock_Call struct {
	*mock.Call
}

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 (*API_GetAccountAtLatestBlock_Call) Run added in v0.46.0

func (*API_GetAccountAtLatestBlock_Call) RunAndReturn added in v0.46.0

type API_GetAccountBalanceAtBlockHeight_Call added in v0.46.0

type API_GetAccountBalanceAtBlockHeight_Call struct {
	*mock.Call
}

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 (*API_GetAccountBalanceAtBlockHeight_Call) Run added in v0.46.0

func (*API_GetAccountBalanceAtBlockHeight_Call) RunAndReturn added in v0.46.0

type API_GetAccountBalanceAtLatestBlock_Call added in v0.46.0

type API_GetAccountBalanceAtLatestBlock_Call struct {
	*mock.Call
}

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 (*API_GetAccountBalanceAtLatestBlock_Call) Run added in v0.46.0

func (*API_GetAccountBalanceAtLatestBlock_Call) RunAndReturn added in v0.46.0

type API_GetAccountKeyAtBlockHeight_Call added in v0.46.0

type API_GetAccountKeyAtBlockHeight_Call struct {
	*mock.Call
}

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 (*API_GetAccountKeyAtBlockHeight_Call) Run added in v0.46.0

func (*API_GetAccountKeyAtBlockHeight_Call) RunAndReturn added in v0.46.0

type API_GetAccountKeyAtLatestBlock_Call added in v0.46.0

type API_GetAccountKeyAtLatestBlock_Call struct {
	*mock.Call
}

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 (*API_GetAccountKeyAtLatestBlock_Call) Run added in v0.46.0

func (*API_GetAccountKeyAtLatestBlock_Call) RunAndReturn added in v0.46.0

type API_GetAccountKeysAtBlockHeight_Call added in v0.46.0

type API_GetAccountKeysAtBlockHeight_Call struct {
	*mock.Call
}

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 (*API_GetAccountKeysAtBlockHeight_Call) Run added in v0.46.0

func (*API_GetAccountKeysAtBlockHeight_Call) RunAndReturn added in v0.46.0

type API_GetAccountKeysAtLatestBlock_Call added in v0.46.0

type API_GetAccountKeysAtLatestBlock_Call struct {
	*mock.Call
}

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 (*API_GetAccountKeysAtLatestBlock_Call) Run added in v0.46.0

func (*API_GetAccountKeysAtLatestBlock_Call) RunAndReturn added in v0.46.0

type API_GetAccount_Call added in v0.46.0

type API_GetAccount_Call struct {
	*mock.Call
}

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

type API_GetBlockByHeight_Call struct {
	*mock.Call
}

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 (*API_GetBlockByHeight_Call) Run added in v0.46.0

func (*API_GetBlockByHeight_Call) RunAndReturn added in v0.46.0

type API_GetBlockByID_Call added in v0.46.0

type API_GetBlockByID_Call struct {
	*mock.Call
}

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 (*API_GetBlockByID_Call) RunAndReturn added in v0.46.0

type API_GetBlockHeaderByHeight_Call added in v0.46.0

type API_GetBlockHeaderByHeight_Call struct {
	*mock.Call
}

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 (*API_GetBlockHeaderByHeight_Call) Run added in v0.46.0

func (*API_GetBlockHeaderByHeight_Call) RunAndReturn added in v0.46.0

type API_GetBlockHeaderByID_Call added in v0.46.0

type API_GetBlockHeaderByID_Call struct {
	*mock.Call
}

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 (*API_GetBlockHeaderByID_Call) Run added in v0.46.0

func (*API_GetBlockHeaderByID_Call) RunAndReturn added in v0.46.0

type API_GetCollectionByID_Call added in v0.46.0

type API_GetCollectionByID_Call struct {
	*mock.Call
}

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 (*API_GetCollectionByID_Call) Run added in v0.46.0

func (*API_GetCollectionByID_Call) RunAndReturn added in v0.46.0

type API_GetEventsForBlockIDs_Call added in v0.46.0

type API_GetEventsForBlockIDs_Call struct {
	*mock.Call
}

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 (*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

type API_GetEventsForHeightRange_Call struct {
	*mock.Call
}

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 (*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

type API_GetExecutionResultByID_Call struct {
	*mock.Call
}

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 (*API_GetExecutionResultByID_Call) Run added in v0.46.0

func (*API_GetExecutionResultByID_Call) RunAndReturn added in v0.46.0

type API_GetExecutionResultForBlockID_Call added in v0.46.0

type API_GetExecutionResultForBlockID_Call struct {
	*mock.Call
}

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 (*API_GetExecutionResultForBlockID_Call) Run added in v0.46.0

func (*API_GetExecutionResultForBlockID_Call) RunAndReturn added in v0.46.0

type API_GetFullCollectionByID_Call added in v0.46.0

type API_GetFullCollectionByID_Call struct {
	*mock.Call
}

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 (*API_GetFullCollectionByID_Call) Run added in v0.46.0

func (*API_GetFullCollectionByID_Call) RunAndReturn added in v0.46.0

type API_GetLatestBlockHeader_Call added in v0.46.0

type API_GetLatestBlockHeader_Call struct {
	*mock.Call
}

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 (*API_GetLatestBlockHeader_Call) Run added in v0.46.0

func (*API_GetLatestBlockHeader_Call) RunAndReturn added in v0.46.0

type API_GetLatestBlock_Call added in v0.46.0

type API_GetLatestBlock_Call struct {
	*mock.Call
}

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 (*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

type API_GetLatestProtocolStateSnapshot_Call struct {
	*mock.Call
}

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 (*API_GetLatestProtocolStateSnapshot_Call) Run added in v0.46.0

func (*API_GetLatestProtocolStateSnapshot_Call) RunAndReturn added in v0.46.0

type API_GetNetworkParameters_Call added in v0.46.0

type API_GetNetworkParameters_Call struct {
	*mock.Call
}

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 (*API_GetNetworkParameters_Call) Run added in v0.46.0

func (*API_GetNetworkParameters_Call) RunAndReturn added in v0.46.0

type API_GetNodeVersionInfo_Call added in v0.46.0

type API_GetNodeVersionInfo_Call struct {
	*mock.Call
}

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 (*API_GetNodeVersionInfo_Call) Run added in v0.46.0

func (*API_GetNodeVersionInfo_Call) RunAndReturn added in v0.46.0

type API_GetProtocolStateSnapshotByBlockID_Call added in v0.46.0

type API_GetProtocolStateSnapshotByBlockID_Call struct {
	*mock.Call
}

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 (*API_GetProtocolStateSnapshotByBlockID_Call) Run added in v0.46.0

func (*API_GetProtocolStateSnapshotByBlockID_Call) RunAndReturn added in v0.46.0

type API_GetProtocolStateSnapshotByHeight_Call added in v0.46.0

type API_GetProtocolStateSnapshotByHeight_Call struct {
	*mock.Call
}

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 (*API_GetProtocolStateSnapshotByHeight_Call) Run added in v0.46.0

func (*API_GetProtocolStateSnapshotByHeight_Call) RunAndReturn added in v0.46.0

type API_GetScheduledTransactionResult_Call added in v0.46.0

type API_GetScheduledTransactionResult_Call struct {
	*mock.Call
}

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 (*API_GetScheduledTransactionResult_Call) Run added in v0.46.0

func (*API_GetScheduledTransactionResult_Call) RunAndReturn added in v0.46.0

type API_GetScheduledTransaction_Call added in v0.46.0

type API_GetScheduledTransaction_Call struct {
	*mock.Call
}

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 (*API_GetScheduledTransaction_Call) Run added in v0.46.0

func (*API_GetScheduledTransaction_Call) RunAndReturn added in v0.46.0

type API_GetSystemTransactionResult_Call added in v0.46.0

type API_GetSystemTransactionResult_Call struct {
	*mock.Call
}

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 (*API_GetSystemTransactionResult_Call) Run added in v0.46.0

func (*API_GetSystemTransactionResult_Call) RunAndReturn added in v0.46.0

type API_GetSystemTransaction_Call added in v0.46.0

type API_GetSystemTransaction_Call struct {
	*mock.Call
}

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 (*API_GetSystemTransaction_Call) Run added in v0.46.0

func (*API_GetSystemTransaction_Call) RunAndReturn added in v0.46.0

type API_GetTransactionResultByIndex_Call added in v0.46.0

type API_GetTransactionResultByIndex_Call struct {
	*mock.Call
}

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 (*API_GetTransactionResultByIndex_Call) Run added in v0.46.0

func (*API_GetTransactionResultByIndex_Call) RunAndReturn added in v0.46.0

type API_GetTransactionResult_Call added in v0.46.0

type API_GetTransactionResult_Call struct {
	*mock.Call
}

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 (*API_GetTransactionResult_Call) Run added in v0.46.0

func (*API_GetTransactionResult_Call) RunAndReturn added in v0.46.0

type API_GetTransactionResultsByBlockID_Call added in v0.46.0

type API_GetTransactionResultsByBlockID_Call struct {
	*mock.Call
}

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 (*API_GetTransactionResultsByBlockID_Call) Run added in v0.46.0

func (*API_GetTransactionResultsByBlockID_Call) RunAndReturn added in v0.46.0

type API_GetTransaction_Call added in v0.46.0

type API_GetTransaction_Call struct {
	*mock.Call
}

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 (*API_GetTransaction_Call) RunAndReturn added in v0.46.0

type API_GetTransactionsByBlockID_Call added in v0.46.0

type API_GetTransactionsByBlockID_Call struct {
	*mock.Call
}

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 (*API_GetTransactionsByBlockID_Call) Run added in v0.46.0

func (*API_GetTransactionsByBlockID_Call) RunAndReturn added in v0.46.0

type API_Ping_Call added in v0.46.0

type API_Ping_Call struct {
	*mock.Call
}

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

type API_SendAndSubscribeTransactionStatuses_Call struct {
	*mock.Call
}

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 (*API_SendAndSubscribeTransactionStatuses_Call) Run added in v0.46.0

func (*API_SendAndSubscribeTransactionStatuses_Call) RunAndReturn added in v0.46.0

type API_SendTransaction_Call added in v0.46.0

type API_SendTransaction_Call struct {
	*mock.Call
}

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 (*API_SendTransaction_Call) Run added in v0.46.0

func (*API_SendTransaction_Call) RunAndReturn added in v0.46.0

type API_SubscribeBlockDigestsFromLatest_Call added in v0.46.0

type API_SubscribeBlockDigestsFromLatest_Call struct {
	*mock.Call
}

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 (*API_SubscribeBlockDigestsFromLatest_Call) Run added in v0.46.0

func (*API_SubscribeBlockDigestsFromLatest_Call) RunAndReturn added in v0.46.0

type API_SubscribeBlockDigestsFromStartBlockID_Call added in v0.46.0

type API_SubscribeBlockDigestsFromStartBlockID_Call struct {
	*mock.Call
}

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 (*API_SubscribeBlockDigestsFromStartBlockID_Call) Run added in v0.46.0

func (*API_SubscribeBlockDigestsFromStartBlockID_Call) RunAndReturn added in v0.46.0

type API_SubscribeBlockDigestsFromStartHeight_Call added in v0.46.0

type API_SubscribeBlockDigestsFromStartHeight_Call struct {
	*mock.Call
}

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 (*API_SubscribeBlockDigestsFromStartHeight_Call) Run added in v0.46.0

func (*API_SubscribeBlockDigestsFromStartHeight_Call) RunAndReturn added in v0.46.0

type API_SubscribeBlockHeadersFromLatest_Call added in v0.46.0

type API_SubscribeBlockHeadersFromLatest_Call struct {
	*mock.Call
}

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 (*API_SubscribeBlockHeadersFromLatest_Call) Run added in v0.46.0

func (*API_SubscribeBlockHeadersFromLatest_Call) RunAndReturn added in v0.46.0

type API_SubscribeBlockHeadersFromStartBlockID_Call added in v0.46.0

type API_SubscribeBlockHeadersFromStartBlockID_Call struct {
	*mock.Call
}

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 (*API_SubscribeBlockHeadersFromStartBlockID_Call) Run added in v0.46.0

func (*API_SubscribeBlockHeadersFromStartBlockID_Call) RunAndReturn added in v0.46.0

type API_SubscribeBlockHeadersFromStartHeight_Call added in v0.46.0

type API_SubscribeBlockHeadersFromStartHeight_Call struct {
	*mock.Call
}

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 (*API_SubscribeBlockHeadersFromStartHeight_Call) Run added in v0.46.0

func (*API_SubscribeBlockHeadersFromStartHeight_Call) RunAndReturn added in v0.46.0

type API_SubscribeBlocksFromLatest_Call added in v0.46.0

type API_SubscribeBlocksFromLatest_Call struct {
	*mock.Call
}

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 (*API_SubscribeBlocksFromLatest_Call) Run added in v0.46.0

func (*API_SubscribeBlocksFromLatest_Call) RunAndReturn added in v0.46.0

type API_SubscribeBlocksFromStartBlockID_Call added in v0.46.0

type API_SubscribeBlocksFromStartBlockID_Call struct {
	*mock.Call
}

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 (*API_SubscribeBlocksFromStartBlockID_Call) Run added in v0.46.0

func (*API_SubscribeBlocksFromStartBlockID_Call) RunAndReturn added in v0.46.0

type API_SubscribeBlocksFromStartHeight_Call added in v0.46.0

type API_SubscribeBlocksFromStartHeight_Call struct {
	*mock.Call
}

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 (*API_SubscribeBlocksFromStartHeight_Call) Run added in v0.46.0

func (*API_SubscribeBlocksFromStartHeight_Call) RunAndReturn added in v0.46.0

type API_SubscribeTransactionStatuses_Call added in v0.46.0

type API_SubscribeTransactionStatuses_Call struct {
	*mock.Call
}

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 (*API_SubscribeTransactionStatuses_Call) Run added in v0.46.0

func (*API_SubscribeTransactionStatuses_Call) RunAndReturn added in v0.46.0

type AccountsAPI added in v0.43.2

type AccountsAPI struct {
	mock.Mock
}

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

type AccountsAPI_GetAccountAtBlockHeight_Call struct {
	*mock.Call
}

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 (*AccountsAPI_GetAccountAtBlockHeight_Call) Run added in v0.46.0

func (*AccountsAPI_GetAccountAtBlockHeight_Call) RunAndReturn added in v0.46.0

type AccountsAPI_GetAccountAtLatestBlock_Call added in v0.46.0

type AccountsAPI_GetAccountAtLatestBlock_Call struct {
	*mock.Call
}

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 (*AccountsAPI_GetAccountAtLatestBlock_Call) Run added in v0.46.0

func (*AccountsAPI_GetAccountAtLatestBlock_Call) RunAndReturn added in v0.46.0

type AccountsAPI_GetAccountBalanceAtBlockHeight_Call added in v0.46.0

type AccountsAPI_GetAccountBalanceAtBlockHeight_Call struct {
	*mock.Call
}

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 (*AccountsAPI_GetAccountBalanceAtBlockHeight_Call) Run added in v0.46.0

func (*AccountsAPI_GetAccountBalanceAtBlockHeight_Call) RunAndReturn added in v0.46.0

type AccountsAPI_GetAccountBalanceAtLatestBlock_Call added in v0.46.0

type AccountsAPI_GetAccountBalanceAtLatestBlock_Call struct {
	*mock.Call
}

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 (*AccountsAPI_GetAccountBalanceAtLatestBlock_Call) Run added in v0.46.0

func (*AccountsAPI_GetAccountBalanceAtLatestBlock_Call) RunAndReturn added in v0.46.0

type AccountsAPI_GetAccountKeyAtBlockHeight_Call added in v0.46.0

type AccountsAPI_GetAccountKeyAtBlockHeight_Call struct {
	*mock.Call
}

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 (*AccountsAPI_GetAccountKeyAtBlockHeight_Call) Run added in v0.46.0

func (*AccountsAPI_GetAccountKeyAtBlockHeight_Call) RunAndReturn added in v0.46.0

type AccountsAPI_GetAccountKeyAtLatestBlock_Call added in v0.46.0

type AccountsAPI_GetAccountKeyAtLatestBlock_Call struct {
	*mock.Call
}

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 (*AccountsAPI_GetAccountKeyAtLatestBlock_Call) Run added in v0.46.0

func (*AccountsAPI_GetAccountKeyAtLatestBlock_Call) RunAndReturn added in v0.46.0

type AccountsAPI_GetAccountKeysAtBlockHeight_Call added in v0.46.0

type AccountsAPI_GetAccountKeysAtBlockHeight_Call struct {
	*mock.Call
}

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 (*AccountsAPI_GetAccountKeysAtBlockHeight_Call) Run added in v0.46.0

func (*AccountsAPI_GetAccountKeysAtBlockHeight_Call) RunAndReturn added in v0.46.0

type AccountsAPI_GetAccountKeysAtLatestBlock_Call added in v0.46.0

type AccountsAPI_GetAccountKeysAtLatestBlock_Call struct {
	*mock.Call
}

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 (*AccountsAPI_GetAccountKeysAtLatestBlock_Call) Run added in v0.46.0

func (*AccountsAPI_GetAccountKeysAtLatestBlock_Call) RunAndReturn added in v0.46.0

type AccountsAPI_GetAccount_Call added in v0.46.0

type AccountsAPI_GetAccount_Call struct {
	*mock.Call
}

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 (*AccountsAPI_GetAccount_Call) Run added in v0.46.0

func (*AccountsAPI_GetAccount_Call) RunAndReturn added in v0.46.0

type EventsAPI added in v0.43.2

type EventsAPI struct {
	mock.Mock
}

EventsAPI is an autogenerated mock type for the EventsAPI type

func NewEventsAPI added in v0.43.2

func NewEventsAPI(t interface {
	mock.TestingT
	Cleanup(func())
}) *EventsAPI

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

type EventsAPI_GetEventsForBlockIDs_Call struct {
	*mock.Call
}

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 (*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

type EventsAPI_GetEventsForHeightRange_Call struct {
	*mock.Call
}

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 (*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

type ScriptsAPI struct {
	mock.Mock
}

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

type ScriptsAPI_ExecuteScriptAtBlockHeight_Call struct {
	*mock.Call
}

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 (*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

type ScriptsAPI_ExecuteScriptAtBlockID_Call struct {
	*mock.Call
}

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 (*ScriptsAPI_ExecuteScriptAtBlockID_Call) Run added in v0.46.0

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

type ScriptsAPI_ExecuteScriptAtLatestBlock_Call struct {
	*mock.Call
}

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 (*ScriptsAPI_ExecuteScriptAtLatestBlock_Call) Run added in v0.46.0

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

type TransactionStreamAPI struct {
	mock.Mock
}

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 (*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

type TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call struct {
	*mock.Call
}

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 (*TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call) Run added in v0.46.0

func (*TransactionStreamAPI_SendAndSubscribeTransactionStatuses_Call) RunAndReturn added in v0.46.0

type TransactionStreamAPI_SubscribeTransactionStatuses_Call added in v0.46.0

type TransactionStreamAPI_SubscribeTransactionStatuses_Call struct {
	*mock.Call
}

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 (*TransactionStreamAPI_SubscribeTransactionStatuses_Call) Run added in v0.46.0

func (*TransactionStreamAPI_SubscribeTransactionStatuses_Call) RunAndReturn added in v0.46.0

type TransactionsAPI added in v0.43.2

type TransactionsAPI struct {
	mock.Mock
}

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 (*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

type TransactionsAPI_GetScheduledTransactionResult_Call struct {
	*mock.Call
}

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 (*TransactionsAPI_GetScheduledTransactionResult_Call) Run added in v0.46.0

func (*TransactionsAPI_GetScheduledTransactionResult_Call) RunAndReturn added in v0.46.0

type TransactionsAPI_GetScheduledTransaction_Call added in v0.46.0

type TransactionsAPI_GetScheduledTransaction_Call struct {
	*mock.Call
}

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 (*TransactionsAPI_GetScheduledTransaction_Call) Run added in v0.46.0

func (*TransactionsAPI_GetScheduledTransaction_Call) RunAndReturn added in v0.46.0

type TransactionsAPI_GetSystemTransactionResult_Call added in v0.46.0

type TransactionsAPI_GetSystemTransactionResult_Call struct {
	*mock.Call
}

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 (*TransactionsAPI_GetSystemTransactionResult_Call) Run added in v0.46.0

func (*TransactionsAPI_GetSystemTransactionResult_Call) RunAndReturn added in v0.46.0

type TransactionsAPI_GetSystemTransaction_Call added in v0.46.0

type TransactionsAPI_GetSystemTransaction_Call struct {
	*mock.Call
}

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 (*TransactionsAPI_GetSystemTransaction_Call) Run added in v0.46.0

func (*TransactionsAPI_GetSystemTransaction_Call) RunAndReturn added in v0.46.0

type TransactionsAPI_GetTransactionResultByIndex_Call added in v0.46.0

type TransactionsAPI_GetTransactionResultByIndex_Call struct {
	*mock.Call
}

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 (*TransactionsAPI_GetTransactionResultByIndex_Call) Run added in v0.46.0

func (*TransactionsAPI_GetTransactionResultByIndex_Call) RunAndReturn added in v0.46.0

type TransactionsAPI_GetTransactionResult_Call added in v0.46.0

type TransactionsAPI_GetTransactionResult_Call struct {
	*mock.Call
}

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 (*TransactionsAPI_GetTransactionResult_Call) Run added in v0.46.0

func (*TransactionsAPI_GetTransactionResult_Call) RunAndReturn added in v0.46.0

type TransactionsAPI_GetTransactionResultsByBlockID_Call added in v0.46.0

type TransactionsAPI_GetTransactionResultsByBlockID_Call struct {
	*mock.Call
}

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 (*TransactionsAPI_GetTransactionResultsByBlockID_Call) Run added in v0.46.0

func (*TransactionsAPI_GetTransactionResultsByBlockID_Call) RunAndReturn added in v0.46.0

type TransactionsAPI_GetTransaction_Call added in v0.46.0

type TransactionsAPI_GetTransaction_Call struct {
	*mock.Call
}

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 (*TransactionsAPI_GetTransaction_Call) Run added in v0.46.0

func (*TransactionsAPI_GetTransaction_Call) RunAndReturn added in v0.46.0

type TransactionsAPI_GetTransactionsByBlockID_Call added in v0.46.0

type TransactionsAPI_GetTransactionsByBlockID_Call struct {
	*mock.Call
}

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 (*TransactionsAPI_GetTransactionsByBlockID_Call) Run added in v0.46.0

func (*TransactionsAPI_GetTransactionsByBlockID_Call) RunAndReturn added in v0.46.0

type TransactionsAPI_SendTransaction_Call added in v0.46.0

type TransactionsAPI_SendTransaction_Call struct {
	*mock.Call
}

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 (*TransactionsAPI_SendTransaction_Call) Run added in v0.46.0

func (*TransactionsAPI_SendTransaction_Call) RunAndReturn added in v0.46.0

Jump to

Keyboard shortcuts

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