Documentation
¶
Index ¶
- type Accounts
- func (_m *Accounts) AllocateStorageIndex(address flow.Address) (uint64, error)
- func (_m *Accounts) AppendPublicKey(address flow.Address, key flow.AccountPublicKey) error
- func (_m *Accounts) CheckAccountNotFrozen(address flow.Address) error
- func (_m *Accounts) Create(publicKeys []flow.AccountPublicKey, newAddress flow.Address) error
- func (_m *Accounts) DeleteContract(contractName string, address flow.Address) error
- func (_m *Accounts) Exists(address flow.Address) (bool, error)
- func (_m *Accounts) GetContract(contractName string, address flow.Address) ([]byte, error)
- func (_m *Accounts) GetContractNames(address flow.Address) ([]string, error)
- func (_m *Accounts) GetPublicKey(address flow.Address, keyIndex uint64) (flow.AccountPublicKey, error)
- func (_m *Accounts) GetPublicKeyCount(address flow.Address) (uint64, error)
- func (_m *Accounts) GetStorageUsed(address flow.Address) (uint64, error)
- func (_m *Accounts) GetValue(address flow.Address, key string) ([]byte, error)
- func (_m *Accounts) SetAccountFrozen(address flow.Address, frozen bool) error
- func (_m *Accounts) SetContract(contractName string, address flow.Address, contract []byte) error
- func (_m *Accounts) SetPublicKey(address flow.Address, keyIndex uint64, publicKey flow.AccountPublicKey) ([]byte, error)
- func (_m *Accounts) SetValue(address flow.Address, key string, value []byte) error
- type Ledger
- func (_m *Ledger) Delete(owner string, controller string, key string) error
- func (_m *Ledger) Get(owner string, controller string, key string) ([]byte, error)
- func (_m *Ledger) Set(owner string, controller string, key string, value []byte) error
- func (_m *Ledger) Touch(owner string, controller string, key string) error
- type View
- func (_m *View) AllRegisters() []flow.RegisterID
- func (_m *View) Delete(owner string, controller string, key string) error
- func (_m *View) DropDelta()
- func (_m *View) Get(owner string, controller string, key string) ([]byte, error)
- func (_m *View) MergeView(child state.View) error
- func (_m *View) NewChild() state.View
- func (_m *View) RegisterUpdates() ([]flow.RegisterID, [][]byte)
- func (_m *View) Set(owner string, controller string, key string, value []byte) error
- func (_m *View) Touch(owner string, controller string, key string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accounts ¶ added in v0.22.4
Accounts is an autogenerated mock type for the Accounts type
func (*Accounts) AllocateStorageIndex ¶ added in v0.22.4
AllocateStorageIndex provides a mock function with given fields: address
func (*Accounts) AppendPublicKey ¶ added in v0.22.4
AppendPublicKey provides a mock function with given fields: address, key
func (*Accounts) CheckAccountNotFrozen ¶ added in v0.22.4
CheckAccountNotFrozen provides a mock function with given fields: address
func (*Accounts) Create ¶ added in v0.22.4
Create provides a mock function with given fields: publicKeys, newAddress
func (*Accounts) DeleteContract ¶ added in v0.22.4
DeleteContract provides a mock function with given fields: contractName, address
func (*Accounts) Exists ¶ added in v0.22.4
Exists provides a mock function with given fields: address
func (*Accounts) GetContract ¶ added in v0.22.4
GetContract provides a mock function with given fields: contractName, address
func (*Accounts) GetContractNames ¶ added in v0.22.4
GetContractNames provides a mock function with given fields: address
func (*Accounts) GetPublicKey ¶ added in v0.22.4
func (_m *Accounts) GetPublicKey(address flow.Address, keyIndex uint64) (flow.AccountPublicKey, error)
GetPublicKey provides a mock function with given fields: address, keyIndex
func (*Accounts) GetPublicKeyCount ¶ added in v0.22.4
GetPublicKeyCount provides a mock function with given fields: address
func (*Accounts) GetStorageUsed ¶ added in v0.22.4
GetStorageUsed provides a mock function with given fields: address
func (*Accounts) GetValue ¶ added in v0.22.4
GetValue provides a mock function with given fields: address, key
func (*Accounts) SetAccountFrozen ¶ added in v0.22.4
SetAccountFrozen provides a mock function with given fields: address, frozen
func (*Accounts) SetContract ¶ added in v0.22.4
SetContract provides a mock function with given fields: contractName, address, contract
func (*Accounts) SetPublicKey ¶ added in v0.22.4
func (_m *Accounts) SetPublicKey(address flow.Address, keyIndex uint64, publicKey flow.AccountPublicKey) ([]byte, error)
SetPublicKey provides a mock function with given fields: address, keyIndex, publicKey
type Ledger ¶
Ledger is an autogenerated mock type for the Ledger type
type View ¶
View is an autogenerated mock type for the View type
func (*View) AllRegisters ¶
func (_m *View) AllRegisters() []flow.RegisterID
AllRegisters provides a mock function with given fields:
func (*View) DropDelta ¶
func (_m *View) DropDelta()
DropDelta provides a mock function with given fields:
func (*View) RegisterUpdates ¶
func (_m *View) RegisterUpdates() ([]flow.RegisterID, [][]byte)
RegisterUpdates provides a mock function with given fields: