Documentation
¶
Index ¶
Constants ¶
View Source
const ( StateTrieHeight = 251 StorageTrieHeight = 251 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContractState ¶
func (*ContractState) Hash ¶
func (c *ContractState) Hash() *felt.Felt
type State ¶
type State interface {
Root() *felt.Felt
GetContractState(address *felt.Felt) (*ContractState, error)
GetContract(address *felt.Felt) (*types.Contract, error)
SetContract(address *felt.Felt, hash *felt.Felt, code *types.Contract) error
GetSlot(address *felt.Felt, slot *felt.Felt) (*felt.Felt, error)
SetSlots(address *felt.Felt, slots []Slot) error
GetClassHash(address *felt.Felt) (*felt.Felt, error)
}
type StateManager ¶
Click to show internal directories.
Click to hide internal directories.