Module simulation

Module simulation 

Source

Structs§

ExtendTtlOpSimulationResult
Result of simulating ExtendFootprintTtlOp operation.
InvokeHostFunctionSimulationResult
Result of simulating InvokeHostFunctionOp operation.
LedgerEntryDiff
Represents the state of a LedgerEntry before and after the transaction execution. None represents that entry was not present or removed.
RestoreOpSimulationResult
Result of simulating RestoreFootprintOp operation.
SimulationAdjustmentConfig
Configuration for adjusting the resources and fees for a simulated transaction.
SimulationAdjustmentFactor
Configures the adjustment of a simulated value (e.g. resource or fee). The value is adjusted to be max(value * multiplicative_factor, value + additive_factor)

Functions§

simulate_extend_ttl_op
Simulates ExtendFootprintTtlOp operation specified via its relevant payload parts.
simulate_invoke_host_function_op
Simulates InvokeHostFunctionOp operation specified via its relevant payload parts.
simulate_restore_op
Simulates RestoreFootprintTtlOp operation specified via its relevant payload parts.