Module e2e_invoke

Source

Structs§

InvokeHostFunctionRecordingModeResult
Result of invoking a single host function prepared for embedder consumption.
InvokeHostFunctionResult
Result of invoking a single host function prepared for embedder consumption.
LedgerEntryChange
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.
LedgerEntryLiveUntilChange
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 as LedgerEntryChanges. Returns an entry for every item in storage 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§

RecordingInvocationAuthMode
Defines the authorization mode for the invoke_host_function_in_recording_mode.
TtlEntryMap