Module prelude

Source
Expand description

Scrypto preludes.

Re-exports§

pub extern crate radix_common;
pub extern crate sbor;
pub use crate::engine::scrypto_env::ScryptoVmV1Api;
pub use crate::component::*;
pub use crate::crypto_utils::*;
pub use crate::engine::*;
pub use crate::modules::*;
pub use crate::resource::*;
pub use crate::runtime::*;

Modules§

actor_api
actor_index_api
actor_key_value_entry_api
actor_sorted_index_api
additional_attributes
Documentation for Additional Attributes
basic
SBOR basic, no custom types
blueprint_api
bnum_integer
Definitions of safe integers and uints.
borrow
A module for working with borrowed data.
btree_map
btree_set
categorize
SBOR Categorize trait
codec
SBOR codec for core Rust types.
constants
SBOR constants
costing_api
decimal
decode
SBOR decode trait.
decoder
SBOR decoding.
encode
SBOR encode trait.
encoded_wrappers
SBOR payload wrappers. These are new types around an encoded payload or sub-payload, with helper methods / traits implemented. They can be used as a more efficient wrapper a ScryptoValue if the content of that value is not needed.
encoder
SBOR encoding.
execution_trace_api
field_api
fmt
Utilities for formatting and printing Strings.
hash_map
hash_set
index_map
The methods and macros provided directly in this index_map module (new, with_capacity) work in both std and no-std modes - unlike the corresponding methods on IndexMap itself.
index_set
The methods and macros provided directly in this index_set module (new, with_capacity) work in both std and no-std modes - unlike the corresponding methods on IndexSet itself.
indexmap
IndexMap is a hash table where the iteration order of the key-value pairs is independent of the hash values of the keys.
instant
key_value_entry_api
key_value_store_api
mem
Basic functions for dealing with memory.
non_iter_map
object_api
paste
githubcrates-iodocs-rs
path
SBOR paths.
payload_validation
SBOR payload validation.
precise_decimal
prelude
Each module should have its own prelude, which:
representations
SBOR textual representations
rounding_mode
rust
A facade of Rust types.
schema
SBOR Schema
test_addresses
traits
transaction_runtime_api
traversal
SBOR structured payload traversal.
utc_date_time
value
SBOR value model and any decoding/encoding.
value_kind
SBOR value kinds - ie the types of value that are supported.
vec
A contiguous growable array type with heap-allocated contents, written Vec<T>.
vec_traits
Simpler traits specific to encodability/decodability against vec-based encoders/decoders
versioned
Data model versioning helper macro
well_known_scrypto_custom_types

Macros§

access_and_or
assert_matches
Attempts to be a replacement for assert!(matches!(...)) but with better error messages, and allowing further code on success.
btreemap
btreeset
burn_roles
component_royalties
component_royalty_config
composite_requirement
create_well_known_lookup
debug
dec
Creates a Decimal from literals. It is a compile-time macro. It allows to declare constants and statics. Example: const D1: Decimal = dec!(“1111.11111”) const D2: Decimal = dec!(“-1111.11111”) const D3: Decimal = dec!(1) const D4: Decimal = dec!(-1_0000_000_u128)
define_single_versioned
This macro is intended for creating a data model which supports versioning. This is useful for creating an SBOR data model which can be updated in future.
define_versioned
This macro is intended for creating a data model which supports versioning. This is useful for creating an SBOR data model which can be updated in future. In future, enum variants can be added, and automatically mapped to.
define_wrapped_hash
deposit_roles
eager_replace
NOTE: This should probably be moved out of sbor to its own crate.
enable_function_auth
enable_method_auth
enable_package_royalties
error
extern_blueprint_internal
format
Creates a String using interpolation of runtime expressions.
freeze_roles
hashmap
hashset
i
Creates a safe integer from literals. You must specify the type of the integer you want to create.
indexmap
indexset
info
internal_add_role
internal_component_royalty_entry
internal_roles
labelled_resolvable_using_resolvable_impl
labelled_resolvable_with_identity_impl
look_up_type
main_accessibility
manifest_args
metadata
metadata_init
metadata_init_set_entry
metadata_roles
method_accessibilities
method_accessibility
mint_roles
non_fungible_data_update_roles
numeric_validation_match
pdec
Creates a PreciseDecimal from literals. It is a compile-time macro. It allows to declare constants and statics. Example: const D1: PreciseDecimal = pdec!(“1111.11111”) const D2: PreciseDecimal = pdec!(“-1111.11111”) const D3: PreciseDecimal = pdec!(1) const D4: PreciseDecimal = pdec!(-1_0000_000_u128)
recall_roles
resolvable_with_identity_impl
resolvable_with_try_into_impls
return_type_mismatch_error
role_entry
role_list
roles
Roles macro for main module
roles2
rule
scrypto_args
to_manifest_value_and_unwrap
to_role_key
trace
vec
Creates a Vec containing the arguments.
warn
withdraw_roles

Structs§

AccountLockerAirdropInput
AccountLockerAirdropManifestInput
AccountLockerClaimInput
AccountLockerClaimManifestInput
AccountLockerClaimNonFungiblesInput
AccountLockerClaimNonFungiblesManifestInput
AccountLockerGetAmountInput
AccountLockerGetAmountManifestInput
AccountLockerGetNonFungibleLocalIdsInput
AccountLockerGetNonFungibleLocalIdsManifestInput
AccountLockerInstantiateInput
AccountLockerInstantiateManifestInput
AccountLockerInstantiateSimpleInput
AccountLockerInstantiateSimpleManifestInput
AccountLockerMarker
AccountLockerRecoverInput
AccountLockerRecoverManifestInput
AccountLockerRecoverNonFungiblesInput
AccountLockerRecoverNonFungiblesManifestInput
AccountLockerStoreInput
AccountLockerStoreManifestInput
AddressBech32Decoder
Represents a decoder which understands how to decode Scrypto addresses in Bech32.
AddressBech32Encoder
Represents an encoder which understands how to encode Scrypto addresses in Bech32.
AddressDisplayContext
AggregateResourceBalances
Arc
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
ArrayData
AttachedModuleIdIter
An iterator over the variants of Self
AuthAddresses
AuthZoneAssertAccessRuleInput
AuthZoneCreateProofOfAllInput
AuthZoneCreateProofOfAmountInput
AuthZoneCreateProofOfNonFungiblesInput
AuthZoneDrainInput
AuthZoneDropProofsInput
AuthZoneDropRegularProofsInput
AuthZoneDropSignatureProofsInput
AuthZonePopInput
AuthZonePushInput
AuthZonePushManifestInput
AuthZoneRef
BTreeMap
An ordered map based on a B-Tree.
BTreeSet
An ordered set based on a B-Tree.
Bls12381G1PrivateKey
Bls12381G1PublicKey
Represents a BLS12-381 G1 public key.
Bls12381G2Signature
Represents a BLS12-381 G2 signature (variant with 96-byte signature and 48-byte public key)
BlueprintId
BlueprintInfo
Core object state, persisted in TypeInfoSubstate.
BlueprintTypeIdentifier
BorrowError
An error returned by RefCell::try_borrow.
BorrowMutError
An error returned by RefCell::try_borrow_mut.
Box
A pointer type that uniquely owns a heap allocation of type T.
Bucket
BucketCreateProofOfAllInput
BucketGetAmountInput
BucketGetNonFungibleLocalIdsInput
BucketGetResourceAddressInput
BucketPutInput
BucketPutManifestInput
BucketTakeAdvancedInput
BucketTakeInput
BucketTakeNonFungiblesInput
Buffer
BurnRoles
BytesNonFungibleLocalId
Bytes, of length between 1 and 64.
Cell
A mutable memory location.
CheckedOrigin
CheckedUrl
ComponentAddress
Address to a global component
ComponentClaimRoyaltiesInput
ComponentRoyaltyConfig
Royalty rules
ComponentRoyaltyCreateInput
ComponentRoyaltyLockInput
ComponentRoyaltySetInput
ComponentRoyaltySubstate
ConsensusManagerCompareCurrentTimeInputV1
ConsensusManagerCompareCurrentTimeInputV2
ConsensusManagerConfig
ConsensusManagerCreateInput
ConsensusManagerCreateManifestInput
ConsensusManagerCreateValidatorInput
ConsensusManagerCreateValidatorManifestInput
ConsensusManagerGetCurrentEpochInput
ConsensusManagerGetCurrentTimeInputV1
ConsensusManagerGetCurrentTimeInputV2
ConsensusManagerMarker
ConsensusManagerNextRoundInput
ConsensusManagerStartInput
ContextDisplayable
Decimal
Decimal represents a 192 bit representation of a fixed-scale decimal number.
DepositRoles
Ed25519PrivateKey
Ed25519PublicKey
Represents an ED25519 public key.
Ed25519PublicKeyHash
Ed25519Signature
Represents an ED25519 signature.
EnumVariantData
EnumVariantValue
Epoch
A type-safe consensus epoch number.
EpochChangeCondition
EventFlags
EventTypeIdentifier
Identifies a specific event schema emitter by some emitter RENode.
FieldValue
FnIdentifier
FreezeRoles
FullyScopedTypeId
An identifier for a type under a given node’s schema context in the Radix network.
FungibleBucket
FungibleBucketCreateProofOfAmountInput
FungibleBucketLockAmountInput
FungibleBucketUnlockAmountInput
FungibleProof
FungibleResourceManagerCreateInput
FungibleResourceManagerCreateManifestInput
FungibleResourceManagerCreateWithInitialSupplyInput
FungibleResourceManagerCreateWithInitialSupplyManifestInput
FungibleResourceManagerMintInput
FungibleResourceRoles
FungibleVault
FungibleVaultCreateProofOfAmountInput
FungibleVaultLockFeeInput
FungibleVaultLockFungibleAmountInput
FungibleVaultUnlockFungibleAmountInput
GeneralResourceConstraint
GeneralResourceConstraint captures constraints on the balance of a single fungible or non-fungible resource.
GenericArgs
GlobalAddress
Address to a global entity
GlobalAddressPhantom
GlobalAddressReservation
Hash
Represents a 32-byte hash digest.
HashAccumulator
Represents a 32-byte hash accumulator.
HrpSet
Represents an HRP set (typically corresponds to a network).
I192
Provides safe integer arithmetic.
I256
Provides safe integer arithmetic.
I320
Provides safe integer arithmetic.
I384
Provides safe integer arithmetic.
I448
Provides safe integer arithmetic.
I512
Provides safe integer arithmetic.
I768
Provides safe integer arithmetic.
IndexedScryptoValue
Instant
Represents a Unix timestamp, capturing the seconds since the unix epoch.
IntegerNonFungibleLocalId
Unsigned integers, up to u64.
InternalAddress
Address to a local entity
KVEntry
KeyValueStoreInfo
KeyValueStoreInit
KeyValueStoreInitEntry
LazyCell
A value which is initialized on the first access.
LeaderProposalHistory
LengthValidation
Represents additional validation that should be performed on the size.
LinkedList
A doubly-linked list with owned nodes.
LiquidFungibleResource
LiquidNonFungibleResource
LiquidNonFungibleVault
LocalKeyValueStoreDataSchema
LocalNonFungibleDataSchema
LocatedValidationError
LockFlags
LockedFungibleResource
LockedNonFungibleResource
ManifestAddressReservation
ManifestArgs
ManifestBlobRef
ManifestBucket
ManifestCustomTerminalValueRef
ManifestDecimal
ManifestNamedAddress
ManifestPreciseDecimal
ManifestProof
ManifestResourceConstraints
ManifestValueDisplayContext
Note - this is quite similar to ManifestDecompilationDisplayContext
MapData
MetadataCreateInput
MetadataCreateWithDataInput
MetadataGetInput
MetadataLockInput
MetadataRemoveInput
MetadataRoles
MetadataSetInput
MethodKey
MintRoles
ModuleConfig
ModuleIdIter
An iterator over the variants of Self
ModuleRoleKey
NameChangeError
NamedSchemaVersions
A list of named comparable schemas, intended to capture various versions of the same schema over time.
NetworkDefinition
Network Definition is intended to be the actual definition of a network
NodeId
The unique identifier of a (stored) node.
NonFungibleBucket
NonFungibleBucketContainsNonFungibleInput
NonFungibleBucketCreateProofOfNonFungiblesInput
NonFungibleBucketLockNonFungiblesInput
NonFungibleBucketUnlockNonFungiblesInput
NonFungibleDataUpdateRoles
NonFungibleGlobalId
Represents the global id of a non-fungible.
NonFungibleProof
NonFungibleProofGetLocalIdsInput
NonFungibleResourceManagerCreateGenericInput
NonFungibleResourceManagerCreateInput
NonFungibleResourceManagerCreateManifestInput
NonFungibleResourceManagerCreateRuidWithInitialSupplyGenericInput
For typed value, to skip any codec
NonFungibleResourceManagerCreateRuidWithInitialSupplyInput
NonFungibleResourceManagerCreateRuidWithInitialSupplyManifestInput
For manifest
NonFungibleResourceManagerCreateWithInitialSupplyGenericInput
For typed value, to skip any codec
NonFungibleResourceManagerCreateWithInitialSupplyInput
NonFungibleResourceManagerCreateWithInitialSupplyManifestInput
For manifest
NonFungibleResourceManagerExistsInput
NonFungibleResourceManagerGetNonFungibleInput
NonFungibleResourceManagerMintGenericInput
For typed value, to skip any codec
NonFungibleResourceManagerMintInput
NonFungibleResourceManagerMintManifestInput
For manifest
NonFungibleResourceManagerMintRuidGenericInput
For typed value, to skip any codec
NonFungibleResourceManagerMintRuidInput
NonFungibleResourceManagerMintRuidManifestInput
For manifest
NonFungibleResourceManagerMintSingleRuidGenericInput
For typed value, to skip any codec
NonFungibleResourceManagerMintSingleRuidInput
NonFungibleResourceManagerMintSingleRuidManifestInput
NonFungibleResourceManagerUpdateDataGenericInput
For typed value, to skip any codec
NonFungibleResourceManagerUpdateDataInput
NonFungibleResourceManagerUpdateDataManifestInput
For manifest
NonFungibleResourceRoles
NonFungibleVault
NonFungibleVaultBurnNonFungiblesInput
NonFungibleVaultContainsNonFungibleInput
NonFungibleVaultCreateProofOfNonFungiblesInput
NonFungibleVaultGetNonFungibleLocalIdsInput
NonFungibleVaultLockNonFungiblesInput
NonFungibleVaultRecallNonFungiblesInput
NonFungibleVaultTakeNonFungiblesInput
NonFungibleVaultUnlockNonFungiblesInput
NonIterMap
A thin wrapper around a HashMap, which guarantees that a HashMap usage will not result in a non-deterministic execution (simply by disallowing the iteration over its elements).
NovelTypeMetadata
This is the struct used in the Schema
NumericValidation
Represents additional validation that should be performed on the numeric value.
ObjectInfo
OnceCell
A cell which can nominally be written to only once.
OverlayingIterator
An iterator overlaying a “change on a value” (coming from the [overlaying] iterator) over a “base value” (coming from the [underlying] iterator). The one is matched to another by a K part (of the iterated tuple (K, V)), which both iterators are assumed to be ordered by.
OverlayingResultIterator
An iterator overlaying a “change on a value” (coming from the [overlaying] iterator) over a “base value” (coming from the [underlying] iterator) which may error. The one is matched to another by a K part (of the iterated tuple (K, V)), which both iterators are assumed to be ordered by.
Own
OwnedWorktop
OwnerRoleEntry
PackageAddress
Address to a global package
PartitionNumber
The unique identifier of a node module.
PartitionOffset
PhantomData
Zero-sized type used to mark things that “act like” they own a T.
PreciseDecimal
PreciseDecimal represents a 256 bit representation of a fixed-scale decimal number.
Proof
ProofCloneInput
ProofDropInput
ProofDropManifestInput
ProofGetAmountInput
ProofGetResourceAddressInput
RUIDNonFungibleLocalId
RUID, v4, variant 1, big endian. See https://www.rfc-editor.org/rfc/rfc4122
RawPayload
A wrapper for a full encoded SBOR payload, including the prefix byte.
RawValue
A wrapper for a reference to a valid partial SBOR payload representing a single value.
Rc
A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.
RecallRoles
Ref
Wraps a borrowed reference to a value in a RefCell box. A wrapper type for an immutably borrowed value from a RefCell<T>.
RefCell
A mutable memory location with dynamically checked borrow rules
RefMut
A wrapper type for a mutably borrowed value from a RefCell<T>.
Reference
RemoteKeyValueStoreDataSchema
RemoteNonFungibleDataSchema
ResourceAddress
Address to a global resource
ResourceManagerBurnInput
ResourceManagerBurnManifestInput
ResourceManagerCreateEmptyBucketInput
ResourceManagerCreateEmptyVaultInput
ResourceManagerDropEmptyBucketInput
ResourceManagerDropEmptyBucketManifestInput
ResourceManagerGetAmountForWithdrawalInput
ResourceManagerGetResourceTypeInput
ResourceManagerGetTotalSupplyInput
ResourceManagerPackageBurnInput
ResourceManagerPackageBurnManifestInput
ResourceOrNonFungibleList
RoleAssignmentCreateInput
RoleAssignmentGetInput
RoleAssignmentGetOwnerRoleInput
RoleAssignmentInit
RoleAssignmentLockOwnerInput
RoleAssignmentSetInput
RoleAssignmentSetOwnerInput
RoleKey
RoleList
Round
A type-safe consensus round number within a single epoch.
SborFixedEnumVariant
SborPath
A series of indexes which describes some value in the sbor tree
SborPathBuf
SborRawPayload
A wrapper for a full encoded SBOR payload, including the prefix byte.
SborRawValue
A wrapper for a reference to a valid partial SBOR payload representing a single value.
SchemaComparisonCompletenessSettings
SchemaComparisonError
SchemaComparisonMetadataSettings
SchemaComparisonResult
SchemaComparisonSettings
SchemaComparisonStructureSettings
SchemaComparisonValidationSettings
SchemaContext
SchemaHash
Represents a particular schema under a package
SchemaV1
An array of custom type kinds, and associated extra information which can attach to the type kinds
ScopedTypeId
An identifier for a type in the context of a schema.
ScryptoCustomExtension
ScryptoCustomSchema
ScryptoCustomTerminalValueRef
ScryptoValueDisplayContext
Secp256k1PublicKey
Represents a compressed ECDSA Secp256k1 public key, which is the default format used in the Radix stack.
Secp256k1PublicKeyHash
Secp256k1Signature
Represents an ECDSA Secp256k1 signature.
Secp256k1UncompressedPublicKey
Represents an uncompressed ECDSA Secp256k1 public key.
SingleTypeSchema
A serializable record of the schema of a single type. Intended for historical backwards compatibility checking of a single type.
Slice
StateUpdates
A tree-like description of all updates that happened to a stored state, to be included as a part of a transaction receipt. This structure is indexed (i.e. uses IndexMaps where Vecs could be used) for convenience and performance, since both the source (i.e. Track) and the sink (i.e. Database and API) operate on indexed structures too. This structure maintains partial information on the order of operations (please see individual fields for details), since the end users care about it. Please note that this means multiple instances of StateUpdates can represent the same transform of state store (i.e. differing only by order of some operations), and hence it is not 100% “canonical form”.
String
A UTF-8–encoded, growable string.
StringNonFungibleLocalId
A string matching [_0-9a-zA-Z]{1,64}.
TupleData
TypeAggregator
TypeCollectionSchema
A serializable record of the schema of a set of named types. Intended for historical backwards compatibility of a collection of types in a single schema.
TypeCompatibilityParameters
TypeData
Combines all data about a Type:
TypeMetadata
This enables the type to be represented as eg JSON Also used to facilitate type reconstruction
U192
Provides safe integer arithmetic.
U256
Provides safe integer arithmetic.
U320
Provides safe integer arithmetic.
U384
Provides safe integer arithmetic.
U448
Provides safe integer arithmetic.
U512
Provides safe integer arithmetic.
U768
Provides safe integer arithmetic.
UncheckedOrigin
UncheckedUrl
UnsafeCell
The core primitive for interior mutability in Rust.
UtcDateTime
A UtcDateTime represents a Unix timestamp on the UTC Calendar.
ValidatorAcceptsDelegatedStakeInput
ValidatorApplyEmissionInput
ValidatorApplyEmissionManifestInput
ValidatorApplyRewardInput
ValidatorApplyRewardManifestInput
ValidatorClaimXrdInput
ValidatorClaimXrdManifestInput
ValidatorFinishUnlockOwnerStakeUnitsInput
ValidatorGetProtocolUpdateReadinessInput
ValidatorGetRedemptionValueInput
ValidatorLockOwnerStakeUnitsInput
ValidatorLockOwnerStakeUnitsManifestInput
ValidatorMarker
ValidatorRegisterInput
ValidatorSignalProtocolUpdateReadinessInput
ValidatorStakeAsOwnerInput
ValidatorStakeAsOwnerManifestInput
ValidatorStakeInput
ValidatorStakeManifestInput
ValidatorStartUnlockOwnerStakeUnitsInput
ValidatorTotalStakeUnitSupplyInput
ValidatorTotalStakeXrdAmountInput
ValidatorUnregisterInput
ValidatorUnstakeInput
ValidatorUnstakeManifestInput
ValidatorUpdateAcceptDelegatedStakeInput
ValidatorUpdateFeeInput
ValidatorUpdateKeyInput
Vault
VaultBurnInput
VaultFreezeFlags
VaultFreezeInput
VaultFrozenFlag
VaultGetAmountInput
VaultPutInput
VaultPutManifestInput
VaultRecallInput
VaultTakeAdvancedInput
VaultTakeInput
VaultUnfreezeInput
Vec
A contiguous growable array type, written as Vec<T>, short for ‘vector’.
VecDecoder
A Decoder abstracts the logic for decoding basic types.
VecDeque
A double-ended queue implemented with a growable ring buffer.
VecEncoder
An Encoder abstracts the logic for writing core types into a byte buffer.
VersionedSchema
If you wish to get access to match on the versions, use .as_ref() or .as_mut().
WellKnownTypeId
WithdrawRoles
WorktopAssertContainsAmountInput
WorktopAssertContainsInput
WorktopAssertContainsNonFungiblesInput
WorktopAssertResourcesIncludeInput
WorktopAssertResourcesOnlyInput
WorktopDrainInput
WorktopDropInput
WorktopDropManifestInput
WorktopPutInput
WorktopPutManifestInput
WorktopTakeAllInput
WorktopTakeInput
WorktopTakeNonFungiblesInput
SyncUnsafeCellExperimental
UnsafeCell, but Sync.

Enums§

AccessControllerPartitionOffset
AccessRule
AccountLockerPartitionOffset
AccountPartitionOffset
AddressBech32DecodeError
AddressBech32EncodeError
AllowedIds
Represents which ids are possible in a non-fungible balance.
AlwaysVisibleGlobalNodesVersion
AttachedModuleId
AuthZoneField
BasicRequirement
Resource Proof Rules
BatchPartitionStateUpdate
A description of a batch update affecting an entire Partition.
BootLoaderField
BoundAdjustmentError
ChildNames
ClientCostingEntry
ComponentField
ComponentRoyaltyPartitionOffset
CompositeRequirement
ConsensusManagerPartitionOffset
ContentValidationError
Cow
A clone-on-write smart pointer.
DatabaseUpdate
An update of a single substate’s value.
DatabaseUpdateRef
A 1:1 counterpart of DatabaseUpdate, but operating on references.
DateTimeError
DecodeError
Represents an error occurred during decoding.
Emitter
EncodeError
Represents an error occurred during encoding.
EntityType
An enum which represents the different addressable entities.
EpochChangeOutcome
FallToOwner
FungibleBucketField
FungibleProofField
FungibleResourceManagerPartitionOffset
FungibleVaultPartitionOffset
GenericMetadataValue
GenericSubstitution
A reference to the type to substitute with for the case of generics.
GlobalCaller
KeyValueStoreDataSchema
Less flexible than previous revision, as mixed type origin is not allowed, but better for client-side optimization
Level
Represents the level of a log message.
LocalTypeId
The TypeId which is local to a given Schema. This is the SchemaTypeLink used in a linearized Schema to link TypeKinds.
LowerBound
Represents a lower bound on a non-negative decimal.
ManifestAddress
Any address supported by manifest, both global and local.
ManifestBucketBatch
ManifestComponentAddress
ManifestCustomExtension
ManifestCustomTraversal
ManifestCustomValue
ManifestCustomValueKind
ManifestExpression
ManifestGlobalAddress
ManifestNonFungibleLocalId
ManifestNonFungibleLocalIdValidationError
ManifestPackageAddress
ManifestProofBatch
ManifestResourceAddress
ManifestResourceConstraint
ManifestResourceOrNonFungible
ManifestToRustValueError
MetadataConversionError
MetadataPartitionOffset
MethodAccessibility
ModuleId
MultiResourcePoolPartitionOffset
NameChange
NameChangeRule
NoCustomExtension
NoCustomSchema
NoCustomTerminalValueRef
NoCustomTraversal
NoCustomTypeKind
NoCustomTypeKindLabel
NoCustomTypeValidation
NoCustomValue
NoCustomValueKind
NodeStateUpdates
A description of all updates that happened to a state of a single Node. Note: currently, we do not support any Node-wide changes (e.g. deleting entire Node); however, we use an enum for potential future development.
NonFungibleBucketField
NonFungibleDataSchema
NonFungibleIdType
Represents type of non-fungible id
NonFungibleLocalId
Represents the local id of a non-fungible.
NonFungibleProofField
NonFungibleResourceManagerPartitionOffset
NonFungibleVaultPartitionOffset
ObjectType
OneResourcePoolPartitionOffset
Option
The Option type. See the module level documentation for more.
OuterObjectInfo
OwnValidation
OwnedNameChange
OwnerRole
Front end data structure for specifying owner role
OwnerRoleUpdater
PackageCode
PackagePartitionOffset
PackageRoyalty
Royalty rules
PackageRoyaltyConfig
Royalty rules
ParseBlsPublicKeyError
Represents an error when retrieving BLS public key from hex or when aggregating.
ParseBlsSignatureError
Represents an error when retrieving BLS signature from hex or when aggregating.
ParseComponentAddressError
ParseDecimalError
Represents an error when parsing Decimal from another type.
ParseEd25519PublicKeyError
Represents an error when parsing ED25519 public key from hex.
ParseEd25519SignatureError
ParseError
The ParseError enum is a collection of all the possible reasons an enum can fail to parse from a string.
ParseGlobalAddressError
ParseHashError
Represents an error when parsing hash.
ParseI192Error
ParseI256Error
ParseI320Error
ParseI384Error
ParseI448Error
ParseI512Error
ParseI768Error
ParseInternalAddressError
ParseManifestAddressReservationError
Represents an error when parsing ManifestAddressReservation.
ParseManifestBlobRefError
Represents an error when parsing ManifestBlobRef.
ParseManifestBucketError
Represents an error when parsing ManifestBucket.
ParseManifestDecimalError
Represents an error when parsing ManifestDecimal.
ParseManifestExpressionError
Represents an error when parsing ManifestExpression.
ParseManifestPreciseDecimalError
Represents an error when parsing ManifestPreciseDecimal.
ParseManifestProofError
Represents an error when parsing ManifestProof.
ParseNetworkError
ParseNonFungibleGlobalIdError
Represents an error when parsing non-fungible address.
ParseNonFungibleLocalIdError
Represents an error when decoding non-fungible id.
ParseOwnError
ParsePackageAddressError
ParsePreciseDecimalError
Represents an error when parsing PreciseDecimal from another type.
ParseReferenceError
ParseResourceAddressError
ParseSecp256k1PublicKeyError
Represents an error when parsing ED25519 public key from hex.
ParseSecp256k1SignatureError
ParseU192Error
ParseU256Error
ParseU320Error
ParseU384Error
ParseU448Error
ParseU512Error
ParseU768Error
ParseUtcDateTimeError
PartitionStateUpdates
A description of all updates that happened to a state of a single Partition.
PayloadValidationError
ProtocolUpdateStatusField
PublicKey
Represents any natively supported public key.
PublicKeyHash
The hash of a given public key.
ReferenceValidation
ResourceConstraintError
ResourceConstraintsError
ResourceError
ResourceFeature
ResourceOrNonFungible
ResourceSpecifier
ResourceType
Represents the type of a resource.
Result
Result is a type that represents either success (Ok) or failure (Err).
RoleAssignmentPartitionOffset
RoundingMode
Defines the rounding strategy.
RoyaltyAmount
RoyaltyField
RustToManifestValueError
RustTypeId
This is a compile-time identifier for a given type, used by the type aggregator to uniquely identify a type.
SborValue
Represents any value conforming to the SBOR value model.
SchemaComparisonErrorDetail
SchemaValidationError
SchemaVersions
ScryptoCustomTraversal
ScryptoCustomTypeKind
A schema for the values that a codec can decode / views as valid
ScryptoCustomTypeKindLabel
ScryptoCustomTypeValidation
ScryptoCustomValue
ScryptoCustomValueKind
SubstateKey
The unique identifier of a substate within a node module.
SubstateKeyOrRef
SubstateKeyRef
SystemExecution
For definition @see SYSTEM_EXECUTION_RESOURCE
TimeComparisonOperator
TimePrecisionV1
TimePrecisionV2
TransactionTrackerField
TwoResourcePoolPartitionOffset
TypeInfoField
TypeKind
A schema for the values that a codec can decode / views as valid
TypeKindLabel
TypeValidation
Additional validation to apply to a payload of the given type, beyond validation from the TypeKind’s type structure.
UpperBound
Represents an upper bound on a non-negative decimal.
ValidationChange
ValidationError
ValidatorPartitionOffset
Value
Represents any value conforming to the SBOR value model.
ValueKind
WithdrawStrategy
Define the withdraw strategy when request amount does not match underlying resource divisibility.
WorktopField

Constants§

ACCESS_CONTROLLER_PACKAGE
The native package for access controllers.
ACCESS_RULE_TYPE
ACCOUNT_LOCKER_AIRDROP_EXPORT_NAME
ACCOUNT_LOCKER_AIRDROP_IDENT
ACCOUNT_LOCKER_BLUEPRINT
ACCOUNT_LOCKER_CLAIM_EXPORT_NAME
ACCOUNT_LOCKER_CLAIM_IDENT
ACCOUNT_LOCKER_CLAIM_NON_FUNGIBLES_EXPORT_NAME
ACCOUNT_LOCKER_CLAIM_NON_FUNGIBLES_IDENT
ACCOUNT_LOCKER_GET_AMOUNT_EXPORT_NAME
ACCOUNT_LOCKER_GET_AMOUNT_IDENT
ACCOUNT_LOCKER_GET_NON_FUNGIBLE_LOCAL_IDS_EXPORT_NAME
ACCOUNT_LOCKER_GET_NON_FUNGIBLE_LOCAL_IDS_IDENT
ACCOUNT_LOCKER_INSTANTIATE_EXPORT_NAME
ACCOUNT_LOCKER_INSTANTIATE_IDENT
ACCOUNT_LOCKER_INSTANTIATE_SIMPLE_EXPORT_NAME
ACCOUNT_LOCKER_INSTANTIATE_SIMPLE_IDENT
ACCOUNT_LOCKER_RECOVER_EXPORT_NAME
ACCOUNT_LOCKER_RECOVER_IDENT
ACCOUNT_LOCKER_RECOVER_NON_FUNGIBLES_EXPORT_NAME
ACCOUNT_LOCKER_RECOVER_NON_FUNGIBLES_IDENT
ACCOUNT_LOCKER_STORE_EXPORT_NAME
ACCOUNT_LOCKER_STORE_IDENT
ACCOUNT_OWNER_BADGE
The non-fungible badge resource which is used for account ownership, if accounts have been set up with simple account creation, or have been securified.
ACCOUNT_PACKAGE
The native package for accounts.
ACTOR_REF_AUTH_ZONE
ACTOR_REF_GLOBAL
ACTOR_REF_OUTER
ACTOR_REF_SELF
ACTOR_STATE_OUTER_OBJECT
ACTOR_STATE_SELF
ARCHIVE_STORAGE_PRICE_IN_XRD
The price for adding a single byte to archive storage, in XRD. 1 MB = 6 USD This is primarily for transaction payload, events and logs.
ATTACHED_MODULE_ID_TYPE
AUTH_ZONE_ASSERT_ACCESS_RULE_IDENT
AUTH_ZONE_BLUEPRINT
AUTH_ZONE_CREATE_PROOF_OF_ALL_IDENT
AUTH_ZONE_CREATE_PROOF_OF_AMOUNT_IDENT
AUTH_ZONE_CREATE_PROOF_OF_NON_FUNGIBLES_IDENT
AUTH_ZONE_DRAIN_IDENT
AUTH_ZONE_DROP_PROOFS_IDENT
AUTH_ZONE_DROP_REGULAR_PROOFS_IDENT
AUTH_ZONE_DROP_SIGNATURE_PROOFS_IDENT
AUTH_ZONE_POP_IDENT
AUTH_ZONE_PUSH_IDENT
BASIC_REQUIREMENT_TYPE
Name of the schema type ProofRule is not changed to BasicRequirement to preserve backward compatibility.
BASIC_SBOR_V1_MAX_DEPTH
BASIC_SBOR_V1_PAYLOAD_PREFIX
BLS12381_CIPHERSITE_V1
BLS12-381 ciphersuite v1 It has following parameters
BLUEPRINT_PAYLOAD_MAX_DEPTH
Depth limit for various types of blueprint payload
BOOT_LOADER_PARTITION
Used only with TRANSACTION_TRACKER Node for boot loading
BOOT_LOADER_RESERVED_NODE_ID_FIRST_BYTE
BUCKET_CREATE_PROOF_OF_ALL_IDENT
BUCKET_GET_AMOUNT_IDENT
BUCKET_GET_RESOURCE_ADDRESS_IDENT
BUCKET_PUT_IDENT
BUCKET_TAKE_ADVANCED_IDENT
BUCKET_TAKE_IDENT
BURNER_ROLE
BURNER_UPDATER_ROLE
COMPONENT_ADDRESS_TYPE
COMPONENT_ROYALTY_BLUEPRINT
COMPONENT_ROYALTY_CLAIMER_ROLE
COMPONENT_ROYALTY_CLAIMER_UPDATER_ROLE
COMPONENT_ROYALTY_CLAIM_ROYALTIES_IDENT
COMPONENT_ROYALTY_CREATE_IDENT
COMPONENT_ROYALTY_LOCKER_ROLE
COMPONENT_ROYALTY_LOCKER_UPDATER_ROLE
COMPONENT_ROYALTY_LOCK_ROYALTY_IDENT
COMPONENT_ROYALTY_SETTER_ROLE
COMPONENT_ROYALTY_SETTER_UPDATER_ROLE
COMPONENT_ROYALTY_SET_ROYALTY_IDENT
COMPOSITE_REQUIREMENT_LIST_TYPE
COMPOSITE_REQUIREMENT_TYPE
Name of the schema type AccessRuleNode is not changed to CompositeRequirement to preserve backward compatibility.
CONSENSUS_MANAGER
The consensus manager native component - in charge of validators, consensus and epochs.
CONSENSUS_MANAGER_BLUEPRINT
CONSENSUS_MANAGER_COMPARE_CURRENT_TIME_IDENT
CONSENSUS_MANAGER_CREATE_IDENT
CONSENSUS_MANAGER_CREATE_VALIDATOR_IDENT
CONSENSUS_MANAGER_GET_CURRENT_EPOCH_IDENT
CONSENSUS_MANAGER_GET_CURRENT_TIME_IDENT
CONSENSUS_MANAGER_NEXT_ROUND_IDENT
CONSENSUS_MANAGER_PACKAGE
The native package for the consensus manager.
CONSENSUS_MANAGER_START_IDENT
CUSTOM_VALUE_KIND_START
A custom type is an application defined type with special semantics.
DECIMAL_SIZE
DECIMAL_TYPE
DEPOSITOR_ROLE
DEPOSITOR_UPDATER_ROLE
ED25519_PUBLIC_KEY_HASH_TYPE
ED25519_PUBLIC_KEY_TYPE
ED25519_SIGNATURE_RESOURCE
The non-fungible badge resource which is used for proofs of EdDSA Ed25519 transacton signatures in the transaction processor.
EMPTY
EXECUTION_COST_UNIT_LIMIT
The execution cost unit limit.
EXECUTION_COST_UNIT_LOAN
The execution cost units loaned from system
EXECUTION_COST_UNIT_PRICE_IN_XRD
The price of execution cost unit, in XRD.
FAUCET
The faucet native component - use this on testnets for getting XRD and locking fee.
FAUCET_BLUEPRINT
The name of the faucet blueprint under the FAUCET_PACKAGE.
FAUCET_COMPONENT
The faucet native component - use this on testnets for getting XRD and locking fee.
FAUCET_FREE_AMOUNT
XRD amount put on worktop by free() method from Faucet blueprint.
FAUCET_PACKAGE
The scrypto package for the faucet
FINALIZATION_COST_UNIT_LIMIT
The finalization cost unit limit.
FINALIZATION_COST_UNIT_PRICE_IN_XRD
The price of finalization cost unit, in XRD.
FRAME_OWNED_GLOBAL_MARKER
FREEZER_ROLE
FREEZER_UPDATER_ROLE
FUNGIBLE_BUCKET_BLUEPRINT
FUNGIBLE_BUCKET_CREATE_PROOF_OF_AMOUNT_IDENT
FUNGIBLE_BUCKET_LOCK_AMOUNT_IDENT
FUNGIBLE_BUCKET_UNLOCK_AMOUNT_IDENT
FUNGIBLE_PROOF_BLUEPRINT
FUNGIBLE_RESOURCE_MANAGER_BLUEPRINT
FUNGIBLE_RESOURCE_MANAGER_CREATE_IDENT
FUNGIBLE_RESOURCE_MANAGER_CREATE_WITH_INITIAL_SUPPLY_IDENT
FUNGIBLE_RESOURCE_MANAGER_MINT_IDENT
FUNGIBLE_VAULT_BLUEPRINT
FUNGIBLE_VAULT_CREATE_PROOF_OF_AMOUNT_IDENT
FUNGIBLE_VAULT_LOCK_FEE_IDENT
FUNGIBLE_VAULT_LOCK_FUNGIBLE_AMOUNT_IDENT
FUNGIBLE_VAULT_UNLOCK_FUNGIBLE_AMOUNT_IDENT
GENESIS_HELPER
The genesis helper scrypto component - used for sorting out genesis.
GENESIS_HELPER_BLUEPRINT
The name of the genesis helper blueprint under the GENESIS_HELPER_PACKAGE.
GENESIS_HELPER_PACKAGE
The scrypto package for the genesis helper.
GLOBAL_ADDRESS_TYPE
GLOBAL_CALLER_RESOURCE
The non-fungible badge resource which is used for proofs which represent the global ancestor of the actor which made the latest global call.
IDENTITY_OWNER_BADGE
The non-fungible badge resource which is used for identity ownership, if identities have been set up with simple account creation, or have been securified.
IDENTITY_PACKAGE
The native package for identities.
INSTANT_TYPE
INTERNAL_ADDRESS_TYPE
KEY_VALUE_STORE_PAYLOAD_MAX_DEPTH
Depth limit for the key and value of an entry in KeyValueStore
KV_STORE_DATA_SCHEMA_VARIANT_LOCAL
KV_STORE_DATA_SCHEMA_VARIANT_REMOTE
LOCKER_PACKAGE
The native package for lockers.
MAIN_BASE_PARTITION
MANIFEST_ADDRESS_DISCRIMINATOR_NAMED
MANIFEST_ADDRESS_DISCRIMINATOR_STATIC
MANIFEST_NON_FUNGIBLE_LOCAL_ID_MAX_LENGTH
MANIFEST_SBOR_V1_MAX_DEPTH
MANIFEST_SBOR_V1_PAYLOAD_PREFIX
0x4d = M in ASCII for Manifest - (77 in decimal)
MANIFEST_VALUE_KIND_ADDRESS
MANIFEST_VALUE_KIND_ADDRESS_RESERVATION
MANIFEST_VALUE_KIND_BLOB
MANIFEST_VALUE_KIND_BUCKET
MANIFEST_VALUE_KIND_DECIMAL
MANIFEST_VALUE_KIND_EXPRESSION
MANIFEST_VALUE_KIND_NON_FUNGIBLE_LOCAL_ID
MANIFEST_VALUE_KIND_PRECISE_DECIMAL
MANIFEST_VALUE_KIND_PROOF
MAX_ACCESS_RULE_DEPTH
The max depth of an access rule, to protect unbounded native stack usage
MAX_BLUEPRINT_NAME_LEN
The max length of a blueprint identifier
MAX_CALL_DEPTH
The max call depth, used by transaction executor.
MAX_COMPOSITE_REQUIREMENTS
The max number of composite requirements in an access rule
MAX_EVENT_NAME_LEN
The max length of an event name
MAX_EVENT_SIZE
The max event size
MAX_EXECUTION_TRACE_DEPTH
MAX_FEATURE_NAME_LEN
The max length of a feature name
MAX_FUNCTION_NAME_LEN
The max length of a function name
MAX_HEAP_SUBSTATE_TOTAL_BYTES
The max total heap substate size.
MAX_INITIAL_TABLE_SIZE
The maximum initial table size
MAX_INVOKE_PAYLOAD_SIZE
The maximum invoke payload size.
MAX_LOG_SIZE
The max log size
MAX_MEMORY_SIZE_IN_PAGES
The maximum memory size (per call frame): 64 * 64KiB = 4MiB
MAX_METADATA_KEY_STRING_LEN
The max SBOR size of metadata key
MAX_METADATA_VALUE_SBOR_LEN
The max SBOR size of metadata value
MAX_NUMBER_OF_BLUEPRINT_FIELDS
The max number of fields a blueprint can have
MAX_NUMBER_OF_BR_TABLE_TARGETS
The max number of labels of a table jump, excluding the default
MAX_NUMBER_OF_EVENTS
The max number of events
MAX_NUMBER_OF_FIELDS
MAX_NUMBER_OF_FUNCTIONS
The max number of functions
MAX_NUMBER_OF_FUNCTION_LOCALS
The max number of function local variables
MAX_NUMBER_OF_FUNCTION_PARAMS
The max number of function parameters
MAX_NUMBER_OF_GLOBALS
The max number of global variables
MAX_NUMBER_OF_LOGS
The max number of logs
MAX_ORIGIN_LENGTH
The max length of an Origin in metadata
MAX_PANIC_MESSAGE_SIZE
The max panic message size
MAX_PER_FUNCTION_ROYALTY_IN_XRD
The maximum that a package or component owner is allowed to set their method royalty to. 10 USD
MAX_ROLES
The max number of roles in a Role Specification
MAX_ROLE_NAME_LEN
The max length of a role name
MAX_SUBSTATE_KEY_SIZE
The maximum substate key read and write size
MAX_SUBSTATE_VALUE_SIZE
The maximum substate read and write size.
MAX_TRACK_SUBSTATE_TOTAL_BYTES
The max total track substate size.
MAX_TYPE_NAME_LEN
The max length of a registered type name
MAX_URL_LENGTH
The max length of a URL in metadata
METADATA_BASE_PARTITION
METADATA_BLUEPRINT
METADATA_CREATE_IDENT
METADATA_CREATE_WITH_DATA_IDENT
METADATA_DISCRIMINATOR_ARRAY_BASE
METADATA_GET_IDENT
METADATA_KV_STORE_PARTITION_OFFSET
METADATA_LOCKER_ROLE
METADATA_LOCKER_UPDATER_ROLE
METADATA_LOCK_IDENT
METADATA_MODULE_PACKAGE
The native package for the metadata module.
METADATA_REMOVE_IDENT
METADATA_SETTER_ROLE
METADATA_SETTER_UPDATER_ROLE
METADATA_SET_IDENT
METADATA_VALUE_BOOLEAN_ARRAY_DISCRIMINATOR
METADATA_VALUE_BOOLEAN_DISCRIMINATOR
METADATA_VALUE_DECIMAL_ARRAY_DISCRIMINATOR
METADATA_VALUE_DECIMAL_DISCRIMINATOR
METADATA_VALUE_GLOBAL_ADDRESS_ARRAY_DISCRIMINATOR
METADATA_VALUE_GLOBAL_ADDRESS_DISCRIMINATOR
METADATA_VALUE_I32_ARRAY_DISCRIMINATOR
METADATA_VALUE_I32_DISCRIMINATOR
METADATA_VALUE_I64_ARRAY_DISCRIMINATOR
METADATA_VALUE_I64_DISCRIMINATOR
METADATA_VALUE_INSTANT_ARRAY_DISCRIMINATOR
METADATA_VALUE_INSTANT_DISCRIMINATOR
METADATA_VALUE_NON_FUNGIBLE_GLOBAL_ID_ARRAY_DISCRIMINATOR
METADATA_VALUE_NON_FUNGIBLE_GLOBAL_ID_DISCRIMINATOR
METADATA_VALUE_NON_FUNGIBLE_LOCAL_ID_ARRAY_DISCRIMINATOR
METADATA_VALUE_NON_FUNGIBLE_LOCAL_ID_DISCRIMINATOR
METADATA_VALUE_ORIGIN_ARRAY_DISCRIMINATOR
METADATA_VALUE_ORIGIN_DISCRIMINATOR
METADATA_VALUE_PUBLIC_KEY_ARRAY_DISCRIMINATOR
METADATA_VALUE_PUBLIC_KEY_DISCRIMINATOR
METADATA_VALUE_PUBLIC_KEY_HASH_ARRAY_DISCRIMINATOR
METADATA_VALUE_PUBLIC_KEY_HASH_DISCRIMINATOR
METADATA_VALUE_STRING_ARRAY_DISCRIMINATOR
METADATA_VALUE_STRING_DISCRIMINATOR
METADATA_VALUE_U8_ARRAY_DISCRIMINATOR
METADATA_VALUE_U8_DISCRIMINATOR
METADATA_VALUE_U32_ARRAY_DISCRIMINATOR
METADATA_VALUE_U32_DISCRIMINATOR
METADATA_VALUE_U64_ARRAY_DISCRIMINATOR
METADATA_VALUE_U64_DISCRIMINATOR
METADATA_VALUE_URL_ARRAY_DISCRIMINATOR
METADATA_VALUE_URL_DISCRIMINATOR
MINTER_ROLE
MINTER_UPDATER_ROLE
MODULE_ID_TYPE
NETWORK_FEES_PROPOSER_SHARE_PERCENTAGE
The proposer’s share of network fees (execution, finalization and storage)
NETWORK_FEES_VALIDATOR_SET_SHARE_PERCENTAGE
The validator set’s share of network fees (execution, finalization and storage)
NON_FUNGIBLE_BUCKET_BLUEPRINT
NON_FUNGIBLE_BUCKET_CONTAINS_NON_FUNGIBLE_IDENT
NON_FUNGIBLE_BUCKET_CREATE_PROOF_OF_NON_FUNGIBLES_IDENT
NON_FUNGIBLE_BUCKET_GET_NON_FUNGIBLE_LOCAL_IDS_IDENT
NON_FUNGIBLE_BUCKET_LOCK_NON_FUNGIBLES_IDENT
NON_FUNGIBLE_BUCKET_TAKE_NON_FUNGIBLES_IDENT
NON_FUNGIBLE_BUCKET_UNLOCK_NON_FUNGIBLES_IDENT
NON_FUNGIBLE_DATA_SCHEMA_VARIANT_LOCAL
NON_FUNGIBLE_DATA_SCHEMA_VARIANT_REMOTE
NON_FUNGIBLE_DATA_UPDATER_ROLE
NON_FUNGIBLE_DATA_UPDATER_UPDATER_ROLE
NON_FUNGIBLE_GLOBAL_ID_TYPE
NON_FUNGIBLE_LOCAL_ID_MAX_LENGTH
NON_FUNGIBLE_LOCAL_ID_TYPE
NON_FUNGIBLE_PROOF_BLUEPRINT
NON_FUNGIBLE_PROOF_GET_LOCAL_IDS_IDENT
NON_FUNGIBLE_RESOURCE_MANAGER_BLUEPRINT
NON_FUNGIBLE_RESOURCE_MANAGER_CREATE_IDENT
NON_FUNGIBLE_RESOURCE_MANAGER_CREATE_RUID_WITH_INITIAL_SUPPLY_IDENT
NON_FUNGIBLE_RESOURCE_MANAGER_CREATE_WITH_INITIAL_SUPPLY_IDENT
NON_FUNGIBLE_RESOURCE_MANAGER_EXISTS_IDENT
NON_FUNGIBLE_RESOURCE_MANAGER_GET_NON_FUNGIBLE_IDENT
NON_FUNGIBLE_RESOURCE_MANAGER_MINT_IDENT
NON_FUNGIBLE_RESOURCE_MANAGER_MINT_RUID_IDENT
NON_FUNGIBLE_RESOURCE_MANAGER_MINT_SINGLE_RUID_IDENT
NON_FUNGIBLE_RESOURCE_MANAGER_UPDATE_DATA_IDENT
NON_FUNGIBLE_VAULT_BLUEPRINT
NON_FUNGIBLE_VAULT_BURN_NON_FUNGIBLES_IDENT
NON_FUNGIBLE_VAULT_CONTAINS_NON_FUNGIBLE_IDENT
NON_FUNGIBLE_VAULT_CREATE_PROOF_OF_NON_FUNGIBLES_IDENT
NON_FUNGIBLE_VAULT_GET_NON_FUNGIBLE_LOCAL_IDS_IDENT
NON_FUNGIBLE_VAULT_LOCK_NON_FUNGIBLES_IDENT
NON_FUNGIBLE_VAULT_RECALL_NON_FUNGIBLES_IDENT
NON_FUNGIBLE_VAULT_TAKE_NON_FUNGIBLES_IDENT
NON_FUNGIBLE_VAULT_UNLOCK_NON_FUNGIBLES_IDENT
OPTION_VARIANT_NONE
OPTION_VARIANT_SOME
ORIGIN_TYPE
OWNER_ROLE
OWNER_ROLE_TYPE
OWN_BUCKET_TYPE
OWN_FUNGIBLE_BUCKET_TYPE
OWN_FUNGIBLE_PROOF_TYPE
OWN_FUNGIBLE_VAULT_TYPE
OWN_GLOBAL_ADDRESS_RESERVATION_TYPE
OWN_KEY_VALUE_STORE_TYPE
OWN_NON_FUNGIBLE_BUCKET_TYPE
OWN_NON_FUNGIBLE_PROOF_TYPE
OWN_NON_FUNGIBLE_VAULT_TYPE
OWN_PROOF_TYPE
OWN_TYPE
OWN_VAULT_TYPE
PACKAGE_ADDRESS_TYPE
PACKAGE_OF_DIRECT_CALLER_RESOURCE
The non-fungible badge resource which is used for proofs which represent the package of the immediate caller - ie the actor which made the latest (global or internal) call.
PACKAGE_OWNER_BADGE
The non-fungible badge resource which is used for package ownership when creating packages with the simple package creation set-up.
PACKAGE_PACKAGE
The native package for package deployment.
POOL_PACKAGE
The native package for pools.
PRECISE_DECIMAL_SIZE
PRECISE_DECIMAL_TYPE
PREVIEW_CREDIT_IN_XRD
The free credit amount used by preview. 1000000 XRD = $60000, which should be enough to cover all sensible preview requests.
PROOF_CLONE_IDENT
PROOF_DROP_IDENT
PROOF_GET_AMOUNT_IDENT
PROOF_GET_RESOURCE_ADDRESS_IDENT
PROTOCOL_UPDATE_STATUS_PARTITION
Used only with TRANSACTION_TRACKER Node for protocol updating
PUBLIC_KEY_HASH_TYPE
PUBLIC_KEY_TYPE
RECALLER_ROLE
RECALLER_UPDATER_ROLE
REFERENCE_TYPE
RESOURCE_ADDRESS_TYPE
RESOURCE_MANAGER_BURN_IDENT
RESOURCE_MANAGER_CREATE_EMPTY_BUCKET_IDENT
RESOURCE_MANAGER_CREATE_EMPTY_VAULT_IDENT
RESOURCE_MANAGER_DROP_EMPTY_BUCKET_IDENT
RESOURCE_MANAGER_GET_AMOUNT_FOR_WITHDRAWAL_IDENT
RESOURCE_MANAGER_GET_RESOURCE_TYPE_IDENT
RESOURCE_MANAGER_GET_TOTAL_SUPPLY_IDENT
RESOURCE_MANAGER_PACKAGE_BURN_IDENT
RESOURCE_OR_NON_FUNGIBLE_LIST_TYPE
RESOURCE_OR_NON_FUNGIBLE_TYPE
RESOURCE_PACKAGE
The native package for resource managers, proofs, buckets, vaults etc.
RESULT_VARIANT_ERR
RESULT_VARIANT_OK
ROLA_HASHABLE_PAYLOAD_PREFIX
The ROLA hash which is signed is created as hash(ROLA_HASHABLE_PAYLOAD_PREFIX || ..)
ROLE_ASSIGNMENT_BASE_PARTITION
ROLE_ASSIGNMENT_BLUEPRINT
ROLE_ASSIGNMENT_CREATE_IDENT
ROLE_ASSIGNMENT_FIELDS_PARTITION
ROLE_ASSIGNMENT_FIELDS_PARTITION_OFFSET
ROLE_ASSIGNMENT_GET_IDENT
ROLE_ASSIGNMENT_GET_OWNER_ROLE_IDENT
ROLE_ASSIGNMENT_LOCK_OWNER_IDENT
ROLE_ASSIGNMENT_MODULE_PACKAGE
The native package for the role assignment module.
ROLE_ASSIGNMENT_MUTABILITY_PARTITION_OFFSET
ROLE_ASSIGNMENT_ROLE_DEF_PARTITION
ROLE_ASSIGNMENT_ROLE_DEF_PARTITION_OFFSET
ROLE_ASSIGNMENT_SET_IDENT
ROLE_ASSIGNMENT_SET_OWNER_IDENT
ROLE_KEY_TYPE
ROYALTY_AMOUNT_TYPE
ROYALTY_BASE_PARTITION
ROYALTY_CONFIG_PARTITION
ROYALTY_CONFIG_PARTITION_OFFSET
ROYALTY_FIELDS_PARTITION
ROYALTY_FIELDS_PARTITION_OFFSET
ROYALTY_MODULE_PACKAGE
The native package for the royalty module.
SCHEMAS_PARTITION
SCRYPTO_SBOR_V1_MAX_DEPTH
SCRYPTO_SBOR_V1_PAYLOAD_PREFIX
0x5c for [5c]rypto - (92 in decimal)
SECP256K1_PUBLIC_KEY_HASH_TYPE
SECP256K1_PUBLIC_KEY_TYPE
SECP256K1_SIGNATURE_RESOURCE
The non-fungible badge resource which is used for proofs of ECDSA Secp256k1 transacton signatures in the transaction processor.
SELF_ROLE
STATE_STORAGE_PRICE_IN_XRD
The price for adding a single byte to state storage, in XRD. 1 MB = 6 USD
SYSTEM_EXECUTION_RESOURCE
The non-fungible badge resource which is used for proofs representing the fact that the current transaction is a system transaction.
TEST_UTILS_PACKAGE
The native package for test utils.
TIPS_PROPOSER_SHARE_PERCENTAGE
The proposer’s share of tips
TIPS_VALIDATOR_SET_SHARE_PERCENTAGE
The validator set’s share of tips
TRANSACTION_HASHABLE_PAYLOAD_PREFIX
The Transaction hash which is signed is created as: hash(TRANSACTION_HASHABLE_PAYLOAD_PREFIX || version prefix according to type of transaction payload || ..)
TRANSACTION_PROCESSOR_PACKAGE
The native package for the transaction processor.
TRANSACTION_TRACKER
The intent hash store component
TRANSACTION_TRACKER_BLUEPRINT
TRANSACTION_TRACKER_PACKAGE
TRANSIENT_SUBSTATE_DEFAULT_VALUE_MAX_DEPTH
Depth limit for the default value of a transient substate
TYPE_INFO_FIELD_PARTITION
URL_TYPE
USD_PRICE_IN_XRD
The USD price, in XRD. 1 XRD = 0.06 USD
UTC_DATE_TIME_TYPE
VALIDATOR_ACCEPTS_DELEGATED_STAKE_IDENT
VALIDATOR_APPLY_EMISSION_IDENT
VALIDATOR_APPLY_REWARD_IDENT
VALIDATOR_BLUEPRINT
VALIDATOR_CLAIM_XRD_IDENT
VALIDATOR_FINISH_UNLOCK_OWNER_STAKE_UNITS_IDENT
VALIDATOR_GET_PROTOCOL_UPDATE_READINESS_IDENT
VALIDATOR_GET_REDEMPTION_VALUE_IDENT
VALIDATOR_LOCK_OWNER_STAKE_UNITS_IDENT
VALIDATOR_OWNER_BADGE
The non-fungible badge resource which is used for validator ownership.
VALIDATOR_REGISTER_IDENT
VALIDATOR_SIGNAL_PROTOCOL_UPDATE_READINESS_IDENT
VALIDATOR_STAKE_AS_OWNER_IDENT
VALIDATOR_STAKE_IDENT
VALIDATOR_START_UNLOCK_OWNER_STAKE_UNITS_IDENT
VALIDATOR_TOTAL_STAKE_UNIT_SUPPLY_IDENT
VALIDATOR_TOTAL_STAKE_XRD_AMOUNT_IDENT
VALIDATOR_UNREGISTER_IDENT
VALIDATOR_UNSTAKE_IDENT
VALIDATOR_UPDATE_ACCEPT_DELEGATED_STAKE_IDENT
VALIDATOR_UPDATE_FEE_IDENT
VALIDATOR_UPDATE_KEY_IDENT
VALUE_KIND_ARRAY
VALUE_KIND_BOOL
VALUE_KIND_DECIMAL
VALUE_KIND_ENUM
VALUE_KIND_I8
VALUE_KIND_I16
VALUE_KIND_I32
VALUE_KIND_I64
VALUE_KIND_I128
VALUE_KIND_MAP
VALUE_KIND_NON_FUNGIBLE_LOCAL_ID
VALUE_KIND_OWN
VALUE_KIND_PRECISE_DECIMAL
VALUE_KIND_REFERENCE
VALUE_KIND_STRING
VALUE_KIND_TUPLE
VALUE_KIND_U8
VALUE_KIND_U16
VALUE_KIND_U32
VALUE_KIND_U64
VALUE_KIND_U128
VAULT_BURN_IDENT
VAULT_FREEZE_IDENT
VAULT_GET_AMOUNT_IDENT
VAULT_PUT_IDENT
VAULT_RECALL_IDENT
VAULT_TAKE_ADVANCED_IDENT
VAULT_TAKE_IDENT
VAULT_UNFREEZE_IDENT
WASM_ENGINE_CACHE_SIZE
The number of entries in the engine cache
WASM_EXECUTION_COST_UNITS_BUFFER
WITHDRAWER_ROLE
WITHDRAWER_UPDATER_ROLE
WORKTOP_ASSERT_CONTAINS_AMOUNT_IDENT
WORKTOP_ASSERT_CONTAINS_IDENT
WORKTOP_ASSERT_CONTAINS_NON_FUNGIBLES_IDENT
WORKTOP_ASSERT_RESOURCES_INCLUDE_IDENT
WORKTOP_ASSERT_RESOURCES_ONLY_IDENT
WORKTOP_BLUEPRINT
WORKTOP_DRAIN_IDENT
WORKTOP_DROP_IDENT
WORKTOP_PUT_IDENT
WORKTOP_TAKE_ALL_IDENT
WORKTOP_TAKE_IDENT
WORKTOP_TAKE_NON_FUNGIBLES_IDENT
XRD
XRD is the native token of the Radix ledger. It is a fungible token, measured in attos (10^-18).

Statics§

NO_NETWORK

Traits§

AccessRuleVisitor
ArrayMetadataVal
AsMut
Used to do a cheap mutable-to-mutable reference conversion.
AsRef
Used to do a cheap reference-to-reference conversion.
AsStaticRefDeprecated
A cheap reference-to-reference conversion. Used to convert a value to a reference value with 'static lifetime within generic code.
BasicCategorize
BasicDecode
BasicDescribe
BasicEncode
BasicSbor
BasicSborEnum
BasicSborEnumVariantFor
BasicSborTuple
BlueprintPartitionOffset
BorrowingDecoder
Categorize
The Categorize trait marks a rust type as having a fixed value kind for SBOR encoding/decoding.
Cbrt
CheckedAdd
CheckedBackwardsCompatibleSchema
CheckedDiv
CheckedFixedSchema
Marker traits intended to be implemented by the SborAssert macros
CheckedMul
CheckedNeg
CheckedSub
CheckedTruncate
Clone
A common trait that allows explicit creation of a duplicate value.
CollectionDescriptor
ComparableSchema
Marker trait for SingleTypeSchema and TypeCollectionSchema which includes named pointers to types, and can be used for comparisons of different versions of the same schema.
ContextualDisplay
This trait is used where context is required to correctly display a value.
ContextualTryFrom
ContextualTryInto
Copy
Types whose values can be duplicated simply by copying bits.
CustomExtension
CustomSchema
CustomTypeKind
CustomTypeKindLabel
CustomTypeValidation
CustomValue
Represents a custom SBOR value.
CustomValueKind
Debug
? formatting.
Decode
A data structure that can be decoded from a byte array using SBOR.
Decoder
Default
A trait for giving a type a useful default value.
Describe
The Describe trait allows a type to describe how to interpret and validate a corresponding SBOR payload.
Display
Format trait for an empty format, {}.
DoubleEndedIterator
An iterator able to yield elements from both ends.
Drop
Custom code within the destructor.
Encode
A data structure that can be serialized into a byte array using SBOR.
Encoder
EnumCount
A trait for capturing the number of variants in Enum. This trait can be autoderived by strum_macros.
EnumMessage
Associates additional pieces of information with an Enum. This can be autoimplemented by deriving EnumMessage and annotating your variants with #[strum(message="...")].
EnumProperty
EnumProperty is a trait that makes it possible to store additional information with enum variants. This trait is designed to be used with the macro of the same name in the strum_macros crate. Currently, the only string literals are supported in attributes, the other methods will be implemented as additional attribute types become stabilized.
Eq
Trait for comparisons corresponding to equivalence relations.
ExactSizeIterator
An iterator that knows its exact length.
Extend
Extend a collection with the contents of an iterator.
FieldDescriptor
FieldPayloadMarker
Fn
The version of the call operator that takes an immutable receiver.
FnMut
The version of the call operator that takes a mutable receiver.
FnOnce
The version of the call operator that takes a by-value receiver.
ForWithdrawal
From
Used to do value-to-value conversions while consuming the input value. It is the reciprocal of Into.
FromIterator
Conversion from an Iterator.
FromPrimitive
A generic trait for converting a number to a value.
FromPublicKey
FromStr
Parse a value from a string
HasPublicKeyHash
HasSchemaHash
Into
A value-to-value conversion that consumes the input value. The opposite of From.
IntoComparableSchema
IntoEnumIterator
This trait designates that an Enum can be iterated over. It can be auto generated using strum_macros on your behalf.
IntoIterator
Conversion into an Iterator.
IsHash
IsNonAutoGeneratedNonFungibleLocalId
Marks the rust type that represents a non-fungible id, of non-auto-generated kind (i.e. String, Integer and Bytes).
IsNonFungibleLocalId
Marks the rust type that represents a non-fungible id, of any kind (i.e. String, Integer, Bytes and RUID).
IsPublicKeyHash
IsSborFixedEnumVariant
Iterator
A trait for dealing with iterators.
LabelResolver
LabelledResolvable
LabelledResolvable is a marker trait, serving a few purposes:
LabelledResolve
This trait is intended to be used as an impl argument in helper methods, to accept a wider range of arguments.
LabelledResolveFrom
The inverse trait of LabelledResolve.
ManifestCategorize
ManifestDecode
ManifestEncode
ManifestSborEnum
ManifestSborEnumVariantFor
ManifestSborTuple
MetadataVal
NonFungibleData
Represents the data structure of a non-fungible.
NthRoot
NumericValidationBound
One
Defines a multiplicative identity element for Self.
Ord
Trait for types that form a total order.
PartialEq
Trait for comparisons using the equality operator.
PartialOrd
Trait for types that form a partial order.
Pow
Binary operator for raising a value to a power.
Resolvable
Resolvable is a marker trait, mainly to make resolution opt-in and to avoid polluting every type with a resolve method.
ResolvableOptionalSubstateKey
ResolvableStaticManifestPackageAddress
This trait resolves a static resource address for manifest instructions which (as of Cuttlefish) only support a fixed address.
ResolvableStaticManifestResourceAddress
This trait resolves a static resource address for manifest instructions which (as of Cuttlefish) only support a fixed address.
ResolvableSubstateKey
Resolve
This trait is intended to be used as an impl argument in helper methods, to accept a wider range of arguments.
ResolveFrom
The inverse trait of Resolve.
SaturatingAdd
SborCustomValue
Represents a custom SBOR value.
SborEnum
Marker trait for encoding as an Sbor Enum
SborEnumVariantFor
This trait is output for unique unskipped single children of enum variants, when #[sbor(impl_variant_traits)] is specified on an Enum or #[sbor(impl_variant_trait)] is specified on a single Enum variant.
SborTuple
Marker trait for encoding as an Sbor Tuple
SchemaTypeLink
Marker trait for a link between TypeKinds:
ScryptoCategorize
ScryptoCheckedBackwardsCompatibleSchema
ScryptoCheckedFixedSchema
ScryptoDecode
ScryptoDescribe
ScryptoEncode
ScryptoEvent
ScryptoSbor
ScryptoSborEnum
ScryptoSborEnumVariantFor
ScryptoSborTuple
Send
Types that can be transferred across thread boundaries.
Signed
Useful functions for signed numbers (i.e. numbers that can be negative).
SingleMetadataVal
Sized
Types with a constant size known at compile time.
Sqrt
Sync
Types for which it is safe to share references between threads.
SystemActorApi
Api which exposes methods in the context of the actor
SystemActorIndexApi
Api to manage an iterable index
SystemActorKeyValueEntryApi
SystemActorSortedIndexApi
SystemApi
Interface of the system, for blueprints and object modules.
SystemApiError
SystemBlueprintApi
SystemCostingApi
SystemExecutionTraceApi
SystemFieldApi
System api to read/write fields
SystemKeyValueEntryApi
SystemKeyValueStoreApi
SystemObjectApi
A high level interface to manipulate objects in the actor’s call frame
SystemTransactionRuntimeApi
ToMetadataEntry
ToOwned
A generalization of Clone to borrowed data.
ToPrimitive
A generic trait for converting a value to a number.
ToRoleEntry
ToString
A trait for converting a value to a String.
TryFrom
Simple and safe type conversions that may fail in a controlled way under some circumstances. It is the reciprocal of TryInto.
TryInto
An attempted conversion that consumes self, which may or may not be expensive.
UniqueVersioned
A trait for Versioned types which only have a single version.
Unpin
Types that do not require any pinning guarantees.
ValidatableCustomExtension
ValueVisitor
VariantNames
A trait for retrieving the names of each variant in Enum. This trait can be autoderived by strum_macros.
Versioned
A trait implemented by versioned types created via define_versioned and define_single_versioned.
VersionedSchemaVersion
Zero
Defines an additive identity element for Self.

Functions§

access_rule_type_data
aggregate_verify_bls12381_v1
Performs BLS12-381 G2 aggregated signature verification of multiple messages each signed with different key. Domain specifier tag: BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_
always_visible_global_nodes
assert_type_backwards_compatibility
Designed for ensuring a type is only altered in ways which ensure backwards compatibility in SBOR serialization (i.e. that old payloads can be deserialized correctly by the latest type).
assert_type_collection_backwards_compatibility
Designed for ensuring a type collection is only altered in ways which ensure backwards compatibility in SBOR serialization (i.e. that old payloads of named types can be deserialized correctly by the latest schema).
attached_module_id_type_data
basic_decode
Decode an instance of T from a slice.
basic_decode_with_depth_limit
basic_decode_with_depth_limit_and_nice_error
Decodes a data structure from a byte array.
basic_decode_with_nice_error
Decodes a data structure from a byte array.
basic_encode
Encode a T into byte array.
basic_encode_with_depth_limit
basic_payload_traverser
Creates a payload traverser from the buffer
basic_requirement_type_data
bech32_encode_to_fmt
NOTE: The below code is copied with minor alterations from the bech32 crate. These alterations are to avoid using std for allocations, and fit with the sbor no-alloc options.
blake2b_256_hash
check_fungible_amount
check_non_fungible_amount
combine
Combines a u8 with a u8 slice.
compare_single_type_schemas
Designed for basic comparisons between two types, e.g. equality checking.
compare_type_collection_schemas
Designed for basic comparisons between two type collection schemas, e.g. equality checking.
component_address
component_address_type_data
composite_requirement_list_type_data
composite_requirement_type_data
copy_u8_array
Copies a slice to a fixed-sized array.
decimal_type_data
drop
Disposes of a value.
ed25519_public_key_hash_type_data
ed25519_public_key_type_data
fast_aggregate_verify_bls12381_v1
Performs BLS12-381 G2 aggregated signature verification one message signed with multiple keys. Domain specifier tag: BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_ This method validates provided input keys when aggregating.
fast_aggregate_verify_bls12381_v1_anemone
Performs BLS12-381 G2 aggregated signature verification one message signed with multiple keys. Domain specifier tag: BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_ This method does not validate provided input keys when aggregating, it is left here for backward compatibility. It is recommended to use fast_aggregate_verify_bls12381_v1() method instead.
from_manifest_value
generate_full_schema
You may wish to use the newer aggregator.generate_type_collection_schema() which, in tandom with add_named_root_type_and_descendents also captures named root types to give more structure to enable schema comparisons over time.
generate_full_schema_from_single_type
generate_single_type_schema
global_address_type_data
global_caller
A requirement for the global ancestor of the actor who made the latest global call to either be:
hash
Computes the hash digest of a message.
hash_map_new
Creates an empty map with capacity 0 and default Hasher
hash_map_with_capacity
Creates an empty map with given capacity and default Hasher
hash_public_key_bytes
hash_set_new
Creates an empty set with capacity 0 and default Hasher
hash_set_with_capacity
Creates an empty set with given capacity and default Hasher
index_map_new
This is safe for std and no-std use cases (unlike IndexMap::new which disappears when std is not in the toolchain - see this article for deep technical reasons)
index_map_with_capacity
This is safe for std and no-std use cases (unlike IndexMap::with_capacity which disappears when std is not in the toolchain - see this article for deep technical reasons)
index_set_new
This is safe for std and no-std use cases (unlike IndexSet::new which disappears when std is not in the toolchain - see this article for deep technical reasons)
index_set_with_capacity
This is safe for std and no-std use cases (unlike IndexSet::with_capacity which disappears when std is not in the toolchain - see this article for deep technical reasons)
instant_type_data
internal_address_type_data
keccak256_hash
local_address
localize_well_known
localize_well_known_type_data
manifest_decode
manifest_decode_with_depth_limit
manifest_decode_with_depth_limit_and_nice_error
Decodes a data structure from a byte array.
manifest_decode_with_nice_error
Decodes a data structure from a byte array.
manifest_encode
manifest_encode_with_depth_limit
module_id_type_data
non_fungible_global_id_type_data
non_fungible_local_id_type_data
origin_type_data
own_bucket_type_data
own_fungible_bucket_type_data
own_fungible_proof_type_data
own_fungible_vault_type_data
own_global_address_reservation_type_data
own_key_value_store_type_data
own_non_fungible_bucket_type_data
own_non_fungible_proof_type_data
own_non_fungible_vault_type_data
own_proof_type_data
own_type_data
own_vault_type_data
owner_role_type_data
package_address
package_address_type_data
package_of_direct_caller
A requirement for the immediate caller’s package to equal the given package.
precise_decimal_type_data
public_key_hash_type_data
public_key_type_data
reference_type_data
replace_self_package_address
require
require_all_of
require_amount
require_any_of
require_n_of
resolve_invoked_blueprint_id
This function resolves the BlueprintId of the invoked blueprint given the BlueprintId of the main module and the ModuleId being invoked.
resolve_local_type_id
resolve_main_module_blueprint_id
This function resolves the BlueprintId based on the entity type for native blueprints.
resolve_scrypto_well_known_type
resource_address
resource_address_type_data
resource_or_non_fungible_list_type_data
resource_or_non_fungible_type_data
role_key_type_data
royalty_amount_type_data
scrypto_decode
Decodes a data structure from a byte array.
scrypto_decode_with_depth_limit
scrypto_decode_with_depth_limit_and_nice_error
Decodes a data structure from a byte array.
scrypto_decode_with_nice_error
Decodes a data structure from a byte array.
scrypto_encode
Encodes a data structure into byte array.
scrypto_encode_with_depth_limit
secp256k1_public_key_hash_type_data
secp256k1_public_key_type_data
signature
A requirement for the transaction to be signed using a specific key.
system_execution
A requirement for the transaction to be a system transaction.
to_manifest_value
traverse_any
============================================== (DEPRECATED) TRAVERSAL
url_type_data
utc_date_time_type_data
validate_childless_metadata
validate_container
validate_custom_type_validation
validate_enum_metadata
validate_field_names
validate_index
validate_partial_payload_against_schema
validate_payload_against_schema
validate_schema
validate_schema_enum_variant_name
validate_schema_field_name
validate_schema_type_name
validate_terminal_value
validate_terminal_value_batch
validate_tuple_metadata
validate_type_kind
validate_type_metadata_with_type_kind
verify_bls12381_v1
Performs BLS12-381 G2 signature verification. Domain specifier tag: BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_
verify_ed25519

Type Aliases§

AccountLockerAirdropOutput
AccountLockerClaimNonFungiblesOutput
AccountLockerClaimOutput
AccountLockerGetAmountOutput
AccountLockerGetNonFungibleLocalIdsOutput
AccountLockerInstantiateOutput
AccountLockerInstantiateSimpleOutput
AccountLockerRecoverNonFungiblesOutput
AccountLockerRecoverOutput
AccountLockerStoreOutput
ActorRefHandle
ActorStateHandle
AggregatorTypeData
AggregatorTypeId
A newer alias for RustTypeId.
AggregatorTypeKind
AuthZoneAssertAccessRuleManifestInput
AuthZoneAssertAccessRuleOutput
AuthZoneCreateProofOfAllManifestInput
AuthZoneCreateProofOfAllOutput
AuthZoneCreateProofOfAmountManifestInput
AuthZoneCreateProofOfAmountOutput
AuthZoneCreateProofOfNonFungiblesManifestInput
AuthZoneCreateProofOfNonFungiblesOutput
AuthZoneDrainManifestInput
AuthZoneDrainOutput
AuthZoneDropProofsManifestInput
AuthZoneDropProofsOutput
AuthZoneDropRegularProofsManifestInput
AuthZoneDropRegularProofsOutput
AuthZoneDropSignatureProofsManifestInput
AuthZoneDropSignatureProofsOutput
AuthZonePopManifestInput
AuthZonePopOutput
AuthZonePushOutput
BasicAggregatorTypeData
BasicAggregatorTypeKind
BasicDecoder
BasicEncoder
BasicEnumVariantValue
BasicLocalTypeData
BasicLocalTypeKind
BasicOwnedRawPayload
BasicOwnedRawValue
BasicRawPayload
BasicRawValue
BasicSchema
BasicTraverser
BasicTypeAggregator
BasicTypeData
BasicTypeKind
BasicValue
BasicValueKind
BasicVersionedSchema
Blake2b256
BucketCreateProofOfAllManifestInput
BucketCreateProofOfAllOutput
BucketGetAmountManifestInput
BucketGetAmountOutput
BucketGetNonFungibleLocalIdsManifestInput
BucketGetNonFungibleLocalIdsOutput
BucketGetResourceAddressManifestInput
BucketGetResourceAddressOutput
BucketPutOutput
BucketTakeAdvancedManifestInput
BucketTakeAdvancedOutput
BucketTakeManifestInput
BucketTakeNonFungiblesManifestInput
BucketTakeNonFungiblesOutput
BucketTakeOutput
BufferId
CheckedMetadataValue
CollectionIndex
ComponentClaimRoyaltiesManifestInput
ComponentClaimRoyaltiesOutput
ComponentRoyaltyCreateManifestInput
ComponentRoyaltyCreateOutput
ComponentRoyaltyLockManifestInput
ComponentRoyaltyLockOutput
ComponentRoyaltySetManifestInput
ComponentRoyaltySetOutput
ConsensusManagerCompareCurrentTimeManifestInputV1
ConsensusManagerCompareCurrentTimeManifestInputV2
ConsensusManagerCompareCurrentTimeOutput
ConsensusManagerCreateOutput
ConsensusManagerCreateValidatorOutput
ConsensusManagerGetCurrentEpochManifestInput
ConsensusManagerGetCurrentEpochOutput
ConsensusManagerGetCurrentTimeManifestInputV1
ConsensusManagerGetCurrentTimeManifestInputV2
ConsensusManagerGetCurrentTimeOutput
ConsensusManagerNextRoundManifestInput
ConsensusManagerNextRoundOutput
ConsensusManagerStartManifestInput
ConsensusManagerStartOutput
DbSubstateValue
A raw substate value stored by the database.
DynamicComponentAddress
DynamicGlobalAddress
DynamicPackageAddress
DynamicResourceAddress
FieldHandle
FieldIndex
FieldKey
FungibleBucketCreateProofOfAllInput
FungibleBucketCreateProofOfAllManifestInput
FungibleBucketCreateProofOfAmountManifestInput
FungibleBucketCreateProofOfAmountOutput
FungibleBucketGetAmountInput
FungibleBucketGetAmountManifestInput
FungibleBucketGetResourceAddressInput
FungibleBucketGetResourceAddressManifestInput
FungibleBucketLockAmountManifestInput
FungibleBucketLockAmountOutput
FungibleBucketPutInput
FungibleBucketPutManifestInput
FungibleBucketUnlockAmountManifestInput
FungibleBucketUnlockAmountOutput
FungibleProofCloneInput
FungibleProofCloneManifestInput
FungibleProofDropInput
FungibleProofDropManifestInput
FungibleProofGetAmountInput
FungibleProofGetAmountManifestInput
FungibleProofGetResourceAddressInput
FungibleProofGetResourceAddressManifestInput
FungibleResourceManagerAmountForWithdrawalInput
FungibleResourceManagerAmountForWithdrawalManifestInput
FungibleResourceManagerBurnInput
FungibleResourceManagerBurnManifestInput
FungibleResourceManagerCreateEmptyBucketInput
FungibleResourceManagerCreateEmptyBucketManifestInput
FungibleResourceManagerCreateEmptyVaultInput
FungibleResourceManagerCreateEmptyVaultManifestInput
FungibleResourceManagerCreateOutput
FungibleResourceManagerCreateWithInitialSupplyOutput
FungibleResourceManagerDropEmptyBucketInput
FungibleResourceManagerDropEmptyBucketManifestInput
FungibleResourceManagerGetResourceTypeInput
FungibleResourceManagerGetResourceTypeManifestInput
FungibleResourceManagerGetTotalSupplyInput
FungibleResourceManagerGetTotalSupplyManifestInput
FungibleResourceManagerMintManifestInput
FungibleResourceManagerMintOutput
FungibleResourceManagerPackageBurnInput
FungibleResourceManagerPackageBurnManifestInput
FungibleVaultBurnInput
FungibleVaultBurnManifestInput
FungibleVaultCreateProofOfAmountManifestInput
FungibleVaultCreateProofOfAmountOutput
FungibleVaultFreezeInput
FungibleVaultFreezeManifestInput
FungibleVaultGetAmountInput
FungibleVaultGetAmountManifestInput
FungibleVaultLockFeeManifestInput
FungibleVaultLockFeeOutput
FungibleVaultLockFungibleAmountManifestInput
FungibleVaultLockFungibleAmountOutput
FungibleVaultPutInput
FungibleVaultPutManifestInput
FungibleVaultUnfreezeInput
FungibleVaultUnfreezeManifestInput
FungibleVaultUnlockFungibleAmountManifestInput
FungibleVaultUnlockFungibleAmountOutput
HashMap
HashSet
IndexMap
IndexSet
InnerDecimal
InnerPreciseDecimal
KeyValueEntryHandle
LocalTypeData
LocalTypeKind
ManifestDecoder
ManifestEncoder
ManifestEnumVariantValue
ManifestOwnedRawPayload
ManifestOwnedRawValue
ManifestRawPayload
ManifestRawValue
ManifestTraverser
ManifestValue
ManifestValueKind
MapKey
MetadataCreateManifestInput
MetadataCreateOutput
MetadataCreateWithDataManifestInput
MetadataCreateWithDataOutput
MetadataGetManifestInput
MetadataGetOutput
MetadataInit
MetadataLockManifestInput
MetadataLockOutput
MetadataRemoveManifestInput
MetadataRemoveOutput
MetadataSetManifestInput
MetadataSetOutput
MetadataValue
NonFungibleBucketContainsNonFungibleManifestInput
NonFungibleBucketContainsNonFungibleOutput
NonFungibleBucketCreateProofOfAllInput
NonFungibleBucketCreateProofOfAllManifestInput
NonFungibleBucketCreateProofOfNonFungiblesManifestInput
NonFungibleBucketCreateProofOfNonFungiblesOutput
NonFungibleBucketGetAmountInput
NonFungibleBucketGetAmountManifestInput
NonFungibleBucketGetNonFungibleLocalIdsInput
NonFungibleBucketGetNonFungibleLocalIdsManifestInput
NonFungibleBucketGetResourceAddressInput
NonFungibleBucketGetResourceAddressManifestInput
NonFungibleBucketLockNonFungiblesManifestInput
NonFungibleBucketLockNonFungiblesOutput
NonFungibleBucketPutInput
NonFungibleBucketPutManifestInput
NonFungibleBucketUnlockNonFungiblesManifestInput
NonFungibleBucketUnlockNonFungiblesOutput
NonFungibleProofCloneInput
NonFungibleProofCloneManifestInput
NonFungibleProofDropInput
NonFungibleProofDropManifestInput
NonFungibleProofGetAmountInput
NonFungibleProofGetAmountManifestInput
NonFungibleProofGetLocalIdsManifestInput
NonFungibleProofGetLocalIdsOutput
NonFungibleProofGetResourceAddressInput
NonFungibleProofGetResourceAddressManifestInput
NonFungibleResourceManagerAmountForWithdrawalInput
NonFungibleResourceManagerAmountForWithdrawalManifestInput
NonFungibleResourceManagerBurnInput
NonFungibleResourceManagerBurnManifestInput
NonFungibleResourceManagerCreateEmptyBucketInput
NonFungibleResourceManagerCreateEmptyBucketManifestInput
NonFungibleResourceManagerCreateEmptyVaultInput
NonFungibleResourceManagerCreateEmptyVaultManifestInput
NonFungibleResourceManagerCreateOutput
NonFungibleResourceManagerCreateRuidWithInitialSupplyOutput
NonFungibleResourceManagerCreateWithInitialSupplyOutput
NonFungibleResourceManagerDropEmptyBucketInput
NonFungibleResourceManagerDropEmptyBucketManifestInput
NonFungibleResourceManagerExistsManifestInput
NonFungibleResourceManagerExistsOutput
NonFungibleResourceManagerGetNonFungibleManifestInput
NonFungibleResourceManagerGetNonFungibleOutput
NonFungibleResourceManagerGetResourceTypeInput
NonFungibleResourceManagerGetResourceTypeManifestInput
NonFungibleResourceManagerGetTotalSupplyInput
NonFungibleResourceManagerGetTotalSupplyManifestInput
NonFungibleResourceManagerMintOutput
NonFungibleResourceManagerMintRuidOutput
NonFungibleResourceManagerMintSingleRuidOutput
NonFungibleResourceManagerPackageBurnInput
NonFungibleResourceManagerPackageBurnManifestInput
NonFungibleResourceManagerUpdateDataOutput
NonFungibleVaultBurnInput
NonFungibleVaultBurnManifestInput
NonFungibleVaultBurnNonFungiblesManifestInput
NonFungibleVaultBurnNonFungiblesOutput
NonFungibleVaultContainsNonFungibleManifestInput
NonFungibleVaultContainsNonFungibleOutput
NonFungibleVaultCreateProofOfNonFungiblesManifestInput
NonFungibleVaultCreateProofOfNonFungiblesOutput
NonFungibleVaultFreezeInput
NonFungibleVaultFreezeManifestInput
NonFungibleVaultGetAmountInput
NonFungibleVaultGetAmountManifestInput
NonFungibleVaultGetNonFungibleLocalIdsManifestInput
NonFungibleVaultGetNonFungibleLocalIdsOutput
NonFungibleVaultLockNonFungiblesManifestInput
NonFungibleVaultLockNonFungiblesOutput
NonFungibleVaultPutInput
NonFungibleVaultPutManifestInput
NonFungibleVaultRecallNonFungiblesManifestInput
NonFungibleVaultRecallNonFungiblesOutput
NonFungibleVaultTakeNonFungiblesManifestInput
NonFungibleVaultTakeNonFungiblesOutput
NonFungibleVaultUnfreezeInput
NonFungibleVaultUnfreezeManifestInput
NonFungibleVaultUnlockNonFungiblesManifestInput
NonFungibleVaultUnlockNonFungiblesOutput
ObjectModuleId
Notes: This is to be deprecated, please use ModuleId instead
Origin
We should always UncheckedOrigin in Scrypto, as the validation logic is heavy. Thus, this type alias is added.
ProofCloneManifestInput
ProofCloneOutput
ProofDropOutput
ProofGetAmountManifestInput
ProofGetAmountOutput
ProofGetResourceAddressManifestInput
ProofGetResourceAddressOutput
ResourceManagerBurnOutput
ResourceManagerCreateEmptyBucketManifestInput
ResourceManagerCreateEmptyBucketOutput
ResourceManagerCreateEmptyVaultManifestInput
ResourceManagerCreateEmptyVaultOutput
ResourceManagerDropEmptyBucketOutput
ResourceManagerGetAmountForWithdrawalManifestInput
ResourceManagerGetAmountForWithdrawalOutput
ResourceManagerGetResourceTypeManifestInput
ResourceManagerGetResourceTypeOutput
ResourceManagerGetTotalSupplyManifestInput
ResourceManagerGetTotalSupplyOutput
ResourceManagerPackageBurnOutput
RoleAssignmentCreateManifestInput
RoleAssignmentCreateOutput
RoleAssignmentGetManifestInput
RoleAssignmentGetOutput
RoleAssignmentGetOwnerRoleManifestInput
RoleAssignmentGetOwnerRoleOutput
RoleAssignmentLockOwnerManifestInput
RoleAssignmentLockOwnerOutput
RoleAssignmentSetManifestInput
RoleAssignmentSetOutput
RoleAssignmentSetOwnerManifestInput
RoleAssignmentSetOwnerOutput
RoleDefinition
Schema
ScryptoAggregatorTypeData
ScryptoAggregatorTypeKind
ScryptoDecoder
ScryptoEncoder
ScryptoLocalTypeData
ScryptoLocalTypeKind
ScryptoOwnedRawPayload
ScryptoOwnedRawValue
ScryptoRawPayload
ScryptoRawValue
ScryptoSchema
ScryptoSingleTypeSchema
ScryptoTraverser
ScryptoTypeAggregator
ScryptoTypeCollectionSchema
ScryptoTypeData
ScryptoTypeKind
ScryptoTypeValidation
ScryptoValue
ScryptoValueKind
SingleTypeSchemaCompatibilityParameters
SortedKey
SubstateHandle
TimePrecision
TypeCollectionSchemaCompatibilityParameters
TypeHash
Url
We should always UncheckedUrl in Scrypto, as the validation logic is heavy. Thus, this type alias is added.
ValidatorAcceptsDelegatedStakeManifestInput
ValidatorAcceptsDelegatedStakeOutput
ValidatorApplyEmissionOutput
ValidatorApplyRewardOutput
ValidatorClaimXrdOutput
ValidatorFinishUnlockOwnerStakeUnitsManifestInput
ValidatorFinishUnlockOwnerStakeUnitsOutput
ValidatorGetProtocolUpdateReadinessManifestInput
ValidatorGetProtocolUpdateReadinessOutput
ValidatorGetRedemptionValueManifestInput
ValidatorGetRedemptionValueOutput
ValidatorIndex
An index of a specific validator within the current validator set. To be exact: a ValidatorIndex equal to k references the k-th element returned by the iterator of the IndexMap<ComponentAddress, Validator> in this epoch’s active validator set (which is expected to be sorted by stake, descending). This uniquely identifies the validator, while being shorter than ComponentAddress (we do care about the constant factor of the space taken by LeaderProposalHistory under prolonged liveness break scenarios).
ValidatorLockOwnerStakeUnitsOutput
ValidatorRegisterManifestInput
ValidatorRegisterOutput
ValidatorSignalProtocolUpdateReadinessManifestInput
ValidatorSignalProtocolUpdateReadinessOutput
ValidatorStakeAsOwnerOutput
ValidatorStakeOutput
ValidatorStartUnlockOwnerStakeUnitsManifestInput
ValidatorStartUnlockOwnerStakeUnitsOutput
ValidatorTotalStakeUnitSupplyManifestInput
ValidatorTotalStakeUnitSupplyOutput
ValidatorTotalStakeXrdAmountManifestInput
ValidatorTotalStakeXrdAmountOutput
ValidatorUnregisterManifestInput
ValidatorUnregisterOutput
ValidatorUnstakeOutput
ValidatorUpdateAcceptDelegatedStakeManifestInput
ValidatorUpdateAcceptDelegatedStakeOutput
ValidatorUpdateFeeManifestInput
ValidatorUpdateFeeOutput
ValidatorUpdateKeyManifestInput
ValidatorUpdateKeyOutput
VaultBurnManifestInput
VaultBurnOutput
VaultFreezeManifestInput
VaultFreezeOutput
VaultGetAmountManifestInput
VaultGetAmountOutput
VaultPutOutput
VaultRecallManifestInput
VaultRecallOutput
VaultTakeAdvancedManifestInput
VaultTakeAdvancedOutput
VaultTakeManifestInput
VaultTakeOutput
VaultUnfreezeManifestInput
VaultUnfreezeOutput
VersionedScryptoSchema
WorktopAssertContainsAmountManifestInput
WorktopAssertContainsAmountOutput
WorktopAssertContainsManifestInput
WorktopAssertContainsNonFungiblesManifestInput
WorktopAssertContainsNonFungiblesOutput
WorktopAssertContainsOutput
WorktopAssertResourcesIncludeOutput
WorktopAssertResourcesOnlyOutput
WorktopDrainManifestInput
WorktopDrainOutput
WorktopDropOutput
WorktopPutOutput
WorktopTakeAllManifestInput
WorktopTakeAllOutput
WorktopTakeManifestInput
WorktopTakeNonFungiblesManifestInput
WorktopTakeNonFungiblesOutput
WorktopTakeOutput

Attribute Macros§

blueprint
Declares a blueprint.

Derive Macros§

AsRefStr
Converts enum variants to &'static str.
AsStaticStr
BasicCategorize
Derive code that returns the value kind - specifically for Basic SBOR.
BasicDecode
Derive code that decodes this data structure from a byte array - specifically for Basic SBOR.
BasicDescribe
Derive code that describes the type - specifically for Basic SBOR.
BasicEncode
Derive code that encodes this data structure - specifically for Basic SBOR.
BasicSbor
A shortcut for BasicCategorize, BasicEncode, BasicDecode, and BasicDescribe derives.
BasicSborAssertion
A macro for outputting tests and marker traits to assert that a type has maintained its shape over time.
Categorize
Derive code that returns the value kind.
Clone
Derive macro generating an impl of the trait Clone.
Copy
Derive macro generating an impl of the trait Copy.
Debug
Derive macro generating an impl of the trait Debug.
Decode
Derive code that decodes this data structure from a byte array.
Default
Derive macro generating an impl of the trait Default.
Describe
Derive code that describes this type.
Display
Converts enum variants to strings.
Encode
Derive code that encodes this data structure
EnumCount
Add a constant usize equal to the number of variants.
EnumDiscriminants
Generate a new type with only the discriminant names.
EnumIter
Creates a new type that iterates of the variants of an enum.
EnumMessage
Add a verbose message to an enum variant.
EnumProperty
Add custom properties to enum variants.
EnumString
Converts strings to enum variants based on their name.
EnumVariantNames
Implements Strum::VariantNames which adds an associated constant VARIANTS which is an array of discriminant names.
Eq
Derive macro generating an impl of the trait Eq.
FromRepr
Add a function to enum that allows accessing variants by its discriminant
IntoStaticStr
Implements From<MyEnum> for &'static str on an enum.
ManifestCategorize
Derives code for categorizing a struct or enum with Manifest value model.
ManifestDecode
Derives code for decoding a struct or enum with Manifest value model.
ManifestEncode
Derives code for encoding a struct or enum with Manifest value model.
ManifestSbor
A shortcut for ManifestCategorize, ManifestEncode and ManifestDecode derives.
NonFungibleData
Derive code that describe a non-fungible data structure.
Ord
Derive macro generating an impl of the trait Ord. The behavior of this macro is described in detail here.
PartialEq
Derive macro generating an impl of the trait PartialEq. The behavior of this macro is described in detail here.
PartialOrd
Derive macro generating an impl of the trait PartialOrd. The behavior of this macro is described in detail here.
PermitSborAttributes
An empty derive which exists solely to allow the helper “sbor” attribute to be used without generating a compile error.
Sbor
A shortcut for Categorize, Encode, Decode, and Describe derives.
ScryptoCategorize
Derives code for categorizing a struct or enum with Scrypto value model.
ScryptoDecode
Derives code for decoding a struct or enum with Scrypto value model.
ScryptoDescribe
Derives code for describing a struct or enum with Scrypto schema.
ScryptoEncode
Derives code for encoding a struct or enum with Scrypto value model.
ScryptoEvent
Derive code for implementing the required logic to mark a type as being an event.
ScryptoSbor
A shortcut for ScryptoCategorize, ScryptoEncode, ScryptoDecode, and ScryptoDescribe derives.
ScryptoSborAssertion
A macro for outputting tests and marker traits to assert that a type has maintained its shape over time.
ToString
implements std::string::ToString on en enum