Documentation
¶
Index ¶
- type API
- func (_m *API) EXPECT() *API_Expecter
- func (_mock *API) GetAccountFungibleTokenTransfers(ctx context.Context, address flow.Address, limit uint32, ...) (*access.FungibleTokenTransfersPage, error)
- func (_mock *API) GetAccountNonFungibleTokenTransfers(ctx context.Context, address flow.Address, limit uint32, ...) (*access.NonFungibleTokenTransfersPage, error)
- func (_mock *API) GetAccountTransactions(ctx context.Context, address flow.Address, limit uint32, ...) (*access.AccountTransactionsPage, error)
- func (_mock *API) GetContract(ctx context.Context, id string, filter extended.ContractDeploymentFilter, ...) (*access.ContractDeployment, error)
- func (_mock *API) GetContractDeployments(ctx context.Context, id string, limit uint32, ...) (*access.ContractDeploymentPage, error)
- func (_mock *API) GetContracts(ctx context.Context, limit uint32, cursor *access.ContractDeploymentsCursor, ...) (*access.ContractDeploymentPage, error)
- func (_mock *API) GetContractsByAddress(ctx context.Context, address flow.Address, limit uint32, ...) (*access.ContractDeploymentPage, error)
- func (_mock *API) GetScheduledTransaction(ctx context.Context, id uint64, ...) (*access.ScheduledTransaction, error)
- func (_mock *API) GetScheduledTransactions(ctx context.Context, limit uint32, cursor *access.ScheduledTransactionCursor, ...) (*access.ScheduledTransactionsPage, error)
- func (_mock *API) GetScheduledTransactionsByAddress(ctx context.Context, address flow.Address, limit uint32, ...) (*access.ScheduledTransactionsPage, error)
- type API_Expecter
- func (_e *API_Expecter) GetAccountFungibleTokenTransfers(ctx interface{}, address interface{}, limit interface{}, cursor interface{}, ...) *API_GetAccountFungibleTokenTransfers_Call
- func (_e *API_Expecter) GetAccountNonFungibleTokenTransfers(ctx interface{}, address interface{}, limit interface{}, cursor interface{}, ...) *API_GetAccountNonFungibleTokenTransfers_Call
- func (_e *API_Expecter) GetAccountTransactions(ctx interface{}, address interface{}, limit interface{}, cursor interface{}, ...) *API_GetAccountTransactions_Call
- func (_e *API_Expecter) GetContract(ctx interface{}, id interface{}, filter interface{}, expandOptions interface{}, ...) *API_GetContract_Call
- func (_e *API_Expecter) GetContractDeployments(ctx interface{}, id interface{}, limit interface{}, cursor interface{}, ...) *API_GetContractDeployments_Call
- func (_e *API_Expecter) GetContracts(ctx interface{}, limit interface{}, cursor interface{}, filter interface{}, ...) *API_GetContracts_Call
- func (_e *API_Expecter) GetContractsByAddress(ctx interface{}, address interface{}, limit interface{}, cursor interface{}, ...) *API_GetContractsByAddress_Call
- func (_e *API_Expecter) GetScheduledTransaction(ctx interface{}, id interface{}, expandOptions interface{}, ...) *API_GetScheduledTransaction_Call
- func (_e *API_Expecter) GetScheduledTransactions(ctx interface{}, limit interface{}, cursor interface{}, filter interface{}, ...) *API_GetScheduledTransactions_Call
- func (_e *API_Expecter) GetScheduledTransactionsByAddress(ctx interface{}, address interface{}, limit interface{}, cursor interface{}, ...) *API_GetScheduledTransactionsByAddress_Call
- type API_GetAccountFungibleTokenTransfers_Call
- func (_c *API_GetAccountFungibleTokenTransfers_Call) Return(fungibleTokenTransfersPage *access.FungibleTokenTransfersPage, err error) *API_GetAccountFungibleTokenTransfers_Call
- func (_c *API_GetAccountFungibleTokenTransfers_Call) Run(run func(ctx context.Context, address flow.Address, limit uint32, ...)) *API_GetAccountFungibleTokenTransfers_Call
- func (_c *API_GetAccountFungibleTokenTransfers_Call) RunAndReturn(...) *API_GetAccountFungibleTokenTransfers_Call
- type API_GetAccountNonFungibleTokenTransfers_Call
- func (_c *API_GetAccountNonFungibleTokenTransfers_Call) Return(nonFungibleTokenTransfersPage *access.NonFungibleTokenTransfersPage, err error) *API_GetAccountNonFungibleTokenTransfers_Call
- func (_c *API_GetAccountNonFungibleTokenTransfers_Call) Run(run func(ctx context.Context, address flow.Address, limit uint32, ...)) *API_GetAccountNonFungibleTokenTransfers_Call
- func (_c *API_GetAccountNonFungibleTokenTransfers_Call) RunAndReturn(...) *API_GetAccountNonFungibleTokenTransfers_Call
- type API_GetAccountTransactions_Call
- func (_c *API_GetAccountTransactions_Call) Return(accountTransactionsPage *access.AccountTransactionsPage, err error) *API_GetAccountTransactions_Call
- func (_c *API_GetAccountTransactions_Call) Run(run func(ctx context.Context, address flow.Address, limit uint32, ...)) *API_GetAccountTransactions_Call
- func (_c *API_GetAccountTransactions_Call) RunAndReturn(...) *API_GetAccountTransactions_Call
- type API_GetContractDeployments_Call
- func (_c *API_GetContractDeployments_Call) Return(contractDeploymentPage *access.ContractDeploymentPage, err error) *API_GetContractDeployments_Call
- func (_c *API_GetContractDeployments_Call) Run(run func(ctx context.Context, id string, limit uint32, ...)) *API_GetContractDeployments_Call
- func (_c *API_GetContractDeployments_Call) RunAndReturn(...) *API_GetContractDeployments_Call
- type API_GetContract_Call
- type API_GetContractsByAddress_Call
- func (_c *API_GetContractsByAddress_Call) Return(contractDeploymentPage *access.ContractDeploymentPage, err error) *API_GetContractsByAddress_Call
- func (_c *API_GetContractsByAddress_Call) Run(run func(ctx context.Context, address flow.Address, limit uint32, ...)) *API_GetContractsByAddress_Call
- func (_c *API_GetContractsByAddress_Call) RunAndReturn(...) *API_GetContractsByAddress_Call
- type API_GetContracts_Call
- type API_GetScheduledTransaction_Call
- func (_c *API_GetScheduledTransaction_Call) Return(scheduledTransaction *access.ScheduledTransaction, err error) *API_GetScheduledTransaction_Call
- func (_c *API_GetScheduledTransaction_Call) Run(run func(ctx context.Context, id uint64, ...)) *API_GetScheduledTransaction_Call
- func (_c *API_GetScheduledTransaction_Call) RunAndReturn(...) *API_GetScheduledTransaction_Call
- type API_GetScheduledTransactionsByAddress_Call
- func (_c *API_GetScheduledTransactionsByAddress_Call) Return(scheduledTransactionsPage *access.ScheduledTransactionsPage, err error) *API_GetScheduledTransactionsByAddress_Call
- func (_c *API_GetScheduledTransactionsByAddress_Call) Run(run func(ctx context.Context, address flow.Address, limit uint32, ...)) *API_GetScheduledTransactionsByAddress_Call
- func (_c *API_GetScheduledTransactionsByAddress_Call) RunAndReturn(...) *API_GetScheduledTransactionsByAddress_Call
- type API_GetScheduledTransactions_Call
- func (_c *API_GetScheduledTransactions_Call) Return(scheduledTransactionsPage *access.ScheduledTransactionsPage, err error) *API_GetScheduledTransactions_Call
- func (_c *API_GetScheduledTransactions_Call) Run(...) *API_GetScheduledTransactions_Call
- func (_c *API_GetScheduledTransactions_Call) RunAndReturn(...) *API_GetScheduledTransactions_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API is an autogenerated mock type for the API type
func NewAPI ¶
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 ¶
func (_m *API) EXPECT() *API_Expecter
func (*API) GetAccountFungibleTokenTransfers ¶
func (_mock *API) GetAccountFungibleTokenTransfers(ctx context.Context, address flow.Address, limit uint32, cursor *access.TransferCursor, filter extended.AccountTransferFilter, expandOptions extended.AccountTransferExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.FungibleTokenTransfersPage, error)
GetAccountFungibleTokenTransfers provides a mock function for the type API
func (*API) GetAccountNonFungibleTokenTransfers ¶
func (_mock *API) GetAccountNonFungibleTokenTransfers(ctx context.Context, address flow.Address, limit uint32, cursor *access.TransferCursor, filter extended.AccountTransferFilter, expandOptions extended.AccountTransferExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.NonFungibleTokenTransfersPage, error)
GetAccountNonFungibleTokenTransfers provides a mock function for the type API
func (*API) GetAccountTransactions ¶
func (_mock *API) GetAccountTransactions(ctx context.Context, address flow.Address, limit uint32, cursor *access.AccountTransactionCursor, filter extended.AccountTransactionFilter, expandOptions extended.AccountTransactionExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.AccountTransactionsPage, error)
GetAccountTransactions provides a mock function for the type API
func (*API) GetContract ¶
func (_mock *API) GetContract(ctx context.Context, id string, filter extended.ContractDeploymentFilter, expandOptions extended.ContractDeploymentExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.ContractDeployment, error)
GetContract provides a mock function for the type API
func (*API) GetContractDeployments ¶
func (_mock *API) GetContractDeployments(ctx context.Context, id string, limit uint32, cursor *access.ContractDeploymentsCursor, filter extended.ContractDeploymentFilter, expandOptions extended.ContractDeploymentExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.ContractDeploymentPage, error)
GetContractDeployments provides a mock function for the type API
func (*API) GetContracts ¶
func (_mock *API) GetContracts(ctx context.Context, limit uint32, cursor *access.ContractDeploymentsCursor, filter extended.ContractDeploymentFilter, expandOptions extended.ContractDeploymentExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.ContractDeploymentPage, error)
GetContracts provides a mock function for the type API
func (*API) GetContractsByAddress ¶
func (_mock *API) GetContractsByAddress(ctx context.Context, address flow.Address, limit uint32, cursor *access.ContractDeploymentsCursor, filter extended.ContractDeploymentFilter, expandOptions extended.ContractDeploymentExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.ContractDeploymentPage, error)
GetContractsByAddress provides a mock function for the type API
func (*API) GetScheduledTransaction ¶
func (_mock *API) GetScheduledTransaction(ctx context.Context, id uint64, expandOptions extended.ScheduledTransactionExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.ScheduledTransaction, error)
GetScheduledTransaction provides a mock function for the type API
func (*API) GetScheduledTransactions ¶
func (_mock *API) GetScheduledTransactions(ctx context.Context, limit uint32, cursor *access.ScheduledTransactionCursor, filter extended.ScheduledTransactionFilter, expandOptions extended.ScheduledTransactionExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.ScheduledTransactionsPage, error)
GetScheduledTransactions provides a mock function for the type API
func (*API) GetScheduledTransactionsByAddress ¶
func (_mock *API) GetScheduledTransactionsByAddress(ctx context.Context, address flow.Address, limit uint32, cursor *access.ScheduledTransactionCursor, filter extended.ScheduledTransactionFilter, expandOptions extended.ScheduledTransactionExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.ScheduledTransactionsPage, error)
GetScheduledTransactionsByAddress provides a mock function for the type API
type API_Expecter ¶
type API_Expecter struct {
// contains filtered or unexported fields
}
func (*API_Expecter) GetAccountFungibleTokenTransfers ¶
func (_e *API_Expecter) GetAccountFungibleTokenTransfers(ctx interface{}, address interface{}, limit interface{}, cursor interface{}, filter interface{}, expandOptions interface{}, encodingVersion interface{}) *API_GetAccountFungibleTokenTransfers_Call
GetAccountFungibleTokenTransfers is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
- limit uint32
- cursor *access.TransferCursor
- filter extended.AccountTransferFilter
- expandOptions extended.AccountTransferExpandOptions
- encodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetAccountNonFungibleTokenTransfers ¶
func (_e *API_Expecter) GetAccountNonFungibleTokenTransfers(ctx interface{}, address interface{}, limit interface{}, cursor interface{}, filter interface{}, expandOptions interface{}, encodingVersion interface{}) *API_GetAccountNonFungibleTokenTransfers_Call
GetAccountNonFungibleTokenTransfers is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
- limit uint32
- cursor *access.TransferCursor
- filter extended.AccountTransferFilter
- expandOptions extended.AccountTransferExpandOptions
- encodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetAccountTransactions ¶
func (_e *API_Expecter) GetAccountTransactions(ctx interface{}, address interface{}, limit interface{}, cursor interface{}, filter interface{}, expandOptions interface{}, encodingVersion interface{}) *API_GetAccountTransactions_Call
GetAccountTransactions is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
- limit uint32
- cursor *access.AccountTransactionCursor
- filter extended.AccountTransactionFilter
- expandOptions extended.AccountTransactionExpandOptions
- encodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetContract ¶
func (_e *API_Expecter) GetContract(ctx interface{}, id interface{}, filter interface{}, expandOptions interface{}, encodingVersion interface{}) *API_GetContract_Call
GetContract is a helper method to define mock.On call
- ctx context.Context
- id string
- filter extended.ContractDeploymentFilter
- expandOptions extended.ContractDeploymentExpandOptions
- encodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetContractDeployments ¶
func (_e *API_Expecter) GetContractDeployments(ctx interface{}, id interface{}, limit interface{}, cursor interface{}, filter interface{}, expandOptions interface{}, encodingVersion interface{}) *API_GetContractDeployments_Call
GetContractDeployments is a helper method to define mock.On call
- ctx context.Context
- id string
- limit uint32
- cursor *access.ContractDeploymentsCursor
- filter extended.ContractDeploymentFilter
- expandOptions extended.ContractDeploymentExpandOptions
- encodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetContracts ¶
func (_e *API_Expecter) GetContracts(ctx interface{}, limit interface{}, cursor interface{}, filter interface{}, expandOptions interface{}, encodingVersion interface{}) *API_GetContracts_Call
GetContracts is a helper method to define mock.On call
- ctx context.Context
- limit uint32
- cursor *access.ContractDeploymentsCursor
- filter extended.ContractDeploymentFilter
- expandOptions extended.ContractDeploymentExpandOptions
- encodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetContractsByAddress ¶
func (_e *API_Expecter) GetContractsByAddress(ctx interface{}, address interface{}, limit interface{}, cursor interface{}, filter interface{}, expandOptions interface{}, encodingVersion interface{}) *API_GetContractsByAddress_Call
GetContractsByAddress is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
- limit uint32
- cursor *access.ContractDeploymentsCursor
- filter extended.ContractDeploymentFilter
- expandOptions extended.ContractDeploymentExpandOptions
- encodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetScheduledTransaction ¶
func (_e *API_Expecter) GetScheduledTransaction(ctx interface{}, id interface{}, expandOptions interface{}, encodingVersion interface{}) *API_GetScheduledTransaction_Call
GetScheduledTransaction is a helper method to define mock.On call
- ctx context.Context
- id uint64
- expandOptions extended.ScheduledTransactionExpandOptions
- encodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetScheduledTransactions ¶
func (_e *API_Expecter) GetScheduledTransactions(ctx interface{}, limit interface{}, cursor interface{}, filter interface{}, expandOptions interface{}, encodingVersion interface{}) *API_GetScheduledTransactions_Call
GetScheduledTransactions is a helper method to define mock.On call
- ctx context.Context
- limit uint32
- cursor *access.ScheduledTransactionCursor
- filter extended.ScheduledTransactionFilter
- expandOptions extended.ScheduledTransactionExpandOptions
- encodingVersion entities.EventEncodingVersion
func (*API_Expecter) GetScheduledTransactionsByAddress ¶
func (_e *API_Expecter) GetScheduledTransactionsByAddress(ctx interface{}, address interface{}, limit interface{}, cursor interface{}, filter interface{}, expandOptions interface{}, encodingVersion interface{}) *API_GetScheduledTransactionsByAddress_Call
GetScheduledTransactionsByAddress is a helper method to define mock.On call
- ctx context.Context
- address flow.Address
- limit uint32
- cursor *access.ScheduledTransactionCursor
- filter extended.ScheduledTransactionFilter
- expandOptions extended.ScheduledTransactionExpandOptions
- encodingVersion entities.EventEncodingVersion
type API_GetAccountFungibleTokenTransfers_Call ¶
API_GetAccountFungibleTokenTransfers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountFungibleTokenTransfers'
func (*API_GetAccountFungibleTokenTransfers_Call) Return ¶
func (_c *API_GetAccountFungibleTokenTransfers_Call) Return(fungibleTokenTransfersPage *access.FungibleTokenTransfersPage, err error) *API_GetAccountFungibleTokenTransfers_Call
func (*API_GetAccountFungibleTokenTransfers_Call) Run ¶
func (_c *API_GetAccountFungibleTokenTransfers_Call) Run(run func(ctx context.Context, address flow.Address, limit uint32, cursor *access.TransferCursor, filter extended.AccountTransferFilter, expandOptions extended.AccountTransferExpandOptions, encodingVersion entities.EventEncodingVersion)) *API_GetAccountFungibleTokenTransfers_Call
func (*API_GetAccountFungibleTokenTransfers_Call) RunAndReturn ¶
func (_c *API_GetAccountFungibleTokenTransfers_Call) RunAndReturn(run func(ctx context.Context, address flow.Address, limit uint32, cursor *access.TransferCursor, filter extended.AccountTransferFilter, expandOptions extended.AccountTransferExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.FungibleTokenTransfersPage, error)) *API_GetAccountFungibleTokenTransfers_Call
type API_GetAccountNonFungibleTokenTransfers_Call ¶
API_GetAccountNonFungibleTokenTransfers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountNonFungibleTokenTransfers'
func (*API_GetAccountNonFungibleTokenTransfers_Call) Return ¶
func (_c *API_GetAccountNonFungibleTokenTransfers_Call) Return(nonFungibleTokenTransfersPage *access.NonFungibleTokenTransfersPage, err error) *API_GetAccountNonFungibleTokenTransfers_Call
func (*API_GetAccountNonFungibleTokenTransfers_Call) Run ¶
func (_c *API_GetAccountNonFungibleTokenTransfers_Call) Run(run func(ctx context.Context, address flow.Address, limit uint32, cursor *access.TransferCursor, filter extended.AccountTransferFilter, expandOptions extended.AccountTransferExpandOptions, encodingVersion entities.EventEncodingVersion)) *API_GetAccountNonFungibleTokenTransfers_Call
func (*API_GetAccountNonFungibleTokenTransfers_Call) RunAndReturn ¶
func (_c *API_GetAccountNonFungibleTokenTransfers_Call) RunAndReturn(run func(ctx context.Context, address flow.Address, limit uint32, cursor *access.TransferCursor, filter extended.AccountTransferFilter, expandOptions extended.AccountTransferExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.NonFungibleTokenTransfersPage, error)) *API_GetAccountNonFungibleTokenTransfers_Call
type API_GetAccountTransactions_Call ¶
API_GetAccountTransactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountTransactions'
func (*API_GetAccountTransactions_Call) Return ¶
func (_c *API_GetAccountTransactions_Call) Return(accountTransactionsPage *access.AccountTransactionsPage, err error) *API_GetAccountTransactions_Call
func (*API_GetAccountTransactions_Call) Run ¶
func (_c *API_GetAccountTransactions_Call) Run(run func(ctx context.Context, address flow.Address, limit uint32, cursor *access.AccountTransactionCursor, filter extended.AccountTransactionFilter, expandOptions extended.AccountTransactionExpandOptions, encodingVersion entities.EventEncodingVersion)) *API_GetAccountTransactions_Call
func (*API_GetAccountTransactions_Call) RunAndReturn ¶
func (_c *API_GetAccountTransactions_Call) RunAndReturn(run func(ctx context.Context, address flow.Address, limit uint32, cursor *access.AccountTransactionCursor, filter extended.AccountTransactionFilter, expandOptions extended.AccountTransactionExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.AccountTransactionsPage, error)) *API_GetAccountTransactions_Call
type API_GetContractDeployments_Call ¶
API_GetContractDeployments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetContractDeployments'
func (*API_GetContractDeployments_Call) Return ¶
func (_c *API_GetContractDeployments_Call) Return(contractDeploymentPage *access.ContractDeploymentPage, err error) *API_GetContractDeployments_Call
func (*API_GetContractDeployments_Call) Run ¶
func (_c *API_GetContractDeployments_Call) Run(run func(ctx context.Context, id string, limit uint32, cursor *access.ContractDeploymentsCursor, filter extended.ContractDeploymentFilter, expandOptions extended.ContractDeploymentExpandOptions, encodingVersion entities.EventEncodingVersion)) *API_GetContractDeployments_Call
func (*API_GetContractDeployments_Call) RunAndReturn ¶
func (_c *API_GetContractDeployments_Call) RunAndReturn(run func(ctx context.Context, id string, limit uint32, cursor *access.ContractDeploymentsCursor, filter extended.ContractDeploymentFilter, expandOptions extended.ContractDeploymentExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.ContractDeploymentPage, error)) *API_GetContractDeployments_Call
type API_GetContract_Call ¶
API_GetContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetContract'
func (*API_GetContract_Call) Return ¶
func (_c *API_GetContract_Call) Return(contractDeployment *access.ContractDeployment, err error) *API_GetContract_Call
func (*API_GetContract_Call) Run ¶
func (_c *API_GetContract_Call) Run(run func(ctx context.Context, id string, filter extended.ContractDeploymentFilter, expandOptions extended.ContractDeploymentExpandOptions, encodingVersion entities.EventEncodingVersion)) *API_GetContract_Call
func (*API_GetContract_Call) RunAndReturn ¶
func (_c *API_GetContract_Call) RunAndReturn(run func(ctx context.Context, id string, filter extended.ContractDeploymentFilter, expandOptions extended.ContractDeploymentExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.ContractDeployment, error)) *API_GetContract_Call
type API_GetContractsByAddress_Call ¶
API_GetContractsByAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetContractsByAddress'
func (*API_GetContractsByAddress_Call) Return ¶
func (_c *API_GetContractsByAddress_Call) Return(contractDeploymentPage *access.ContractDeploymentPage, err error) *API_GetContractsByAddress_Call
func (*API_GetContractsByAddress_Call) Run ¶
func (_c *API_GetContractsByAddress_Call) Run(run func(ctx context.Context, address flow.Address, limit uint32, cursor *access.ContractDeploymentsCursor, filter extended.ContractDeploymentFilter, expandOptions extended.ContractDeploymentExpandOptions, encodingVersion entities.EventEncodingVersion)) *API_GetContractsByAddress_Call
func (*API_GetContractsByAddress_Call) RunAndReturn ¶
func (_c *API_GetContractsByAddress_Call) RunAndReturn(run func(ctx context.Context, address flow.Address, limit uint32, cursor *access.ContractDeploymentsCursor, filter extended.ContractDeploymentFilter, expandOptions extended.ContractDeploymentExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.ContractDeploymentPage, error)) *API_GetContractsByAddress_Call
type API_GetContracts_Call ¶
API_GetContracts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetContracts'
func (*API_GetContracts_Call) Return ¶
func (_c *API_GetContracts_Call) Return(contractDeploymentPage *access.ContractDeploymentPage, err error) *API_GetContracts_Call
func (*API_GetContracts_Call) Run ¶
func (_c *API_GetContracts_Call) Run(run func(ctx context.Context, limit uint32, cursor *access.ContractDeploymentsCursor, filter extended.ContractDeploymentFilter, expandOptions extended.ContractDeploymentExpandOptions, encodingVersion entities.EventEncodingVersion)) *API_GetContracts_Call
func (*API_GetContracts_Call) RunAndReturn ¶
func (_c *API_GetContracts_Call) RunAndReturn(run func(ctx context.Context, limit uint32, cursor *access.ContractDeploymentsCursor, filter extended.ContractDeploymentFilter, expandOptions extended.ContractDeploymentExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.ContractDeploymentPage, error)) *API_GetContracts_Call
type API_GetScheduledTransaction_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 ¶
func (_c *API_GetScheduledTransaction_Call) Return(scheduledTransaction *access.ScheduledTransaction, err error) *API_GetScheduledTransaction_Call
func (*API_GetScheduledTransaction_Call) Run ¶
func (_c *API_GetScheduledTransaction_Call) Run(run func(ctx context.Context, id uint64, expandOptions extended.ScheduledTransactionExpandOptions, encodingVersion entities.EventEncodingVersion)) *API_GetScheduledTransaction_Call
func (*API_GetScheduledTransaction_Call) RunAndReturn ¶
func (_c *API_GetScheduledTransaction_Call) RunAndReturn(run func(ctx context.Context, id uint64, expandOptions extended.ScheduledTransactionExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.ScheduledTransaction, error)) *API_GetScheduledTransaction_Call
type API_GetScheduledTransactionsByAddress_Call ¶
API_GetScheduledTransactionsByAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScheduledTransactionsByAddress'
func (*API_GetScheduledTransactionsByAddress_Call) Return ¶
func (_c *API_GetScheduledTransactionsByAddress_Call) Return(scheduledTransactionsPage *access.ScheduledTransactionsPage, err error) *API_GetScheduledTransactionsByAddress_Call
func (*API_GetScheduledTransactionsByAddress_Call) Run ¶
func (_c *API_GetScheduledTransactionsByAddress_Call) Run(run func(ctx context.Context, address flow.Address, limit uint32, cursor *access.ScheduledTransactionCursor, filter extended.ScheduledTransactionFilter, expandOptions extended.ScheduledTransactionExpandOptions, encodingVersion entities.EventEncodingVersion)) *API_GetScheduledTransactionsByAddress_Call
func (*API_GetScheduledTransactionsByAddress_Call) RunAndReturn ¶
func (_c *API_GetScheduledTransactionsByAddress_Call) RunAndReturn(run func(ctx context.Context, address flow.Address, limit uint32, cursor *access.ScheduledTransactionCursor, filter extended.ScheduledTransactionFilter, expandOptions extended.ScheduledTransactionExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.ScheduledTransactionsPage, error)) *API_GetScheduledTransactionsByAddress_Call
type API_GetScheduledTransactions_Call ¶
API_GetScheduledTransactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScheduledTransactions'
func (*API_GetScheduledTransactions_Call) Return ¶
func (_c *API_GetScheduledTransactions_Call) Return(scheduledTransactionsPage *access.ScheduledTransactionsPage, err error) *API_GetScheduledTransactions_Call
func (*API_GetScheduledTransactions_Call) Run ¶
func (_c *API_GetScheduledTransactions_Call) Run(run func(ctx context.Context, limit uint32, cursor *access.ScheduledTransactionCursor, filter extended.ScheduledTransactionFilter, expandOptions extended.ScheduledTransactionExpandOptions, encodingVersion entities.EventEncodingVersion)) *API_GetScheduledTransactions_Call
func (*API_GetScheduledTransactions_Call) RunAndReturn ¶
func (_c *API_GetScheduledTransactions_Call) RunAndReturn(run func(ctx context.Context, limit uint32, cursor *access.ScheduledTransactionCursor, filter extended.ScheduledTransactionFilter, expandOptions extended.ScheduledTransactionExpandOptions, encodingVersion entities.EventEncodingVersion) (*access.ScheduledTransactionsPage, error)) *API_GetScheduledTransactions_Call