Module snarkvm_types

Source
Expand description

Re-export of crucial types from the snarkVM crate

Structs§

Address
AleoV0
Block
BlockMemory
An in-memory block storage.
BlockStore
The block store.
Ciphertext
ConsensusMemory
An in-memory consensus storage.
ConsensusStore
The consensus store.
Deployment
Execution
Field
Identifier
An identifier is an immutable UTF-8 string, represented as a constant field element in the CurrentNetwork.
Locator
A locator is of the form {program_id}/{resource} (i.e. howard.aleo/notify).
Manifest
Package
PrivateKey
Process
ProgramID
A program ID is of the form {name}.{network}.
ProgramOwner
Proof
ProvingKey
Record
A value stored in program record.
Response
Signature
Testnet3
Trace
VM
VerifyingKey
ViewKey
The account view key used to decrypt records and ciphertext.

Enums§

Entry
An entry stored in program data.
EntryType
Literal
The literal enum represents all supported types in snarkVM.
OutputID
Plaintext
PlaintextType
A PlaintextType defines the type parameter for a literal, struct, or array.
Query
Transaction
Value
ValueType

Traits§

Aleo
Network
ToBytes
Uniform
A trait for a uniform random number generator.

Functions§

cost_in_microcredits
Returns the minimum number of microcredits required to run the finalize.
deployment_cost
Returns the minimum cost in microcredits to publish the given deployment (total cost, (storage cost, namespace cost)).
execution_cost
Returns the minimum cost in microcredits to publish the given execution (total cost, (storage cost, namespace cost)).

Type Aliases§

Program