mock

package
v0.46.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountCreator

type AccountCreator struct {
	mock.Mock
}

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

func (_mock *AccountCreator) CreateAccount(runtimePayer common.Address) (common.Address, error)

CreateAccount provides a mock function for the type AccountCreator

func (*AccountCreator) EXPECT added in v0.46.0

type AccountCreator_CreateAccount_Call added in v0.46.0

type AccountCreator_CreateAccount_Call struct {
	*mock.Call
}

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

func (*AccountCreator_CreateAccount_Call) RunAndReturn added in v0.46.0

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

type AccountInfo struct {
	mock.Mock
}

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

func (_mock *AccountInfo) GetAccount(address flow.Address) (*flow.Account, error)

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

type AccountInfo_GetAccountAvailableBalance_Call struct {
	*mock.Call
}

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

func (*AccountInfo_GetAccountAvailableBalance_Call) RunAndReturn added in v0.46.0

type AccountInfo_GetAccountBalance_Call added in v0.46.0

type AccountInfo_GetAccountBalance_Call struct {
	*mock.Call
}

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

func (*AccountInfo_GetAccountBalance_Call) RunAndReturn added in v0.46.0

type AccountInfo_GetAccountKeyByIndex_Call added in v0.46.0

type AccountInfo_GetAccountKeyByIndex_Call struct {
	*mock.Call
}

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

func (*AccountInfo_GetAccountKeyByIndex_Call) RunAndReturn added in v0.46.0

type AccountInfo_GetAccountKeys_Call added in v0.46.0

type AccountInfo_GetAccountKeys_Call struct {
	*mock.Call
}

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

func (*AccountInfo_GetAccountKeys_Call) RunAndReturn added in v0.46.0

type AccountInfo_GetAccount_Call added in v0.46.0

type AccountInfo_GetAccount_Call struct {
	*mock.Call
}

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

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

type AccountInfo_GetStorageCapacity_Call struct {
	*mock.Call
}

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

func (*AccountInfo_GetStorageCapacity_Call) RunAndReturn added in v0.46.0

type AccountInfo_GetStorageUsed_Call added in v0.46.0

type AccountInfo_GetStorageUsed_Call struct {
	*mock.Call
}

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

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

type AccountKeyReader struct {
	mock.Mock
}

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

type AccountKeyReader_AccountKeysCount_Call struct {
	*mock.Call
}

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

func (*AccountKeyReader_AccountKeysCount_Call) RunAndReturn added in v0.46.0

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

type AccountKeyReader_GetAccountKey_Call struct {
	*mock.Call
}

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

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

type AccountKeyUpdater struct {
	mock.Mock
}

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

type AccountKeyUpdater_AddAccountKey_Call struct {
	*mock.Call
}

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

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

type AccountKeyUpdater_RevokeAccountKey_Call struct {
	*mock.Call
}

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

func (*AccountKeyUpdater_RevokeAccountKey_Call) RunAndReturn added in v0.46.0

type AccountLocalIDGenerator added in v0.31.0

type AccountLocalIDGenerator struct {
	mock.Mock
}

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

type AccountLocalIDGenerator_GenerateAccountID_Call struct {
	*mock.Call
}

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

func (*AccountLocalIDGenerator_GenerateAccountID_Call) RunAndReturn added in v0.46.0

type Accounts

type Accounts struct {
	mock.Mock
}

Accounts is an autogenerated mock type for the Accounts type

func NewAccounts

func NewAccounts(t interface {
	mock.TestingT
	Cleanup(func())
}) *Accounts

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

func (_mock *Accounts) AllocateSlabIndex(address flow.Address) (atree.SlabIndex, error)

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

func (_mock *Accounts) ContractExists(contractName string, address flow.Address) (bool, error)

ContractExists provides a mock function for the type Accounts

func (*Accounts) Create

func (_mock *Accounts) Create(publicKeys []flow.AccountPublicKey, newAddress flow.Address) error

Create provides a mock function for the type Accounts

func (*Accounts) DeleteContract

func (_mock *Accounts) DeleteContract(contractName string, address flow.Address) error

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

func (_mock *Accounts) Exists(address flow.Address) (bool, error)

Exists provides a mock function for the type Accounts

func (*Accounts) GenerateAccountLocalID added in v0.31.0

func (_mock *Accounts) GenerateAccountLocalID(address flow.Address) (uint64, error)

GenerateAccountLocalID provides a mock function for the type Accounts

func (*Accounts) Get

func (_mock *Accounts) Get(address flow.Address) (*flow.Account, error)

Get 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

func (_mock *Accounts) GetAccountPublicKeyCount(address flow.Address) (uint32, error)

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

func (_mock *Accounts) GetAccountPublicKeys(address flow.Address) ([]flow.AccountPublicKey, error)

GetAccountPublicKeys provides a mock function for the type Accounts

func (*Accounts) GetContract

func (_mock *Accounts) GetContract(contractName string, address flow.Address) ([]byte, error)

GetContract provides a mock function for the type Accounts

func (*Accounts) GetContractNames

func (_mock *Accounts) GetContractNames(address flow.Address) ([]string, error)

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

func (_mock *Accounts) GetStorageUsed(address flow.Address) (uint64, error)

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

func (_mock *Accounts) RevokeAccountPublicKey(address flow.Address, keyIndex uint32) error

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

type Accounts_AllocateSlabIndex_Call struct {
	*mock.Call
}

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

func (*Accounts_AllocateSlabIndex_Call) RunAndReturn added in v0.46.0

type Accounts_AppendAccountPublicKey_Call added in v0.46.0

type Accounts_AppendAccountPublicKey_Call struct {
	*mock.Call
}

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

func (*Accounts_AppendAccountPublicKey_Call) RunAndReturn added in v0.46.0

type Accounts_ContractExists_Call added in v0.46.0

type Accounts_ContractExists_Call struct {
	*mock.Call
}

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

type Accounts_Create_Call struct {
	*mock.Call
}

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

type Accounts_DeleteContract_Call struct {
	*mock.Call
}

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

type Accounts_Exists_Call struct {
	*mock.Call
}

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

type Accounts_GenerateAccountLocalID_Call struct {
	*mock.Call
}

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

func (*Accounts_GenerateAccountLocalID_Call) RunAndReturn added in v0.46.0

type Accounts_GetAccountPublicKeyCount_Call added in v0.46.0

type Accounts_GetAccountPublicKeyCount_Call struct {
	*mock.Call
}

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

func (*Accounts_GetAccountPublicKeyCount_Call) RunAndReturn added in v0.46.0

type Accounts_GetAccountPublicKeyRevokedStatus_Call added in v0.46.0

type Accounts_GetAccountPublicKeyRevokedStatus_Call struct {
	*mock.Call
}

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

func (*Accounts_GetAccountPublicKeyRevokedStatus_Call) RunAndReturn added in v0.46.0

type Accounts_GetAccountPublicKeySequenceNumber_Call added in v0.46.0

type Accounts_GetAccountPublicKeySequenceNumber_Call struct {
	*mock.Call
}

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

func (*Accounts_GetAccountPublicKeySequenceNumber_Call) RunAndReturn added in v0.46.0

type Accounts_GetAccountPublicKey_Call added in v0.46.0

type Accounts_GetAccountPublicKey_Call struct {
	*mock.Call
}

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

func (*Accounts_GetAccountPublicKey_Call) RunAndReturn added in v0.46.0

type Accounts_GetAccountPublicKeys_Call added in v0.46.0

type Accounts_GetAccountPublicKeys_Call struct {
	*mock.Call
}

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

func (*Accounts_GetAccountPublicKeys_Call) RunAndReturn added in v0.46.0

type Accounts_GetContractNames_Call added in v0.46.0

type Accounts_GetContractNames_Call struct {
	*mock.Call
}

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

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

type Accounts_GetContract_Call struct {
	*mock.Call
}

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

type Accounts_GetRuntimeAccountPublicKey_Call struct {
	*mock.Call
}

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

func (*Accounts_GetRuntimeAccountPublicKey_Call) RunAndReturn added in v0.46.0

type Accounts_GetStorageUsed_Call added in v0.46.0

type Accounts_GetStorageUsed_Call struct {
	*mock.Call
}

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

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

type Accounts_GetValue_Call struct {
	*mock.Call
}

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

func (*Accounts_GetValue_Call) RunAndReturn added in v0.46.0

type Accounts_Get_Call added in v0.46.0

type Accounts_Get_Call struct {
	*mock.Call
}

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

type Accounts_IncrementAccountPublicKeySequenceNumber_Call struct {
	*mock.Call
}

Accounts_IncrementAccountPublicKeySequenceNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementAccountPublicKeySequenceNumber'

func (*Accounts_IncrementAccountPublicKeySequenceNumber_Call) Return added in v0.46.0

func (*Accounts_IncrementAccountPublicKeySequenceNumber_Call) Run added in v0.46.0

func (*Accounts_IncrementAccountPublicKeySequenceNumber_Call) RunAndReturn added in v0.46.0

type Accounts_RevokeAccountPublicKey_Call added in v0.46.0

type Accounts_RevokeAccountPublicKey_Call struct {
	*mock.Call
}

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

func (*Accounts_RevokeAccountPublicKey_Call) RunAndReturn added in v0.46.0

type Accounts_SetContract_Call added in v0.46.0

type Accounts_SetContract_Call struct {
	*mock.Call
}

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

type Accounts_SetValue_Call struct {
	*mock.Call
}

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

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

type AddressGenerator struct {
	mock.Mock
}

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

type AddressGenerator_AddressCount_Call struct {
	*mock.Call
}

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

func (*AddressGenerator_AddressCount_Call) RunAndReturn added in v0.46.0

type AddressGenerator_Bytes_Call added in v0.46.0

type AddressGenerator_Bytes_Call struct {
	*mock.Call
}

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

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

type AddressGenerator_CurrentAddress_Call struct {
	*mock.Call
}

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

func (*AddressGenerator_CurrentAddress_Call) RunAndReturn added in v0.46.0

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

AddressCount is a helper method to define mock.On call

func (*AddressGenerator_Expecter) Bytes added in v0.46.0

Bytes is a helper method to define mock.On call

func (*AddressGenerator_Expecter) CurrentAddress added in v0.46.0

CurrentAddress is a helper method to define mock.On call

func (*AddressGenerator_Expecter) NextAddress added in v0.46.0

NextAddress is a helper method to define mock.On call

type AddressGenerator_NextAddress_Call added in v0.46.0

type AddressGenerator_NextAddress_Call struct {
	*mock.Call
}

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

func (*AddressGenerator_NextAddress_Call) RunAndReturn added in v0.46.0

type BlockInfo added in v0.28.7

type BlockInfo struct {
	mock.Mock
}

BlockInfo is an autogenerated mock type for the BlockInfo type

func NewBlockInfo added in v0.28.7

func NewBlockInfo(t interface {
	mock.TestingT
	Cleanup(func())
}) *BlockInfo

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

func (_mock *BlockInfo) GetBlockAtHeight(height uint64) (runtime.Block, bool, error)

GetBlockAtHeight provides a mock function for the type BlockInfo

func (*BlockInfo) GetCurrentBlockHeight added in v0.28.7

func (_mock *BlockInfo) GetCurrentBlockHeight() (uint64, error)

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

type BlockInfo_GetBlockAtHeight_Call struct {
	*mock.Call
}

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

func (*BlockInfo_GetBlockAtHeight_Call) RunAndReturn added in v0.46.0

type BlockInfo_GetCurrentBlockHeight_Call added in v0.46.0

type BlockInfo_GetCurrentBlockHeight_Call struct {
	*mock.Call
}

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

func (*BlockInfo_GetCurrentBlockHeight_Call) RunAndReturn added in v0.46.0

type Blocks

type Blocks struct {
	mock.Mock
}

Blocks is an autogenerated mock type for the Blocks type

func NewBlocks

func NewBlocks(t interface {
	mock.TestingT
	Cleanup(func())
}) *Blocks

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

func (_mock *Blocks) ByHeightFrom(height uint64, header *flow.Header) (*flow.Header, error)

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

type Blocks_ByHeightFrom_Call struct {
	*mock.Call
}

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

type BootstrapAccountCreator struct {
	mock.Mock
}

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

type BootstrapAccountCreator_CreateBootstrapAccount_Call added in v0.46.0

type BootstrapAccountCreator_CreateBootstrapAccount_Call struct {
	*mock.Call
}

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

func (*BootstrapAccountCreator_CreateBootstrapAccount_Call) RunAndReturn added in v0.46.0

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

type CadenceRuntimeProvider struct {
	mock.Mock
}

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

type CadenceRuntimeProvider_BorrowCadenceRuntime_Call struct {
	*mock.Call
}

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

func (*CadenceRuntimeProvider_BorrowCadenceRuntime_Call) RunAndReturn added in v0.46.0

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

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

SetEnvironment is a helper method to define mock.On call

  • env environment.Environment

type CadenceRuntimeProvider_ReturnCadenceRuntime_Call added in v0.46.0

type CadenceRuntimeProvider_ReturnCadenceRuntime_Call struct {
	*mock.Call
}

CadenceRuntimeProvider_ReturnCadenceRuntime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReturnCadenceRuntime'

func (*CadenceRuntimeProvider_ReturnCadenceRuntime_Call) Return added in v0.46.0

func (*CadenceRuntimeProvider_ReturnCadenceRuntime_Call) Run added in v0.46.0

func (*CadenceRuntimeProvider_ReturnCadenceRuntime_Call) RunAndReturn added in v0.46.0

type CadenceRuntimeProvider_SetEnvironment_Call added in v0.46.0

type CadenceRuntimeProvider_SetEnvironment_Call struct {
	*mock.Call
}

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

func (*CadenceRuntimeProvider_SetEnvironment_Call) RunAndReturn added in v0.46.0

type ContractFunctionInvoker added in v0.33.30

type ContractFunctionInvoker struct {
	mock.Mock
}

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 (*ContractFunctionInvoker) Invoke added in v0.33.30

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

type ContractFunctionInvoker_Invoke_Call struct {
	*mock.Call
}

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

func (*ContractFunctionInvoker_Invoke_Call) RunAndReturn added in v0.46.0

type ContractUpdater

type ContractUpdater struct {
	mock.Mock
}

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

type ContractUpdaterStubs struct {
	mock.Mock
}

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

RestrictedDeploymentEnabled is a helper method to define mock.On call

func (*ContractUpdaterStubs_Expecter) RestrictedRemovalEnabled added in v0.46.0

RestrictedRemovalEnabled is a helper method to define mock.On call

type ContractUpdaterStubs_GetAuthorizedAccounts_Call added in v0.46.0

type ContractUpdaterStubs_GetAuthorizedAccounts_Call struct {
	*mock.Call
}

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

func (*ContractUpdaterStubs_GetAuthorizedAccounts_Call) RunAndReturn added in v0.46.0

type ContractUpdaterStubs_RestrictedDeploymentEnabled_Call added in v0.46.0

type ContractUpdaterStubs_RestrictedDeploymentEnabled_Call struct {
	*mock.Call
}

ContractUpdaterStubs_RestrictedDeploymentEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestrictedDeploymentEnabled'

func (*ContractUpdaterStubs_RestrictedDeploymentEnabled_Call) Return added in v0.46.0

func (*ContractUpdaterStubs_RestrictedDeploymentEnabled_Call) Run added in v0.46.0

func (*ContractUpdaterStubs_RestrictedDeploymentEnabled_Call) RunAndReturn added in v0.46.0

type ContractUpdaterStubs_RestrictedRemovalEnabled_Call added in v0.46.0

type ContractUpdaterStubs_RestrictedRemovalEnabled_Call struct {
	*mock.Call
}

ContractUpdaterStubs_RestrictedRemovalEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestrictedRemovalEnabled'

func (*ContractUpdaterStubs_RestrictedRemovalEnabled_Call) Return added in v0.46.0

func (*ContractUpdaterStubs_RestrictedRemovalEnabled_Call) Run added in v0.46.0

func (*ContractUpdaterStubs_RestrictedRemovalEnabled_Call) RunAndReturn added in v0.46.0

type ContractUpdater_Commit_Call added in v0.46.0

type ContractUpdater_Commit_Call struct {
	*mock.Call
}

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

func (*ContractUpdater_Commit_Call) RunAndReturn added in v0.46.0

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

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

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

type ContractUpdater_RemoveAccountContractCode_Call struct {
	*mock.Call
}

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

func (*ContractUpdater_RemoveAccountContractCode_Call) RunAndReturn added in v0.46.0

type ContractUpdater_Reset_Call added in v0.46.0

type ContractUpdater_Reset_Call struct {
	*mock.Call
}

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

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

type ContractUpdater_UpdateAccountContractCode_Call struct {
	*mock.Call
}

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

func (*ContractUpdater_UpdateAccountContractCode_Call) RunAndReturn added in v0.46.0

type CryptoLibrary added in v0.28.7

type CryptoLibrary struct {
	mock.Mock
}

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

func (_mock *CryptoLibrary) BLSVerifyPOP(pk *runtime.PublicKey, sig []byte) (bool, error)

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

type CryptoLibrary_BLSAggregatePublicKeys_Call struct {
	*mock.Call
}

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

func (*CryptoLibrary_BLSAggregatePublicKeys_Call) RunAndReturn added in v0.46.0

type CryptoLibrary_BLSAggregateSignatures_Call added in v0.46.0

type CryptoLibrary_BLSAggregateSignatures_Call struct {
	*mock.Call
}

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

func (*CryptoLibrary_BLSAggregateSignatures_Call) RunAndReturn added in v0.46.0

type CryptoLibrary_BLSVerifyPOP_Call added in v0.46.0

type CryptoLibrary_BLSVerifyPOP_Call struct {
	*mock.Call
}

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

func (*CryptoLibrary_BLSVerifyPOP_Call) RunAndReturn added in v0.46.0

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

type CryptoLibrary_Hash_Call struct {
	*mock.Call
}

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

type CryptoLibrary_ValidatePublicKey_Call struct {
	*mock.Call
}

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

func (*CryptoLibrary_ValidatePublicKey_Call) RunAndReturn added in v0.46.0

type CryptoLibrary_VerifySignature_Call added in v0.46.0

type CryptoLibrary_VerifySignature_Call struct {
	*mock.Call
}

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

type EVMMetricsReporter struct {
	mock.Mock
}

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

type EVMMetricsReporter_EVMBlockExecuted_Call struct {
	*mock.Call
}

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

type EVMMetricsReporter_EVMTransactionExecuted_Call struct {
	*mock.Call
}

EVMMetricsReporter_EVMTransactionExecuted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EVMTransactionExecuted'

func (*EVMMetricsReporter_EVMTransactionExecuted_Call) Return added in v0.46.0

func (*EVMMetricsReporter_EVMTransactionExecuted_Call) Run added in v0.46.0

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

type EVMMetricsReporter_SetNumberOfDeployedCOAs_Call struct {
	*mock.Call
}

EVMMetricsReporter_SetNumberOfDeployedCOAs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetNumberOfDeployedCOAs'

func (*EVMMetricsReporter_SetNumberOfDeployedCOAs_Call) Return added in v0.46.0

func (*EVMMetricsReporter_SetNumberOfDeployedCOAs_Call) Run added in v0.46.0

func (*EVMMetricsReporter_SetNumberOfDeployedCOAs_Call) RunAndReturn added in v0.46.0

type EntropyProvider added in v0.32.0

type EntropyProvider struct {
	mock.Mock
}

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

RandomSource is a helper method to define mock.On call

type EntropyProvider_RandomSource_Call added in v0.46.0

type EntropyProvider_RandomSource_Call struct {
	*mock.Call
}

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

func (*EntropyProvider_RandomSource_Call) RunAndReturn added in v0.46.0

type Environment

type Environment struct {
	mock.Mock
}

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

func (_mock *Environment) CreateAccount(payer runtime.Address) (runtime.Address, error)

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

func (_mock *Environment) GetAccount(address flow.Address) (*flow.Account, error)

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

func (_mock *Environment) GetBlockAtHeight(height uint64) (runtime.Block, bool, error)

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

type Environment_AccountKeysCount_Call struct {
	*mock.Call
}

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

func (*Environment_AccountKeysCount_Call) RunAndReturn added in v0.46.0

type Environment_AccountsStorageCapacity_Call added in v0.46.0

type Environment_AccountsStorageCapacity_Call struct {
	*mock.Call
}

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

func (*Environment_AccountsStorageCapacity_Call) RunAndReturn added in v0.46.0

type Environment_AddAccountKey_Call added in v0.46.0

type Environment_AddAccountKey_Call struct {
	*mock.Call
}

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

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

type Environment_AllocateSlabIndex_Call struct {
	*mock.Call
}

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

func (*Environment_AllocateSlabIndex_Call) RunAndReturn added in v0.46.0

type Environment_BLSAggregatePublicKeys_Call added in v0.46.0

type Environment_BLSAggregatePublicKeys_Call struct {
	*mock.Call
}

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

func (*Environment_BLSAggregatePublicKeys_Call) RunAndReturn added in v0.46.0

type Environment_BLSAggregateSignatures_Call added in v0.46.0

type Environment_BLSAggregateSignatures_Call struct {
	*mock.Call
}

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

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

type Environment_BLSVerifyPOP_Call struct {
	*mock.Call
}

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

type Environment_BorrowCadenceRuntime_Call struct {
	*mock.Call
}

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

func (*Environment_BorrowCadenceRuntime_Call) RunAndReturn added in v0.46.0

type Environment_CheckPayerBalanceAndGetMaxTxFees_Call added in v0.46.0

type Environment_CheckPayerBalanceAndGetMaxTxFees_Call struct {
	*mock.Call
}

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

func (*Environment_CheckPayerBalanceAndGetMaxTxFees_Call) RunAndReturn added in v0.46.0

type Environment_ComputationAvailable_Call added in v0.46.0

type Environment_ComputationAvailable_Call struct {
	*mock.Call
}

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

func (*Environment_ComputationAvailable_Call) RunAndReturn added in v0.46.0

type Environment_ComputationIntensities_Call added in v0.46.0

type Environment_ComputationIntensities_Call struct {
	*mock.Call
}

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

func (*Environment_ComputationIntensities_Call) RunAndReturn added in v0.46.0

type Environment_ComputationRemaining_Call added in v0.46.0

type Environment_ComputationRemaining_Call struct {
	*mock.Call
}

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

func (*Environment_ComputationRemaining_Call) RunAndReturn added in v0.46.0

type Environment_ComputationUsed_Call added in v0.46.0

type Environment_ComputationUsed_Call struct {
	*mock.Call
}

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

func (*Environment_ComputationUsed_Call) RunAndReturn added in v0.46.0

type Environment_ConvertedServiceEvents_Call added in v0.46.0

type Environment_ConvertedServiceEvents_Call struct {
	*mock.Call
}

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

func (*Environment_ConvertedServiceEvents_Call) RunAndReturn added in v0.46.0

type Environment_CreateAccount_Call added in v0.46.0

type Environment_CreateAccount_Call struct {
	*mock.Call
}

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

func (*Environment_CreateAccount_Call) RunAndReturn added in v0.46.0

type Environment_DecodeArgument_Call added in v0.46.0

type Environment_DecodeArgument_Call struct {
	*mock.Call
}

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

type Environment_DeductTransactionFees_Call struct {
	*mock.Call
}

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

type Environment_EVMBlockExecuted_Call struct {
	*mock.Call
}

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

type Environment_EVMTransactionExecuted_Call struct {
	*mock.Call
}

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

type Environment_EmitEvent_Call struct {
	*mock.Call
}

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

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

type Environment_Events_Call struct {
	*mock.Call
}

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

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

Events is a helper method to define mock.On call

func (*Environment_Expecter) FlushPendingUpdates added in v0.46.0

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

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

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

LimitAccountStorage is a helper method to define mock.On call

func (*Environment_Expecter) Logger added in v0.46.0

Logger is a helper method to define mock.On call

func (*Environment_Expecter) Logs added in v0.46.0

Logs is a helper method to define mock.On call

func (*Environment_Expecter) MemoryUsed added in v0.46.0

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

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

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

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

TxID is a helper method to define mock.On call

func (*Environment_Expecter) TxIndex added in v0.46.0

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

type Environment_FlushPendingUpdates_Call struct {
	*mock.Call
}

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

func (*Environment_FlushPendingUpdates_Call) RunAndReturn added in v0.46.0

type Environment_GenerateAccountID_Call added in v0.46.0

type Environment_GenerateAccountID_Call struct {
	*mock.Call
}

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

func (*Environment_GenerateAccountID_Call) RunAndReturn added in v0.46.0

type Environment_GenerateUUID_Call added in v0.46.0

type Environment_GenerateUUID_Call struct {
	*mock.Call
}

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

func (*Environment_GenerateUUID_Call) RunAndReturn added in v0.46.0

type Environment_GetAccountAvailableBalance_Call added in v0.46.0

type Environment_GetAccountAvailableBalance_Call struct {
	*mock.Call
}

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

func (*Environment_GetAccountAvailableBalance_Call) RunAndReturn added in v0.46.0

type Environment_GetAccountBalance_Call added in v0.46.0

type Environment_GetAccountBalance_Call struct {
	*mock.Call
}

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

func (*Environment_GetAccountBalance_Call) RunAndReturn added in v0.46.0

type Environment_GetAccountContractCode_Call added in v0.46.0

type Environment_GetAccountContractCode_Call struct {
	*mock.Call
}

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

func (*Environment_GetAccountContractCode_Call) RunAndReturn added in v0.46.0

type Environment_GetAccountContractNames_Call added in v0.46.0

type Environment_GetAccountContractNames_Call struct {
	*mock.Call
}

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

func (*Environment_GetAccountContractNames_Call) RunAndReturn added in v0.46.0

type Environment_GetAccountKey_Call added in v0.46.0

type Environment_GetAccountKey_Call struct {
	*mock.Call
}

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

func (*Environment_GetAccountKey_Call) RunAndReturn added in v0.46.0

type Environment_GetAccountKeys_Call added in v0.46.0

type Environment_GetAccountKeys_Call struct {
	*mock.Call
}

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

func (*Environment_GetAccountKeys_Call) RunAndReturn added in v0.46.0

type Environment_GetAccount_Call added in v0.46.0

type Environment_GetAccount_Call struct {
	*mock.Call
}

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

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

type Environment_GetBlockAtHeight_Call struct {
	*mock.Call
}

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

func (*Environment_GetBlockAtHeight_Call) RunAndReturn added in v0.46.0

type Environment_GetCode_Call added in v0.46.0

type Environment_GetCode_Call struct {
	*mock.Call
}

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

type Environment_GetCurrentBlockHeight_Call struct {
	*mock.Call
}

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

func (*Environment_GetCurrentBlockHeight_Call) RunAndReturn added in v0.46.0

type Environment_GetOrLoadProgram_Call added in v0.46.0

type Environment_GetOrLoadProgram_Call struct {
	*mock.Call
}

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

func (*Environment_GetOrLoadProgram_Call) RunAndReturn added in v0.46.0

type Environment_GetSigningAccounts_Call added in v0.46.0

type Environment_GetSigningAccounts_Call struct {
	*mock.Call
}

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

func (*Environment_GetSigningAccounts_Call) RunAndReturn added in v0.46.0

type Environment_GetStorageCapacity_Call added in v0.46.0

type Environment_GetStorageCapacity_Call struct {
	*mock.Call
}

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

func (*Environment_GetStorageCapacity_Call) RunAndReturn added in v0.46.0

type Environment_GetStorageUsed_Call added in v0.46.0

type Environment_GetStorageUsed_Call struct {
	*mock.Call
}

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

func (*Environment_GetStorageUsed_Call) RunAndReturn added in v0.46.0

type Environment_GetValue_Call added in v0.46.0

type Environment_GetValue_Call struct {
	*mock.Call
}

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

type Environment_Hash_Call struct {
	*mock.Call
}

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

type Environment_ImplementationDebugLog_Call struct {
	*mock.Call
}

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

func (*Environment_ImplementationDebugLog_Call) RunAndReturn added in v0.46.0

type Environment_Invoke_Call added in v0.46.0

type Environment_Invoke_Call struct {
	*mock.Call
}

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

func (*Environment_Invoke_Call) RunAndReturn added in v0.46.0

type Environment_IsServiceAccountAuthorizer_Call added in v0.46.0

type Environment_IsServiceAccountAuthorizer_Call struct {
	*mock.Call
}

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

func (*Environment_IsServiceAccountAuthorizer_Call) RunAndReturn added in v0.46.0

type Environment_LimitAccountStorage_Call added in v0.46.0

type Environment_LimitAccountStorage_Call struct {
	*mock.Call
}

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

func (*Environment_LimitAccountStorage_Call) RunAndReturn added in v0.46.0

type Environment_Logger_Call added in v0.46.0

type Environment_Logger_Call struct {
	*mock.Call
}

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

type Environment_Logs_Call struct {
	*mock.Call
}

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

type Environment_MemoryUsed_Call struct {
	*mock.Call
}

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

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

type Environment_MeterComputation_Call struct {
	*mock.Call
}

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

func (*Environment_MeterComputation_Call) RunAndReturn added in v0.46.0

type Environment_MeterEmittedEvent_Call added in v0.46.0

type Environment_MeterEmittedEvent_Call struct {
	*mock.Call
}

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

func (*Environment_MeterEmittedEvent_Call) RunAndReturn added in v0.46.0

type Environment_MeterMemory_Call added in v0.46.0

type Environment_MeterMemory_Call struct {
	*mock.Call
}

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

func (*Environment_MeterMemory_Call) RunAndReturn added in v0.46.0

type Environment_MinimumRequiredVersion_Call added in v0.46.0

type Environment_MinimumRequiredVersion_Call struct {
	*mock.Call
}

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

func (*Environment_MinimumRequiredVersion_Call) RunAndReturn added in v0.46.0

type Environment_ProgramLog_Call added in v0.46.0

type Environment_ProgramLog_Call struct {
	*mock.Call
}

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

func (*Environment_ProgramLog_Call) RunAndReturn added in v0.46.0

type Environment_RandomSourceHistory_Call added in v0.46.0

type Environment_RandomSourceHistory_Call struct {
	*mock.Call
}

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

func (*Environment_RandomSourceHistory_Call) RunAndReturn added in v0.46.0

type Environment_ReadRandom_Call added in v0.46.0

type Environment_ReadRandom_Call struct {
	*mock.Call
}

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

type Environment_RecordTrace_Call struct {
	*mock.Call
}

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

type Environment_RecoverProgram_Call struct {
	*mock.Call
}

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

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

type Environment_RemoveAccountContractCode_Call struct {
	*mock.Call
}

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

func (*Environment_RemoveAccountContractCode_Call) RunAndReturn added in v0.46.0

type Environment_Reset_Call added in v0.46.0

type Environment_Reset_Call struct {
	*mock.Call
}

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

type Environment_ResolveLocation_Call struct {
	*mock.Call
}

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

func (*Environment_ResolveLocation_Call) RunAndReturn added in v0.46.0

type Environment_ResourceOwnerChanged_Call added in v0.46.0

type Environment_ResourceOwnerChanged_Call struct {
	*mock.Call
}

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

func (*Environment_ResourceOwnerChanged_Call) RunAndReturn added in v0.46.0

type Environment_ReturnCadenceRuntime_Call added in v0.46.0

type Environment_ReturnCadenceRuntime_Call struct {
	*mock.Call
}

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

func (*Environment_ReturnCadenceRuntime_Call) RunAndReturn added in v0.46.0

type Environment_RevokeAccountKey_Call added in v0.46.0

type Environment_RevokeAccountKey_Call struct {
	*mock.Call
}

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

func (*Environment_RevokeAccountKey_Call) RunAndReturn added in v0.46.0

type Environment_RunWithMeteringDisabled_Call added in v0.46.0

type Environment_RunWithMeteringDisabled_Call struct {
	*mock.Call
}

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

func (*Environment_RunWithMeteringDisabled_Call) RunAndReturn added in v0.46.0

type Environment_RuntimeSetNumberOfAccounts_Call added in v0.46.0

type Environment_RuntimeSetNumberOfAccounts_Call struct {
	*mock.Call
}

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

func (*Environment_RuntimeSetNumberOfAccounts_Call) RunAndReturn added in v0.46.0

type Environment_RuntimeTransactionChecked_Call added in v0.46.0

type Environment_RuntimeTransactionChecked_Call struct {
	*mock.Call
}

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

func (*Environment_RuntimeTransactionChecked_Call) RunAndReturn added in v0.46.0

type Environment_RuntimeTransactionInterpreted_Call added in v0.46.0

type Environment_RuntimeTransactionInterpreted_Call struct {
	*mock.Call
}

Environment_RuntimeTransactionInterpreted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionInterpreted'

func (*Environment_RuntimeTransactionInterpreted_Call) Return added in v0.46.0

func (*Environment_RuntimeTransactionInterpreted_Call) Run added in v0.46.0

func (*Environment_RuntimeTransactionInterpreted_Call) RunAndReturn added in v0.46.0

type Environment_RuntimeTransactionParsed_Call added in v0.46.0

type Environment_RuntimeTransactionParsed_Call struct {
	*mock.Call
}

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

func (*Environment_RuntimeTransactionParsed_Call) RunAndReturn added in v0.46.0

type Environment_RuntimeTransactionProgramsCacheHit_Call added in v0.46.0

type Environment_RuntimeTransactionProgramsCacheHit_Call struct {
	*mock.Call
}

Environment_RuntimeTransactionProgramsCacheHit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheHit'

func (*Environment_RuntimeTransactionProgramsCacheHit_Call) Return added in v0.46.0

func (*Environment_RuntimeTransactionProgramsCacheHit_Call) Run added in v0.46.0

func (*Environment_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn added in v0.46.0

type Environment_RuntimeTransactionProgramsCacheMiss_Call added in v0.46.0

type Environment_RuntimeTransactionProgramsCacheMiss_Call struct {
	*mock.Call
}

Environment_RuntimeTransactionProgramsCacheMiss_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheMiss'

func (*Environment_RuntimeTransactionProgramsCacheMiss_Call) Return added in v0.46.0

func (*Environment_RuntimeTransactionProgramsCacheMiss_Call) Run added in v0.46.0

func (*Environment_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn added in v0.46.0

type Environment_ServiceEvents_Call added in v0.46.0

type Environment_ServiceEvents_Call struct {
	*mock.Call
}

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

func (*Environment_ServiceEvents_Call) RunAndReturn added in v0.46.0

type Environment_SetNumberOfDeployedCOAs_Call added in v0.46.0

type Environment_SetNumberOfDeployedCOAs_Call struct {
	*mock.Call
}

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

func (*Environment_SetNumberOfDeployedCOAs_Call) RunAndReturn added in v0.46.0

type Environment_SetValue_Call added in v0.46.0

type Environment_SetValue_Call struct {
	*mock.Call
}

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

type Environment_StartChildSpan_Call struct {
	*mock.Call
}

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

func (*Environment_StartChildSpan_Call) RunAndReturn added in v0.46.0

type Environment_TotalEmittedEventBytes_Call added in v0.46.0

type Environment_TotalEmittedEventBytes_Call struct {
	*mock.Call
}

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

func (*Environment_TotalEmittedEventBytes_Call) RunAndReturn added in v0.46.0

type Environment_TransactionFeesEnabled_Call added in v0.46.0

type Environment_TransactionFeesEnabled_Call struct {
	*mock.Call
}

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

func (*Environment_TransactionFeesEnabled_Call) RunAndReturn added in v0.46.0

type Environment_TxID_Call added in v0.46.0

type Environment_TxID_Call struct {
	*mock.Call
}

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

type Environment_TxIndex_Call struct {
	*mock.Call
}

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

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

type Environment_UpdateAccountContractCode_Call struct {
	*mock.Call
}

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

func (*Environment_UpdateAccountContractCode_Call) RunAndReturn added in v0.46.0

type Environment_ValidateAccountCapabilitiesGet_Call added in v0.46.0

type Environment_ValidateAccountCapabilitiesGet_Call struct {
	*mock.Call
}

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

func (*Environment_ValidateAccountCapabilitiesGet_Call) RunAndReturn added in v0.46.0

type Environment_ValidateAccountCapabilitiesPublish_Call added in v0.46.0

type Environment_ValidateAccountCapabilitiesPublish_Call struct {
	*mock.Call
}

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

func (*Environment_ValidateAccountCapabilitiesPublish_Call) RunAndReturn added in v0.46.0

type Environment_ValidatePublicKey_Call added in v0.46.0

type Environment_ValidatePublicKey_Call struct {
	*mock.Call
}

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

func (*Environment_ValidatePublicKey_Call) RunAndReturn added in v0.46.0

type Environment_ValueExists_Call added in v0.46.0

type Environment_ValueExists_Call struct {
	*mock.Call
}

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

type Environment_VerifySignature_Call struct {
	*mock.Call
}

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

type EventEmitter struct {
	mock.Mock
}

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

type EventEmitter_ConvertedServiceEvents_Call struct {
	*mock.Call
}

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

func (*EventEmitter_ConvertedServiceEvents_Call) RunAndReturn added in v0.46.0

type EventEmitter_EmitEvent_Call added in v0.46.0

type EventEmitter_EmitEvent_Call struct {
	*mock.Call
}

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

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

type EventEmitter_Events_Call struct {
	*mock.Call
}

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

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

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

Events is a helper method to define mock.On call

func (*EventEmitter_Expecter) Reset added in v0.46.0

Reset is a helper method to define mock.On call

func (*EventEmitter_Expecter) ServiceEvents added in v0.46.0

ServiceEvents is a helper method to define mock.On call

type EventEmitter_Reset_Call added in v0.46.0

type EventEmitter_Reset_Call struct {
	*mock.Call
}

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

type EventEmitter_ServiceEvents_Call struct {
	*mock.Call
}

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

func (*EventEmitter_ServiceEvents_Call) RunAndReturn added in v0.46.0

type EventEncoder added in v0.29.0

type EventEncoder struct {
	mock.Mock
}

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

func (*EventEncoder) Encode added in v0.29.0

func (_mock *EventEncoder) Encode(event cadence.Event) ([]byte, error)

Encode provides a mock function for the type EventEncoder

type EventEncoder_Encode_Call added in v0.46.0

type EventEncoder_Encode_Call struct {
	*mock.Call
}

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

type ExecutionVersionProvider struct {
	mock.Mock
}

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

type ExecutionVersionProvider_ExecutionVersion_Call struct {
	*mock.Call
}

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

func (*ExecutionVersionProvider_ExecutionVersion_Call) RunAndReturn added in v0.46.0

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

ExecutionVersion is a helper method to define mock.On call

type LoggerProvider added in v0.37.6

type LoggerProvider struct {
	mock.Mock
}

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

Logger is a helper method to define mock.On call

type LoggerProvider_Logger_Call added in v0.46.0

type LoggerProvider_Logger_Call struct {
	*mock.Call
}

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

func (*LoggerProvider_Logger_Call) RunAndReturn added in v0.46.0

type Meter

type Meter struct {
	mock.Mock
}

Meter is an autogenerated mock type for the Meter type

func NewMeter

func NewMeter(t interface {
	mock.TestingT
	Cleanup(func())
}) *Meter

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

func (_mock *Meter) ComputationUsed() (uint64, error)

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

func (_mock *Meter) MemoryUsed() (uint64, error)

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

func (_mock *Meter) MeterEmittedEvent(byteSize uint64) error

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

func (_mock *Meter) TotalEmittedEventBytes() uint64

TotalEmittedEventBytes provides a mock function for the type Meter

type Meter_ComputationAvailable_Call added in v0.46.0

type Meter_ComputationAvailable_Call struct {
	*mock.Call
}

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

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

type Meter_ComputationIntensities_Call struct {
	*mock.Call
}

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

func (*Meter_ComputationIntensities_Call) RunAndReturn added in v0.46.0

type Meter_ComputationRemaining_Call added in v0.46.0

type Meter_ComputationRemaining_Call struct {
	*mock.Call
}

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

func (*Meter_ComputationRemaining_Call) RunAndReturn added in v0.46.0

type Meter_ComputationUsed_Call added in v0.46.0

type Meter_ComputationUsed_Call struct {
	*mock.Call
}

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

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

type Meter_MemoryUsed_Call struct {
	*mock.Call
}

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

type Meter_MeterComputation_Call struct {
	*mock.Call
}

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

func (*Meter_MeterComputation_Call) RunAndReturn added in v0.46.0

type Meter_MeterEmittedEvent_Call added in v0.46.0

type Meter_MeterEmittedEvent_Call struct {
	*mock.Call
}

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

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

type Meter_MeterMemory_Call struct {
	*mock.Call
}

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

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

type Meter_RunWithMeteringDisabled_Call struct {
	*mock.Call
}

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

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

type Meter_TotalEmittedEventBytes_Call struct {
	*mock.Call
}

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

func (*Meter_TotalEmittedEventBytes_Call) RunAndReturn added in v0.46.0

type MetricsReporter

type MetricsReporter struct {
	mock.Mock
}

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

type MetricsReporter_EVMBlockExecuted_Call struct {
	*mock.Call
}

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

type MetricsReporter_EVMTransactionExecuted_Call struct {
	*mock.Call
}

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

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

RuntimeTransactionProgramsCacheHit is a helper method to define mock.On call

func (*MetricsReporter_Expecter) RuntimeTransactionProgramsCacheMiss added in v0.46.0

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

type MetricsReporter_RuntimeSetNumberOfAccounts_Call struct {
	*mock.Call
}

MetricsReporter_RuntimeSetNumberOfAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeSetNumberOfAccounts'

func (*MetricsReporter_RuntimeSetNumberOfAccounts_Call) Return added in v0.46.0

func (*MetricsReporter_RuntimeSetNumberOfAccounts_Call) Run added in v0.46.0

func (*MetricsReporter_RuntimeSetNumberOfAccounts_Call) RunAndReturn added in v0.46.0

type MetricsReporter_RuntimeTransactionChecked_Call added in v0.46.0

type MetricsReporter_RuntimeTransactionChecked_Call struct {
	*mock.Call
}

MetricsReporter_RuntimeTransactionChecked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionChecked'

func (*MetricsReporter_RuntimeTransactionChecked_Call) Return added in v0.46.0

func (*MetricsReporter_RuntimeTransactionChecked_Call) Run added in v0.46.0

func (*MetricsReporter_RuntimeTransactionChecked_Call) RunAndReturn added in v0.46.0

type MetricsReporter_RuntimeTransactionInterpreted_Call added in v0.46.0

type MetricsReporter_RuntimeTransactionInterpreted_Call struct {
	*mock.Call
}

MetricsReporter_RuntimeTransactionInterpreted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionInterpreted'

func (*MetricsReporter_RuntimeTransactionInterpreted_Call) Return added in v0.46.0

func (*MetricsReporter_RuntimeTransactionInterpreted_Call) Run added in v0.46.0

func (*MetricsReporter_RuntimeTransactionInterpreted_Call) RunAndReturn added in v0.46.0

type MetricsReporter_RuntimeTransactionParsed_Call added in v0.46.0

type MetricsReporter_RuntimeTransactionParsed_Call struct {
	*mock.Call
}

MetricsReporter_RuntimeTransactionParsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionParsed'

func (*MetricsReporter_RuntimeTransactionParsed_Call) Return added in v0.46.0

func (*MetricsReporter_RuntimeTransactionParsed_Call) Run added in v0.46.0

func (*MetricsReporter_RuntimeTransactionParsed_Call) RunAndReturn added in v0.46.0

type MetricsReporter_RuntimeTransactionProgramsCacheHit_Call added in v0.46.0

type MetricsReporter_RuntimeTransactionProgramsCacheHit_Call struct {
	*mock.Call
}

MetricsReporter_RuntimeTransactionProgramsCacheHit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheHit'

func (*MetricsReporter_RuntimeTransactionProgramsCacheHit_Call) Return added in v0.46.0

func (*MetricsReporter_RuntimeTransactionProgramsCacheHit_Call) Run added in v0.46.0

func (*MetricsReporter_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn added in v0.46.0

type MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call added in v0.46.0

type MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call struct {
	*mock.Call
}

MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheMiss'

func (*MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) Return added in v0.46.0

func (*MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) Run added in v0.46.0

func (*MetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn added in v0.46.0

type MetricsReporter_SetNumberOfDeployedCOAs_Call added in v0.46.0

type MetricsReporter_SetNumberOfDeployedCOAs_Call struct {
	*mock.Call
}

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

func (*MetricsReporter_SetNumberOfDeployedCOAs_Call) RunAndReturn added in v0.46.0

type MinimumCadenceRequiredVersion added in v0.37.20

type MinimumCadenceRequiredVersion struct {
	mock.Mock
}

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

MinimumRequiredVersion is a helper method to define mock.On call

type MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call added in v0.46.0

type MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call struct {
	*mock.Call
}

MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MinimumRequiredVersion'

func (*MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call) Return added in v0.46.0

func (*MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call) Run added in v0.46.0

func (*MinimumCadenceRequiredVersion_MinimumRequiredVersion_Call) RunAndReturn added in v0.46.0

type RandomGenerator added in v0.32.0

type RandomGenerator struct {
	mock.Mock
}

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

type RandomGenerator_ReadRandom_Call struct {
	*mock.Call
}

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

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

type RandomSourceHistoryProvider struct {
	mock.Mock
}

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

RandomSourceHistory is a helper method to define mock.On call

type RandomSourceHistoryProvider_RandomSourceHistory_Call added in v0.46.0

type RandomSourceHistoryProvider_RandomSourceHistory_Call struct {
	*mock.Call
}

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

func (*RandomSourceHistoryProvider_RandomSourceHistory_Call) RunAndReturn added in v0.46.0

type ReusableCadenceRuntime added in v0.45.0

type ReusableCadenceRuntime struct {
	mock.Mock
}

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

type ReusableCadenceRuntimeInterface struct {
	mock.Mock
}

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

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

type ReusableCadenceRuntimePool struct {
	mock.Mock
}

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

Borrow provides a mock function for the type ReusableCadenceRuntimePool

func (*ReusableCadenceRuntimePool) EXPECT added in v0.46.0

func (*ReusableCadenceRuntimePool) Return added in v0.45.0

Return provides a mock function for the type ReusableCadenceRuntimePool

type ReusableCadenceRuntimePool_Borrow_Call added in v0.46.0

type ReusableCadenceRuntimePool_Borrow_Call struct {
	*mock.Call
}

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

func (*ReusableCadenceRuntimePool_Borrow_Call) RunAndReturn added in v0.46.0

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

Return is a helper method to define mock.On call

  • reusable environment.ReusableCadenceRuntime

type ReusableCadenceRuntimePool_Return_Call added in v0.46.0

type ReusableCadenceRuntimePool_Return_Call struct {
	*mock.Call
}

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

func (*ReusableCadenceRuntimePool_Return_Call) RunAndReturn added in v0.46.0

type ReusableCadenceRuntime_CadenceScriptEnv_Call added in v0.46.0

type ReusableCadenceRuntime_CadenceScriptEnv_Call struct {
	*mock.Call
}

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

func (*ReusableCadenceRuntime_CadenceScriptEnv_Call) RunAndReturn added in v0.46.0

type ReusableCadenceRuntime_CadenceTXEnv_Call added in v0.46.0

type ReusableCadenceRuntime_CadenceTXEnv_Call struct {
	*mock.Call
}

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

func (*ReusableCadenceRuntime_CadenceTXEnv_Call) RunAndReturn added in v0.46.0

type ReusableCadenceRuntime_ExecuteScript_Call added in v0.46.0

type ReusableCadenceRuntime_ExecuteScript_Call struct {
	*mock.Call
}

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

func (*ReusableCadenceRuntime_ExecuteScript_Call) RunAndReturn added in v0.46.0

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

CadenceScriptEnv is a helper method to define mock.On call

func (*ReusableCadenceRuntime_Expecter) CadenceTXEnv added in v0.46.0

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

type ReusableCadenceRuntime_InvokeContractFunction_Call struct {
	*mock.Call
}

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

type ReusableCadenceRuntime_NewTransactionExecutor_Call struct {
	*mock.Call
}

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

func (*ReusableCadenceRuntime_NewTransactionExecutor_Call) RunAndReturn added in v0.46.0

type ReusableCadenceRuntime_ReadStored_Call added in v0.46.0

type ReusableCadenceRuntime_ReadStored_Call struct {
	*mock.Call
}

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

func (*ReusableCadenceRuntime_ReadStored_Call) RunAndReturn added in v0.46.0

type ReusableCadenceRuntime_SetFvmEnvironment_Call added in v0.46.0

type ReusableCadenceRuntime_SetFvmEnvironment_Call struct {
	*mock.Call
}

ReusableCadenceRuntime_SetFvmEnvironment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFvmEnvironment'

func (*ReusableCadenceRuntime_SetFvmEnvironment_Call) Return added in v0.46.0

func (*ReusableCadenceRuntime_SetFvmEnvironment_Call) Run added in v0.46.0

func (*ReusableCadenceRuntime_SetFvmEnvironment_Call) RunAndReturn added in v0.46.0

type RuntimeMetricsReporter added in v0.36.3

type RuntimeMetricsReporter struct {
	mock.Mock
}

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

RuntimeTransactionProgramsCacheHit is a helper method to define mock.On call

func (*RuntimeMetricsReporter_Expecter) RuntimeTransactionProgramsCacheMiss added in v0.46.0

RuntimeTransactionProgramsCacheMiss is a helper method to define mock.On call

type RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call added in v0.46.0

type RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call struct {
	*mock.Call
}

RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeSetNumberOfAccounts'

func (*RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call) Return added in v0.46.0

func (*RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call) Run added in v0.46.0

func (*RuntimeMetricsReporter_RuntimeSetNumberOfAccounts_Call) RunAndReturn added in v0.46.0

type RuntimeMetricsReporter_RuntimeTransactionChecked_Call added in v0.46.0

type RuntimeMetricsReporter_RuntimeTransactionChecked_Call struct {
	*mock.Call
}

RuntimeMetricsReporter_RuntimeTransactionChecked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionChecked'

func (*RuntimeMetricsReporter_RuntimeTransactionChecked_Call) Return added in v0.46.0

func (*RuntimeMetricsReporter_RuntimeTransactionChecked_Call) Run added in v0.46.0

func (*RuntimeMetricsReporter_RuntimeTransactionChecked_Call) RunAndReturn added in v0.46.0

type RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call added in v0.46.0

type RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call struct {
	*mock.Call
}

RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionInterpreted'

func (*RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call) Return added in v0.46.0

func (*RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call) Run added in v0.46.0

func (*RuntimeMetricsReporter_RuntimeTransactionInterpreted_Call) RunAndReturn added in v0.46.0

type RuntimeMetricsReporter_RuntimeTransactionParsed_Call added in v0.46.0

type RuntimeMetricsReporter_RuntimeTransactionParsed_Call struct {
	*mock.Call
}

RuntimeMetricsReporter_RuntimeTransactionParsed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionParsed'

func (*RuntimeMetricsReporter_RuntimeTransactionParsed_Call) Return added in v0.46.0

func (*RuntimeMetricsReporter_RuntimeTransactionParsed_Call) Run added in v0.46.0

func (*RuntimeMetricsReporter_RuntimeTransactionParsed_Call) RunAndReturn added in v0.46.0

type RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call added in v0.46.0

type RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call struct {
	*mock.Call
}

RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheHit'

func (*RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call) Return added in v0.46.0

func (*RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call) Run added in v0.46.0

func (*RuntimeMetricsReporter_RuntimeTransactionProgramsCacheHit_Call) RunAndReturn added in v0.46.0

type RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call added in v0.46.0

type RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call struct {
	*mock.Call
}

RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeTransactionProgramsCacheMiss'

func (*RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) Return added in v0.46.0

func (*RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) Run added in v0.46.0

func (*RuntimeMetricsReporter_RuntimeTransactionProgramsCacheMiss_Call) RunAndReturn added in v0.46.0

type Tracer added in v0.36.1

type Tracer struct {
	mock.Mock
}

Tracer is an autogenerated mock type for the Tracer type

func NewTracer added in v0.36.1

func NewTracer(t interface {
	mock.TestingT
	Cleanup(func())
}) *Tracer

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

type Tracer_StartChildSpan_Call struct {
	*mock.Call
}

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

func (*Tracer_StartChildSpan_Call) RunAndReturn added in v0.46.0

type TransactionInfo

type TransactionInfo struct {
	mock.Mock
}

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

GetSigningAccounts is a helper method to define mock.On call

func (*TransactionInfo_Expecter) IsServiceAccountAuthorizer added in v0.46.0

IsServiceAccountAuthorizer is a helper method to define mock.On call

func (*TransactionInfo_Expecter) LimitAccountStorage added in v0.46.0

LimitAccountStorage is a helper method to define mock.On call

func (*TransactionInfo_Expecter) TransactionFeesEnabled added in v0.46.0

TransactionFeesEnabled is a helper method to define mock.On call

func (*TransactionInfo_Expecter) TxID added in v0.46.0

TxID is a helper method to define mock.On call

func (*TransactionInfo_Expecter) TxIndex added in v0.46.0

TxIndex is a helper method to define mock.On call

type TransactionInfo_GetSigningAccounts_Call added in v0.46.0

type TransactionInfo_GetSigningAccounts_Call struct {
	*mock.Call
}

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

func (*TransactionInfo_GetSigningAccounts_Call) RunAndReturn added in v0.46.0

type TransactionInfo_IsServiceAccountAuthorizer_Call added in v0.46.0

type TransactionInfo_IsServiceAccountAuthorizer_Call struct {
	*mock.Call
}

TransactionInfo_IsServiceAccountAuthorizer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsServiceAccountAuthorizer'

func (*TransactionInfo_IsServiceAccountAuthorizer_Call) Return added in v0.46.0

func (*TransactionInfo_IsServiceAccountAuthorizer_Call) Run added in v0.46.0

func (*TransactionInfo_IsServiceAccountAuthorizer_Call) RunAndReturn added in v0.46.0

type TransactionInfo_LimitAccountStorage_Call added in v0.46.0

type TransactionInfo_LimitAccountStorage_Call struct {
	*mock.Call
}

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

func (*TransactionInfo_LimitAccountStorage_Call) RunAndReturn added in v0.46.0

type TransactionInfo_TransactionFeesEnabled_Call added in v0.46.0

type TransactionInfo_TransactionFeesEnabled_Call struct {
	*mock.Call
}

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

func (*TransactionInfo_TransactionFeesEnabled_Call) RunAndReturn added in v0.46.0

type TransactionInfo_TxID_Call added in v0.46.0

type TransactionInfo_TxID_Call struct {
	*mock.Call
}

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

func (*TransactionInfo_TxID_Call) RunAndReturn added in v0.46.0

type TransactionInfo_TxIndex_Call added in v0.46.0

type TransactionInfo_TxIndex_Call struct {
	*mock.Call
}

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

func (*TransactionInfo_TxIndex_Call) RunAndReturn added in v0.46.0

type UUIDGenerator added in v0.28.7

type UUIDGenerator struct {
	mock.Mock
}

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

GenerateUUID is a helper method to define mock.On call

type UUIDGenerator_GenerateUUID_Call added in v0.46.0

type UUIDGenerator_GenerateUUID_Call struct {
	*mock.Call
}

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

func (*UUIDGenerator_GenerateUUID_Call) RunAndReturn added in v0.46.0

type ValueStore added in v0.28.7

type ValueStore struct {
	mock.Mock
}

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

type ValueStore_AllocateSlabIndex_Call struct {
	*mock.Call
}

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

func (*ValueStore_AllocateSlabIndex_Call) RunAndReturn added in v0.46.0

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

type ValueStore_GetValue_Call struct {
	*mock.Call
}

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

type ValueStore_SetValue_Call struct {
	*mock.Call
}

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

type ValueStore_ValueExists_Call struct {
	*mock.Call
}

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

Jump to

Keyboard shortcuts

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