Crate snarkvm_synthesizer_process

Crate snarkvm_synthesizer_process 

Source

Structs§

Authorization
CallMetrics
FinalizeRegisters
FinalizeTypes
InclusionAssignment
InclusionV0Assignment
Process
RegisterTypes
Registers
Stack
Trace

Enums§

CallStack
The CallStack is used to track the current state of the program execution.
ConsensusFeeVersion
InclusionAssignmentWrapper
InclusionVersion

Traits§

CallTrait

Functions§

constructor_cost_in_microcredits_v1
Returns the minimum number of microcredits required to run the constructor in the given stack. If a constructor does not exist, no cost is incurred.
constructor_cost_in_microcredits_v2
Returns the minimum number of microcredits required to run the constructor in the given stack. If a constructor does not exist, no cost is incurred.
cost_in_microcredits_v1
Returns the minimum number of microcredits required to run the finalize (deprecated).
cost_in_microcredits_v2
Returns the minimum number of microcredits required to run the finalize.
cost_in_microcredits_v3
Returns the minimum number of microcredits required to run the finalize using the ARC-0005 cost reduction factor.
cost_per_command
Returns the the cost of a command in a finalize scope.
deployment_cost
Returns the deployment cost in microcredits for a given deployment.
deployment_cost_v1
Returns the minimum cost in microcredits to publish the given deployment (total cost, (storage cost, synthesis cost, constructor cost, namespace cost)).
deployment_cost_v2
Returns the minimum cost in microcredits to publish the given deployment using the reduced synthesis cost (total cost, (storage cost, synthesis cost, constructor cost, namespace cost)).
execution_cost
Returns the execution cost in microcredits for a given execution.
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)).
execution_cost_v3
Returns the minimum cost in microcredits to publish the given execution using the reduced finalize cost(total cost, (storage cost, finalize cost)). The latest execution cost version is imported into /stack/mod.rs.

Type Aliases§

Assignments