# Functions
AccountStatusFromBytes constructs an AccountStatus from the given byte slice.
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
No description provided by the author
IsServiceEvent determines whether an emitted Cadence event is considered a service event for the given chain.
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
NewAccountPublicKey construct an account public key given a runtime public key.
No description provided by the author
NewAccountStatus returns a new AccountStatus sets the storage index to the init value.
No description provided by the author
NewBlockFinder constructs a new block finder.
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
NewEventEmitter constructs a new eventEmitter.
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
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
NewPrograms constructs a new ProgramHandler.
No description provided by the author
NewRandomSourceHistoryProvider creates a new RandomSourceHistoryProvider.
No description provided by the author
No description provided by the author
This is mainly used by command line tools, the emulator, and cadence tools testing.
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
No description provided by the author
StorageMBUFixToBytesUInt converts the return type of storage capacity which is a UFix64 with the unit of megabytes to UInt with the unit of bytes.
# Constants
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
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
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
[2_000, 3_000) reserved for the FVM.
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
256KB.
No description provided by the author
The max value for any is uuid partition is MaxUint56, since one byte in the uuid is used for partitioning.
RandomSourceHistoryLength is the byte-size of the random source in the history array.
Start warning when there's only a single high bit left.
# Variables
MainnetExecutionEffortWeights are the execution effort weights as they are on mainnet from crescendo spork.
# Structs
No description provided by the author
BlocksFinder finds blocks and return block headers.
No description provided by the author
ContractFunctionSpec specify all the information, except the function's address and arguments, needed to invoke the contract function.
ContractReader provide read access to contracts.
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
No description provided by the author
No description provided by the author
NoEventEmitter is usually used in the environment for script execution, where emitting an event does nothing.
NoopBlockFinder implements the Blocks interface.
NoopMetricsReporter is a MetricReporter that does nothing.
Scripts have no associated transaction information.
This ensures cadence can't access unexpected operations while parsing programs.
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
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
Programs manages operations around cadence program parsing.
Runtime expose the cadence runtime to the rest of the envionment package.
No description provided by the author
No description provided by the author
No description provided by the author
SystemContracts provides methods for invoking system contract functions as service account.
No description provided by the author
# Interfaces
No description provided by the author
AccountInfo exposes various account balance and storage statistics.
AccountKeyReader provide read access to account keys.
AccountKeyUpdater handles all account keys modification.
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
ContractFunctionInvoker invokes a contract function.
ContractUpdater handles all smart contracts modification.
Expose stub interface for testing.
No description provided by the author
EntropyProvider represents an entropy (source of randomness) provider.
Environment implements the accounts business logic and exposes cadence runtime interface methods for the runtime.
EventEmitter collect events, separates out service events, and enforces event size limits.
No description provided by the author
MetricsReporter captures and reports EVM metrics to back to the execution.
Logger provides access to the logger to collect logs.
No description provided by the author
MetricsReporter captures and reports metrics to back to the execution environment it is a setup passed to the context.
No description provided by the author
No description provided by the author
RuntimeMetricsReporter captures and reports runtime metrics to back to the execution environment it is a setup passed to the context.
Tracer captures traces.
TransactionInfo exposes information associated with the executing transaction.
No description provided by the author
ValueStore provides read/write access to the account storage.
# Type aliases
AccountStatus holds meta information about an account
currently modelled as a byte array with on-demand encoding/decoding of sub arrays the first byte captures flags the next 8 bytes (big-endian) captures storage used by an account the next 8 bytes (big-endian) captures the storage index of an account the next 4 bytes (big-endian) captures the number of public keys stored on this account the next 8 bytes (big-endian) captures the current address id counter.