Enum near_parameters::parameter::Parameter
source · pub enum Parameter {
Show 123 variants
BurntGasReward,
PessimisticGasPriceInflation,
MinAllowedTopLevelAccountLength,
RegistrarAccountId,
StorageAmountPerByte,
StorageNumBytesAccount,
StorageNumExtraBytesRecord,
ActionReceiptCreation,
DataReceiptCreationBase,
DataReceiptCreationPerByte,
ActionCreateAccount,
ActionDeleteAccount,
ActionDeployContract,
ActionDeployContractPerByte,
ActionFunctionCall,
ActionFunctionCallPerByte,
ActionTransfer,
ActionStake,
ActionAddFullAccessKey,
ActionAddFunctionCallKey,
ActionAddFunctionCallKeyPerByte,
ActionDeleteKey,
ActionDelegate,
WasmRegularOpCost,
WasmGrowMemCost,
WasmBase,
WasmContractLoadingBase,
WasmContractLoadingBytes,
WasmReadMemoryBase,
WasmReadMemoryByte,
WasmWriteMemoryBase,
WasmWriteMemoryByte,
WasmReadRegisterBase,
WasmReadRegisterByte,
WasmWriteRegisterBase,
WasmWriteRegisterByte,
WasmUtf8DecodingBase,
WasmUtf8DecodingByte,
WasmUtf16DecodingBase,
WasmUtf16DecodingByte,
WasmSha256Base,
WasmSha256Byte,
WasmKeccak256Base,
WasmKeccak256Byte,
WasmKeccak512Base,
WasmKeccak512Byte,
WasmRipemd160Base,
WasmRipemd160Block,
WasmEcrecoverBase,
WasmEd25519VerifyBase,
WasmEd25519VerifyByte,
WasmLogBase,
WasmLogByte,
WasmStorageWriteBase,
WasmStorageWriteKeyByte,
WasmStorageWriteValueByte,
WasmStorageWriteEvictedByte,
WasmStorageReadBase,
WasmStorageReadKeyByte,
WasmStorageReadValueByte,
WasmStorageRemoveBase,
WasmStorageRemoveKeyByte,
WasmStorageRemoveRetValueByte,
WasmStorageHasKeyBase,
WasmStorageHasKeyByte,
WasmStorageIterCreatePrefixBase,
WasmStorageIterCreatePrefixByte,
WasmStorageIterCreateRangeBase,
WasmStorageIterCreateFromByte,
WasmStorageIterCreateToByte,
WasmStorageIterNextBase,
WasmStorageIterNextKeyByte,
WasmStorageIterNextValueByte,
WasmTouchingTrieNode,
WasmReadCachedTrieNode,
WasmPromiseAndBase,
WasmPromiseAndPerPromise,
WasmPromiseReturn,
WasmValidatorStakeBase,
WasmValidatorTotalStakeBase,
WasmAltBn128G1MultiexpBase,
WasmAltBn128G1MultiexpElement,
WasmAltBn128PairingCheckBase,
WasmAltBn128PairingCheckElement,
WasmAltBn128G1SumBase,
WasmAltBn128G1SumElement,
MaxGasBurnt,
MaxGasBurntView,
MaxStackHeight,
ContractPrepareVersion,
InitialMemoryPages,
MaxMemoryPages,
RegistersMemoryLimit,
MaxRegisterSize,
MaxNumberRegisters,
MaxNumberLogs,
MaxTotalLogLength,
MaxTotalPrepaidGas,
MaxActionsPerReceipt,
MaxNumberBytesMethodNames,
MaxLengthMethodName,
MaxArgumentsLength,
MaxLengthReturnedData,
MaxContractSize,
MaxTransactionSize,
MaxLengthStorageKey,
MaxLengthStorageValue,
MaxPromisesPerFunctionCallAction,
MaxNumberInputDataDependencies,
MaxFunctionsNumberPerContract,
Wasmer2StackLimit,
MaxLocalsPerContract,
AccountIdValidityRulesVersion,
Disable9393Fix,
FlatStorageReads,
ImplicitAccountCreation,
FixContractLoadingCost,
MathExtension,
Ed25519Verify,
AltBn128,
FunctionCallWeight,
VmKind,
EthImplicitAccounts,
}
Expand description
Protocol configuration parameter which may change between protocol versions.
Variants§
BurntGasReward
PessimisticGasPriceInflation
MinAllowedTopLevelAccountLength
RegistrarAccountId
StorageAmountPerByte
StorageNumBytesAccount
StorageNumExtraBytesRecord
ActionReceiptCreation
DataReceiptCreationBase
DataReceiptCreationPerByte
ActionCreateAccount
ActionDeleteAccount
ActionDeployContract
ActionDeployContractPerByte
ActionFunctionCall
ActionFunctionCallPerByte
ActionTransfer
ActionStake
ActionAddFullAccessKey
ActionAddFunctionCallKey
ActionAddFunctionCallKeyPerByte
ActionDeleteKey
ActionDelegate
WasmRegularOpCost
WasmGrowMemCost
WasmBase
Base cost for a host function
WasmContractLoadingBase
WasmContractLoadingBytes
WasmReadMemoryBase
WasmReadMemoryByte
WasmWriteMemoryBase
WasmWriteMemoryByte
WasmReadRegisterBase
WasmReadRegisterByte
WasmWriteRegisterBase
WasmWriteRegisterByte
WasmUtf8DecodingBase
WasmUtf8DecodingByte
WasmUtf16DecodingBase
WasmUtf16DecodingByte
WasmSha256Base
WasmSha256Byte
WasmKeccak256Base
WasmKeccak256Byte
WasmKeccak512Base
WasmKeccak512Byte
WasmRipemd160Base
WasmRipemd160Block
WasmEcrecoverBase
WasmEd25519VerifyBase
WasmEd25519VerifyByte
WasmLogBase
WasmLogByte
WasmStorageWriteBase
WasmStorageWriteKeyByte
WasmStorageWriteValueByte
WasmStorageWriteEvictedByte
WasmStorageReadBase
WasmStorageReadKeyByte
WasmStorageReadValueByte
WasmStorageRemoveBase
WasmStorageRemoveKeyByte
WasmStorageRemoveRetValueByte
WasmStorageHasKeyBase
WasmStorageHasKeyByte
WasmStorageIterCreatePrefixBase
WasmStorageIterCreatePrefixByte
WasmStorageIterCreateRangeBase
WasmStorageIterCreateFromByte
WasmStorageIterCreateToByte
WasmStorageIterNextBase
WasmStorageIterNextKeyByte
WasmStorageIterNextValueByte
WasmTouchingTrieNode
WasmReadCachedTrieNode
WasmPromiseAndBase
WasmPromiseAndPerPromise
WasmPromiseReturn
WasmValidatorStakeBase
WasmValidatorTotalStakeBase
WasmAltBn128G1MultiexpBase
WasmAltBn128G1MultiexpElement
WasmAltBn128PairingCheckBase
WasmAltBn128PairingCheckElement
WasmAltBn128G1SumBase
WasmAltBn128G1SumElement
MaxGasBurnt
MaxGasBurntView
MaxStackHeight
ContractPrepareVersion
InitialMemoryPages
MaxMemoryPages
RegistersMemoryLimit
MaxRegisterSize
MaxNumberRegisters
MaxNumberLogs
MaxTotalLogLength
MaxTotalPrepaidGas
MaxActionsPerReceipt
MaxNumberBytesMethodNames
MaxLengthMethodName
MaxArgumentsLength
MaxLengthReturnedData
MaxContractSize
MaxTransactionSize
MaxLengthStorageKey
MaxLengthStorageValue
MaxPromisesPerFunctionCallAction
MaxNumberInputDataDependencies
MaxFunctionsNumberPerContract
Wasmer2StackLimit
MaxLocalsPerContract
AccountIdValidityRulesVersion
Disable9393Fix
FlatStorageReads
ImplicitAccountCreation
FixContractLoadingCost
MathExtension
Ed25519Verify
AltBn128
FunctionCallWeight
VmKind
EthImplicitAccounts
Implementations§
Trait Implementations§
source§impl Ord for Parameter
impl Ord for Parameter
source§impl PartialEq for Parameter
impl PartialEq for Parameter
source§impl PartialOrd for Parameter
impl PartialOrd for Parameter
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Parameter
impl Eq for Parameter
impl StructuralEq for Parameter
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.