Enum diem_framework_releases::legacy::transaction_scripts::LegacyStdlibScript[][src]

pub enum LegacyStdlibScript {
Show 33 variants AddCurrencyToAccount, AddRecoveryRotationCapability, AddValidatorAndReconfigure, Burn, BurnTxnFees, CancelBurn, CreateChildVaspAccount, CreateDesignatedDealer, CreateParentVaspAccount, CreateRecoveryAddress, CreateValidatorAccount, CreateValidatorOperatorAccount, FreezeAccount, PeerToPeerWithMetadata, Preburn, PublishSharedEd2551PublicKey, RegisterValidatorConfig, RemoveValidatorAndReconfigure, RotateAuthenticationKey, RotateAuthenticationKeyWithNonce, RotateAuthenticationKeyWithNonceAdmin, RotateAuthenticationKeyWithRecoveryAddress, RotateDualAttestationInfo, RotateSharedEd2551PublicKey, SetValidatorConfigAndReconfigure, SetValidatorOperator, SetValidatorOperatorWithNonceAdmin, TieredMint, UnfreezeAccount, UpdateExchangeRate, UpdateDiemVersion, UpdateMintingAbility, UpdateDualAttestationLimit,
}
Expand description

All of the Move transaction scripts that can be executed on the Diem blockchain

Variants

AddCurrencyToAccount
AddRecoveryRotationCapability
AddValidatorAndReconfigure
Burn
BurnTxnFees
CancelBurn
CreateChildVaspAccount
CreateDesignatedDealer
CreateParentVaspAccount
CreateRecoveryAddress
CreateValidatorAccount
CreateValidatorOperatorAccount
FreezeAccount
PeerToPeerWithMetadata
Preburn
PublishSharedEd2551PublicKey
RegisterValidatorConfig
RemoveValidatorAndReconfigure
RotateAuthenticationKey
RotateAuthenticationKeyWithNonce
RotateAuthenticationKeyWithNonceAdmin
RotateAuthenticationKeyWithRecoveryAddress
RotateDualAttestationInfo
RotateSharedEd2551PublicKey
SetValidatorConfigAndReconfigure
SetValidatorOperator
SetValidatorOperatorWithNonceAdmin
TieredMint
UnfreezeAccount
UpdateExchangeRate
UpdateDiemVersion
UpdateMintingAbility
UpdateDualAttestationLimit

Implementations

Return a vector containing all of the standard library scripts (i.e., all inhabitants of the StdlibScript enum)

Construct the allowlist of script hashes used to determine whether a transaction script can be executed on the Diem blockchain

Return a lowercase-underscore style name for this script

Return true if code_bytes is the bytecode of one of the standard library scripts

Return the Move bytecode that was produced by compiling this script.

Return the ABI of the script (including the bytecode). NB: For legacy scripts, the script ABI will always be a TransactionScriptABI.

Return the sha3-256 hash of the compiled script bytes.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Return Some(<script_name>) if code_bytes is the bytecode of one of the standard library scripts, None otherwise.

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.