Documentation
¶
Index ¶
- type AccountCreator
- type AccountCreator_CreateAccount_Call
- func (_c *AccountCreator_CreateAccount_Call) Return(address common.Address, err error) *AccountCreator_CreateAccount_Call
- func (_c *AccountCreator_CreateAccount_Call) Run(run func(runtimePayer common.Address)) *AccountCreator_CreateAccount_Call
- func (_c *AccountCreator_CreateAccount_Call) RunAndReturn(run func(runtimePayer common.Address) (common.Address, error)) *AccountCreator_CreateAccount_Call
- type AccountCreator_Expecter
- type AccountInfo
- func (_m *AccountInfo) EXPECT() *AccountInfo_Expecter
- func (_mock *AccountInfo) GetAccount(address flow.Address) (*flow.Account, error)
- func (_mock *AccountInfo) GetAccountAvailableBalance(runtimeAddress common.Address) (uint64, error)
- func (_mock *AccountInfo) GetAccountBalance(runtimeAddress common.Address) (uint64, error)
- func (_mock *AccountInfo) GetAccountKeyByIndex(address flow.Address, index uint32) (*flow.AccountPublicKey, error)
- func (_mock *AccountInfo) GetAccountKeys(address flow.Address) ([]flow.AccountPublicKey, error)
- func (_mock *AccountInfo) GetStorageCapacity(runtimeAddress common.Address) (uint64, error)
- func (_mock *AccountInfo) GetStorageUsed(runtimeAddress common.Address) (uint64, error)
- type AccountInfo_Expecter
- func (_e *AccountInfo_Expecter) GetAccount(address interface{}) *AccountInfo_GetAccount_Call
- func (_e *AccountInfo_Expecter) GetAccountAvailableBalance(runtimeAddress interface{}) *AccountInfo_GetAccountAvailableBalance_Call
- func (_e *AccountInfo_Expecter) GetAccountBalance(runtimeAddress interface{}) *AccountInfo_GetAccountBalance_Call
- func (_e *AccountInfo_Expecter) GetAccountKeyByIndex(address interface{}, index interface{}) *AccountInfo_GetAccountKeyByIndex_Call
- func (_e *AccountInfo_Expecter) GetAccountKeys(address interface{}) *AccountInfo_GetAccountKeys_Call
- func (_e *AccountInfo_Expecter) GetStorageCapacity(runtimeAddress interface{}) *AccountInfo_GetStorageCapacity_Call
- func (_e *AccountInfo_Expecter) GetStorageUsed(runtimeAddress interface{}) *AccountInfo_GetStorageUsed_Call
- type AccountInfo_GetAccountAvailableBalance_Call
- func (_c *AccountInfo_GetAccountAvailableBalance_Call) Return(v uint64, err error) *AccountInfo_GetAccountAvailableBalance_Call
- func (_c *AccountInfo_GetAccountAvailableBalance_Call) Run(run func(runtimeAddress common.Address)) *AccountInfo_GetAccountAvailableBalance_Call
- func (_c *AccountInfo_GetAccountAvailableBalance_Call) RunAndReturn(run func(runtimeAddress common.Address) (uint64, error)) *AccountInfo_GetAccountAvailableBalance_Call
- type AccountInfo_GetAccountBalance_Call
- func (_c *AccountInfo_GetAccountBalance_Call) Return(v uint64, err error) *AccountInfo_GetAccountBalance_Call
- func (_c *AccountInfo_GetAccountBalance_Call) Run(run func(runtimeAddress common.Address)) *AccountInfo_GetAccountBalance_Call
- func (_c *AccountInfo_GetAccountBalance_Call) RunAndReturn(run func(runtimeAddress common.Address) (uint64, error)) *AccountInfo_GetAccountBalance_Call
- type AccountInfo_GetAccountKeyByIndex_Call
- func (_c *AccountInfo_GetAccountKeyByIndex_Call) Return(accountPublicKey *flow.AccountPublicKey, err error) *AccountInfo_GetAccountKeyByIndex_Call
- func (_c *AccountInfo_GetAccountKeyByIndex_Call) Run(run func(address flow.Address, index uint32)) *AccountInfo_GetAccountKeyByIndex_Call
- func (_c *AccountInfo_GetAccountKeyByIndex_Call) RunAndReturn(run func(address flow.Address, index uint32) (*flow.AccountPublicKey, error)) *AccountInfo_GetAccountKeyByIndex_Call
- type AccountInfo_GetAccountKeys_Call
- func (_c *AccountInfo_GetAccountKeys_Call) Return(accountPublicKeys []flow.AccountPublicKey, err error) *AccountInfo_GetAccountKeys_Call
- func (_c *AccountInfo_GetAccountKeys_Call) Run(run func(address flow.Address)) *AccountInfo_GetAccountKeys_Call
- func (_c *AccountInfo_GetAccountKeys_Call) RunAndReturn(run func(address flow.Address) ([]flow.AccountPublicKey, error)) *AccountInfo_GetAccountKeys_Call
- type AccountInfo_GetAccount_Call
- func (_c *AccountInfo_GetAccount_Call) Return(account *flow.Account, err error) *AccountInfo_GetAccount_Call
- func (_c *AccountInfo_GetAccount_Call) Run(run func(address flow.Address)) *AccountInfo_GetAccount_Call
- func (_c *AccountInfo_GetAccount_Call) RunAndReturn(run func(address flow.Address) (*flow.Account, error)) *AccountInfo_GetAccount_Call
- type AccountInfo_GetStorageCapacity_Call
- func (_c *AccountInfo_GetStorageCapacity_Call) Return(v uint64, err error) *AccountInfo_GetStorageCapacity_Call
- func (_c *AccountInfo_GetStorageCapacity_Call) Run(run func(runtimeAddress common.Address)) *AccountInfo_GetStorageCapacity_Call
- func (_c *AccountInfo_GetStorageCapacity_Call) RunAndReturn(run func(runtimeAddress common.Address) (uint64, error)) *AccountInfo_GetStorageCapacity_Call
- type AccountInfo_GetStorageUsed_Call
- func (_c *AccountInfo_GetStorageUsed_Call) Return(v uint64, err error) *AccountInfo_GetStorageUsed_Call
- func (_c *AccountInfo_GetStorageUsed_Call) Run(run func(runtimeAddress common.Address)) *AccountInfo_GetStorageUsed_Call
- func (_c *AccountInfo_GetStorageUsed_Call) RunAndReturn(run func(runtimeAddress common.Address) (uint64, error)) *AccountInfo_GetStorageUsed_Call
- type AccountKeyReader
- type AccountKeyReader_AccountKeysCount_Call
- func (_c *AccountKeyReader_AccountKeysCount_Call) Return(v uint32, err error) *AccountKeyReader_AccountKeysCount_Call
- func (_c *AccountKeyReader_AccountKeysCount_Call) Run(run func(runtimeAddress common.Address)) *AccountKeyReader_AccountKeysCount_Call
- func (_c *AccountKeyReader_AccountKeysCount_Call) RunAndReturn(run func(runtimeAddress common.Address) (uint32, error)) *AccountKeyReader_AccountKeysCount_Call
- type AccountKeyReader_Expecter
- type AccountKeyReader_GetAccountKey_Call
- func (_c *AccountKeyReader_GetAccountKey_Call) Return(v *runtime.AccountKey, err error) *AccountKeyReader_GetAccountKey_Call
- func (_c *AccountKeyReader_GetAccountKey_Call) Run(run func(runtimeAddress common.Address, keyIndex uint32)) *AccountKeyReader_GetAccountKey_Call
- func (_c *AccountKeyReader_GetAccountKey_Call) RunAndReturn(...) *AccountKeyReader_GetAccountKey_Call
- type AccountKeyUpdater
- func (_mock *AccountKeyUpdater) AddAccountKey(runtimeAddress common.Address, publicKey *runtime.PublicKey, ...) (*runtime.AccountKey, error)
- func (_m *AccountKeyUpdater) EXPECT() *AccountKeyUpdater_Expecter
- func (_mock *AccountKeyUpdater) RevokeAccountKey(runtimeAddress common.Address, keyIndex uint32) (*runtime.AccountKey, error)
- type AccountKeyUpdater_AddAccountKey_Call
- func (_c *AccountKeyUpdater_AddAccountKey_Call) Return(v *runtime.AccountKey, err error) *AccountKeyUpdater_AddAccountKey_Call
- func (_c *AccountKeyUpdater_AddAccountKey_Call) Run(run func(runtimeAddress common.Address, publicKey *runtime.PublicKey, ...)) *AccountKeyUpdater_AddAccountKey_Call
- func (_c *AccountKeyUpdater_AddAccountKey_Call) RunAndReturn(...) *AccountKeyUpdater_AddAccountKey_Call
- type AccountKeyUpdater_Expecter
- func (_e *AccountKeyUpdater_Expecter) AddAccountKey(runtimeAddress interface{}, publicKey interface{}, hashAlgo interface{}, ...) *AccountKeyUpdater_AddAccountKey_Call
- func (_e *AccountKeyUpdater_Expecter) RevokeAccountKey(runtimeAddress interface{}, keyIndex interface{}) *AccountKeyUpdater_RevokeAccountKey_Call
- type AccountKeyUpdater_RevokeAccountKey_Call
- func (_c *AccountKeyUpdater_RevokeAccountKey_Call) Return(v *runtime.AccountKey, err error) *AccountKeyUpdater_RevokeAccountKey_Call
- func (_c *AccountKeyUpdater_RevokeAccountKey_Call) Run(run func(runtimeAddress common.Address, keyIndex uint32)) *AccountKeyUpdater_RevokeAccountKey_Call
- func (_c *AccountKeyUpdater_RevokeAccountKey_Call) RunAndReturn(...) *AccountKeyUpdater_RevokeAccountKey_Call
- type AccountLocalIDGenerator
- type AccountLocalIDGenerator_Expecter
- type AccountLocalIDGenerator_GenerateAccountID_Call
- func (_c *AccountLocalIDGenerator_GenerateAccountID_Call) Return(v uint64, err error) *AccountLocalIDGenerator_GenerateAccountID_Call
- func (_c *AccountLocalIDGenerator_GenerateAccountID_Call) Run(run func(address common.Address)) *AccountLocalIDGenerator_GenerateAccountID_Call
- func (_c *AccountLocalIDGenerator_GenerateAccountID_Call) RunAndReturn(run func(address common.Address) (uint64, error)) *AccountLocalIDGenerator_GenerateAccountID_Call
- type Accounts
- func (_mock *Accounts) AllocateSlabIndex(address flow.Address) (atree.SlabIndex, error)
- func (_mock *Accounts) AppendAccountPublicKey(address flow.Address, key flow.AccountPublicKey) error
- func (_mock *Accounts) ContractExists(contractName string, address flow.Address) (bool, error)
- func (_mock *Accounts) Create(publicKeys []flow.AccountPublicKey, newAddress flow.Address) error
- func (_mock *Accounts) DeleteContract(contractName string, address flow.Address) error
- func (_m *Accounts) EXPECT() *Accounts_Expecter
- func (_mock *Accounts) Exists(address flow.Address) (bool, error)
- func (_mock *Accounts) GenerateAccountLocalID(address flow.Address) (uint64, error)
- func (_mock *Accounts) Get(address flow.Address) (*flow.Account, error)
- func (_mock *Accounts) GetAccountPublicKey(address flow.Address, keyIndex uint32) (flow.AccountPublicKey, error)
- func (_mock *Accounts) GetAccountPublicKeyCount(address flow.Address) (uint32, error)
- func (_mock *Accounts) GetAccountPublicKeyRevokedStatus(address flow.Address, keyIndex uint32) (bool, error)
- func (_mock *Accounts) GetAccountPublicKeySequenceNumber(address flow.Address, keyIndex uint32) (uint64, error)
- func (_mock *Accounts) GetAccountPublicKeys(address flow.Address) ([]flow.AccountPublicKey, error)
- func (_mock *Accounts) GetContract(contractName string, address flow.Address) ([]byte, error)
- func (_mock *Accounts) GetContractNames(address flow.Address) ([]string, error)
- func (_mock *Accounts) GetRuntimeAccountPublicKey(address flow.Address, keyIndex uint32) (flow.RuntimeAccountPublicKey, error)
- func (_mock *Accounts) GetStorageUsed(address flow.Address) (uint64, error)
- func (_mock *Accounts) GetValue(id flow.RegisterID) (flow.RegisterValue, error)
- func (_mock *Accounts) IncrementAccountPublicKeySequenceNumber(address flow.Address, keyIndex uint32) error
- func (_mock *Accounts) RevokeAccountPublicKey(address flow.Address, keyIndex uint32) error
- func (_mock *Accounts) SetContract(contractName string, address flow.Address, contract []byte) error
- func (_mock *Accounts) SetValue(id flow.RegisterID, value flow.RegisterValue) error
- type Accounts_AllocateSlabIndex_Call
- func (_c *Accounts_AllocateSlabIndex_Call) Return(slabIndex atree.SlabIndex, err error) *Accounts_AllocateSlabIndex_Call
- func (_c *Accounts_AllocateSlabIndex_Call) Run(run func(address flow.Address)) *Accounts_AllocateSlabIndex_Call
- func (_c *Accounts_AllocateSlabIndex_Call) RunAndReturn(run func(address flow.Address) (atree.SlabIndex, error)) *Accounts_AllocateSlabIndex_Call
- type Accounts_AppendAccountPublicKey_Call
- func (_c *Accounts_AppendAccountPublicKey_Call) Return(err error) *Accounts_AppendAccountPublicKey_Call
- func (_c *Accounts_AppendAccountPublicKey_Call) Run(run func(address flow.Address, key flow.AccountPublicKey)) *Accounts_AppendAccountPublicKey_Call
- func (_c *Accounts_AppendAccountPublicKey_Call) RunAndReturn(run func(address flow.Address, key flow.AccountPublicKey) error) *Accounts_AppendAccountPublicKey_Call
- type Accounts_ContractExists_Call
- func (_c *Accounts_ContractExists_Call) Return(b bool, err error) *Accounts_ContractExists_Call
- func (_c *Accounts_ContractExists_Call) Run(run func(contractName string, address flow.Address)) *Accounts_ContractExists_Call
- func (_c *Accounts_ContractExists_Call) RunAndReturn(run func(contractName string, address flow.Address) (bool, error)) *Accounts_ContractExists_Call
- type Accounts_Create_Call
- func (_c *Accounts_Create_Call) Return(err error) *Accounts_Create_Call
- func (_c *Accounts_Create_Call) Run(run func(publicKeys []flow.AccountPublicKey, newAddress flow.Address)) *Accounts_Create_Call
- func (_c *Accounts_Create_Call) RunAndReturn(run func(publicKeys []flow.AccountPublicKey, newAddress flow.Address) error) *Accounts_Create_Call
- type Accounts_DeleteContract_Call
- func (_c *Accounts_DeleteContract_Call) Return(err error) *Accounts_DeleteContract_Call
- func (_c *Accounts_DeleteContract_Call) Run(run func(contractName string, address flow.Address)) *Accounts_DeleteContract_Call
- func (_c *Accounts_DeleteContract_Call) RunAndReturn(run func(contractName string, address flow.Address) error) *Accounts_DeleteContract_Call
- type Accounts_Exists_Call
- type Accounts_Expecter
- func (_e *Accounts_Expecter) AllocateSlabIndex(address interface{}) *Accounts_AllocateSlabIndex_Call
- func (_e *Accounts_Expecter) AppendAccountPublicKey(address interface{}, key interface{}) *Accounts_AppendAccountPublicKey_Call
- func (_e *Accounts_Expecter) ContractExists(contractName interface{}, address interface{}) *Accounts_ContractExists_Call
- func (_e *Accounts_Expecter) Create(publicKeys interface{}, newAddress interface{}) *Accounts_Create_Call
- func (_e *Accounts_Expecter) DeleteContract(contractName interface{}, address interface{}) *Accounts_DeleteContract_Call
- func (_e *Accounts_Expecter) Exists(address interface{}) *Accounts_Exists_Call
- func (_e *Accounts_Expecter) GenerateAccountLocalID(address interface{}) *Accounts_GenerateAccountLocalID_Call
- func (_e *Accounts_Expecter) Get(address interface{}) *Accounts_Get_Call
- func (_e *Accounts_Expecter) GetAccountPublicKey(address interface{}, keyIndex interface{}) *Accounts_GetAccountPublicKey_Call
- func (_e *Accounts_Expecter) GetAccountPublicKeyCount(address interface{}) *Accounts_GetAccountPublicKeyCount_Call
- func (_e *Accounts_Expecter) GetAccountPublicKeyRevokedStatus(address interface{}, keyIndex interface{}) *Accounts_GetAccountPublicKeyRevokedStatus_Call
- func (_e *Accounts_Expecter) GetAccountPublicKeySequenceNumber(address interface{}, keyIndex interface{}) *Accounts_GetAccountPublicKeySequenceNumber_Call
- func (_e *Accounts_Expecter) GetAccountPublicKeys(address interface{}) *Accounts_GetAccountPublicKeys_Call
- func (_e *Accounts_Expecter) GetContract(contractName interface{}, address interface{}) *Accounts_GetContract_Call
- func (_e *Accounts_Expecter) GetContractNames(address interface{}) *Accounts_GetContractNames_Call
- func (_e *Accounts_Expecter) GetRuntimeAccountPublicKey(address interface{}, keyIndex interface{}) *Accounts_GetRuntimeAccountPublicKey_Call
- func (_e *Accounts_Expecter) GetStorageUsed(address interface{}) *Accounts_GetStorageUsed_Call
- func (_e *Accounts_Expecter) GetValue(id interface{}) *Accounts_GetValue_Call
- func (_e *Accounts_Expecter) IncrementAccountPublicKeySequenceNumber(address interface{}, keyIndex interface{}) *Accounts_IncrementAccountPublicKeySequenceNumber_Call
- func (_e *Accounts_Expecter) RevokeAccountPublicKey(address interface{}, keyIndex interface{}) *Accounts_RevokeAccountPublicKey_Call
- func (_e *Accounts_Expecter) SetContract(contractName interface{}, address interface{}, contract interface{}) *Accounts_SetContract_Call
- func (_e *Accounts_Expecter) SetValue(id interface{}, value interface{}) *Accounts_SetValue_Call
- type Accounts_GenerateAccountLocalID_Call
- func (_c *Accounts_GenerateAccountLocalID_Call) Return(v uint64, err error) *Accounts_GenerateAccountLocalID_Call
- func (_c *Accounts_GenerateAccountLocalID_Call) Run(run func(address flow.Address)) *Accounts_GenerateAccountLocalID_Call
- func (_c *Accounts_GenerateAccountLocalID_Call) RunAndReturn(run func(address flow.Address) (uint64, error)) *Accounts_GenerateAccountLocalID_Call
- type Accounts_GetAccountPublicKeyCount_Call
- func (_c *Accounts_GetAccountPublicKeyCount_Call) Return(v uint32, err error) *Accounts_GetAccountPublicKeyCount_Call
- func (_c *Accounts_GetAccountPublicKeyCount_Call) Run(run func(address flow.Address)) *Accounts_GetAccountPublicKeyCount_Call
- func (_c *Accounts_GetAccountPublicKeyCount_Call) RunAndReturn(run func(address flow.Address) (uint32, error)) *Accounts_GetAccountPublicKeyCount_Call
- type Accounts_GetAccountPublicKeyRevokedStatus_Call
- func (_c *Accounts_GetAccountPublicKeyRevokedStatus_Call) Return(b bool, err error) *Accounts_GetAccountPublicKeyRevokedStatus_Call
- func (_c *Accounts_GetAccountPublicKeyRevokedStatus_Call) Run(run func(address flow.Address, keyIndex uint32)) *Accounts_GetAccountPublicKeyRevokedStatus_Call
- func (_c *Accounts_GetAccountPublicKeyRevokedStatus_Call) RunAndReturn(run func(address flow.Address, keyIndex uint32) (bool, error)) *Accounts_GetAccountPublicKeyRevokedStatus_Call
- type Accounts_GetAccountPublicKeySequenceNumber_Call
- func (_c *Accounts_GetAccountPublicKeySequenceNumber_Call) Return(v uint64, err error) *Accounts_GetAccountPublicKeySequenceNumber_Call
- func (_c *Accounts_GetAccountPublicKeySequenceNumber_Call) Run(run func(address flow.Address, keyIndex uint32)) *Accounts_GetAccountPublicKeySequenceNumber_Call
- func (_c *Accounts_GetAccountPublicKeySequenceNumber_Call) RunAndReturn(run func(address flow.Address, keyIndex uint32) (uint64, error)) *Accounts_GetAccountPublicKeySequenceNumber_Call
- type Accounts_GetAccountPublicKey_Call
- func (_c *Accounts_GetAccountPublicKey_Call) Return(accountPublicKey flow.AccountPublicKey, err error) *Accounts_GetAccountPublicKey_Call
- func (_c *Accounts_GetAccountPublicKey_Call) Run(run func(address flow.Address, keyIndex uint32)) *Accounts_GetAccountPublicKey_Call
- func (_c *Accounts_GetAccountPublicKey_Call) RunAndReturn(run func(address flow.Address, keyIndex uint32) (flow.AccountPublicKey, error)) *Accounts_GetAccountPublicKey_Call
- type Accounts_GetAccountPublicKeys_Call
- func (_c *Accounts_GetAccountPublicKeys_Call) Return(accountPublicKeys []flow.AccountPublicKey, err error) *Accounts_GetAccountPublicKeys_Call
- func (_c *Accounts_GetAccountPublicKeys_Call) Run(run func(address flow.Address)) *Accounts_GetAccountPublicKeys_Call
- func (_c *Accounts_GetAccountPublicKeys_Call) RunAndReturn(run func(address flow.Address) ([]flow.AccountPublicKey, error)) *Accounts_GetAccountPublicKeys_Call
- type Accounts_GetContractNames_Call
- func (_c *Accounts_GetContractNames_Call) Return(strings []string, err error) *Accounts_GetContractNames_Call
- func (_c *Accounts_GetContractNames_Call) Run(run func(address flow.Address)) *Accounts_GetContractNames_Call
- func (_c *Accounts_GetContractNames_Call) RunAndReturn(run func(address flow.Address) ([]string, error)) *Accounts_GetContractNames_Call
- type Accounts_GetContract_Call
- func (_c *Accounts_GetContract_Call) Return(bytes []byte, err error) *Accounts_GetContract_Call
- func (_c *Accounts_GetContract_Call) Run(run func(contractName string, address flow.Address)) *Accounts_GetContract_Call
- func (_c *Accounts_GetContract_Call) RunAndReturn(run func(contractName string, address flow.Address) ([]byte, error)) *Accounts_GetContract_Call
- type Accounts_GetRuntimeAccountPublicKey_Call
- func (_c *Accounts_GetRuntimeAccountPublicKey_Call) Return(runtimeAccountPublicKey flow.RuntimeAccountPublicKey, err error) *Accounts_GetRuntimeAccountPublicKey_Call
- func (_c *Accounts_GetRuntimeAccountPublicKey_Call) Run(run func(address flow.Address, keyIndex uint32)) *Accounts_GetRuntimeAccountPublicKey_Call
- func (_c *Accounts_GetRuntimeAccountPublicKey_Call) RunAndReturn(...) *Accounts_GetRuntimeAccountPublicKey_Call
- type Accounts_GetStorageUsed_Call
- func (_c *Accounts_GetStorageUsed_Call) Return(v uint64, err error) *Accounts_GetStorageUsed_Call
- func (_c *Accounts_GetStorageUsed_Call) Run(run func(address flow.Address)) *Accounts_GetStorageUsed_Call
- func (_c *Accounts_GetStorageUsed_Call) RunAndReturn(run func(address flow.Address) (uint64, error)) *Accounts_GetStorageUsed_Call
- type Accounts_GetValue_Call
- func (_c *Accounts_GetValue_Call) Return(v flow.RegisterValue, err error) *Accounts_GetValue_Call
- func (_c *Accounts_GetValue_Call) Run(run func(id flow.RegisterID)) *Accounts_GetValue_Call
- func (_c *Accounts_GetValue_Call) RunAndReturn(run func(id flow.RegisterID) (flow.RegisterValue, error)) *Accounts_GetValue_Call
- type Accounts_Get_Call
- type Accounts_IncrementAccountPublicKeySequenceNumber_Call
- func (_c *Accounts_IncrementAccountPublicKeySequenceNumber_Call) Return(err error) *Accounts_IncrementAccountPublicKeySequenceNumber_Call
- func (_c *Accounts_IncrementAccountPublicKeySequenceNumber_Call) Run(run func(address flow.Address, keyIndex uint32)) *Accounts_IncrementAccountPublicKeySequenceNumber_Call
- func (_c *Accounts_IncrementAccountPublicKeySequenceNumber_Call) RunAndReturn(run func(address flow.Address, keyIndex uint32) error) *Accounts_IncrementAccountPublicKeySequenceNumber_Call
- type Accounts_RevokeAccountPublicKey_Call
- func (_c *Accounts_RevokeAccountPublicKey_Call) Return(err error) *Accounts_RevokeAccountPublicKey_Call
- func (_c *Accounts_RevokeAccountPublicKey_Call) Run(run func(address flow.Address, keyIndex uint32)) *Accounts_RevokeAccountPublicKey_Call
- func (_c *Accounts_RevokeAccountPublicKey_Call) RunAndReturn(run func(address flow.Address, keyIndex uint32) error) *Accounts_RevokeAccountPublicKey_Call
- type Accounts_SetContract_Call
- func (_c *Accounts_SetContract_Call) Return(err error) *Accounts_SetContract_Call
- func (_c *Accounts_SetContract_Call) Run(run func(contractName string, address flow.Address, contract []byte)) *Accounts_SetContract_Call
- func (_c *Accounts_SetContract_Call) RunAndReturn(run func(contractName string, address flow.Address, contract []byte) error) *Accounts_SetContract_Call
- type Accounts_SetValue_Call
- func (_c *Accounts_SetValue_Call) Return(err error) *Accounts_SetValue_Call
- func (_c *Accounts_SetValue_Call) Run(run func(id flow.RegisterID, value flow.RegisterValue)) *Accounts_SetValue_Call
- func (_c *Accounts_SetValue_Call) RunAndReturn(run func(id flow.RegisterID, value flow.RegisterValue) error) *Accounts_SetValue_Call
- type AddressGenerator
- type AddressGenerator_AddressCount_Call
- func (_c *AddressGenerator_AddressCount_Call) Return(v uint64) *AddressGenerator_AddressCount_Call
- func (_c *AddressGenerator_AddressCount_Call) Run(run func()) *AddressGenerator_AddressCount_Call
- func (_c *AddressGenerator_AddressCount_Call) RunAndReturn(run func() uint64) *AddressGenerator_AddressCount_Call
- type AddressGenerator_Bytes_Call
- type AddressGenerator_CurrentAddress_Call
- func (_c *AddressGenerator_CurrentAddress_Call) Return(address flow.Address) *AddressGenerator_CurrentAddress_Call
- func (_c *AddressGenerator_CurrentAddress_Call) Run(run func()) *AddressGenerator_CurrentAddress_Call
- func (_c *AddressGenerator_CurrentAddress_Call) RunAndReturn(run func() flow.Address) *AddressGenerator_CurrentAddress_Call
- type AddressGenerator_Expecter
- func (_e *AddressGenerator_Expecter) AddressCount() *AddressGenerator_AddressCount_Call
- func (_e *AddressGenerator_Expecter) Bytes() *AddressGenerator_Bytes_Call
- func (_e *AddressGenerator_Expecter) CurrentAddress() *AddressGenerator_CurrentAddress_Call
- func (_e *AddressGenerator_Expecter) NextAddress() *AddressGenerator_NextAddress_Call
- type AddressGenerator_NextAddress_Call
- func (_c *AddressGenerator_NextAddress_Call) Return(address flow.Address, err error) *AddressGenerator_NextAddress_Call
- func (_c *AddressGenerator_NextAddress_Call) Run(run func()) *AddressGenerator_NextAddress_Call
- func (_c *AddressGenerator_NextAddress_Call) RunAndReturn(run func() (flow.Address, error)) *AddressGenerator_NextAddress_Call
- type BlockInfo
- type BlockInfo_Expecter
- type BlockInfo_GetBlockAtHeight_Call
- func (_c *BlockInfo_GetBlockAtHeight_Call) Return(v runtime.Block, b bool, err error) *BlockInfo_GetBlockAtHeight_Call
- func (_c *BlockInfo_GetBlockAtHeight_Call) Run(run func(height uint64)) *BlockInfo_GetBlockAtHeight_Call
- func (_c *BlockInfo_GetBlockAtHeight_Call) RunAndReturn(run func(height uint64) (runtime.Block, bool, error)) *BlockInfo_GetBlockAtHeight_Call
- type BlockInfo_GetCurrentBlockHeight_Call
- func (_c *BlockInfo_GetCurrentBlockHeight_Call) Return(v uint64, err error) *BlockInfo_GetCurrentBlockHeight_Call
- func (_c *BlockInfo_GetCurrentBlockHeight_Call) Run(run func()) *BlockInfo_GetCurrentBlockHeight_Call
- func (_c *BlockInfo_GetCurrentBlockHeight_Call) RunAndReturn(run func() (uint64, error)) *BlockInfo_GetCurrentBlockHeight_Call
- type Blocks
- type Blocks_ByHeightFrom_Call
- func (_c *Blocks_ByHeightFrom_Call) Return(header1 *flow.Header, err error) *Blocks_ByHeightFrom_Call
- func (_c *Blocks_ByHeightFrom_Call) Run(run func(height uint64, header *flow.Header)) *Blocks_ByHeightFrom_Call
- func (_c *Blocks_ByHeightFrom_Call) RunAndReturn(run func(height uint64, header *flow.Header) (*flow.Header, error)) *Blocks_ByHeightFrom_Call
- type Blocks_Expecter
- type BootstrapAccountCreator
- type BootstrapAccountCreator_CreateBootstrapAccount_Call
- func (_c *BootstrapAccountCreator_CreateBootstrapAccount_Call) Return(address flow.Address, err error) *BootstrapAccountCreator_CreateBootstrapAccount_Call
- func (_c *BootstrapAccountCreator_CreateBootstrapAccount_Call) Run(run func(publicKeys []flow.AccountPublicKey)) *BootstrapAccountCreator_CreateBootstrapAccount_Call
- func (_c *BootstrapAccountCreator_CreateBootstrapAccount_Call) RunAndReturn(run func(publicKeys []flow.AccountPublicKey) (flow.Address, error)) *BootstrapAccountCreator_CreateBootstrapAccount_Call
- type BootstrapAccountCreator_Expecter
- type CadenceRuntimeProvider
- func (_mock *CadenceRuntimeProvider) BorrowCadenceRuntime() environment.ReusableCadenceRuntime
- func (_m *CadenceRuntimeProvider) EXPECT() *CadenceRuntimeProvider_Expecter
- func (_mock *CadenceRuntimeProvider) ReturnCadenceRuntime(reusable environment.ReusableCadenceRuntime)
- func (_mock *CadenceRuntimeProvider) SetEnvironment(env environment.Environment)
- type CadenceRuntimeProvider_BorrowCadenceRuntime_Call
- func (_c *CadenceRuntimeProvider_BorrowCadenceRuntime_Call) Return(reusableCadenceRuntime environment.ReusableCadenceRuntime) *CadenceRuntimeProvider_BorrowCadenceRuntime_Call
- func (_c *CadenceRuntimeProvider_BorrowCadenceRuntime_Call) Run(run func()) *CadenceRuntimeProvider_BorrowCadenceRuntime_Call
- func (_c *CadenceRuntimeProvider_BorrowCadenceRuntime_Call) RunAndReturn(run func() environment.ReusableCadenceRuntime) *CadenceRuntimeProvider_BorrowCadenceRuntime_Call
- type CadenceRuntimeProvider_Expecter
- func (_e *CadenceRuntimeProvider_Expecter) BorrowCadenceRuntime() *CadenceRuntimeProvider_BorrowCadenceRuntime_Call
- func (_e *CadenceRuntimeProvider_Expecter) ReturnCadenceRuntime(reusable interface{}) *CadenceRuntimeProvider_ReturnCadenceRuntime_Call
- func (_e *CadenceRuntimeProvider_Expecter) SetEnvironment(env interface{}) *CadenceRuntimeProvider_SetEnvironment_Call
- type CadenceRuntimeProvider_ReturnCadenceRuntime_Call
- func (_c *CadenceRuntimeProvider_ReturnCadenceRuntime_Call) Return() *CadenceRuntimeProvider_ReturnCadenceRuntime_Call
- func (_c *CadenceRuntimeProvider_ReturnCadenceRuntime_Call) Run(run func(reusable environment.ReusableCadenceRuntime)) *CadenceRuntimeProvider_ReturnCadenceRuntime_Call
- func (_c *CadenceRuntimeProvider_ReturnCadenceRuntime_Call) RunAndReturn(run func(reusable environment.ReusableCadenceRuntime)) *CadenceRuntimeProvider_ReturnCadenceRuntime_Call
- type CadenceRuntimeProvider_SetEnvironment_Call
- func (_c *CadenceRuntimeProvider_SetEnvironment_Call) Return() *CadenceRuntimeProvider_SetEnvironment_Call
- func (_c *CadenceRuntimeProvider_SetEnvironment_Call) Run(run func(env environment.Environment)) *CadenceRuntimeProvider_SetEnvironment_Call
- func (_c *CadenceRuntimeProvider_SetEnvironment_Call) RunAndReturn(run func(env environment.Environment)) *CadenceRuntimeProvider_SetEnvironment_Call
- type ContractFunctionInvoker
- type ContractFunctionInvoker_Expecter
- type ContractFunctionInvoker_Invoke_Call
- func (_c *ContractFunctionInvoker_Invoke_Call) Return(value cadence.Value, err error) *ContractFunctionInvoker_Invoke_Call
- func (_c *ContractFunctionInvoker_Invoke_Call) Run(run func(spec environment.ContractFunctionSpec, arguments []cadence.Value)) *ContractFunctionInvoker_Invoke_Call
- func (_c *ContractFunctionInvoker_Invoke_Call) RunAndReturn(...) *ContractFunctionInvoker_Invoke_Call
- type ContractUpdater
- func (_mock *ContractUpdater) Commit() (environment.ContractUpdates, error)
- func (_m *ContractUpdater) EXPECT() *ContractUpdater_Expecter
- func (_mock *ContractUpdater) RemoveAccountContractCode(location common.AddressLocation) error
- func (_mock *ContractUpdater) Reset()
- func (_mock *ContractUpdater) UpdateAccountContractCode(location common.AddressLocation, code []byte) error
- type ContractUpdaterStubs
- type ContractUpdaterStubs_Expecter
- func (_e *ContractUpdaterStubs_Expecter) GetAuthorizedAccounts(path interface{}) *ContractUpdaterStubs_GetAuthorizedAccounts_Call
- func (_e *ContractUpdaterStubs_Expecter) RestrictedDeploymentEnabled() *ContractUpdaterStubs_RestrictedDeploymentEnabled_Call
- func (_e *ContractUpdaterStubs_Expecter) RestrictedRemovalEnabled() *ContractUpdaterStubs_RestrictedRemovalEnabled_Call
- type ContractUpdaterStubs_GetAuthorizedAccounts_Call
- func (_c *ContractUpdaterStubs_GetAuthorizedAccounts_Call) Return(addresss []flow.Address) *ContractUpdaterStubs_GetAuthorizedAccounts_Call
- func (_c *ContractUpdaterStubs_GetAuthorizedAccounts_Call) Run(run func(path cadence.Path)) *ContractUpdaterStubs_GetAuthorizedAccounts_Call
- func (_c *ContractUpdaterStubs_GetAuthorizedAccounts_Call) RunAndReturn(run func(path cadence.Path) []flow.Address) *ContractUpdaterStubs_GetAuthorizedAccounts_Call
- type ContractUpdaterStubs_RestrictedDeploymentEnabled_Call
- func (_c *ContractUpdaterStubs_RestrictedDeploymentEnabled_Call) Return(b bool) *ContractUpdaterStubs_RestrictedDeploymentEnabled_Call
- func (_c *ContractUpdaterStubs_RestrictedDeploymentEnabled_Call) Run(run func()) *ContractUpdaterStubs_RestrictedDeploymentEnabled_Call
- func (_c *ContractUpdaterStubs_RestrictedDeploymentEnabled_Call) RunAndReturn(run func() bool) *ContractUpdaterStubs_RestrictedDeploymentEnabled_Call
- type ContractUpdaterStubs_RestrictedRemovalEnabled_Call
- func (_c *ContractUpdaterStubs_RestrictedRemovalEnabled_Call) Return(b bool) *ContractUpdaterStubs_RestrictedRemovalEnabled_Call
- func (_c *ContractUpdaterStubs_RestrictedRemovalEnabled_Call) Run(run func()) *ContractUpdaterStubs_RestrictedRemovalEnabled_Call
- func (_c *ContractUpdaterStubs_RestrictedRemovalEnabled_Call) RunAndReturn(run func() bool) *ContractUpdaterStubs_RestrictedRemovalEnabled_Call
- type ContractUpdater_Commit_Call
- func (_c *ContractUpdater_Commit_Call) Return(contractUpdates environment.ContractUpdates, err error) *ContractUpdater_Commit_Call
- func (_c *ContractUpdater_Commit_Call) Run(run func()) *ContractUpdater_Commit_Call
- func (_c *ContractUpdater_Commit_Call) RunAndReturn(run func() (environment.ContractUpdates, error)) *ContractUpdater_Commit_Call
- type ContractUpdater_Expecter
- func (_e *ContractUpdater_Expecter) Commit() *ContractUpdater_Commit_Call
- func (_e *ContractUpdater_Expecter) RemoveAccountContractCode(location interface{}) *ContractUpdater_RemoveAccountContractCode_Call
- func (_e *ContractUpdater_Expecter) Reset() *ContractUpdater_Reset_Call
- func (_e *ContractUpdater_Expecter) UpdateAccountContractCode(location interface{}, code interface{}) *ContractUpdater_UpdateAccountContractCode_Call
- type ContractUpdater_RemoveAccountContractCode_Call
- func (_c *ContractUpdater_RemoveAccountContractCode_Call) Return(err error) *ContractUpdater_RemoveAccountContractCode_Call
- func (_c *ContractUpdater_RemoveAccountContractCode_Call) Run(run func(location common.AddressLocation)) *ContractUpdater_RemoveAccountContractCode_Call
- func (_c *ContractUpdater_RemoveAccountContractCode_Call) RunAndReturn(run func(location common.AddressLocation) error) *ContractUpdater_RemoveAccountContractCode_Call
- type ContractUpdater_Reset_Call
- type ContractUpdater_UpdateAccountContractCode_Call
- func (_c *ContractUpdater_UpdateAccountContractCode_Call) Return(err error) *ContractUpdater_UpdateAccountContractCode_Call
- func (_c *ContractUpdater_UpdateAccountContractCode_Call) Run(run func(location common.AddressLocation, code []byte)) *ContractUpdater_UpdateAccountContractCode_Call
- func (_c *ContractUpdater_UpdateAccountContractCode_Call) RunAndReturn(run func(location common.AddressLocation, code []byte) error) *ContractUpdater_UpdateAccountContractCode_Call
- type CryptoLibrary
- func (_mock *CryptoLibrary) BLSAggregatePublicKeys(keys []*runtime.PublicKey) (*runtime.PublicKey, error)
- func (_mock *CryptoLibrary) BLSAggregateSignatures(sigs [][]byte) ([]byte, error)
- func (_mock *CryptoLibrary) BLSVerifyPOP(pk *runtime.PublicKey, sig []byte) (bool, error)
- func (_m *CryptoLibrary) EXPECT() *CryptoLibrary_Expecter
- func (_mock *CryptoLibrary) Hash(data []byte, tag string, hashAlgorithm runtime.HashAlgorithm) ([]byte, error)
- func (_mock *CryptoLibrary) ValidatePublicKey(pk *runtime.PublicKey) error
- func (_mock *CryptoLibrary) VerifySignature(signature []byte, tag string, signedData []byte, publicKey []byte, ...) (bool, error)
- type CryptoLibrary_BLSAggregatePublicKeys_Call
- func (_c *CryptoLibrary_BLSAggregatePublicKeys_Call) Return(v *runtime.PublicKey, err error) *CryptoLibrary_BLSAggregatePublicKeys_Call
- func (_c *CryptoLibrary_BLSAggregatePublicKeys_Call) Run(run func(keys []*runtime.PublicKey)) *CryptoLibrary_BLSAggregatePublicKeys_Call
- func (_c *CryptoLibrary_BLSAggregatePublicKeys_Call) RunAndReturn(run func(keys []*runtime.PublicKey) (*runtime.PublicKey, error)) *CryptoLibrary_BLSAggregatePublicKeys_Call
- type CryptoLibrary_BLSAggregateSignatures_Call
- func (_c *CryptoLibrary_BLSAggregateSignatures_Call) Return(bytes []byte, err error) *CryptoLibrary_BLSAggregateSignatures_Call
- func (_c *CryptoLibrary_BLSAggregateSignatures_Call) Run(run func(sigs [][]byte)) *CryptoLibrary_BLSAggregateSignatures_Call
- func (_c *CryptoLibrary_BLSAggregateSignatures_Call) RunAndReturn(run func(sigs [][]byte) ([]byte, error)) *CryptoLibrary_BLSAggregateSignatures_Call
- type CryptoLibrary_BLSVerifyPOP_Call
- func (_c *CryptoLibrary_BLSVerifyPOP_Call) Return(b bool, err error) *CryptoLibrary_BLSVerifyPOP_Call
- func (_c *CryptoLibrary_BLSVerifyPOP_Call) Run(run func(pk *runtime.PublicKey, sig []byte)) *CryptoLibrary_BLSVerifyPOP_Call
- func (_c *CryptoLibrary_BLSVerifyPOP_Call) RunAndReturn(run func(pk *runtime.PublicKey, sig []byte) (bool, error)) *CryptoLibrary_BLSVerifyPOP_Call
- type CryptoLibrary_Expecter
- func (_e *CryptoLibrary_Expecter) BLSAggregatePublicKeys(keys interface{}) *CryptoLibrary_BLSAggregatePublicKeys_Call
- func (_e *CryptoLibrary_Expecter) BLSAggregateSignatures(sigs interface{}) *CryptoLibrary_BLSAggregateSignatures_Call
- func (_e *CryptoLibrary_Expecter) BLSVerifyPOP(pk interface{}, sig interface{}) *CryptoLibrary_BLSVerifyPOP_Call
- func (_e *CryptoLibrary_Expecter) Hash(data interface{}, tag interface{}, hashAlgorithm interface{}) *CryptoLibrary_Hash_Call
- func (_e *CryptoLibrary_Expecter) ValidatePublicKey(pk interface{}) *CryptoLibrary_ValidatePublicKey_Call
- func (_e *CryptoLibrary_Expecter) VerifySignature(signature interface{}, tag interface{}, signedData interface{}, ...) *CryptoLibrary_VerifySignature_Call
- type CryptoLibrary_Hash_Call
- func (_c *CryptoLibrary_Hash_Call) Return(bytes []byte, err error) *CryptoLibrary_Hash_Call
- func (_c *CryptoLibrary_Hash_Call) Run(run func(data []byte, tag string, hashAlgorithm runtime.HashAlgorithm)) *CryptoLibrary_Hash_Call
- func (_c *CryptoLibrary_Hash_Call) RunAndReturn(...) *CryptoLibrary_Hash_Call
- type CryptoLibrary_ValidatePublicKey_Call
- func (_c *CryptoLibrary_ValidatePublicKey_Call) Return(err error) *CryptoLibrary_ValidatePublicKey_Call
- func (_c *CryptoLibrary_ValidatePublicKey_Call) Run(run func(pk *runtime.PublicKey)) *CryptoLibrary_ValidatePublicKey_Call
- func (_c *CryptoLibrary_ValidatePublicKey_Call) RunAndReturn(run func(pk *runtime.PublicKey) error) *CryptoLibrary_ValidatePublicKey_Call
- type CryptoLibrary_VerifySignature_Call
- type EVMMetricsReporter
- func (_mock *EVMMetricsReporter) EVMBlockExecuted(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)
- func (_mock *EVMMetricsReporter) EVMTransactionExecuted(gasUsed uint64, isDirectCall bool, failed bool)
- func (_m *EVMMetricsReporter) EXPECT() *EVMMetricsReporter_Expecter
- func (_mock *EVMMetricsReporter) SetNumberOfDeployedCOAs(count uint64)
- type EVMMetricsReporter_EVMBlockExecuted_Call
- func (_c *EVMMetricsReporter_EVMBlockExecuted_Call) Return() *EVMMetricsReporter_EVMBlockExecuted_Call
- func (_c *EVMMetricsReporter_EVMBlockExecuted_Call) Run(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *EVMMetricsReporter_EVMBlockExecuted_Call
- func (_c *EVMMetricsReporter_EVMBlockExecuted_Call) RunAndReturn(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *EVMMetricsReporter_EVMBlockExecuted_Call
- type EVMMetricsReporter_EVMTransactionExecuted_Call
- func (_c *EVMMetricsReporter_EVMTransactionExecuted_Call) Return() *EVMMetricsReporter_EVMTransactionExecuted_Call
- func (_c *EVMMetricsReporter_EVMTransactionExecuted_Call) Run(run func(gasUsed uint64, isDirectCall bool, failed bool)) *EVMMetricsReporter_EVMTransactionExecuted_Call
- func (_c *EVMMetricsReporter_EVMTransactionExecuted_Call) RunAndReturn(run func(gasUsed uint64, isDirectCall bool, failed bool)) *EVMMetricsReporter_EVMTransactionExecuted_Call
- type EVMMetricsReporter_Expecter
- func (_e *EVMMetricsReporter_Expecter) EVMBlockExecuted(txCount interface{}, totalGasUsed interface{}, totalSupplyInFlow interface{}) *EVMMetricsReporter_EVMBlockExecuted_Call
- func (_e *EVMMetricsReporter_Expecter) EVMTransactionExecuted(gasUsed interface{}, isDirectCall interface{}, failed interface{}) *EVMMetricsReporter_EVMTransactionExecuted_Call
- func (_e *EVMMetricsReporter_Expecter) SetNumberOfDeployedCOAs(count interface{}) *EVMMetricsReporter_SetNumberOfDeployedCOAs_Call
- type EVMMetricsReporter_SetNumberOfDeployedCOAs_Call
- func (_c *EVMMetricsReporter_SetNumberOfDeployedCOAs_Call) Return() *EVMMetricsReporter_SetNumberOfDeployedCOAs_Call
- func (_c *EVMMetricsReporter_SetNumberOfDeployedCOAs_Call) Run(run func(count uint64)) *EVMMetricsReporter_SetNumberOfDeployedCOAs_Call
- func (_c *EVMMetricsReporter_SetNumberOfDeployedCOAs_Call) RunAndReturn(run func(count uint64)) *EVMMetricsReporter_SetNumberOfDeployedCOAs_Call
- type EntropyProvider
- type EntropyProvider_Expecter
- type EntropyProvider_RandomSource_Call
- func (_c *EntropyProvider_RandomSource_Call) Return(bytes []byte, err error) *EntropyProvider_RandomSource_Call
- func (_c *EntropyProvider_RandomSource_Call) Run(run func()) *EntropyProvider_RandomSource_Call
- func (_c *EntropyProvider_RandomSource_Call) RunAndReturn(run func() ([]byte, error)) *EntropyProvider_RandomSource_Call
- type Environment
- func (_mock *Environment) AccountKeysCount(address runtime.Address) (uint32, error)
- func (_mock *Environment) AccountsStorageCapacity(addresses []flow.Address, payer flow.Address, maxTxFees uint64) (cadence.Value, error)
- func (_mock *Environment) AddAccountKey(address runtime.Address, publicKey *runtime.PublicKey, ...) (*runtime.AccountKey, error)
- func (_mock *Environment) AllocateSlabIndex(owner []byte) (atree.SlabIndex, error)
- func (_mock *Environment) BLSAggregatePublicKeys(publicKeys []*runtime.PublicKey) (*runtime.PublicKey, error)
- func (_mock *Environment) BLSAggregateSignatures(signatures [][]byte) ([]byte, error)
- func (_mock *Environment) BLSVerifyPOP(publicKey *runtime.PublicKey, signature []byte) (bool, error)
- func (_mock *Environment) BorrowCadenceRuntime() environment.ReusableCadenceRuntime
- func (_mock *Environment) CheckPayerBalanceAndGetMaxTxFees(payer flow.Address, inclusionEffort uint64, executionEffort uint64) (cadence.Value, error)
- func (_mock *Environment) ComputationAvailable(computationUsage common.ComputationUsage) bool
- func (_mock *Environment) ComputationIntensities() meter.MeteredComputationIntensities
- func (_mock *Environment) ComputationRemaining(kind common.ComputationKind) uint64
- func (_mock *Environment) ComputationUsed() (uint64, error)
- func (_mock *Environment) ConvertedServiceEvents() flow.ServiceEventList
- func (_mock *Environment) CreateAccount(payer runtime.Address) (runtime.Address, error)
- func (_mock *Environment) DecodeArgument(argument []byte, argumentType cadence.Type) (cadence.Value, error)
- func (_mock *Environment) DeductTransactionFees(payer flow.Address, inclusionEffort uint64, executionEffort uint64) (cadence.Value, error)
- func (_mock *Environment) EVMBlockExecuted(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)
- func (_mock *Environment) EVMTransactionExecuted(gasUsed uint64, isDirectCall bool, failed bool)
- func (_m *Environment) EXPECT() *Environment_Expecter
- func (_mock *Environment) EmitEvent(event cadence.Event) error
- func (_mock *Environment) Events() flow.EventsList
- func (_mock *Environment) FlushPendingUpdates() (environment.ContractUpdates, error)
- func (_mock *Environment) GenerateAccountID(address common.Address) (uint64, error)
- func (_mock *Environment) GenerateUUID() (uint64, error)
- func (_mock *Environment) GetAccount(address flow.Address) (*flow.Account, error)
- func (_mock *Environment) GetAccountAvailableBalance(address common.Address) (uint64, error)
- func (_mock *Environment) GetAccountBalance(address common.Address) (uint64, error)
- func (_mock *Environment) GetAccountContractCode(location common.AddressLocation) ([]byte, error)
- func (_mock *Environment) GetAccountContractNames(address runtime.Address) ([]string, error)
- func (_mock *Environment) GetAccountKey(address runtime.Address, index uint32) (*runtime.AccountKey, error)
- func (_mock *Environment) GetAccountKeys(address flow.Address) ([]flow.AccountPublicKey, error)
- func (_mock *Environment) GetBlockAtHeight(height uint64) (runtime.Block, bool, error)
- func (_mock *Environment) GetCode(location runtime.Location) ([]byte, error)
- func (_mock *Environment) GetCurrentBlockHeight() (uint64, error)
- func (_mock *Environment) GetOrLoadProgram(location runtime.Location, load func() (*runtime.Program, error)) (*runtime.Program, error)
- func (_mock *Environment) GetSigningAccounts() ([]runtime.Address, error)
- func (_mock *Environment) GetStorageCapacity(address runtime.Address) (uint64, error)
- func (_mock *Environment) GetStorageUsed(address runtime.Address) (uint64, error)
- func (_mock *Environment) GetValue(owner []byte, key []byte) ([]byte, error)
- func (_mock *Environment) Hash(data []byte, tag string, hashAlgorithm runtime.HashAlgorithm) ([]byte, error)
- func (_mock *Environment) ImplementationDebugLog(message string) error
- func (_mock *Environment) Invoke(spec environment.ContractFunctionSpec, arguments []cadence.Value) (cadence.Value, error)
- func (_mock *Environment) IsServiceAccountAuthorizer() bool
- func (_mock *Environment) LimitAccountStorage() bool
- func (_mock *Environment) Logger() zerolog.Logger
- func (_mock *Environment) Logs() []string
- func (_mock *Environment) MemoryUsed() (uint64, error)
- func (_mock *Environment) MeterComputation(usage common.ComputationUsage) error
- func (_mock *Environment) MeterEmittedEvent(byteSize uint64) error
- func (_mock *Environment) MeterMemory(usage common.MemoryUsage) error
- func (_mock *Environment) MinimumRequiredVersion() (string, error)
- func (_mock *Environment) ProgramLog(s string) error
- func (_mock *Environment) RandomSourceHistory() ([]byte, error)
- func (_mock *Environment) ReadRandom(bytes []byte) error
- func (_mock *Environment) RecordTrace(operation string, duration time.Duration, attrs []attribute.KeyValue)
- func (_mock *Environment) RecoverProgram(program *ast.Program, location common.Location) ([]byte, error)
- func (_mock *Environment) RemoveAccountContractCode(location common.AddressLocation) error
- func (_mock *Environment) Reset()
- func (_mock *Environment) ResolveLocation(identifiers []runtime.Identifier, location runtime.Location) ([]runtime.ResolvedLocation, error)
- func (_mock *Environment) ResourceOwnerChanged(interpreter1 *interpreter.Interpreter, resource *interpreter.CompositeValue, ...)
- func (_mock *Environment) ReturnCadenceRuntime(reusableCadenceRuntime environment.ReusableCadenceRuntime)
- func (_mock *Environment) RevokeAccountKey(address runtime.Address, index uint32) (*runtime.AccountKey, error)
- func (_mock *Environment) RunWithMeteringDisabled(f func())
- func (_mock *Environment) RuntimeSetNumberOfAccounts(count uint64)
- func (_mock *Environment) RuntimeTransactionChecked(duration time.Duration)
- func (_mock *Environment) RuntimeTransactionInterpreted(duration time.Duration)
- func (_mock *Environment) RuntimeTransactionParsed(duration time.Duration)
- func (_mock *Environment) RuntimeTransactionProgramsCacheHit()
- func (_mock *Environment) RuntimeTransactionProgramsCacheMiss()
- func (_mock *Environment) ServiceEvents() flow.EventsList
- func (_mock *Environment) SetNumberOfDeployedCOAs(count uint64)
- func (_mock *Environment) SetValue(owner []byte, key []byte, value []byte) error
- func (_mock *Environment) StartChildSpan(name trace.SpanName, options ...trace0.SpanStartOption) tracing.TracerSpan
- func (_mock *Environment) TotalEmittedEventBytes() uint64
- func (_mock *Environment) TransactionFeesEnabled() bool
- func (_mock *Environment) TxID() flow.Identifier
- func (_mock *Environment) TxIndex() uint32
- func (_mock *Environment) UpdateAccountContractCode(location common.AddressLocation, code []byte) error
- func (_mock *Environment) ValidateAccountCapabilitiesGet(context interpreter.AccountCapabilityGetValidationContext, ...) (bool, error)
- func (_mock *Environment) ValidateAccountCapabilitiesPublish(context interpreter.AccountCapabilityPublishValidationContext, ...) (bool, error)
- func (_mock *Environment) ValidatePublicKey(key *runtime.PublicKey) error
- func (_mock *Environment) ValueExists(owner []byte, key []byte) (bool, error)
- func (_mock *Environment) VerifySignature(signature []byte, tag string, signedData []byte, publicKey []byte, ...) (bool, error)
- type Environment_AccountKeysCount_Call
- func (_c *Environment_AccountKeysCount_Call) Return(v uint32, err error) *Environment_AccountKeysCount_Call
- func (_c *Environment_AccountKeysCount_Call) Run(run func(address runtime.Address)) *Environment_AccountKeysCount_Call
- func (_c *Environment_AccountKeysCount_Call) RunAndReturn(run func(address runtime.Address) (uint32, error)) *Environment_AccountKeysCount_Call
- type Environment_AccountsStorageCapacity_Call
- func (_c *Environment_AccountsStorageCapacity_Call) Return(value cadence.Value, err error) *Environment_AccountsStorageCapacity_Call
- func (_c *Environment_AccountsStorageCapacity_Call) Run(run func(addresses []flow.Address, payer flow.Address, maxTxFees uint64)) *Environment_AccountsStorageCapacity_Call
- func (_c *Environment_AccountsStorageCapacity_Call) RunAndReturn(...) *Environment_AccountsStorageCapacity_Call
- type Environment_AddAccountKey_Call
- func (_c *Environment_AddAccountKey_Call) Return(v *runtime.AccountKey, err error) *Environment_AddAccountKey_Call
- func (_c *Environment_AddAccountKey_Call) Run(run func(address runtime.Address, publicKey *runtime.PublicKey, ...)) *Environment_AddAccountKey_Call
- func (_c *Environment_AddAccountKey_Call) RunAndReturn(...) *Environment_AddAccountKey_Call
- type Environment_AllocateSlabIndex_Call
- func (_c *Environment_AllocateSlabIndex_Call) Return(slabIndex atree.SlabIndex, err error) *Environment_AllocateSlabIndex_Call
- func (_c *Environment_AllocateSlabIndex_Call) Run(run func(owner []byte)) *Environment_AllocateSlabIndex_Call
- func (_c *Environment_AllocateSlabIndex_Call) RunAndReturn(run func(owner []byte) (atree.SlabIndex, error)) *Environment_AllocateSlabIndex_Call
- type Environment_BLSAggregatePublicKeys_Call
- func (_c *Environment_BLSAggregatePublicKeys_Call) Return(v *runtime.PublicKey, err error) *Environment_BLSAggregatePublicKeys_Call
- func (_c *Environment_BLSAggregatePublicKeys_Call) Run(run func(publicKeys []*runtime.PublicKey)) *Environment_BLSAggregatePublicKeys_Call
- func (_c *Environment_BLSAggregatePublicKeys_Call) RunAndReturn(run func(publicKeys []*runtime.PublicKey) (*runtime.PublicKey, error)) *Environment_BLSAggregatePublicKeys_Call
- type Environment_BLSAggregateSignatures_Call
- func (_c *Environment_BLSAggregateSignatures_Call) Return(bytes []byte, err error) *Environment_BLSAggregateSignatures_Call
- func (_c *Environment_BLSAggregateSignatures_Call) Run(run func(signatures [][]byte)) *Environment_BLSAggregateSignatures_Call
- func (_c *Environment_BLSAggregateSignatures_Call) RunAndReturn(run func(signatures [][]byte) ([]byte, error)) *Environment_BLSAggregateSignatures_Call
- type Environment_BLSVerifyPOP_Call
- func (_c *Environment_BLSVerifyPOP_Call) Return(b bool, err error) *Environment_BLSVerifyPOP_Call
- func (_c *Environment_BLSVerifyPOP_Call) Run(run func(publicKey *runtime.PublicKey, signature []byte)) *Environment_BLSVerifyPOP_Call
- func (_c *Environment_BLSVerifyPOP_Call) RunAndReturn(run func(publicKey *runtime.PublicKey, signature []byte) (bool, error)) *Environment_BLSVerifyPOP_Call
- type Environment_BorrowCadenceRuntime_Call
- func (_c *Environment_BorrowCadenceRuntime_Call) Return(reusableCadenceRuntime environment.ReusableCadenceRuntime) *Environment_BorrowCadenceRuntime_Call
- func (_c *Environment_BorrowCadenceRuntime_Call) Run(run func()) *Environment_BorrowCadenceRuntime_Call
- func (_c *Environment_BorrowCadenceRuntime_Call) RunAndReturn(run func() environment.ReusableCadenceRuntime) *Environment_BorrowCadenceRuntime_Call
- type Environment_CheckPayerBalanceAndGetMaxTxFees_Call
- func (_c *Environment_CheckPayerBalanceAndGetMaxTxFees_Call) Return(value cadence.Value, err error) *Environment_CheckPayerBalanceAndGetMaxTxFees_Call
- func (_c *Environment_CheckPayerBalanceAndGetMaxTxFees_Call) Run(run func(payer flow.Address, inclusionEffort uint64, executionEffort uint64)) *Environment_CheckPayerBalanceAndGetMaxTxFees_Call
- func (_c *Environment_CheckPayerBalanceAndGetMaxTxFees_Call) RunAndReturn(...) *Environment_CheckPayerBalanceAndGetMaxTxFees_Call
- type Environment_ComputationAvailable_Call
- func (_c *Environment_ComputationAvailable_Call) Return(b bool) *Environment_ComputationAvailable_Call
- func (_c *Environment_ComputationAvailable_Call) Run(run func(computationUsage common.ComputationUsage)) *Environment_ComputationAvailable_Call
- func (_c *Environment_ComputationAvailable_Call) RunAndReturn(run func(computationUsage common.ComputationUsage) bool) *Environment_ComputationAvailable_Call
- type Environment_ComputationIntensities_Call
- func (_c *Environment_ComputationIntensities_Call) Return(meteredComputationIntensities meter.MeteredComputationIntensities) *Environment_ComputationIntensities_Call
- func (_c *Environment_ComputationIntensities_Call) Run(run func()) *Environment_ComputationIntensities_Call
- func (_c *Environment_ComputationIntensities_Call) RunAndReturn(run func() meter.MeteredComputationIntensities) *Environment_ComputationIntensities_Call
- type Environment_ComputationRemaining_Call
- func (_c *Environment_ComputationRemaining_Call) Return(v uint64) *Environment_ComputationRemaining_Call
- func (_c *Environment_ComputationRemaining_Call) Run(run func(kind common.ComputationKind)) *Environment_ComputationRemaining_Call
- func (_c *Environment_ComputationRemaining_Call) RunAndReturn(run func(kind common.ComputationKind) uint64) *Environment_ComputationRemaining_Call
- type Environment_ComputationUsed_Call
- func (_c *Environment_ComputationUsed_Call) Return(v uint64, err error) *Environment_ComputationUsed_Call
- func (_c *Environment_ComputationUsed_Call) Run(run func()) *Environment_ComputationUsed_Call
- func (_c *Environment_ComputationUsed_Call) RunAndReturn(run func() (uint64, error)) *Environment_ComputationUsed_Call
- type Environment_ConvertedServiceEvents_Call
- func (_c *Environment_ConvertedServiceEvents_Call) Return(serviceEventList flow.ServiceEventList) *Environment_ConvertedServiceEvents_Call
- func (_c *Environment_ConvertedServiceEvents_Call) Run(run func()) *Environment_ConvertedServiceEvents_Call
- func (_c *Environment_ConvertedServiceEvents_Call) RunAndReturn(run func() flow.ServiceEventList) *Environment_ConvertedServiceEvents_Call
- type Environment_CreateAccount_Call
- func (_c *Environment_CreateAccount_Call) Return(address runtime.Address, err error) *Environment_CreateAccount_Call
- func (_c *Environment_CreateAccount_Call) Run(run func(payer runtime.Address)) *Environment_CreateAccount_Call
- func (_c *Environment_CreateAccount_Call) RunAndReturn(run func(payer runtime.Address) (runtime.Address, error)) *Environment_CreateAccount_Call
- type Environment_DecodeArgument_Call
- func (_c *Environment_DecodeArgument_Call) Return(value cadence.Value, err error) *Environment_DecodeArgument_Call
- func (_c *Environment_DecodeArgument_Call) Run(run func(argument []byte, argumentType cadence.Type)) *Environment_DecodeArgument_Call
- func (_c *Environment_DecodeArgument_Call) RunAndReturn(run func(argument []byte, argumentType cadence.Type) (cadence.Value, error)) *Environment_DecodeArgument_Call
- type Environment_DeductTransactionFees_Call
- func (_c *Environment_DeductTransactionFees_Call) Return(value cadence.Value, err error) *Environment_DeductTransactionFees_Call
- func (_c *Environment_DeductTransactionFees_Call) Run(run func(payer flow.Address, inclusionEffort uint64, executionEffort uint64)) *Environment_DeductTransactionFees_Call
- func (_c *Environment_DeductTransactionFees_Call) RunAndReturn(...) *Environment_DeductTransactionFees_Call
- type Environment_EVMBlockExecuted_Call
- func (_c *Environment_EVMBlockExecuted_Call) Return() *Environment_EVMBlockExecuted_Call
- func (_c *Environment_EVMBlockExecuted_Call) Run(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *Environment_EVMBlockExecuted_Call
- func (_c *Environment_EVMBlockExecuted_Call) RunAndReturn(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *Environment_EVMBlockExecuted_Call
- type Environment_EVMTransactionExecuted_Call
- func (_c *Environment_EVMTransactionExecuted_Call) Return() *Environment_EVMTransactionExecuted_Call
- func (_c *Environment_EVMTransactionExecuted_Call) Run(run func(gasUsed uint64, isDirectCall bool, failed bool)) *Environment_EVMTransactionExecuted_Call
- func (_c *Environment_EVMTransactionExecuted_Call) RunAndReturn(run func(gasUsed uint64, isDirectCall bool, failed bool)) *Environment_EVMTransactionExecuted_Call
- type Environment_EmitEvent_Call
- func (_c *Environment_EmitEvent_Call) Return(err error) *Environment_EmitEvent_Call
- func (_c *Environment_EmitEvent_Call) Run(run func(event cadence.Event)) *Environment_EmitEvent_Call
- func (_c *Environment_EmitEvent_Call) RunAndReturn(run func(event cadence.Event) error) *Environment_EmitEvent_Call
- type Environment_Events_Call
- type Environment_Expecter
- func (_e *Environment_Expecter) AccountKeysCount(address interface{}) *Environment_AccountKeysCount_Call
- func (_e *Environment_Expecter) AccountsStorageCapacity(addresses interface{}, payer interface{}, maxTxFees interface{}) *Environment_AccountsStorageCapacity_Call
- func (_e *Environment_Expecter) AddAccountKey(address interface{}, publicKey interface{}, hashAlgo interface{}, ...) *Environment_AddAccountKey_Call
- func (_e *Environment_Expecter) AllocateSlabIndex(owner interface{}) *Environment_AllocateSlabIndex_Call
- func (_e *Environment_Expecter) BLSAggregatePublicKeys(publicKeys interface{}) *Environment_BLSAggregatePublicKeys_Call
- func (_e *Environment_Expecter) BLSAggregateSignatures(signatures interface{}) *Environment_BLSAggregateSignatures_Call
- func (_e *Environment_Expecter) BLSVerifyPOP(publicKey interface{}, signature interface{}) *Environment_BLSVerifyPOP_Call
- func (_e *Environment_Expecter) BorrowCadenceRuntime() *Environment_BorrowCadenceRuntime_Call
- func (_e *Environment_Expecter) CheckPayerBalanceAndGetMaxTxFees(payer interface{}, inclusionEffort interface{}, executionEffort interface{}) *Environment_CheckPayerBalanceAndGetMaxTxFees_Call
- func (_e *Environment_Expecter) ComputationAvailable(computationUsage interface{}) *Environment_ComputationAvailable_Call
- func (_e *Environment_Expecter) ComputationIntensities() *Environment_ComputationIntensities_Call
- func (_e *Environment_Expecter) ComputationRemaining(kind interface{}) *Environment_ComputationRemaining_Call
- func (_e *Environment_Expecter) ComputationUsed() *Environment_ComputationUsed_Call
- func (_e *Environment_Expecter) ConvertedServiceEvents() *Environment_ConvertedServiceEvents_Call
- func (_e *Environment_Expecter) CreateAccount(payer interface{}) *Environment_CreateAccount_Call
- func (_e *Environment_Expecter) DecodeArgument(argument interface{}, argumentType interface{}) *Environment_DecodeArgument_Call
- func (_e *Environment_Expecter) DeductTransactionFees(payer interface{}, inclusionEffort interface{}, executionEffort interface{}) *Environment_DeductTransactionFees_Call
- func (_e *Environment_Expecter) EVMBlockExecuted(txCount interface{}, totalGasUsed interface{}, totalSupplyInFlow interface{}) *Environment_EVMBlockExecuted_Call
- func (_e *Environment_Expecter) EVMTransactionExecuted(gasUsed interface{}, isDirectCall interface{}, failed interface{}) *Environment_EVMTransactionExecuted_Call
- func (_e *Environment_Expecter) EmitEvent(event interface{}) *Environment_EmitEvent_Call
- func (_e *Environment_Expecter) Events() *Environment_Events_Call
- func (_e *Environment_Expecter) FlushPendingUpdates() *Environment_FlushPendingUpdates_Call
- func (_e *Environment_Expecter) GenerateAccountID(address interface{}) *Environment_GenerateAccountID_Call
- func (_e *Environment_Expecter) GenerateUUID() *Environment_GenerateUUID_Call
- func (_e *Environment_Expecter) GetAccount(address interface{}) *Environment_GetAccount_Call
- func (_e *Environment_Expecter) GetAccountAvailableBalance(address interface{}) *Environment_GetAccountAvailableBalance_Call
- func (_e *Environment_Expecter) GetAccountBalance(address interface{}) *Environment_GetAccountBalance_Call
- func (_e *Environment_Expecter) GetAccountContractCode(location interface{}) *Environment_GetAccountContractCode_Call
- func (_e *Environment_Expecter) GetAccountContractNames(address interface{}) *Environment_GetAccountContractNames_Call
- func (_e *Environment_Expecter) GetAccountKey(address interface{}, index interface{}) *Environment_GetAccountKey_Call
- func (_e *Environment_Expecter) GetAccountKeys(address interface{}) *Environment_GetAccountKeys_Call
- func (_e *Environment_Expecter) GetBlockAtHeight(height interface{}) *Environment_GetBlockAtHeight_Call
- func (_e *Environment_Expecter) GetCode(location interface{}) *Environment_GetCode_Call
- func (_e *Environment_Expecter) GetCurrentBlockHeight() *Environment_GetCurrentBlockHeight_Call
- func (_e *Environment_Expecter) GetOrLoadProgram(location interface{}, load interface{}) *Environment_GetOrLoadProgram_Call
- func (_e *Environment_Expecter) GetSigningAccounts() *Environment_GetSigningAccounts_Call
- func (_e *Environment_Expecter) GetStorageCapacity(address interface{}) *Environment_GetStorageCapacity_Call
- func (_e *Environment_Expecter) GetStorageUsed(address interface{}) *Environment_GetStorageUsed_Call
- func (_e *Environment_Expecter) GetValue(owner interface{}, key interface{}) *Environment_GetValue_Call
- func (_e *Environment_Expecter) Hash(data interface{}, tag interface{}, hashAlgorithm interface{}) *Environment_Hash_Call
- func (_e *Environment_Expecter) ImplementationDebugLog(message interface{}) *Environment_ImplementationDebugLog_Call
- func (_e *Environment_Expecter) Invoke(spec interface{}, arguments interface{}) *Environment_Invoke_Call
- func (_e *Environment_Expecter) IsServiceAccountAuthorizer() *Environment_IsServiceAccountAuthorizer_Call
- func (_e *Environment_Expecter) LimitAccountStorage() *Environment_LimitAccountStorage_Call
- func (_e *Environment_Expecter) Logger() *Environment_Logger_Call
- func (_e *Environment_Expecter) Logs() *Environment_Logs_Call
- func (_e *Environment_Expecter) MemoryUsed() *Environment_MemoryUsed_Call
- func (_e *Environment_Expecter) MeterComputation(usage interface{}) *Environment_MeterComputation_Call
- func (_e *Environment_Expecter) MeterEmittedEvent(byteSize interface{}) *Environment_MeterEmittedEvent_Call
- func (_e *Environment_Expecter) MeterMemory(usage interface{}) *Environment_MeterMemory_Call
- func (_e *Environment_Expecter) MinimumRequiredVersion() *Environment_MinimumRequiredVersion_Call
- func (_e *Environment_Expecter) ProgramLog(s interface{}) *Environment_ProgramLog_Call
- func (_e *Environment_Expecter) RandomSourceHistory() *Environment_RandomSourceHistory_Call
- func (_e *Environment_Expecter) ReadRandom(bytes interface{}) *Environment_ReadRandom_Call
- func (_e *Environment_Expecter) RecordTrace(operation interface{}, duration interface{}, attrs interface{}) *Environment_RecordTrace_Call
- func (_e *Environment_Expecter) RecoverProgram(program interface{}, location interface{}) *Environment_RecoverProgram_Call
- func (_e *Environment_Expecter) RemoveAccountContractCode(location interface{}) *Environment_RemoveAccountContractCode_Call
- func (_e *Environment_Expecter) Reset() *Environment_Reset_Call
- func (_e *Environment_Expecter) ResolveLocation(identifiers interface{}, location interface{}) *Environment_ResolveLocation_Call
- func (_e *Environment_Expecter) ResourceOwnerChanged(interpreter1 interface{}, resource interface{}, oldOwner interface{}, ...) *Environment_ResourceOwnerChanged_Call
- func (_e *Environment_Expecter) ReturnCadenceRuntime(reusableCadenceRuntime interface{}) *Environment_ReturnCadenceRuntime_Call
- func (_e *Environment_Expecter) RevokeAccountKey(address interface{}, index interface{}) *Environment_RevokeAccountKey_Call
- func (_e *Environment_Expecter) RunWithMeteringDisabled(f interface{}) *Environment_RunWithMeteringDisabled_Call
- func (_e *Environment_Expecter) RuntimeSetNumberOfAccounts(count interface{}) *Environment_RuntimeSetNumberOfAccounts_Call
- func (_e *Environment_Expecter) RuntimeTransactionChecked(duration interface{}) *Environment_RuntimeTransactionChecked_Call
- func (_e *Environment_Expecter) RuntimeTransactionInterpreted(duration interface{}) *Environment_RuntimeTransactionInterpreted_Call
- func (_e *Environment_Expecter) RuntimeTransactionParsed(duration interface{}) *Environment_RuntimeTransactionParsed_Call
- func (_e *Environment_Expecter) RuntimeTransactionProgramsCacheHit() *Environment_RuntimeTransactionProgramsCacheHit_Call
- func (_e *Environment_Expecter) RuntimeTransactionProgramsCacheMiss() *Environment_RuntimeTransactionProgramsCacheMiss_Call
- func (_e *Environment_Expecter) ServiceEvents() *Environment_ServiceEvents_Call
- func (_e *Environment_Expecter) SetNumberOfDeployedCOAs(count interface{}) *Environment_SetNumberOfDeployedCOAs_Call
- func (_e *Environment_Expecter) SetValue(owner interface{}, key interface{}, value interface{}) *Environment_SetValue_Call
- func (_e *Environment_Expecter) StartChildSpan(name interface{}, options ...interface{}) *Environment_StartChildSpan_Call
- func (_e *Environment_Expecter) TotalEmittedEventBytes() *Environment_TotalEmittedEventBytes_Call
- func (_e *Environment_Expecter) TransactionFeesEnabled() *Environment_TransactionFeesEnabled_Call
- func (_e *Environment_Expecter) TxID() *Environment_TxID_Call
- func (_e *Environment_Expecter) TxIndex() *Environment_TxIndex_Call
- func (_e *Environment_Expecter) UpdateAccountContractCode(location interface{}, code interface{}) *Environment_UpdateAccountContractCode_Call
- func (_e *Environment_Expecter) ValidateAccountCapabilitiesGet(context interface{}, address interface{}, path interface{}, ...) *Environment_ValidateAccountCapabilitiesGet_Call
- func (_e *Environment_Expecter) ValidateAccountCapabilitiesPublish(context interface{}, address interface{}, path interface{}, ...) *Environment_ValidateAccountCapabilitiesPublish_Call
- func (_e *Environment_Expecter) ValidatePublicKey(key interface{}) *Environment_ValidatePublicKey_Call
- func (_e *Environment_Expecter) ValueExists(owner interface{}, key interface{}) *Environment_ValueExists_Call
- func (_e *Environment_Expecter) VerifySignature(signature interface{}, tag interface{}, signedData interface{}, ...) *Environment_VerifySignature_Call
- type Environment_FlushPendingUpdates_Call
- func (_c *Environment_FlushPendingUpdates_Call) Return(contractUpdates environment.ContractUpdates, err error) *Environment_FlushPendingUpdates_Call
- func (_c *Environment_FlushPendingUpdates_Call) Run(run func()) *Environment_FlushPendingUpdates_Call
- func (_c *Environment_FlushPendingUpdates_Call) RunAndReturn(run func() (environment.ContractUpdates, error)) *Environment_FlushPendingUpdates_Call
- type Environment_GenerateAccountID_Call
- func (_c *Environment_GenerateAccountID_Call) Return(v uint64, err error) *Environment_GenerateAccountID_Call
- func (_c *Environment_GenerateAccountID_Call) Run(run func(address common.Address)) *Environment_GenerateAccountID_Call
- func (_c *Environment_GenerateAccountID_Call) RunAndReturn(run func(address common.Address) (uint64, error)) *Environment_GenerateAccountID_Call
- type Environment_GenerateUUID_Call
- func (_c *Environment_GenerateUUID_Call) Return(v uint64, err error) *Environment_GenerateUUID_Call
- func (_c *Environment_GenerateUUID_Call) Run(run func()) *Environment_GenerateUUID_Call
- func (_c *Environment_GenerateUUID_Call) RunAndReturn(run func() (uint64, error)) *Environment_GenerateUUID_Call
- type Environment_GetAccountAvailableBalance_Call
- func (_c *Environment_GetAccountAvailableBalance_Call) Return(value uint64, err error) *Environment_GetAccountAvailableBalance_Call
- func (_c *Environment_GetAccountAvailableBalance_Call) Run(run func(address common.Address)) *Environment_GetAccountAvailableBalance_Call
- func (_c *Environment_GetAccountAvailableBalance_Call) RunAndReturn(run func(address common.Address) (uint64, error)) *Environment_GetAccountAvailableBalance_Call
- type Environment_GetAccountBalance_Call
- func (_c *Environment_GetAccountBalance_Call) Return(value uint64, err error) *Environment_GetAccountBalance_Call
- func (_c *Environment_GetAccountBalance_Call) Run(run func(address common.Address)) *Environment_GetAccountBalance_Call
- func (_c *Environment_GetAccountBalance_Call) RunAndReturn(run func(address common.Address) (uint64, error)) *Environment_GetAccountBalance_Call
- type Environment_GetAccountContractCode_Call
- func (_c *Environment_GetAccountContractCode_Call) Return(code []byte, err error) *Environment_GetAccountContractCode_Call
- func (_c *Environment_GetAccountContractCode_Call) Run(run func(location common.AddressLocation)) *Environment_GetAccountContractCode_Call
- func (_c *Environment_GetAccountContractCode_Call) RunAndReturn(run func(location common.AddressLocation) ([]byte, error)) *Environment_GetAccountContractCode_Call
- type Environment_GetAccountContractNames_Call
- func (_c *Environment_GetAccountContractNames_Call) Return(strings []string, err error) *Environment_GetAccountContractNames_Call
- func (_c *Environment_GetAccountContractNames_Call) Run(run func(address runtime.Address)) *Environment_GetAccountContractNames_Call
- func (_c *Environment_GetAccountContractNames_Call) RunAndReturn(run func(address runtime.Address) ([]string, error)) *Environment_GetAccountContractNames_Call
- type Environment_GetAccountKey_Call
- func (_c *Environment_GetAccountKey_Call) Return(v *runtime.AccountKey, err error) *Environment_GetAccountKey_Call
- func (_c *Environment_GetAccountKey_Call) Run(run func(address runtime.Address, index uint32)) *Environment_GetAccountKey_Call
- func (_c *Environment_GetAccountKey_Call) RunAndReturn(run func(address runtime.Address, index uint32) (*runtime.AccountKey, error)) *Environment_GetAccountKey_Call
- type Environment_GetAccountKeys_Call
- func (_c *Environment_GetAccountKeys_Call) Return(accountPublicKeys []flow.AccountPublicKey, err error) *Environment_GetAccountKeys_Call
- func (_c *Environment_GetAccountKeys_Call) Run(run func(address flow.Address)) *Environment_GetAccountKeys_Call
- func (_c *Environment_GetAccountKeys_Call) RunAndReturn(run func(address flow.Address) ([]flow.AccountPublicKey, error)) *Environment_GetAccountKeys_Call
- type Environment_GetAccount_Call
- func (_c *Environment_GetAccount_Call) Return(account *flow.Account, err error) *Environment_GetAccount_Call
- func (_c *Environment_GetAccount_Call) Run(run func(address flow.Address)) *Environment_GetAccount_Call
- func (_c *Environment_GetAccount_Call) RunAndReturn(run func(address flow.Address) (*flow.Account, error)) *Environment_GetAccount_Call
- type Environment_GetBlockAtHeight_Call
- func (_c *Environment_GetBlockAtHeight_Call) Return(block runtime.Block, exists bool, err error) *Environment_GetBlockAtHeight_Call
- func (_c *Environment_GetBlockAtHeight_Call) Run(run func(height uint64)) *Environment_GetBlockAtHeight_Call
- func (_c *Environment_GetBlockAtHeight_Call) RunAndReturn(run func(height uint64) (runtime.Block, bool, error)) *Environment_GetBlockAtHeight_Call
- type Environment_GetCode_Call
- func (_c *Environment_GetCode_Call) Return(bytes []byte, err error) *Environment_GetCode_Call
- func (_c *Environment_GetCode_Call) Run(run func(location runtime.Location)) *Environment_GetCode_Call
- func (_c *Environment_GetCode_Call) RunAndReturn(run func(location runtime.Location) ([]byte, error)) *Environment_GetCode_Call
- type Environment_GetCurrentBlockHeight_Call
- func (_c *Environment_GetCurrentBlockHeight_Call) Return(v uint64, err error) *Environment_GetCurrentBlockHeight_Call
- func (_c *Environment_GetCurrentBlockHeight_Call) Run(run func()) *Environment_GetCurrentBlockHeight_Call
- func (_c *Environment_GetCurrentBlockHeight_Call) RunAndReturn(run func() (uint64, error)) *Environment_GetCurrentBlockHeight_Call
- type Environment_GetOrLoadProgram_Call
- func (_c *Environment_GetOrLoadProgram_Call) Return(program *runtime.Program, err error) *Environment_GetOrLoadProgram_Call
- func (_c *Environment_GetOrLoadProgram_Call) Run(run func(location runtime.Location, load func() (*runtime.Program, error))) *Environment_GetOrLoadProgram_Call
- func (_c *Environment_GetOrLoadProgram_Call) RunAndReturn(...) *Environment_GetOrLoadProgram_Call
- type Environment_GetSigningAccounts_Call
- func (_c *Environment_GetSigningAccounts_Call) Return(vs []runtime.Address, err error) *Environment_GetSigningAccounts_Call
- func (_c *Environment_GetSigningAccounts_Call) Run(run func()) *Environment_GetSigningAccounts_Call
- func (_c *Environment_GetSigningAccounts_Call) RunAndReturn(run func() ([]runtime.Address, error)) *Environment_GetSigningAccounts_Call
- type Environment_GetStorageCapacity_Call
- func (_c *Environment_GetStorageCapacity_Call) Return(value uint64, err error) *Environment_GetStorageCapacity_Call
- func (_c *Environment_GetStorageCapacity_Call) Run(run func(address runtime.Address)) *Environment_GetStorageCapacity_Call
- func (_c *Environment_GetStorageCapacity_Call) RunAndReturn(run func(address runtime.Address) (uint64, error)) *Environment_GetStorageCapacity_Call
- type Environment_GetStorageUsed_Call
- func (_c *Environment_GetStorageUsed_Call) Return(value uint64, err error) *Environment_GetStorageUsed_Call
- func (_c *Environment_GetStorageUsed_Call) Run(run func(address runtime.Address)) *Environment_GetStorageUsed_Call
- func (_c *Environment_GetStorageUsed_Call) RunAndReturn(run func(address runtime.Address) (uint64, error)) *Environment_GetStorageUsed_Call
- type Environment_GetValue_Call
- func (_c *Environment_GetValue_Call) Return(value []byte, err error) *Environment_GetValue_Call
- func (_c *Environment_GetValue_Call) Run(run func(owner []byte, key []byte)) *Environment_GetValue_Call
- func (_c *Environment_GetValue_Call) RunAndReturn(run func(owner []byte, key []byte) ([]byte, error)) *Environment_GetValue_Call
- type Environment_Hash_Call
- type Environment_ImplementationDebugLog_Call
- func (_c *Environment_ImplementationDebugLog_Call) Return(err error) *Environment_ImplementationDebugLog_Call
- func (_c *Environment_ImplementationDebugLog_Call) Run(run func(message string)) *Environment_ImplementationDebugLog_Call
- func (_c *Environment_ImplementationDebugLog_Call) RunAndReturn(run func(message string) error) *Environment_ImplementationDebugLog_Call
- type Environment_Invoke_Call
- func (_c *Environment_Invoke_Call) Return(value cadence.Value, err error) *Environment_Invoke_Call
- func (_c *Environment_Invoke_Call) Run(run func(spec environment.ContractFunctionSpec, arguments []cadence.Value)) *Environment_Invoke_Call
- func (_c *Environment_Invoke_Call) RunAndReturn(...) *Environment_Invoke_Call
- type Environment_IsServiceAccountAuthorizer_Call
- func (_c *Environment_IsServiceAccountAuthorizer_Call) Return(b bool) *Environment_IsServiceAccountAuthorizer_Call
- func (_c *Environment_IsServiceAccountAuthorizer_Call) Run(run func()) *Environment_IsServiceAccountAuthorizer_Call
- func (_c *Environment_IsServiceAccountAuthorizer_Call) RunAndReturn(run func() bool) *Environment_IsServiceAccountAuthorizer_Call
- type Environment_LimitAccountStorage_Call
- func (_c *Environment_LimitAccountStorage_Call) Return(b bool) *Environment_LimitAccountStorage_Call
- func (_c *Environment_LimitAccountStorage_Call) Run(run func()) *Environment_LimitAccountStorage_Call
- func (_c *Environment_LimitAccountStorage_Call) RunAndReturn(run func() bool) *Environment_LimitAccountStorage_Call
- type Environment_Logger_Call
- type Environment_Logs_Call
- type Environment_MemoryUsed_Call
- type Environment_MeterComputation_Call
- func (_c *Environment_MeterComputation_Call) Return(err error) *Environment_MeterComputation_Call
- func (_c *Environment_MeterComputation_Call) Run(run func(usage common.ComputationUsage)) *Environment_MeterComputation_Call
- func (_c *Environment_MeterComputation_Call) RunAndReturn(run func(usage common.ComputationUsage) error) *Environment_MeterComputation_Call
- type Environment_MeterEmittedEvent_Call
- func (_c *Environment_MeterEmittedEvent_Call) Return(err error) *Environment_MeterEmittedEvent_Call
- func (_c *Environment_MeterEmittedEvent_Call) Run(run func(byteSize uint64)) *Environment_MeterEmittedEvent_Call
- func (_c *Environment_MeterEmittedEvent_Call) RunAndReturn(run func(byteSize uint64) error) *Environment_MeterEmittedEvent_Call
- type Environment_MeterMemory_Call
- func (_c *Environment_MeterMemory_Call) Return(err error) *Environment_MeterMemory_Call
- func (_c *Environment_MeterMemory_Call) Run(run func(usage common.MemoryUsage)) *Environment_MeterMemory_Call
- func (_c *Environment_MeterMemory_Call) RunAndReturn(run func(usage common.MemoryUsage) error) *Environment_MeterMemory_Call
- type Environment_MinimumRequiredVersion_Call
- func (_c *Environment_MinimumRequiredVersion_Call) Return(s string, err error) *Environment_MinimumRequiredVersion_Call
- func (_c *Environment_MinimumRequiredVersion_Call) Run(run func()) *Environment_MinimumRequiredVersion_Call
- func (_c *Environment_MinimumRequiredVersion_Call) RunAndReturn(run func() (string, error)) *Environment_MinimumRequiredVersion_Call
- type Environment_ProgramLog_Call
- type Environment_RandomSourceHistory_Call
- func (_c *Environment_RandomSourceHistory_Call) Return(bytes []byte, err error) *Environment_RandomSourceHistory_Call
- func (_c *Environment_RandomSourceHistory_Call) Run(run func()) *Environment_RandomSourceHistory_Call
- func (_c *Environment_RandomSourceHistory_Call) RunAndReturn(run func() ([]byte, error)) *Environment_RandomSourceHistory_Call
- type Environment_ReadRandom_Call
- type Environment_RecordTrace_Call
- func (_c *Environment_RecordTrace_Call) Return() *Environment_RecordTrace_Call
- func (_c *Environment_RecordTrace_Call) Run(run func(operation string, duration time.Duration, attrs []attribute.KeyValue)) *Environment_RecordTrace_Call
- func (_c *Environment_RecordTrace_Call) RunAndReturn(run func(operation string, duration time.Duration, attrs []attribute.KeyValue)) *Environment_RecordTrace_Call
- type Environment_RecoverProgram_Call
- func (_c *Environment_RecoverProgram_Call) Return(bytes []byte, err error) *Environment_RecoverProgram_Call
- func (_c *Environment_RecoverProgram_Call) Run(run func(program *ast.Program, location common.Location)) *Environment_RecoverProgram_Call
- func (_c *Environment_RecoverProgram_Call) RunAndReturn(run func(program *ast.Program, location common.Location) ([]byte, error)) *Environment_RecoverProgram_Call
- type Environment_RemoveAccountContractCode_Call
- func (_c *Environment_RemoveAccountContractCode_Call) Return(err error) *Environment_RemoveAccountContractCode_Call
- func (_c *Environment_RemoveAccountContractCode_Call) Run(run func(location common.AddressLocation)) *Environment_RemoveAccountContractCode_Call
- func (_c *Environment_RemoveAccountContractCode_Call) RunAndReturn(run func(location common.AddressLocation) error) *Environment_RemoveAccountContractCode_Call
- type Environment_Reset_Call
- type Environment_ResolveLocation_Call
- func (_c *Environment_ResolveLocation_Call) Return(vs []runtime.ResolvedLocation, err error) *Environment_ResolveLocation_Call
- func (_c *Environment_ResolveLocation_Call) Run(run func(identifiers []runtime.Identifier, location runtime.Location)) *Environment_ResolveLocation_Call
- func (_c *Environment_ResolveLocation_Call) RunAndReturn(...) *Environment_ResolveLocation_Call
- type Environment_ResourceOwnerChanged_Call
- type Environment_ReturnCadenceRuntime_Call
- func (_c *Environment_ReturnCadenceRuntime_Call) Return() *Environment_ReturnCadenceRuntime_Call
- func (_c *Environment_ReturnCadenceRuntime_Call) Run(run func(reusableCadenceRuntime environment.ReusableCadenceRuntime)) *Environment_ReturnCadenceRuntime_Call
- func (_c *Environment_ReturnCadenceRuntime_Call) RunAndReturn(run func(reusableCadenceRuntime environment.ReusableCadenceRuntime)) *Environment_ReturnCadenceRuntime_Call
- type Environment_RevokeAccountKey_Call
- func (_c *Environment_RevokeAccountKey_Call) Return(v *runtime.AccountKey, err error) *Environment_RevokeAccountKey_Call
- func (_c *Environment_RevokeAccountKey_Call) Run(run func(address runtime.Address, index uint32)) *Environment_RevokeAccountKey_Call
- func (_c *Environment_RevokeAccountKey_Call) RunAndReturn(run func(address runtime.Address, index uint32) (*runtime.AccountKey, error)) *Environment_RevokeAccountKey_Call
- type Environment_RunWithMeteringDisabled_Call
- func (_c *Environment_RunWithMeteringDisabled_Call) Return() *Environment_RunWithMeteringDisabled_Call
- func (_c *Environment_RunWithMeteringDisabled_Call) Run(run func(f func())) *Environment_RunWithMeteringDisabled_Call
- func (_c *Environment_RunWithMeteringDisabled_Call) RunAndReturn(run func(f func())) *Environment_RunWithMeteringDisabled_Call
- type Environment_RuntimeSetNumberOfAccounts_Call
- func (_c *Environment_RuntimeSetNumberOfAccounts_Call) Return() *Environment_RuntimeSetNumberOfAccounts_Call
- func (_c *Environment_RuntimeSetNumberOfAccounts_Call) Run(run func(count uint64)) *Environment_RuntimeSetNumberOfAccounts_Call
- func (_c *Environment_RuntimeSetNumberOfAccounts_Call) RunAndReturn(run func(count uint64)) *Environment_RuntimeSetNumberOfAccounts_Call
- type Environment_RuntimeTransactionChecked_Call
- func (_c *Environment_RuntimeTransactionChecked_Call) Return() *Environment_RuntimeTransactionChecked_Call
- func (_c *Environment_RuntimeTransactionChecked_Call) Run(run func(duration time.Duration)) *Environment_RuntimeTransactionChecked_Call
- func (_c *Environment_RuntimeTransactionChecked_Call) RunAndReturn(run func(duration time.Duration)) *Environment_RuntimeTransactionChecked_Call
- type Environment_RuntimeTransactionInterpreted_Call
- func (_c *Environment_RuntimeTransactionInterpreted_Call) Return() *Environment_RuntimeTransactionInterpreted_Call
- func (_c *Environment_RuntimeTransactionInterpreted_Call) Run(run func(duration time.Duration)) *Environment_RuntimeTransactionInterpreted_Call
- func (_c *Environment_RuntimeTransactionInterpreted_Call) RunAndReturn(run func(duration time.Duration)) *Environment_RuntimeTransactionInterpreted_Call
- type Environment_RuntimeTransactionParsed_Call
- func (_c *Environment_RuntimeTransactionParsed_Call) Return() *Environment_RuntimeTransactionParsed_Call
- func (_c *Environment_RuntimeTransactionParsed_Call) Run(run func(duration time.Duration)) *Environment_RuntimeTransactionParsed_Call
- func (_c *Environment_RuntimeTransactionParsed_Call) RunAndReturn(run func(duration time.Duration)) *Environment_RuntimeTransactionParsed_Call
- type Environment_RuntimeTransactionProgramsCacheHit_Call
- func (_c *Environment_RuntimeTransactionProgramsCacheHit_Call) Return() *Environment_RuntimeTransactionProgramsCacheHit_Call
- func (_c *Environment_RuntimeTransactionProgramsCacheHit_Call) Run(run func()) *Environment_RuntimeTransactionProgramsCacheHit_Call
- func (_c *Environment_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn(run func()) *Environment_RuntimeTransactionProgramsCacheHit_Call
- type Environment_RuntimeTransactionProgramsCacheMiss_Call
- func (_c *Environment_RuntimeTransactionProgramsCacheMiss_Call) Return() *Environment_RuntimeTransactionProgramsCacheMiss_Call
- func (_c *Environment_RuntimeTransactionProgramsCacheMiss_Call) Run(run func()) *Environment_RuntimeTransactionProgramsCacheMiss_Call
- func (_c *Environment_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn(run func()) *Environment_RuntimeTransactionProgramsCacheMiss_Call
- type Environment_ServiceEvents_Call
- func (_c *Environment_ServiceEvents_Call) Return(eventsList flow.EventsList) *Environment_ServiceEvents_Call
- func (_c *Environment_ServiceEvents_Call) Run(run func()) *Environment_ServiceEvents_Call
- func (_c *Environment_ServiceEvents_Call) RunAndReturn(run func() flow.EventsList) *Environment_ServiceEvents_Call
- type Environment_SetNumberOfDeployedCOAs_Call
- func (_c *Environment_SetNumberOfDeployedCOAs_Call) Return() *Environment_SetNumberOfDeployedCOAs_Call
- func (_c *Environment_SetNumberOfDeployedCOAs_Call) Run(run func(count uint64)) *Environment_SetNumberOfDeployedCOAs_Call
- func (_c *Environment_SetNumberOfDeployedCOAs_Call) RunAndReturn(run func(count uint64)) *Environment_SetNumberOfDeployedCOAs_Call
- type Environment_SetValue_Call
- func (_c *Environment_SetValue_Call) Return(err error) *Environment_SetValue_Call
- func (_c *Environment_SetValue_Call) Run(run func(owner []byte, key []byte, value []byte)) *Environment_SetValue_Call
- func (_c *Environment_SetValue_Call) RunAndReturn(run func(owner []byte, key []byte, value []byte) error) *Environment_SetValue_Call
- type Environment_StartChildSpan_Call
- func (_c *Environment_StartChildSpan_Call) Return(tracerSpan tracing.TracerSpan) *Environment_StartChildSpan_Call
- func (_c *Environment_StartChildSpan_Call) Run(run func(name trace.SpanName, options ...trace0.SpanStartOption)) *Environment_StartChildSpan_Call
- func (_c *Environment_StartChildSpan_Call) RunAndReturn(...) *Environment_StartChildSpan_Call
- type Environment_TotalEmittedEventBytes_Call
- func (_c *Environment_TotalEmittedEventBytes_Call) Return(v uint64) *Environment_TotalEmittedEventBytes_Call
- func (_c *Environment_TotalEmittedEventBytes_Call) Run(run func()) *Environment_TotalEmittedEventBytes_Call
- func (_c *Environment_TotalEmittedEventBytes_Call) RunAndReturn(run func() uint64) *Environment_TotalEmittedEventBytes_Call
- type Environment_TransactionFeesEnabled_Call
- func (_c *Environment_TransactionFeesEnabled_Call) Return(b bool) *Environment_TransactionFeesEnabled_Call
- func (_c *Environment_TransactionFeesEnabled_Call) Run(run func()) *Environment_TransactionFeesEnabled_Call
- func (_c *Environment_TransactionFeesEnabled_Call) RunAndReturn(run func() bool) *Environment_TransactionFeesEnabled_Call
- type Environment_TxID_Call
- type Environment_TxIndex_Call
- type Environment_UpdateAccountContractCode_Call
- func (_c *Environment_UpdateAccountContractCode_Call) Return(err error) *Environment_UpdateAccountContractCode_Call
- func (_c *Environment_UpdateAccountContractCode_Call) Run(run func(location common.AddressLocation, code []byte)) *Environment_UpdateAccountContractCode_Call
- func (_c *Environment_UpdateAccountContractCode_Call) RunAndReturn(run func(location common.AddressLocation, code []byte) error) *Environment_UpdateAccountContractCode_Call
- type Environment_ValidateAccountCapabilitiesGet_Call
- func (_c *Environment_ValidateAccountCapabilitiesGet_Call) Return(b bool, err error) *Environment_ValidateAccountCapabilitiesGet_Call
- func (_c *Environment_ValidateAccountCapabilitiesGet_Call) Run(run func(context interpreter.AccountCapabilityGetValidationContext, ...)) *Environment_ValidateAccountCapabilitiesGet_Call
- func (_c *Environment_ValidateAccountCapabilitiesGet_Call) RunAndReturn(...) *Environment_ValidateAccountCapabilitiesGet_Call
- type Environment_ValidateAccountCapabilitiesPublish_Call
- func (_c *Environment_ValidateAccountCapabilitiesPublish_Call) Return(b bool, err error) *Environment_ValidateAccountCapabilitiesPublish_Call
- func (_c *Environment_ValidateAccountCapabilitiesPublish_Call) Run(run func(context interpreter.AccountCapabilityPublishValidationContext, ...)) *Environment_ValidateAccountCapabilitiesPublish_Call
- func (_c *Environment_ValidateAccountCapabilitiesPublish_Call) RunAndReturn(...) *Environment_ValidateAccountCapabilitiesPublish_Call
- type Environment_ValidatePublicKey_Call
- func (_c *Environment_ValidatePublicKey_Call) Return(err error) *Environment_ValidatePublicKey_Call
- func (_c *Environment_ValidatePublicKey_Call) Run(run func(key *runtime.PublicKey)) *Environment_ValidatePublicKey_Call
- func (_c *Environment_ValidatePublicKey_Call) RunAndReturn(run func(key *runtime.PublicKey) error) *Environment_ValidatePublicKey_Call
- type Environment_ValueExists_Call
- func (_c *Environment_ValueExists_Call) Return(exists bool, err error) *Environment_ValueExists_Call
- func (_c *Environment_ValueExists_Call) Run(run func(owner []byte, key []byte)) *Environment_ValueExists_Call
- func (_c *Environment_ValueExists_Call) RunAndReturn(run func(owner []byte, key []byte) (bool, error)) *Environment_ValueExists_Call
- type Environment_VerifySignature_Call
- type EventEmitter
- func (_mock *EventEmitter) ConvertedServiceEvents() flow.ServiceEventList
- func (_m *EventEmitter) EXPECT() *EventEmitter_Expecter
- func (_mock *EventEmitter) EmitEvent(event cadence.Event) error
- func (_mock *EventEmitter) Events() flow.EventsList
- func (_mock *EventEmitter) Reset()
- func (_mock *EventEmitter) ServiceEvents() flow.EventsList
- type EventEmitter_ConvertedServiceEvents_Call
- func (_c *EventEmitter_ConvertedServiceEvents_Call) Return(serviceEventList flow.ServiceEventList) *EventEmitter_ConvertedServiceEvents_Call
- func (_c *EventEmitter_ConvertedServiceEvents_Call) Run(run func()) *EventEmitter_ConvertedServiceEvents_Call
- func (_c *EventEmitter_ConvertedServiceEvents_Call) RunAndReturn(run func() flow.ServiceEventList) *EventEmitter_ConvertedServiceEvents_Call
- type EventEmitter_EmitEvent_Call
- func (_c *EventEmitter_EmitEvent_Call) Return(err error) *EventEmitter_EmitEvent_Call
- func (_c *EventEmitter_EmitEvent_Call) Run(run func(event cadence.Event)) *EventEmitter_EmitEvent_Call
- func (_c *EventEmitter_EmitEvent_Call) RunAndReturn(run func(event cadence.Event) error) *EventEmitter_EmitEvent_Call
- type EventEmitter_Events_Call
- type EventEmitter_Expecter
- func (_e *EventEmitter_Expecter) ConvertedServiceEvents() *EventEmitter_ConvertedServiceEvents_Call
- func (_e *EventEmitter_Expecter) EmitEvent(event interface{}) *EventEmitter_EmitEvent_Call
- func (_e *EventEmitter_Expecter) Events() *EventEmitter_Events_Call
- func (_e *EventEmitter_Expecter) Reset() *EventEmitter_Reset_Call
- func (_e *EventEmitter_Expecter) ServiceEvents() *EventEmitter_ServiceEvents_Call
- type EventEmitter_Reset_Call
- type EventEmitter_ServiceEvents_Call
- func (_c *EventEmitter_ServiceEvents_Call) Return(eventsList flow.EventsList) *EventEmitter_ServiceEvents_Call
- func (_c *EventEmitter_ServiceEvents_Call) Run(run func()) *EventEmitter_ServiceEvents_Call
- func (_c *EventEmitter_ServiceEvents_Call) RunAndReturn(run func() flow.EventsList) *EventEmitter_ServiceEvents_Call
- type EventEncoder
- type EventEncoder_Encode_Call
- func (_c *EventEncoder_Encode_Call) Return(bytes []byte, err error) *EventEncoder_Encode_Call
- func (_c *EventEncoder_Encode_Call) Run(run func(event cadence.Event)) *EventEncoder_Encode_Call
- func (_c *EventEncoder_Encode_Call) RunAndReturn(run func(event cadence.Event) ([]byte, error)) *EventEncoder_Encode_Call
- type EventEncoder_Expecter
- type ExecutionVersionProvider
- type ExecutionVersionProvider_ExecutionVersion_Call
- func (_c *ExecutionVersionProvider_ExecutionVersion_Call) Return(version semver.Version, err error) *ExecutionVersionProvider_ExecutionVersion_Call
- func (_c *ExecutionVersionProvider_ExecutionVersion_Call) Run(run func()) *ExecutionVersionProvider_ExecutionVersion_Call
- func (_c *ExecutionVersionProvider_ExecutionVersion_Call) RunAndReturn(run func() (semver.Version, error)) *ExecutionVersionProvider_ExecutionVersion_Call
- type ExecutionVersionProvider_Expecter
- type LoggerProvider
- type LoggerProvider_Expecter
- type LoggerProvider_Logger_Call
- type Meter
- func (_mock *Meter) ComputationAvailable(computationUsage common.ComputationUsage) bool
- func (_mock *Meter) ComputationIntensities() meter.MeteredComputationIntensities
- func (_mock *Meter) ComputationRemaining(kind common.ComputationKind) uint64
- func (_mock *Meter) ComputationUsed() (uint64, error)
- func (_m *Meter) EXPECT() *Meter_Expecter
- func (_mock *Meter) MemoryUsed() (uint64, error)
- func (_mock *Meter) MeterComputation(usage common.ComputationUsage) error
- func (_mock *Meter) MeterEmittedEvent(byteSize uint64) error
- func (_mock *Meter) MeterMemory(usage common.MemoryUsage) error
- func (_mock *Meter) RunWithMeteringDisabled(f func())
- func (_mock *Meter) TotalEmittedEventBytes() uint64
- type Meter_ComputationAvailable_Call
- func (_c *Meter_ComputationAvailable_Call) Return(b bool) *Meter_ComputationAvailable_Call
- func (_c *Meter_ComputationAvailable_Call) Run(run func(computationUsage common.ComputationUsage)) *Meter_ComputationAvailable_Call
- func (_c *Meter_ComputationAvailable_Call) RunAndReturn(run func(computationUsage common.ComputationUsage) bool) *Meter_ComputationAvailable_Call
- type Meter_ComputationIntensities_Call
- func (_c *Meter_ComputationIntensities_Call) Return(meteredComputationIntensities meter.MeteredComputationIntensities) *Meter_ComputationIntensities_Call
- func (_c *Meter_ComputationIntensities_Call) Run(run func()) *Meter_ComputationIntensities_Call
- func (_c *Meter_ComputationIntensities_Call) RunAndReturn(run func() meter.MeteredComputationIntensities) *Meter_ComputationIntensities_Call
- type Meter_ComputationRemaining_Call
- func (_c *Meter_ComputationRemaining_Call) Return(v uint64) *Meter_ComputationRemaining_Call
- func (_c *Meter_ComputationRemaining_Call) Run(run func(kind common.ComputationKind)) *Meter_ComputationRemaining_Call
- func (_c *Meter_ComputationRemaining_Call) RunAndReturn(run func(kind common.ComputationKind) uint64) *Meter_ComputationRemaining_Call
- type Meter_ComputationUsed_Call
- type Meter_Expecter
- func (_e *Meter_Expecter) ComputationAvailable(computationUsage interface{}) *Meter_ComputationAvailable_Call
- func (_e *Meter_Expecter) ComputationIntensities() *Meter_ComputationIntensities_Call
- func (_e *Meter_Expecter) ComputationRemaining(kind interface{}) *Meter_ComputationRemaining_Call
- func (_e *Meter_Expecter) ComputationUsed() *Meter_ComputationUsed_Call
- func (_e *Meter_Expecter) MemoryUsed() *Meter_MemoryUsed_Call
- func (_e *Meter_Expecter) MeterComputation(usage interface{}) *Meter_MeterComputation_Call
- func (_e *Meter_Expecter) MeterEmittedEvent(byteSize interface{}) *Meter_MeterEmittedEvent_Call
- func (_e *Meter_Expecter) MeterMemory(usage interface{}) *Meter_MeterMemory_Call
- func (_e *Meter_Expecter) RunWithMeteringDisabled(f interface{}) *Meter_RunWithMeteringDisabled_Call
- func (_e *Meter_Expecter) TotalEmittedEventBytes() *Meter_TotalEmittedEventBytes_Call
- type Meter_MemoryUsed_Call
- type Meter_MeterComputation_Call
- func (_c *Meter_MeterComputation_Call) Return(err error) *Meter_MeterComputation_Call
- func (_c *Meter_MeterComputation_Call) Run(run func(usage common.ComputationUsage)) *Meter_MeterComputation_Call
- func (_c *Meter_MeterComputation_Call) RunAndReturn(run func(usage common.ComputationUsage) error) *Meter_MeterComputation_Call
- type Meter_MeterEmittedEvent_Call
- func (_c *Meter_MeterEmittedEvent_Call) Return(err error) *Meter_MeterEmittedEvent_Call
- func (_c *Meter_MeterEmittedEvent_Call) Run(run func(byteSize uint64)) *Meter_MeterEmittedEvent_Call
- func (_c *Meter_MeterEmittedEvent_Call) RunAndReturn(run func(byteSize uint64) error) *Meter_MeterEmittedEvent_Call
- type Meter_MeterMemory_Call
- type Meter_RunWithMeteringDisabled_Call
- func (_c *Meter_RunWithMeteringDisabled_Call) Return() *Meter_RunWithMeteringDisabled_Call
- func (_c *Meter_RunWithMeteringDisabled_Call) Run(run func(f func())) *Meter_RunWithMeteringDisabled_Call
- func (_c *Meter_RunWithMeteringDisabled_Call) RunAndReturn(run func(f func())) *Meter_RunWithMeteringDisabled_Call
- type Meter_TotalEmittedEventBytes_Call
- func (_c *Meter_TotalEmittedEventBytes_Call) Return(v uint64) *Meter_TotalEmittedEventBytes_Call
- func (_c *Meter_TotalEmittedEventBytes_Call) Run(run func()) *Meter_TotalEmittedEventBytes_Call
- func (_c *Meter_TotalEmittedEventBytes_Call) RunAndReturn(run func() uint64) *Meter_TotalEmittedEventBytes_Call
- type MetricsReporter
- func (_mock *MetricsReporter) EVMBlockExecuted(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)
- func (_mock *MetricsReporter) EVMTransactionExecuted(gasUsed uint64, isDirectCall bool, failed bool)
- func (_m *MetricsReporter) EXPECT() *MetricsReporter_Expecter
- func (_mock *MetricsReporter) RuntimeSetNumberOfAccounts(count uint64)
- func (_mock *MetricsReporter) RuntimeTransactionChecked(duration time.Duration)
- func (_mock *MetricsReporter) RuntimeTransactionInterpreted(duration time.Duration)
- func (_mock *MetricsReporter) RuntimeTransactionParsed(duration time.Duration)
- func (_mock *MetricsReporter) RuntimeTransactionProgramsCacheHit()
- func (_mock *MetricsReporter) RuntimeTransactionProgramsCacheMiss()
- func (_mock *MetricsReporter) SetNumberOfDeployedCOAs(count uint64)
- type MetricsReporter_EVMBlockExecuted_Call
- func (_c *MetricsReporter_EVMBlockExecuted_Call) Return() *MetricsReporter_EVMBlockExecuted_Call
- func (_c *MetricsReporter_EVMBlockExecuted_Call) Run(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *MetricsReporter_EVMBlockExecuted_Call
- func (_c *MetricsReporter_EVMBlockExecuted_Call) RunAndReturn(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *MetricsReporter_EVMBlockExecuted_Call
- type MetricsReporter_EVMTransactionExecuted_Call
- func (_c *MetricsReporter_EVMTransactionExecuted_Call) Return() *MetricsReporter_EVMTransactionExecuted_Call
- func (_c *MetricsReporter_EVMTransactionExecuted_Call) Run(run func(gasUsed uint64, isDirectCall bool, failed bool)) *MetricsReporter_EVMTransactionExecuted_Call
- func (_c *MetricsReporter_EVMTransactionExecuted_Call) RunAndReturn(run func(gasUsed uint64, isDirectCall bool, failed bool)) *MetricsReporter_EVMTransactionExecuted_Call
- type MetricsReporter_Expecter
- func (_e *MetricsReporter_Expecter) EVMBlockExecuted(txCount interface{}, totalGasUsed interface{}, totalSupplyInFlow interface{}) *MetricsReporter_EVMBlockExecuted_Call
- func (_e *MetricsReporter_Expecter) EVMTransactionExecuted(gasUsed interface{}, isDirectCall interface{}, failed interface{}) *MetricsReporter_EVMTransactionExecuted_Call
- func (_e *MetricsReporter_Expecter) RuntimeSetNumberOfAccounts(count interface{}) *MetricsReporter_RuntimeSetNumberOfAccounts_Call
- func (_e *MetricsReporter_Expecter) RuntimeTransactionChecked(duration interface{}) *MetricsReporter_RuntimeTransactionChecked_Call
- func (_e *MetricsReporter_Expecter) RuntimeTransactionInterpreted(duration interface{}) *MetricsReporter_RuntimeTransactionInterpreted_Call
- func (_e *MetricsReporter_Expecter) RuntimeTransactionParsed(duration interface{}) *MetricsReporter_RuntimeTransactionParsed_Call
- func (_e *MetricsReporter_Expecter) RuntimeTransactionProgramsCacheHit() *MetricsReporter_RuntimeTransactionProgramsCacheHit_Call
- func (_e *MetricsReporter_Expecter) RuntimeTransactionProgramsCacheMiss() *MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call
- func (_e *MetricsReporter_Expecter) SetNumberOfDeployedCOAs(count interface{}) *MetricsReporter_SetNumberOfDeployedCOAs_Call
- type MetricsReporter_RuntimeSetNumberOfAccounts_Call
- func (_c *MetricsReporter_RuntimeSetNumberOfAccounts_Call) Return() *MetricsReporter_RuntimeSetNumberOfAccounts_Call
- func (_c *MetricsReporter_RuntimeSetNumberOfAccounts_Call) Run(run func(count uint64)) *MetricsReporter_RuntimeSetNumberOfAccounts_Call
- func (_c *MetricsReporter_RuntimeSetNumberOfAccounts_Call) RunAndReturn(run func(count uint64)) *MetricsReporter_RuntimeSetNumberOfAccounts_Call
- type MetricsReporter_RuntimeTransactionChecked_Call
- func (_c *MetricsReporter_RuntimeTransactionChecked_Call) Return() *MetricsReporter_RuntimeTransactionChecked_Call
- func (_c *MetricsReporter_RuntimeTransactionChecked_Call) Run(run func(duration time.Duration)) *MetricsReporter_RuntimeTransactionChecked_Call
- func (_c *MetricsReporter_RuntimeTransactionChecked_Call) RunAndReturn(run func(duration time.Duration)) *MetricsReporter_RuntimeTransactionChecked_Call
- type MetricsReporter_RuntimeTransactionInterpreted_Call
- func (_c *MetricsReporter_RuntimeTransactionInterpreted_Call) Return() *MetricsReporter_RuntimeTransactionInterpreted_Call
- func (_c *MetricsReporter_RuntimeTransactionInterpreted_Call) Run(run func(duration time.Duration)) *MetricsReporter_RuntimeTransactionInterpreted_Call
- func (_c *MetricsReporter_RuntimeTransactionInterpreted_Call) RunAndReturn(run func(duration time.Duration)) *MetricsReporter_RuntimeTransactionInterpreted_Call
- type MetricsReporter_RuntimeTransactionParsed_Call
- func (_c *MetricsReporter_RuntimeTransactionParsed_Call) Return() *MetricsReporter_RuntimeTransactionParsed_Call
- func (_c *MetricsReporter_RuntimeTransactionParsed_Call) Run(run func(duration time.Duration)) *MetricsReporter_RuntimeTransactionParsed_Call
- func (_c *MetricsReporter_RuntimeTransactionParsed_Call) RunAndReturn(run func(duration time.Duration)) *MetricsReporter_RuntimeTransactionParsed_Call
- type MetricsReporter_RuntimeTransactionProgramsCacheHit_Call
- func (_c *MetricsReporter_RuntimeTransactionProgramsCacheHit_Call) Return() *MetricsReporter_RuntimeTransactionProgramsCacheHit_Call
- func (_c *MetricsReporter_RuntimeTransactionProgramsCacheHit_Call) Run(run func()) *MetricsReporter_RuntimeTransactionProgramsCacheHit_Call
- func (_c *MetricsReporter_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn(run func()) *MetricsReporter_RuntimeTransactionProgramsCacheHit_Call
- type MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call
- func (_c *MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) Return() *MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call
- func (_c *MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) Run(run func()) *MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call
- func (_c *MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn(run func()) *MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call
- type MetricsReporter_SetNumberOfDeployedCOAs_Call
- func (_c *MetricsReporter_SetNumberOfDeployedCOAs_Call) Return() *MetricsReporter_SetNumberOfDeployedCOAs_Call
- func (_c *MetricsReporter_SetNumberOfDeployedCOAs_Call) Run(run func(count uint64)) *MetricsReporter_SetNumberOfDeployedCOAs_Call
- func (_c *MetricsReporter_SetNumberOfDeployedCOAs_Call) RunAndReturn(run func(count uint64)) *MetricsReporter_SetNumberOfDeployedCOAs_Call
- type MinimumCadenceRequiredVersion
- type MinimumCadenceRequiredVersion_Expecter
- type MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call
- func (_c *MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call) Return(s string, err error) *MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call
- func (_c *MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call) Run(run func()) *MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call
- func (_c *MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call) RunAndReturn(run func() (string, error)) *MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call
- type RandomGenerator
- type RandomGenerator_Expecter
- type RandomGenerator_ReadRandom_Call
- func (_c *RandomGenerator_ReadRandom_Call) Return(err error) *RandomGenerator_ReadRandom_Call
- func (_c *RandomGenerator_ReadRandom_Call) Run(run func(bytes []byte)) *RandomGenerator_ReadRandom_Call
- func (_c *RandomGenerator_ReadRandom_Call) RunAndReturn(run func(bytes []byte) error) *RandomGenerator_ReadRandom_Call
- type RandomSourceHistoryProvider
- type RandomSourceHistoryProvider_Expecter
- type RandomSourceHistoryProvider_RandomSourceHistory_Call
- func (_c *RandomSourceHistoryProvider_RandomSourceHistory_Call) Return(bytes []byte, err error) *RandomSourceHistoryProvider_RandomSourceHistory_Call
- func (_c *RandomSourceHistoryProvider_RandomSourceHistory_Call) Run(run func()) *RandomSourceHistoryProvider_RandomSourceHistory_Call
- func (_c *RandomSourceHistoryProvider_RandomSourceHistory_Call) RunAndReturn(run func() ([]byte, error)) *RandomSourceHistoryProvider_RandomSourceHistory_Call
- type ReusableCadenceRuntime
- func (_mock *ReusableCadenceRuntime) CadenceScriptEnv() runtime.Environment
- func (_mock *ReusableCadenceRuntime) CadenceTXEnv() runtime.Environment
- func (_m *ReusableCadenceRuntime) EXPECT() *ReusableCadenceRuntime_Expecter
- func (_mock *ReusableCadenceRuntime) ExecuteScript(script runtime.Script, location common.Location) (cadence.Value, error)
- func (_mock *ReusableCadenceRuntime) InvokeContractFunction(contractLocation common.AddressLocation, functionName string, ...) (cadence.Value, error)
- func (_mock *ReusableCadenceRuntime) NewTransactionExecutor(script runtime.Script, location common.Location) runtime.Executor
- func (_mock *ReusableCadenceRuntime) ReadStored(address common.Address, path cadence.Path) (cadence.Value, error)
- func (_mock *ReusableCadenceRuntime) SetFvmEnvironment(fvmEnv environment.Environment)
- type ReusableCadenceRuntimeInterface
- func (_m *ReusableCadenceRuntimeInterface) CadenceScriptEnv() runtime.Environment
- func (_m *ReusableCadenceRuntimeInterface) CadenceTXEnv() runtime.Environment
- func (_m *ReusableCadenceRuntimeInterface) ExecuteScript(script runtime.Script, location common.Location) (cadence.Value, error)
- func (_m *ReusableCadenceRuntimeInterface) InvokeContractFunction(contractLocation common.AddressLocation, functionName string, ...) (cadence.Value, error)
- func (_m *ReusableCadenceRuntimeInterface) NewTransactionExecutor(script runtime.Script, location common.Location) runtime.Executor
- func (_m *ReusableCadenceRuntimeInterface) ReadStored(address common.Address, path cadence.Path) (cadence.Value, error)
- func (_m *ReusableCadenceRuntimeInterface) SetFvmEnvironment(fvmEnv environment.Environment)
- type ReusableCadenceRuntimePool
- func (_mock *ReusableCadenceRuntimePool) Borrow(fvmEnv environment.Environment, runtimeType environment.CadenceRuntimeType) environment.ReusableCadenceRuntime
- func (_m *ReusableCadenceRuntimePool) EXPECT() *ReusableCadenceRuntimePool_Expecter
- func (_mock *ReusableCadenceRuntimePool) Return(reusable environment.ReusableCadenceRuntime)
- type ReusableCadenceRuntimePool_Borrow_Call
- func (_c *ReusableCadenceRuntimePool_Borrow_Call) Return(reusableCadenceRuntime environment.ReusableCadenceRuntime) *ReusableCadenceRuntimePool_Borrow_Call
- func (_c *ReusableCadenceRuntimePool_Borrow_Call) Run(...) *ReusableCadenceRuntimePool_Borrow_Call
- func (_c *ReusableCadenceRuntimePool_Borrow_Call) RunAndReturn(...) *ReusableCadenceRuntimePool_Borrow_Call
- type ReusableCadenceRuntimePool_Expecter
- type ReusableCadenceRuntimePool_Return_Call
- func (_c *ReusableCadenceRuntimePool_Return_Call) Return() *ReusableCadenceRuntimePool_Return_Call
- func (_c *ReusableCadenceRuntimePool_Return_Call) Run(run func(reusable environment.ReusableCadenceRuntime)) *ReusableCadenceRuntimePool_Return_Call
- func (_c *ReusableCadenceRuntimePool_Return_Call) RunAndReturn(run func(reusable environment.ReusableCadenceRuntime)) *ReusableCadenceRuntimePool_Return_Call
- type ReusableCadenceRuntime_CadenceScriptEnv_Call
- func (_c *ReusableCadenceRuntime_CadenceScriptEnv_Call) Return(environment runtime.Environment) *ReusableCadenceRuntime_CadenceScriptEnv_Call
- func (_c *ReusableCadenceRuntime_CadenceScriptEnv_Call) Run(run func()) *ReusableCadenceRuntime_CadenceScriptEnv_Call
- func (_c *ReusableCadenceRuntime_CadenceScriptEnv_Call) RunAndReturn(run func() runtime.Environment) *ReusableCadenceRuntime_CadenceScriptEnv_Call
- type ReusableCadenceRuntime_CadenceTXEnv_Call
- func (_c *ReusableCadenceRuntime_CadenceTXEnv_Call) Return(environment runtime.Environment) *ReusableCadenceRuntime_CadenceTXEnv_Call
- func (_c *ReusableCadenceRuntime_CadenceTXEnv_Call) Run(run func()) *ReusableCadenceRuntime_CadenceTXEnv_Call
- func (_c *ReusableCadenceRuntime_CadenceTXEnv_Call) RunAndReturn(run func() runtime.Environment) *ReusableCadenceRuntime_CadenceTXEnv_Call
- type ReusableCadenceRuntime_ExecuteScript_Call
- func (_c *ReusableCadenceRuntime_ExecuteScript_Call) Return(value cadence.Value, err error) *ReusableCadenceRuntime_ExecuteScript_Call
- func (_c *ReusableCadenceRuntime_ExecuteScript_Call) Run(run func(script runtime.Script, location common.Location)) *ReusableCadenceRuntime_ExecuteScript_Call
- func (_c *ReusableCadenceRuntime_ExecuteScript_Call) RunAndReturn(...) *ReusableCadenceRuntime_ExecuteScript_Call
- type ReusableCadenceRuntime_Expecter
- func (_e *ReusableCadenceRuntime_Expecter) CadenceScriptEnv() *ReusableCadenceRuntime_CadenceScriptEnv_Call
- func (_e *ReusableCadenceRuntime_Expecter) CadenceTXEnv() *ReusableCadenceRuntime_CadenceTXEnv_Call
- func (_e *ReusableCadenceRuntime_Expecter) ExecuteScript(script interface{}, location interface{}) *ReusableCadenceRuntime_ExecuteScript_Call
- func (_e *ReusableCadenceRuntime_Expecter) InvokeContractFunction(contractLocation interface{}, functionName interface{}, arguments interface{}, ...) *ReusableCadenceRuntime_InvokeContractFunction_Call
- func (_e *ReusableCadenceRuntime_Expecter) NewTransactionExecutor(script interface{}, location interface{}) *ReusableCadenceRuntime_NewTransactionExecutor_Call
- func (_e *ReusableCadenceRuntime_Expecter) ReadStored(address interface{}, path interface{}) *ReusableCadenceRuntime_ReadStored_Call
- func (_e *ReusableCadenceRuntime_Expecter) SetFvmEnvironment(fvmEnv interface{}) *ReusableCadenceRuntime_SetFvmEnvironment_Call
- type ReusableCadenceRuntime_InvokeContractFunction_Call
- func (_c *ReusableCadenceRuntime_InvokeContractFunction_Call) Return(value cadence.Value, err error) *ReusableCadenceRuntime_InvokeContractFunction_Call
- func (_c *ReusableCadenceRuntime_InvokeContractFunction_Call) Run(run func(contractLocation common.AddressLocation, functionName string, ...)) *ReusableCadenceRuntime_InvokeContractFunction_Call
- func (_c *ReusableCadenceRuntime_InvokeContractFunction_Call) RunAndReturn(...) *ReusableCadenceRuntime_InvokeContractFunction_Call
- type ReusableCadenceRuntime_NewTransactionExecutor_Call
- func (_c *ReusableCadenceRuntime_NewTransactionExecutor_Call) Return(executor runtime.Executor) *ReusableCadenceRuntime_NewTransactionExecutor_Call
- func (_c *ReusableCadenceRuntime_NewTransactionExecutor_Call) Run(run func(script runtime.Script, location common.Location)) *ReusableCadenceRuntime_NewTransactionExecutor_Call
- func (_c *ReusableCadenceRuntime_NewTransactionExecutor_Call) RunAndReturn(run func(script runtime.Script, location common.Location) runtime.Executor) *ReusableCadenceRuntime_NewTransactionExecutor_Call
- type ReusableCadenceRuntime_ReadStored_Call
- func (_c *ReusableCadenceRuntime_ReadStored_Call) Return(value cadence.Value, err error) *ReusableCadenceRuntime_ReadStored_Call
- func (_c *ReusableCadenceRuntime_ReadStored_Call) Run(run func(address common.Address, path cadence.Path)) *ReusableCadenceRuntime_ReadStored_Call
- func (_c *ReusableCadenceRuntime_ReadStored_Call) RunAndReturn(run func(address common.Address, path cadence.Path) (cadence.Value, error)) *ReusableCadenceRuntime_ReadStored_Call
- type ReusableCadenceRuntime_SetFvmEnvironment_Call
- func (_c *ReusableCadenceRuntime_SetFvmEnvironment_Call) Return() *ReusableCadenceRuntime_SetFvmEnvironment_Call
- func (_c *ReusableCadenceRuntime_SetFvmEnvironment_Call) Run(run func(fvmEnv environment.Environment)) *ReusableCadenceRuntime_SetFvmEnvironment_Call
- func (_c *ReusableCadenceRuntime_SetFvmEnvironment_Call) RunAndReturn(run func(fvmEnv environment.Environment)) *ReusableCadenceRuntime_SetFvmEnvironment_Call
- type RuntimeMetricsReporter
- func (_m *RuntimeMetricsReporter) EXPECT() *RuntimeMetricsReporter_Expecter
- func (_mock *RuntimeMetricsReporter) RuntimeSetNumberOfAccounts(count uint64)
- func (_mock *RuntimeMetricsReporter) RuntimeTransactionChecked(duration time.Duration)
- func (_mock *RuntimeMetricsReporter) RuntimeTransactionInterpreted(duration time.Duration)
- func (_mock *RuntimeMetricsReporter) RuntimeTransactionParsed(duration time.Duration)
- func (_mock *RuntimeMetricsReporter) RuntimeTransactionProgramsCacheHit()
- func (_mock *RuntimeMetricsReporter) RuntimeTransactionProgramsCacheMiss()
- type RuntimeMetricsReporter_Expecter
- func (_e *RuntimeMetricsReporter_Expecter) RuntimeSetNumberOfAccounts(count interface{}) *RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call
- func (_e *RuntimeMetricsReporter_Expecter) RuntimeTransactionChecked(duration interface{}) *RuntimeMetricsReporter_RuntimeTransactionChecked_Call
- func (_e *RuntimeMetricsReporter_Expecter) RuntimeTransactionInterpreted(duration interface{}) *RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call
- func (_e *RuntimeMetricsReporter_Expecter) RuntimeTransactionParsed(duration interface{}) *RuntimeMetricsReporter_RuntimeTransactionParsed_Call
- func (_e *RuntimeMetricsReporter_Expecter) RuntimeTransactionProgramsCacheHit() *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call
- func (_e *RuntimeMetricsReporter_Expecter) RuntimeTransactionProgramsCacheMiss() *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call
- type RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call
- func (_c *RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call) Return() *RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call
- func (_c *RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call) Run(run func(count uint64)) *RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call
- func (_c *RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call) RunAndReturn(run func(count uint64)) *RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call
- type RuntimeMetricsReporter_RuntimeTransactionChecked_Call
- func (_c *RuntimeMetricsReporter_RuntimeTransactionChecked_Call) Return() *RuntimeMetricsReporter_RuntimeTransactionChecked_Call
- func (_c *RuntimeMetricsReporter_RuntimeTransactionChecked_Call) Run(run func(duration time.Duration)) *RuntimeMetricsReporter_RuntimeTransactionChecked_Call
- func (_c *RuntimeMetricsReporter_RuntimeTransactionChecked_Call) RunAndReturn(run func(duration time.Duration)) *RuntimeMetricsReporter_RuntimeTransactionChecked_Call
- type RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call
- func (_c *RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call) Return() *RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call
- func (_c *RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call) Run(run func(duration time.Duration)) *RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call
- func (_c *RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call) RunAndReturn(run func(duration time.Duration)) *RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call
- type RuntimeMetricsReporter_RuntimeTransactionParsed_Call
- func (_c *RuntimeMetricsReporter_RuntimeTransactionParsed_Call) Return() *RuntimeMetricsReporter_RuntimeTransactionParsed_Call
- func (_c *RuntimeMetricsReporter_RuntimeTransactionParsed_Call) Run(run func(duration time.Duration)) *RuntimeMetricsReporter_RuntimeTransactionParsed_Call
- func (_c *RuntimeMetricsReporter_RuntimeTransactionParsed_Call) RunAndReturn(run func(duration time.Duration)) *RuntimeMetricsReporter_RuntimeTransactionParsed_Call
- type RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call
- func (_c *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call) Return() *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call
- func (_c *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call) Run(run func()) *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call
- func (_c *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn(run func()) *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call
- type RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call
- func (_c *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) Return() *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call
- func (_c *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) Run(run func()) *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call
- func (_c *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn(run func()) *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call
- type Tracer
- type Tracer_Expecter
- type Tracer_StartChildSpan_Call
- func (_c *Tracer_StartChildSpan_Call) Return(tracerSpan tracing.TracerSpan) *Tracer_StartChildSpan_Call
- func (_c *Tracer_StartChildSpan_Call) Run(run func(name trace.SpanName, options ...trace0.SpanStartOption)) *Tracer_StartChildSpan_Call
- func (_c *Tracer_StartChildSpan_Call) RunAndReturn(...) *Tracer_StartChildSpan_Call
- type TransactionInfo
- func (_m *TransactionInfo) EXPECT() *TransactionInfo_Expecter
- func (_mock *TransactionInfo) GetSigningAccounts() ([]common.Address, error)
- func (_mock *TransactionInfo) IsServiceAccountAuthorizer() bool
- func (_mock *TransactionInfo) LimitAccountStorage() bool
- func (_mock *TransactionInfo) TransactionFeesEnabled() bool
- func (_mock *TransactionInfo) TxID() flow.Identifier
- func (_mock *TransactionInfo) TxIndex() uint32
- type TransactionInfo_Expecter
- func (_e *TransactionInfo_Expecter) GetSigningAccounts() *TransactionInfo_GetSigningAccounts_Call
- func (_e *TransactionInfo_Expecter) IsServiceAccountAuthorizer() *TransactionInfo_IsServiceAccountAuthorizer_Call
- func (_e *TransactionInfo_Expecter) LimitAccountStorage() *TransactionInfo_LimitAccountStorage_Call
- func (_e *TransactionInfo_Expecter) TransactionFeesEnabled() *TransactionInfo_TransactionFeesEnabled_Call
- func (_e *TransactionInfo_Expecter) TxID() *TransactionInfo_TxID_Call
- func (_e *TransactionInfo_Expecter) TxIndex() *TransactionInfo_TxIndex_Call
- type TransactionInfo_GetSigningAccounts_Call
- func (_c *TransactionInfo_GetSigningAccounts_Call) Return(addresss []common.Address, err error) *TransactionInfo_GetSigningAccounts_Call
- func (_c *TransactionInfo_GetSigningAccounts_Call) Run(run func()) *TransactionInfo_GetSigningAccounts_Call
- func (_c *TransactionInfo_GetSigningAccounts_Call) RunAndReturn(run func() ([]common.Address, error)) *TransactionInfo_GetSigningAccounts_Call
- type TransactionInfo_IsServiceAccountAuthorizer_Call
- func (_c *TransactionInfo_IsServiceAccountAuthorizer_Call) Return(b bool) *TransactionInfo_IsServiceAccountAuthorizer_Call
- func (_c *TransactionInfo_IsServiceAccountAuthorizer_Call) Run(run func()) *TransactionInfo_IsServiceAccountAuthorizer_Call
- func (_c *TransactionInfo_IsServiceAccountAuthorizer_Call) RunAndReturn(run func() bool) *TransactionInfo_IsServiceAccountAuthorizer_Call
- type TransactionInfo_LimitAccountStorage_Call
- func (_c *TransactionInfo_LimitAccountStorage_Call) Return(b bool) *TransactionInfo_LimitAccountStorage_Call
- func (_c *TransactionInfo_LimitAccountStorage_Call) Run(run func()) *TransactionInfo_LimitAccountStorage_Call
- func (_c *TransactionInfo_LimitAccountStorage_Call) RunAndReturn(run func() bool) *TransactionInfo_LimitAccountStorage_Call
- type TransactionInfo_TransactionFeesEnabled_Call
- func (_c *TransactionInfo_TransactionFeesEnabled_Call) Return(b bool) *TransactionInfo_TransactionFeesEnabled_Call
- func (_c *TransactionInfo_TransactionFeesEnabled_Call) Run(run func()) *TransactionInfo_TransactionFeesEnabled_Call
- func (_c *TransactionInfo_TransactionFeesEnabled_Call) RunAndReturn(run func() bool) *TransactionInfo_TransactionFeesEnabled_Call
- type TransactionInfo_TxID_Call
- type TransactionInfo_TxIndex_Call
- type UUIDGenerator
- type UUIDGenerator_Expecter
- type UUIDGenerator_GenerateUUID_Call
- func (_c *UUIDGenerator_GenerateUUID_Call) Return(v uint64, err error) *UUIDGenerator_GenerateUUID_Call
- func (_c *UUIDGenerator_GenerateUUID_Call) Run(run func()) *UUIDGenerator_GenerateUUID_Call
- func (_c *UUIDGenerator_GenerateUUID_Call) RunAndReturn(run func() (uint64, error)) *UUIDGenerator_GenerateUUID_Call
- type ValueStore
- func (_mock *ValueStore) AllocateSlabIndex(owner []byte) (atree.SlabIndex, error)
- func (_m *ValueStore) EXPECT() *ValueStore_Expecter
- func (_mock *ValueStore) GetValue(owner []byte, key []byte) ([]byte, error)
- func (_mock *ValueStore) SetValue(owner []byte, key []byte, value []byte) error
- func (_mock *ValueStore) ValueExists(owner []byte, key []byte) (bool, error)
- type ValueStore_AllocateSlabIndex_Call
- func (_c *ValueStore_AllocateSlabIndex_Call) Return(slabIndex atree.SlabIndex, err error) *ValueStore_AllocateSlabIndex_Call
- func (_c *ValueStore_AllocateSlabIndex_Call) Run(run func(owner []byte)) *ValueStore_AllocateSlabIndex_Call
- func (_c *ValueStore_AllocateSlabIndex_Call) RunAndReturn(run func(owner []byte) (atree.SlabIndex, error)) *ValueStore_AllocateSlabIndex_Call
- type ValueStore_Expecter
- func (_e *ValueStore_Expecter) AllocateSlabIndex(owner interface{}) *ValueStore_AllocateSlabIndex_Call
- func (_e *ValueStore_Expecter) GetValue(owner interface{}, key interface{}) *ValueStore_GetValue_Call
- func (_e *ValueStore_Expecter) SetValue(owner interface{}, key interface{}, value interface{}) *ValueStore_SetValue_Call
- func (_e *ValueStore_Expecter) ValueExists(owner interface{}, key interface{}) *ValueStore_ValueExists_Call
- type ValueStore_GetValue_Call
- func (_c *ValueStore_GetValue_Call) Return(bytes []byte, err error) *ValueStore_GetValue_Call
- func (_c *ValueStore_GetValue_Call) Run(run func(owner []byte, key []byte)) *ValueStore_GetValue_Call
- func (_c *ValueStore_GetValue_Call) RunAndReturn(run func(owner []byte, key []byte) ([]byte, error)) *ValueStore_GetValue_Call
- type ValueStore_SetValue_Call
- func (_c *ValueStore_SetValue_Call) Return(err error) *ValueStore_SetValue_Call
- func (_c *ValueStore_SetValue_Call) Run(run func(owner []byte, key []byte, value []byte)) *ValueStore_SetValue_Call
- func (_c *ValueStore_SetValue_Call) RunAndReturn(run func(owner []byte, key []byte, value []byte) error) *ValueStore_SetValue_Call
- type ValueStore_ValueExists_Call
- func (_c *ValueStore_ValueExists_Call) Return(b bool, err error) *ValueStore_ValueExists_Call
- func (_c *ValueStore_ValueExists_Call) Run(run func(owner []byte, key []byte)) *ValueStore_ValueExists_Call
- func (_c *ValueStore_ValueExists_Call) RunAndReturn(run func(owner []byte, key []byte) (bool, error)) *ValueStore_ValueExists_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCreator ¶
AccountCreator is an autogenerated mock type for the AccountCreator type
func NewAccountCreator ¶
func NewAccountCreator(t interface {
mock.TestingT
Cleanup(func())
}) *AccountCreator
NewAccountCreator creates a new instance of AccountCreator. 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 (*AccountCreator) CreateAccount ¶
CreateAccount provides a mock function for the type AccountCreator
func (*AccountCreator) EXPECT ¶ added in v0.46.0
func (_m *AccountCreator) EXPECT() *AccountCreator_Expecter
type AccountCreator_CreateAccount_Call ¶ added in v0.46.0
AccountCreator_CreateAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAccount'
func (*AccountCreator_CreateAccount_Call) Return ¶ added in v0.46.0
func (_c *AccountCreator_CreateAccount_Call) Return(address common.Address, err error) *AccountCreator_CreateAccount_Call
func (*AccountCreator_CreateAccount_Call) Run ¶ added in v0.46.0
func (_c *AccountCreator_CreateAccount_Call) Run(run func(runtimePayer common.Address)) *AccountCreator_CreateAccount_Call
func (*AccountCreator_CreateAccount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountCreator_CreateAccount_Call) RunAndReturn(run func(runtimePayer common.Address) (common.Address, error)) *AccountCreator_CreateAccount_Call
type AccountCreator_Expecter ¶ added in v0.46.0
type AccountCreator_Expecter struct {
// contains filtered or unexported fields
}
func (*AccountCreator_Expecter) CreateAccount ¶ added in v0.46.0
func (_e *AccountCreator_Expecter) CreateAccount(runtimePayer interface{}) *AccountCreator_CreateAccount_Call
CreateAccount is a helper method to define mock.On call
- runtimePayer common.Address
type AccountInfo ¶
AccountInfo is an autogenerated mock type for the AccountInfo type
func NewAccountInfo ¶
func NewAccountInfo(t interface {
mock.TestingT
Cleanup(func())
}) *AccountInfo
NewAccountInfo creates a new instance of AccountInfo. 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 (*AccountInfo) EXPECT ¶ added in v0.46.0
func (_m *AccountInfo) EXPECT() *AccountInfo_Expecter
func (*AccountInfo) GetAccount ¶
GetAccount provides a mock function for the type AccountInfo
func (*AccountInfo) GetAccountAvailableBalance ¶
func (_mock *AccountInfo) GetAccountAvailableBalance(runtimeAddress common.Address) (uint64, error)
GetAccountAvailableBalance provides a mock function for the type AccountInfo
func (*AccountInfo) GetAccountBalance ¶
func (_mock *AccountInfo) GetAccountBalance(runtimeAddress common.Address) (uint64, error)
GetAccountBalance provides a mock function for the type AccountInfo
func (*AccountInfo) GetAccountKeyByIndex ¶ added in v0.36.1
func (_mock *AccountInfo) GetAccountKeyByIndex(address flow.Address, index uint32) (*flow.AccountPublicKey, error)
GetAccountKeyByIndex provides a mock function for the type AccountInfo
func (*AccountInfo) GetAccountKeys ¶ added in v0.35.17
func (_mock *AccountInfo) GetAccountKeys(address flow.Address) ([]flow.AccountPublicKey, error)
GetAccountKeys provides a mock function for the type AccountInfo
func (*AccountInfo) GetStorageCapacity ¶
func (_mock *AccountInfo) GetStorageCapacity(runtimeAddress common.Address) (uint64, error)
GetStorageCapacity provides a mock function for the type AccountInfo
func (*AccountInfo) GetStorageUsed ¶
func (_mock *AccountInfo) GetStorageUsed(runtimeAddress common.Address) (uint64, error)
GetStorageUsed provides a mock function for the type AccountInfo
type AccountInfo_Expecter ¶ added in v0.46.0
type AccountInfo_Expecter struct {
// contains filtered or unexported fields
}
func (*AccountInfo_Expecter) GetAccount ¶ added in v0.46.0
func (_e *AccountInfo_Expecter) GetAccount(address interface{}) *AccountInfo_GetAccount_Call
GetAccount is a helper method to define mock.On call
- address flow.Address
func (*AccountInfo_Expecter) GetAccountAvailableBalance ¶ added in v0.46.0
func (_e *AccountInfo_Expecter) GetAccountAvailableBalance(runtimeAddress interface{}) *AccountInfo_GetAccountAvailableBalance_Call
GetAccountAvailableBalance is a helper method to define mock.On call
- runtimeAddress common.Address
func (*AccountInfo_Expecter) GetAccountBalance ¶ added in v0.46.0
func (_e *AccountInfo_Expecter) GetAccountBalance(runtimeAddress interface{}) *AccountInfo_GetAccountBalance_Call
GetAccountBalance is a helper method to define mock.On call
- runtimeAddress common.Address
func (*AccountInfo_Expecter) GetAccountKeyByIndex ¶ added in v0.46.0
func (_e *AccountInfo_Expecter) GetAccountKeyByIndex(address interface{}, index interface{}) *AccountInfo_GetAccountKeyByIndex_Call
GetAccountKeyByIndex is a helper method to define mock.On call
- address flow.Address
- index uint32
func (*AccountInfo_Expecter) GetAccountKeys ¶ added in v0.46.0
func (_e *AccountInfo_Expecter) GetAccountKeys(address interface{}) *AccountInfo_GetAccountKeys_Call
GetAccountKeys is a helper method to define mock.On call
- address flow.Address
func (*AccountInfo_Expecter) GetStorageCapacity ¶ added in v0.46.0
func (_e *AccountInfo_Expecter) GetStorageCapacity(runtimeAddress interface{}) *AccountInfo_GetStorageCapacity_Call
GetStorageCapacity is a helper method to define mock.On call
- runtimeAddress common.Address
func (*AccountInfo_Expecter) GetStorageUsed ¶ added in v0.46.0
func (_e *AccountInfo_Expecter) GetStorageUsed(runtimeAddress interface{}) *AccountInfo_GetStorageUsed_Call
GetStorageUsed is a helper method to define mock.On call
- runtimeAddress common.Address
type AccountInfo_GetAccountAvailableBalance_Call ¶ added in v0.46.0
AccountInfo_GetAccountAvailableBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountAvailableBalance'
func (*AccountInfo_GetAccountAvailableBalance_Call) Return ¶ added in v0.46.0
func (_c *AccountInfo_GetAccountAvailableBalance_Call) Return(v uint64, err error) *AccountInfo_GetAccountAvailableBalance_Call
func (*AccountInfo_GetAccountAvailableBalance_Call) Run ¶ added in v0.46.0
func (_c *AccountInfo_GetAccountAvailableBalance_Call) Run(run func(runtimeAddress common.Address)) *AccountInfo_GetAccountAvailableBalance_Call
func (*AccountInfo_GetAccountAvailableBalance_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountInfo_GetAccountAvailableBalance_Call) RunAndReturn(run func(runtimeAddress common.Address) (uint64, error)) *AccountInfo_GetAccountAvailableBalance_Call
type AccountInfo_GetAccountBalance_Call ¶ added in v0.46.0
AccountInfo_GetAccountBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountBalance'
func (*AccountInfo_GetAccountBalance_Call) Return ¶ added in v0.46.0
func (_c *AccountInfo_GetAccountBalance_Call) Return(v uint64, err error) *AccountInfo_GetAccountBalance_Call
func (*AccountInfo_GetAccountBalance_Call) Run ¶ added in v0.46.0
func (_c *AccountInfo_GetAccountBalance_Call) Run(run func(runtimeAddress common.Address)) *AccountInfo_GetAccountBalance_Call
func (*AccountInfo_GetAccountBalance_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountInfo_GetAccountBalance_Call) RunAndReturn(run func(runtimeAddress common.Address) (uint64, error)) *AccountInfo_GetAccountBalance_Call
type AccountInfo_GetAccountKeyByIndex_Call ¶ added in v0.46.0
AccountInfo_GetAccountKeyByIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountKeyByIndex'
func (*AccountInfo_GetAccountKeyByIndex_Call) Return ¶ added in v0.46.0
func (_c *AccountInfo_GetAccountKeyByIndex_Call) Return(accountPublicKey *flow.AccountPublicKey, err error) *AccountInfo_GetAccountKeyByIndex_Call
func (*AccountInfo_GetAccountKeyByIndex_Call) Run ¶ added in v0.46.0
func (_c *AccountInfo_GetAccountKeyByIndex_Call) Run(run func(address flow.Address, index uint32)) *AccountInfo_GetAccountKeyByIndex_Call
func (*AccountInfo_GetAccountKeyByIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountInfo_GetAccountKeyByIndex_Call) RunAndReturn(run func(address flow.Address, index uint32) (*flow.AccountPublicKey, error)) *AccountInfo_GetAccountKeyByIndex_Call
type AccountInfo_GetAccountKeys_Call ¶ added in v0.46.0
AccountInfo_GetAccountKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountKeys'
func (*AccountInfo_GetAccountKeys_Call) Return ¶ added in v0.46.0
func (_c *AccountInfo_GetAccountKeys_Call) Return(accountPublicKeys []flow.AccountPublicKey, err error) *AccountInfo_GetAccountKeys_Call
func (*AccountInfo_GetAccountKeys_Call) Run ¶ added in v0.46.0
func (_c *AccountInfo_GetAccountKeys_Call) Run(run func(address flow.Address)) *AccountInfo_GetAccountKeys_Call
func (*AccountInfo_GetAccountKeys_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountInfo_GetAccountKeys_Call) RunAndReturn(run func(address flow.Address) ([]flow.AccountPublicKey, error)) *AccountInfo_GetAccountKeys_Call
type AccountInfo_GetAccount_Call ¶ added in v0.46.0
AccountInfo_GetAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccount'
func (*AccountInfo_GetAccount_Call) Return ¶ added in v0.46.0
func (_c *AccountInfo_GetAccount_Call) Return(account *flow.Account, err error) *AccountInfo_GetAccount_Call
func (*AccountInfo_GetAccount_Call) Run ¶ added in v0.46.0
func (_c *AccountInfo_GetAccount_Call) Run(run func(address flow.Address)) *AccountInfo_GetAccount_Call
func (*AccountInfo_GetAccount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountInfo_GetAccount_Call) RunAndReturn(run func(address flow.Address) (*flow.Account, error)) *AccountInfo_GetAccount_Call
type AccountInfo_GetStorageCapacity_Call ¶ added in v0.46.0
AccountInfo_GetStorageCapacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStorageCapacity'
func (*AccountInfo_GetStorageCapacity_Call) Return ¶ added in v0.46.0
func (_c *AccountInfo_GetStorageCapacity_Call) Return(v uint64, err error) *AccountInfo_GetStorageCapacity_Call
func (*AccountInfo_GetStorageCapacity_Call) Run ¶ added in v0.46.0
func (_c *AccountInfo_GetStorageCapacity_Call) Run(run func(runtimeAddress common.Address)) *AccountInfo_GetStorageCapacity_Call
func (*AccountInfo_GetStorageCapacity_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountInfo_GetStorageCapacity_Call) RunAndReturn(run func(runtimeAddress common.Address) (uint64, error)) *AccountInfo_GetStorageCapacity_Call
type AccountInfo_GetStorageUsed_Call ¶ added in v0.46.0
AccountInfo_GetStorageUsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStorageUsed'
func (*AccountInfo_GetStorageUsed_Call) Return ¶ added in v0.46.0
func (_c *AccountInfo_GetStorageUsed_Call) Return(v uint64, err error) *AccountInfo_GetStorageUsed_Call
func (*AccountInfo_GetStorageUsed_Call) Run ¶ added in v0.46.0
func (_c *AccountInfo_GetStorageUsed_Call) Run(run func(runtimeAddress common.Address)) *AccountInfo_GetStorageUsed_Call
func (*AccountInfo_GetStorageUsed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountInfo_GetStorageUsed_Call) RunAndReturn(run func(runtimeAddress common.Address) (uint64, error)) *AccountInfo_GetStorageUsed_Call
type AccountKeyReader ¶ added in v0.28.7
AccountKeyReader is an autogenerated mock type for the AccountKeyReader type
func NewAccountKeyReader ¶ added in v0.28.7
func NewAccountKeyReader(t interface {
mock.TestingT
Cleanup(func())
}) *AccountKeyReader
NewAccountKeyReader creates a new instance of AccountKeyReader. 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 (*AccountKeyReader) AccountKeysCount ¶ added in v0.29.0
func (_mock *AccountKeyReader) AccountKeysCount(runtimeAddress common.Address) (uint32, error)
AccountKeysCount provides a mock function for the type AccountKeyReader
func (*AccountKeyReader) EXPECT ¶ added in v0.46.0
func (_m *AccountKeyReader) EXPECT() *AccountKeyReader_Expecter
func (*AccountKeyReader) GetAccountKey ¶ added in v0.28.7
func (_mock *AccountKeyReader) GetAccountKey(runtimeAddress common.Address, keyIndex uint32) (*runtime.AccountKey, error)
GetAccountKey provides a mock function for the type AccountKeyReader
type AccountKeyReader_AccountKeysCount_Call ¶ added in v0.46.0
AccountKeyReader_AccountKeysCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountKeysCount'
func (*AccountKeyReader_AccountKeysCount_Call) Return ¶ added in v0.46.0
func (_c *AccountKeyReader_AccountKeysCount_Call) Return(v uint32, err error) *AccountKeyReader_AccountKeysCount_Call
func (*AccountKeyReader_AccountKeysCount_Call) Run ¶ added in v0.46.0
func (_c *AccountKeyReader_AccountKeysCount_Call) Run(run func(runtimeAddress common.Address)) *AccountKeyReader_AccountKeysCount_Call
func (*AccountKeyReader_AccountKeysCount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountKeyReader_AccountKeysCount_Call) RunAndReturn(run func(runtimeAddress common.Address) (uint32, error)) *AccountKeyReader_AccountKeysCount_Call
type AccountKeyReader_Expecter ¶ added in v0.46.0
type AccountKeyReader_Expecter struct {
// contains filtered or unexported fields
}
func (*AccountKeyReader_Expecter) AccountKeysCount ¶ added in v0.46.0
func (_e *AccountKeyReader_Expecter) AccountKeysCount(runtimeAddress interface{}) *AccountKeyReader_AccountKeysCount_Call
AccountKeysCount is a helper method to define mock.On call
- runtimeAddress common.Address
func (*AccountKeyReader_Expecter) GetAccountKey ¶ added in v0.46.0
func (_e *AccountKeyReader_Expecter) GetAccountKey(runtimeAddress interface{}, keyIndex interface{}) *AccountKeyReader_GetAccountKey_Call
GetAccountKey is a helper method to define mock.On call
- runtimeAddress common.Address
- keyIndex uint32
type AccountKeyReader_GetAccountKey_Call ¶ added in v0.46.0
AccountKeyReader_GetAccountKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountKey'
func (*AccountKeyReader_GetAccountKey_Call) Return ¶ added in v0.46.0
func (_c *AccountKeyReader_GetAccountKey_Call) Return(v *runtime.AccountKey, err error) *AccountKeyReader_GetAccountKey_Call
func (*AccountKeyReader_GetAccountKey_Call) Run ¶ added in v0.46.0
func (_c *AccountKeyReader_GetAccountKey_Call) Run(run func(runtimeAddress common.Address, keyIndex uint32)) *AccountKeyReader_GetAccountKey_Call
func (*AccountKeyReader_GetAccountKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountKeyReader_GetAccountKey_Call) RunAndReturn(run func(runtimeAddress common.Address, keyIndex uint32) (*runtime.AccountKey, error)) *AccountKeyReader_GetAccountKey_Call
type AccountKeyUpdater ¶
AccountKeyUpdater is an autogenerated mock type for the AccountKeyUpdater type
func NewAccountKeyUpdater ¶
func NewAccountKeyUpdater(t interface {
mock.TestingT
Cleanup(func())
}) *AccountKeyUpdater
NewAccountKeyUpdater creates a new instance of AccountKeyUpdater. 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 (*AccountKeyUpdater) AddAccountKey ¶
func (_mock *AccountKeyUpdater) AddAccountKey(runtimeAddress common.Address, publicKey *runtime.PublicKey, hashAlgo runtime.HashAlgorithm, weight int) (*runtime.AccountKey, error)
AddAccountKey provides a mock function for the type AccountKeyUpdater
func (*AccountKeyUpdater) EXPECT ¶ added in v0.46.0
func (_m *AccountKeyUpdater) EXPECT() *AccountKeyUpdater_Expecter
func (*AccountKeyUpdater) RevokeAccountKey ¶
func (_mock *AccountKeyUpdater) RevokeAccountKey(runtimeAddress common.Address, keyIndex uint32) (*runtime.AccountKey, error)
RevokeAccountKey provides a mock function for the type AccountKeyUpdater
type AccountKeyUpdater_AddAccountKey_Call ¶ added in v0.46.0
AccountKeyUpdater_AddAccountKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddAccountKey'
func (*AccountKeyUpdater_AddAccountKey_Call) Return ¶ added in v0.46.0
func (_c *AccountKeyUpdater_AddAccountKey_Call) Return(v *runtime.AccountKey, err error) *AccountKeyUpdater_AddAccountKey_Call
func (*AccountKeyUpdater_AddAccountKey_Call) Run ¶ added in v0.46.0
func (_c *AccountKeyUpdater_AddAccountKey_Call) Run(run func(runtimeAddress common.Address, publicKey *runtime.PublicKey, hashAlgo runtime.HashAlgorithm, weight int)) *AccountKeyUpdater_AddAccountKey_Call
func (*AccountKeyUpdater_AddAccountKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountKeyUpdater_AddAccountKey_Call) RunAndReturn(run func(runtimeAddress common.Address, publicKey *runtime.PublicKey, hashAlgo runtime.HashAlgorithm, weight int) (*runtime.AccountKey, error)) *AccountKeyUpdater_AddAccountKey_Call
type AccountKeyUpdater_Expecter ¶ added in v0.46.0
type AccountKeyUpdater_Expecter struct {
// contains filtered or unexported fields
}
func (*AccountKeyUpdater_Expecter) AddAccountKey ¶ added in v0.46.0
func (_e *AccountKeyUpdater_Expecter) AddAccountKey(runtimeAddress interface{}, publicKey interface{}, hashAlgo interface{}, weight interface{}) *AccountKeyUpdater_AddAccountKey_Call
AddAccountKey is a helper method to define mock.On call
- runtimeAddress common.Address
- publicKey *runtime.PublicKey
- hashAlgo runtime.HashAlgorithm
- weight int
func (*AccountKeyUpdater_Expecter) RevokeAccountKey ¶ added in v0.46.0
func (_e *AccountKeyUpdater_Expecter) RevokeAccountKey(runtimeAddress interface{}, keyIndex interface{}) *AccountKeyUpdater_RevokeAccountKey_Call
RevokeAccountKey is a helper method to define mock.On call
- runtimeAddress common.Address
- keyIndex uint32
type AccountKeyUpdater_RevokeAccountKey_Call ¶ added in v0.46.0
AccountKeyUpdater_RevokeAccountKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeAccountKey'
func (*AccountKeyUpdater_RevokeAccountKey_Call) Return ¶ added in v0.46.0
func (_c *AccountKeyUpdater_RevokeAccountKey_Call) Return(v *runtime.AccountKey, err error) *AccountKeyUpdater_RevokeAccountKey_Call
func (*AccountKeyUpdater_RevokeAccountKey_Call) Run ¶ added in v0.46.0
func (_c *AccountKeyUpdater_RevokeAccountKey_Call) Run(run func(runtimeAddress common.Address, keyIndex uint32)) *AccountKeyUpdater_RevokeAccountKey_Call
func (*AccountKeyUpdater_RevokeAccountKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountKeyUpdater_RevokeAccountKey_Call) RunAndReturn(run func(runtimeAddress common.Address, keyIndex uint32) (*runtime.AccountKey, error)) *AccountKeyUpdater_RevokeAccountKey_Call
type AccountLocalIDGenerator ¶ added in v0.31.0
AccountLocalIDGenerator is an autogenerated mock type for the AccountLocalIDGenerator type
func NewAccountLocalIDGenerator ¶ added in v0.31.0
func NewAccountLocalIDGenerator(t interface {
mock.TestingT
Cleanup(func())
}) *AccountLocalIDGenerator
NewAccountLocalIDGenerator creates a new instance of AccountLocalIDGenerator. 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 (*AccountLocalIDGenerator) EXPECT ¶ added in v0.46.0
func (_m *AccountLocalIDGenerator) EXPECT() *AccountLocalIDGenerator_Expecter
func (*AccountLocalIDGenerator) GenerateAccountID ¶ added in v0.31.0
func (_mock *AccountLocalIDGenerator) GenerateAccountID(address common.Address) (uint64, error)
GenerateAccountID provides a mock function for the type AccountLocalIDGenerator
type AccountLocalIDGenerator_Expecter ¶ added in v0.46.0
type AccountLocalIDGenerator_Expecter struct {
// contains filtered or unexported fields
}
func (*AccountLocalIDGenerator_Expecter) GenerateAccountID ¶ added in v0.46.0
func (_e *AccountLocalIDGenerator_Expecter) GenerateAccountID(address interface{}) *AccountLocalIDGenerator_GenerateAccountID_Call
GenerateAccountID is a helper method to define mock.On call
- address common.Address
type AccountLocalIDGenerator_GenerateAccountID_Call ¶ added in v0.46.0
AccountLocalIDGenerator_GenerateAccountID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateAccountID'
func (*AccountLocalIDGenerator_GenerateAccountID_Call) Return ¶ added in v0.46.0
func (_c *AccountLocalIDGenerator_GenerateAccountID_Call) Return(v uint64, err error) *AccountLocalIDGenerator_GenerateAccountID_Call
func (*AccountLocalIDGenerator_GenerateAccountID_Call) Run ¶ added in v0.46.0
func (_c *AccountLocalIDGenerator_GenerateAccountID_Call) Run(run func(address common.Address)) *AccountLocalIDGenerator_GenerateAccountID_Call
func (*AccountLocalIDGenerator_GenerateAccountID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AccountLocalIDGenerator_GenerateAccountID_Call) RunAndReturn(run func(address common.Address) (uint64, error)) *AccountLocalIDGenerator_GenerateAccountID_Call
type Accounts ¶
Accounts is an autogenerated mock type for the Accounts type
func NewAccounts ¶
NewAccounts creates a new instance of Accounts. 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 (*Accounts) AllocateSlabIndex ¶ added in v0.37.1
AllocateSlabIndex provides a mock function for the type Accounts
func (*Accounts) AppendAccountPublicKey ¶ added in v0.43.0
func (_mock *Accounts) AppendAccountPublicKey(address flow.Address, key flow.AccountPublicKey) error
AppendAccountPublicKey provides a mock function for the type Accounts
func (*Accounts) ContractExists ¶
ContractExists provides a mock function for the type Accounts
func (*Accounts) DeleteContract ¶
DeleteContract provides a mock function for the type Accounts
func (*Accounts) EXPECT ¶ added in v0.46.0
func (_m *Accounts) EXPECT() *Accounts_Expecter
func (*Accounts) GenerateAccountLocalID ¶ added in v0.31.0
GenerateAccountLocalID provides a mock function for the type Accounts
func (*Accounts) GetAccountPublicKey ¶ added in v0.43.0
func (_mock *Accounts) GetAccountPublicKey(address flow.Address, keyIndex uint32) (flow.AccountPublicKey, error)
GetAccountPublicKey provides a mock function for the type Accounts
func (*Accounts) GetAccountPublicKeyCount ¶ added in v0.43.0
GetAccountPublicKeyCount provides a mock function for the type Accounts
func (*Accounts) GetAccountPublicKeyRevokedStatus ¶ added in v0.43.0
func (_mock *Accounts) GetAccountPublicKeyRevokedStatus(address flow.Address, keyIndex uint32) (bool, error)
GetAccountPublicKeyRevokedStatus provides a mock function for the type Accounts
func (*Accounts) GetAccountPublicKeySequenceNumber ¶ added in v0.43.0
func (_mock *Accounts) GetAccountPublicKeySequenceNumber(address flow.Address, keyIndex uint32) (uint64, error)
GetAccountPublicKeySequenceNumber provides a mock function for the type Accounts
func (*Accounts) GetAccountPublicKeys ¶ added in v0.43.0
GetAccountPublicKeys provides a mock function for the type Accounts
func (*Accounts) GetContract ¶
GetContract provides a mock function for the type Accounts
func (*Accounts) GetContractNames ¶
GetContractNames provides a mock function for the type Accounts
func (*Accounts) GetRuntimeAccountPublicKey ¶ added in v0.43.0
func (_mock *Accounts) GetRuntimeAccountPublicKey(address flow.Address, keyIndex uint32) (flow.RuntimeAccountPublicKey, error)
GetRuntimeAccountPublicKey provides a mock function for the type Accounts
func (*Accounts) GetStorageUsed ¶
GetStorageUsed provides a mock function for the type Accounts
func (*Accounts) GetValue ¶
func (_mock *Accounts) GetValue(id flow.RegisterID) (flow.RegisterValue, error)
GetValue provides a mock function for the type Accounts
func (*Accounts) IncrementAccountPublicKeySequenceNumber ¶ added in v0.43.0
func (_mock *Accounts) IncrementAccountPublicKeySequenceNumber(address flow.Address, keyIndex uint32) error
IncrementAccountPublicKeySequenceNumber provides a mock function for the type Accounts
func (*Accounts) RevokeAccountPublicKey ¶ added in v0.43.0
RevokeAccountPublicKey provides a mock function for the type Accounts
func (*Accounts) SetContract ¶
func (_mock *Accounts) SetContract(contractName string, address flow.Address, contract []byte) error
SetContract provides a mock function for the type Accounts
func (*Accounts) SetValue ¶
func (_mock *Accounts) SetValue(id flow.RegisterID, value flow.RegisterValue) error
SetValue provides a mock function for the type Accounts
type Accounts_AllocateSlabIndex_Call ¶ added in v0.46.0
Accounts_AllocateSlabIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllocateSlabIndex'
func (*Accounts_AllocateSlabIndex_Call) Return ¶ added in v0.46.0
func (_c *Accounts_AllocateSlabIndex_Call) Return(slabIndex atree.SlabIndex, err error) *Accounts_AllocateSlabIndex_Call
func (*Accounts_AllocateSlabIndex_Call) Run ¶ added in v0.46.0
func (_c *Accounts_AllocateSlabIndex_Call) Run(run func(address flow.Address)) *Accounts_AllocateSlabIndex_Call
func (*Accounts_AllocateSlabIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_AllocateSlabIndex_Call) RunAndReturn(run func(address flow.Address) (atree.SlabIndex, error)) *Accounts_AllocateSlabIndex_Call
type Accounts_AppendAccountPublicKey_Call ¶ added in v0.46.0
Accounts_AppendAccountPublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AppendAccountPublicKey'
func (*Accounts_AppendAccountPublicKey_Call) Return ¶ added in v0.46.0
func (_c *Accounts_AppendAccountPublicKey_Call) Return(err error) *Accounts_AppendAccountPublicKey_Call
func (*Accounts_AppendAccountPublicKey_Call) Run ¶ added in v0.46.0
func (_c *Accounts_AppendAccountPublicKey_Call) Run(run func(address flow.Address, key flow.AccountPublicKey)) *Accounts_AppendAccountPublicKey_Call
func (*Accounts_AppendAccountPublicKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_AppendAccountPublicKey_Call) RunAndReturn(run func(address flow.Address, key flow.AccountPublicKey) error) *Accounts_AppendAccountPublicKey_Call
type Accounts_ContractExists_Call ¶ added in v0.46.0
Accounts_ContractExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContractExists'
func (*Accounts_ContractExists_Call) Return ¶ added in v0.46.0
func (_c *Accounts_ContractExists_Call) Return(b bool, err error) *Accounts_ContractExists_Call
func (*Accounts_ContractExists_Call) Run ¶ added in v0.46.0
func (_c *Accounts_ContractExists_Call) Run(run func(contractName string, address flow.Address)) *Accounts_ContractExists_Call
func (*Accounts_ContractExists_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_ContractExists_Call) RunAndReturn(run func(contractName string, address flow.Address) (bool, error)) *Accounts_ContractExists_Call
type Accounts_Create_Call ¶ added in v0.46.0
Accounts_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Accounts_Create_Call) Return ¶ added in v0.46.0
func (_c *Accounts_Create_Call) Return(err error) *Accounts_Create_Call
func (*Accounts_Create_Call) Run ¶ added in v0.46.0
func (_c *Accounts_Create_Call) Run(run func(publicKeys []flow.AccountPublicKey, newAddress flow.Address)) *Accounts_Create_Call
func (*Accounts_Create_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_Create_Call) RunAndReturn(run func(publicKeys []flow.AccountPublicKey, newAddress flow.Address) error) *Accounts_Create_Call
type Accounts_DeleteContract_Call ¶ added in v0.46.0
Accounts_DeleteContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteContract'
func (*Accounts_DeleteContract_Call) Return ¶ added in v0.46.0
func (_c *Accounts_DeleteContract_Call) Return(err error) *Accounts_DeleteContract_Call
func (*Accounts_DeleteContract_Call) Run ¶ added in v0.46.0
func (_c *Accounts_DeleteContract_Call) Run(run func(contractName string, address flow.Address)) *Accounts_DeleteContract_Call
func (*Accounts_DeleteContract_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_DeleteContract_Call) RunAndReturn(run func(contractName string, address flow.Address) error) *Accounts_DeleteContract_Call
type Accounts_Exists_Call ¶ added in v0.46.0
Accounts_Exists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exists'
func (*Accounts_Exists_Call) Return ¶ added in v0.46.0
func (_c *Accounts_Exists_Call) Return(b bool, err error) *Accounts_Exists_Call
func (*Accounts_Exists_Call) Run ¶ added in v0.46.0
func (_c *Accounts_Exists_Call) Run(run func(address flow.Address)) *Accounts_Exists_Call
func (*Accounts_Exists_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_Exists_Call) RunAndReturn(run func(address flow.Address) (bool, error)) *Accounts_Exists_Call
type Accounts_Expecter ¶ added in v0.46.0
type Accounts_Expecter struct {
// contains filtered or unexported fields
}
func (*Accounts_Expecter) AllocateSlabIndex ¶ added in v0.46.0
func (_e *Accounts_Expecter) AllocateSlabIndex(address interface{}) *Accounts_AllocateSlabIndex_Call
AllocateSlabIndex is a helper method to define mock.On call
- address flow.Address
func (*Accounts_Expecter) AppendAccountPublicKey ¶ added in v0.46.0
func (_e *Accounts_Expecter) AppendAccountPublicKey(address interface{}, key interface{}) *Accounts_AppendAccountPublicKey_Call
AppendAccountPublicKey is a helper method to define mock.On call
- address flow.Address
- key flow.AccountPublicKey
func (*Accounts_Expecter) ContractExists ¶ added in v0.46.0
func (_e *Accounts_Expecter) ContractExists(contractName interface{}, address interface{}) *Accounts_ContractExists_Call
ContractExists is a helper method to define mock.On call
- contractName string
- address flow.Address
func (*Accounts_Expecter) Create ¶ added in v0.46.0
func (_e *Accounts_Expecter) Create(publicKeys interface{}, newAddress interface{}) *Accounts_Create_Call
Create is a helper method to define mock.On call
- publicKeys []flow.AccountPublicKey
- newAddress flow.Address
func (*Accounts_Expecter) DeleteContract ¶ added in v0.46.0
func (_e *Accounts_Expecter) DeleteContract(contractName interface{}, address interface{}) *Accounts_DeleteContract_Call
DeleteContract is a helper method to define mock.On call
- contractName string
- address flow.Address
func (*Accounts_Expecter) Exists ¶ added in v0.46.0
func (_e *Accounts_Expecter) Exists(address interface{}) *Accounts_Exists_Call
Exists is a helper method to define mock.On call
- address flow.Address
func (*Accounts_Expecter) GenerateAccountLocalID ¶ added in v0.46.0
func (_e *Accounts_Expecter) GenerateAccountLocalID(address interface{}) *Accounts_GenerateAccountLocalID_Call
GenerateAccountLocalID is a helper method to define mock.On call
- address flow.Address
func (*Accounts_Expecter) Get ¶ added in v0.46.0
func (_e *Accounts_Expecter) Get(address interface{}) *Accounts_Get_Call
Get is a helper method to define mock.On call
- address flow.Address
func (*Accounts_Expecter) GetAccountPublicKey ¶ added in v0.46.0
func (_e *Accounts_Expecter) GetAccountPublicKey(address interface{}, keyIndex interface{}) *Accounts_GetAccountPublicKey_Call
GetAccountPublicKey is a helper method to define mock.On call
- address flow.Address
- keyIndex uint32
func (*Accounts_Expecter) GetAccountPublicKeyCount ¶ added in v0.46.0
func (_e *Accounts_Expecter) GetAccountPublicKeyCount(address interface{}) *Accounts_GetAccountPublicKeyCount_Call
GetAccountPublicKeyCount is a helper method to define mock.On call
- address flow.Address
func (*Accounts_Expecter) GetAccountPublicKeyRevokedStatus ¶ added in v0.46.0
func (_e *Accounts_Expecter) GetAccountPublicKeyRevokedStatus(address interface{}, keyIndex interface{}) *Accounts_GetAccountPublicKeyRevokedStatus_Call
GetAccountPublicKeyRevokedStatus is a helper method to define mock.On call
- address flow.Address
- keyIndex uint32
func (*Accounts_Expecter) GetAccountPublicKeySequenceNumber ¶ added in v0.46.0
func (_e *Accounts_Expecter) GetAccountPublicKeySequenceNumber(address interface{}, keyIndex interface{}) *Accounts_GetAccountPublicKeySequenceNumber_Call
GetAccountPublicKeySequenceNumber is a helper method to define mock.On call
- address flow.Address
- keyIndex uint32
func (*Accounts_Expecter) GetAccountPublicKeys ¶ added in v0.46.0
func (_e *Accounts_Expecter) GetAccountPublicKeys(address interface{}) *Accounts_GetAccountPublicKeys_Call
GetAccountPublicKeys is a helper method to define mock.On call
- address flow.Address
func (*Accounts_Expecter) GetContract ¶ added in v0.46.0
func (_e *Accounts_Expecter) GetContract(contractName interface{}, address interface{}) *Accounts_GetContract_Call
GetContract is a helper method to define mock.On call
- contractName string
- address flow.Address
func (*Accounts_Expecter) GetContractNames ¶ added in v0.46.0
func (_e *Accounts_Expecter) GetContractNames(address interface{}) *Accounts_GetContractNames_Call
GetContractNames is a helper method to define mock.On call
- address flow.Address
func (*Accounts_Expecter) GetRuntimeAccountPublicKey ¶ added in v0.46.0
func (_e *Accounts_Expecter) GetRuntimeAccountPublicKey(address interface{}, keyIndex interface{}) *Accounts_GetRuntimeAccountPublicKey_Call
GetRuntimeAccountPublicKey is a helper method to define mock.On call
- address flow.Address
- keyIndex uint32
func (*Accounts_Expecter) GetStorageUsed ¶ added in v0.46.0
func (_e *Accounts_Expecter) GetStorageUsed(address interface{}) *Accounts_GetStorageUsed_Call
GetStorageUsed is a helper method to define mock.On call
- address flow.Address
func (*Accounts_Expecter) GetValue ¶ added in v0.46.0
func (_e *Accounts_Expecter) GetValue(id interface{}) *Accounts_GetValue_Call
GetValue is a helper method to define mock.On call
- id flow.RegisterID
func (*Accounts_Expecter) IncrementAccountPublicKeySequenceNumber ¶ added in v0.46.0
func (_e *Accounts_Expecter) IncrementAccountPublicKeySequenceNumber(address interface{}, keyIndex interface{}) *Accounts_IncrementAccountPublicKeySequenceNumber_Call
IncrementAccountPublicKeySequenceNumber is a helper method to define mock.On call
- address flow.Address
- keyIndex uint32
func (*Accounts_Expecter) RevokeAccountPublicKey ¶ added in v0.46.0
func (_e *Accounts_Expecter) RevokeAccountPublicKey(address interface{}, keyIndex interface{}) *Accounts_RevokeAccountPublicKey_Call
RevokeAccountPublicKey is a helper method to define mock.On call
- address flow.Address
- keyIndex uint32
func (*Accounts_Expecter) SetContract ¶ added in v0.46.0
func (_e *Accounts_Expecter) SetContract(contractName interface{}, address interface{}, contract interface{}) *Accounts_SetContract_Call
SetContract is a helper method to define mock.On call
- contractName string
- address flow.Address
- contract []byte
func (*Accounts_Expecter) SetValue ¶ added in v0.46.0
func (_e *Accounts_Expecter) SetValue(id interface{}, value interface{}) *Accounts_SetValue_Call
SetValue is a helper method to define mock.On call
- id flow.RegisterID
- value flow.RegisterValue
type Accounts_GenerateAccountLocalID_Call ¶ added in v0.46.0
Accounts_GenerateAccountLocalID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateAccountLocalID'
func (*Accounts_GenerateAccountLocalID_Call) Return ¶ added in v0.46.0
func (_c *Accounts_GenerateAccountLocalID_Call) Return(v uint64, err error) *Accounts_GenerateAccountLocalID_Call
func (*Accounts_GenerateAccountLocalID_Call) Run ¶ added in v0.46.0
func (_c *Accounts_GenerateAccountLocalID_Call) Run(run func(address flow.Address)) *Accounts_GenerateAccountLocalID_Call
func (*Accounts_GenerateAccountLocalID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_GenerateAccountLocalID_Call) RunAndReturn(run func(address flow.Address) (uint64, error)) *Accounts_GenerateAccountLocalID_Call
type Accounts_GetAccountPublicKeyCount_Call ¶ added in v0.46.0
Accounts_GetAccountPublicKeyCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountPublicKeyCount'
func (*Accounts_GetAccountPublicKeyCount_Call) Return ¶ added in v0.46.0
func (_c *Accounts_GetAccountPublicKeyCount_Call) Return(v uint32, err error) *Accounts_GetAccountPublicKeyCount_Call
func (*Accounts_GetAccountPublicKeyCount_Call) Run ¶ added in v0.46.0
func (_c *Accounts_GetAccountPublicKeyCount_Call) Run(run func(address flow.Address)) *Accounts_GetAccountPublicKeyCount_Call
func (*Accounts_GetAccountPublicKeyCount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_GetAccountPublicKeyCount_Call) RunAndReturn(run func(address flow.Address) (uint32, error)) *Accounts_GetAccountPublicKeyCount_Call
type Accounts_GetAccountPublicKeyRevokedStatus_Call ¶ added in v0.46.0
Accounts_GetAccountPublicKeyRevokedStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountPublicKeyRevokedStatus'
func (*Accounts_GetAccountPublicKeyRevokedStatus_Call) Return ¶ added in v0.46.0
func (_c *Accounts_GetAccountPublicKeyRevokedStatus_Call) Return(b bool, err error) *Accounts_GetAccountPublicKeyRevokedStatus_Call
func (*Accounts_GetAccountPublicKeyRevokedStatus_Call) Run ¶ added in v0.46.0
func (_c *Accounts_GetAccountPublicKeyRevokedStatus_Call) Run(run func(address flow.Address, keyIndex uint32)) *Accounts_GetAccountPublicKeyRevokedStatus_Call
func (*Accounts_GetAccountPublicKeyRevokedStatus_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_GetAccountPublicKeyRevokedStatus_Call) RunAndReturn(run func(address flow.Address, keyIndex uint32) (bool, error)) *Accounts_GetAccountPublicKeyRevokedStatus_Call
type Accounts_GetAccountPublicKeySequenceNumber_Call ¶ added in v0.46.0
Accounts_GetAccountPublicKeySequenceNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountPublicKeySequenceNumber'
func (*Accounts_GetAccountPublicKeySequenceNumber_Call) Return ¶ added in v0.46.0
func (_c *Accounts_GetAccountPublicKeySequenceNumber_Call) Return(v uint64, err error) *Accounts_GetAccountPublicKeySequenceNumber_Call
func (*Accounts_GetAccountPublicKeySequenceNumber_Call) Run ¶ added in v0.46.0
func (_c *Accounts_GetAccountPublicKeySequenceNumber_Call) Run(run func(address flow.Address, keyIndex uint32)) *Accounts_GetAccountPublicKeySequenceNumber_Call
func (*Accounts_GetAccountPublicKeySequenceNumber_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_GetAccountPublicKeySequenceNumber_Call) RunAndReturn(run func(address flow.Address, keyIndex uint32) (uint64, error)) *Accounts_GetAccountPublicKeySequenceNumber_Call
type Accounts_GetAccountPublicKey_Call ¶ added in v0.46.0
Accounts_GetAccountPublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountPublicKey'
func (*Accounts_GetAccountPublicKey_Call) Return ¶ added in v0.46.0
func (_c *Accounts_GetAccountPublicKey_Call) Return(accountPublicKey flow.AccountPublicKey, err error) *Accounts_GetAccountPublicKey_Call
func (*Accounts_GetAccountPublicKey_Call) Run ¶ added in v0.46.0
func (_c *Accounts_GetAccountPublicKey_Call) Run(run func(address flow.Address, keyIndex uint32)) *Accounts_GetAccountPublicKey_Call
func (*Accounts_GetAccountPublicKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_GetAccountPublicKey_Call) RunAndReturn(run func(address flow.Address, keyIndex uint32) (flow.AccountPublicKey, error)) *Accounts_GetAccountPublicKey_Call
type Accounts_GetAccountPublicKeys_Call ¶ added in v0.46.0
Accounts_GetAccountPublicKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountPublicKeys'
func (*Accounts_GetAccountPublicKeys_Call) Return ¶ added in v0.46.0
func (_c *Accounts_GetAccountPublicKeys_Call) Return(accountPublicKeys []flow.AccountPublicKey, err error) *Accounts_GetAccountPublicKeys_Call
func (*Accounts_GetAccountPublicKeys_Call) Run ¶ added in v0.46.0
func (_c *Accounts_GetAccountPublicKeys_Call) Run(run func(address flow.Address)) *Accounts_GetAccountPublicKeys_Call
func (*Accounts_GetAccountPublicKeys_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_GetAccountPublicKeys_Call) RunAndReturn(run func(address flow.Address) ([]flow.AccountPublicKey, error)) *Accounts_GetAccountPublicKeys_Call
type Accounts_GetContractNames_Call ¶ added in v0.46.0
Accounts_GetContractNames_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetContractNames'
func (*Accounts_GetContractNames_Call) Return ¶ added in v0.46.0
func (_c *Accounts_GetContractNames_Call) Return(strings []string, err error) *Accounts_GetContractNames_Call
func (*Accounts_GetContractNames_Call) Run ¶ added in v0.46.0
func (_c *Accounts_GetContractNames_Call) Run(run func(address flow.Address)) *Accounts_GetContractNames_Call
func (*Accounts_GetContractNames_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_GetContractNames_Call) RunAndReturn(run func(address flow.Address) ([]string, error)) *Accounts_GetContractNames_Call
type Accounts_GetContract_Call ¶ added in v0.46.0
Accounts_GetContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetContract'
func (*Accounts_GetContract_Call) Return ¶ added in v0.46.0
func (_c *Accounts_GetContract_Call) Return(bytes []byte, err error) *Accounts_GetContract_Call
func (*Accounts_GetContract_Call) Run ¶ added in v0.46.0
func (_c *Accounts_GetContract_Call) Run(run func(contractName string, address flow.Address)) *Accounts_GetContract_Call
func (*Accounts_GetContract_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_GetContract_Call) RunAndReturn(run func(contractName string, address flow.Address) ([]byte, error)) *Accounts_GetContract_Call
type Accounts_GetRuntimeAccountPublicKey_Call ¶ added in v0.46.0
Accounts_GetRuntimeAccountPublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRuntimeAccountPublicKey'
func (*Accounts_GetRuntimeAccountPublicKey_Call) Return ¶ added in v0.46.0
func (_c *Accounts_GetRuntimeAccountPublicKey_Call) Return(runtimeAccountPublicKey flow.RuntimeAccountPublicKey, err error) *Accounts_GetRuntimeAccountPublicKey_Call
func (*Accounts_GetRuntimeAccountPublicKey_Call) Run ¶ added in v0.46.0
func (_c *Accounts_GetRuntimeAccountPublicKey_Call) Run(run func(address flow.Address, keyIndex uint32)) *Accounts_GetRuntimeAccountPublicKey_Call
func (*Accounts_GetRuntimeAccountPublicKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_GetRuntimeAccountPublicKey_Call) RunAndReturn(run func(address flow.Address, keyIndex uint32) (flow.RuntimeAccountPublicKey, error)) *Accounts_GetRuntimeAccountPublicKey_Call
type Accounts_GetStorageUsed_Call ¶ added in v0.46.0
Accounts_GetStorageUsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStorageUsed'
func (*Accounts_GetStorageUsed_Call) Return ¶ added in v0.46.0
func (_c *Accounts_GetStorageUsed_Call) Return(v uint64, err error) *Accounts_GetStorageUsed_Call
func (*Accounts_GetStorageUsed_Call) Run ¶ added in v0.46.0
func (_c *Accounts_GetStorageUsed_Call) Run(run func(address flow.Address)) *Accounts_GetStorageUsed_Call
func (*Accounts_GetStorageUsed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_GetStorageUsed_Call) RunAndReturn(run func(address flow.Address) (uint64, error)) *Accounts_GetStorageUsed_Call
type Accounts_GetValue_Call ¶ added in v0.46.0
Accounts_GetValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetValue'
func (*Accounts_GetValue_Call) Return ¶ added in v0.46.0
func (_c *Accounts_GetValue_Call) Return(v flow.RegisterValue, err error) *Accounts_GetValue_Call
func (*Accounts_GetValue_Call) Run ¶ added in v0.46.0
func (_c *Accounts_GetValue_Call) Run(run func(id flow.RegisterID)) *Accounts_GetValue_Call
func (*Accounts_GetValue_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_GetValue_Call) RunAndReturn(run func(id flow.RegisterID) (flow.RegisterValue, error)) *Accounts_GetValue_Call
type Accounts_Get_Call ¶ added in v0.46.0
Accounts_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Accounts_Get_Call) Return ¶ added in v0.46.0
func (_c *Accounts_Get_Call) Return(account *flow.Account, err error) *Accounts_Get_Call
func (*Accounts_Get_Call) Run ¶ added in v0.46.0
func (_c *Accounts_Get_Call) Run(run func(address flow.Address)) *Accounts_Get_Call
func (*Accounts_Get_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_Get_Call) RunAndReturn(run func(address flow.Address) (*flow.Account, error)) *Accounts_Get_Call
type Accounts_IncrementAccountPublicKeySequenceNumber_Call ¶ added in v0.46.0
Accounts_IncrementAccountPublicKeySequenceNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementAccountPublicKeySequenceNumber'
func (*Accounts_IncrementAccountPublicKeySequenceNumber_Call) Run ¶ added in v0.46.0
func (_c *Accounts_IncrementAccountPublicKeySequenceNumber_Call) Run(run func(address flow.Address, keyIndex uint32)) *Accounts_IncrementAccountPublicKeySequenceNumber_Call
func (*Accounts_IncrementAccountPublicKeySequenceNumber_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_IncrementAccountPublicKeySequenceNumber_Call) RunAndReturn(run func(address flow.Address, keyIndex uint32) error) *Accounts_IncrementAccountPublicKeySequenceNumber_Call
type Accounts_RevokeAccountPublicKey_Call ¶ added in v0.46.0
Accounts_RevokeAccountPublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeAccountPublicKey'
func (*Accounts_RevokeAccountPublicKey_Call) Return ¶ added in v0.46.0
func (_c *Accounts_RevokeAccountPublicKey_Call) Return(err error) *Accounts_RevokeAccountPublicKey_Call
func (*Accounts_RevokeAccountPublicKey_Call) Run ¶ added in v0.46.0
func (_c *Accounts_RevokeAccountPublicKey_Call) Run(run func(address flow.Address, keyIndex uint32)) *Accounts_RevokeAccountPublicKey_Call
func (*Accounts_RevokeAccountPublicKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_RevokeAccountPublicKey_Call) RunAndReturn(run func(address flow.Address, keyIndex uint32) error) *Accounts_RevokeAccountPublicKey_Call
type Accounts_SetContract_Call ¶ added in v0.46.0
Accounts_SetContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetContract'
func (*Accounts_SetContract_Call) Return ¶ added in v0.46.0
func (_c *Accounts_SetContract_Call) Return(err error) *Accounts_SetContract_Call
func (*Accounts_SetContract_Call) Run ¶ added in v0.46.0
func (_c *Accounts_SetContract_Call) Run(run func(contractName string, address flow.Address, contract []byte)) *Accounts_SetContract_Call
func (*Accounts_SetContract_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_SetContract_Call) RunAndReturn(run func(contractName string, address flow.Address, contract []byte) error) *Accounts_SetContract_Call
type Accounts_SetValue_Call ¶ added in v0.46.0
Accounts_SetValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetValue'
func (*Accounts_SetValue_Call) Return ¶ added in v0.46.0
func (_c *Accounts_SetValue_Call) Return(err error) *Accounts_SetValue_Call
func (*Accounts_SetValue_Call) Run ¶ added in v0.46.0
func (_c *Accounts_SetValue_Call) Run(run func(id flow.RegisterID, value flow.RegisterValue)) *Accounts_SetValue_Call
func (*Accounts_SetValue_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Accounts_SetValue_Call) RunAndReturn(run func(id flow.RegisterID, value flow.RegisterValue) error) *Accounts_SetValue_Call
type AddressGenerator ¶
AddressGenerator is an autogenerated mock type for the AddressGenerator type
func NewAddressGenerator ¶
func NewAddressGenerator(t interface {
mock.TestingT
Cleanup(func())
}) *AddressGenerator
NewAddressGenerator creates a new instance of AddressGenerator. 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 (*AddressGenerator) AddressCount ¶
func (_mock *AddressGenerator) AddressCount() uint64
AddressCount provides a mock function for the type AddressGenerator
func (*AddressGenerator) Bytes ¶
func (_mock *AddressGenerator) Bytes() []byte
Bytes provides a mock function for the type AddressGenerator
func (*AddressGenerator) CurrentAddress ¶
func (_mock *AddressGenerator) CurrentAddress() flow.Address
CurrentAddress provides a mock function for the type AddressGenerator
func (*AddressGenerator) EXPECT ¶ added in v0.46.0
func (_m *AddressGenerator) EXPECT() *AddressGenerator_Expecter
func (*AddressGenerator) NextAddress ¶
func (_mock *AddressGenerator) NextAddress() (flow.Address, error)
NextAddress provides a mock function for the type AddressGenerator
type AddressGenerator_AddressCount_Call ¶ added in v0.46.0
AddressGenerator_AddressCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddressCount'
func (*AddressGenerator_AddressCount_Call) Return ¶ added in v0.46.0
func (_c *AddressGenerator_AddressCount_Call) Return(v uint64) *AddressGenerator_AddressCount_Call
func (*AddressGenerator_AddressCount_Call) Run ¶ added in v0.46.0
func (_c *AddressGenerator_AddressCount_Call) Run(run func()) *AddressGenerator_AddressCount_Call
func (*AddressGenerator_AddressCount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AddressGenerator_AddressCount_Call) RunAndReturn(run func() uint64) *AddressGenerator_AddressCount_Call
type AddressGenerator_Bytes_Call ¶ added in v0.46.0
AddressGenerator_Bytes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bytes'
func (*AddressGenerator_Bytes_Call) Return ¶ added in v0.46.0
func (_c *AddressGenerator_Bytes_Call) Return(bytes []byte) *AddressGenerator_Bytes_Call
func (*AddressGenerator_Bytes_Call) Run ¶ added in v0.46.0
func (_c *AddressGenerator_Bytes_Call) Run(run func()) *AddressGenerator_Bytes_Call
func (*AddressGenerator_Bytes_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AddressGenerator_Bytes_Call) RunAndReturn(run func() []byte) *AddressGenerator_Bytes_Call
type AddressGenerator_CurrentAddress_Call ¶ added in v0.46.0
AddressGenerator_CurrentAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentAddress'
func (*AddressGenerator_CurrentAddress_Call) Return ¶ added in v0.46.0
func (_c *AddressGenerator_CurrentAddress_Call) Return(address flow.Address) *AddressGenerator_CurrentAddress_Call
func (*AddressGenerator_CurrentAddress_Call) Run ¶ added in v0.46.0
func (_c *AddressGenerator_CurrentAddress_Call) Run(run func()) *AddressGenerator_CurrentAddress_Call
func (*AddressGenerator_CurrentAddress_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AddressGenerator_CurrentAddress_Call) RunAndReturn(run func() flow.Address) *AddressGenerator_CurrentAddress_Call
type AddressGenerator_Expecter ¶ added in v0.46.0
type AddressGenerator_Expecter struct {
// contains filtered or unexported fields
}
func (*AddressGenerator_Expecter) AddressCount ¶ added in v0.46.0
func (_e *AddressGenerator_Expecter) AddressCount() *AddressGenerator_AddressCount_Call
AddressCount is a helper method to define mock.On call
func (*AddressGenerator_Expecter) Bytes ¶ added in v0.46.0
func (_e *AddressGenerator_Expecter) Bytes() *AddressGenerator_Bytes_Call
Bytes is a helper method to define mock.On call
func (*AddressGenerator_Expecter) CurrentAddress ¶ added in v0.46.0
func (_e *AddressGenerator_Expecter) CurrentAddress() *AddressGenerator_CurrentAddress_Call
CurrentAddress is a helper method to define mock.On call
func (*AddressGenerator_Expecter) NextAddress ¶ added in v0.46.0
func (_e *AddressGenerator_Expecter) NextAddress() *AddressGenerator_NextAddress_Call
NextAddress is a helper method to define mock.On call
type AddressGenerator_NextAddress_Call ¶ added in v0.46.0
AddressGenerator_NextAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NextAddress'
func (*AddressGenerator_NextAddress_Call) Return ¶ added in v0.46.0
func (_c *AddressGenerator_NextAddress_Call) Return(address flow.Address, err error) *AddressGenerator_NextAddress_Call
func (*AddressGenerator_NextAddress_Call) Run ¶ added in v0.46.0
func (_c *AddressGenerator_NextAddress_Call) Run(run func()) *AddressGenerator_NextAddress_Call
func (*AddressGenerator_NextAddress_Call) RunAndReturn ¶ added in v0.46.0
func (_c *AddressGenerator_NextAddress_Call) RunAndReturn(run func() (flow.Address, error)) *AddressGenerator_NextAddress_Call
type BlockInfo ¶ added in v0.28.7
BlockInfo is an autogenerated mock type for the BlockInfo type
func NewBlockInfo ¶ added in v0.28.7
NewBlockInfo creates a new instance of BlockInfo. 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 (*BlockInfo) EXPECT ¶ added in v0.46.0
func (_m *BlockInfo) EXPECT() *BlockInfo_Expecter
func (*BlockInfo) GetBlockAtHeight ¶ added in v0.28.7
GetBlockAtHeight provides a mock function for the type BlockInfo
func (*BlockInfo) GetCurrentBlockHeight ¶ added in v0.28.7
GetCurrentBlockHeight provides a mock function for the type BlockInfo
type BlockInfo_Expecter ¶ added in v0.46.0
type BlockInfo_Expecter struct {
// contains filtered or unexported fields
}
func (*BlockInfo_Expecter) GetBlockAtHeight ¶ added in v0.46.0
func (_e *BlockInfo_Expecter) GetBlockAtHeight(height interface{}) *BlockInfo_GetBlockAtHeight_Call
GetBlockAtHeight is a helper method to define mock.On call
- height uint64
func (*BlockInfo_Expecter) GetCurrentBlockHeight ¶ added in v0.46.0
func (_e *BlockInfo_Expecter) GetCurrentBlockHeight() *BlockInfo_GetCurrentBlockHeight_Call
GetCurrentBlockHeight is a helper method to define mock.On call
type BlockInfo_GetBlockAtHeight_Call ¶ added in v0.46.0
BlockInfo_GetBlockAtHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockAtHeight'
func (*BlockInfo_GetBlockAtHeight_Call) Return ¶ added in v0.46.0
func (_c *BlockInfo_GetBlockAtHeight_Call) Return(v runtime.Block, b bool, err error) *BlockInfo_GetBlockAtHeight_Call
func (*BlockInfo_GetBlockAtHeight_Call) Run ¶ added in v0.46.0
func (_c *BlockInfo_GetBlockAtHeight_Call) Run(run func(height uint64)) *BlockInfo_GetBlockAtHeight_Call
func (*BlockInfo_GetBlockAtHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BlockInfo_GetBlockAtHeight_Call) RunAndReturn(run func(height uint64) (runtime.Block, bool, error)) *BlockInfo_GetBlockAtHeight_Call
type BlockInfo_GetCurrentBlockHeight_Call ¶ added in v0.46.0
BlockInfo_GetCurrentBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCurrentBlockHeight'
func (*BlockInfo_GetCurrentBlockHeight_Call) Return ¶ added in v0.46.0
func (_c *BlockInfo_GetCurrentBlockHeight_Call) Return(v uint64, err error) *BlockInfo_GetCurrentBlockHeight_Call
func (*BlockInfo_GetCurrentBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *BlockInfo_GetCurrentBlockHeight_Call) Run(run func()) *BlockInfo_GetCurrentBlockHeight_Call
func (*BlockInfo_GetCurrentBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BlockInfo_GetCurrentBlockHeight_Call) RunAndReturn(run func() (uint64, error)) *BlockInfo_GetCurrentBlockHeight_Call
type Blocks ¶
Blocks is an autogenerated mock type for the Blocks type
func NewBlocks ¶
NewBlocks creates a new instance of Blocks. 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 (*Blocks) ByHeightFrom ¶
ByHeightFrom provides a mock function for the type Blocks
func (*Blocks) EXPECT ¶ added in v0.46.0
func (_m *Blocks) EXPECT() *Blocks_Expecter
type Blocks_ByHeightFrom_Call ¶ added in v0.46.0
Blocks_ByHeightFrom_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ByHeightFrom'
func (*Blocks_ByHeightFrom_Call) Return ¶ added in v0.46.0
func (_c *Blocks_ByHeightFrom_Call) Return(header1 *flow.Header, err error) *Blocks_ByHeightFrom_Call
func (*Blocks_ByHeightFrom_Call) Run ¶ added in v0.46.0
func (_c *Blocks_ByHeightFrom_Call) Run(run func(height uint64, header *flow.Header)) *Blocks_ByHeightFrom_Call
func (*Blocks_ByHeightFrom_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Blocks_ByHeightFrom_Call) RunAndReturn(run func(height uint64, header *flow.Header) (*flow.Header, error)) *Blocks_ByHeightFrom_Call
type Blocks_Expecter ¶ added in v0.46.0
type Blocks_Expecter struct {
// contains filtered or unexported fields
}
func (*Blocks_Expecter) ByHeightFrom ¶ added in v0.46.0
func (_e *Blocks_Expecter) ByHeightFrom(height interface{}, header interface{}) *Blocks_ByHeightFrom_Call
ByHeightFrom is a helper method to define mock.On call
- height uint64
- header *flow.Header
type BootstrapAccountCreator ¶
BootstrapAccountCreator is an autogenerated mock type for the BootstrapAccountCreator type
func NewBootstrapAccountCreator ¶
func NewBootstrapAccountCreator(t interface {
mock.TestingT
Cleanup(func())
}) *BootstrapAccountCreator
NewBootstrapAccountCreator creates a new instance of BootstrapAccountCreator. 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 (*BootstrapAccountCreator) CreateBootstrapAccount ¶
func (_mock *BootstrapAccountCreator) CreateBootstrapAccount(publicKeys []flow.AccountPublicKey) (flow.Address, error)
CreateBootstrapAccount provides a mock function for the type BootstrapAccountCreator
func (*BootstrapAccountCreator) EXPECT ¶ added in v0.46.0
func (_m *BootstrapAccountCreator) EXPECT() *BootstrapAccountCreator_Expecter
type BootstrapAccountCreator_CreateBootstrapAccount_Call ¶ added in v0.46.0
BootstrapAccountCreator_CreateBootstrapAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateBootstrapAccount'
func (*BootstrapAccountCreator_CreateBootstrapAccount_Call) Return ¶ added in v0.46.0
func (_c *BootstrapAccountCreator_CreateBootstrapAccount_Call) Return(address flow.Address, err error) *BootstrapAccountCreator_CreateBootstrapAccount_Call
func (*BootstrapAccountCreator_CreateBootstrapAccount_Call) Run ¶ added in v0.46.0
func (_c *BootstrapAccountCreator_CreateBootstrapAccount_Call) Run(run func(publicKeys []flow.AccountPublicKey)) *BootstrapAccountCreator_CreateBootstrapAccount_Call
func (*BootstrapAccountCreator_CreateBootstrapAccount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *BootstrapAccountCreator_CreateBootstrapAccount_Call) RunAndReturn(run func(publicKeys []flow.AccountPublicKey) (flow.Address, error)) *BootstrapAccountCreator_CreateBootstrapAccount_Call
type BootstrapAccountCreator_Expecter ¶ added in v0.46.0
type BootstrapAccountCreator_Expecter struct {
// contains filtered or unexported fields
}
func (*BootstrapAccountCreator_Expecter) CreateBootstrapAccount ¶ added in v0.46.0
func (_e *BootstrapAccountCreator_Expecter) CreateBootstrapAccount(publicKeys interface{}) *BootstrapAccountCreator_CreateBootstrapAccount_Call
CreateBootstrapAccount is a helper method to define mock.On call
- publicKeys []flow.AccountPublicKey
type CadenceRuntimeProvider ¶ added in v0.45.0
CadenceRuntimeProvider is an autogenerated mock type for the CadenceRuntimeProvider type
func NewCadenceRuntimeProvider ¶ added in v0.45.0
func NewCadenceRuntimeProvider(t interface {
mock.TestingT
Cleanup(func())
}) *CadenceRuntimeProvider
NewCadenceRuntimeProvider creates a new instance of CadenceRuntimeProvider. 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 (*CadenceRuntimeProvider) BorrowCadenceRuntime ¶ added in v0.45.0
func (_mock *CadenceRuntimeProvider) BorrowCadenceRuntime() environment.ReusableCadenceRuntime
BorrowCadenceRuntime provides a mock function for the type CadenceRuntimeProvider
func (*CadenceRuntimeProvider) EXPECT ¶ added in v0.46.0
func (_m *CadenceRuntimeProvider) EXPECT() *CadenceRuntimeProvider_Expecter
func (*CadenceRuntimeProvider) ReturnCadenceRuntime ¶ added in v0.45.0
func (_mock *CadenceRuntimeProvider) ReturnCadenceRuntime(reusable environment.ReusableCadenceRuntime)
ReturnCadenceRuntime provides a mock function for the type CadenceRuntimeProvider
func (*CadenceRuntimeProvider) SetEnvironment ¶ added in v0.45.0
func (_mock *CadenceRuntimeProvider) SetEnvironment(env environment.Environment)
SetEnvironment provides a mock function for the type CadenceRuntimeProvider
type CadenceRuntimeProvider_BorrowCadenceRuntime_Call ¶ added in v0.46.0
CadenceRuntimeProvider_BorrowCadenceRuntime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BorrowCadenceRuntime'
func (*CadenceRuntimeProvider_BorrowCadenceRuntime_Call) Return ¶ added in v0.46.0
func (_c *CadenceRuntimeProvider_BorrowCadenceRuntime_Call) Return(reusableCadenceRuntime environment.ReusableCadenceRuntime) *CadenceRuntimeProvider_BorrowCadenceRuntime_Call
func (*CadenceRuntimeProvider_BorrowCadenceRuntime_Call) Run ¶ added in v0.46.0
func (_c *CadenceRuntimeProvider_BorrowCadenceRuntime_Call) Run(run func()) *CadenceRuntimeProvider_BorrowCadenceRuntime_Call
func (*CadenceRuntimeProvider_BorrowCadenceRuntime_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CadenceRuntimeProvider_BorrowCadenceRuntime_Call) RunAndReturn(run func() environment.ReusableCadenceRuntime) *CadenceRuntimeProvider_BorrowCadenceRuntime_Call
type CadenceRuntimeProvider_Expecter ¶ added in v0.46.0
type CadenceRuntimeProvider_Expecter struct {
// contains filtered or unexported fields
}
func (*CadenceRuntimeProvider_Expecter) BorrowCadenceRuntime ¶ added in v0.46.0
func (_e *CadenceRuntimeProvider_Expecter) BorrowCadenceRuntime() *CadenceRuntimeProvider_BorrowCadenceRuntime_Call
BorrowCadenceRuntime is a helper method to define mock.On call
func (*CadenceRuntimeProvider_Expecter) ReturnCadenceRuntime ¶ added in v0.46.0
func (_e *CadenceRuntimeProvider_Expecter) ReturnCadenceRuntime(reusable interface{}) *CadenceRuntimeProvider_ReturnCadenceRuntime_Call
ReturnCadenceRuntime is a helper method to define mock.On call
- reusable environment.ReusableCadenceRuntime
func (*CadenceRuntimeProvider_Expecter) SetEnvironment ¶ added in v0.46.0
func (_e *CadenceRuntimeProvider_Expecter) SetEnvironment(env interface{}) *CadenceRuntimeProvider_SetEnvironment_Call
SetEnvironment is a helper method to define mock.On call
- env environment.Environment
type CadenceRuntimeProvider_ReturnCadenceRuntime_Call ¶ added in v0.46.0
CadenceRuntimeProvider_ReturnCadenceRuntime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReturnCadenceRuntime'
func (*CadenceRuntimeProvider_ReturnCadenceRuntime_Call) Run ¶ added in v0.46.0
func (_c *CadenceRuntimeProvider_ReturnCadenceRuntime_Call) Run(run func(reusable environment.ReusableCadenceRuntime)) *CadenceRuntimeProvider_ReturnCadenceRuntime_Call
func (*CadenceRuntimeProvider_ReturnCadenceRuntime_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CadenceRuntimeProvider_ReturnCadenceRuntime_Call) RunAndReturn(run func(reusable environment.ReusableCadenceRuntime)) *CadenceRuntimeProvider_ReturnCadenceRuntime_Call
type CadenceRuntimeProvider_SetEnvironment_Call ¶ added in v0.46.0
CadenceRuntimeProvider_SetEnvironment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEnvironment'
func (*CadenceRuntimeProvider_SetEnvironment_Call) Return ¶ added in v0.46.0
func (_c *CadenceRuntimeProvider_SetEnvironment_Call) Return() *CadenceRuntimeProvider_SetEnvironment_Call
func (*CadenceRuntimeProvider_SetEnvironment_Call) Run ¶ added in v0.46.0
func (_c *CadenceRuntimeProvider_SetEnvironment_Call) Run(run func(env environment.Environment)) *CadenceRuntimeProvider_SetEnvironment_Call
func (*CadenceRuntimeProvider_SetEnvironment_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CadenceRuntimeProvider_SetEnvironment_Call) RunAndReturn(run func(env environment.Environment)) *CadenceRuntimeProvider_SetEnvironment_Call
type ContractFunctionInvoker ¶ added in v0.33.30
ContractFunctionInvoker is an autogenerated mock type for the ContractFunctionInvoker type
func NewContractFunctionInvoker ¶ added in v0.33.30
func NewContractFunctionInvoker(t interface {
mock.TestingT
Cleanup(func())
}) *ContractFunctionInvoker
NewContractFunctionInvoker creates a new instance of ContractFunctionInvoker. 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 (*ContractFunctionInvoker) EXPECT ¶ added in v0.46.0
func (_m *ContractFunctionInvoker) EXPECT() *ContractFunctionInvoker_Expecter
func (*ContractFunctionInvoker) Invoke ¶ added in v0.33.30
func (_mock *ContractFunctionInvoker) Invoke(spec environment.ContractFunctionSpec, arguments []cadence.Value) (cadence.Value, error)
Invoke provides a mock function for the type ContractFunctionInvoker
type ContractFunctionInvoker_Expecter ¶ added in v0.46.0
type ContractFunctionInvoker_Expecter struct {
// contains filtered or unexported fields
}
func (*ContractFunctionInvoker_Expecter) Invoke ¶ added in v0.46.0
func (_e *ContractFunctionInvoker_Expecter) Invoke(spec interface{}, arguments interface{}) *ContractFunctionInvoker_Invoke_Call
Invoke is a helper method to define mock.On call
- spec environment.ContractFunctionSpec
- arguments []cadence.Value
type ContractFunctionInvoker_Invoke_Call ¶ added in v0.46.0
ContractFunctionInvoker_Invoke_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Invoke'
func (*ContractFunctionInvoker_Invoke_Call) Return ¶ added in v0.46.0
func (_c *ContractFunctionInvoker_Invoke_Call) Return(value cadence.Value, err error) *ContractFunctionInvoker_Invoke_Call
func (*ContractFunctionInvoker_Invoke_Call) Run ¶ added in v0.46.0
func (_c *ContractFunctionInvoker_Invoke_Call) Run(run func(spec environment.ContractFunctionSpec, arguments []cadence.Value)) *ContractFunctionInvoker_Invoke_Call
func (*ContractFunctionInvoker_Invoke_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ContractFunctionInvoker_Invoke_Call) RunAndReturn(run func(spec environment.ContractFunctionSpec, arguments []cadence.Value) (cadence.Value, error)) *ContractFunctionInvoker_Invoke_Call
type ContractUpdater ¶
ContractUpdater is an autogenerated mock type for the ContractUpdater type
func NewContractUpdater ¶
func NewContractUpdater(t interface {
mock.TestingT
Cleanup(func())
}) *ContractUpdater
NewContractUpdater creates a new instance of ContractUpdater. 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 (*ContractUpdater) Commit ¶
func (_mock *ContractUpdater) Commit() (environment.ContractUpdates, error)
Commit provides a mock function for the type ContractUpdater
func (*ContractUpdater) EXPECT ¶ added in v0.46.0
func (_m *ContractUpdater) EXPECT() *ContractUpdater_Expecter
func (*ContractUpdater) RemoveAccountContractCode ¶
func (_mock *ContractUpdater) RemoveAccountContractCode(location common.AddressLocation) error
RemoveAccountContractCode provides a mock function for the type ContractUpdater
func (*ContractUpdater) Reset ¶
func (_mock *ContractUpdater) Reset()
Reset provides a mock function for the type ContractUpdater
func (*ContractUpdater) UpdateAccountContractCode ¶
func (_mock *ContractUpdater) UpdateAccountContractCode(location common.AddressLocation, code []byte) error
UpdateAccountContractCode provides a mock function for the type ContractUpdater
type ContractUpdaterStubs ¶
ContractUpdaterStubs is an autogenerated mock type for the ContractUpdaterStubs type
func NewContractUpdaterStubs ¶
func NewContractUpdaterStubs(t interface {
mock.TestingT
Cleanup(func())
}) *ContractUpdaterStubs
NewContractUpdaterStubs creates a new instance of ContractUpdaterStubs. 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 (*ContractUpdaterStubs) EXPECT ¶ added in v0.46.0
func (_m *ContractUpdaterStubs) EXPECT() *ContractUpdaterStubs_Expecter
func (*ContractUpdaterStubs) GetAuthorizedAccounts ¶
func (_mock *ContractUpdaterStubs) GetAuthorizedAccounts(path cadence.Path) []flow.Address
GetAuthorizedAccounts provides a mock function for the type ContractUpdaterStubs
func (*ContractUpdaterStubs) RestrictedDeploymentEnabled ¶
func (_mock *ContractUpdaterStubs) RestrictedDeploymentEnabled() bool
RestrictedDeploymentEnabled provides a mock function for the type ContractUpdaterStubs
func (*ContractUpdaterStubs) RestrictedRemovalEnabled ¶
func (_mock *ContractUpdaterStubs) RestrictedRemovalEnabled() bool
RestrictedRemovalEnabled provides a mock function for the type ContractUpdaterStubs
type ContractUpdaterStubs_Expecter ¶ added in v0.46.0
type ContractUpdaterStubs_Expecter struct {
// contains filtered or unexported fields
}
func (*ContractUpdaterStubs_Expecter) GetAuthorizedAccounts ¶ added in v0.46.0
func (_e *ContractUpdaterStubs_Expecter) GetAuthorizedAccounts(path interface{}) *ContractUpdaterStubs_GetAuthorizedAccounts_Call
GetAuthorizedAccounts is a helper method to define mock.On call
- path cadence.Path
func (*ContractUpdaterStubs_Expecter) RestrictedDeploymentEnabled ¶ added in v0.46.0
func (_e *ContractUpdaterStubs_Expecter) RestrictedDeploymentEnabled() *ContractUpdaterStubs_RestrictedDeploymentEnabled_Call
RestrictedDeploymentEnabled is a helper method to define mock.On call
func (*ContractUpdaterStubs_Expecter) RestrictedRemovalEnabled ¶ added in v0.46.0
func (_e *ContractUpdaterStubs_Expecter) RestrictedRemovalEnabled() *ContractUpdaterStubs_RestrictedRemovalEnabled_Call
RestrictedRemovalEnabled is a helper method to define mock.On call
type ContractUpdaterStubs_GetAuthorizedAccounts_Call ¶ added in v0.46.0
ContractUpdaterStubs_GetAuthorizedAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAuthorizedAccounts'
func (*ContractUpdaterStubs_GetAuthorizedAccounts_Call) Return ¶ added in v0.46.0
func (_c *ContractUpdaterStubs_GetAuthorizedAccounts_Call) Return(addresss []flow.Address) *ContractUpdaterStubs_GetAuthorizedAccounts_Call
func (*ContractUpdaterStubs_GetAuthorizedAccounts_Call) Run ¶ added in v0.46.0
func (_c *ContractUpdaterStubs_GetAuthorizedAccounts_Call) Run(run func(path cadence.Path)) *ContractUpdaterStubs_GetAuthorizedAccounts_Call
func (*ContractUpdaterStubs_GetAuthorizedAccounts_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ContractUpdaterStubs_GetAuthorizedAccounts_Call) RunAndReturn(run func(path cadence.Path) []flow.Address) *ContractUpdaterStubs_GetAuthorizedAccounts_Call
type ContractUpdaterStubs_RestrictedDeploymentEnabled_Call ¶ added in v0.46.0
ContractUpdaterStubs_RestrictedDeploymentEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestrictedDeploymentEnabled'
func (*ContractUpdaterStubs_RestrictedDeploymentEnabled_Call) Run ¶ added in v0.46.0
func (_c *ContractUpdaterStubs_RestrictedDeploymentEnabled_Call) Run(run func()) *ContractUpdaterStubs_RestrictedDeploymentEnabled_Call
func (*ContractUpdaterStubs_RestrictedDeploymentEnabled_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ContractUpdaterStubs_RestrictedDeploymentEnabled_Call) RunAndReturn(run func() bool) *ContractUpdaterStubs_RestrictedDeploymentEnabled_Call
type ContractUpdaterStubs_RestrictedRemovalEnabled_Call ¶ added in v0.46.0
ContractUpdaterStubs_RestrictedRemovalEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestrictedRemovalEnabled'
func (*ContractUpdaterStubs_RestrictedRemovalEnabled_Call) Run ¶ added in v0.46.0
func (_c *ContractUpdaterStubs_RestrictedRemovalEnabled_Call) Run(run func()) *ContractUpdaterStubs_RestrictedRemovalEnabled_Call
func (*ContractUpdaterStubs_RestrictedRemovalEnabled_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ContractUpdaterStubs_RestrictedRemovalEnabled_Call) RunAndReturn(run func() bool) *ContractUpdaterStubs_RestrictedRemovalEnabled_Call
type ContractUpdater_Commit_Call ¶ added in v0.46.0
ContractUpdater_Commit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commit'
func (*ContractUpdater_Commit_Call) Return ¶ added in v0.46.0
func (_c *ContractUpdater_Commit_Call) Return(contractUpdates environment.ContractUpdates, err error) *ContractUpdater_Commit_Call
func (*ContractUpdater_Commit_Call) Run ¶ added in v0.46.0
func (_c *ContractUpdater_Commit_Call) Run(run func()) *ContractUpdater_Commit_Call
func (*ContractUpdater_Commit_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ContractUpdater_Commit_Call) RunAndReturn(run func() (environment.ContractUpdates, error)) *ContractUpdater_Commit_Call
type ContractUpdater_Expecter ¶ added in v0.46.0
type ContractUpdater_Expecter struct {
// contains filtered or unexported fields
}
func (*ContractUpdater_Expecter) Commit ¶ added in v0.46.0
func (_e *ContractUpdater_Expecter) Commit() *ContractUpdater_Commit_Call
Commit is a helper method to define mock.On call
func (*ContractUpdater_Expecter) RemoveAccountContractCode ¶ added in v0.46.0
func (_e *ContractUpdater_Expecter) RemoveAccountContractCode(location interface{}) *ContractUpdater_RemoveAccountContractCode_Call
RemoveAccountContractCode is a helper method to define mock.On call
- location common.AddressLocation
func (*ContractUpdater_Expecter) Reset ¶ added in v0.46.0
func (_e *ContractUpdater_Expecter) Reset() *ContractUpdater_Reset_Call
Reset is a helper method to define mock.On call
func (*ContractUpdater_Expecter) UpdateAccountContractCode ¶ added in v0.46.0
func (_e *ContractUpdater_Expecter) UpdateAccountContractCode(location interface{}, code interface{}) *ContractUpdater_UpdateAccountContractCode_Call
UpdateAccountContractCode is a helper method to define mock.On call
- location common.AddressLocation
- code []byte
type ContractUpdater_RemoveAccountContractCode_Call ¶ added in v0.46.0
ContractUpdater_RemoveAccountContractCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveAccountContractCode'
func (*ContractUpdater_RemoveAccountContractCode_Call) Return ¶ added in v0.46.0
func (_c *ContractUpdater_RemoveAccountContractCode_Call) Return(err error) *ContractUpdater_RemoveAccountContractCode_Call
func (*ContractUpdater_RemoveAccountContractCode_Call) Run ¶ added in v0.46.0
func (_c *ContractUpdater_RemoveAccountContractCode_Call) Run(run func(location common.AddressLocation)) *ContractUpdater_RemoveAccountContractCode_Call
func (*ContractUpdater_RemoveAccountContractCode_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ContractUpdater_RemoveAccountContractCode_Call) RunAndReturn(run func(location common.AddressLocation) error) *ContractUpdater_RemoveAccountContractCode_Call
type ContractUpdater_Reset_Call ¶ added in v0.46.0
ContractUpdater_Reset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reset'
func (*ContractUpdater_Reset_Call) Return ¶ added in v0.46.0
func (_c *ContractUpdater_Reset_Call) Return() *ContractUpdater_Reset_Call
func (*ContractUpdater_Reset_Call) Run ¶ added in v0.46.0
func (_c *ContractUpdater_Reset_Call) Run(run func()) *ContractUpdater_Reset_Call
func (*ContractUpdater_Reset_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ContractUpdater_Reset_Call) RunAndReturn(run func()) *ContractUpdater_Reset_Call
type ContractUpdater_UpdateAccountContractCode_Call ¶ added in v0.46.0
ContractUpdater_UpdateAccountContractCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAccountContractCode'
func (*ContractUpdater_UpdateAccountContractCode_Call) Return ¶ added in v0.46.0
func (_c *ContractUpdater_UpdateAccountContractCode_Call) Return(err error) *ContractUpdater_UpdateAccountContractCode_Call
func (*ContractUpdater_UpdateAccountContractCode_Call) Run ¶ added in v0.46.0
func (_c *ContractUpdater_UpdateAccountContractCode_Call) Run(run func(location common.AddressLocation, code []byte)) *ContractUpdater_UpdateAccountContractCode_Call
func (*ContractUpdater_UpdateAccountContractCode_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ContractUpdater_UpdateAccountContractCode_Call) RunAndReturn(run func(location common.AddressLocation, code []byte) error) *ContractUpdater_UpdateAccountContractCode_Call
type CryptoLibrary ¶ added in v0.28.7
CryptoLibrary is an autogenerated mock type for the CryptoLibrary type
func NewCryptoLibrary ¶ added in v0.28.7
func NewCryptoLibrary(t interface {
mock.TestingT
Cleanup(func())
}) *CryptoLibrary
NewCryptoLibrary creates a new instance of CryptoLibrary. 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 (*CryptoLibrary) BLSAggregatePublicKeys ¶ added in v0.28.7
func (_mock *CryptoLibrary) BLSAggregatePublicKeys(keys []*runtime.PublicKey) (*runtime.PublicKey, error)
BLSAggregatePublicKeys provides a mock function for the type CryptoLibrary
func (*CryptoLibrary) BLSAggregateSignatures ¶ added in v0.28.7
func (_mock *CryptoLibrary) BLSAggregateSignatures(sigs [][]byte) ([]byte, error)
BLSAggregateSignatures provides a mock function for the type CryptoLibrary
func (*CryptoLibrary) BLSVerifyPOP ¶ added in v0.28.7
BLSVerifyPOP provides a mock function for the type CryptoLibrary
func (*CryptoLibrary) EXPECT ¶ added in v0.46.0
func (_m *CryptoLibrary) EXPECT() *CryptoLibrary_Expecter
func (*CryptoLibrary) Hash ¶ added in v0.28.7
func (_mock *CryptoLibrary) Hash(data []byte, tag string, hashAlgorithm runtime.HashAlgorithm) ([]byte, error)
Hash provides a mock function for the type CryptoLibrary
func (*CryptoLibrary) ValidatePublicKey ¶ added in v0.28.7
func (_mock *CryptoLibrary) ValidatePublicKey(pk *runtime.PublicKey) error
ValidatePublicKey provides a mock function for the type CryptoLibrary
func (*CryptoLibrary) VerifySignature ¶ added in v0.28.7
func (_mock *CryptoLibrary) VerifySignature(signature []byte, tag string, signedData []byte, publicKey []byte, signatureAlgorithm runtime.SignatureAlgorithm, hashAlgorithm runtime.HashAlgorithm) (bool, error)
VerifySignature provides a mock function for the type CryptoLibrary
type CryptoLibrary_BLSAggregatePublicKeys_Call ¶ added in v0.46.0
CryptoLibrary_BLSAggregatePublicKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BLSAggregatePublicKeys'
func (*CryptoLibrary_BLSAggregatePublicKeys_Call) Return ¶ added in v0.46.0
func (_c *CryptoLibrary_BLSAggregatePublicKeys_Call) Return(v *runtime.PublicKey, err error) *CryptoLibrary_BLSAggregatePublicKeys_Call
func (*CryptoLibrary_BLSAggregatePublicKeys_Call) Run ¶ added in v0.46.0
func (_c *CryptoLibrary_BLSAggregatePublicKeys_Call) Run(run func(keys []*runtime.PublicKey)) *CryptoLibrary_BLSAggregatePublicKeys_Call
func (*CryptoLibrary_BLSAggregatePublicKeys_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CryptoLibrary_BLSAggregatePublicKeys_Call) RunAndReturn(run func(keys []*runtime.PublicKey) (*runtime.PublicKey, error)) *CryptoLibrary_BLSAggregatePublicKeys_Call
type CryptoLibrary_BLSAggregateSignatures_Call ¶ added in v0.46.0
CryptoLibrary_BLSAggregateSignatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BLSAggregateSignatures'
func (*CryptoLibrary_BLSAggregateSignatures_Call) Return ¶ added in v0.46.0
func (_c *CryptoLibrary_BLSAggregateSignatures_Call) Return(bytes []byte, err error) *CryptoLibrary_BLSAggregateSignatures_Call
func (*CryptoLibrary_BLSAggregateSignatures_Call) Run ¶ added in v0.46.0
func (_c *CryptoLibrary_BLSAggregateSignatures_Call) Run(run func(sigs [][]byte)) *CryptoLibrary_BLSAggregateSignatures_Call
func (*CryptoLibrary_BLSAggregateSignatures_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CryptoLibrary_BLSAggregateSignatures_Call) RunAndReturn(run func(sigs [][]byte) ([]byte, error)) *CryptoLibrary_BLSAggregateSignatures_Call
type CryptoLibrary_BLSVerifyPOP_Call ¶ added in v0.46.0
CryptoLibrary_BLSVerifyPOP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BLSVerifyPOP'
func (*CryptoLibrary_BLSVerifyPOP_Call) Return ¶ added in v0.46.0
func (_c *CryptoLibrary_BLSVerifyPOP_Call) Return(b bool, err error) *CryptoLibrary_BLSVerifyPOP_Call
func (*CryptoLibrary_BLSVerifyPOP_Call) Run ¶ added in v0.46.0
func (_c *CryptoLibrary_BLSVerifyPOP_Call) Run(run func(pk *runtime.PublicKey, sig []byte)) *CryptoLibrary_BLSVerifyPOP_Call
func (*CryptoLibrary_BLSVerifyPOP_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CryptoLibrary_BLSVerifyPOP_Call) RunAndReturn(run func(pk *runtime.PublicKey, sig []byte) (bool, error)) *CryptoLibrary_BLSVerifyPOP_Call
type CryptoLibrary_Expecter ¶ added in v0.46.0
type CryptoLibrary_Expecter struct {
// contains filtered or unexported fields
}
func (*CryptoLibrary_Expecter) BLSAggregatePublicKeys ¶ added in v0.46.0
func (_e *CryptoLibrary_Expecter) BLSAggregatePublicKeys(keys interface{}) *CryptoLibrary_BLSAggregatePublicKeys_Call
BLSAggregatePublicKeys is a helper method to define mock.On call
- keys []*runtime.PublicKey
func (*CryptoLibrary_Expecter) BLSAggregateSignatures ¶ added in v0.46.0
func (_e *CryptoLibrary_Expecter) BLSAggregateSignatures(sigs interface{}) *CryptoLibrary_BLSAggregateSignatures_Call
BLSAggregateSignatures is a helper method to define mock.On call
- sigs [][]byte
func (*CryptoLibrary_Expecter) BLSVerifyPOP ¶ added in v0.46.0
func (_e *CryptoLibrary_Expecter) BLSVerifyPOP(pk interface{}, sig interface{}) *CryptoLibrary_BLSVerifyPOP_Call
BLSVerifyPOP is a helper method to define mock.On call
- pk *runtime.PublicKey
- sig []byte
func (*CryptoLibrary_Expecter) Hash ¶ added in v0.46.0
func (_e *CryptoLibrary_Expecter) Hash(data interface{}, tag interface{}, hashAlgorithm interface{}) *CryptoLibrary_Hash_Call
Hash is a helper method to define mock.On call
- data []byte
- tag string
- hashAlgorithm runtime.HashAlgorithm
func (*CryptoLibrary_Expecter) ValidatePublicKey ¶ added in v0.46.0
func (_e *CryptoLibrary_Expecter) ValidatePublicKey(pk interface{}) *CryptoLibrary_ValidatePublicKey_Call
ValidatePublicKey is a helper method to define mock.On call
- pk *runtime.PublicKey
func (*CryptoLibrary_Expecter) VerifySignature ¶ added in v0.46.0
func (_e *CryptoLibrary_Expecter) VerifySignature(signature interface{}, tag interface{}, signedData interface{}, publicKey interface{}, signatureAlgorithm interface{}, hashAlgorithm interface{}) *CryptoLibrary_VerifySignature_Call
VerifySignature is a helper method to define mock.On call
- signature []byte
- tag string
- signedData []byte
- publicKey []byte
- signatureAlgorithm runtime.SignatureAlgorithm
- hashAlgorithm runtime.HashAlgorithm
type CryptoLibrary_Hash_Call ¶ added in v0.46.0
CryptoLibrary_Hash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hash'
func (*CryptoLibrary_Hash_Call) Return ¶ added in v0.46.0
func (_c *CryptoLibrary_Hash_Call) Return(bytes []byte, err error) *CryptoLibrary_Hash_Call
func (*CryptoLibrary_Hash_Call) Run ¶ added in v0.46.0
func (_c *CryptoLibrary_Hash_Call) Run(run func(data []byte, tag string, hashAlgorithm runtime.HashAlgorithm)) *CryptoLibrary_Hash_Call
func (*CryptoLibrary_Hash_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CryptoLibrary_Hash_Call) RunAndReturn(run func(data []byte, tag string, hashAlgorithm runtime.HashAlgorithm) ([]byte, error)) *CryptoLibrary_Hash_Call
type CryptoLibrary_ValidatePublicKey_Call ¶ added in v0.46.0
CryptoLibrary_ValidatePublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidatePublicKey'
func (*CryptoLibrary_ValidatePublicKey_Call) Return ¶ added in v0.46.0
func (_c *CryptoLibrary_ValidatePublicKey_Call) Return(err error) *CryptoLibrary_ValidatePublicKey_Call
func (*CryptoLibrary_ValidatePublicKey_Call) Run ¶ added in v0.46.0
func (_c *CryptoLibrary_ValidatePublicKey_Call) Run(run func(pk *runtime.PublicKey)) *CryptoLibrary_ValidatePublicKey_Call
func (*CryptoLibrary_ValidatePublicKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CryptoLibrary_ValidatePublicKey_Call) RunAndReturn(run func(pk *runtime.PublicKey) error) *CryptoLibrary_ValidatePublicKey_Call
type CryptoLibrary_VerifySignature_Call ¶ added in v0.46.0
CryptoLibrary_VerifySignature_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifySignature'
func (*CryptoLibrary_VerifySignature_Call) Return ¶ added in v0.46.0
func (_c *CryptoLibrary_VerifySignature_Call) Return(b bool, err error) *CryptoLibrary_VerifySignature_Call
func (*CryptoLibrary_VerifySignature_Call) Run ¶ added in v0.46.0
func (_c *CryptoLibrary_VerifySignature_Call) Run(run func(signature []byte, tag string, signedData []byte, publicKey []byte, signatureAlgorithm runtime.SignatureAlgorithm, hashAlgorithm runtime.HashAlgorithm)) *CryptoLibrary_VerifySignature_Call
func (*CryptoLibrary_VerifySignature_Call) RunAndReturn ¶ added in v0.46.0
func (_c *CryptoLibrary_VerifySignature_Call) RunAndReturn(run func(signature []byte, tag string, signedData []byte, publicKey []byte, signatureAlgorithm runtime.SignatureAlgorithm, hashAlgorithm runtime.HashAlgorithm) (bool, error)) *CryptoLibrary_VerifySignature_Call
type EVMMetricsReporter ¶ added in v0.36.3
EVMMetricsReporter is an autogenerated mock type for the EVMMetricsReporter type
func NewEVMMetricsReporter ¶ added in v0.36.3
func NewEVMMetricsReporter(t interface {
mock.TestingT
Cleanup(func())
}) *EVMMetricsReporter
NewEVMMetricsReporter creates a new instance of EVMMetricsReporter. 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 (*EVMMetricsReporter) EVMBlockExecuted ¶ added in v0.36.3
func (_mock *EVMMetricsReporter) EVMBlockExecuted(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)
EVMBlockExecuted provides a mock function for the type EVMMetricsReporter
func (*EVMMetricsReporter) EVMTransactionExecuted ¶ added in v0.36.3
func (_mock *EVMMetricsReporter) EVMTransactionExecuted(gasUsed uint64, isDirectCall bool, failed bool)
EVMTransactionExecuted provides a mock function for the type EVMMetricsReporter
func (*EVMMetricsReporter) EXPECT ¶ added in v0.46.0
func (_m *EVMMetricsReporter) EXPECT() *EVMMetricsReporter_Expecter
func (*EVMMetricsReporter) SetNumberOfDeployedCOAs ¶ added in v0.36.3
func (_mock *EVMMetricsReporter) SetNumberOfDeployedCOAs(count uint64)
SetNumberOfDeployedCOAs provides a mock function for the type EVMMetricsReporter
type EVMMetricsReporter_EVMBlockExecuted_Call ¶ added in v0.46.0
EVMMetricsReporter_EVMBlockExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EVMBlockExecuted'
func (*EVMMetricsReporter_EVMBlockExecuted_Call) Return ¶ added in v0.46.0
func (_c *EVMMetricsReporter_EVMBlockExecuted_Call) Return() *EVMMetricsReporter_EVMBlockExecuted_Call
func (*EVMMetricsReporter_EVMBlockExecuted_Call) Run ¶ added in v0.46.0
func (_c *EVMMetricsReporter_EVMBlockExecuted_Call) Run(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *EVMMetricsReporter_EVMBlockExecuted_Call
func (*EVMMetricsReporter_EVMBlockExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EVMMetricsReporter_EVMBlockExecuted_Call) RunAndReturn(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *EVMMetricsReporter_EVMBlockExecuted_Call
type EVMMetricsReporter_EVMTransactionExecuted_Call ¶ added in v0.46.0
EVMMetricsReporter_EVMTransactionExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EVMTransactionExecuted'
func (*EVMMetricsReporter_EVMTransactionExecuted_Call) Run ¶ added in v0.46.0
func (_c *EVMMetricsReporter_EVMTransactionExecuted_Call) Run(run func(gasUsed uint64, isDirectCall bool, failed bool)) *EVMMetricsReporter_EVMTransactionExecuted_Call
func (*EVMMetricsReporter_EVMTransactionExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EVMMetricsReporter_EVMTransactionExecuted_Call) RunAndReturn(run func(gasUsed uint64, isDirectCall bool, failed bool)) *EVMMetricsReporter_EVMTransactionExecuted_Call
type EVMMetricsReporter_Expecter ¶ added in v0.46.0
type EVMMetricsReporter_Expecter struct {
// contains filtered or unexported fields
}
func (*EVMMetricsReporter_Expecter) EVMBlockExecuted ¶ added in v0.46.0
func (_e *EVMMetricsReporter_Expecter) EVMBlockExecuted(txCount interface{}, totalGasUsed interface{}, totalSupplyInFlow interface{}) *EVMMetricsReporter_EVMBlockExecuted_Call
EVMBlockExecuted is a helper method to define mock.On call
- txCount int
- totalGasUsed uint64
- totalSupplyInFlow float64
func (*EVMMetricsReporter_Expecter) EVMTransactionExecuted ¶ added in v0.46.0
func (_e *EVMMetricsReporter_Expecter) EVMTransactionExecuted(gasUsed interface{}, isDirectCall interface{}, failed interface{}) *EVMMetricsReporter_EVMTransactionExecuted_Call
EVMTransactionExecuted is a helper method to define mock.On call
- gasUsed uint64
- isDirectCall bool
- failed bool
func (*EVMMetricsReporter_Expecter) SetNumberOfDeployedCOAs ¶ added in v0.46.0
func (_e *EVMMetricsReporter_Expecter) SetNumberOfDeployedCOAs(count interface{}) *EVMMetricsReporter_SetNumberOfDeployedCOAs_Call
SetNumberOfDeployedCOAs is a helper method to define mock.On call
- count uint64
type EVMMetricsReporter_SetNumberOfDeployedCOAs_Call ¶ added in v0.46.0
EVMMetricsReporter_SetNumberOfDeployedCOAs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetNumberOfDeployedCOAs'
func (*EVMMetricsReporter_SetNumberOfDeployedCOAs_Call) Run ¶ added in v0.46.0
func (_c *EVMMetricsReporter_SetNumberOfDeployedCOAs_Call) Run(run func(count uint64)) *EVMMetricsReporter_SetNumberOfDeployedCOAs_Call
func (*EVMMetricsReporter_SetNumberOfDeployedCOAs_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EVMMetricsReporter_SetNumberOfDeployedCOAs_Call) RunAndReturn(run func(count uint64)) *EVMMetricsReporter_SetNumberOfDeployedCOAs_Call
type EntropyProvider ¶ added in v0.32.0
EntropyProvider is an autogenerated mock type for the EntropyProvider type
func NewEntropyProvider ¶ added in v0.32.0
func NewEntropyProvider(t interface {
mock.TestingT
Cleanup(func())
}) *EntropyProvider
NewEntropyProvider creates a new instance of EntropyProvider. 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 (*EntropyProvider) EXPECT ¶ added in v0.46.0
func (_m *EntropyProvider) EXPECT() *EntropyProvider_Expecter
func (*EntropyProvider) RandomSource ¶ added in v0.32.0
func (_mock *EntropyProvider) RandomSource() ([]byte, error)
RandomSource provides a mock function for the type EntropyProvider
type EntropyProvider_Expecter ¶ added in v0.46.0
type EntropyProvider_Expecter struct {
// contains filtered or unexported fields
}
func (*EntropyProvider_Expecter) RandomSource ¶ added in v0.46.0
func (_e *EntropyProvider_Expecter) RandomSource() *EntropyProvider_RandomSource_Call
RandomSource is a helper method to define mock.On call
type EntropyProvider_RandomSource_Call ¶ added in v0.46.0
EntropyProvider_RandomSource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RandomSource'
func (*EntropyProvider_RandomSource_Call) Return ¶ added in v0.46.0
func (_c *EntropyProvider_RandomSource_Call) Return(bytes []byte, err error) *EntropyProvider_RandomSource_Call
func (*EntropyProvider_RandomSource_Call) Run ¶ added in v0.46.0
func (_c *EntropyProvider_RandomSource_Call) Run(run func()) *EntropyProvider_RandomSource_Call
func (*EntropyProvider_RandomSource_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EntropyProvider_RandomSource_Call) RunAndReturn(run func() ([]byte, error)) *EntropyProvider_RandomSource_Call
type Environment ¶
Environment is an autogenerated mock type for the Environment type
func NewEnvironment ¶
func NewEnvironment(t interface {
mock.TestingT
Cleanup(func())
}) *Environment
NewEnvironment creates a new instance of Environment. 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 (*Environment) AccountKeysCount ¶ added in v0.29.0
func (_mock *Environment) AccountKeysCount(address runtime.Address) (uint32, error)
AccountKeysCount provides a mock function for the type Environment
func (*Environment) AccountsStorageCapacity ¶
func (_mock *Environment) AccountsStorageCapacity(addresses []flow.Address, payer flow.Address, maxTxFees uint64) (cadence.Value, error)
AccountsStorageCapacity provides a mock function for the type Environment
func (*Environment) AddAccountKey ¶
func (_mock *Environment) AddAccountKey(address runtime.Address, publicKey *runtime.PublicKey, hashAlgo runtime.HashAlgorithm, weight int) (*runtime.AccountKey, error)
AddAccountKey provides a mock function for the type Environment
func (*Environment) AllocateSlabIndex ¶ added in v0.37.1
func (_mock *Environment) AllocateSlabIndex(owner []byte) (atree.SlabIndex, error)
AllocateSlabIndex provides a mock function for the type Environment
func (*Environment) BLSAggregatePublicKeys ¶
func (_mock *Environment) BLSAggregatePublicKeys(publicKeys []*runtime.PublicKey) (*runtime.PublicKey, error)
BLSAggregatePublicKeys provides a mock function for the type Environment
func (*Environment) BLSAggregateSignatures ¶
func (_mock *Environment) BLSAggregateSignatures(signatures [][]byte) ([]byte, error)
BLSAggregateSignatures provides a mock function for the type Environment
func (*Environment) BLSVerifyPOP ¶
func (_mock *Environment) BLSVerifyPOP(publicKey *runtime.PublicKey, signature []byte) (bool, error)
BLSVerifyPOP provides a mock function for the type Environment
func (*Environment) BorrowCadenceRuntime ¶
func (_mock *Environment) BorrowCadenceRuntime() environment.ReusableCadenceRuntime
BorrowCadenceRuntime provides a mock function for the type Environment
func (*Environment) CheckPayerBalanceAndGetMaxTxFees ¶ added in v0.29.0
func (_mock *Environment) CheckPayerBalanceAndGetMaxTxFees(payer flow.Address, inclusionEffort uint64, executionEffort uint64) (cadence.Value, error)
CheckPayerBalanceAndGetMaxTxFees provides a mock function for the type Environment
func (*Environment) ComputationAvailable ¶ added in v0.33.1
func (_mock *Environment) ComputationAvailable(computationUsage common.ComputationUsage) bool
ComputationAvailable provides a mock function for the type Environment
func (*Environment) ComputationIntensities ¶ added in v0.29.0
func (_mock *Environment) ComputationIntensities() meter.MeteredComputationIntensities
ComputationIntensities provides a mock function for the type Environment
func (*Environment) ComputationRemaining ¶ added in v0.44.0
func (_mock *Environment) ComputationRemaining(kind common.ComputationKind) uint64
ComputationRemaining provides a mock function for the type Environment
func (*Environment) ComputationUsed ¶
func (_mock *Environment) ComputationUsed() (uint64, error)
ComputationUsed provides a mock function for the type Environment
func (*Environment) ConvertedServiceEvents ¶ added in v0.30.0
func (_mock *Environment) ConvertedServiceEvents() flow.ServiceEventList
ConvertedServiceEvents provides a mock function for the type Environment
func (*Environment) CreateAccount ¶
CreateAccount provides a mock function for the type Environment
func (*Environment) DecodeArgument ¶
func (_mock *Environment) DecodeArgument(argument []byte, argumentType cadence.Type) (cadence.Value, error)
DecodeArgument provides a mock function for the type Environment
func (*Environment) DeductTransactionFees ¶
func (_mock *Environment) DeductTransactionFees(payer flow.Address, inclusionEffort uint64, executionEffort uint64) (cadence.Value, error)
DeductTransactionFees provides a mock function for the type Environment
func (*Environment) EVMBlockExecuted ¶ added in v0.36.3
func (_mock *Environment) EVMBlockExecuted(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)
EVMBlockExecuted provides a mock function for the type Environment
func (*Environment) EVMTransactionExecuted ¶ added in v0.36.3
func (_mock *Environment) EVMTransactionExecuted(gasUsed uint64, isDirectCall bool, failed bool)
EVMTransactionExecuted provides a mock function for the type Environment
func (*Environment) EXPECT ¶ added in v0.46.0
func (_m *Environment) EXPECT() *Environment_Expecter
func (*Environment) EmitEvent ¶
func (_mock *Environment) EmitEvent(event cadence.Event) error
EmitEvent provides a mock function for the type Environment
func (*Environment) Events ¶
func (_mock *Environment) Events() flow.EventsList
Events provides a mock function for the type Environment
func (*Environment) FlushPendingUpdates ¶
func (_mock *Environment) FlushPendingUpdates() (environment.ContractUpdates, error)
FlushPendingUpdates provides a mock function for the type Environment
func (*Environment) GenerateAccountID ¶ added in v0.31.0
func (_mock *Environment) GenerateAccountID(address common.Address) (uint64, error)
GenerateAccountID provides a mock function for the type Environment
func (*Environment) GenerateUUID ¶
func (_mock *Environment) GenerateUUID() (uint64, error)
GenerateUUID provides a mock function for the type Environment
func (*Environment) GetAccount ¶
GetAccount provides a mock function for the type Environment
func (*Environment) GetAccountAvailableBalance ¶
func (_mock *Environment) GetAccountAvailableBalance(address common.Address) (uint64, error)
GetAccountAvailableBalance provides a mock function for the type Environment
func (*Environment) GetAccountBalance ¶
func (_mock *Environment) GetAccountBalance(address common.Address) (uint64, error)
GetAccountBalance provides a mock function for the type Environment
func (*Environment) GetAccountContractCode ¶
func (_mock *Environment) GetAccountContractCode(location common.AddressLocation) ([]byte, error)
GetAccountContractCode provides a mock function for the type Environment
func (*Environment) GetAccountContractNames ¶
func (_mock *Environment) GetAccountContractNames(address runtime.Address) ([]string, error)
GetAccountContractNames provides a mock function for the type Environment
func (*Environment) GetAccountKey ¶
func (_mock *Environment) GetAccountKey(address runtime.Address, index uint32) (*runtime.AccountKey, error)
GetAccountKey provides a mock function for the type Environment
func (*Environment) GetAccountKeys ¶ added in v0.35.17
func (_mock *Environment) GetAccountKeys(address flow.Address) ([]flow.AccountPublicKey, error)
GetAccountKeys provides a mock function for the type Environment
func (*Environment) GetBlockAtHeight ¶
GetBlockAtHeight provides a mock function for the type Environment
func (*Environment) GetCode ¶
func (_mock *Environment) GetCode(location runtime.Location) ([]byte, error)
GetCode provides a mock function for the type Environment
func (*Environment) GetCurrentBlockHeight ¶
func (_mock *Environment) GetCurrentBlockHeight() (uint64, error)
GetCurrentBlockHeight provides a mock function for the type Environment
func (*Environment) GetOrLoadProgram ¶ added in v0.30.0
func (_mock *Environment) GetOrLoadProgram(location runtime.Location, load func() (*runtime.Program, error)) (*runtime.Program, error)
GetOrLoadProgram provides a mock function for the type Environment
func (*Environment) GetSigningAccounts ¶
func (_mock *Environment) GetSigningAccounts() ([]runtime.Address, error)
GetSigningAccounts provides a mock function for the type Environment
func (*Environment) GetStorageCapacity ¶
func (_mock *Environment) GetStorageCapacity(address runtime.Address) (uint64, error)
GetStorageCapacity provides a mock function for the type Environment
func (*Environment) GetStorageUsed ¶
func (_mock *Environment) GetStorageUsed(address runtime.Address) (uint64, error)
GetStorageUsed provides a mock function for the type Environment
func (*Environment) GetValue ¶
func (_mock *Environment) GetValue(owner []byte, key []byte) ([]byte, error)
GetValue provides a mock function for the type Environment
func (*Environment) Hash ¶
func (_mock *Environment) Hash(data []byte, tag string, hashAlgorithm runtime.HashAlgorithm) ([]byte, error)
Hash provides a mock function for the type Environment
func (*Environment) ImplementationDebugLog ¶
func (_mock *Environment) ImplementationDebugLog(message string) error
ImplementationDebugLog provides a mock function for the type Environment
func (*Environment) Invoke ¶ added in v0.33.30
func (_mock *Environment) Invoke(spec environment.ContractFunctionSpec, arguments []cadence.Value) (cadence.Value, error)
Invoke provides a mock function for the type Environment
func (*Environment) IsServiceAccountAuthorizer ¶
func (_mock *Environment) IsServiceAccountAuthorizer() bool
IsServiceAccountAuthorizer provides a mock function for the type Environment
func (*Environment) LimitAccountStorage ¶
func (_mock *Environment) LimitAccountStorage() bool
LimitAccountStorage provides a mock function for the type Environment
func (*Environment) Logger ¶
func (_mock *Environment) Logger() zerolog.Logger
Logger provides a mock function for the type Environment
func (*Environment) Logs ¶
func (_mock *Environment) Logs() []string
Logs provides a mock function for the type Environment
func (*Environment) MemoryUsed ¶ added in v0.30.0
func (_mock *Environment) MemoryUsed() (uint64, error)
MemoryUsed provides a mock function for the type Environment
func (*Environment) MeterComputation ¶
func (_mock *Environment) MeterComputation(usage common.ComputationUsage) error
MeterComputation provides a mock function for the type Environment
func (*Environment) MeterEmittedEvent ¶
func (_mock *Environment) MeterEmittedEvent(byteSize uint64) error
MeterEmittedEvent provides a mock function for the type Environment
func (*Environment) MeterMemory ¶
func (_mock *Environment) MeterMemory(usage common.MemoryUsage) error
MeterMemory provides a mock function for the type Environment
func (*Environment) MinimumRequiredVersion ¶ added in v0.37.20
func (_mock *Environment) MinimumRequiredVersion() (string, error)
MinimumRequiredVersion provides a mock function for the type Environment
func (*Environment) ProgramLog ¶
func (_mock *Environment) ProgramLog(s string) error
ProgramLog provides a mock function for the type Environment
func (*Environment) RandomSourceHistory ¶ added in v0.32.2
func (_mock *Environment) RandomSourceHistory() ([]byte, error)
RandomSourceHistory provides a mock function for the type Environment
func (*Environment) ReadRandom ¶ added in v0.32.0
func (_mock *Environment) ReadRandom(bytes []byte) error
ReadRandom provides a mock function for the type Environment
func (*Environment) RecordTrace ¶
func (_mock *Environment) RecordTrace(operation string, duration time.Duration, attrs []attribute.KeyValue)
RecordTrace provides a mock function for the type Environment
func (*Environment) RecoverProgram ¶ added in v0.37.1
func (_mock *Environment) RecoverProgram(program *ast.Program, location common.Location) ([]byte, error)
RecoverProgram provides a mock function for the type Environment
func (*Environment) RemoveAccountContractCode ¶
func (_mock *Environment) RemoveAccountContractCode(location common.AddressLocation) error
RemoveAccountContractCode provides a mock function for the type Environment
func (*Environment) Reset ¶
func (_mock *Environment) Reset()
Reset provides a mock function for the type Environment
func (*Environment) ResolveLocation ¶
func (_mock *Environment) ResolveLocation(identifiers []runtime.Identifier, location runtime.Location) ([]runtime.ResolvedLocation, error)
ResolveLocation provides a mock function for the type Environment
func (*Environment) ResourceOwnerChanged ¶
func (_mock *Environment) ResourceOwnerChanged(interpreter1 *interpreter.Interpreter, resource *interpreter.CompositeValue, oldOwner common.Address, newOwner common.Address)
ResourceOwnerChanged provides a mock function for the type Environment
func (*Environment) ReturnCadenceRuntime ¶
func (_mock *Environment) ReturnCadenceRuntime(reusableCadenceRuntime environment.ReusableCadenceRuntime)
ReturnCadenceRuntime provides a mock function for the type Environment
func (*Environment) RevokeAccountKey ¶
func (_mock *Environment) RevokeAccountKey(address runtime.Address, index uint32) (*runtime.AccountKey, error)
RevokeAccountKey provides a mock function for the type Environment
func (*Environment) RunWithMeteringDisabled ¶ added in v0.43.0
func (_mock *Environment) RunWithMeteringDisabled(f func())
RunWithMeteringDisabled provides a mock function for the type Environment
func (*Environment) RuntimeSetNumberOfAccounts ¶ added in v0.36.3
func (_mock *Environment) RuntimeSetNumberOfAccounts(count uint64)
RuntimeSetNumberOfAccounts provides a mock function for the type Environment
func (*Environment) RuntimeTransactionChecked ¶ added in v0.36.3
func (_mock *Environment) RuntimeTransactionChecked(duration time.Duration)
RuntimeTransactionChecked provides a mock function for the type Environment
func (*Environment) RuntimeTransactionInterpreted ¶ added in v0.36.3
func (_mock *Environment) RuntimeTransactionInterpreted(duration time.Duration)
RuntimeTransactionInterpreted provides a mock function for the type Environment
func (*Environment) RuntimeTransactionParsed ¶ added in v0.36.3
func (_mock *Environment) RuntimeTransactionParsed(duration time.Duration)
RuntimeTransactionParsed provides a mock function for the type Environment
func (*Environment) RuntimeTransactionProgramsCacheHit ¶ added in v0.36.3
func (_mock *Environment) RuntimeTransactionProgramsCacheHit()
RuntimeTransactionProgramsCacheHit provides a mock function for the type Environment
func (*Environment) RuntimeTransactionProgramsCacheMiss ¶ added in v0.36.3
func (_mock *Environment) RuntimeTransactionProgramsCacheMiss()
RuntimeTransactionProgramsCacheMiss provides a mock function for the type Environment
func (*Environment) ServiceEvents ¶
func (_mock *Environment) ServiceEvents() flow.EventsList
ServiceEvents provides a mock function for the type Environment
func (*Environment) SetNumberOfDeployedCOAs ¶ added in v0.36.3
func (_mock *Environment) SetNumberOfDeployedCOAs(count uint64)
SetNumberOfDeployedCOAs provides a mock function for the type Environment
func (*Environment) SetValue ¶
func (_mock *Environment) SetValue(owner []byte, key []byte, value []byte) error
SetValue provides a mock function for the type Environment
func (*Environment) StartChildSpan ¶ added in v0.30.0
func (_mock *Environment) StartChildSpan(name trace.SpanName, options ...trace0.SpanStartOption) tracing.TracerSpan
StartChildSpan provides a mock function for the type Environment
func (*Environment) TotalEmittedEventBytes ¶
func (_mock *Environment) TotalEmittedEventBytes() uint64
TotalEmittedEventBytes provides a mock function for the type Environment
func (*Environment) TransactionFeesEnabled ¶
func (_mock *Environment) TransactionFeesEnabled() bool
TransactionFeesEnabled provides a mock function for the type Environment
func (*Environment) TxID ¶
func (_mock *Environment) TxID() flow.Identifier
TxID provides a mock function for the type Environment
func (*Environment) TxIndex ¶
func (_mock *Environment) TxIndex() uint32
TxIndex provides a mock function for the type Environment
func (*Environment) UpdateAccountContractCode ¶
func (_mock *Environment) UpdateAccountContractCode(location common.AddressLocation, code []byte) error
UpdateAccountContractCode provides a mock function for the type Environment
func (*Environment) ValidateAccountCapabilitiesGet ¶ added in v0.37.16
func (_mock *Environment) ValidateAccountCapabilitiesGet(context interpreter.AccountCapabilityGetValidationContext, address interpreter.AddressValue, path interpreter.PathValue, wantedBorrowType *sema.ReferenceType, capabilityBorrowType *sema.ReferenceType) (bool, error)
ValidateAccountCapabilitiesGet provides a mock function for the type Environment
func (*Environment) ValidateAccountCapabilitiesPublish ¶ added in v0.37.16
func (_mock *Environment) ValidateAccountCapabilitiesPublish(context interpreter.AccountCapabilityPublishValidationContext, address interpreter.AddressValue, path interpreter.PathValue, capabilityBorrowType *interpreter.ReferenceStaticType) (bool, error)
ValidateAccountCapabilitiesPublish provides a mock function for the type Environment
func (*Environment) ValidatePublicKey ¶
func (_mock *Environment) ValidatePublicKey(key *runtime.PublicKey) error
ValidatePublicKey provides a mock function for the type Environment
func (*Environment) ValueExists ¶
func (_mock *Environment) ValueExists(owner []byte, key []byte) (bool, error)
ValueExists provides a mock function for the type Environment
func (*Environment) VerifySignature ¶
func (_mock *Environment) VerifySignature(signature []byte, tag string, signedData []byte, publicKey []byte, signatureAlgorithm runtime.SignatureAlgorithm, hashAlgorithm runtime.HashAlgorithm) (bool, error)
VerifySignature provides a mock function for the type Environment
type Environment_AccountKeysCount_Call ¶ added in v0.46.0
Environment_AccountKeysCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountKeysCount'
func (*Environment_AccountKeysCount_Call) Return ¶ added in v0.46.0
func (_c *Environment_AccountKeysCount_Call) Return(v uint32, err error) *Environment_AccountKeysCount_Call
func (*Environment_AccountKeysCount_Call) Run ¶ added in v0.46.0
func (_c *Environment_AccountKeysCount_Call) Run(run func(address runtime.Address)) *Environment_AccountKeysCount_Call
func (*Environment_AccountKeysCount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_AccountKeysCount_Call) RunAndReturn(run func(address runtime.Address) (uint32, error)) *Environment_AccountKeysCount_Call
type Environment_AccountsStorageCapacity_Call ¶ added in v0.46.0
Environment_AccountsStorageCapacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountsStorageCapacity'
func (*Environment_AccountsStorageCapacity_Call) Return ¶ added in v0.46.0
func (_c *Environment_AccountsStorageCapacity_Call) Return(value cadence.Value, err error) *Environment_AccountsStorageCapacity_Call
func (*Environment_AccountsStorageCapacity_Call) Run ¶ added in v0.46.0
func (_c *Environment_AccountsStorageCapacity_Call) Run(run func(addresses []flow.Address, payer flow.Address, maxTxFees uint64)) *Environment_AccountsStorageCapacity_Call
func (*Environment_AccountsStorageCapacity_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_AccountsStorageCapacity_Call) RunAndReturn(run func(addresses []flow.Address, payer flow.Address, maxTxFees uint64) (cadence.Value, error)) *Environment_AccountsStorageCapacity_Call
type Environment_AddAccountKey_Call ¶ added in v0.46.0
Environment_AddAccountKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddAccountKey'
func (*Environment_AddAccountKey_Call) Return ¶ added in v0.46.0
func (_c *Environment_AddAccountKey_Call) Return(v *runtime.AccountKey, err error) *Environment_AddAccountKey_Call
func (*Environment_AddAccountKey_Call) Run ¶ added in v0.46.0
func (_c *Environment_AddAccountKey_Call) Run(run func(address runtime.Address, publicKey *runtime.PublicKey, hashAlgo runtime.HashAlgorithm, weight int)) *Environment_AddAccountKey_Call
func (*Environment_AddAccountKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_AddAccountKey_Call) RunAndReturn(run func(address runtime.Address, publicKey *runtime.PublicKey, hashAlgo runtime.HashAlgorithm, weight int) (*runtime.AccountKey, error)) *Environment_AddAccountKey_Call
type Environment_AllocateSlabIndex_Call ¶ added in v0.46.0
Environment_AllocateSlabIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllocateSlabIndex'
func (*Environment_AllocateSlabIndex_Call) Return ¶ added in v0.46.0
func (_c *Environment_AllocateSlabIndex_Call) Return(slabIndex atree.SlabIndex, err error) *Environment_AllocateSlabIndex_Call
func (*Environment_AllocateSlabIndex_Call) Run ¶ added in v0.46.0
func (_c *Environment_AllocateSlabIndex_Call) Run(run func(owner []byte)) *Environment_AllocateSlabIndex_Call
func (*Environment_AllocateSlabIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_AllocateSlabIndex_Call) RunAndReturn(run func(owner []byte) (atree.SlabIndex, error)) *Environment_AllocateSlabIndex_Call
type Environment_BLSAggregatePublicKeys_Call ¶ added in v0.46.0
Environment_BLSAggregatePublicKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BLSAggregatePublicKeys'
func (*Environment_BLSAggregatePublicKeys_Call) Return ¶ added in v0.46.0
func (_c *Environment_BLSAggregatePublicKeys_Call) Return(v *runtime.PublicKey, err error) *Environment_BLSAggregatePublicKeys_Call
func (*Environment_BLSAggregatePublicKeys_Call) Run ¶ added in v0.46.0
func (_c *Environment_BLSAggregatePublicKeys_Call) Run(run func(publicKeys []*runtime.PublicKey)) *Environment_BLSAggregatePublicKeys_Call
func (*Environment_BLSAggregatePublicKeys_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_BLSAggregatePublicKeys_Call) RunAndReturn(run func(publicKeys []*runtime.PublicKey) (*runtime.PublicKey, error)) *Environment_BLSAggregatePublicKeys_Call
type Environment_BLSAggregateSignatures_Call ¶ added in v0.46.0
Environment_BLSAggregateSignatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BLSAggregateSignatures'
func (*Environment_BLSAggregateSignatures_Call) Return ¶ added in v0.46.0
func (_c *Environment_BLSAggregateSignatures_Call) Return(bytes []byte, err error) *Environment_BLSAggregateSignatures_Call
func (*Environment_BLSAggregateSignatures_Call) Run ¶ added in v0.46.0
func (_c *Environment_BLSAggregateSignatures_Call) Run(run func(signatures [][]byte)) *Environment_BLSAggregateSignatures_Call
func (*Environment_BLSAggregateSignatures_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_BLSAggregateSignatures_Call) RunAndReturn(run func(signatures [][]byte) ([]byte, error)) *Environment_BLSAggregateSignatures_Call
type Environment_BLSVerifyPOP_Call ¶ added in v0.46.0
Environment_BLSVerifyPOP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BLSVerifyPOP'
func (*Environment_BLSVerifyPOP_Call) Return ¶ added in v0.46.0
func (_c *Environment_BLSVerifyPOP_Call) Return(b bool, err error) *Environment_BLSVerifyPOP_Call
func (*Environment_BLSVerifyPOP_Call) Run ¶ added in v0.46.0
func (_c *Environment_BLSVerifyPOP_Call) Run(run func(publicKey *runtime.PublicKey, signature []byte)) *Environment_BLSVerifyPOP_Call
func (*Environment_BLSVerifyPOP_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_BLSVerifyPOP_Call) RunAndReturn(run func(publicKey *runtime.PublicKey, signature []byte) (bool, error)) *Environment_BLSVerifyPOP_Call
type Environment_BorrowCadenceRuntime_Call ¶ added in v0.46.0
Environment_BorrowCadenceRuntime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BorrowCadenceRuntime'
func (*Environment_BorrowCadenceRuntime_Call) Return ¶ added in v0.46.0
func (_c *Environment_BorrowCadenceRuntime_Call) Return(reusableCadenceRuntime environment.ReusableCadenceRuntime) *Environment_BorrowCadenceRuntime_Call
func (*Environment_BorrowCadenceRuntime_Call) Run ¶ added in v0.46.0
func (_c *Environment_BorrowCadenceRuntime_Call) Run(run func()) *Environment_BorrowCadenceRuntime_Call
func (*Environment_BorrowCadenceRuntime_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_BorrowCadenceRuntime_Call) RunAndReturn(run func() environment.ReusableCadenceRuntime) *Environment_BorrowCadenceRuntime_Call
type Environment_CheckPayerBalanceAndGetMaxTxFees_Call ¶ added in v0.46.0
Environment_CheckPayerBalanceAndGetMaxTxFees_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckPayerBalanceAndGetMaxTxFees'
func (*Environment_CheckPayerBalanceAndGetMaxTxFees_Call) Return ¶ added in v0.46.0
func (_c *Environment_CheckPayerBalanceAndGetMaxTxFees_Call) Return(value cadence.Value, err error) *Environment_CheckPayerBalanceAndGetMaxTxFees_Call
func (*Environment_CheckPayerBalanceAndGetMaxTxFees_Call) Run ¶ added in v0.46.0
func (_c *Environment_CheckPayerBalanceAndGetMaxTxFees_Call) Run(run func(payer flow.Address, inclusionEffort uint64, executionEffort uint64)) *Environment_CheckPayerBalanceAndGetMaxTxFees_Call
func (*Environment_CheckPayerBalanceAndGetMaxTxFees_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_CheckPayerBalanceAndGetMaxTxFees_Call) RunAndReturn(run func(payer flow.Address, inclusionEffort uint64, executionEffort uint64) (cadence.Value, error)) *Environment_CheckPayerBalanceAndGetMaxTxFees_Call
type Environment_ComputationAvailable_Call ¶ added in v0.46.0
Environment_ComputationAvailable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputationAvailable'
func (*Environment_ComputationAvailable_Call) Return ¶ added in v0.46.0
func (_c *Environment_ComputationAvailable_Call) Return(b bool) *Environment_ComputationAvailable_Call
func (*Environment_ComputationAvailable_Call) Run ¶ added in v0.46.0
func (_c *Environment_ComputationAvailable_Call) Run(run func(computationUsage common.ComputationUsage)) *Environment_ComputationAvailable_Call
func (*Environment_ComputationAvailable_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ComputationAvailable_Call) RunAndReturn(run func(computationUsage common.ComputationUsage) bool) *Environment_ComputationAvailable_Call
type Environment_ComputationIntensities_Call ¶ added in v0.46.0
Environment_ComputationIntensities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputationIntensities'
func (*Environment_ComputationIntensities_Call) Return ¶ added in v0.46.0
func (_c *Environment_ComputationIntensities_Call) Return(meteredComputationIntensities meter.MeteredComputationIntensities) *Environment_ComputationIntensities_Call
func (*Environment_ComputationIntensities_Call) Run ¶ added in v0.46.0
func (_c *Environment_ComputationIntensities_Call) Run(run func()) *Environment_ComputationIntensities_Call
func (*Environment_ComputationIntensities_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ComputationIntensities_Call) RunAndReturn(run func() meter.MeteredComputationIntensities) *Environment_ComputationIntensities_Call
type Environment_ComputationRemaining_Call ¶ added in v0.46.0
Environment_ComputationRemaining_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputationRemaining'
func (*Environment_ComputationRemaining_Call) Return ¶ added in v0.46.0
func (_c *Environment_ComputationRemaining_Call) Return(v uint64) *Environment_ComputationRemaining_Call
func (*Environment_ComputationRemaining_Call) Run ¶ added in v0.46.0
func (_c *Environment_ComputationRemaining_Call) Run(run func(kind common.ComputationKind)) *Environment_ComputationRemaining_Call
func (*Environment_ComputationRemaining_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ComputationRemaining_Call) RunAndReturn(run func(kind common.ComputationKind) uint64) *Environment_ComputationRemaining_Call
type Environment_ComputationUsed_Call ¶ added in v0.46.0
Environment_ComputationUsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputationUsed'
func (*Environment_ComputationUsed_Call) Return ¶ added in v0.46.0
func (_c *Environment_ComputationUsed_Call) Return(v uint64, err error) *Environment_ComputationUsed_Call
func (*Environment_ComputationUsed_Call) Run ¶ added in v0.46.0
func (_c *Environment_ComputationUsed_Call) Run(run func()) *Environment_ComputationUsed_Call
func (*Environment_ComputationUsed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ComputationUsed_Call) RunAndReturn(run func() (uint64, error)) *Environment_ComputationUsed_Call
type Environment_ConvertedServiceEvents_Call ¶ added in v0.46.0
Environment_ConvertedServiceEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConvertedServiceEvents'
func (*Environment_ConvertedServiceEvents_Call) Return ¶ added in v0.46.0
func (_c *Environment_ConvertedServiceEvents_Call) Return(serviceEventList flow.ServiceEventList) *Environment_ConvertedServiceEvents_Call
func (*Environment_ConvertedServiceEvents_Call) Run ¶ added in v0.46.0
func (_c *Environment_ConvertedServiceEvents_Call) Run(run func()) *Environment_ConvertedServiceEvents_Call
func (*Environment_ConvertedServiceEvents_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ConvertedServiceEvents_Call) RunAndReturn(run func() flow.ServiceEventList) *Environment_ConvertedServiceEvents_Call
type Environment_CreateAccount_Call ¶ added in v0.46.0
Environment_CreateAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAccount'
func (*Environment_CreateAccount_Call) Return ¶ added in v0.46.0
func (_c *Environment_CreateAccount_Call) Return(address runtime.Address, err error) *Environment_CreateAccount_Call
func (*Environment_CreateAccount_Call) Run ¶ added in v0.46.0
func (_c *Environment_CreateAccount_Call) Run(run func(payer runtime.Address)) *Environment_CreateAccount_Call
func (*Environment_CreateAccount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_CreateAccount_Call) RunAndReturn(run func(payer runtime.Address) (runtime.Address, error)) *Environment_CreateAccount_Call
type Environment_DecodeArgument_Call ¶ added in v0.46.0
Environment_DecodeArgument_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DecodeArgument'
func (*Environment_DecodeArgument_Call) Return ¶ added in v0.46.0
func (_c *Environment_DecodeArgument_Call) Return(value cadence.Value, err error) *Environment_DecodeArgument_Call
func (*Environment_DecodeArgument_Call) Run ¶ added in v0.46.0
func (_c *Environment_DecodeArgument_Call) Run(run func(argument []byte, argumentType cadence.Type)) *Environment_DecodeArgument_Call
func (*Environment_DecodeArgument_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_DecodeArgument_Call) RunAndReturn(run func(argument []byte, argumentType cadence.Type) (cadence.Value, error)) *Environment_DecodeArgument_Call
type Environment_DeductTransactionFees_Call ¶ added in v0.46.0
Environment_DeductTransactionFees_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeductTransactionFees'
func (*Environment_DeductTransactionFees_Call) Return ¶ added in v0.46.0
func (_c *Environment_DeductTransactionFees_Call) Return(value cadence.Value, err error) *Environment_DeductTransactionFees_Call
func (*Environment_DeductTransactionFees_Call) Run ¶ added in v0.46.0
func (_c *Environment_DeductTransactionFees_Call) Run(run func(payer flow.Address, inclusionEffort uint64, executionEffort uint64)) *Environment_DeductTransactionFees_Call
func (*Environment_DeductTransactionFees_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_DeductTransactionFees_Call) RunAndReturn(run func(payer flow.Address, inclusionEffort uint64, executionEffort uint64) (cadence.Value, error)) *Environment_DeductTransactionFees_Call
type Environment_EVMBlockExecuted_Call ¶ added in v0.46.0
Environment_EVMBlockExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EVMBlockExecuted'
func (*Environment_EVMBlockExecuted_Call) Return ¶ added in v0.46.0
func (_c *Environment_EVMBlockExecuted_Call) Return() *Environment_EVMBlockExecuted_Call
func (*Environment_EVMBlockExecuted_Call) Run ¶ added in v0.46.0
func (_c *Environment_EVMBlockExecuted_Call) Run(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *Environment_EVMBlockExecuted_Call
func (*Environment_EVMBlockExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_EVMBlockExecuted_Call) RunAndReturn(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *Environment_EVMBlockExecuted_Call
type Environment_EVMTransactionExecuted_Call ¶ added in v0.46.0
Environment_EVMTransactionExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EVMTransactionExecuted'
func (*Environment_EVMTransactionExecuted_Call) Return ¶ added in v0.46.0
func (_c *Environment_EVMTransactionExecuted_Call) Return() *Environment_EVMTransactionExecuted_Call
func (*Environment_EVMTransactionExecuted_Call) Run ¶ added in v0.46.0
func (_c *Environment_EVMTransactionExecuted_Call) Run(run func(gasUsed uint64, isDirectCall bool, failed bool)) *Environment_EVMTransactionExecuted_Call
func (*Environment_EVMTransactionExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_EVMTransactionExecuted_Call) RunAndReturn(run func(gasUsed uint64, isDirectCall bool, failed bool)) *Environment_EVMTransactionExecuted_Call
type Environment_EmitEvent_Call ¶ added in v0.46.0
Environment_EmitEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EmitEvent'
func (*Environment_EmitEvent_Call) Return ¶ added in v0.46.0
func (_c *Environment_EmitEvent_Call) Return(err error) *Environment_EmitEvent_Call
func (*Environment_EmitEvent_Call) Run ¶ added in v0.46.0
func (_c *Environment_EmitEvent_Call) Run(run func(event cadence.Event)) *Environment_EmitEvent_Call
func (*Environment_EmitEvent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_EmitEvent_Call) RunAndReturn(run func(event cadence.Event) error) *Environment_EmitEvent_Call
type Environment_Events_Call ¶ added in v0.46.0
Environment_Events_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Events'
func (*Environment_Events_Call) Return ¶ added in v0.46.0
func (_c *Environment_Events_Call) Return(eventsList flow.EventsList) *Environment_Events_Call
func (*Environment_Events_Call) Run ¶ added in v0.46.0
func (_c *Environment_Events_Call) Run(run func()) *Environment_Events_Call
func (*Environment_Events_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_Events_Call) RunAndReturn(run func() flow.EventsList) *Environment_Events_Call
type Environment_Expecter ¶ added in v0.46.0
type Environment_Expecter struct {
// contains filtered or unexported fields
}
func (*Environment_Expecter) AccountKeysCount ¶ added in v0.46.0
func (_e *Environment_Expecter) AccountKeysCount(address interface{}) *Environment_AccountKeysCount_Call
AccountKeysCount is a helper method to define mock.On call
- address runtime.Address
func (*Environment_Expecter) AccountsStorageCapacity ¶ added in v0.46.0
func (_e *Environment_Expecter) AccountsStorageCapacity(addresses interface{}, payer interface{}, maxTxFees interface{}) *Environment_AccountsStorageCapacity_Call
AccountsStorageCapacity is a helper method to define mock.On call
- addresses []flow.Address
- payer flow.Address
- maxTxFees uint64
func (*Environment_Expecter) AddAccountKey ¶ added in v0.46.0
func (_e *Environment_Expecter) AddAccountKey(address interface{}, publicKey interface{}, hashAlgo interface{}, weight interface{}) *Environment_AddAccountKey_Call
AddAccountKey is a helper method to define mock.On call
- address runtime.Address
- publicKey *runtime.PublicKey
- hashAlgo runtime.HashAlgorithm
- weight int
func (*Environment_Expecter) AllocateSlabIndex ¶ added in v0.46.0
func (_e *Environment_Expecter) AllocateSlabIndex(owner interface{}) *Environment_AllocateSlabIndex_Call
AllocateSlabIndex is a helper method to define mock.On call
- owner []byte
func (*Environment_Expecter) BLSAggregatePublicKeys ¶ added in v0.46.0
func (_e *Environment_Expecter) BLSAggregatePublicKeys(publicKeys interface{}) *Environment_BLSAggregatePublicKeys_Call
BLSAggregatePublicKeys is a helper method to define mock.On call
- publicKeys []*runtime.PublicKey
func (*Environment_Expecter) BLSAggregateSignatures ¶ added in v0.46.0
func (_e *Environment_Expecter) BLSAggregateSignatures(signatures interface{}) *Environment_BLSAggregateSignatures_Call
BLSAggregateSignatures is a helper method to define mock.On call
- signatures [][]byte
func (*Environment_Expecter) BLSVerifyPOP ¶ added in v0.46.0
func (_e *Environment_Expecter) BLSVerifyPOP(publicKey interface{}, signature interface{}) *Environment_BLSVerifyPOP_Call
BLSVerifyPOP is a helper method to define mock.On call
- publicKey *runtime.PublicKey
- signature []byte
func (*Environment_Expecter) BorrowCadenceRuntime ¶ added in v0.46.0
func (_e *Environment_Expecter) BorrowCadenceRuntime() *Environment_BorrowCadenceRuntime_Call
BorrowCadenceRuntime is a helper method to define mock.On call
func (*Environment_Expecter) CheckPayerBalanceAndGetMaxTxFees ¶ added in v0.46.0
func (_e *Environment_Expecter) CheckPayerBalanceAndGetMaxTxFees(payer interface{}, inclusionEffort interface{}, executionEffort interface{}) *Environment_CheckPayerBalanceAndGetMaxTxFees_Call
CheckPayerBalanceAndGetMaxTxFees is a helper method to define mock.On call
- payer flow.Address
- inclusionEffort uint64
- executionEffort uint64
func (*Environment_Expecter) ComputationAvailable ¶ added in v0.46.0
func (_e *Environment_Expecter) ComputationAvailable(computationUsage interface{}) *Environment_ComputationAvailable_Call
ComputationAvailable is a helper method to define mock.On call
- computationUsage common.ComputationUsage
func (*Environment_Expecter) ComputationIntensities ¶ added in v0.46.0
func (_e *Environment_Expecter) ComputationIntensities() *Environment_ComputationIntensities_Call
ComputationIntensities is a helper method to define mock.On call
func (*Environment_Expecter) ComputationRemaining ¶ added in v0.46.0
func (_e *Environment_Expecter) ComputationRemaining(kind interface{}) *Environment_ComputationRemaining_Call
ComputationRemaining is a helper method to define mock.On call
- kind common.ComputationKind
func (*Environment_Expecter) ComputationUsed ¶ added in v0.46.0
func (_e *Environment_Expecter) ComputationUsed() *Environment_ComputationUsed_Call
ComputationUsed is a helper method to define mock.On call
func (*Environment_Expecter) ConvertedServiceEvents ¶ added in v0.46.0
func (_e *Environment_Expecter) ConvertedServiceEvents() *Environment_ConvertedServiceEvents_Call
ConvertedServiceEvents is a helper method to define mock.On call
func (*Environment_Expecter) CreateAccount ¶ added in v0.46.0
func (_e *Environment_Expecter) CreateAccount(payer interface{}) *Environment_CreateAccount_Call
CreateAccount is a helper method to define mock.On call
- payer runtime.Address
func (*Environment_Expecter) DecodeArgument ¶ added in v0.46.0
func (_e *Environment_Expecter) DecodeArgument(argument interface{}, argumentType interface{}) *Environment_DecodeArgument_Call
DecodeArgument is a helper method to define mock.On call
- argument []byte
- argumentType cadence.Type
func (*Environment_Expecter) DeductTransactionFees ¶ added in v0.46.0
func (_e *Environment_Expecter) DeductTransactionFees(payer interface{}, inclusionEffort interface{}, executionEffort interface{}) *Environment_DeductTransactionFees_Call
DeductTransactionFees is a helper method to define mock.On call
- payer flow.Address
- inclusionEffort uint64
- executionEffort uint64
func (*Environment_Expecter) EVMBlockExecuted ¶ added in v0.46.0
func (_e *Environment_Expecter) EVMBlockExecuted(txCount interface{}, totalGasUsed interface{}, totalSupplyInFlow interface{}) *Environment_EVMBlockExecuted_Call
EVMBlockExecuted is a helper method to define mock.On call
- txCount int
- totalGasUsed uint64
- totalSupplyInFlow float64
func (*Environment_Expecter) EVMTransactionExecuted ¶ added in v0.46.0
func (_e *Environment_Expecter) EVMTransactionExecuted(gasUsed interface{}, isDirectCall interface{}, failed interface{}) *Environment_EVMTransactionExecuted_Call
EVMTransactionExecuted is a helper method to define mock.On call
- gasUsed uint64
- isDirectCall bool
- failed bool
func (*Environment_Expecter) EmitEvent ¶ added in v0.46.0
func (_e *Environment_Expecter) EmitEvent(event interface{}) *Environment_EmitEvent_Call
EmitEvent is a helper method to define mock.On call
- event cadence.Event
func (*Environment_Expecter) Events ¶ added in v0.46.0
func (_e *Environment_Expecter) Events() *Environment_Events_Call
Events is a helper method to define mock.On call
func (*Environment_Expecter) FlushPendingUpdates ¶ added in v0.46.0
func (_e *Environment_Expecter) FlushPendingUpdates() *Environment_FlushPendingUpdates_Call
FlushPendingUpdates is a helper method to define mock.On call
func (*Environment_Expecter) GenerateAccountID ¶ added in v0.46.0
func (_e *Environment_Expecter) GenerateAccountID(address interface{}) *Environment_GenerateAccountID_Call
GenerateAccountID is a helper method to define mock.On call
- address common.Address
func (*Environment_Expecter) GenerateUUID ¶ added in v0.46.0
func (_e *Environment_Expecter) GenerateUUID() *Environment_GenerateUUID_Call
GenerateUUID is a helper method to define mock.On call
func (*Environment_Expecter) GetAccount ¶ added in v0.46.0
func (_e *Environment_Expecter) GetAccount(address interface{}) *Environment_GetAccount_Call
GetAccount is a helper method to define mock.On call
- address flow.Address
func (*Environment_Expecter) GetAccountAvailableBalance ¶ added in v0.46.0
func (_e *Environment_Expecter) GetAccountAvailableBalance(address interface{}) *Environment_GetAccountAvailableBalance_Call
GetAccountAvailableBalance is a helper method to define mock.On call
- address common.Address
func (*Environment_Expecter) GetAccountBalance ¶ added in v0.46.0
func (_e *Environment_Expecter) GetAccountBalance(address interface{}) *Environment_GetAccountBalance_Call
GetAccountBalance is a helper method to define mock.On call
- address common.Address
func (*Environment_Expecter) GetAccountContractCode ¶ added in v0.46.0
func (_e *Environment_Expecter) GetAccountContractCode(location interface{}) *Environment_GetAccountContractCode_Call
GetAccountContractCode is a helper method to define mock.On call
- location common.AddressLocation
func (*Environment_Expecter) GetAccountContractNames ¶ added in v0.46.0
func (_e *Environment_Expecter) GetAccountContractNames(address interface{}) *Environment_GetAccountContractNames_Call
GetAccountContractNames is a helper method to define mock.On call
- address runtime.Address
func (*Environment_Expecter) GetAccountKey ¶ added in v0.46.0
func (_e *Environment_Expecter) GetAccountKey(address interface{}, index interface{}) *Environment_GetAccountKey_Call
GetAccountKey is a helper method to define mock.On call
- address runtime.Address
- index uint32
func (*Environment_Expecter) GetAccountKeys ¶ added in v0.46.0
func (_e *Environment_Expecter) GetAccountKeys(address interface{}) *Environment_GetAccountKeys_Call
GetAccountKeys is a helper method to define mock.On call
- address flow.Address
func (*Environment_Expecter) GetBlockAtHeight ¶ added in v0.46.0
func (_e *Environment_Expecter) GetBlockAtHeight(height interface{}) *Environment_GetBlockAtHeight_Call
GetBlockAtHeight is a helper method to define mock.On call
- height uint64
func (*Environment_Expecter) GetCode ¶ added in v0.46.0
func (_e *Environment_Expecter) GetCode(location interface{}) *Environment_GetCode_Call
GetCode is a helper method to define mock.On call
- location runtime.Location
func (*Environment_Expecter) GetCurrentBlockHeight ¶ added in v0.46.0
func (_e *Environment_Expecter) GetCurrentBlockHeight() *Environment_GetCurrentBlockHeight_Call
GetCurrentBlockHeight is a helper method to define mock.On call
func (*Environment_Expecter) GetOrLoadProgram ¶ added in v0.46.0
func (_e *Environment_Expecter) GetOrLoadProgram(location interface{}, load interface{}) *Environment_GetOrLoadProgram_Call
GetOrLoadProgram is a helper method to define mock.On call
- location runtime.Location
- load func() (*runtime.Program, error)
func (*Environment_Expecter) GetSigningAccounts ¶ added in v0.46.0
func (_e *Environment_Expecter) GetSigningAccounts() *Environment_GetSigningAccounts_Call
GetSigningAccounts is a helper method to define mock.On call
func (*Environment_Expecter) GetStorageCapacity ¶ added in v0.46.0
func (_e *Environment_Expecter) GetStorageCapacity(address interface{}) *Environment_GetStorageCapacity_Call
GetStorageCapacity is a helper method to define mock.On call
- address runtime.Address
func (*Environment_Expecter) GetStorageUsed ¶ added in v0.46.0
func (_e *Environment_Expecter) GetStorageUsed(address interface{}) *Environment_GetStorageUsed_Call
GetStorageUsed is a helper method to define mock.On call
- address runtime.Address
func (*Environment_Expecter) GetValue ¶ added in v0.46.0
func (_e *Environment_Expecter) GetValue(owner interface{}, key interface{}) *Environment_GetValue_Call
GetValue is a helper method to define mock.On call
- owner []byte
- key []byte
func (*Environment_Expecter) Hash ¶ added in v0.46.0
func (_e *Environment_Expecter) Hash(data interface{}, tag interface{}, hashAlgorithm interface{}) *Environment_Hash_Call
Hash is a helper method to define mock.On call
- data []byte
- tag string
- hashAlgorithm runtime.HashAlgorithm
func (*Environment_Expecter) ImplementationDebugLog ¶ added in v0.46.0
func (_e *Environment_Expecter) ImplementationDebugLog(message interface{}) *Environment_ImplementationDebugLog_Call
ImplementationDebugLog is a helper method to define mock.On call
- message string
func (*Environment_Expecter) Invoke ¶ added in v0.46.0
func (_e *Environment_Expecter) Invoke(spec interface{}, arguments interface{}) *Environment_Invoke_Call
Invoke is a helper method to define mock.On call
- spec environment.ContractFunctionSpec
- arguments []cadence.Value
func (*Environment_Expecter) IsServiceAccountAuthorizer ¶ added in v0.46.0
func (_e *Environment_Expecter) IsServiceAccountAuthorizer() *Environment_IsServiceAccountAuthorizer_Call
IsServiceAccountAuthorizer is a helper method to define mock.On call
func (*Environment_Expecter) LimitAccountStorage ¶ added in v0.46.0
func (_e *Environment_Expecter) LimitAccountStorage() *Environment_LimitAccountStorage_Call
LimitAccountStorage is a helper method to define mock.On call
func (*Environment_Expecter) Logger ¶ added in v0.46.0
func (_e *Environment_Expecter) Logger() *Environment_Logger_Call
Logger is a helper method to define mock.On call
func (*Environment_Expecter) Logs ¶ added in v0.46.0
func (_e *Environment_Expecter) Logs() *Environment_Logs_Call
Logs is a helper method to define mock.On call
func (*Environment_Expecter) MemoryUsed ¶ added in v0.46.0
func (_e *Environment_Expecter) MemoryUsed() *Environment_MemoryUsed_Call
MemoryUsed is a helper method to define mock.On call
func (*Environment_Expecter) MeterComputation ¶ added in v0.46.0
func (_e *Environment_Expecter) MeterComputation(usage interface{}) *Environment_MeterComputation_Call
MeterComputation is a helper method to define mock.On call
- usage common.ComputationUsage
func (*Environment_Expecter) MeterEmittedEvent ¶ added in v0.46.0
func (_e *Environment_Expecter) MeterEmittedEvent(byteSize interface{}) *Environment_MeterEmittedEvent_Call
MeterEmittedEvent is a helper method to define mock.On call
- byteSize uint64
func (*Environment_Expecter) MeterMemory ¶ added in v0.46.0
func (_e *Environment_Expecter) MeterMemory(usage interface{}) *Environment_MeterMemory_Call
MeterMemory is a helper method to define mock.On call
- usage common.MemoryUsage
func (*Environment_Expecter) MinimumRequiredVersion ¶ added in v0.46.0
func (_e *Environment_Expecter) MinimumRequiredVersion() *Environment_MinimumRequiredVersion_Call
MinimumRequiredVersion is a helper method to define mock.On call
func (*Environment_Expecter) ProgramLog ¶ added in v0.46.0
func (_e *Environment_Expecter) ProgramLog(s interface{}) *Environment_ProgramLog_Call
ProgramLog is a helper method to define mock.On call
- s string
func (*Environment_Expecter) RandomSourceHistory ¶ added in v0.46.0
func (_e *Environment_Expecter) RandomSourceHistory() *Environment_RandomSourceHistory_Call
RandomSourceHistory is a helper method to define mock.On call
func (*Environment_Expecter) ReadRandom ¶ added in v0.46.0
func (_e *Environment_Expecter) ReadRandom(bytes interface{}) *Environment_ReadRandom_Call
ReadRandom is a helper method to define mock.On call
- bytes []byte
func (*Environment_Expecter) RecordTrace ¶ added in v0.46.0
func (_e *Environment_Expecter) RecordTrace(operation interface{}, duration interface{}, attrs interface{}) *Environment_RecordTrace_Call
RecordTrace is a helper method to define mock.On call
- operation string
- duration time.Duration
- attrs []attribute.KeyValue
func (*Environment_Expecter) RecoverProgram ¶ added in v0.46.0
func (_e *Environment_Expecter) RecoverProgram(program interface{}, location interface{}) *Environment_RecoverProgram_Call
RecoverProgram is a helper method to define mock.On call
- program *ast.Program
- location common.Location
func (*Environment_Expecter) RemoveAccountContractCode ¶ added in v0.46.0
func (_e *Environment_Expecter) RemoveAccountContractCode(location interface{}) *Environment_RemoveAccountContractCode_Call
RemoveAccountContractCode is a helper method to define mock.On call
- location common.AddressLocation
func (*Environment_Expecter) Reset ¶ added in v0.46.0
func (_e *Environment_Expecter) Reset() *Environment_Reset_Call
Reset is a helper method to define mock.On call
func (*Environment_Expecter) ResolveLocation ¶ added in v0.46.0
func (_e *Environment_Expecter) ResolveLocation(identifiers interface{}, location interface{}) *Environment_ResolveLocation_Call
ResolveLocation is a helper method to define mock.On call
- identifiers []runtime.Identifier
- location runtime.Location
func (*Environment_Expecter) ResourceOwnerChanged ¶ added in v0.46.0
func (_e *Environment_Expecter) ResourceOwnerChanged(interpreter1 interface{}, resource interface{}, oldOwner interface{}, newOwner interface{}) *Environment_ResourceOwnerChanged_Call
ResourceOwnerChanged is a helper method to define mock.On call
- interpreter1 *interpreter.Interpreter
- resource *interpreter.CompositeValue
- oldOwner common.Address
- newOwner common.Address
func (*Environment_Expecter) ReturnCadenceRuntime ¶ added in v0.46.0
func (_e *Environment_Expecter) ReturnCadenceRuntime(reusableCadenceRuntime interface{}) *Environment_ReturnCadenceRuntime_Call
ReturnCadenceRuntime is a helper method to define mock.On call
- reusableCadenceRuntime environment.ReusableCadenceRuntime
func (*Environment_Expecter) RevokeAccountKey ¶ added in v0.46.0
func (_e *Environment_Expecter) RevokeAccountKey(address interface{}, index interface{}) *Environment_RevokeAccountKey_Call
RevokeAccountKey is a helper method to define mock.On call
- address runtime.Address
- index uint32
func (*Environment_Expecter) RunWithMeteringDisabled ¶ added in v0.46.0
func (_e *Environment_Expecter) RunWithMeteringDisabled(f interface{}) *Environment_RunWithMeteringDisabled_Call
RunWithMeteringDisabled is a helper method to define mock.On call
- f func()
func (*Environment_Expecter) RuntimeSetNumberOfAccounts ¶ added in v0.46.0
func (_e *Environment_Expecter) RuntimeSetNumberOfAccounts(count interface{}) *Environment_RuntimeSetNumberOfAccounts_Call
RuntimeSetNumberOfAccounts is a helper method to define mock.On call
- count uint64
func (*Environment_Expecter) RuntimeTransactionChecked ¶ added in v0.46.0
func (_e *Environment_Expecter) RuntimeTransactionChecked(duration interface{}) *Environment_RuntimeTransactionChecked_Call
RuntimeTransactionChecked is a helper method to define mock.On call
- duration time.Duration
func (*Environment_Expecter) RuntimeTransactionInterpreted ¶ added in v0.46.0
func (_e *Environment_Expecter) RuntimeTransactionInterpreted(duration interface{}) *Environment_RuntimeTransactionInterpreted_Call
RuntimeTransactionInterpreted is a helper method to define mock.On call
- duration time.Duration
func (*Environment_Expecter) RuntimeTransactionParsed ¶ added in v0.46.0
func (_e *Environment_Expecter) RuntimeTransactionParsed(duration interface{}) *Environment_RuntimeTransactionParsed_Call
RuntimeTransactionParsed is a helper method to define mock.On call
- duration time.Duration
func (*Environment_Expecter) RuntimeTransactionProgramsCacheHit ¶ added in v0.46.0
func (_e *Environment_Expecter) RuntimeTransactionProgramsCacheHit() *Environment_RuntimeTransactionProgramsCacheHit_Call
RuntimeTransactionProgramsCacheHit is a helper method to define mock.On call
func (*Environment_Expecter) RuntimeTransactionProgramsCacheMiss ¶ added in v0.46.0
func (_e *Environment_Expecter) RuntimeTransactionProgramsCacheMiss() *Environment_RuntimeTransactionProgramsCacheMiss_Call
RuntimeTransactionProgramsCacheMiss is a helper method to define mock.On call
func (*Environment_Expecter) ServiceEvents ¶ added in v0.46.0
func (_e *Environment_Expecter) ServiceEvents() *Environment_ServiceEvents_Call
ServiceEvents is a helper method to define mock.On call
func (*Environment_Expecter) SetNumberOfDeployedCOAs ¶ added in v0.46.0
func (_e *Environment_Expecter) SetNumberOfDeployedCOAs(count interface{}) *Environment_SetNumberOfDeployedCOAs_Call
SetNumberOfDeployedCOAs is a helper method to define mock.On call
- count uint64
func (*Environment_Expecter) SetValue ¶ added in v0.46.0
func (_e *Environment_Expecter) SetValue(owner interface{}, key interface{}, value interface{}) *Environment_SetValue_Call
SetValue is a helper method to define mock.On call
- owner []byte
- key []byte
- value []byte
func (*Environment_Expecter) StartChildSpan ¶ added in v0.46.0
func (_e *Environment_Expecter) StartChildSpan(name interface{}, options ...interface{}) *Environment_StartChildSpan_Call
StartChildSpan is a helper method to define mock.On call
- name trace.SpanName
- options ...trace0.SpanStartOption
func (*Environment_Expecter) TotalEmittedEventBytes ¶ added in v0.46.0
func (_e *Environment_Expecter) TotalEmittedEventBytes() *Environment_TotalEmittedEventBytes_Call
TotalEmittedEventBytes is a helper method to define mock.On call
func (*Environment_Expecter) TransactionFeesEnabled ¶ added in v0.46.0
func (_e *Environment_Expecter) TransactionFeesEnabled() *Environment_TransactionFeesEnabled_Call
TransactionFeesEnabled is a helper method to define mock.On call
func (*Environment_Expecter) TxID ¶ added in v0.46.0
func (_e *Environment_Expecter) TxID() *Environment_TxID_Call
TxID is a helper method to define mock.On call
func (*Environment_Expecter) TxIndex ¶ added in v0.46.0
func (_e *Environment_Expecter) TxIndex() *Environment_TxIndex_Call
TxIndex is a helper method to define mock.On call
func (*Environment_Expecter) UpdateAccountContractCode ¶ added in v0.46.0
func (_e *Environment_Expecter) UpdateAccountContractCode(location interface{}, code interface{}) *Environment_UpdateAccountContractCode_Call
UpdateAccountContractCode is a helper method to define mock.On call
- location common.AddressLocation
- code []byte
func (*Environment_Expecter) ValidateAccountCapabilitiesGet ¶ added in v0.46.0
func (_e *Environment_Expecter) ValidateAccountCapabilitiesGet(context interface{}, address interface{}, path interface{}, wantedBorrowType interface{}, capabilityBorrowType interface{}) *Environment_ValidateAccountCapabilitiesGet_Call
ValidateAccountCapabilitiesGet is a helper method to define mock.On call
- context interpreter.AccountCapabilityGetValidationContext
- address interpreter.AddressValue
- path interpreter.PathValue
- wantedBorrowType *sema.ReferenceType
- capabilityBorrowType *sema.ReferenceType
func (*Environment_Expecter) ValidateAccountCapabilitiesPublish ¶ added in v0.46.0
func (_e *Environment_Expecter) ValidateAccountCapabilitiesPublish(context interface{}, address interface{}, path interface{}, capabilityBorrowType interface{}) *Environment_ValidateAccountCapabilitiesPublish_Call
ValidateAccountCapabilitiesPublish is a helper method to define mock.On call
- context interpreter.AccountCapabilityPublishValidationContext
- address interpreter.AddressValue
- path interpreter.PathValue
- capabilityBorrowType *interpreter.ReferenceStaticType
func (*Environment_Expecter) ValidatePublicKey ¶ added in v0.46.0
func (_e *Environment_Expecter) ValidatePublicKey(key interface{}) *Environment_ValidatePublicKey_Call
ValidatePublicKey is a helper method to define mock.On call
- key *runtime.PublicKey
func (*Environment_Expecter) ValueExists ¶ added in v0.46.0
func (_e *Environment_Expecter) ValueExists(owner interface{}, key interface{}) *Environment_ValueExists_Call
ValueExists is a helper method to define mock.On call
- owner []byte
- key []byte
func (*Environment_Expecter) VerifySignature ¶ added in v0.46.0
func (_e *Environment_Expecter) VerifySignature(signature interface{}, tag interface{}, signedData interface{}, publicKey interface{}, signatureAlgorithm interface{}, hashAlgorithm interface{}) *Environment_VerifySignature_Call
VerifySignature is a helper method to define mock.On call
- signature []byte
- tag string
- signedData []byte
- publicKey []byte
- signatureAlgorithm runtime.SignatureAlgorithm
- hashAlgorithm runtime.HashAlgorithm
type Environment_FlushPendingUpdates_Call ¶ added in v0.46.0
Environment_FlushPendingUpdates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FlushPendingUpdates'
func (*Environment_FlushPendingUpdates_Call) Return ¶ added in v0.46.0
func (_c *Environment_FlushPendingUpdates_Call) Return(contractUpdates environment.ContractUpdates, err error) *Environment_FlushPendingUpdates_Call
func (*Environment_FlushPendingUpdates_Call) Run ¶ added in v0.46.0
func (_c *Environment_FlushPendingUpdates_Call) Run(run func()) *Environment_FlushPendingUpdates_Call
func (*Environment_FlushPendingUpdates_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_FlushPendingUpdates_Call) RunAndReturn(run func() (environment.ContractUpdates, error)) *Environment_FlushPendingUpdates_Call
type Environment_GenerateAccountID_Call ¶ added in v0.46.0
Environment_GenerateAccountID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateAccountID'
func (*Environment_GenerateAccountID_Call) Return ¶ added in v0.46.0
func (_c *Environment_GenerateAccountID_Call) Return(v uint64, err error) *Environment_GenerateAccountID_Call
func (*Environment_GenerateAccountID_Call) Run ¶ added in v0.46.0
func (_c *Environment_GenerateAccountID_Call) Run(run func(address common.Address)) *Environment_GenerateAccountID_Call
func (*Environment_GenerateAccountID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GenerateAccountID_Call) RunAndReturn(run func(address common.Address) (uint64, error)) *Environment_GenerateAccountID_Call
type Environment_GenerateUUID_Call ¶ added in v0.46.0
Environment_GenerateUUID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateUUID'
func (*Environment_GenerateUUID_Call) Return ¶ added in v0.46.0
func (_c *Environment_GenerateUUID_Call) Return(v uint64, err error) *Environment_GenerateUUID_Call
func (*Environment_GenerateUUID_Call) Run ¶ added in v0.46.0
func (_c *Environment_GenerateUUID_Call) Run(run func()) *Environment_GenerateUUID_Call
func (*Environment_GenerateUUID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GenerateUUID_Call) RunAndReturn(run func() (uint64, error)) *Environment_GenerateUUID_Call
type Environment_GetAccountAvailableBalance_Call ¶ added in v0.46.0
Environment_GetAccountAvailableBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountAvailableBalance'
func (*Environment_GetAccountAvailableBalance_Call) Return ¶ added in v0.46.0
func (_c *Environment_GetAccountAvailableBalance_Call) Return(value uint64, err error) *Environment_GetAccountAvailableBalance_Call
func (*Environment_GetAccountAvailableBalance_Call) Run ¶ added in v0.46.0
func (_c *Environment_GetAccountAvailableBalance_Call) Run(run func(address common.Address)) *Environment_GetAccountAvailableBalance_Call
func (*Environment_GetAccountAvailableBalance_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GetAccountAvailableBalance_Call) RunAndReturn(run func(address common.Address) (uint64, error)) *Environment_GetAccountAvailableBalance_Call
type Environment_GetAccountBalance_Call ¶ added in v0.46.0
Environment_GetAccountBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountBalance'
func (*Environment_GetAccountBalance_Call) Return ¶ added in v0.46.0
func (_c *Environment_GetAccountBalance_Call) Return(value uint64, err error) *Environment_GetAccountBalance_Call
func (*Environment_GetAccountBalance_Call) Run ¶ added in v0.46.0
func (_c *Environment_GetAccountBalance_Call) Run(run func(address common.Address)) *Environment_GetAccountBalance_Call
func (*Environment_GetAccountBalance_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GetAccountBalance_Call) RunAndReturn(run func(address common.Address) (uint64, error)) *Environment_GetAccountBalance_Call
type Environment_GetAccountContractCode_Call ¶ added in v0.46.0
Environment_GetAccountContractCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountContractCode'
func (*Environment_GetAccountContractCode_Call) Return ¶ added in v0.46.0
func (_c *Environment_GetAccountContractCode_Call) Return(code []byte, err error) *Environment_GetAccountContractCode_Call
func (*Environment_GetAccountContractCode_Call) Run ¶ added in v0.46.0
func (_c *Environment_GetAccountContractCode_Call) Run(run func(location common.AddressLocation)) *Environment_GetAccountContractCode_Call
func (*Environment_GetAccountContractCode_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GetAccountContractCode_Call) RunAndReturn(run func(location common.AddressLocation) ([]byte, error)) *Environment_GetAccountContractCode_Call
type Environment_GetAccountContractNames_Call ¶ added in v0.46.0
Environment_GetAccountContractNames_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountContractNames'
func (*Environment_GetAccountContractNames_Call) Return ¶ added in v0.46.0
func (_c *Environment_GetAccountContractNames_Call) Return(strings []string, err error) *Environment_GetAccountContractNames_Call
func (*Environment_GetAccountContractNames_Call) Run ¶ added in v0.46.0
func (_c *Environment_GetAccountContractNames_Call) Run(run func(address runtime.Address)) *Environment_GetAccountContractNames_Call
func (*Environment_GetAccountContractNames_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GetAccountContractNames_Call) RunAndReturn(run func(address runtime.Address) ([]string, error)) *Environment_GetAccountContractNames_Call
type Environment_GetAccountKey_Call ¶ added in v0.46.0
Environment_GetAccountKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountKey'
func (*Environment_GetAccountKey_Call) Return ¶ added in v0.46.0
func (_c *Environment_GetAccountKey_Call) Return(v *runtime.AccountKey, err error) *Environment_GetAccountKey_Call
func (*Environment_GetAccountKey_Call) Run ¶ added in v0.46.0
func (_c *Environment_GetAccountKey_Call) Run(run func(address runtime.Address, index uint32)) *Environment_GetAccountKey_Call
func (*Environment_GetAccountKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GetAccountKey_Call) RunAndReturn(run func(address runtime.Address, index uint32) (*runtime.AccountKey, error)) *Environment_GetAccountKey_Call
type Environment_GetAccountKeys_Call ¶ added in v0.46.0
Environment_GetAccountKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountKeys'
func (*Environment_GetAccountKeys_Call) Return ¶ added in v0.46.0
func (_c *Environment_GetAccountKeys_Call) Return(accountPublicKeys []flow.AccountPublicKey, err error) *Environment_GetAccountKeys_Call
func (*Environment_GetAccountKeys_Call) Run ¶ added in v0.46.0
func (_c *Environment_GetAccountKeys_Call) Run(run func(address flow.Address)) *Environment_GetAccountKeys_Call
func (*Environment_GetAccountKeys_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GetAccountKeys_Call) RunAndReturn(run func(address flow.Address) ([]flow.AccountPublicKey, error)) *Environment_GetAccountKeys_Call
type Environment_GetAccount_Call ¶ added in v0.46.0
Environment_GetAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccount'
func (*Environment_GetAccount_Call) Return ¶ added in v0.46.0
func (_c *Environment_GetAccount_Call) Return(account *flow.Account, err error) *Environment_GetAccount_Call
func (*Environment_GetAccount_Call) Run ¶ added in v0.46.0
func (_c *Environment_GetAccount_Call) Run(run func(address flow.Address)) *Environment_GetAccount_Call
func (*Environment_GetAccount_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GetAccount_Call) RunAndReturn(run func(address flow.Address) (*flow.Account, error)) *Environment_GetAccount_Call
type Environment_GetBlockAtHeight_Call ¶ added in v0.46.0
Environment_GetBlockAtHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockAtHeight'
func (*Environment_GetBlockAtHeight_Call) Return ¶ added in v0.46.0
func (_c *Environment_GetBlockAtHeight_Call) Return(block runtime.Block, exists bool, err error) *Environment_GetBlockAtHeight_Call
func (*Environment_GetBlockAtHeight_Call) Run ¶ added in v0.46.0
func (_c *Environment_GetBlockAtHeight_Call) Run(run func(height uint64)) *Environment_GetBlockAtHeight_Call
func (*Environment_GetBlockAtHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GetBlockAtHeight_Call) RunAndReturn(run func(height uint64) (runtime.Block, bool, error)) *Environment_GetBlockAtHeight_Call
type Environment_GetCode_Call ¶ added in v0.46.0
Environment_GetCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCode'
func (*Environment_GetCode_Call) Return ¶ added in v0.46.0
func (_c *Environment_GetCode_Call) Return(bytes []byte, err error) *Environment_GetCode_Call
func (*Environment_GetCode_Call) Run ¶ added in v0.46.0
func (_c *Environment_GetCode_Call) Run(run func(location runtime.Location)) *Environment_GetCode_Call
func (*Environment_GetCode_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GetCode_Call) RunAndReturn(run func(location runtime.Location) ([]byte, error)) *Environment_GetCode_Call
type Environment_GetCurrentBlockHeight_Call ¶ added in v0.46.0
Environment_GetCurrentBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCurrentBlockHeight'
func (*Environment_GetCurrentBlockHeight_Call) Return ¶ added in v0.46.0
func (_c *Environment_GetCurrentBlockHeight_Call) Return(v uint64, err error) *Environment_GetCurrentBlockHeight_Call
func (*Environment_GetCurrentBlockHeight_Call) Run ¶ added in v0.46.0
func (_c *Environment_GetCurrentBlockHeight_Call) Run(run func()) *Environment_GetCurrentBlockHeight_Call
func (*Environment_GetCurrentBlockHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GetCurrentBlockHeight_Call) RunAndReturn(run func() (uint64, error)) *Environment_GetCurrentBlockHeight_Call
type Environment_GetOrLoadProgram_Call ¶ added in v0.46.0
Environment_GetOrLoadProgram_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOrLoadProgram'
func (*Environment_GetOrLoadProgram_Call) Return ¶ added in v0.46.0
func (_c *Environment_GetOrLoadProgram_Call) Return(program *runtime.Program, err error) *Environment_GetOrLoadProgram_Call
func (*Environment_GetOrLoadProgram_Call) Run ¶ added in v0.46.0
func (_c *Environment_GetOrLoadProgram_Call) Run(run func(location runtime.Location, load func() (*runtime.Program, error))) *Environment_GetOrLoadProgram_Call
func (*Environment_GetOrLoadProgram_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GetOrLoadProgram_Call) RunAndReturn(run func(location runtime.Location, load func() (*runtime.Program, error)) (*runtime.Program, error)) *Environment_GetOrLoadProgram_Call
type Environment_GetSigningAccounts_Call ¶ added in v0.46.0
Environment_GetSigningAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSigningAccounts'
func (*Environment_GetSigningAccounts_Call) Return ¶ added in v0.46.0
func (_c *Environment_GetSigningAccounts_Call) Return(vs []runtime.Address, err error) *Environment_GetSigningAccounts_Call
func (*Environment_GetSigningAccounts_Call) Run ¶ added in v0.46.0
func (_c *Environment_GetSigningAccounts_Call) Run(run func()) *Environment_GetSigningAccounts_Call
func (*Environment_GetSigningAccounts_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GetSigningAccounts_Call) RunAndReturn(run func() ([]runtime.Address, error)) *Environment_GetSigningAccounts_Call
type Environment_GetStorageCapacity_Call ¶ added in v0.46.0
Environment_GetStorageCapacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStorageCapacity'
func (*Environment_GetStorageCapacity_Call) Return ¶ added in v0.46.0
func (_c *Environment_GetStorageCapacity_Call) Return(value uint64, err error) *Environment_GetStorageCapacity_Call
func (*Environment_GetStorageCapacity_Call) Run ¶ added in v0.46.0
func (_c *Environment_GetStorageCapacity_Call) Run(run func(address runtime.Address)) *Environment_GetStorageCapacity_Call
func (*Environment_GetStorageCapacity_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GetStorageCapacity_Call) RunAndReturn(run func(address runtime.Address) (uint64, error)) *Environment_GetStorageCapacity_Call
type Environment_GetStorageUsed_Call ¶ added in v0.46.0
Environment_GetStorageUsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStorageUsed'
func (*Environment_GetStorageUsed_Call) Return ¶ added in v0.46.0
func (_c *Environment_GetStorageUsed_Call) Return(value uint64, err error) *Environment_GetStorageUsed_Call
func (*Environment_GetStorageUsed_Call) Run ¶ added in v0.46.0
func (_c *Environment_GetStorageUsed_Call) Run(run func(address runtime.Address)) *Environment_GetStorageUsed_Call
func (*Environment_GetStorageUsed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GetStorageUsed_Call) RunAndReturn(run func(address runtime.Address) (uint64, error)) *Environment_GetStorageUsed_Call
type Environment_GetValue_Call ¶ added in v0.46.0
Environment_GetValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetValue'
func (*Environment_GetValue_Call) Return ¶ added in v0.46.0
func (_c *Environment_GetValue_Call) Return(value []byte, err error) *Environment_GetValue_Call
func (*Environment_GetValue_Call) Run ¶ added in v0.46.0
func (_c *Environment_GetValue_Call) Run(run func(owner []byte, key []byte)) *Environment_GetValue_Call
func (*Environment_GetValue_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_GetValue_Call) RunAndReturn(run func(owner []byte, key []byte) ([]byte, error)) *Environment_GetValue_Call
type Environment_Hash_Call ¶ added in v0.46.0
Environment_Hash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hash'
func (*Environment_Hash_Call) Return ¶ added in v0.46.0
func (_c *Environment_Hash_Call) Return(bytes []byte, err error) *Environment_Hash_Call
func (*Environment_Hash_Call) Run ¶ added in v0.46.0
func (_c *Environment_Hash_Call) Run(run func(data []byte, tag string, hashAlgorithm runtime.HashAlgorithm)) *Environment_Hash_Call
func (*Environment_Hash_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_Hash_Call) RunAndReturn(run func(data []byte, tag string, hashAlgorithm runtime.HashAlgorithm) ([]byte, error)) *Environment_Hash_Call
type Environment_ImplementationDebugLog_Call ¶ added in v0.46.0
Environment_ImplementationDebugLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImplementationDebugLog'
func (*Environment_ImplementationDebugLog_Call) Return ¶ added in v0.46.0
func (_c *Environment_ImplementationDebugLog_Call) Return(err error) *Environment_ImplementationDebugLog_Call
func (*Environment_ImplementationDebugLog_Call) Run ¶ added in v0.46.0
func (_c *Environment_ImplementationDebugLog_Call) Run(run func(message string)) *Environment_ImplementationDebugLog_Call
func (*Environment_ImplementationDebugLog_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ImplementationDebugLog_Call) RunAndReturn(run func(message string) error) *Environment_ImplementationDebugLog_Call
type Environment_Invoke_Call ¶ added in v0.46.0
Environment_Invoke_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Invoke'
func (*Environment_Invoke_Call) Return ¶ added in v0.46.0
func (_c *Environment_Invoke_Call) Return(value cadence.Value, err error) *Environment_Invoke_Call
func (*Environment_Invoke_Call) Run ¶ added in v0.46.0
func (_c *Environment_Invoke_Call) Run(run func(spec environment.ContractFunctionSpec, arguments []cadence.Value)) *Environment_Invoke_Call
func (*Environment_Invoke_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_Invoke_Call) RunAndReturn(run func(spec environment.ContractFunctionSpec, arguments []cadence.Value) (cadence.Value, error)) *Environment_Invoke_Call
type Environment_IsServiceAccountAuthorizer_Call ¶ added in v0.46.0
Environment_IsServiceAccountAuthorizer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsServiceAccountAuthorizer'
func (*Environment_IsServiceAccountAuthorizer_Call) Return ¶ added in v0.46.0
func (_c *Environment_IsServiceAccountAuthorizer_Call) Return(b bool) *Environment_IsServiceAccountAuthorizer_Call
func (*Environment_IsServiceAccountAuthorizer_Call) Run ¶ added in v0.46.0
func (_c *Environment_IsServiceAccountAuthorizer_Call) Run(run func()) *Environment_IsServiceAccountAuthorizer_Call
func (*Environment_IsServiceAccountAuthorizer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_IsServiceAccountAuthorizer_Call) RunAndReturn(run func() bool) *Environment_IsServiceAccountAuthorizer_Call
type Environment_LimitAccountStorage_Call ¶ added in v0.46.0
Environment_LimitAccountStorage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LimitAccountStorage'
func (*Environment_LimitAccountStorage_Call) Return ¶ added in v0.46.0
func (_c *Environment_LimitAccountStorage_Call) Return(b bool) *Environment_LimitAccountStorage_Call
func (*Environment_LimitAccountStorage_Call) Run ¶ added in v0.46.0
func (_c *Environment_LimitAccountStorage_Call) Run(run func()) *Environment_LimitAccountStorage_Call
func (*Environment_LimitAccountStorage_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_LimitAccountStorage_Call) RunAndReturn(run func() bool) *Environment_LimitAccountStorage_Call
type Environment_Logger_Call ¶ added in v0.46.0
Environment_Logger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Logger'
func (*Environment_Logger_Call) Return ¶ added in v0.46.0
func (_c *Environment_Logger_Call) Return(logger zerolog.Logger) *Environment_Logger_Call
func (*Environment_Logger_Call) Run ¶ added in v0.46.0
func (_c *Environment_Logger_Call) Run(run func()) *Environment_Logger_Call
func (*Environment_Logger_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_Logger_Call) RunAndReturn(run func() zerolog.Logger) *Environment_Logger_Call
type Environment_Logs_Call ¶ added in v0.46.0
Environment_Logs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Logs'
func (*Environment_Logs_Call) Return ¶ added in v0.46.0
func (_c *Environment_Logs_Call) Return(strings []string) *Environment_Logs_Call
func (*Environment_Logs_Call) Run ¶ added in v0.46.0
func (_c *Environment_Logs_Call) Run(run func()) *Environment_Logs_Call
func (*Environment_Logs_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_Logs_Call) RunAndReturn(run func() []string) *Environment_Logs_Call
type Environment_MemoryUsed_Call ¶ added in v0.46.0
Environment_MemoryUsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MemoryUsed'
func (*Environment_MemoryUsed_Call) Return ¶ added in v0.46.0
func (_c *Environment_MemoryUsed_Call) Return(v uint64, err error) *Environment_MemoryUsed_Call
func (*Environment_MemoryUsed_Call) Run ¶ added in v0.46.0
func (_c *Environment_MemoryUsed_Call) Run(run func()) *Environment_MemoryUsed_Call
func (*Environment_MemoryUsed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_MemoryUsed_Call) RunAndReturn(run func() (uint64, error)) *Environment_MemoryUsed_Call
type Environment_MeterComputation_Call ¶ added in v0.46.0
Environment_MeterComputation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MeterComputation'
func (*Environment_MeterComputation_Call) Return ¶ added in v0.46.0
func (_c *Environment_MeterComputation_Call) Return(err error) *Environment_MeterComputation_Call
func (*Environment_MeterComputation_Call) Run ¶ added in v0.46.0
func (_c *Environment_MeterComputation_Call) Run(run func(usage common.ComputationUsage)) *Environment_MeterComputation_Call
func (*Environment_MeterComputation_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_MeterComputation_Call) RunAndReturn(run func(usage common.ComputationUsage) error) *Environment_MeterComputation_Call
type Environment_MeterEmittedEvent_Call ¶ added in v0.46.0
Environment_MeterEmittedEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MeterEmittedEvent'
func (*Environment_MeterEmittedEvent_Call) Return ¶ added in v0.46.0
func (_c *Environment_MeterEmittedEvent_Call) Return(err error) *Environment_MeterEmittedEvent_Call
func (*Environment_MeterEmittedEvent_Call) Run ¶ added in v0.46.0
func (_c *Environment_MeterEmittedEvent_Call) Run(run func(byteSize uint64)) *Environment_MeterEmittedEvent_Call
func (*Environment_MeterEmittedEvent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_MeterEmittedEvent_Call) RunAndReturn(run func(byteSize uint64) error) *Environment_MeterEmittedEvent_Call
type Environment_MeterMemory_Call ¶ added in v0.46.0
Environment_MeterMemory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MeterMemory'
func (*Environment_MeterMemory_Call) Return ¶ added in v0.46.0
func (_c *Environment_MeterMemory_Call) Return(err error) *Environment_MeterMemory_Call
func (*Environment_MeterMemory_Call) Run ¶ added in v0.46.0
func (_c *Environment_MeterMemory_Call) Run(run func(usage common.MemoryUsage)) *Environment_MeterMemory_Call
func (*Environment_MeterMemory_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_MeterMemory_Call) RunAndReturn(run func(usage common.MemoryUsage) error) *Environment_MeterMemory_Call
type Environment_MinimumRequiredVersion_Call ¶ added in v0.46.0
Environment_MinimumRequiredVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MinimumRequiredVersion'
func (*Environment_MinimumRequiredVersion_Call) Return ¶ added in v0.46.0
func (_c *Environment_MinimumRequiredVersion_Call) Return(s string, err error) *Environment_MinimumRequiredVersion_Call
func (*Environment_MinimumRequiredVersion_Call) Run ¶ added in v0.46.0
func (_c *Environment_MinimumRequiredVersion_Call) Run(run func()) *Environment_MinimumRequiredVersion_Call
func (*Environment_MinimumRequiredVersion_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_MinimumRequiredVersion_Call) RunAndReturn(run func() (string, error)) *Environment_MinimumRequiredVersion_Call
type Environment_ProgramLog_Call ¶ added in v0.46.0
Environment_ProgramLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProgramLog'
func (*Environment_ProgramLog_Call) Return ¶ added in v0.46.0
func (_c *Environment_ProgramLog_Call) Return(err error) *Environment_ProgramLog_Call
func (*Environment_ProgramLog_Call) Run ¶ added in v0.46.0
func (_c *Environment_ProgramLog_Call) Run(run func(s string)) *Environment_ProgramLog_Call
func (*Environment_ProgramLog_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ProgramLog_Call) RunAndReturn(run func(s string) error) *Environment_ProgramLog_Call
type Environment_RandomSourceHistory_Call ¶ added in v0.46.0
Environment_RandomSourceHistory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RandomSourceHistory'
func (*Environment_RandomSourceHistory_Call) Return ¶ added in v0.46.0
func (_c *Environment_RandomSourceHistory_Call) Return(bytes []byte, err error) *Environment_RandomSourceHistory_Call
func (*Environment_RandomSourceHistory_Call) Run ¶ added in v0.46.0
func (_c *Environment_RandomSourceHistory_Call) Run(run func()) *Environment_RandomSourceHistory_Call
func (*Environment_RandomSourceHistory_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_RandomSourceHistory_Call) RunAndReturn(run func() ([]byte, error)) *Environment_RandomSourceHistory_Call
type Environment_ReadRandom_Call ¶ added in v0.46.0
Environment_ReadRandom_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadRandom'
func (*Environment_ReadRandom_Call) Return ¶ added in v0.46.0
func (_c *Environment_ReadRandom_Call) Return(err error) *Environment_ReadRandom_Call
func (*Environment_ReadRandom_Call) Run ¶ added in v0.46.0
func (_c *Environment_ReadRandom_Call) Run(run func(bytes []byte)) *Environment_ReadRandom_Call
func (*Environment_ReadRandom_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ReadRandom_Call) RunAndReturn(run func(bytes []byte) error) *Environment_ReadRandom_Call
type Environment_RecordTrace_Call ¶ added in v0.46.0
Environment_RecordTrace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecordTrace'
func (*Environment_RecordTrace_Call) Return ¶ added in v0.46.0
func (_c *Environment_RecordTrace_Call) Return() *Environment_RecordTrace_Call
func (*Environment_RecordTrace_Call) Run ¶ added in v0.46.0
func (_c *Environment_RecordTrace_Call) Run(run func(operation string, duration time.Duration, attrs []attribute.KeyValue)) *Environment_RecordTrace_Call
func (*Environment_RecordTrace_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_RecordTrace_Call) RunAndReturn(run func(operation string, duration time.Duration, attrs []attribute.KeyValue)) *Environment_RecordTrace_Call
type Environment_RecoverProgram_Call ¶ added in v0.46.0
Environment_RecoverProgram_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecoverProgram'
func (*Environment_RecoverProgram_Call) Return ¶ added in v0.46.0
func (_c *Environment_RecoverProgram_Call) Return(bytes []byte, err error) *Environment_RecoverProgram_Call
func (*Environment_RecoverProgram_Call) Run ¶ added in v0.46.0
func (_c *Environment_RecoverProgram_Call) Run(run func(program *ast.Program, location common.Location)) *Environment_RecoverProgram_Call
func (*Environment_RecoverProgram_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_RecoverProgram_Call) RunAndReturn(run func(program *ast.Program, location common.Location) ([]byte, error)) *Environment_RecoverProgram_Call
type Environment_RemoveAccountContractCode_Call ¶ added in v0.46.0
Environment_RemoveAccountContractCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveAccountContractCode'
func (*Environment_RemoveAccountContractCode_Call) Return ¶ added in v0.46.0
func (_c *Environment_RemoveAccountContractCode_Call) Return(err error) *Environment_RemoveAccountContractCode_Call
func (*Environment_RemoveAccountContractCode_Call) Run ¶ added in v0.46.0
func (_c *Environment_RemoveAccountContractCode_Call) Run(run func(location common.AddressLocation)) *Environment_RemoveAccountContractCode_Call
func (*Environment_RemoveAccountContractCode_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_RemoveAccountContractCode_Call) RunAndReturn(run func(location common.AddressLocation) error) *Environment_RemoveAccountContractCode_Call
type Environment_Reset_Call ¶ added in v0.46.0
Environment_Reset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reset'
func (*Environment_Reset_Call) Return ¶ added in v0.46.0
func (_c *Environment_Reset_Call) Return() *Environment_Reset_Call
func (*Environment_Reset_Call) Run ¶ added in v0.46.0
func (_c *Environment_Reset_Call) Run(run func()) *Environment_Reset_Call
func (*Environment_Reset_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_Reset_Call) RunAndReturn(run func()) *Environment_Reset_Call
type Environment_ResolveLocation_Call ¶ added in v0.46.0
Environment_ResolveLocation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResolveLocation'
func (*Environment_ResolveLocation_Call) Return ¶ added in v0.46.0
func (_c *Environment_ResolveLocation_Call) Return(vs []runtime.ResolvedLocation, err error) *Environment_ResolveLocation_Call
func (*Environment_ResolveLocation_Call) Run ¶ added in v0.46.0
func (_c *Environment_ResolveLocation_Call) Run(run func(identifiers []runtime.Identifier, location runtime.Location)) *Environment_ResolveLocation_Call
func (*Environment_ResolveLocation_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ResolveLocation_Call) RunAndReturn(run func(identifiers []runtime.Identifier, location runtime.Location) ([]runtime.ResolvedLocation, error)) *Environment_ResolveLocation_Call
type Environment_ResourceOwnerChanged_Call ¶ added in v0.46.0
Environment_ResourceOwnerChanged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResourceOwnerChanged'
func (*Environment_ResourceOwnerChanged_Call) Return ¶ added in v0.46.0
func (_c *Environment_ResourceOwnerChanged_Call) Return() *Environment_ResourceOwnerChanged_Call
func (*Environment_ResourceOwnerChanged_Call) Run ¶ added in v0.46.0
func (_c *Environment_ResourceOwnerChanged_Call) Run(run func(interpreter1 *interpreter.Interpreter, resource *interpreter.CompositeValue, oldOwner common.Address, newOwner common.Address)) *Environment_ResourceOwnerChanged_Call
func (*Environment_ResourceOwnerChanged_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ResourceOwnerChanged_Call) RunAndReturn(run func(interpreter1 *interpreter.Interpreter, resource *interpreter.CompositeValue, oldOwner common.Address, newOwner common.Address)) *Environment_ResourceOwnerChanged_Call
type Environment_ReturnCadenceRuntime_Call ¶ added in v0.46.0
Environment_ReturnCadenceRuntime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReturnCadenceRuntime'
func (*Environment_ReturnCadenceRuntime_Call) Return ¶ added in v0.46.0
func (_c *Environment_ReturnCadenceRuntime_Call) Return() *Environment_ReturnCadenceRuntime_Call
func (*Environment_ReturnCadenceRuntime_Call) Run ¶ added in v0.46.0
func (_c *Environment_ReturnCadenceRuntime_Call) Run(run func(reusableCadenceRuntime environment.ReusableCadenceRuntime)) *Environment_ReturnCadenceRuntime_Call
func (*Environment_ReturnCadenceRuntime_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ReturnCadenceRuntime_Call) RunAndReturn(run func(reusableCadenceRuntime environment.ReusableCadenceRuntime)) *Environment_ReturnCadenceRuntime_Call
type Environment_RevokeAccountKey_Call ¶ added in v0.46.0
Environment_RevokeAccountKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeAccountKey'
func (*Environment_RevokeAccountKey_Call) Return ¶ added in v0.46.0
func (_c *Environment_RevokeAccountKey_Call) Return(v *runtime.AccountKey, err error) *Environment_RevokeAccountKey_Call
func (*Environment_RevokeAccountKey_Call) Run ¶ added in v0.46.0
func (_c *Environment_RevokeAccountKey_Call) Run(run func(address runtime.Address, index uint32)) *Environment_RevokeAccountKey_Call
func (*Environment_RevokeAccountKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_RevokeAccountKey_Call) RunAndReturn(run func(address runtime.Address, index uint32) (*runtime.AccountKey, error)) *Environment_RevokeAccountKey_Call
type Environment_RunWithMeteringDisabled_Call ¶ added in v0.46.0
Environment_RunWithMeteringDisabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunWithMeteringDisabled'
func (*Environment_RunWithMeteringDisabled_Call) Return ¶ added in v0.46.0
func (_c *Environment_RunWithMeteringDisabled_Call) Return() *Environment_RunWithMeteringDisabled_Call
func (*Environment_RunWithMeteringDisabled_Call) Run ¶ added in v0.46.0
func (_c *Environment_RunWithMeteringDisabled_Call) Run(run func(f func())) *Environment_RunWithMeteringDisabled_Call
func (*Environment_RunWithMeteringDisabled_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_RunWithMeteringDisabled_Call) RunAndReturn(run func(f func())) *Environment_RunWithMeteringDisabled_Call
type Environment_RuntimeSetNumberOfAccounts_Call ¶ added in v0.46.0
Environment_RuntimeSetNumberOfAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeSetNumberOfAccounts'
func (*Environment_RuntimeSetNumberOfAccounts_Call) Return ¶ added in v0.46.0
func (_c *Environment_RuntimeSetNumberOfAccounts_Call) Return() *Environment_RuntimeSetNumberOfAccounts_Call
func (*Environment_RuntimeSetNumberOfAccounts_Call) Run ¶ added in v0.46.0
func (_c *Environment_RuntimeSetNumberOfAccounts_Call) Run(run func(count uint64)) *Environment_RuntimeSetNumberOfAccounts_Call
func (*Environment_RuntimeSetNumberOfAccounts_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_RuntimeSetNumberOfAccounts_Call) RunAndReturn(run func(count uint64)) *Environment_RuntimeSetNumberOfAccounts_Call
type Environment_RuntimeTransactionChecked_Call ¶ added in v0.46.0
Environment_RuntimeTransactionChecked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionChecked'
func (*Environment_RuntimeTransactionChecked_Call) Return ¶ added in v0.46.0
func (_c *Environment_RuntimeTransactionChecked_Call) Return() *Environment_RuntimeTransactionChecked_Call
func (*Environment_RuntimeTransactionChecked_Call) Run ¶ added in v0.46.0
func (_c *Environment_RuntimeTransactionChecked_Call) Run(run func(duration time.Duration)) *Environment_RuntimeTransactionChecked_Call
func (*Environment_RuntimeTransactionChecked_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_RuntimeTransactionChecked_Call) RunAndReturn(run func(duration time.Duration)) *Environment_RuntimeTransactionChecked_Call
type Environment_RuntimeTransactionInterpreted_Call ¶ added in v0.46.0
Environment_RuntimeTransactionInterpreted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionInterpreted'
func (*Environment_RuntimeTransactionInterpreted_Call) Run ¶ added in v0.46.0
func (_c *Environment_RuntimeTransactionInterpreted_Call) Run(run func(duration time.Duration)) *Environment_RuntimeTransactionInterpreted_Call
func (*Environment_RuntimeTransactionInterpreted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_RuntimeTransactionInterpreted_Call) RunAndReturn(run func(duration time.Duration)) *Environment_RuntimeTransactionInterpreted_Call
type Environment_RuntimeTransactionParsed_Call ¶ added in v0.46.0
Environment_RuntimeTransactionParsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionParsed'
func (*Environment_RuntimeTransactionParsed_Call) Return ¶ added in v0.46.0
func (_c *Environment_RuntimeTransactionParsed_Call) Return() *Environment_RuntimeTransactionParsed_Call
func (*Environment_RuntimeTransactionParsed_Call) Run ¶ added in v0.46.0
func (_c *Environment_RuntimeTransactionParsed_Call) Run(run func(duration time.Duration)) *Environment_RuntimeTransactionParsed_Call
func (*Environment_RuntimeTransactionParsed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_RuntimeTransactionParsed_Call) RunAndReturn(run func(duration time.Duration)) *Environment_RuntimeTransactionParsed_Call
type Environment_RuntimeTransactionProgramsCacheHit_Call ¶ added in v0.46.0
Environment_RuntimeTransactionProgramsCacheHit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheHit'
func (*Environment_RuntimeTransactionProgramsCacheHit_Call) Run ¶ added in v0.46.0
func (_c *Environment_RuntimeTransactionProgramsCacheHit_Call) Run(run func()) *Environment_RuntimeTransactionProgramsCacheHit_Call
func (*Environment_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn(run func()) *Environment_RuntimeTransactionProgramsCacheHit_Call
type Environment_RuntimeTransactionProgramsCacheMiss_Call ¶ added in v0.46.0
Environment_RuntimeTransactionProgramsCacheMiss_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheMiss'
func (*Environment_RuntimeTransactionProgramsCacheMiss_Call) Run ¶ added in v0.46.0
func (_c *Environment_RuntimeTransactionProgramsCacheMiss_Call) Run(run func()) *Environment_RuntimeTransactionProgramsCacheMiss_Call
func (*Environment_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn(run func()) *Environment_RuntimeTransactionProgramsCacheMiss_Call
type Environment_ServiceEvents_Call ¶ added in v0.46.0
Environment_ServiceEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceEvents'
func (*Environment_ServiceEvents_Call) Return ¶ added in v0.46.0
func (_c *Environment_ServiceEvents_Call) Return(eventsList flow.EventsList) *Environment_ServiceEvents_Call
func (*Environment_ServiceEvents_Call) Run ¶ added in v0.46.0
func (_c *Environment_ServiceEvents_Call) Run(run func()) *Environment_ServiceEvents_Call
func (*Environment_ServiceEvents_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ServiceEvents_Call) RunAndReturn(run func() flow.EventsList) *Environment_ServiceEvents_Call
type Environment_SetNumberOfDeployedCOAs_Call ¶ added in v0.46.0
Environment_SetNumberOfDeployedCOAs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetNumberOfDeployedCOAs'
func (*Environment_SetNumberOfDeployedCOAs_Call) Return ¶ added in v0.46.0
func (_c *Environment_SetNumberOfDeployedCOAs_Call) Return() *Environment_SetNumberOfDeployedCOAs_Call
func (*Environment_SetNumberOfDeployedCOAs_Call) Run ¶ added in v0.46.0
func (_c *Environment_SetNumberOfDeployedCOAs_Call) Run(run func(count uint64)) *Environment_SetNumberOfDeployedCOAs_Call
func (*Environment_SetNumberOfDeployedCOAs_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_SetNumberOfDeployedCOAs_Call) RunAndReturn(run func(count uint64)) *Environment_SetNumberOfDeployedCOAs_Call
type Environment_SetValue_Call ¶ added in v0.46.0
Environment_SetValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetValue'
func (*Environment_SetValue_Call) Return ¶ added in v0.46.0
func (_c *Environment_SetValue_Call) Return(err error) *Environment_SetValue_Call
func (*Environment_SetValue_Call) Run ¶ added in v0.46.0
func (_c *Environment_SetValue_Call) Run(run func(owner []byte, key []byte, value []byte)) *Environment_SetValue_Call
func (*Environment_SetValue_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_SetValue_Call) RunAndReturn(run func(owner []byte, key []byte, value []byte) error) *Environment_SetValue_Call
type Environment_StartChildSpan_Call ¶ added in v0.46.0
Environment_StartChildSpan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartChildSpan'
func (*Environment_StartChildSpan_Call) Return ¶ added in v0.46.0
func (_c *Environment_StartChildSpan_Call) Return(tracerSpan tracing.TracerSpan) *Environment_StartChildSpan_Call
func (*Environment_StartChildSpan_Call) Run ¶ added in v0.46.0
func (_c *Environment_StartChildSpan_Call) Run(run func(name trace.SpanName, options ...trace0.SpanStartOption)) *Environment_StartChildSpan_Call
func (*Environment_StartChildSpan_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_StartChildSpan_Call) RunAndReturn(run func(name trace.SpanName, options ...trace0.SpanStartOption) tracing.TracerSpan) *Environment_StartChildSpan_Call
type Environment_TotalEmittedEventBytes_Call ¶ added in v0.46.0
Environment_TotalEmittedEventBytes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TotalEmittedEventBytes'
func (*Environment_TotalEmittedEventBytes_Call) Return ¶ added in v0.46.0
func (_c *Environment_TotalEmittedEventBytes_Call) Return(v uint64) *Environment_TotalEmittedEventBytes_Call
func (*Environment_TotalEmittedEventBytes_Call) Run ¶ added in v0.46.0
func (_c *Environment_TotalEmittedEventBytes_Call) Run(run func()) *Environment_TotalEmittedEventBytes_Call
func (*Environment_TotalEmittedEventBytes_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_TotalEmittedEventBytes_Call) RunAndReturn(run func() uint64) *Environment_TotalEmittedEventBytes_Call
type Environment_TransactionFeesEnabled_Call ¶ added in v0.46.0
Environment_TransactionFeesEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionFeesEnabled'
func (*Environment_TransactionFeesEnabled_Call) Return ¶ added in v0.46.0
func (_c *Environment_TransactionFeesEnabled_Call) Return(b bool) *Environment_TransactionFeesEnabled_Call
func (*Environment_TransactionFeesEnabled_Call) Run ¶ added in v0.46.0
func (_c *Environment_TransactionFeesEnabled_Call) Run(run func()) *Environment_TransactionFeesEnabled_Call
func (*Environment_TransactionFeesEnabled_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_TransactionFeesEnabled_Call) RunAndReturn(run func() bool) *Environment_TransactionFeesEnabled_Call
type Environment_TxID_Call ¶ added in v0.46.0
Environment_TxID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxID'
func (*Environment_TxID_Call) Return ¶ added in v0.46.0
func (_c *Environment_TxID_Call) Return(identifier flow.Identifier) *Environment_TxID_Call
func (*Environment_TxID_Call) Run ¶ added in v0.46.0
func (_c *Environment_TxID_Call) Run(run func()) *Environment_TxID_Call
func (*Environment_TxID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_TxID_Call) RunAndReturn(run func() flow.Identifier) *Environment_TxID_Call
type Environment_TxIndex_Call ¶ added in v0.46.0
Environment_TxIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxIndex'
func (*Environment_TxIndex_Call) Return ¶ added in v0.46.0
func (_c *Environment_TxIndex_Call) Return(v uint32) *Environment_TxIndex_Call
func (*Environment_TxIndex_Call) Run ¶ added in v0.46.0
func (_c *Environment_TxIndex_Call) Run(run func()) *Environment_TxIndex_Call
func (*Environment_TxIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_TxIndex_Call) RunAndReturn(run func() uint32) *Environment_TxIndex_Call
type Environment_UpdateAccountContractCode_Call ¶ added in v0.46.0
Environment_UpdateAccountContractCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAccountContractCode'
func (*Environment_UpdateAccountContractCode_Call) Return ¶ added in v0.46.0
func (_c *Environment_UpdateAccountContractCode_Call) Return(err error) *Environment_UpdateAccountContractCode_Call
func (*Environment_UpdateAccountContractCode_Call) Run ¶ added in v0.46.0
func (_c *Environment_UpdateAccountContractCode_Call) Run(run func(location common.AddressLocation, code []byte)) *Environment_UpdateAccountContractCode_Call
func (*Environment_UpdateAccountContractCode_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_UpdateAccountContractCode_Call) RunAndReturn(run func(location common.AddressLocation, code []byte) error) *Environment_UpdateAccountContractCode_Call
type Environment_ValidateAccountCapabilitiesGet_Call ¶ added in v0.46.0
Environment_ValidateAccountCapabilitiesGet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateAccountCapabilitiesGet'
func (*Environment_ValidateAccountCapabilitiesGet_Call) Return ¶ added in v0.46.0
func (_c *Environment_ValidateAccountCapabilitiesGet_Call) Return(b bool, err error) *Environment_ValidateAccountCapabilitiesGet_Call
func (*Environment_ValidateAccountCapabilitiesGet_Call) Run ¶ added in v0.46.0
func (_c *Environment_ValidateAccountCapabilitiesGet_Call) Run(run func(context interpreter.AccountCapabilityGetValidationContext, address interpreter.AddressValue, path interpreter.PathValue, wantedBorrowType *sema.ReferenceType, capabilityBorrowType *sema.ReferenceType)) *Environment_ValidateAccountCapabilitiesGet_Call
func (*Environment_ValidateAccountCapabilitiesGet_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ValidateAccountCapabilitiesGet_Call) RunAndReturn(run func(context interpreter.AccountCapabilityGetValidationContext, address interpreter.AddressValue, path interpreter.PathValue, wantedBorrowType *sema.ReferenceType, capabilityBorrowType *sema.ReferenceType) (bool, error)) *Environment_ValidateAccountCapabilitiesGet_Call
type Environment_ValidateAccountCapabilitiesPublish_Call ¶ added in v0.46.0
Environment_ValidateAccountCapabilitiesPublish_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateAccountCapabilitiesPublish'
func (*Environment_ValidateAccountCapabilitiesPublish_Call) Return ¶ added in v0.46.0
func (_c *Environment_ValidateAccountCapabilitiesPublish_Call) Return(b bool, err error) *Environment_ValidateAccountCapabilitiesPublish_Call
func (*Environment_ValidateAccountCapabilitiesPublish_Call) Run ¶ added in v0.46.0
func (_c *Environment_ValidateAccountCapabilitiesPublish_Call) Run(run func(context interpreter.AccountCapabilityPublishValidationContext, address interpreter.AddressValue, path interpreter.PathValue, capabilityBorrowType *interpreter.ReferenceStaticType)) *Environment_ValidateAccountCapabilitiesPublish_Call
func (*Environment_ValidateAccountCapabilitiesPublish_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ValidateAccountCapabilitiesPublish_Call) RunAndReturn(run func(context interpreter.AccountCapabilityPublishValidationContext, address interpreter.AddressValue, path interpreter.PathValue, capabilityBorrowType *interpreter.ReferenceStaticType) (bool, error)) *Environment_ValidateAccountCapabilitiesPublish_Call
type Environment_ValidatePublicKey_Call ¶ added in v0.46.0
Environment_ValidatePublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidatePublicKey'
func (*Environment_ValidatePublicKey_Call) Return ¶ added in v0.46.0
func (_c *Environment_ValidatePublicKey_Call) Return(err error) *Environment_ValidatePublicKey_Call
func (*Environment_ValidatePublicKey_Call) Run ¶ added in v0.46.0
func (_c *Environment_ValidatePublicKey_Call) Run(run func(key *runtime.PublicKey)) *Environment_ValidatePublicKey_Call
func (*Environment_ValidatePublicKey_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ValidatePublicKey_Call) RunAndReturn(run func(key *runtime.PublicKey) error) *Environment_ValidatePublicKey_Call
type Environment_ValueExists_Call ¶ added in v0.46.0
Environment_ValueExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValueExists'
func (*Environment_ValueExists_Call) Return ¶ added in v0.46.0
func (_c *Environment_ValueExists_Call) Return(exists bool, err error) *Environment_ValueExists_Call
func (*Environment_ValueExists_Call) Run ¶ added in v0.46.0
func (_c *Environment_ValueExists_Call) Run(run func(owner []byte, key []byte)) *Environment_ValueExists_Call
func (*Environment_ValueExists_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_ValueExists_Call) RunAndReturn(run func(owner []byte, key []byte) (bool, error)) *Environment_ValueExists_Call
type Environment_VerifySignature_Call ¶ added in v0.46.0
Environment_VerifySignature_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifySignature'
func (*Environment_VerifySignature_Call) Return ¶ added in v0.46.0
func (_c *Environment_VerifySignature_Call) Return(b bool, err error) *Environment_VerifySignature_Call
func (*Environment_VerifySignature_Call) Run ¶ added in v0.46.0
func (_c *Environment_VerifySignature_Call) Run(run func(signature []byte, tag string, signedData []byte, publicKey []byte, signatureAlgorithm runtime.SignatureAlgorithm, hashAlgorithm runtime.HashAlgorithm)) *Environment_VerifySignature_Call
func (*Environment_VerifySignature_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Environment_VerifySignature_Call) RunAndReturn(run func(signature []byte, tag string, signedData []byte, publicKey []byte, signatureAlgorithm runtime.SignatureAlgorithm, hashAlgorithm runtime.HashAlgorithm) (bool, error)) *Environment_VerifySignature_Call
type EventEmitter ¶
EventEmitter is an autogenerated mock type for the EventEmitter type
func NewEventEmitter ¶
func NewEventEmitter(t interface {
mock.TestingT
Cleanup(func())
}) *EventEmitter
NewEventEmitter creates a new instance of EventEmitter. 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 (*EventEmitter) ConvertedServiceEvents ¶ added in v0.30.0
func (_mock *EventEmitter) ConvertedServiceEvents() flow.ServiceEventList
ConvertedServiceEvents provides a mock function for the type EventEmitter
func (*EventEmitter) EXPECT ¶ added in v0.46.0
func (_m *EventEmitter) EXPECT() *EventEmitter_Expecter
func (*EventEmitter) EmitEvent ¶
func (_mock *EventEmitter) EmitEvent(event cadence.Event) error
EmitEvent provides a mock function for the type EventEmitter
func (*EventEmitter) Events ¶
func (_mock *EventEmitter) Events() flow.EventsList
Events provides a mock function for the type EventEmitter
func (*EventEmitter) Reset ¶
func (_mock *EventEmitter) Reset()
Reset provides a mock function for the type EventEmitter
func (*EventEmitter) ServiceEvents ¶
func (_mock *EventEmitter) ServiceEvents() flow.EventsList
ServiceEvents provides a mock function for the type EventEmitter
type EventEmitter_ConvertedServiceEvents_Call ¶ added in v0.46.0
EventEmitter_ConvertedServiceEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConvertedServiceEvents'
func (*EventEmitter_ConvertedServiceEvents_Call) Return ¶ added in v0.46.0
func (_c *EventEmitter_ConvertedServiceEvents_Call) Return(serviceEventList flow.ServiceEventList) *EventEmitter_ConvertedServiceEvents_Call
func (*EventEmitter_ConvertedServiceEvents_Call) Run ¶ added in v0.46.0
func (_c *EventEmitter_ConvertedServiceEvents_Call) Run(run func()) *EventEmitter_ConvertedServiceEvents_Call
func (*EventEmitter_ConvertedServiceEvents_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EventEmitter_ConvertedServiceEvents_Call) RunAndReturn(run func() flow.ServiceEventList) *EventEmitter_ConvertedServiceEvents_Call
type EventEmitter_EmitEvent_Call ¶ added in v0.46.0
EventEmitter_EmitEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EmitEvent'
func (*EventEmitter_EmitEvent_Call) Return ¶ added in v0.46.0
func (_c *EventEmitter_EmitEvent_Call) Return(err error) *EventEmitter_EmitEvent_Call
func (*EventEmitter_EmitEvent_Call) Run ¶ added in v0.46.0
func (_c *EventEmitter_EmitEvent_Call) Run(run func(event cadence.Event)) *EventEmitter_EmitEvent_Call
func (*EventEmitter_EmitEvent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EventEmitter_EmitEvent_Call) RunAndReturn(run func(event cadence.Event) error) *EventEmitter_EmitEvent_Call
type EventEmitter_Events_Call ¶ added in v0.46.0
EventEmitter_Events_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Events'
func (*EventEmitter_Events_Call) Return ¶ added in v0.46.0
func (_c *EventEmitter_Events_Call) Return(eventsList flow.EventsList) *EventEmitter_Events_Call
func (*EventEmitter_Events_Call) Run ¶ added in v0.46.0
func (_c *EventEmitter_Events_Call) Run(run func()) *EventEmitter_Events_Call
func (*EventEmitter_Events_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EventEmitter_Events_Call) RunAndReturn(run func() flow.EventsList) *EventEmitter_Events_Call
type EventEmitter_Expecter ¶ added in v0.46.0
type EventEmitter_Expecter struct {
// contains filtered or unexported fields
}
func (*EventEmitter_Expecter) ConvertedServiceEvents ¶ added in v0.46.0
func (_e *EventEmitter_Expecter) ConvertedServiceEvents() *EventEmitter_ConvertedServiceEvents_Call
ConvertedServiceEvents is a helper method to define mock.On call
func (*EventEmitter_Expecter) EmitEvent ¶ added in v0.46.0
func (_e *EventEmitter_Expecter) EmitEvent(event interface{}) *EventEmitter_EmitEvent_Call
EmitEvent is a helper method to define mock.On call
- event cadence.Event
func (*EventEmitter_Expecter) Events ¶ added in v0.46.0
func (_e *EventEmitter_Expecter) Events() *EventEmitter_Events_Call
Events is a helper method to define mock.On call
func (*EventEmitter_Expecter) Reset ¶ added in v0.46.0
func (_e *EventEmitter_Expecter) Reset() *EventEmitter_Reset_Call
Reset is a helper method to define mock.On call
func (*EventEmitter_Expecter) ServiceEvents ¶ added in v0.46.0
func (_e *EventEmitter_Expecter) ServiceEvents() *EventEmitter_ServiceEvents_Call
ServiceEvents is a helper method to define mock.On call
type EventEmitter_Reset_Call ¶ added in v0.46.0
EventEmitter_Reset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reset'
func (*EventEmitter_Reset_Call) Return ¶ added in v0.46.0
func (_c *EventEmitter_Reset_Call) Return() *EventEmitter_Reset_Call
func (*EventEmitter_Reset_Call) Run ¶ added in v0.46.0
func (_c *EventEmitter_Reset_Call) Run(run func()) *EventEmitter_Reset_Call
func (*EventEmitter_Reset_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EventEmitter_Reset_Call) RunAndReturn(run func()) *EventEmitter_Reset_Call
type EventEmitter_ServiceEvents_Call ¶ added in v0.46.0
EventEmitter_ServiceEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceEvents'
func (*EventEmitter_ServiceEvents_Call) Return ¶ added in v0.46.0
func (_c *EventEmitter_ServiceEvents_Call) Return(eventsList flow.EventsList) *EventEmitter_ServiceEvents_Call
func (*EventEmitter_ServiceEvents_Call) Run ¶ added in v0.46.0
func (_c *EventEmitter_ServiceEvents_Call) Run(run func()) *EventEmitter_ServiceEvents_Call
func (*EventEmitter_ServiceEvents_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EventEmitter_ServiceEvents_Call) RunAndReturn(run func() flow.EventsList) *EventEmitter_ServiceEvents_Call
type EventEncoder ¶ added in v0.29.0
EventEncoder is an autogenerated mock type for the EventEncoder type
func NewEventEncoder ¶ added in v0.29.0
func NewEventEncoder(t interface {
mock.TestingT
Cleanup(func())
}) *EventEncoder
NewEventEncoder creates a new instance of EventEncoder. 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 (*EventEncoder) EXPECT ¶ added in v0.46.0
func (_m *EventEncoder) EXPECT() *EventEncoder_Expecter
type EventEncoder_Encode_Call ¶ added in v0.46.0
EventEncoder_Encode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Encode'
func (*EventEncoder_Encode_Call) Return ¶ added in v0.46.0
func (_c *EventEncoder_Encode_Call) Return(bytes []byte, err error) *EventEncoder_Encode_Call
func (*EventEncoder_Encode_Call) Run ¶ added in v0.46.0
func (_c *EventEncoder_Encode_Call) Run(run func(event cadence.Event)) *EventEncoder_Encode_Call
func (*EventEncoder_Encode_Call) RunAndReturn ¶ added in v0.46.0
func (_c *EventEncoder_Encode_Call) RunAndReturn(run func(event cadence.Event) ([]byte, error)) *EventEncoder_Encode_Call
type EventEncoder_Expecter ¶ added in v0.46.0
type EventEncoder_Expecter struct {
// contains filtered or unexported fields
}
func (*EventEncoder_Expecter) Encode ¶ added in v0.46.0
func (_e *EventEncoder_Expecter) Encode(event interface{}) *EventEncoder_Encode_Call
Encode is a helper method to define mock.On call
- event cadence.Event
type ExecutionVersionProvider ¶ added in v0.37.25
ExecutionVersionProvider is an autogenerated mock type for the ExecutionVersionProvider type
func NewExecutionVersionProvider ¶ added in v0.37.25
func NewExecutionVersionProvider(t interface {
mock.TestingT
Cleanup(func())
}) *ExecutionVersionProvider
NewExecutionVersionProvider creates a new instance of ExecutionVersionProvider. 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 (*ExecutionVersionProvider) EXPECT ¶ added in v0.46.0
func (_m *ExecutionVersionProvider) EXPECT() *ExecutionVersionProvider_Expecter
func (*ExecutionVersionProvider) ExecutionVersion ¶ added in v0.37.25
func (_mock *ExecutionVersionProvider) ExecutionVersion() (semver.Version, error)
ExecutionVersion provides a mock function for the type ExecutionVersionProvider
type ExecutionVersionProvider_ExecutionVersion_Call ¶ added in v0.46.0
ExecutionVersionProvider_ExecutionVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutionVersion'
func (*ExecutionVersionProvider_ExecutionVersion_Call) Return ¶ added in v0.46.0
func (_c *ExecutionVersionProvider_ExecutionVersion_Call) Return(version semver.Version, err error) *ExecutionVersionProvider_ExecutionVersion_Call
func (*ExecutionVersionProvider_ExecutionVersion_Call) Run ¶ added in v0.46.0
func (_c *ExecutionVersionProvider_ExecutionVersion_Call) Run(run func()) *ExecutionVersionProvider_ExecutionVersion_Call
func (*ExecutionVersionProvider_ExecutionVersion_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ExecutionVersionProvider_ExecutionVersion_Call) RunAndReturn(run func() (semver.Version, error)) *ExecutionVersionProvider_ExecutionVersion_Call
type ExecutionVersionProvider_Expecter ¶ added in v0.46.0
type ExecutionVersionProvider_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionVersionProvider_Expecter) ExecutionVersion ¶ added in v0.46.0
func (_e *ExecutionVersionProvider_Expecter) ExecutionVersion() *ExecutionVersionProvider_ExecutionVersion_Call
ExecutionVersion is a helper method to define mock.On call
type LoggerProvider ¶ added in v0.37.6
LoggerProvider is an autogenerated mock type for the LoggerProvider type
func NewLoggerProvider ¶ added in v0.37.6
func NewLoggerProvider(t interface {
mock.TestingT
Cleanup(func())
}) *LoggerProvider
NewLoggerProvider creates a new instance of LoggerProvider. 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 (*LoggerProvider) EXPECT ¶ added in v0.46.0
func (_m *LoggerProvider) EXPECT() *LoggerProvider_Expecter
func (*LoggerProvider) Logger ¶ added in v0.37.6
func (_mock *LoggerProvider) Logger() zerolog.Logger
Logger provides a mock function for the type LoggerProvider
type LoggerProvider_Expecter ¶ added in v0.46.0
type LoggerProvider_Expecter struct {
// contains filtered or unexported fields
}
func (*LoggerProvider_Expecter) Logger ¶ added in v0.46.0
func (_e *LoggerProvider_Expecter) Logger() *LoggerProvider_Logger_Call
Logger is a helper method to define mock.On call
type LoggerProvider_Logger_Call ¶ added in v0.46.0
LoggerProvider_Logger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Logger'
func (*LoggerProvider_Logger_Call) Return ¶ added in v0.46.0
func (_c *LoggerProvider_Logger_Call) Return(logger zerolog.Logger) *LoggerProvider_Logger_Call
func (*LoggerProvider_Logger_Call) Run ¶ added in v0.46.0
func (_c *LoggerProvider_Logger_Call) Run(run func()) *LoggerProvider_Logger_Call
func (*LoggerProvider_Logger_Call) RunAndReturn ¶ added in v0.46.0
func (_c *LoggerProvider_Logger_Call) RunAndReturn(run func() zerolog.Logger) *LoggerProvider_Logger_Call
type Meter ¶
Meter is an autogenerated mock type for the Meter type
func NewMeter ¶
NewMeter creates a new instance of Meter. 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 (*Meter) ComputationAvailable ¶ added in v0.33.1
func (_mock *Meter) ComputationAvailable(computationUsage common.ComputationUsage) bool
ComputationAvailable provides a mock function for the type Meter
func (*Meter) ComputationIntensities ¶ added in v0.29.0
func (_mock *Meter) ComputationIntensities() meter.MeteredComputationIntensities
ComputationIntensities provides a mock function for the type Meter
func (*Meter) ComputationRemaining ¶ added in v0.44.0
func (_mock *Meter) ComputationRemaining(kind common.ComputationKind) uint64
ComputationRemaining provides a mock function for the type Meter
func (*Meter) ComputationUsed ¶
ComputationUsed provides a mock function for the type Meter
func (*Meter) EXPECT ¶ added in v0.46.0
func (_m *Meter) EXPECT() *Meter_Expecter
func (*Meter) MemoryUsed ¶ added in v0.30.0
MemoryUsed provides a mock function for the type Meter
func (*Meter) MeterComputation ¶
func (_mock *Meter) MeterComputation(usage common.ComputationUsage) error
MeterComputation provides a mock function for the type Meter
func (*Meter) MeterEmittedEvent ¶
MeterEmittedEvent provides a mock function for the type Meter
func (*Meter) MeterMemory ¶
func (_mock *Meter) MeterMemory(usage common.MemoryUsage) error
MeterMemory provides a mock function for the type Meter
func (*Meter) RunWithMeteringDisabled ¶ added in v0.43.0
func (_mock *Meter) RunWithMeteringDisabled(f func())
RunWithMeteringDisabled provides a mock function for the type Meter
func (*Meter) TotalEmittedEventBytes ¶
TotalEmittedEventBytes provides a mock function for the type Meter
type Meter_ComputationAvailable_Call ¶ added in v0.46.0
Meter_ComputationAvailable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputationAvailable'
func (*Meter_ComputationAvailable_Call) Return ¶ added in v0.46.0
func (_c *Meter_ComputationAvailable_Call) Return(b bool) *Meter_ComputationAvailable_Call
func (*Meter_ComputationAvailable_Call) Run ¶ added in v0.46.0
func (_c *Meter_ComputationAvailable_Call) Run(run func(computationUsage common.ComputationUsage)) *Meter_ComputationAvailable_Call
func (*Meter_ComputationAvailable_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Meter_ComputationAvailable_Call) RunAndReturn(run func(computationUsage common.ComputationUsage) bool) *Meter_ComputationAvailable_Call
type Meter_ComputationIntensities_Call ¶ added in v0.46.0
Meter_ComputationIntensities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputationIntensities'
func (*Meter_ComputationIntensities_Call) Return ¶ added in v0.46.0
func (_c *Meter_ComputationIntensities_Call) Return(meteredComputationIntensities meter.MeteredComputationIntensities) *Meter_ComputationIntensities_Call
func (*Meter_ComputationIntensities_Call) Run ¶ added in v0.46.0
func (_c *Meter_ComputationIntensities_Call) Run(run func()) *Meter_ComputationIntensities_Call
func (*Meter_ComputationIntensities_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Meter_ComputationIntensities_Call) RunAndReturn(run func() meter.MeteredComputationIntensities) *Meter_ComputationIntensities_Call
type Meter_ComputationRemaining_Call ¶ added in v0.46.0
Meter_ComputationRemaining_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputationRemaining'
func (*Meter_ComputationRemaining_Call) Return ¶ added in v0.46.0
func (_c *Meter_ComputationRemaining_Call) Return(v uint64) *Meter_ComputationRemaining_Call
func (*Meter_ComputationRemaining_Call) Run ¶ added in v0.46.0
func (_c *Meter_ComputationRemaining_Call) Run(run func(kind common.ComputationKind)) *Meter_ComputationRemaining_Call
func (*Meter_ComputationRemaining_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Meter_ComputationRemaining_Call) RunAndReturn(run func(kind common.ComputationKind) uint64) *Meter_ComputationRemaining_Call
type Meter_ComputationUsed_Call ¶ added in v0.46.0
Meter_ComputationUsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputationUsed'
func (*Meter_ComputationUsed_Call) Return ¶ added in v0.46.0
func (_c *Meter_ComputationUsed_Call) Return(v uint64, err error) *Meter_ComputationUsed_Call
func (*Meter_ComputationUsed_Call) Run ¶ added in v0.46.0
func (_c *Meter_ComputationUsed_Call) Run(run func()) *Meter_ComputationUsed_Call
func (*Meter_ComputationUsed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Meter_ComputationUsed_Call) RunAndReturn(run func() (uint64, error)) *Meter_ComputationUsed_Call
type Meter_Expecter ¶ added in v0.46.0
type Meter_Expecter struct {
// contains filtered or unexported fields
}
func (*Meter_Expecter) ComputationAvailable ¶ added in v0.46.0
func (_e *Meter_Expecter) ComputationAvailable(computationUsage interface{}) *Meter_ComputationAvailable_Call
ComputationAvailable is a helper method to define mock.On call
- computationUsage common.ComputationUsage
func (*Meter_Expecter) ComputationIntensities ¶ added in v0.46.0
func (_e *Meter_Expecter) ComputationIntensities() *Meter_ComputationIntensities_Call
ComputationIntensities is a helper method to define mock.On call
func (*Meter_Expecter) ComputationRemaining ¶ added in v0.46.0
func (_e *Meter_Expecter) ComputationRemaining(kind interface{}) *Meter_ComputationRemaining_Call
ComputationRemaining is a helper method to define mock.On call
- kind common.ComputationKind
func (*Meter_Expecter) ComputationUsed ¶ added in v0.46.0
func (_e *Meter_Expecter) ComputationUsed() *Meter_ComputationUsed_Call
ComputationUsed is a helper method to define mock.On call
func (*Meter_Expecter) MemoryUsed ¶ added in v0.46.0
func (_e *Meter_Expecter) MemoryUsed() *Meter_MemoryUsed_Call
MemoryUsed is a helper method to define mock.On call
func (*Meter_Expecter) MeterComputation ¶ added in v0.46.0
func (_e *Meter_Expecter) MeterComputation(usage interface{}) *Meter_MeterComputation_Call
MeterComputation is a helper method to define mock.On call
- usage common.ComputationUsage
func (*Meter_Expecter) MeterEmittedEvent ¶ added in v0.46.0
func (_e *Meter_Expecter) MeterEmittedEvent(byteSize interface{}) *Meter_MeterEmittedEvent_Call
MeterEmittedEvent is a helper method to define mock.On call
- byteSize uint64
func (*Meter_Expecter) MeterMemory ¶ added in v0.46.0
func (_e *Meter_Expecter) MeterMemory(usage interface{}) *Meter_MeterMemory_Call
MeterMemory is a helper method to define mock.On call
- usage common.MemoryUsage
func (*Meter_Expecter) RunWithMeteringDisabled ¶ added in v0.46.0
func (_e *Meter_Expecter) RunWithMeteringDisabled(f interface{}) *Meter_RunWithMeteringDisabled_Call
RunWithMeteringDisabled is a helper method to define mock.On call
- f func()
func (*Meter_Expecter) TotalEmittedEventBytes ¶ added in v0.46.0
func (_e *Meter_Expecter) TotalEmittedEventBytes() *Meter_TotalEmittedEventBytes_Call
TotalEmittedEventBytes is a helper method to define mock.On call
type Meter_MemoryUsed_Call ¶ added in v0.46.0
Meter_MemoryUsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MemoryUsed'
func (*Meter_MemoryUsed_Call) Return ¶ added in v0.46.0
func (_c *Meter_MemoryUsed_Call) Return(v uint64, err error) *Meter_MemoryUsed_Call
func (*Meter_MemoryUsed_Call) Run ¶ added in v0.46.0
func (_c *Meter_MemoryUsed_Call) Run(run func()) *Meter_MemoryUsed_Call
func (*Meter_MemoryUsed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Meter_MemoryUsed_Call) RunAndReturn(run func() (uint64, error)) *Meter_MemoryUsed_Call
type Meter_MeterComputation_Call ¶ added in v0.46.0
Meter_MeterComputation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MeterComputation'
func (*Meter_MeterComputation_Call) Return ¶ added in v0.46.0
func (_c *Meter_MeterComputation_Call) Return(err error) *Meter_MeterComputation_Call
func (*Meter_MeterComputation_Call) Run ¶ added in v0.46.0
func (_c *Meter_MeterComputation_Call) Run(run func(usage common.ComputationUsage)) *Meter_MeterComputation_Call
func (*Meter_MeterComputation_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Meter_MeterComputation_Call) RunAndReturn(run func(usage common.ComputationUsage) error) *Meter_MeterComputation_Call
type Meter_MeterEmittedEvent_Call ¶ added in v0.46.0
Meter_MeterEmittedEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MeterEmittedEvent'
func (*Meter_MeterEmittedEvent_Call) Return ¶ added in v0.46.0
func (_c *Meter_MeterEmittedEvent_Call) Return(err error) *Meter_MeterEmittedEvent_Call
func (*Meter_MeterEmittedEvent_Call) Run ¶ added in v0.46.0
func (_c *Meter_MeterEmittedEvent_Call) Run(run func(byteSize uint64)) *Meter_MeterEmittedEvent_Call
func (*Meter_MeterEmittedEvent_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Meter_MeterEmittedEvent_Call) RunAndReturn(run func(byteSize uint64) error) *Meter_MeterEmittedEvent_Call
type Meter_MeterMemory_Call ¶ added in v0.46.0
Meter_MeterMemory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MeterMemory'
func (*Meter_MeterMemory_Call) Return ¶ added in v0.46.0
func (_c *Meter_MeterMemory_Call) Return(err error) *Meter_MeterMemory_Call
func (*Meter_MeterMemory_Call) Run ¶ added in v0.46.0
func (_c *Meter_MeterMemory_Call) Run(run func(usage common.MemoryUsage)) *Meter_MeterMemory_Call
func (*Meter_MeterMemory_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Meter_MeterMemory_Call) RunAndReturn(run func(usage common.MemoryUsage) error) *Meter_MeterMemory_Call
type Meter_RunWithMeteringDisabled_Call ¶ added in v0.46.0
Meter_RunWithMeteringDisabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunWithMeteringDisabled'
func (*Meter_RunWithMeteringDisabled_Call) Return ¶ added in v0.46.0
func (_c *Meter_RunWithMeteringDisabled_Call) Return() *Meter_RunWithMeteringDisabled_Call
func (*Meter_RunWithMeteringDisabled_Call) Run ¶ added in v0.46.0
func (_c *Meter_RunWithMeteringDisabled_Call) Run(run func(f func())) *Meter_RunWithMeteringDisabled_Call
func (*Meter_RunWithMeteringDisabled_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Meter_RunWithMeteringDisabled_Call) RunAndReturn(run func(f func())) *Meter_RunWithMeteringDisabled_Call
type Meter_TotalEmittedEventBytes_Call ¶ added in v0.46.0
Meter_TotalEmittedEventBytes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TotalEmittedEventBytes'
func (*Meter_TotalEmittedEventBytes_Call) Return ¶ added in v0.46.0
func (_c *Meter_TotalEmittedEventBytes_Call) Return(v uint64) *Meter_TotalEmittedEventBytes_Call
func (*Meter_TotalEmittedEventBytes_Call) Run ¶ added in v0.46.0
func (_c *Meter_TotalEmittedEventBytes_Call) Run(run func()) *Meter_TotalEmittedEventBytes_Call
func (*Meter_TotalEmittedEventBytes_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Meter_TotalEmittedEventBytes_Call) RunAndReturn(run func() uint64) *Meter_TotalEmittedEventBytes_Call
type MetricsReporter ¶
MetricsReporter is an autogenerated mock type for the MetricsReporter type
func NewMetricsReporter ¶
func NewMetricsReporter(t interface {
mock.TestingT
Cleanup(func())
}) *MetricsReporter
NewMetricsReporter creates a new instance of MetricsReporter. 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 (*MetricsReporter) EVMBlockExecuted ¶ added in v0.36.3
func (_mock *MetricsReporter) EVMBlockExecuted(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)
EVMBlockExecuted provides a mock function for the type MetricsReporter
func (*MetricsReporter) EVMTransactionExecuted ¶ added in v0.36.3
func (_mock *MetricsReporter) EVMTransactionExecuted(gasUsed uint64, isDirectCall bool, failed bool)
EVMTransactionExecuted provides a mock function for the type MetricsReporter
func (*MetricsReporter) EXPECT ¶ added in v0.46.0
func (_m *MetricsReporter) EXPECT() *MetricsReporter_Expecter
func (*MetricsReporter) RuntimeSetNumberOfAccounts ¶
func (_mock *MetricsReporter) RuntimeSetNumberOfAccounts(count uint64)
RuntimeSetNumberOfAccounts provides a mock function for the type MetricsReporter
func (*MetricsReporter) RuntimeTransactionChecked ¶
func (_mock *MetricsReporter) RuntimeTransactionChecked(duration time.Duration)
RuntimeTransactionChecked provides a mock function for the type MetricsReporter
func (*MetricsReporter) RuntimeTransactionInterpreted ¶
func (_mock *MetricsReporter) RuntimeTransactionInterpreted(duration time.Duration)
RuntimeTransactionInterpreted provides a mock function for the type MetricsReporter
func (*MetricsReporter) RuntimeTransactionParsed ¶
func (_mock *MetricsReporter) RuntimeTransactionParsed(duration time.Duration)
RuntimeTransactionParsed provides a mock function for the type MetricsReporter
func (*MetricsReporter) RuntimeTransactionProgramsCacheHit ¶ added in v0.29.17
func (_mock *MetricsReporter) RuntimeTransactionProgramsCacheHit()
RuntimeTransactionProgramsCacheHit provides a mock function for the type MetricsReporter
func (*MetricsReporter) RuntimeTransactionProgramsCacheMiss ¶ added in v0.29.17
func (_mock *MetricsReporter) RuntimeTransactionProgramsCacheMiss()
RuntimeTransactionProgramsCacheMiss provides a mock function for the type MetricsReporter
func (*MetricsReporter) SetNumberOfDeployedCOAs ¶ added in v0.36.3
func (_mock *MetricsReporter) SetNumberOfDeployedCOAs(count uint64)
SetNumberOfDeployedCOAs provides a mock function for the type MetricsReporter
type MetricsReporter_EVMBlockExecuted_Call ¶ added in v0.46.0
MetricsReporter_EVMBlockExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EVMBlockExecuted'
func (*MetricsReporter_EVMBlockExecuted_Call) Return ¶ added in v0.46.0
func (_c *MetricsReporter_EVMBlockExecuted_Call) Return() *MetricsReporter_EVMBlockExecuted_Call
func (*MetricsReporter_EVMBlockExecuted_Call) Run ¶ added in v0.46.0
func (_c *MetricsReporter_EVMBlockExecuted_Call) Run(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *MetricsReporter_EVMBlockExecuted_Call
func (*MetricsReporter_EVMBlockExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MetricsReporter_EVMBlockExecuted_Call) RunAndReturn(run func(txCount int, totalGasUsed uint64, totalSupplyInFlow float64)) *MetricsReporter_EVMBlockExecuted_Call
type MetricsReporter_EVMTransactionExecuted_Call ¶ added in v0.46.0
MetricsReporter_EVMTransactionExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EVMTransactionExecuted'
func (*MetricsReporter_EVMTransactionExecuted_Call) Return ¶ added in v0.46.0
func (_c *MetricsReporter_EVMTransactionExecuted_Call) Return() *MetricsReporter_EVMTransactionExecuted_Call
func (*MetricsReporter_EVMTransactionExecuted_Call) Run ¶ added in v0.46.0
func (_c *MetricsReporter_EVMTransactionExecuted_Call) Run(run func(gasUsed uint64, isDirectCall bool, failed bool)) *MetricsReporter_EVMTransactionExecuted_Call
func (*MetricsReporter_EVMTransactionExecuted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MetricsReporter_EVMTransactionExecuted_Call) RunAndReturn(run func(gasUsed uint64, isDirectCall bool, failed bool)) *MetricsReporter_EVMTransactionExecuted_Call
type MetricsReporter_Expecter ¶ added in v0.46.0
type MetricsReporter_Expecter struct {
// contains filtered or unexported fields
}
func (*MetricsReporter_Expecter) EVMBlockExecuted ¶ added in v0.46.0
func (_e *MetricsReporter_Expecter) EVMBlockExecuted(txCount interface{}, totalGasUsed interface{}, totalSupplyInFlow interface{}) *MetricsReporter_EVMBlockExecuted_Call
EVMBlockExecuted is a helper method to define mock.On call
- txCount int
- totalGasUsed uint64
- totalSupplyInFlow float64
func (*MetricsReporter_Expecter) EVMTransactionExecuted ¶ added in v0.46.0
func (_e *MetricsReporter_Expecter) EVMTransactionExecuted(gasUsed interface{}, isDirectCall interface{}, failed interface{}) *MetricsReporter_EVMTransactionExecuted_Call
EVMTransactionExecuted is a helper method to define mock.On call
- gasUsed uint64
- isDirectCall bool
- failed bool
func (*MetricsReporter_Expecter) RuntimeSetNumberOfAccounts ¶ added in v0.46.0
func (_e *MetricsReporter_Expecter) RuntimeSetNumberOfAccounts(count interface{}) *MetricsReporter_RuntimeSetNumberOfAccounts_Call
RuntimeSetNumberOfAccounts is a helper method to define mock.On call
- count uint64
func (*MetricsReporter_Expecter) RuntimeTransactionChecked ¶ added in v0.46.0
func (_e *MetricsReporter_Expecter) RuntimeTransactionChecked(duration interface{}) *MetricsReporter_RuntimeTransactionChecked_Call
RuntimeTransactionChecked is a helper method to define mock.On call
- duration time.Duration
func (*MetricsReporter_Expecter) RuntimeTransactionInterpreted ¶ added in v0.46.0
func (_e *MetricsReporter_Expecter) RuntimeTransactionInterpreted(duration interface{}) *MetricsReporter_RuntimeTransactionInterpreted_Call
RuntimeTransactionInterpreted is a helper method to define mock.On call
- duration time.Duration
func (*MetricsReporter_Expecter) RuntimeTransactionParsed ¶ added in v0.46.0
func (_e *MetricsReporter_Expecter) RuntimeTransactionParsed(duration interface{}) *MetricsReporter_RuntimeTransactionParsed_Call
RuntimeTransactionParsed is a helper method to define mock.On call
- duration time.Duration
func (*MetricsReporter_Expecter) RuntimeTransactionProgramsCacheHit ¶ added in v0.46.0
func (_e *MetricsReporter_Expecter) RuntimeTransactionProgramsCacheHit() *MetricsReporter_RuntimeTransactionProgramsCacheHit_Call
RuntimeTransactionProgramsCacheHit is a helper method to define mock.On call
func (*MetricsReporter_Expecter) RuntimeTransactionProgramsCacheMiss ¶ added in v0.46.0
func (_e *MetricsReporter_Expecter) RuntimeTransactionProgramsCacheMiss() *MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call
RuntimeTransactionProgramsCacheMiss is a helper method to define mock.On call
func (*MetricsReporter_Expecter) SetNumberOfDeployedCOAs ¶ added in v0.46.0
func (_e *MetricsReporter_Expecter) SetNumberOfDeployedCOAs(count interface{}) *MetricsReporter_SetNumberOfDeployedCOAs_Call
SetNumberOfDeployedCOAs is a helper method to define mock.On call
- count uint64
type MetricsReporter_RuntimeSetNumberOfAccounts_Call ¶ added in v0.46.0
MetricsReporter_RuntimeSetNumberOfAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeSetNumberOfAccounts'
func (*MetricsReporter_RuntimeSetNumberOfAccounts_Call) Run ¶ added in v0.46.0
func (_c *MetricsReporter_RuntimeSetNumberOfAccounts_Call) Run(run func(count uint64)) *MetricsReporter_RuntimeSetNumberOfAccounts_Call
func (*MetricsReporter_RuntimeSetNumberOfAccounts_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MetricsReporter_RuntimeSetNumberOfAccounts_Call) RunAndReturn(run func(count uint64)) *MetricsReporter_RuntimeSetNumberOfAccounts_Call
type MetricsReporter_RuntimeTransactionChecked_Call ¶ added in v0.46.0
MetricsReporter_RuntimeTransactionChecked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionChecked'
func (*MetricsReporter_RuntimeTransactionChecked_Call) Run ¶ added in v0.46.0
func (_c *MetricsReporter_RuntimeTransactionChecked_Call) Run(run func(duration time.Duration)) *MetricsReporter_RuntimeTransactionChecked_Call
func (*MetricsReporter_RuntimeTransactionChecked_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MetricsReporter_RuntimeTransactionChecked_Call) RunAndReturn(run func(duration time.Duration)) *MetricsReporter_RuntimeTransactionChecked_Call
type MetricsReporter_RuntimeTransactionInterpreted_Call ¶ added in v0.46.0
MetricsReporter_RuntimeTransactionInterpreted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionInterpreted'
func (*MetricsReporter_RuntimeTransactionInterpreted_Call) Run ¶ added in v0.46.0
func (_c *MetricsReporter_RuntimeTransactionInterpreted_Call) Run(run func(duration time.Duration)) *MetricsReporter_RuntimeTransactionInterpreted_Call
func (*MetricsReporter_RuntimeTransactionInterpreted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MetricsReporter_RuntimeTransactionInterpreted_Call) RunAndReturn(run func(duration time.Duration)) *MetricsReporter_RuntimeTransactionInterpreted_Call
type MetricsReporter_RuntimeTransactionParsed_Call ¶ added in v0.46.0
MetricsReporter_RuntimeTransactionParsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionParsed'
func (*MetricsReporter_RuntimeTransactionParsed_Call) Run ¶ added in v0.46.0
func (_c *MetricsReporter_RuntimeTransactionParsed_Call) Run(run func(duration time.Duration)) *MetricsReporter_RuntimeTransactionParsed_Call
func (*MetricsReporter_RuntimeTransactionParsed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MetricsReporter_RuntimeTransactionParsed_Call) RunAndReturn(run func(duration time.Duration)) *MetricsReporter_RuntimeTransactionParsed_Call
type MetricsReporter_RuntimeTransactionProgramsCacheHit_Call ¶ added in v0.46.0
MetricsReporter_RuntimeTransactionProgramsCacheHit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheHit'
func (*MetricsReporter_RuntimeTransactionProgramsCacheHit_Call) Run ¶ added in v0.46.0
func (_c *MetricsReporter_RuntimeTransactionProgramsCacheHit_Call) Run(run func()) *MetricsReporter_RuntimeTransactionProgramsCacheHit_Call
func (*MetricsReporter_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MetricsReporter_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn(run func()) *MetricsReporter_RuntimeTransactionProgramsCacheHit_Call
type MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call ¶ added in v0.46.0
MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheMiss'
func (*MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) Run ¶ added in v0.46.0
func (_c *MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) Run(run func()) *MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call
func (*MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn(run func()) *MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call
type MetricsReporter_SetNumberOfDeployedCOAs_Call ¶ added in v0.46.0
MetricsReporter_SetNumberOfDeployedCOAs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetNumberOfDeployedCOAs'
func (*MetricsReporter_SetNumberOfDeployedCOAs_Call) Return ¶ added in v0.46.0
func (_c *MetricsReporter_SetNumberOfDeployedCOAs_Call) Return() *MetricsReporter_SetNumberOfDeployedCOAs_Call
func (*MetricsReporter_SetNumberOfDeployedCOAs_Call) Run ¶ added in v0.46.0
func (_c *MetricsReporter_SetNumberOfDeployedCOAs_Call) Run(run func(count uint64)) *MetricsReporter_SetNumberOfDeployedCOAs_Call
func (*MetricsReporter_SetNumberOfDeployedCOAs_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MetricsReporter_SetNumberOfDeployedCOAs_Call) RunAndReturn(run func(count uint64)) *MetricsReporter_SetNumberOfDeployedCOAs_Call
type MinimumCadenceRequiredVersion ¶ added in v0.37.20
MinimumCadenceRequiredVersion is an autogenerated mock type for the MinimumCadenceRequiredVersion type
func NewMinimumCadenceRequiredVersion ¶ added in v0.37.20
func NewMinimumCadenceRequiredVersion(t interface {
mock.TestingT
Cleanup(func())
}) *MinimumCadenceRequiredVersion
NewMinimumCadenceRequiredVersion creates a new instance of MinimumCadenceRequiredVersion. 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 (*MinimumCadenceRequiredVersion) EXPECT ¶ added in v0.46.0
func (_m *MinimumCadenceRequiredVersion) EXPECT() *MinimumCadenceRequiredVersion_Expecter
func (*MinimumCadenceRequiredVersion) MinimumRequiredVersion ¶ added in v0.37.20
func (_mock *MinimumCadenceRequiredVersion) MinimumRequiredVersion() (string, error)
MinimumRequiredVersion provides a mock function for the type MinimumCadenceRequiredVersion
type MinimumCadenceRequiredVersion_Expecter ¶ added in v0.46.0
type MinimumCadenceRequiredVersion_Expecter struct {
// contains filtered or unexported fields
}
func (*MinimumCadenceRequiredVersion_Expecter) MinimumRequiredVersion ¶ added in v0.46.0
func (_e *MinimumCadenceRequiredVersion_Expecter) MinimumRequiredVersion() *MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call
MinimumRequiredVersion is a helper method to define mock.On call
type MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call ¶ added in v0.46.0
MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MinimumRequiredVersion'
func (*MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call) Run ¶ added in v0.46.0
func (_c *MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call) Run(run func()) *MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call
func (*MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call) RunAndReturn ¶ added in v0.46.0
func (_c *MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call) RunAndReturn(run func() (string, error)) *MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call
type RandomGenerator ¶ added in v0.32.0
RandomGenerator is an autogenerated mock type for the RandomGenerator type
func NewRandomGenerator ¶ added in v0.32.0
func NewRandomGenerator(t interface {
mock.TestingT
Cleanup(func())
}) *RandomGenerator
NewRandomGenerator creates a new instance of RandomGenerator. 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 (*RandomGenerator) EXPECT ¶ added in v0.46.0
func (_m *RandomGenerator) EXPECT() *RandomGenerator_Expecter
func (*RandomGenerator) ReadRandom ¶ added in v0.32.0
func (_mock *RandomGenerator) ReadRandom(bytes []byte) error
ReadRandom provides a mock function for the type RandomGenerator
type RandomGenerator_Expecter ¶ added in v0.46.0
type RandomGenerator_Expecter struct {
// contains filtered or unexported fields
}
func (*RandomGenerator_Expecter) ReadRandom ¶ added in v0.46.0
func (_e *RandomGenerator_Expecter) ReadRandom(bytes interface{}) *RandomGenerator_ReadRandom_Call
ReadRandom is a helper method to define mock.On call
- bytes []byte
type RandomGenerator_ReadRandom_Call ¶ added in v0.46.0
RandomGenerator_ReadRandom_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadRandom'
func (*RandomGenerator_ReadRandom_Call) Return ¶ added in v0.46.0
func (_c *RandomGenerator_ReadRandom_Call) Return(err error) *RandomGenerator_ReadRandom_Call
func (*RandomGenerator_ReadRandom_Call) Run ¶ added in v0.46.0
func (_c *RandomGenerator_ReadRandom_Call) Run(run func(bytes []byte)) *RandomGenerator_ReadRandom_Call
func (*RandomGenerator_ReadRandom_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RandomGenerator_ReadRandom_Call) RunAndReturn(run func(bytes []byte) error) *RandomGenerator_ReadRandom_Call
type RandomSourceHistoryProvider ¶ added in v0.32.2
RandomSourceHistoryProvider is an autogenerated mock type for the RandomSourceHistoryProvider type
func NewRandomSourceHistoryProvider ¶ added in v0.32.2
func NewRandomSourceHistoryProvider(t interface {
mock.TestingT
Cleanup(func())
}) *RandomSourceHistoryProvider
NewRandomSourceHistoryProvider creates a new instance of RandomSourceHistoryProvider. 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 (*RandomSourceHistoryProvider) EXPECT ¶ added in v0.46.0
func (_m *RandomSourceHistoryProvider) EXPECT() *RandomSourceHistoryProvider_Expecter
func (*RandomSourceHistoryProvider) RandomSourceHistory ¶ added in v0.32.2
func (_mock *RandomSourceHistoryProvider) RandomSourceHistory() ([]byte, error)
RandomSourceHistory provides a mock function for the type RandomSourceHistoryProvider
type RandomSourceHistoryProvider_Expecter ¶ added in v0.46.0
type RandomSourceHistoryProvider_Expecter struct {
// contains filtered or unexported fields
}
func (*RandomSourceHistoryProvider_Expecter) RandomSourceHistory ¶ added in v0.46.0
func (_e *RandomSourceHistoryProvider_Expecter) RandomSourceHistory() *RandomSourceHistoryProvider_RandomSourceHistory_Call
RandomSourceHistory is a helper method to define mock.On call
type RandomSourceHistoryProvider_RandomSourceHistory_Call ¶ added in v0.46.0
RandomSourceHistoryProvider_RandomSourceHistory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RandomSourceHistory'
func (*RandomSourceHistoryProvider_RandomSourceHistory_Call) Return ¶ added in v0.46.0
func (_c *RandomSourceHistoryProvider_RandomSourceHistory_Call) Return(bytes []byte, err error) *RandomSourceHistoryProvider_RandomSourceHistory_Call
func (*RandomSourceHistoryProvider_RandomSourceHistory_Call) Run ¶ added in v0.46.0
func (_c *RandomSourceHistoryProvider_RandomSourceHistory_Call) Run(run func()) *RandomSourceHistoryProvider_RandomSourceHistory_Call
func (*RandomSourceHistoryProvider_RandomSourceHistory_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RandomSourceHistoryProvider_RandomSourceHistory_Call) RunAndReturn(run func() ([]byte, error)) *RandomSourceHistoryProvider_RandomSourceHistory_Call
type ReusableCadenceRuntime ¶ added in v0.45.0
ReusableCadenceRuntime is an autogenerated mock type for the ReusableCadenceRuntime type
func NewReusableCadenceRuntime ¶ added in v0.45.0
func NewReusableCadenceRuntime(t interface {
mock.TestingT
Cleanup(func())
}) *ReusableCadenceRuntime
NewReusableCadenceRuntime creates a new instance of ReusableCadenceRuntime. 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 (*ReusableCadenceRuntime) CadenceScriptEnv ¶ added in v0.45.0
func (_mock *ReusableCadenceRuntime) CadenceScriptEnv() runtime.Environment
CadenceScriptEnv provides a mock function for the type ReusableCadenceRuntime
func (*ReusableCadenceRuntime) CadenceTXEnv ¶ added in v0.45.0
func (_mock *ReusableCadenceRuntime) CadenceTXEnv() runtime.Environment
CadenceTXEnv provides a mock function for the type ReusableCadenceRuntime
func (*ReusableCadenceRuntime) EXPECT ¶ added in v0.46.0
func (_m *ReusableCadenceRuntime) EXPECT() *ReusableCadenceRuntime_Expecter
func (*ReusableCadenceRuntime) ExecuteScript ¶ added in v0.45.0
func (_mock *ReusableCadenceRuntime) ExecuteScript(script runtime.Script, location common.Location) (cadence.Value, error)
ExecuteScript provides a mock function for the type ReusableCadenceRuntime
func (*ReusableCadenceRuntime) InvokeContractFunction ¶ added in v0.45.0
func (_mock *ReusableCadenceRuntime) InvokeContractFunction(contractLocation common.AddressLocation, functionName string, arguments []cadence.Value, argumentTypes []sema.Type) (cadence.Value, error)
InvokeContractFunction provides a mock function for the type ReusableCadenceRuntime
func (*ReusableCadenceRuntime) NewTransactionExecutor ¶ added in v0.45.0
func (_mock *ReusableCadenceRuntime) NewTransactionExecutor(script runtime.Script, location common.Location) runtime.Executor
NewTransactionExecutor provides a mock function for the type ReusableCadenceRuntime
func (*ReusableCadenceRuntime) ReadStored ¶ added in v0.45.0
func (_mock *ReusableCadenceRuntime) ReadStored(address common.Address, path cadence.Path) (cadence.Value, error)
ReadStored provides a mock function for the type ReusableCadenceRuntime
func (*ReusableCadenceRuntime) SetFvmEnvironment ¶ added in v0.45.0
func (_mock *ReusableCadenceRuntime) SetFvmEnvironment(fvmEnv environment.Environment)
SetFvmEnvironment provides a mock function for the type ReusableCadenceRuntime
type ReusableCadenceRuntimeInterface ¶ added in v0.45.0
ReusableCadenceRuntimeInterface is an autogenerated mock type for the ReusableCadenceRuntimeInterface type
func NewReusableCadenceRuntimeInterface ¶ added in v0.45.0
func NewReusableCadenceRuntimeInterface(t interface {
mock.TestingT
Cleanup(func())
}) *ReusableCadenceRuntimeInterface
NewReusableCadenceRuntimeInterface creates a new instance of ReusableCadenceRuntimeInterface. 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 (*ReusableCadenceRuntimeInterface) CadenceScriptEnv ¶ added in v0.45.0
func (_m *ReusableCadenceRuntimeInterface) CadenceScriptEnv() runtime.Environment
CadenceScriptEnv provides a mock function with no fields
func (*ReusableCadenceRuntimeInterface) CadenceTXEnv ¶ added in v0.45.0
func (_m *ReusableCadenceRuntimeInterface) CadenceTXEnv() runtime.Environment
CadenceTXEnv provides a mock function with no fields
func (*ReusableCadenceRuntimeInterface) ExecuteScript ¶ added in v0.45.0
func (_m *ReusableCadenceRuntimeInterface) ExecuteScript(script runtime.Script, location common.Location) (cadence.Value, error)
ExecuteScript provides a mock function with given fields: script, location
func (*ReusableCadenceRuntimeInterface) InvokeContractFunction ¶ added in v0.45.0
func (_m *ReusableCadenceRuntimeInterface) InvokeContractFunction(contractLocation common.AddressLocation, functionName string, arguments []cadence.Value, argumentTypes []sema.Type) (cadence.Value, error)
InvokeContractFunction provides a mock function with given fields: contractLocation, functionName, arguments, argumentTypes
func (*ReusableCadenceRuntimeInterface) NewTransactionExecutor ¶ added in v0.45.0
func (_m *ReusableCadenceRuntimeInterface) NewTransactionExecutor(script runtime.Script, location common.Location) runtime.Executor
NewTransactionExecutor provides a mock function with given fields: script, location
func (*ReusableCadenceRuntimeInterface) ReadStored ¶ added in v0.45.0
func (_m *ReusableCadenceRuntimeInterface) ReadStored(address common.Address, path cadence.Path) (cadence.Value, error)
ReadStored provides a mock function with given fields: address, path
func (*ReusableCadenceRuntimeInterface) SetFvmEnvironment ¶ added in v0.45.0
func (_m *ReusableCadenceRuntimeInterface) SetFvmEnvironment(fvmEnv environment.Environment)
SetFvmEnvironment provides a mock function with given fields: fvmEnv
type ReusableCadenceRuntimePool ¶ added in v0.45.0
ReusableCadenceRuntimePool is an autogenerated mock type for the ReusableCadenceRuntimePool type
func NewReusableCadenceRuntimePool ¶ added in v0.45.0
func NewReusableCadenceRuntimePool(t interface {
mock.TestingT
Cleanup(func())
}) *ReusableCadenceRuntimePool
NewReusableCadenceRuntimePool creates a new instance of ReusableCadenceRuntimePool. 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 (*ReusableCadenceRuntimePool) Borrow ¶ added in v0.45.0
func (_mock *ReusableCadenceRuntimePool) Borrow(fvmEnv environment.Environment, runtimeType environment.CadenceRuntimeType) environment.ReusableCadenceRuntime
Borrow provides a mock function for the type ReusableCadenceRuntimePool
func (*ReusableCadenceRuntimePool) EXPECT ¶ added in v0.46.0
func (_m *ReusableCadenceRuntimePool) EXPECT() *ReusableCadenceRuntimePool_Expecter
func (*ReusableCadenceRuntimePool) Return ¶ added in v0.45.0
func (_mock *ReusableCadenceRuntimePool) Return(reusable environment.ReusableCadenceRuntime)
Return provides a mock function for the type ReusableCadenceRuntimePool
type ReusableCadenceRuntimePool_Borrow_Call ¶ added in v0.46.0
ReusableCadenceRuntimePool_Borrow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Borrow'
func (*ReusableCadenceRuntimePool_Borrow_Call) Return ¶ added in v0.46.0
func (_c *ReusableCadenceRuntimePool_Borrow_Call) Return(reusableCadenceRuntime environment.ReusableCadenceRuntime) *ReusableCadenceRuntimePool_Borrow_Call
func (*ReusableCadenceRuntimePool_Borrow_Call) Run ¶ added in v0.46.0
func (_c *ReusableCadenceRuntimePool_Borrow_Call) Run(run func(fvmEnv environment.Environment, runtimeType environment.CadenceRuntimeType)) *ReusableCadenceRuntimePool_Borrow_Call
func (*ReusableCadenceRuntimePool_Borrow_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReusableCadenceRuntimePool_Borrow_Call) RunAndReturn(run func(fvmEnv environment.Environment, runtimeType environment.CadenceRuntimeType) environment.ReusableCadenceRuntime) *ReusableCadenceRuntimePool_Borrow_Call
type ReusableCadenceRuntimePool_Expecter ¶ added in v0.46.0
type ReusableCadenceRuntimePool_Expecter struct {
// contains filtered or unexported fields
}
func (*ReusableCadenceRuntimePool_Expecter) Borrow ¶ added in v0.46.0
func (_e *ReusableCadenceRuntimePool_Expecter) Borrow(fvmEnv interface{}, runtimeType interface{}) *ReusableCadenceRuntimePool_Borrow_Call
Borrow is a helper method to define mock.On call
- fvmEnv environment.Environment
- runtimeType environment.CadenceRuntimeType
func (*ReusableCadenceRuntimePool_Expecter) Return ¶ added in v0.46.0
func (_e *ReusableCadenceRuntimePool_Expecter) Return(reusable interface{}) *ReusableCadenceRuntimePool_Return_Call
Return is a helper method to define mock.On call
- reusable environment.ReusableCadenceRuntime
type ReusableCadenceRuntimePool_Return_Call ¶ added in v0.46.0
ReusableCadenceRuntimePool_Return_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Return'
func (*ReusableCadenceRuntimePool_Return_Call) Return ¶ added in v0.46.0
func (_c *ReusableCadenceRuntimePool_Return_Call) Return() *ReusableCadenceRuntimePool_Return_Call
func (*ReusableCadenceRuntimePool_Return_Call) Run ¶ added in v0.46.0
func (_c *ReusableCadenceRuntimePool_Return_Call) Run(run func(reusable environment.ReusableCadenceRuntime)) *ReusableCadenceRuntimePool_Return_Call
func (*ReusableCadenceRuntimePool_Return_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReusableCadenceRuntimePool_Return_Call) RunAndReturn(run func(reusable environment.ReusableCadenceRuntime)) *ReusableCadenceRuntimePool_Return_Call
type ReusableCadenceRuntime_CadenceScriptEnv_Call ¶ added in v0.46.0
ReusableCadenceRuntime_CadenceScriptEnv_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CadenceScriptEnv'
func (*ReusableCadenceRuntime_CadenceScriptEnv_Call) Return ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_CadenceScriptEnv_Call) Return(environment runtime.Environment) *ReusableCadenceRuntime_CadenceScriptEnv_Call
func (*ReusableCadenceRuntime_CadenceScriptEnv_Call) Run ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_CadenceScriptEnv_Call) Run(run func()) *ReusableCadenceRuntime_CadenceScriptEnv_Call
func (*ReusableCadenceRuntime_CadenceScriptEnv_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_CadenceScriptEnv_Call) RunAndReturn(run func() runtime.Environment) *ReusableCadenceRuntime_CadenceScriptEnv_Call
type ReusableCadenceRuntime_CadenceTXEnv_Call ¶ added in v0.46.0
ReusableCadenceRuntime_CadenceTXEnv_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CadenceTXEnv'
func (*ReusableCadenceRuntime_CadenceTXEnv_Call) Return ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_CadenceTXEnv_Call) Return(environment runtime.Environment) *ReusableCadenceRuntime_CadenceTXEnv_Call
func (*ReusableCadenceRuntime_CadenceTXEnv_Call) Run ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_CadenceTXEnv_Call) Run(run func()) *ReusableCadenceRuntime_CadenceTXEnv_Call
func (*ReusableCadenceRuntime_CadenceTXEnv_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_CadenceTXEnv_Call) RunAndReturn(run func() runtime.Environment) *ReusableCadenceRuntime_CadenceTXEnv_Call
type ReusableCadenceRuntime_ExecuteScript_Call ¶ added in v0.46.0
ReusableCadenceRuntime_ExecuteScript_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteScript'
func (*ReusableCadenceRuntime_ExecuteScript_Call) Return ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_ExecuteScript_Call) Return(value cadence.Value, err error) *ReusableCadenceRuntime_ExecuteScript_Call
func (*ReusableCadenceRuntime_ExecuteScript_Call) Run ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_ExecuteScript_Call) Run(run func(script runtime.Script, location common.Location)) *ReusableCadenceRuntime_ExecuteScript_Call
func (*ReusableCadenceRuntime_ExecuteScript_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_ExecuteScript_Call) RunAndReturn(run func(script runtime.Script, location common.Location) (cadence.Value, error)) *ReusableCadenceRuntime_ExecuteScript_Call
type ReusableCadenceRuntime_Expecter ¶ added in v0.46.0
type ReusableCadenceRuntime_Expecter struct {
// contains filtered or unexported fields
}
func (*ReusableCadenceRuntime_Expecter) CadenceScriptEnv ¶ added in v0.46.0
func (_e *ReusableCadenceRuntime_Expecter) CadenceScriptEnv() *ReusableCadenceRuntime_CadenceScriptEnv_Call
CadenceScriptEnv is a helper method to define mock.On call
func (*ReusableCadenceRuntime_Expecter) CadenceTXEnv ¶ added in v0.46.0
func (_e *ReusableCadenceRuntime_Expecter) CadenceTXEnv() *ReusableCadenceRuntime_CadenceTXEnv_Call
CadenceTXEnv is a helper method to define mock.On call
func (*ReusableCadenceRuntime_Expecter) ExecuteScript ¶ added in v0.46.0
func (_e *ReusableCadenceRuntime_Expecter) ExecuteScript(script interface{}, location interface{}) *ReusableCadenceRuntime_ExecuteScript_Call
ExecuteScript is a helper method to define mock.On call
- script runtime.Script
- location common.Location
func (*ReusableCadenceRuntime_Expecter) InvokeContractFunction ¶ added in v0.46.0
func (_e *ReusableCadenceRuntime_Expecter) InvokeContractFunction(contractLocation interface{}, functionName interface{}, arguments interface{}, argumentTypes interface{}) *ReusableCadenceRuntime_InvokeContractFunction_Call
InvokeContractFunction is a helper method to define mock.On call
- contractLocation common.AddressLocation
- functionName string
- arguments []cadence.Value
- argumentTypes []sema.Type
func (*ReusableCadenceRuntime_Expecter) NewTransactionExecutor ¶ added in v0.46.0
func (_e *ReusableCadenceRuntime_Expecter) NewTransactionExecutor(script interface{}, location interface{}) *ReusableCadenceRuntime_NewTransactionExecutor_Call
NewTransactionExecutor is a helper method to define mock.On call
- script runtime.Script
- location common.Location
func (*ReusableCadenceRuntime_Expecter) ReadStored ¶ added in v0.46.0
func (_e *ReusableCadenceRuntime_Expecter) ReadStored(address interface{}, path interface{}) *ReusableCadenceRuntime_ReadStored_Call
ReadStored is a helper method to define mock.On call
- address common.Address
- path cadence.Path
func (*ReusableCadenceRuntime_Expecter) SetFvmEnvironment ¶ added in v0.46.0
func (_e *ReusableCadenceRuntime_Expecter) SetFvmEnvironment(fvmEnv interface{}) *ReusableCadenceRuntime_SetFvmEnvironment_Call
SetFvmEnvironment is a helper method to define mock.On call
- fvmEnv environment.Environment
type ReusableCadenceRuntime_InvokeContractFunction_Call ¶ added in v0.46.0
ReusableCadenceRuntime_InvokeContractFunction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InvokeContractFunction'
func (*ReusableCadenceRuntime_InvokeContractFunction_Call) Return ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_InvokeContractFunction_Call) Return(value cadence.Value, err error) *ReusableCadenceRuntime_InvokeContractFunction_Call
func (*ReusableCadenceRuntime_InvokeContractFunction_Call) Run ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_InvokeContractFunction_Call) Run(run func(contractLocation common.AddressLocation, functionName string, arguments []cadence.Value, argumentTypes []sema.Type)) *ReusableCadenceRuntime_InvokeContractFunction_Call
func (*ReusableCadenceRuntime_InvokeContractFunction_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_InvokeContractFunction_Call) RunAndReturn(run func(contractLocation common.AddressLocation, functionName string, arguments []cadence.Value, argumentTypes []sema.Type) (cadence.Value, error)) *ReusableCadenceRuntime_InvokeContractFunction_Call
type ReusableCadenceRuntime_NewTransactionExecutor_Call ¶ added in v0.46.0
ReusableCadenceRuntime_NewTransactionExecutor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewTransactionExecutor'
func (*ReusableCadenceRuntime_NewTransactionExecutor_Call) Return ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_NewTransactionExecutor_Call) Return(executor runtime.Executor) *ReusableCadenceRuntime_NewTransactionExecutor_Call
func (*ReusableCadenceRuntime_NewTransactionExecutor_Call) Run ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_NewTransactionExecutor_Call) Run(run func(script runtime.Script, location common.Location)) *ReusableCadenceRuntime_NewTransactionExecutor_Call
func (*ReusableCadenceRuntime_NewTransactionExecutor_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_NewTransactionExecutor_Call) RunAndReturn(run func(script runtime.Script, location common.Location) runtime.Executor) *ReusableCadenceRuntime_NewTransactionExecutor_Call
type ReusableCadenceRuntime_ReadStored_Call ¶ added in v0.46.0
ReusableCadenceRuntime_ReadStored_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadStored'
func (*ReusableCadenceRuntime_ReadStored_Call) Return ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_ReadStored_Call) Return(value cadence.Value, err error) *ReusableCadenceRuntime_ReadStored_Call
func (*ReusableCadenceRuntime_ReadStored_Call) Run ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_ReadStored_Call) Run(run func(address common.Address, path cadence.Path)) *ReusableCadenceRuntime_ReadStored_Call
func (*ReusableCadenceRuntime_ReadStored_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_ReadStored_Call) RunAndReturn(run func(address common.Address, path cadence.Path) (cadence.Value, error)) *ReusableCadenceRuntime_ReadStored_Call
type ReusableCadenceRuntime_SetFvmEnvironment_Call ¶ added in v0.46.0
ReusableCadenceRuntime_SetFvmEnvironment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFvmEnvironment'
func (*ReusableCadenceRuntime_SetFvmEnvironment_Call) Run ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_SetFvmEnvironment_Call) Run(run func(fvmEnv environment.Environment)) *ReusableCadenceRuntime_SetFvmEnvironment_Call
func (*ReusableCadenceRuntime_SetFvmEnvironment_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ReusableCadenceRuntime_SetFvmEnvironment_Call) RunAndReturn(run func(fvmEnv environment.Environment)) *ReusableCadenceRuntime_SetFvmEnvironment_Call
type RuntimeMetricsReporter ¶ added in v0.36.3
RuntimeMetricsReporter is an autogenerated mock type for the RuntimeMetricsReporter type
func NewRuntimeMetricsReporter ¶ added in v0.36.3
func NewRuntimeMetricsReporter(t interface {
mock.TestingT
Cleanup(func())
}) *RuntimeMetricsReporter
NewRuntimeMetricsReporter creates a new instance of RuntimeMetricsReporter. 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 (*RuntimeMetricsReporter) EXPECT ¶ added in v0.46.0
func (_m *RuntimeMetricsReporter) EXPECT() *RuntimeMetricsReporter_Expecter
func (*RuntimeMetricsReporter) RuntimeSetNumberOfAccounts ¶ added in v0.36.3
func (_mock *RuntimeMetricsReporter) RuntimeSetNumberOfAccounts(count uint64)
RuntimeSetNumberOfAccounts provides a mock function for the type RuntimeMetricsReporter
func (*RuntimeMetricsReporter) RuntimeTransactionChecked ¶ added in v0.36.3
func (_mock *RuntimeMetricsReporter) RuntimeTransactionChecked(duration time.Duration)
RuntimeTransactionChecked provides a mock function for the type RuntimeMetricsReporter
func (*RuntimeMetricsReporter) RuntimeTransactionInterpreted ¶ added in v0.36.3
func (_mock *RuntimeMetricsReporter) RuntimeTransactionInterpreted(duration time.Duration)
RuntimeTransactionInterpreted provides a mock function for the type RuntimeMetricsReporter
func (*RuntimeMetricsReporter) RuntimeTransactionParsed ¶ added in v0.36.3
func (_mock *RuntimeMetricsReporter) RuntimeTransactionParsed(duration time.Duration)
RuntimeTransactionParsed provides a mock function for the type RuntimeMetricsReporter
func (*RuntimeMetricsReporter) RuntimeTransactionProgramsCacheHit ¶ added in v0.36.3
func (_mock *RuntimeMetricsReporter) RuntimeTransactionProgramsCacheHit()
RuntimeTransactionProgramsCacheHit provides a mock function for the type RuntimeMetricsReporter
func (*RuntimeMetricsReporter) RuntimeTransactionProgramsCacheMiss ¶ added in v0.36.3
func (_mock *RuntimeMetricsReporter) RuntimeTransactionProgramsCacheMiss()
RuntimeTransactionProgramsCacheMiss provides a mock function for the type RuntimeMetricsReporter
type RuntimeMetricsReporter_Expecter ¶ added in v0.46.0
type RuntimeMetricsReporter_Expecter struct {
// contains filtered or unexported fields
}
func (*RuntimeMetricsReporter_Expecter) RuntimeSetNumberOfAccounts ¶ added in v0.46.0
func (_e *RuntimeMetricsReporter_Expecter) RuntimeSetNumberOfAccounts(count interface{}) *RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call
RuntimeSetNumberOfAccounts is a helper method to define mock.On call
- count uint64
func (*RuntimeMetricsReporter_Expecter) RuntimeTransactionChecked ¶ added in v0.46.0
func (_e *RuntimeMetricsReporter_Expecter) RuntimeTransactionChecked(duration interface{}) *RuntimeMetricsReporter_RuntimeTransactionChecked_Call
RuntimeTransactionChecked is a helper method to define mock.On call
- duration time.Duration
func (*RuntimeMetricsReporter_Expecter) RuntimeTransactionInterpreted ¶ added in v0.46.0
func (_e *RuntimeMetricsReporter_Expecter) RuntimeTransactionInterpreted(duration interface{}) *RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call
RuntimeTransactionInterpreted is a helper method to define mock.On call
- duration time.Duration
func (*RuntimeMetricsReporter_Expecter) RuntimeTransactionParsed ¶ added in v0.46.0
func (_e *RuntimeMetricsReporter_Expecter) RuntimeTransactionParsed(duration interface{}) *RuntimeMetricsReporter_RuntimeTransactionParsed_Call
RuntimeTransactionParsed is a helper method to define mock.On call
- duration time.Duration
func (*RuntimeMetricsReporter_Expecter) RuntimeTransactionProgramsCacheHit ¶ added in v0.46.0
func (_e *RuntimeMetricsReporter_Expecter) RuntimeTransactionProgramsCacheHit() *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call
RuntimeTransactionProgramsCacheHit is a helper method to define mock.On call
func (*RuntimeMetricsReporter_Expecter) RuntimeTransactionProgramsCacheMiss ¶ added in v0.46.0
func (_e *RuntimeMetricsReporter_Expecter) RuntimeTransactionProgramsCacheMiss() *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call
RuntimeTransactionProgramsCacheMiss is a helper method to define mock.On call
type RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call ¶ added in v0.46.0
RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeSetNumberOfAccounts'
func (*RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call) Run ¶ added in v0.46.0
func (_c *RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call) Run(run func(count uint64)) *RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call
func (*RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call) RunAndReturn(run func(count uint64)) *RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call
type RuntimeMetricsReporter_RuntimeTransactionChecked_Call ¶ added in v0.46.0
RuntimeMetricsReporter_RuntimeTransactionChecked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionChecked'
func (*RuntimeMetricsReporter_RuntimeTransactionChecked_Call) Run ¶ added in v0.46.0
func (_c *RuntimeMetricsReporter_RuntimeTransactionChecked_Call) Run(run func(duration time.Duration)) *RuntimeMetricsReporter_RuntimeTransactionChecked_Call
func (*RuntimeMetricsReporter_RuntimeTransactionChecked_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RuntimeMetricsReporter_RuntimeTransactionChecked_Call) RunAndReturn(run func(duration time.Duration)) *RuntimeMetricsReporter_RuntimeTransactionChecked_Call
type RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call ¶ added in v0.46.0
RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionInterpreted'
func (*RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call) Run ¶ added in v0.46.0
func (_c *RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call) Run(run func(duration time.Duration)) *RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call
func (*RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call) RunAndReturn(run func(duration time.Duration)) *RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call
type RuntimeMetricsReporter_RuntimeTransactionParsed_Call ¶ added in v0.46.0
RuntimeMetricsReporter_RuntimeTransactionParsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionParsed'
func (*RuntimeMetricsReporter_RuntimeTransactionParsed_Call) Run ¶ added in v0.46.0
func (_c *RuntimeMetricsReporter_RuntimeTransactionParsed_Call) Run(run func(duration time.Duration)) *RuntimeMetricsReporter_RuntimeTransactionParsed_Call
func (*RuntimeMetricsReporter_RuntimeTransactionParsed_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RuntimeMetricsReporter_RuntimeTransactionParsed_Call) RunAndReturn(run func(duration time.Duration)) *RuntimeMetricsReporter_RuntimeTransactionParsed_Call
type RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call ¶ added in v0.46.0
RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheHit'
func (*RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn(run func()) *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call
type RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call ¶ added in v0.46.0
RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheMiss'
func (*RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn ¶ added in v0.46.0
func (_c *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn(run func()) *RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call
type Tracer ¶ added in v0.36.1
Tracer is an autogenerated mock type for the Tracer type
func NewTracer ¶ added in v0.36.1
NewTracer creates a new instance of Tracer. 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 (*Tracer) EXPECT ¶ added in v0.46.0
func (_m *Tracer) EXPECT() *Tracer_Expecter
func (*Tracer) StartChildSpan ¶ added in v0.36.1
func (_mock *Tracer) StartChildSpan(name trace.SpanName, options ...trace0.SpanStartOption) tracing.TracerSpan
StartChildSpan provides a mock function for the type Tracer
type Tracer_Expecter ¶ added in v0.46.0
type Tracer_Expecter struct {
// contains filtered or unexported fields
}
func (*Tracer_Expecter) StartChildSpan ¶ added in v0.46.0
func (_e *Tracer_Expecter) StartChildSpan(name interface{}, options ...interface{}) *Tracer_StartChildSpan_Call
StartChildSpan is a helper method to define mock.On call
- name trace.SpanName
- options ...trace0.SpanStartOption
type Tracer_StartChildSpan_Call ¶ added in v0.46.0
Tracer_StartChildSpan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartChildSpan'
func (*Tracer_StartChildSpan_Call) Return ¶ added in v0.46.0
func (_c *Tracer_StartChildSpan_Call) Return(tracerSpan tracing.TracerSpan) *Tracer_StartChildSpan_Call
func (*Tracer_StartChildSpan_Call) Run ¶ added in v0.46.0
func (_c *Tracer_StartChildSpan_Call) Run(run func(name trace.SpanName, options ...trace0.SpanStartOption)) *Tracer_StartChildSpan_Call
func (*Tracer_StartChildSpan_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Tracer_StartChildSpan_Call) RunAndReturn(run func(name trace.SpanName, options ...trace0.SpanStartOption) tracing.TracerSpan) *Tracer_StartChildSpan_Call
type TransactionInfo ¶
TransactionInfo is an autogenerated mock type for the TransactionInfo type
func NewTransactionInfo ¶
func NewTransactionInfo(t interface {
mock.TestingT
Cleanup(func())
}) *TransactionInfo
NewTransactionInfo creates a new instance of TransactionInfo. 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 (*TransactionInfo) EXPECT ¶ added in v0.46.0
func (_m *TransactionInfo) EXPECT() *TransactionInfo_Expecter
func (*TransactionInfo) GetSigningAccounts ¶
func (_mock *TransactionInfo) GetSigningAccounts() ([]common.Address, error)
GetSigningAccounts provides a mock function for the type TransactionInfo
func (*TransactionInfo) IsServiceAccountAuthorizer ¶
func (_mock *TransactionInfo) IsServiceAccountAuthorizer() bool
IsServiceAccountAuthorizer provides a mock function for the type TransactionInfo
func (*TransactionInfo) LimitAccountStorage ¶
func (_mock *TransactionInfo) LimitAccountStorage() bool
LimitAccountStorage provides a mock function for the type TransactionInfo
func (*TransactionInfo) TransactionFeesEnabled ¶
func (_mock *TransactionInfo) TransactionFeesEnabled() bool
TransactionFeesEnabled provides a mock function for the type TransactionInfo
func (*TransactionInfo) TxID ¶
func (_mock *TransactionInfo) TxID() flow.Identifier
TxID provides a mock function for the type TransactionInfo
func (*TransactionInfo) TxIndex ¶
func (_mock *TransactionInfo) TxIndex() uint32
TxIndex provides a mock function for the type TransactionInfo
type TransactionInfo_Expecter ¶ added in v0.46.0
type TransactionInfo_Expecter struct {
// contains filtered or unexported fields
}
func (*TransactionInfo_Expecter) GetSigningAccounts ¶ added in v0.46.0
func (_e *TransactionInfo_Expecter) GetSigningAccounts() *TransactionInfo_GetSigningAccounts_Call
GetSigningAccounts is a helper method to define mock.On call
func (*TransactionInfo_Expecter) IsServiceAccountAuthorizer ¶ added in v0.46.0
func (_e *TransactionInfo_Expecter) IsServiceAccountAuthorizer() *TransactionInfo_IsServiceAccountAuthorizer_Call
IsServiceAccountAuthorizer is a helper method to define mock.On call
func (*TransactionInfo_Expecter) LimitAccountStorage ¶ added in v0.46.0
func (_e *TransactionInfo_Expecter) LimitAccountStorage() *TransactionInfo_LimitAccountStorage_Call
LimitAccountStorage is a helper method to define mock.On call
func (*TransactionInfo_Expecter) TransactionFeesEnabled ¶ added in v0.46.0
func (_e *TransactionInfo_Expecter) TransactionFeesEnabled() *TransactionInfo_TransactionFeesEnabled_Call
TransactionFeesEnabled is a helper method to define mock.On call
func (*TransactionInfo_Expecter) TxID ¶ added in v0.46.0
func (_e *TransactionInfo_Expecter) TxID() *TransactionInfo_TxID_Call
TxID is a helper method to define mock.On call
func (*TransactionInfo_Expecter) TxIndex ¶ added in v0.46.0
func (_e *TransactionInfo_Expecter) TxIndex() *TransactionInfo_TxIndex_Call
TxIndex is a helper method to define mock.On call
type TransactionInfo_GetSigningAccounts_Call ¶ added in v0.46.0
TransactionInfo_GetSigningAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSigningAccounts'
func (*TransactionInfo_GetSigningAccounts_Call) Return ¶ added in v0.46.0
func (_c *TransactionInfo_GetSigningAccounts_Call) Return(addresss []common.Address, err error) *TransactionInfo_GetSigningAccounts_Call
func (*TransactionInfo_GetSigningAccounts_Call) Run ¶ added in v0.46.0
func (_c *TransactionInfo_GetSigningAccounts_Call) Run(run func()) *TransactionInfo_GetSigningAccounts_Call
func (*TransactionInfo_GetSigningAccounts_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionInfo_GetSigningAccounts_Call) RunAndReturn(run func() ([]common.Address, error)) *TransactionInfo_GetSigningAccounts_Call
type TransactionInfo_IsServiceAccountAuthorizer_Call ¶ added in v0.46.0
TransactionInfo_IsServiceAccountAuthorizer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsServiceAccountAuthorizer'
func (*TransactionInfo_IsServiceAccountAuthorizer_Call) Run ¶ added in v0.46.0
func (_c *TransactionInfo_IsServiceAccountAuthorizer_Call) Run(run func()) *TransactionInfo_IsServiceAccountAuthorizer_Call
func (*TransactionInfo_IsServiceAccountAuthorizer_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionInfo_IsServiceAccountAuthorizer_Call) RunAndReturn(run func() bool) *TransactionInfo_IsServiceAccountAuthorizer_Call
type TransactionInfo_LimitAccountStorage_Call ¶ added in v0.46.0
TransactionInfo_LimitAccountStorage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LimitAccountStorage'
func (*TransactionInfo_LimitAccountStorage_Call) Return ¶ added in v0.46.0
func (_c *TransactionInfo_LimitAccountStorage_Call) Return(b bool) *TransactionInfo_LimitAccountStorage_Call
func (*TransactionInfo_LimitAccountStorage_Call) Run ¶ added in v0.46.0
func (_c *TransactionInfo_LimitAccountStorage_Call) Run(run func()) *TransactionInfo_LimitAccountStorage_Call
func (*TransactionInfo_LimitAccountStorage_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionInfo_LimitAccountStorage_Call) RunAndReturn(run func() bool) *TransactionInfo_LimitAccountStorage_Call
type TransactionInfo_TransactionFeesEnabled_Call ¶ added in v0.46.0
TransactionInfo_TransactionFeesEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionFeesEnabled'
func (*TransactionInfo_TransactionFeesEnabled_Call) Return ¶ added in v0.46.0
func (_c *TransactionInfo_TransactionFeesEnabled_Call) Return(b bool) *TransactionInfo_TransactionFeesEnabled_Call
func (*TransactionInfo_TransactionFeesEnabled_Call) Run ¶ added in v0.46.0
func (_c *TransactionInfo_TransactionFeesEnabled_Call) Run(run func()) *TransactionInfo_TransactionFeesEnabled_Call
func (*TransactionInfo_TransactionFeesEnabled_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionInfo_TransactionFeesEnabled_Call) RunAndReturn(run func() bool) *TransactionInfo_TransactionFeesEnabled_Call
type TransactionInfo_TxID_Call ¶ added in v0.46.0
TransactionInfo_TxID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxID'
func (*TransactionInfo_TxID_Call) Return ¶ added in v0.46.0
func (_c *TransactionInfo_TxID_Call) Return(identifier flow.Identifier) *TransactionInfo_TxID_Call
func (*TransactionInfo_TxID_Call) Run ¶ added in v0.46.0
func (_c *TransactionInfo_TxID_Call) Run(run func()) *TransactionInfo_TxID_Call
func (*TransactionInfo_TxID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionInfo_TxID_Call) RunAndReturn(run func() flow.Identifier) *TransactionInfo_TxID_Call
type TransactionInfo_TxIndex_Call ¶ added in v0.46.0
TransactionInfo_TxIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxIndex'
func (*TransactionInfo_TxIndex_Call) Return ¶ added in v0.46.0
func (_c *TransactionInfo_TxIndex_Call) Return(v uint32) *TransactionInfo_TxIndex_Call
func (*TransactionInfo_TxIndex_Call) Run ¶ added in v0.46.0
func (_c *TransactionInfo_TxIndex_Call) Run(run func()) *TransactionInfo_TxIndex_Call
func (*TransactionInfo_TxIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *TransactionInfo_TxIndex_Call) RunAndReturn(run func() uint32) *TransactionInfo_TxIndex_Call
type UUIDGenerator ¶ added in v0.28.7
UUIDGenerator is an autogenerated mock type for the UUIDGenerator type
func NewUUIDGenerator ¶ added in v0.28.7
func NewUUIDGenerator(t interface {
mock.TestingT
Cleanup(func())
}) *UUIDGenerator
NewUUIDGenerator creates a new instance of UUIDGenerator. 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 (*UUIDGenerator) EXPECT ¶ added in v0.46.0
func (_m *UUIDGenerator) EXPECT() *UUIDGenerator_Expecter
func (*UUIDGenerator) GenerateUUID ¶ added in v0.28.7
func (_mock *UUIDGenerator) GenerateUUID() (uint64, error)
GenerateUUID provides a mock function for the type UUIDGenerator
type UUIDGenerator_Expecter ¶ added in v0.46.0
type UUIDGenerator_Expecter struct {
// contains filtered or unexported fields
}
func (*UUIDGenerator_Expecter) GenerateUUID ¶ added in v0.46.0
func (_e *UUIDGenerator_Expecter) GenerateUUID() *UUIDGenerator_GenerateUUID_Call
GenerateUUID is a helper method to define mock.On call
type UUIDGenerator_GenerateUUID_Call ¶ added in v0.46.0
UUIDGenerator_GenerateUUID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateUUID'
func (*UUIDGenerator_GenerateUUID_Call) Return ¶ added in v0.46.0
func (_c *UUIDGenerator_GenerateUUID_Call) Return(v uint64, err error) *UUIDGenerator_GenerateUUID_Call
func (*UUIDGenerator_GenerateUUID_Call) Run ¶ added in v0.46.0
func (_c *UUIDGenerator_GenerateUUID_Call) Run(run func()) *UUIDGenerator_GenerateUUID_Call
func (*UUIDGenerator_GenerateUUID_Call) RunAndReturn ¶ added in v0.46.0
func (_c *UUIDGenerator_GenerateUUID_Call) RunAndReturn(run func() (uint64, error)) *UUIDGenerator_GenerateUUID_Call
type ValueStore ¶ added in v0.28.7
ValueStore is an autogenerated mock type for the ValueStore type
func NewValueStore ¶ added in v0.28.7
func NewValueStore(t interface {
mock.TestingT
Cleanup(func())
}) *ValueStore
NewValueStore creates a new instance of ValueStore. 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 (*ValueStore) AllocateSlabIndex ¶ added in v0.37.1
func (_mock *ValueStore) AllocateSlabIndex(owner []byte) (atree.SlabIndex, error)
AllocateSlabIndex provides a mock function for the type ValueStore
func (*ValueStore) EXPECT ¶ added in v0.46.0
func (_m *ValueStore) EXPECT() *ValueStore_Expecter
func (*ValueStore) GetValue ¶ added in v0.28.7
func (_mock *ValueStore) GetValue(owner []byte, key []byte) ([]byte, error)
GetValue provides a mock function for the type ValueStore
func (*ValueStore) SetValue ¶ added in v0.28.7
func (_mock *ValueStore) SetValue(owner []byte, key []byte, value []byte) error
SetValue provides a mock function for the type ValueStore
func (*ValueStore) ValueExists ¶ added in v0.28.7
func (_mock *ValueStore) ValueExists(owner []byte, key []byte) (bool, error)
ValueExists provides a mock function for the type ValueStore
type ValueStore_AllocateSlabIndex_Call ¶ added in v0.46.0
ValueStore_AllocateSlabIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllocateSlabIndex'
func (*ValueStore_AllocateSlabIndex_Call) Return ¶ added in v0.46.0
func (_c *ValueStore_AllocateSlabIndex_Call) Return(slabIndex atree.SlabIndex, err error) *ValueStore_AllocateSlabIndex_Call
func (*ValueStore_AllocateSlabIndex_Call) Run ¶ added in v0.46.0
func (_c *ValueStore_AllocateSlabIndex_Call) Run(run func(owner []byte)) *ValueStore_AllocateSlabIndex_Call
func (*ValueStore_AllocateSlabIndex_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ValueStore_AllocateSlabIndex_Call) RunAndReturn(run func(owner []byte) (atree.SlabIndex, error)) *ValueStore_AllocateSlabIndex_Call
type ValueStore_Expecter ¶ added in v0.46.0
type ValueStore_Expecter struct {
// contains filtered or unexported fields
}
func (*ValueStore_Expecter) AllocateSlabIndex ¶ added in v0.46.0
func (_e *ValueStore_Expecter) AllocateSlabIndex(owner interface{}) *ValueStore_AllocateSlabIndex_Call
AllocateSlabIndex is a helper method to define mock.On call
- owner []byte
func (*ValueStore_Expecter) GetValue ¶ added in v0.46.0
func (_e *ValueStore_Expecter) GetValue(owner interface{}, key interface{}) *ValueStore_GetValue_Call
GetValue is a helper method to define mock.On call
- owner []byte
- key []byte
func (*ValueStore_Expecter) SetValue ¶ added in v0.46.0
func (_e *ValueStore_Expecter) SetValue(owner interface{}, key interface{}, value interface{}) *ValueStore_SetValue_Call
SetValue is a helper method to define mock.On call
- owner []byte
- key []byte
- value []byte
func (*ValueStore_Expecter) ValueExists ¶ added in v0.46.0
func (_e *ValueStore_Expecter) ValueExists(owner interface{}, key interface{}) *ValueStore_ValueExists_Call
ValueExists is a helper method to define mock.On call
- owner []byte
- key []byte
type ValueStore_GetValue_Call ¶ added in v0.46.0
ValueStore_GetValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetValue'
func (*ValueStore_GetValue_Call) Return ¶ added in v0.46.0
func (_c *ValueStore_GetValue_Call) Return(bytes []byte, err error) *ValueStore_GetValue_Call
func (*ValueStore_GetValue_Call) Run ¶ added in v0.46.0
func (_c *ValueStore_GetValue_Call) Run(run func(owner []byte, key []byte)) *ValueStore_GetValue_Call
func (*ValueStore_GetValue_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ValueStore_GetValue_Call) RunAndReturn(run func(owner []byte, key []byte) ([]byte, error)) *ValueStore_GetValue_Call
type ValueStore_SetValue_Call ¶ added in v0.46.0
ValueStore_SetValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetValue'
func (*ValueStore_SetValue_Call) Return ¶ added in v0.46.0
func (_c *ValueStore_SetValue_Call) Return(err error) *ValueStore_SetValue_Call
func (*ValueStore_SetValue_Call) Run ¶ added in v0.46.0
func (_c *ValueStore_SetValue_Call) Run(run func(owner []byte, key []byte, value []byte)) *ValueStore_SetValue_Call
func (*ValueStore_SetValue_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ValueStore_SetValue_Call) RunAndReturn(run func(owner []byte, key []byte, value []byte) error) *ValueStore_SetValue_Call
type ValueStore_ValueExists_Call ¶ added in v0.46.0
ValueStore_ValueExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValueExists'
func (*ValueStore_ValueExists_Call) Return ¶ added in v0.46.0
func (_c *ValueStore_ValueExists_Call) Return(b bool, err error) *ValueStore_ValueExists_Call
func (*ValueStore_ValueExists_Call) Run ¶ added in v0.46.0
func (_c *ValueStore_ValueExists_Call) Run(run func(owner []byte, key []byte)) *ValueStore_ValueExists_Call
func (*ValueStore_ValueExists_Call) RunAndReturn ¶ added in v0.46.0
func (_c *ValueStore_ValueExists_Call) RunAndReturn(run func(owner []byte, key []byte) (bool, error)) *ValueStore_ValueExists_Call
Source Files
¶
- account_creator.go
- account_info.go
- account_key_reader.go
- account_key_updater.go
- account_local_id_generator.go
- accounts.go
- address_generator.go
- block_info.go
- blocks.go
- bootstrap_account_creator.go
- cadence_runtime_provider.go
- contract_function_invoker.go
- contract_updater.go
- contract_updater_stubs.go
- crypto_library.go
- entropy_provider.go
- environment.go
- event_emitter.go
- event_encoder.go
- evm_metrics_reporter.go
- execution_version_provider.go
- logger_provider.go
- meter.go
- metrics_reporter.go
- minimum_cadence_required_version.go
- random_generator.go
- random_source_history_provider.go
- reusable_cadence_runtime.go
- reusable_cadence_runtime_interface.go
- reusable_cadence_runtime_pool.go
- runtime_metrics_reporter.go
- tracer.go
- transaction_info.go
- uuid_generator.go
- value_store.go