Module prelude

Source

Re-exports§

pub use crate::vm::*;

Structs§

Authorization
CallMetrics
Certificate
FinalizeRegisters
FinalizeTypes
InclusionAssignment
Mapping
Process
Proof
ProvingKey
RegisterTypes
Registers
Stack
Trace
UniversalSRS
VerifyingKey

Enums§

CallStack
ConsensusFeeVersion
Instruction

Traits§

CallTrait
RegistersCall
StackEvaluate
StackExecute
StackProgramTypes

Functions§

cost_in_microcredits_v1
Returns the minimum number of microcredits required to run the finalize (depcrated).
cost_in_microcredits_v2
Returns the minimum number of microcredits required to run the finalize.
cost_per_command
Returns the the cost of a command in a finalize scope.
deployment_cost
Returns the minimum cost in microcredits to publish the given deployment (total cost, (storage cost, synthesis cost, namespace cost)).
execution_cost_v1
Returns the minimum cost in microcredits to publish the given execution (total cost, (storage cost, finalize cost)).
execution_cost_v2
Returns the minimum cost in microcredits to publish the given execution (total cost, (storage cost, finalize cost)).

Type Aliases§

Assignments
Closure
Finalize
Function
Program