Module resource

Module resource 

Source

Re-exports§

pub use resource_manager::ResourceFeature::*;

Structs§

AuthZoneAssertAccessRuleInput
AuthZoneCreateProofOfAllInput
AuthZoneCreateProofOfAmountInput
AuthZoneCreateProofOfNonFungiblesInput
AuthZoneDrainInput
AuthZoneDropProofsInput
AuthZoneDropRegularProofsInput
AuthZoneDropSignatureProofsInput
AuthZonePopInput
AuthZonePushInput
AuthZonePushManifestInput
AuthZoneRef
Bucket
BucketCreateProofOfAllInput
BucketGetAmountInput
BucketGetNonFungibleLocalIdsInput
BucketGetResourceAddressInput
BucketPutInput
BucketPutManifestInput
BucketTakeAdvancedInput
BucketTakeInput
BucketTakeNonFungiblesInput
BurnRoles
DepositRoles
FreezeRoles
FungibleBucket
FungibleBucketCreateProofOfAmountInput
FungibleBucketLockAmountInput
FungibleBucketUnlockAmountInput
FungibleProof
FungibleResourceManagerCreateInput
FungibleResourceManagerCreateManifestInput
FungibleResourceManagerCreateWithInitialSupplyInput
FungibleResourceManagerCreateWithInitialSupplyManifestInput
FungibleResourceManagerMintInput
FungibleResourceRoles
FungibleVault
FungibleVaultCreateProofOfAmountInput
FungibleVaultLockFeeInput
FungibleVaultLockFungibleAmountInput
FungibleVaultUnlockFungibleAmountInput
LiquidFungibleResource
LiquidNonFungibleResource
LiquidNonFungibleVault
LocalNonFungibleDataSchema
LockedFungibleResource
LockedNonFungibleResource
MethodKey
MintRoles
ModuleRoleKey
NonFungibleBucket
NonFungibleBucketContainsNonFungibleInput
NonFungibleBucketCreateProofOfNonFungiblesInput
NonFungibleBucketLockNonFungiblesInput
NonFungibleBucketUnlockNonFungiblesInput
NonFungibleDataUpdateRoles
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
OwnedWorktop
OwnerRoleEntry
Proof
ProofCloneInput
ProofDropInput
ProofDropManifestInput
ProofGetAmountInput
ProofGetResourceAddressInput
RecallRoles
RemoteNonFungibleDataSchema
ResourceManagerBurnInput
ResourceManagerBurnManifestInput
ResourceManagerCreateEmptyBucketInput
ResourceManagerCreateEmptyVaultInput
ResourceManagerDropEmptyBucketInput
ResourceManagerDropEmptyBucketManifestInput
ResourceManagerGetAmountForWithdrawalInput
ResourceManagerGetResourceTypeInput
ResourceManagerGetTotalSupplyInput
ResourceManagerPackageBurnInput
ResourceManagerPackageBurnManifestInput
ResourceOrNonFungibleList
RoleAssignmentInit
RoleKey
RoleList
Vault
VaultBurnInput
VaultFreezeFlags
VaultFreezeInput
VaultFrozenFlag
VaultGetAmountInput
VaultPutInput
VaultPutManifestInput
VaultRecallInput
VaultTakeAdvancedInput
VaultTakeInput
VaultUnfreezeInput
WithdrawRoles
WorktopAssertContainsAmountInput
WorktopAssertContainsInput
WorktopAssertContainsNonFungiblesInput
WorktopAssertResourcesIncludeInput
WorktopAssertResourcesOnlyInput
WorktopDrainInput
WorktopDropInput
WorktopDropManifestInput
WorktopPutInput
WorktopPutManifestInput
WorktopTakeAllInput
WorktopTakeInput
WorktopTakeNonFungiblesInput

Enums§

AccessRule
BasicRequirement
Resource Proof Rules
CompositeRequirement
ManifestResourceOrNonFungible
MethodAccessibility
NonFungibleDataSchema
OwnerRole
Front end data structure for specifying owner role
OwnerRoleUpdater
ResourceError
ResourceFeature
ResourceOrNonFungible
ResourceType
Represents the type of a resource.
WithdrawStrategy
Define the withdraw strategy when request amount does not match underlying resource divisibility.

Constants§

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
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
DEPOSITOR_ROLE
DEPOSITOR_UPDATER_ROLE
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
MINTER_ROLE
MINTER_UPDATER_ROLE
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_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
OWNER_ROLE
PROOF_CLONE_IDENT
PROOF_DROP_IDENT
PROOF_GET_AMOUNT_IDENT
PROOF_GET_RESOURCE_ADDRESS_IDENT
RECALLER_ROLE
RECALLER_UPDATER_ROLE
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
SELF_ROLE
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
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

Traits§

AccessRuleVisitor
ForWithdrawal

Functions§

check_fungible_amount
check_non_fungible_amount
global_caller
A requirement for the global ancestor of the actor who made the latest global call to either be:
package_of_direct_caller
A requirement for the immediate caller’s package to equal the given package.
require
require_all_of
require_amount
require_any_of
require_n_of
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.

Type Aliases§

AuthZoneAssertAccessRuleManifestInput
AuthZoneAssertAccessRuleOutput
AuthZoneCreateProofOfAllManifestInput
AuthZoneCreateProofOfAllOutput
AuthZoneCreateProofOfAmountManifestInput
AuthZoneCreateProofOfAmountOutput
AuthZoneCreateProofOfNonFungiblesManifestInput
AuthZoneCreateProofOfNonFungiblesOutput
AuthZoneDrainManifestInput
AuthZoneDrainOutput
AuthZoneDropProofsManifestInput
AuthZoneDropProofsOutput
AuthZoneDropRegularProofsManifestInput
AuthZoneDropRegularProofsOutput
AuthZoneDropSignatureProofsManifestInput
AuthZoneDropSignatureProofsOutput
AuthZonePopManifestInput
AuthZonePopOutput
AuthZonePushOutput
BucketCreateProofOfAllManifestInput
BucketCreateProofOfAllOutput
BucketGetAmountManifestInput
BucketGetAmountOutput
BucketGetNonFungibleLocalIdsManifestInput
BucketGetNonFungibleLocalIdsOutput
BucketGetResourceAddressManifestInput
BucketGetResourceAddressOutput
BucketPutOutput
BucketTakeAdvancedManifestInput
BucketTakeAdvancedOutput
BucketTakeManifestInput
BucketTakeNonFungiblesManifestInput
BucketTakeNonFungiblesOutput
BucketTakeOutput
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
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
ProofCloneManifestInput
ProofCloneOutput
ProofDropOutput
ProofGetAmountManifestInput
ProofGetAmountOutput
ProofGetResourceAddressManifestInput
ProofGetResourceAddressOutput
ResourceManagerBurnOutput
ResourceManagerCreateEmptyBucketManifestInput
ResourceManagerCreateEmptyBucketOutput
ResourceManagerCreateEmptyVaultManifestInput
ResourceManagerCreateEmptyVaultOutput
ResourceManagerDropEmptyBucketOutput
ResourceManagerGetAmountForWithdrawalManifestInput
ResourceManagerGetAmountForWithdrawalOutput
ResourceManagerGetResourceTypeManifestInput
ResourceManagerGetResourceTypeOutput
ResourceManagerGetTotalSupplyManifestInput
ResourceManagerGetTotalSupplyOutput
ResourceManagerPackageBurnOutput
VaultBurnManifestInput
VaultBurnOutput
VaultFreezeManifestInput
VaultFreezeOutput
VaultGetAmountManifestInput
VaultGetAmountOutput
VaultPutOutput
VaultRecallManifestInput
VaultRecallOutput
VaultTakeAdvancedManifestInput
VaultTakeAdvancedOutput
VaultTakeManifestInput
VaultTakeOutput
VaultUnfreezeManifestInput
VaultUnfreezeOutput
WorktopAssertContainsAmountManifestInput
WorktopAssertContainsAmountOutput
WorktopAssertContainsManifestInput
WorktopAssertContainsNonFungiblesManifestInput
WorktopAssertContainsNonFungiblesOutput
WorktopAssertContainsOutput
WorktopAssertResourcesIncludeOutput
WorktopAssertResourcesOnlyOutput
WorktopDrainManifestInput
WorktopDrainOutput
WorktopDropOutput
WorktopPutOutput
WorktopTakeAllManifestInput
WorktopTakeAllOutput
WorktopTakeManifestInput
WorktopTakeNonFungiblesManifestInput
WorktopTakeNonFungiblesOutput
WorktopTakeOutput