Documentation ¶
Index ¶
- type ScriptExecutor
- func (_m *ScriptExecutor) ExecuteScriptAtBlockID(ctx context.Context, script []byte, arguments [][]byte, ...) ([]byte, error)
- func (_m *ScriptExecutor) GetAccount(ctx context.Context, address flow.Address, blockID flow.Identifier) (*flow.Account, error)
- func (_m *ScriptExecutor) GetRegisterAtBlockID(ctx context.Context, owner []byte, key []byte, blockID flow.Identifier) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScriptExecutor ¶
ScriptExecutor is an autogenerated mock type for the ScriptExecutor type
func NewScriptExecutor ¶
func NewScriptExecutor(t mockConstructorTestingTNewScriptExecutor) *ScriptExecutor
NewScriptExecutor creates a new instance of ScriptExecutor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ScriptExecutor) ExecuteScriptAtBlockID ¶
func (_m *ScriptExecutor) ExecuteScriptAtBlockID(ctx context.Context, script []byte, arguments [][]byte, blockID flow.Identifier) ([]byte, error)
ExecuteScriptAtBlockID provides a mock function with given fields: ctx, script, arguments, blockID
func (*ScriptExecutor) GetAccount ¶
func (_m *ScriptExecutor) GetAccount(ctx context.Context, address flow.Address, blockID flow.Identifier) (*flow.Account, error)
GetAccount provides a mock function with given fields: ctx, address, blockID
func (*ScriptExecutor) GetRegisterAtBlockID ¶
func (_m *ScriptExecutor) GetRegisterAtBlockID(ctx context.Context, owner []byte, key []byte, blockID flow.Identifier) ([]byte, error)
GetRegisterAtBlockID provides a mock function with given fields: ctx, owner, key, blockID
Click to show internal directories.
Click to hide internal directories.