# Functions
BlockHash assumes block.SequencerAddress is not nil as this is called with post v0.12.0 and by then issues with unverifiable block hash were resolved.
ContractAddress computes the address of a Starknet contract.
ContractClassHash returns hash of the class that the contract at the given address instantiates.
ContractNonce returns the amount transactions sent from this contract.
ContractRoot returns the root of the contract storage.
No description provided by the author
DeployContract sets up the database for a new contract.
No description provided by the author
No description provided by the author
No description provided by the author
NewContractUpdater creates an updater for the contract instance at the given address.
No description provided by the author
No description provided by the author
ParseBlockVersion computes the block version, defaulting to "0.0.0" for empty strings.
No description provided by the author
No description provided by the author
No description provided by the author
VerifyBlockHash verifies the block hash.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
contract storage has fixed height at 251.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WEI is the default value since ETH is the first native currency.
WEI is the default value since ETH is the first native currency.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
Cairo0Class unambiguously defines a [Contract]'s semantics.
Cairo1Class unambiguously defines a [Contract]'s semantics.
No description provided by the author
No description provided by the author
ContractUpdater is a helper to update an existing contract instance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EntryPoint uniquely identifies a Cairo function to execute.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
From the RPC spec: The max amount and max price per unit of gas used in this transaction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Class unambiguously defines a [Contract]'s semantics.
go:generate mockgen -destination=../mocks/mock_state.go -package=mocks github.com/NethermindEth/juno/core StateHistoryReader.
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Keep in mind that this is used as a storage type, make sure you migrate the DB if you change the underlying type.