Structs§
- Invoke
Host Function Recording Mode Result - Result of invoking a single host function prepared for embedder consumption.
- Invoke
Host Function Result - Result of invoking a single host function prepared for embedder consumption.
- Ledger
Entry Change - Represents a change of the ledger entry from ‘old’ value to the ‘new’ one. Only contains the final value of the entry (if any) and some minimal information about the old entry for convenience.
- Ledger
Entry Live Until Change - Represents the live until-related state of the entry.
Functions§
- encode_
contract_ events - Encodes host events as
ContractEvent
XDR. - extract_
rent_ changes - Extracts the rent-related changes from the provided ledger changes.
- get_
ledger_ changes - Returns the difference between the
storage
and its initial snapshot asLedgerEntryChanges
. Returns an entry for every item instorage
footprint. - invoke_
host_ function - Invokes a host function within a fresh host instance.
- invoke_
host_ function_ in_ recording_ mode - Invokes a host function within a fresh host instance in ‘recording’ mode.
- invoke_
host_ function_ with_ trace_ hook - Same as
invoke_host_function
but allows to pass a trace hook which will be installed in the host for the duration of the invocation.
Type Aliases§
- Recording
Invocation Auth Mode - Defines the authorization mode for the
invoke_host_function_in_recording_mode
. - TtlEntry
Map