diff --git a/help.html b/help.html index 18b2995837..6d33565739 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -
false
, then the subcall will not be executed and the evm transaction will
+) -> EvmResult<bool>false
, then the subcall will not be executed and the evm transaction will
revert with error message “CallFiltered”.true
) or not.self
matches at least everything that _o
does.pub struct PrecompilesValue;
Returns the value of this parameter type.
-Operational
extrinsics to compute “virtual tip” to boost their
priority
Read morepallet_ethereum
+manage existing preimages.pallet_ethereum
where the chain implementing pallet_ethereum
should be able to configure what happens to the fees
Similar to OnChargeTransaction
of pallet_transaction_payment
None
is returned. Read moreReturns Choice::from(1) iff x > y, and Choice::from(0) iff x <= y.
This algoritm would also work for signed integers if we first diff --git a/moonbase_runtime/type.BlockNumber.html b/moonbase_runtime/type.BlockNumber.html index 64e128e57f..e272107e2c 100644 --- a/moonbase_runtime/type.BlockNumber.html +++ b/moonbase_runtime/type.BlockNumber.html @@ -972,7 +972,7 @@
None
is returned. Read moreReturns Choice::from(1) iff x > y, and Choice::from(0) iff x <= y.
This algoritm would also work for signed integers if we first diff --git a/moonbase_runtime/type.Hash.html b/moonbase_runtime/type.Hash.html index 364fecaa20..fa840f4b73 100644 --- a/moonbase_runtime/type.Hash.html +++ b/moonbase_runtime/type.Hash.html @@ -64,7 +64,7 @@
Create a new hash with cryptographically random content using the given random number generator.
Create a new hash with cryptographically random content.
-&=
operation. Read more&=
operation. Read more|=
operation. Read more|=
operation. Read more^=
operation. Read more^=
operation. Read more&=
operation. Read more&=
operation. Read more|=
operation. Read more|=
operation. Read more^=
operation. Read more^=
operation. Read moreCreates a hash type instance from the given string.
The given input string is interpreted in big endian.
None
is returned. Read moreReturns Choice::from(1) iff x > y, and Choice::from(0) iff x <= y.
This algoritm would also work for signed integers if we first diff --git a/moonbase_runtime/type.MoonbasePrecompiles.html b/moonbase_runtime/type.MoonbasePrecompiles.html index e48f5b1f01..a9aa71da37 100644 --- a/moonbase_runtime/type.MoonbasePrecompiles.html +++ b/moonbase_runtime/type.MoonbasePrecompiles.html @@ -1,4 +1,4 @@ -
pub type MoonbasePrecompiles<R> = PrecompileSetBuilder<R, (PrecompilesInRangeInclusive<(AddressU64<1>, AddressU64<4095>), (PrecompileAt<AddressU64<1>, ECRecover, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2>, Sha256, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<3>, Ripemd160, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<4>, Identity, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<5>, Modexp, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<6>, Bn128Add, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<7>, Bn128Mul, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<8>, Bn128Pairing, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<9>, Blake2F, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1024>, Sha3FIPS256, (CallableByContract, CallableByPrecompile)>, RemovedPrecompileAt<AddressU64<1025>>, PrecompileAt<AddressU64<1026>, ECRecoverPublicKey, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1027>, StorageCleanerPrecompile<R>, CallableByPrecompile>, PrecompileAt<AddressU64<2048>, ParachainStakingPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2049>, CrowdloanRewardsPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<ERC20_BALANCES_PRECOMPILE>, Erc20BalancesPrecompile<R, NativeErc20Metadata>, (CallableByContract, CallableByPrecompile)>, RemovedPrecompileAt<AddressU64<2051>>, PrecompileAt<AddressU64<2052>, XtokensPrecompile<R>, (SubcallWithMaxNesting<1>, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2053>, RelayEncoderPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2054>, XcmTransactorPrecompileV1<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2055>, AuthorMappingPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2056>, BatchPrecompile<R>, (SubcallWithMaxNesting<2>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2057>, RandomnessPrecompile<R>, (SubcallWithMaxNesting<0>, CallableByContract)>, PrecompileAt<AddressU64<2058>, CallPermitPrecompile<R>, (SubcallWithMaxNesting<0>, CallableByContract)>, PrecompileAt<AddressU64<2059>, ProxyPrecompile<R>, (CallableByContract<OnlyIsProxyAndProxy<R>>, SubcallWithMaxNesting<0>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2060>, XcmUtilsPrecompile<R, XcmExecutorConfig>, CallableByContract<AllExceptXcmExecute<R, XcmExecutorConfig>>>, PrecompileAt<AddressU64<2061>, XcmTransactorPrecompileV2<R>, (CallableByContract, CallableByPrecompile)>, RemovedPrecompileAt<AddressU64<2062>>, RemovedPrecompileAt<AddressU64<2063>>, PrecompileAt<AddressU64<2064>, CollectivePrecompile<R, TreasuryCouncilInstance>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2065>, ReferendaPrecompile<R, Origin>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2066>, ConvictionVotingPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2067>, PreimagePrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2068>, CollectivePrecompile<R, OpenTechCommitteeInstance>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2069>, PrecompileRegistry<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2070>, GmpPrecompile<R>, SubcallWithMaxNesting<0>>, PrecompileAt<AddressU64<2071>, XcmTransactorPrecompileV3<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2072>, IdentityPrecompile<R, MaxAdditionalFields>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2073>, RelayDataVerifierPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2074>, PalletXcmPrecompile<R, (SingleAddressMatcher<AccountId, ERC20_BALANCES_PRECOMPILE, Balances>, ForeignAssetMatcher<AccountId, AssetId, Runtime, AsAssetType<AssetId, AssetType, AssetManager>>, Erc20PalletMatcher<AccountId, Erc20XcmBridge>)>, (CallableByContract, CallableByPrecompile)>)>, PrecompileSetStartingWith<ForeignAssetPrefix, Erc20AssetsPrecompileSet<R, ForeignAssetInstance>, (CallableByContract, CallableByPrecompile)>, RemovedPrecompilesAt<DisabledLocalAssets<R>>)>;
The PrecompileSet installed in the Moonbase runtime. +
pub type MoonbasePrecompiles<R> = PrecompileSetBuilder<R, (PrecompilesInRangeInclusive<(AddressU64<1>, AddressU64<4095>), (PrecompileAt<AddressU64<1>, ECRecover, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2>, Sha256, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<3>, Ripemd160, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<4>, Identity, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<5>, Modexp, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<6>, Bn128Add, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<7>, Bn128Mul, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<8>, Bn128Pairing, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<9>, Blake2F, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1024>, Sha3FIPS256, (CallableByContract, CallableByPrecompile)>, RemovedPrecompileAt<AddressU64<1025>>, PrecompileAt<AddressU64<1026>, ECRecoverPublicKey, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1027>, StorageCleanerPrecompile<R>, CallableByPrecompile>, PrecompileAt<AddressU64<2048>, ParachainStakingPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2049>, CrowdloanRewardsPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<ERC20_BALANCES_PRECOMPILE>, Erc20BalancesPrecompile<R, NativeErc20Metadata>, (CallableByContract, CallableByPrecompile)>, RemovedPrecompileAt<AddressU64<2051>>, PrecompileAt<AddressU64<2052>, XtokensPrecompile<R>, (SubcallWithMaxNesting<1>, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2053>, RelayEncoderPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2054>, XcmTransactorPrecompileV1<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2055>, AuthorMappingPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2056>, BatchPrecompile<R>, (SubcallWithMaxNesting<2>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2057>, RandomnessPrecompile<R>, (SubcallWithMaxNesting<0>, CallableByContract)>, PrecompileAt<AddressU64<2058>, CallPermitPrecompile<R>, (SubcallWithMaxNesting<0>, CallableByContract)>, PrecompileAt<AddressU64<2059>, ProxyPrecompile<R>, (CallableByContract<OnlyIsProxyAndProxy<R>>, SubcallWithMaxNesting<0>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2060>, XcmUtilsPrecompile<R, XcmExecutorConfig>, CallableByContract<AllExceptXcmExecute<R, XcmExecutorConfig>>>, PrecompileAt<AddressU64<2061>, XcmTransactorPrecompileV2<R>, (CallableByContract, CallableByPrecompile)>, RemovedPrecompileAt<AddressU64<2062>>, RemovedPrecompileAt<AddressU64<2063>>, PrecompileAt<AddressU64<2064>, CollectivePrecompile<R, TreasuryCouncilInstance>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2065>, ReferendaPrecompile<R, Origin>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2066>, ConvictionVotingPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2067>, PreimagePrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2068>, CollectivePrecompile<R, OpenTechCommitteeInstance>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2069>, PrecompileRegistry<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2070>, GmpPrecompile<R>, SubcallWithMaxNesting<0>>, PrecompileAt<AddressU64<2071>, XcmTransactorPrecompileV3<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2072>, IdentityPrecompile<R, MaxAdditionalFields>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2073>, RelayDataVerifierPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2074>, PalletXcmPrecompile<R, (SingleAddressMatcher<AccountId, ERC20_BALANCES_PRECOMPILE, Balances>, ForeignAssetMatcher<AccountId, AssetId, Runtime, AsAssetType<AssetId, AssetType, AssetManager>>, Erc20PalletMatcher<AccountId, Erc20XcmBridge>)>, (CallableByContract, CallableByPrecompile)>)>, PrecompileSetStartingWith<ForeignAssetPrefix, Erc20AssetsPrecompileSet<R, ForeignAssetInstance>, (CallableByContract, CallableByPrecompile)>, RemovedPrecompilesAt<DisabledLocalAssets<R>>)>;
The PrecompileSet installed in the Moonbase runtime. We include the nine Istanbul precompiles (https://github.com/ethereum/go-ethereum/blob/3c46f557/core/vm/contracts.go#L69) The following distribution has been decided for the precompiles diff --git a/moonbeam_client_evm_tracing/formatters/trait.ResponseFormatter.html b/moonbeam_client_evm_tracing/formatters/trait.ResponseFormatter.html index f2948a6a7f..7d4c720818 100644 --- a/moonbeam_client_evm_tracing/formatters/trait.ResponseFormatter.html +++ b/moonbeam_client_evm_tracing/formatters/trait.ResponseFormatter.html @@ -1,7 +1,7 @@
pub trait ResponseFormatter {
- type Listener: Listener;
+ type Listener: Listener;
type Response: Serialize;
// Required method
fn format(listener: Self::Listener) -> Option<Self::Response>;
-}
entries: Vec<BTreeMap<u32, BlockscoutCall>>
Called at the end of each transaction when tracing. Allow to insert the pending entries regardless of which runtime version is used (with or without EvmEvent::Exit).
-pub type Signature = EthereumSignature;
Alias to 512-bit hash when used in the context of a transaction signature on the chain.
+pub type Signature = EthereumSignature;
Alias to 512-bit hash when used in the context of a transaction signature on the chain.
struct Signature(/* private fields */);
pub fn step_event_filter() -> StepEventFilter
Allow the tracing module in the runtime to know how to filter Step event +
pub fn step_event_filter() -> StepEventFilter
Allow the tracing module in the runtime to know how to filter Step event content, as cloning the entire data is expensive and most of the time not necessary.
pub const KUSAMA_RELAY_INDICES: RelayChainIndices;
Kusama pallet and extrinsic indices
+pub const KUSAMA_RELAY_INDICES: RelayChainIndices;
Kusama pallet and extrinsic indices
pub struct KusamaEncoder;
pub struct KusamaEncoder;
pub const POLKADOT_RELAY_INDICES: RelayChainIndices;
Polkadot pallet and extrinsic indices
+pub const POLKADOT_RELAY_INDICES: RelayChainIndices;
Polkadot pallet and extrinsic indices
pub struct PolkadotEncoder;
pub struct PolkadotEncoder;
pub const WESTEND_RELAY_INDICES: RelayChainIndices;
Westend pallet and extrinsic indices
+pub const WESTEND_RELAY_INDICES: RelayChainIndices;
Westend pallet and extrinsic indices
pub struct WestendEncoder;
pub struct WestendEncoder;
pub enum Response {
- Single(TransactionTrace),
- Block(Vec<TransactionTrace>),
-}
Handler for debug_traceTransaction
request. Communicates with the service-defined task
using channels.
Handler for debug_traceCall
request. Communicates with the service-defined task
using channels.
Fetch the traces for given block hash. +) -> Result<Vec<TransactionTrace>, String>
Fetch the traces for given block hash. The task will answer only when it has processed this block. The block should be part of a batch first. If no batch has requested the block it will return an error.
diff --git a/moonbeam_rpc_trace/struct.Trace.html b/moonbeam_rpc_trace/struct.Trace.html index 0697f63714..3a63b2cd45 100644 --- a/moonbeam_rpc_trace/struct.Trace.html +++ b/moonbeam_rpc_trace/struct.Trace.html @@ -9,7 +9,7 @@ C: HeaderMetadata<B, Error = Error> + HeaderBackend<B> + Send + Sync + 'static,pub type ForeignAssetInstance = ();
Storage: ParachainStaking InflationConfig (r:1 w:1) + IT: Iterator<Item = ()>,
Storage: ParachainStaking InflationConfig (r:1 w:1) Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)
-Storage: ParachainStaking InflationConfig (r:1 w:1) +
Storage: ParachainStaking InflationConfig (r:1 w:1) Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)
-Storage: ParachainStaking ParachainBondInfo (r:1 w:1) +
Storage: ParachainStaking ParachainBondInfo (r:1 w:1) Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured)
-Storage: ParachainStaking ParachainBondInfo (r:1 w:1) +
Storage: ParachainStaking ParachainBondInfo (r:1 w:1) Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured)
-Storage: ParachainStaking TotalSelected (r:1 w:1) +
Storage: ParachainStaking TotalSelected (r:1 w:1) Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)
-Storage: ParachainStaking CollatorCommission (r:1 w:1) +
Storage: ParachainStaking CollatorCommission (r:1 w:1) Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured)
-Storage: ParachainStaking TotalSelected (r:1 w:0) +
Storage: ParachainStaking TotalSelected (r:1 w:0) Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking InflationConfig (r:1 w:1) Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)
-Storage: ParachainStaking CandidateInfo (r:1 w:1) +
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking DelegatorState (r:1 w:0)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
@@ -35,12 +35,12 @@
Storage: ParachainStaking BottomDelegations (r:0 w:1)
Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
The range of component x
is [3, 200]
.
Storage: ParachainStaking CandidateInfo (r:1 w:1) +
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [3, 200]
.
Storage: ParachainStaking CandidateInfo (r:1 w:1) +
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
@@ -61,7 +61,7 @@
Storage: ParachainStaking Total (r:1 w:1)
Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [2, 350]
.
Storage: ParachainStaking CandidateInfo (r:1 w:1) +
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
@@ -83,22 +83,22 @@
Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [2, 350]
.
The range of component y
is [2, 350]
.
Storage: ParachainStaking CandidateInfo (r:1 w:1) +
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [3, 200]
.
Storage: ParachainStaking CandidateInfo (r:1 w:1) +
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [1, 200]
.
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [1, 200]
.
Storage: ParachainStaking CandidateInfo (r:1 w:1) +
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
@@ -111,9 +111,9 @@
Storage: Balances Freezes (r:1 w:0)
Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
The range of component x
is [1, 200]
.
Storage: ParachainStaking CandidateInfo (r:1 w:1) +
Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
-Storage: ParachainStaking CandidateInfo (r:1 w:1) +
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
@@ -126,9 +126,9 @@
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
The range of component x
is [1, 200]
.
Storage: ParachainStaking CandidateInfo (r:1 w:1) +
Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
-Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
@@ -146,12 +146,12 @@
Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [3, 100]
.
The range of component y
is [2, 300]
.
Storage: ParachainStaking DelegatorState (r:1 w:1) +
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
The range of component x
is [0, 349]
.
Storage: ParachainStaking DelegatorState (r:1 w:1) +
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0)
Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
@@ -170,12 +170,12 @@
Storage: ParachainStaking Total (r:1 w:1)
Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [0, 349]
.
Storage: ParachainStaking DelegatorState (r:1 w:1) +
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
The range of component x
is [0, 349]
.
Storage: ParachainStaking DelegatorState (r:1 w:1) +
Storage: ParachainStaking DelegatorState (r:1 w:1) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) @@ -195,7 +195,7 @@ Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
-Storage: ParachainStaking DelegatorState (r:1 w:1) +
Storage: ParachainStaking DelegatorState (r:1 w:1) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) @@ -217,7 +217,7 @@ Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
-Storage: ParachainStaking DelegatorState (r:1 w:1) +
Storage: ParachainStaking DelegatorState (r:1 w:1) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) @@ -237,12 +237,12 @@ Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
-Storage: ParachainStaking DelegatorState (r:1 w:1) +
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
The range of component x
is [0, 349]
.
Storage: ParachainStaking Points (r:1 w:0) +
Storage: ParachainStaking Points (r:1 w:0) Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking Staked (r:1 w:1) Proof Skipped: ParachainStaking Staked (max_values: None, max_size: None, mode: Measured) @@ -256,12 +256,12 @@ Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking DelayedPayouts (r:0 w:1) Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured)
-Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) +
Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0)
Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking TopDelegations (r:1 w:0)
Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
The range of component y
is [0, 100]
.
Storage: ParachainStaking TotalSelected (r:1 w:0) +
Storage: ParachainStaking TotalSelected (r:1 w:0)
Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainStaking CandidatePool (r:1 w:0)
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
@@ -279,7 +279,7 @@
Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured)
The range of component x
is [0, 50]
.
The range of component y
is [0, 100]
.
Storage: System Account (r:349 w:349) +
Storage: System Account (r:349 w:349)
Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
Storage: ParachainStaking DelegatorState (r:349 w:349)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
@@ -302,7 +302,7 @@
The range of component x
is [0, 349]
.
The range of component y
is [0, 349]
.
The range of component z
is [0, 349]
.
Storage: ParachainStaking DelayedPayouts (r:1 w:0) +
Storage: ParachainStaking DelayedPayouts (r:1 w:0)
Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking Points (r:1 w:0)
Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured)
@@ -317,13 +317,13 @@
Storage: System Account (r:301 w:301)
Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
The range of component y
is [0, 300]
.
Storage: ParachainStaking DelegatorState (r:1 w:0) +
Storage: ParachainStaking DelegatorState (r:1 w:0)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
The range of component x
is [0, 300]
.
The range of component y
is [0, 100]
.
Storage: System Account (r:1 w:1) +
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
@@ -346,7 +346,7 @@
The range of component x
is [0, 350]
.
The range of component y
is [0, 349]
.
The range of component z
is [0, 99]
.
Storage: System Account (r:2 w:2) +
Storage: System Account (r:2 w:2) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) Storage: ParachainStaking DelegatorState (r:2 w:2) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) @@ -368,9 +368,9 @@ Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
-Storage: System Account (r:1 w:1) +
Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
-Storage: ParachainStaking EnableMarkingOffline (r:1 w:0) +
Storage: ParachainStaking EnableMarkingOffline (r:1 w:0) Proof Skipped: ParachainStaking EnableMarkingOffline (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking TotalSelected (r:1 w:0) Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) @@ -386,6 +386,6 @@ Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
-false
, then the subcall will not be executed and the evm transaction will
+) -> EvmResult<bool>false
, then the subcall will not be executed and the evm transaction will
revert with error message “CallFiltered”.true
) or not.self
matches at least everything that _o
does.CallMetadata
], containing function and pallet name of the Call.module
.DispatchInfo
, containing relevant information of this dispatch. Read moretrue
) or not.self
matches at least everything that _o
does.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.CallMetadata
], containing function and pallet name of the Call.module
.DispatchInfo
, containing relevant information of this dispatch. Read moretrue
) or not.self
matches at least everything that _o
does.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Some(_)
if self
is an instance of sub type T
.Optionally convert the DispatchError
into the RuntimeError
.
Optionally convert the DispatchError
into the RuntimeError
.
Returns Some
if the error matches the DispatchError::Module
variant, otherwise None
.
source
. Read moresource
. Read moreself
and other
values to be equal, and is used
by ==
.pub struct InflationInfo<Balance> {
+InflationInfo in moonbeam_runtime - Rust Struct moonbeam_runtime::InflationInfo
pub struct InflationInfo<Balance> {
pub expect: Range<Balance>,
pub annual: Range<Perbill>,
pub round: Range<Perbill>,
}
Fields§
§expect: Range<Balance>
Staking expectations
§annual: Range<Perbill>
Annual inflation range
§round: Range<Perbill>
Round inflation range
-Implementations§
source§impl<Balance> InflationInfo<Balance>
Implementations§
§impl<Balance> InflationInfo<Balance>
pub fn new<T>(
annual: Range<Perbill>,
expect: Range<Balance>
) -> InflationInfo<Balance>where
- T: Config,
sourcepub fn set_round_from_annual<T>(&mut self, new: Range<Perbill>)where
- T: Config,
Set round inflation range according to input annual inflation range
-sourcepub fn reset_round<T>(&mut self, new_length: u32)where
- T: Config,
Reset round inflation rate based on changes to round length
-sourcepub fn set_expectations(&mut self, expect: Range<Balance>)
Set staking expectations
-Trait Implementations§
source§impl<Balance> Clone for InflationInfo<Balance>where
- Balance: Clone,
source§fn clone(&self) -> InflationInfo<Balance>
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl<Balance> Debug for InflationInfo<Balance>where
- Balance: Debug,
source§impl<Balance> Decode for InflationInfo<Balance>where
- Range<Balance>: Decode,
source§fn decode<__CodecInputEdqy>(
+ T: Config,
pub fn set_round_from_annual<T>(&mut self, new: Range<Perbill>)where
+ T: Config,
Set round inflation range according to input annual inflation range
+pub fn reset_round<T>(&mut self, new_length: u32)where
+ T: Config,
Reset round inflation rate based on changes to round length
+pub fn set_expectations(&mut self, expect: Range<Balance>)
Set staking expectations
+
Trait Implementations§
§impl<Balance> Clone for InflationInfo<Balance>where
+ Balance: Clone,
§fn clone(&self) -> InflationInfo<Balance>
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more§impl<Balance> Debug for InflationInfo<Balance>where
+ Balance: Debug,
§impl<Balance> Decode for InflationInfo<Balance>where
+ Range<Balance>: Decode,
§fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy
) -> Result<InflationInfo<Balance>, Error>where
__CodecInputEdqy: Input,
Attempt to deserialise the value from input.§fn decode_into<I>(
@@ -25,30 +25,30 @@
dst: &mut MaybeUninit<Self>
) -> Result<DecodeFinished, Error>where
I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more§fn skip<I>(input: &mut I) -> Result<(), Error>where
- I: Input,
Attempt to skip the encoded value from input. Read more§fn encoded_fixed_size() -> Option<usize>
Returns the fixed encoded size of the type. Read moresource§impl<Balance> Default for InflationInfo<Balance>where
- Balance: Default,
source§fn default() -> InflationInfo<Balance>
Returns the “default value” for a type. Read moresource§impl<'de, Balance> Deserialize<'de> for InflationInfo<Balance>where
- Balance: Deserialize<'de>,
source§fn deserialize<__D>(
+ I: Input,
Attempt to skip the encoded value from input. Read more§fn encoded_fixed_size() -> Option<usize>
Returns the fixed encoded size of the type. Read more§impl<Balance> Default for InflationInfo<Balance>where
+ Balance: Default,
§fn default() -> InflationInfo<Balance>
Returns the “default value” for a type. Read more§impl<'de, Balance> Deserialize<'de> for InflationInfo<Balance>where
+ Balance: Deserialize<'de>,
§fn deserialize<__D>(
__deserializer: __D
) -> Result<InflationInfo<Balance>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<Balance> Encode for InflationInfo<Balance>where
- Range<Balance>: Encode,
§impl<Balance> Encode for InflationInfo<Balance>where
+ Range<Balance>: Encode,
§fn encode_to<__CodecOutputEdqy>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)where
__CodecOutputEdqy: Output + ?Sized,
Convert self to a slice and append it to the destination.§fn using_encoded<R, F>(&self, f: F) -> Rwhere
- F: FnOnce(&[u8]) -> R,
Convert self to a slice and then invoke the given closure with it.§fn encoded_size(&self) -> usize
Calculates the encoded size. Read moresource§impl<Balance> PartialEq<InflationInfo<Balance>> for InflationInfo<Balance>where
- Balance: PartialEq<Balance>,
source§fn eq(&self, other: &InflationInfo<Balance>) -> bool
§impl<Balance> PartialEq<InflationInfo<Balance>> for InflationInfo<Balance>where
+ Balance: PartialEq<Balance>,
§fn eq(&self, other: &InflationInfo<Balance>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.§impl<Balance> Serialize for InflationInfo<Balance>where
+ Balance: Serialize,
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl<Balance> TypeInfo for InflationInfo<Balance>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<Balance> TypeInfo for InflationInfo<Balance>where
Range<Balance>: TypeInfo + 'static,
- Balance: TypeInfo + 'static,
source§impl<Balance> EncodeLike<InflationInfo<Balance>> for InflationInfo<Balance>where
- Range<Balance>: Encode,
source§impl<Balance> Eq for InflationInfo<Balance>where
- Balance: Eq,
source§impl<Balance> StructuralEq for InflationInfo<Balance>
source§impl<Balance> StructuralPartialEq for InflationInfo<Balance>
Auto Trait Implementations§
§impl<Balance> RefUnwindSafe for InflationInfo<Balance>where
+ Balance: TypeInfo + 'static,
§type Identity = InflationInfo<Balance>
The type identifying for which type info is provided. Read more§impl<Balance> EncodeLike<InflationInfo<Balance>> for InflationInfo<Balance>where
+ Range<Balance>: Encode,
§impl<Balance> Eq for InflationInfo<Balance>where
+ Balance: Eq,
§impl<Balance> StructuralEq for InflationInfo<Balance>
§impl<Balance> StructuralPartialEq for InflationInfo<Balance>
Auto Trait Implementations§
§impl<Balance> RefUnwindSafe for InflationInfo<Balance>where
Balance: RefUnwindSafe,
§impl<Balance> Send for InflationInfo<Balance>where
Balance: Send,
§impl<Balance> Sync for InflationInfo<Balance>where
Balance: Sync,
§impl<Balance> Unpin for InflationInfo<Balance>where
diff --git a/moonbeam_runtime/struct.OnInactiveCollator.html b/moonbeam_runtime/struct.OnInactiveCollator.html
index de4ba73ade..b2736a60af 100644
--- a/moonbeam_runtime/struct.OnInactiveCollator.html
+++ b/moonbeam_runtime/struct.OnInactiveCollator.html
@@ -1,6 +1,6 @@
-OnInactiveCollator in moonbeam_runtime - Rust Struct moonbeam_runtime::OnInactiveCollator
source · pub struct OnInactiveCollator;
Trait Implementations§
source§impl OnInactiveCollator<Runtime> for OnInactiveCollator
source§fn on_inactive_collator(
+OnInactiveCollator in moonbeam_runtime - Rust Struct moonbeam_runtime::OnInactiveCollator
source · pub struct OnInactiveCollator;
Trait Implementations§
source§impl OnInactiveCollator<Runtime> for OnInactiveCollator
source§fn on_inactive_collator(
collator_id: AccountId,
- round: RoundIndex
+ round: RoundIndex
) -> Result<Weight, DispatchErrorWithPostInfo<PostDispatchInfo>>
Auto Trait Implementations§
§impl RefUnwindSafe for OnInactiveCollator
§impl Send for OnInactiveCollator
§impl Sync for OnInactiveCollator
§impl Unpin for OnInactiveCollator
§impl UnwindSafe for OnInactiveCollator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/moonbeam_runtime/struct.OnNewRound.html b/moonbeam_runtime/struct.OnNewRound.html
index 5377eb85eb..2447f96d5a 100644
--- a/moonbeam_runtime/struct.OnNewRound.html
+++ b/moonbeam_runtime/struct.OnNewRound.html
@@ -1,4 +1,4 @@
-OnNewRound in moonbeam_runtime - Rust Struct moonbeam_runtime::OnNewRound
source · pub struct OnNewRound;
Trait Implementations§
source§impl OnNewRound for OnNewRound
source§fn on_new_round(round_index: RoundIndex) -> Weight
Auto Trait Implementations§
§impl RefUnwindSafe for OnNewRound
§impl Send for OnNewRound
§impl Sync for OnNewRound
§impl Unpin for OnNewRound
§impl UnwindSafe for OnNewRound
Blanket Implementations§
source§impl<T> Any for Twhere
+OnNewRound in moonbeam_runtime - Rust Struct moonbeam_runtime::OnNewRound
source · pub struct OnNewRound;
Trait Implementations§
source§impl OnNewRound for OnNewRound
source§fn on_new_round(round_index: RoundIndex) -> Weight
Auto Trait Implementations§
§impl RefUnwindSafe for OnNewRound
§impl Send for OnNewRound
§impl Sync for OnNewRound
§impl Unpin for OnNewRound
§impl UnwindSafe for OnNewRound
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
diff --git a/moonbeam_runtime/struct.PayoutCollatorOrOrbiterReward.html b/moonbeam_runtime/struct.PayoutCollatorOrOrbiterReward.html
index 304c1797bf..d3f30b80f4 100644
--- a/moonbeam_runtime/struct.PayoutCollatorOrOrbiterReward.html
+++ b/moonbeam_runtime/struct.PayoutCollatorOrOrbiterReward.html
@@ -1,5 +1,5 @@
-PayoutCollatorOrOrbiterReward in moonbeam_runtime - Rust pub struct PayoutCollatorOrOrbiterReward;
Trait Implementations§
source§impl PayoutCollatorReward<Runtime> for PayoutCollatorOrOrbiterReward
source§fn payout_collator_reward(
- for_round: RoundIndex,
+PayoutCollatorOrOrbiterReward in moonbeam_runtime - Rust pub struct PayoutCollatorOrOrbiterReward;
Trait Implementations§
source§impl PayoutCollatorReward<Runtime> for PayoutCollatorOrOrbiterReward
source§fn payout_collator_reward(
+ for_round: RoundIndex,
collator_id: AccountId,
amount: Balance
) -> Weight
Auto Trait Implementations§
§impl RefUnwindSafe for PayoutCollatorOrOrbiterReward
§impl Send for PayoutCollatorOrOrbiterReward
§impl Sync for PayoutCollatorOrOrbiterReward
§impl Unpin for PayoutCollatorOrOrbiterReward
§impl UnwindSafe for PayoutCollatorOrOrbiterReward
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/moonbeam_runtime/struct.PrecompilesValue.html b/moonbeam_runtime/struct.PrecompilesValue.html
index 5c5c61c3df..dc7bcc61fc 100644
--- a/moonbeam_runtime/struct.PrecompilesValue.html
+++ b/moonbeam_runtime/struct.PrecompilesValue.html
@@ -1,5 +1,5 @@
PrecompilesValue in moonbeam_runtime - Rust Struct moonbeam_runtime::PrecompilesValue
source · pub struct PrecompilesValue;
Implementations§
source§impl PrecompilesValue
sourcepub fn get() -> MoonbeamPrecompiles<Runtime>
Returns the value of this parameter type.
-Trait Implementations§
source§impl<_I: From<MoonbeamPrecompiles<Runtime>>> Get<_I> for PrecompilesValue
source§impl TypedGet for PrecompilesValue
§type Type = PrecompileSetBuilder<Runtime, (PrecompilesInRangeInclusive<(AddressU64<1>, AddressU64<4095>), (PrecompileAt<AddressU64<1>, ECRecover, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2>, Sha256, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<3>, Ripemd160, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<4>, Identity, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<5>, Modexp, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<6>, Bn128Add, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<7>, Bn128Mul, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<8>, Bn128Pairing, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<9>, Blake2F, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<1024>, Sha3FIPS256, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompileAt<AddressU64<1025>>, PrecompileAt<AddressU64<1026>, ECRecoverPublicKey, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2048>, ParachainStakingPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2049>, CrowdloanRewardsPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2050>, Erc20BalancesPrecompile<Runtime, NativeErc20Metadata, ()>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompileAt<AddressU64<2051>>, PrecompileAt<AddressU64<2052>, XtokensPrecompile<Runtime>, (SubcallWithMaxNesting<1>, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2053>, RelayEncoderPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2054>, XcmTransactorPrecompileV1<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2055>, AuthorMappingPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2056>, BatchPrecompile<Runtime>, (SubcallWithMaxNesting<2>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2057>, RandomnessPrecompile<Runtime>, (SubcallWithMaxNesting<0>, CallableByContract<ForAllSelectors>)>, PrecompileAt<AddressU64<2058>, CallPermitPrecompile<Runtime>, (SubcallWithMaxNesting<0>, CallableByContract<ForAllSelectors>)>, PrecompileAt<AddressU64<2059>, ProxyPrecompile<Runtime>, (CallableByContract<OnlyIsProxyAndProxy<Runtime>>, SubcallWithMaxNesting<0>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2060>, XcmUtilsPrecompile<Runtime, XcmExecutorConfig>, CallableByContract<AllExceptXcmExecute<Runtime, XcmExecutorConfig>>>, PrecompileAt<AddressU64<2061>, XcmTransactorPrecompileV2<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompileAt<AddressU64<2062>>, RemovedPrecompileAt<AddressU64<2063>>, PrecompileAt<AddressU64<2064>, CollectivePrecompile<Runtime, Instance3>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2065>, ReferendaPrecompile<Runtime, Origin>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2066>, ConvictionVotingPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2067>, PreimagePrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2068>, CollectivePrecompile<Runtime, Instance4>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2069>, PrecompileRegistry<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2070>, GmpPrecompile<Runtime>, SubcallWithMaxNesting<0>>, PrecompileAt<AddressU64<2071>, XcmTransactorPrecompileV3<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2072>, IdentityPrecompile<Runtime, MaxAdditionalFields>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2073>, RelayDataVerifierPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>)>, PrecompileSetStartingWith<ForeignAssetPrefix, Erc20AssetsPrecompileSet<Runtime, ()>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompilesAt<DisabledLocalAssets<Runtime>>)>
The type which is returned.source§fn get() -> MoonbeamPrecompiles<Runtime>
Return the current value.Auto Trait Implementations§
§impl RefUnwindSafe for PrecompilesValue
§impl Send for PrecompilesValue
§impl Sync for PrecompilesValue
§impl Unpin for PrecompilesValue
§impl UnwindSafe for PrecompilesValue
Blanket Implementations§
Trait Implementations§
source§impl<_I: From<MoonbeamPrecompiles<Runtime>>> Get<_I> for PrecompilesValue
source§impl TypedGet for PrecompilesValue
§type Type = PrecompileSetBuilder<Runtime, (PrecompilesInRangeInclusive<(AddressU64<1>, AddressU64<4095>), (PrecompileAt<AddressU64<1>, ECRecover, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2>, Sha256, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<3>, Ripemd160, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<4>, Identity, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<5>, Modexp, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<6>, Bn128Add, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<7>, Bn128Mul, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<8>, Bn128Pairing, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<9>, Blake2F, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<1024>, Sha3FIPS256, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompileAt<AddressU64<1025>>, PrecompileAt<AddressU64<1026>, ECRecoverPublicKey, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2048>, ParachainStakingPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2049>, CrowdloanRewardsPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2050>, Erc20BalancesPrecompile<Runtime, NativeErc20Metadata, ()>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompileAt<AddressU64<2051>>, PrecompileAt<AddressU64<2052>, XtokensPrecompile<Runtime>, (SubcallWithMaxNesting<1>, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2053>, RelayEncoderPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2054>, XcmTransactorPrecompileV1<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2055>, AuthorMappingPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2056>, BatchPrecompile<Runtime>, (SubcallWithMaxNesting<2>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2057>, RandomnessPrecompile<Runtime>, (SubcallWithMaxNesting<0>, CallableByContract<ForAllSelectors>)>, PrecompileAt<AddressU64<2058>, CallPermitPrecompile<Runtime>, (SubcallWithMaxNesting<0>, CallableByContract<ForAllSelectors>)>, PrecompileAt<AddressU64<2059>, ProxyPrecompile<Runtime>, (CallableByContract<OnlyIsProxyAndProxy<Runtime>>, SubcallWithMaxNesting<0>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2060>, XcmUtilsPrecompile<Runtime, XcmExecutorConfig>, CallableByContract<AllExceptXcmExecute<Runtime, XcmExecutorConfig>>>, PrecompileAt<AddressU64<2061>, XcmTransactorPrecompileV2<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompileAt<AddressU64<2062>>, RemovedPrecompileAt<AddressU64<2063>>, PrecompileAt<AddressU64<2064>, CollectivePrecompile<Runtime, Instance3>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2065>, ReferendaPrecompile<Runtime, Origin>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2066>, ConvictionVotingPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2067>, PreimagePrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2068>, CollectivePrecompile<Runtime, Instance4>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2069>, PrecompileRegistry<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2070>, GmpPrecompile<Runtime>, SubcallWithMaxNesting<0>>, PrecompileAt<AddressU64<2071>, XcmTransactorPrecompileV3<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2072>, IdentityPrecompile<Runtime, MaxAdditionalFields>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2073>, RelayDataVerifierPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>)>, PrecompileSetStartingWith<ForeignAssetPrefix, Erc20AssetsPrecompileSet<Runtime, ()>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompilesAt<DisabledLocalAssets<Runtime>>)>
The type which is returned.source§fn get() -> MoonbeamPrecompiles<Runtime>
Return the current value.Auto Trait Implementations§
§impl RefUnwindSafe for PrecompilesValue
§impl Send for PrecompilesValue
§impl Sync for PrecompilesValue
§impl Unpin for PrecompilesValue
§impl UnwindSafe for PrecompilesValue
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
diff --git a/moonbeam_runtime/struct.Range.html b/moonbeam_runtime/struct.Range.html
index 754056d918..50745afe20 100644
--- a/moonbeam_runtime/struct.Range.html
+++ b/moonbeam_runtime/struct.Range.html
@@ -1,12 +1,12 @@
-Range in moonbeam_runtime - Rust Struct moonbeam_runtime::Range
source · pub struct Range<T> {
+Range in moonbeam_runtime - Rust Struct moonbeam_runtime::Range
pub struct Range<T> {
pub min: T,
pub ideal: T,
pub max: T,
-}
Fields§
§min: T
§ideal: T
§max: T
Implementations§
Trait Implementations§
source§impl<T> Decode for Range<T>where
- T: Decode,
source§fn decode<__CodecInputEdqy>(
+}Fields§
§min: T
§ideal: T
§max: T
Implementations§
Trait Implementations§
§impl<T> Decode for Range<T>where
+ T: Decode,
§fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy
) -> Result<Range<T>, Error>where
__CodecInputEdqy: Input,
Attempt to deserialise the value from input.§fn decode_into<I>(
@@ -14,32 +14,32 @@
dst: &mut MaybeUninit<Self>
) -> Result<DecodeFinished, Error>where
I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more§fn skip<I>(input: &mut I) -> Result<(), Error>where
- I: Input,
Attempt to skip the encoded value from input. Read more§fn encoded_fixed_size() -> Option<usize>
Returns the fixed encoded size of the type. Read moresource§impl<'de, T> Deserialize<'de> for Range<T>where
- T: Deserialize<'de>,
source§fn deserialize<__D>(
+ I: Input,
Attempt to skip the encoded value from input. Read more§fn encoded_fixed_size() -> Option<usize>
Returns the fixed encoded size of the type. Read more§impl<'de, T> Deserialize<'de> for Range<T>where
+ T: Deserialize<'de>,
§fn deserialize<__D>(
__deserializer: __D
) -> Result<Range<T>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<T> Encode for Range<T>where
+ T: Encode,
§fn encode_to<__CodecOutputEdqy>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)where
__CodecOutputEdqy: Output + ?Sized,
Convert self to a slice and append it to the destination.§fn using_encoded<R, F>(&self, f: F) -> Rwhere
- F: FnOnce(&[u8]) -> R,
Convert self to a slice and then invoke the given closure with it.§fn encoded_size(&self) -> usize
Calculates the encoded size. Read moresource§impl<T> MaxEncodedLen for Range<T>where
- T: MaxEncodedLen,
source§fn max_encoded_len() -> usize
Upper bound, in bytes, of the maximum encoded size of this item.source§impl<T> PartialEq<Range<T>> for Range<T>where
- T: PartialEq<T>,
§impl<T> MaxEncodedLen for Range<T>where
+ T: MaxEncodedLen,
§fn max_encoded_len() -> usize
Upper bound, in bytes, of the maximum encoded size of this item.§impl<T> Serialize for Range<T>where
+ T: Serialize,
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl<T> Copy for Range<T>where
- T: Copy,
source§impl<T> EncodeLike<Range<T>> for Range<T>where
- T: Encode,
source§impl<T> Eq for Range<T>where
- T: Eq,
source§impl<T> StructuralEq for Range<T>
source§impl<T> StructuralPartialEq for Range<T>
Auto Trait Implementations§
§impl<T> RefUnwindSafe for Range<T>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl<T> Copy for Range<T>where
+ T: Copy,
§impl<T> EncodeLike<Range<T>> for Range<T>where
+ T: Encode,
§impl<T> Eq for Range<T>where
+ T: Eq,
§impl<T> StructuralEq for Range<T>
§impl<T> StructuralPartialEq for Range<T>
Auto Trait Implementations§
§impl<T> RefUnwindSafe for Range<T>where
T: RefUnwindSafe,
§impl<T> Send for Range<T>where
T: Send,
§impl<T> Sync for Range<T>where
T: Sync,
§impl<T> Unpin for Range<T>where
diff --git a/moonbeam_runtime/struct.Runtime.html b/moonbeam_runtime/struct.Runtime.html
index 48ab35ffcd..82f60cdcd2 100644
--- a/moonbeam_runtime/struct.Runtime.html
+++ b/moonbeam_runtime/struct.Runtime.html
@@ -42,7 +42,7 @@
that need to be presented to change a reward address through the relay keys
§type SignatureNetworkIdentifier = SignatureNetworkIdentifier
Network Identifier to be appended into the signatures for reward address change/association
Prevents replay attacks from one network to the other§type VestingBlockNumber = u32
The type that will be used to track vesting progress§type VestingBlockProvider = RelaychainDataProvider<Runtime>
The notion of time that will be used for vesting. Probably
either the relay chain or sovereign chain block number.§type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
The overarching event type.§type RuntimeCall = RuntimeCall
The overarching call type.§type PalletsOrigin = OriginCaller
The caller origin, overarching type of all pallets origins.§type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.source§impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
The overarching event type.source§impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
The overarching event type.§type RuntimeCall = RuntimeCall
The overarching call type.§type ProxyType = ProxyType
A kind of proxy; specified with the proxy and passed in to the IsProxyable
fitler.
-The instance filter determines whether a given call may be proxied under this type. Read more§type ProxyDepositBase = ConstU128<{ currency::deposit(1, 8) }>
The base amount of currency needed to reserve for creating a proxy. Read more§type ProxyDepositFactor = ConstU128<{ currency::deposit(0, 21) }>
The amount of currency needed per proxy added. Read more§type MaxProxies = ConstU32<32>
The maximum amount of proxies allowed for a single account.§type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.§type MaxPending = ConstU32<32>
The maximum amount of time-delayed announcements that are allowed to be pending.§type CallHasher = BlakeTwo256
The type of hash used for hashing the call.§type AnnouncementDepositBase = ConstU128<{ currency::deposit(1, 8) }>
The base amount of currency needed to reserve for creating an announcement. Read more§type AnnouncementDepositFactor = ConstU128<{ currency::deposit(0, 56) }>
The amount of currency needed per announcement made. Read moresource§impl Config for Runtime
§type FeeCalculator = TransactionPaymentAsGasPrice
Calculator for current gas price.§type GasWeightMapping = FixedGasWeightMapping<Runtime>
Maps Ethereum gas to Substrate weight.§type WeightPerGas = WeightPerGas
Weight corresponding to a gas unit.§type BlockHashMapping = EthereumBlockHashMapping<Runtime>
Block number to block hash.§type CallOrigin = EnsureAddressRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Allow the origin to call on behalf of given address.§type WithdrawOrigin = EnsureAddressNever<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Allow the origin to withdraw on behalf of given address.§type AddressMapping = IdentityAddressMapping
Mapping from address to account id.§type RuntimeEvent = RuntimeEvent
The overarching event type.§type PrecompilesType = PrecompileSetBuilder<Runtime, (PrecompilesInRangeInclusive<(AddressU64<1>, AddressU64<4095>), (PrecompileAt<AddressU64<1>, ECRecover, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2>, Sha256, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<3>, Ripemd160, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<4>, Identity, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<5>, Modexp, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<6>, Bn128Add, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<7>, Bn128Mul, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<8>, Bn128Pairing, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<9>, Blake2F, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<1024>, Sha3FIPS256, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompileAt<AddressU64<1025>>, PrecompileAt<AddressU64<1026>, ECRecoverPublicKey, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2048>, ParachainStakingPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2049>, CrowdloanRewardsPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2050>, Erc20BalancesPrecompile<Runtime, NativeErc20Metadata, ()>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompileAt<AddressU64<2051>>, PrecompileAt<AddressU64<2052>, XtokensPrecompile<Runtime>, (SubcallWithMaxNesting<1>, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2053>, RelayEncoderPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2054>, XcmTransactorPrecompileV1<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2055>, AuthorMappingPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2056>, BatchPrecompile<Runtime>, (SubcallWithMaxNesting<2>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2057>, RandomnessPrecompile<Runtime>, (SubcallWithMaxNesting<0>, CallableByContract<ForAllSelectors>)>, PrecompileAt<AddressU64<2058>, CallPermitPrecompile<Runtime>, (SubcallWithMaxNesting<0>, CallableByContract<ForAllSelectors>)>, PrecompileAt<AddressU64<2059>, ProxyPrecompile<Runtime>, (CallableByContract<OnlyIsProxyAndProxy<Runtime>>, SubcallWithMaxNesting<0>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2060>, XcmUtilsPrecompile<Runtime, XcmExecutorConfig>, CallableByContract<AllExceptXcmExecute<Runtime, XcmExecutorConfig>>>, PrecompileAt<AddressU64<2061>, XcmTransactorPrecompileV2<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompileAt<AddressU64<2062>>, RemovedPrecompileAt<AddressU64<2063>>, PrecompileAt<AddressU64<2064>, CollectivePrecompile<Runtime, Instance3>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2065>, ReferendaPrecompile<Runtime, Origin>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2066>, ConvictionVotingPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2067>, PreimagePrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2068>, CollectivePrecompile<Runtime, Instance4>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2069>, PrecompileRegistry<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2070>, GmpPrecompile<Runtime>, SubcallWithMaxNesting<0>>, PrecompileAt<AddressU64<2071>, XcmTransactorPrecompileV3<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2072>, IdentityPrecompile<Runtime, MaxAdditionalFields>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2073>, RelayDataVerifierPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>)>, PrecompileSetStartingWith<ForeignAssetPrefix, Erc20AssetsPrecompileSet<Runtime, ()>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompilesAt<DisabledLocalAssets<Runtime>>)>
Precompiles associated with this EVM engine.§type PrecompilesValue = PrecompilesValue
§type OnChargeTransaction = OnChargeEVMTransaction<DealWithFees<Runtime>>
To handle fee deduction for EVM transactions. An example is this pallet being used by pallet_ethereum
+The instance filter determines whether a given call may be proxied under this type. Read more§type ProxyDepositBase = ConstU128<{ currency::deposit(1, 8) }>
The base amount of currency needed to reserve for creating a proxy. Read more§type ProxyDepositFactor = ConstU128<{ currency::deposit(0, 21) }>
The amount of currency needed per proxy added. Read more§type MaxProxies = ConstU32<32>
The maximum amount of proxies allowed for a single account.§type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.§type MaxPending = ConstU32<32>
The maximum amount of time-delayed announcements that are allowed to be pending.§type CallHasher = BlakeTwo256
The type of hash used for hashing the call.§type AnnouncementDepositBase = ConstU128<{ currency::deposit(1, 8) }>
The base amount of currency needed to reserve for creating an announcement. Read more§type AnnouncementDepositFactor = ConstU128<{ currency::deposit(0, 56) }>
The amount of currency needed per announcement made. Read moresource§impl Config for Runtime
§type FeeCalculator = TransactionPaymentAsGasPrice
Calculator for current gas price.§type GasWeightMapping = FixedGasWeightMapping<Runtime>
Maps Ethereum gas to Substrate weight.§type WeightPerGas = WeightPerGas
Weight corresponding to a gas unit.§type BlockHashMapping = EthereumBlockHashMapping<Runtime>
Block number to block hash.§type CallOrigin = EnsureAddressRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Allow the origin to call on behalf of given address.§type WithdrawOrigin = EnsureAddressNever<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Allow the origin to withdraw on behalf of given address.§type AddressMapping = IdentityAddressMapping
Mapping from address to account id.§type RuntimeEvent = RuntimeEvent
The overarching event type.§type PrecompilesType = PrecompileSetBuilder<Runtime, (PrecompilesInRangeInclusive<(AddressU64<1>, AddressU64<4095>), (PrecompileAt<AddressU64<1>, ECRecover, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2>, Sha256, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<3>, Ripemd160, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<4>, Identity, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<5>, Modexp, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<6>, Bn128Add, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<7>, Bn128Mul, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<8>, Bn128Pairing, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<9>, Blake2F, (AcceptDelegateCall, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<1024>, Sha3FIPS256, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompileAt<AddressU64<1025>>, PrecompileAt<AddressU64<1026>, ECRecoverPublicKey, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2048>, ParachainStakingPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2049>, CrowdloanRewardsPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2050>, Erc20BalancesPrecompile<Runtime, NativeErc20Metadata, ()>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompileAt<AddressU64<2051>>, PrecompileAt<AddressU64<2052>, XtokensPrecompile<Runtime>, (SubcallWithMaxNesting<1>, CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2053>, RelayEncoderPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2054>, XcmTransactorPrecompileV1<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2055>, AuthorMappingPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2056>, BatchPrecompile<Runtime>, (SubcallWithMaxNesting<2>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2057>, RandomnessPrecompile<Runtime>, (SubcallWithMaxNesting<0>, CallableByContract<ForAllSelectors>)>, PrecompileAt<AddressU64<2058>, CallPermitPrecompile<Runtime>, (SubcallWithMaxNesting<0>, CallableByContract<ForAllSelectors>)>, PrecompileAt<AddressU64<2059>, ProxyPrecompile<Runtime>, (CallableByContract<OnlyIsProxyAndProxy<Runtime>>, SubcallWithMaxNesting<0>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2060>, XcmUtilsPrecompile<Runtime, XcmExecutorConfig>, CallableByContract<AllExceptXcmExecute<Runtime, XcmExecutorConfig>>>, PrecompileAt<AddressU64<2061>, XcmTransactorPrecompileV2<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompileAt<AddressU64<2062>>, RemovedPrecompileAt<AddressU64<2063>>, PrecompileAt<AddressU64<2064>, CollectivePrecompile<Runtime, Instance3>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2065>, ReferendaPrecompile<Runtime, Origin>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2066>, ConvictionVotingPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2067>, PreimagePrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2068>, CollectivePrecompile<Runtime, Instance4>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2069>, PrecompileRegistry<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2070>, GmpPrecompile<Runtime>, SubcallWithMaxNesting<0>>, PrecompileAt<AddressU64<2071>, XcmTransactorPrecompileV3<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2072>, IdentityPrecompile<Runtime, MaxAdditionalFields>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, PrecompileAt<AddressU64<2073>, RelayDataVerifierPrecompile<Runtime>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>)>, PrecompileSetStartingWith<ForeignAssetPrefix, Erc20AssetsPrecompileSet<Runtime, ()>, (CallableByContract<ForAllSelectors>, CallableByPrecompile<ForAllSelectors>)>, RemovedPrecompilesAt<DisabledLocalAssets<Runtime>>)>
Precompiles associated with this EVM engine.§type PrecompilesValue = PrecompilesValue
§type OnChargeTransaction = OnChargeEVMTransaction<DealWithFees<Runtime>>
To handle fee deduction for EVM transactions. An example is this pallet being used by pallet_ethereum
where the chain implementing pallet_ethereum
should be able to configure what happens to the fees
Similar to OnChargeTransaction
of pallet_transaction_payment
§type BlockGasLimit = BlockGasLimit
The block gas limit. Can be a simple constant, or an adjustment algorithm in another pallet.§type FindAuthor = FindAuthorAdapter<Pallet<Runtime>>
Find author for the current block.§type GasLimitPovSizeRatio = GasLimitPovSizeRatio
Gas limit Pov size ratio.§type SuicideQuickClearLimit = ConstU32<0>
Define the quick clear limit of storage clearing when a contract suicides. Set to 0 to disable it.§type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio
Gas limit storage growth ratio.§type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.source§impl Config for Runtime
§type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
§type AccountId = <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId
The identifier used to distinguish between accounts.
§type RuntimeCall = RuntimeCall
The aggregated dispatch type that is available for extrinsics.
@@ -70,7 +70,7 @@
ForceRotation
to true to avoid holes in OrbiterPerRound
.§type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.source§impl Config for Runtime
§type MaxStorageRoots = ConstU32<30>
Limit the number of relay storage roots that will be stored.
This limit applies to the number of items, not to their age. Decreasing the value of
MaxStorageRoots
is a breaking change and needs a migration to clean the
-RelayStorageRoots
mapping.§type RelaychainStateProvider = RelaychainDataProvider<Runtime>
§type WeightInfo = WeightInfo<Runtime>
Weight infosource§impl Config for Runtime
§type InvalidEvmTransactionError = InvalidTransactionWrapper
Invalid transaction error§type ValidatedTransaction = ValidatedTransaction<Runtime>
Handler for applying an already validated transaction§type XcmEthereumOrigin = EnsureXcmEthereumTransaction
Origin for xcm transact§type ReservedXcmpWeight = ReservedXcmpWeight
Maximum Weight reserved for xcm in a block§type EnsureProxy = EthereumXcmEnsureProxy
Ensure proxy§type ControllerOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin that is allowed to resume or suspend the XCM to Ethereum executions.source§impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
The overarching event type§type RandomnessSource = Pallet<Runtime>
Deterministic on-chain pseudo-randomness used to do the filtering§type PotentialAuthors = Pallet<Runtime>
A source for the complete set of potential authors.
+RelayStorageRoots
mapping.§type RelaychainStateProvider = RelaychainDataProvider<Runtime>
§type WeightInfo = WeightInfo<Runtime>
Weight infosource§impl Config for Runtime
§type InvalidEvmTransactionError = InvalidTransactionWrapper
Invalid transaction error§type ValidatedTransaction = ValidatedTransaction<Runtime>
Handler for applying an already validated transaction§type XcmEthereumOrigin = EnsureXcmEthereumTransaction
Origin for xcm transact§type ReservedXcmpWeight = ReservedXcmpWeight
Maximum Weight reserved for xcm in a block§type EnsureProxy = EthereumXcmEnsureProxy
Ensure proxy§type ControllerOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin that is allowed to resume or suspend the XCM to Ethereum executions.source§impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
The overarching event type§type RandomnessSource = Pallet<Runtime>
Deterministic on-chain pseudo-randomness used to do the filtering§type PotentialAuthors = Pallet<Runtime>
A source for the complete set of potential authors.
The starting point of the filtering.§type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
§type OnTimestampSet = ()
Something which can be notified (e.g. another pallet) when the timestamp is set. Read more§type MinimumPeriod = ConstU64<6000>
The minimum period between blocks. Read more§type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.source§impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
Overarching event type§type MigrationsList = (CommonMigrations<Runtime>,)
The list of migrations that will be performed§type XcmExecutionManager = XcmExecutionManager
Handler to suspend and resume XCM executionsource§impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
Overarching event type§type NormalCallFilter = NormalFilter
The base call filter to be used in normal operating mode
(When we aren’t in the middle of a migration)§type MaintenanceCallFilter = MaintenanceFilter
The base call filter to be used when we are in the middle of migrations
@@ -104,26 +104,26 @@
This will be used when executing the inherent. This check is often stricter than the
Preliminary check, because it can use more data.
If the pallet that implements this trait depends on an inherent, that inherent must
-be included before this one.§type AuthorId = <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId
Type used to refer to a block author.§type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
The overarching event type.§type XcmExecutor = XcmExecutorWrapper<XcmExecutorConfig, XcmExecutor<XcmExecutorConfig>>
source§impl Config for Runtime
§type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
§type MinBlocksPerRound = ConstU32<10>
Minimum round length is 2 minutes (10 * 12 second block times)
-§type MaxOfflineRounds = ConstU32<1>
If a collator doesn’t produce any block on this number of rounds, it is notified as inactive
-§type LeaveCandidatesDelay = ConstU32<{ 4 * 7 }>
Rounds before the collator leaving the candidates request can be executed
-§type CandidateBondLessDelay = ConstU32<{ 4 * 7 }>
Rounds before the candidate bond increase/decrease can be executed
-§type LeaveDelegatorsDelay = ConstU32<{ 4 * 7 }>
Rounds before the delegator exit can be executed
-§type RevokeDelegationDelay = ConstU32<{ 4 * 7 }>
Rounds before the delegator revocation can be executed
-§type DelegationBondLessDelay = ConstU32<{ 4 * 7 }>
Rounds before the delegator bond increase/decrease can be executed
-§type RewardPaymentDelay = ConstU32<2>
Rounds before the reward is paid
-§type MinSelectedCandidates = ConstU32<8>
Minimum collators selected per round, default at genesis and minimum forever after
-§type MaxTopDelegationsPerCandidate = ConstU32<300>
Maximum top delegations per candidate
-§type MaxBottomDelegationsPerCandidate = ConstU32<50>
Maximum bottom delegations per candidate
-§type MaxDelegationsPerDelegator = ConstU32<100>
Maximum delegations per delegator
-§type MinCandidateStk = ConstU128<{ 20_000 * currency::GLMR * currency::SUPPLY_FACTOR }>
Minimum stake required to be reserved to be a candidate
-§type MinDelegation = ConstU128<{ 500 * currency::MILLIGLMR * currency::SUPPLY_FACTOR }>
Minimum stake required to be reserved to be a delegator
-§type RuntimeEvent = RuntimeEvent
Overarching event type§type MonetaryGovernanceOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>
The origin for monetary governance§type BlockAuthor = Pallet<Runtime>
Get the current block author§type OnCollatorPayout = ()
Handler to notify the runtime when a collator is paid.
-If you don’t need it, you can specify the type ()
.§type PayoutCollatorReward = PayoutCollatorOrOrbiterReward
Handler to distribute a collator’s reward.
-To use the default implementation of minting rewards, specify the type ()
.§type OnInactiveCollator = OnInactiveCollator
Handler to notify the runtime when a collator is inactive.
+be included before this one.§type AuthorId = <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId
Type used to refer to a block author.§type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
The overarching event type.§type XcmExecutor = XcmExecutorWrapper<XcmExecutorConfig, XcmExecutor<XcmExecutorConfig>>
source§impl Config for Runtime
§type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
§type MinBlocksPerRound = ConstU32<10>
Minimum round length is 2 minutes (10 * 12 second block times)
+§type MaxOfflineRounds = ConstU32<1>
If a collator doesn’t produce any block on this number of rounds, it is notified as inactive
+§type LeaveCandidatesDelay = ConstU32<{ 4 * 7 }>
Rounds before the collator leaving the candidates request can be executed
+§type CandidateBondLessDelay = ConstU32<{ 4 * 7 }>
Rounds before the candidate bond increase/decrease can be executed
+§type LeaveDelegatorsDelay = ConstU32<{ 4 * 7 }>
Rounds before the delegator exit can be executed
+§type RevokeDelegationDelay = ConstU32<{ 4 * 7 }>
Rounds before the delegator revocation can be executed
+§type DelegationBondLessDelay = ConstU32<{ 4 * 7 }>
Rounds before the delegator bond increase/decrease can be executed
+§type RewardPaymentDelay = ConstU32<2>
Rounds before the reward is paid
+§type MinSelectedCandidates = ConstU32<8>
Minimum collators selected per round, default at genesis and minimum forever after
+§type MaxTopDelegationsPerCandidate = ConstU32<300>
Maximum top delegations per candidate
+§type MaxBottomDelegationsPerCandidate = ConstU32<50>
Maximum bottom delegations per candidate
+§type MaxDelegationsPerDelegator = ConstU32<100>
Maximum delegations per delegator
+§type MinCandidateStk = ConstU128<{ 20_000 * currency::GLMR * currency::SUPPLY_FACTOR }>
Minimum stake required to be reserved to be a candidate
+§type MinDelegation = ConstU128<{ 500 * currency::MILLIGLMR * currency::SUPPLY_FACTOR }>
Minimum stake required to be reserved to be a delegator
+§type RuntimeEvent = RuntimeEvent
Overarching event type§type MonetaryGovernanceOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>
The origin for monetary governance§type BlockAuthor = Pallet<Runtime>
Get the current block author§type OnCollatorPayout = ()
Handler to notify the runtime when a collator is paid.
+If you don’t need it, you can specify the type ()
.§type PayoutCollatorReward = PayoutCollatorOrOrbiterReward
Handler to distribute a collator’s reward.
+To use the default implementation of minting rewards, specify the type ()
.§type OnInactiveCollator = OnInactiveCollator
Handler to notify the runtime when a collator is inactive.
The default behavior is to mark the collator as offline.
-If you need to use the default implementation, specify the type ()
.§type OnNewRound = OnNewRound
Handler to notify the runtime when a new round begin.
-If you don’t need it, you can specify the type ()
.§type SlotProvider = StakingRoundSlotProvider
Get the current slot number§type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.§type MaxCandidates = ConstU32<200>
Maximum candidates§type SlotDuration = ConstU64<12000>
Get the slot duration in millisecondssource§impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
The overarching event type.§type OnSystemEvent = ()
Something which can be notified when the validation data is set.§type SelfParaId = Pallet<Runtime>
Returns the parachain ID we are running with.§type ReservedDmpWeight = ReservedDmpWeight
The weight we reserve at the beginning of the block for processing DMP messages.§type OutboundXcmpMessageSource = Pallet<Runtime>
The place where outbound XCMP messages come from. This is queried in finalize_block
.§type XcmpMessageHandler = Pallet<Runtime>
The message handler that will be invoked when messages are received via XCMP. Read more§type ReservedXcmpWeight = ReservedXcmpWeight
The weight we reserve at the beginning of the block for processing XCMP messages.§type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases
Something that can check the associated relay parent block number.§type ConsensusHook = ExpectParentIncluded
An entry-point for higher-level logic to manage the backlog of unincluded parachain
+If you need to use the default implementation, specify the type ()
.§type OnNewRound = OnNewRound
Handler to notify the runtime when a new round begin.
+If you don’t need it, you can specify the type ()
.§type SlotProvider = StakingRoundSlotProvider
Get the current slot number§type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.§type MaxCandidates = ConstU32<200>
Maximum candidates§type SlotDuration = ConstU64<12000>
Get the slot duration in millisecondssource§impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
The overarching event type.§type OnSystemEvent = ()
Something which can be notified when the validation data is set.§type SelfParaId = Pallet<Runtime>
Returns the parachain ID we are running with.§type ReservedDmpWeight = ReservedDmpWeight
The weight we reserve at the beginning of the block for processing DMP messages.§type OutboundXcmpMessageSource = Pallet<Runtime>
The place where outbound XCMP messages come from. This is queried in finalize_block
.§type XcmpMessageHandler = Pallet<Runtime>
The message handler that will be invoked when messages are received via XCMP. Read more§type ReservedXcmpWeight = ReservedXcmpWeight
The weight we reserve at the beginning of the block for processing XCMP messages.§type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases
Something that can check the associated relay parent block number.§type ConsensusHook = ExpectParentIncluded
An entry-point for higher-level logic to manage the backlog of unincluded parachain
blocks and authorship rights for those blocks. Read more§type DmpQueue = EnqueueWithOrigin<Pallet<Runtime>, RelayOrigin>
Queues inbound downward messages for delayed processing. Read more§type WeightInfo = SubstrateWeight<Runtime>
Weight info for functions and calls.source§impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
The overarching event type.§type PostLogContent = PostBlockAndTxnHashes
What’s included in the PostLog.§type ExtraDataLength = ConstU32<30>
The maximum length of the extra data in the Executed event.source§impl ConvertTransactionRuntimeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, EthereumSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn convert_transaction(transaction: Transaction) -> <Block as BlockT>::Extrinsic
source§impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, EthereumSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl DebugRuntimeApiV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, EthereumSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, EthereumSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn offchain_worker(header: &<Block as BlockT>::Header)
Starts the off-chain task for given block header.source§impl OnInactiveCollator<Runtime> for OnInactiveCollator
source§fn on_inactive_collator(
+) -> bool
source§impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, EthereumSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn offchain_worker(header: &<Block as BlockT>::Header)
Starts the off-chain task for given block header.source§impl OnInactiveCollator<Runtime> for OnInactiveCollator
source§fn on_inactive_collator(
collator_id: AccountId,
- round: RoundIndex
+ round: RoundIndex
) -> Result<Weight, DispatchErrorWithPostInfo<PostDispatchInfo>>
source§impl PartialEq<Runtime> for Runtime
source§impl PayoutCollatorReward<Runtime> for PayoutCollatorOrOrbiterReward
source§fn payout_collator_reward(
- for_round: RoundIndex,
+sufficient, and should not be overridden without very good reason.
source§impl PayoutCollatorReward<Runtime> for PayoutCollatorOrOrbiterReward
source§fn payout_collator_reward(
+ for_round: RoundIndex,
collator_id: AccountId,
amount: Balance
) -> Weight
source§impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, EthereumSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn decode_session_keys(encoded: Vec<u8>) -> Option<Vec<(Vec<u8>, KeyTypeId)>>
Decode the given public session keys. Read moresource§fn generate_session_keys(seed: Option<Vec<u8>>) -> Vec<u8> ⓘ
Generate a set of session keys with optionally using the given seed.
diff --git a/moonbeam_runtime/trait.BuildStorage.html b/moonbeam_runtime/trait.BuildStorage.html
index f5093a261d..31706e7088 100644
--- a/moonbeam_runtime/trait.BuildStorage.html
+++ b/moonbeam_runtime/trait.BuildStorage.html
@@ -18,8 +18,8 @@
T: Config,§fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>
§impl<T> BuildStorage for GenesisConfig<T>where
T: Config,
§fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>
§impl<T> BuildStorage for GenesisConfig<T>where
T: Config,
§fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>
§impl<T> BuildStorage for GenesisConfig<T>where
- T: Config,
§fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>
source§impl<T> BuildStorage for GenesisConfig<T>where
- T: Config,
§impl<T> BuildStorage for GenesisConfig<T>where
+ T: Config,
§fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>
§impl<T> BuildStorage for GenesisConfig<T>where
+ T: Config,
§fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>
§impl<T> BuildStorage for GenesisConfig<T>where
T: Config,
§fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>
§impl<T> BuildStorage for GenesisConfig<T>where
T: Config,
§fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>
source§impl<T> BuildStorage for GenesisConfig<T>where
T: Config,
source§impl<T> BuildStorage for GenesisConfig<T>where
diff --git a/moonbeam_runtime/trait.Get.html b/moonbeam_runtime/trait.Get.html
index f62f4c686c..04aac0a24b 100644
--- a/moonbeam_runtime/trait.Get.html
+++ b/moonbeam_runtime/trait.Get.html
@@ -37,10 +37,10 @@
T: MaxEncodedLen,
Implementors§
source§impl Get<Vec<(<TracksInfo as TracksInfo<u128, u32>>::Id, TrackInfo<u128, u32>), Global>> for TracksInfo
source§impl Get<BlockWeights> for RuntimeBlockWeights
source§impl Get<Slot> for StakingRoundSlotProvider
§impl<T> Get<T> for GetDefaultwhere
diff --git a/moonbeam_runtime/trait.WeightInfo.html b/moonbeam_runtime/trait.WeightInfo.html
index d5997f32b4..ae2ee137ec 100644
--- a/moonbeam_runtime/trait.WeightInfo.html
+++ b/moonbeam_runtime/trait.WeightInfo.html
@@ -1,4 +1,4 @@
-WeightInfo in moonbeam_runtime - Rust Trait moonbeam_runtime::WeightInfo
source · pub trait WeightInfo {
+WeightInfo in moonbeam_runtime - Rust Trait moonbeam_runtime::WeightInfo
pub trait WeightInfo {
Show 38 methods
// Required methods
fn set_staking_expectations() -> Weight;
fn set_inflation() -> Weight;
@@ -39,7 +39,7 @@
fn mint_collator_reward() -> Weight;
fn notify_inactive_collator() -> Weight;
}
Expand description
Weight functions needed for pallet_parachain_staking.
-Required Methods§
sourcefn set_staking_expectations() -> Weight
sourcefn set_inflation() -> Weight
sourcefn set_parachain_bond_account() -> Weight
sourcefn set_parachain_bond_reserve_percent() -> Weight
sourcefn set_total_selected() -> Weight
sourcefn set_collator_commission() -> Weight
sourcefn set_blocks_per_round() -> Weight
sourcefn join_candidates(x: u32) -> Weight
sourcefn schedule_leave_candidates(x: u32) -> Weight
sourcefn execute_leave_candidates_worst_case(x: u32) -> Weight
sourcefn execute_leave_candidates_ideal(x: u32, y: u32) -> Weight
sourcefn cancel_leave_candidates(x: u32) -> Weight
sourcefn go_offline(x: u32) -> Weight
sourcefn go_online(x: u32) -> Weight
sourcefn candidate_bond_more(x: u32) -> Weight
sourcefn schedule_candidate_bond_less() -> Weight
sourcefn execute_candidate_bond_less(x: u32) -> Weight
sourcefn cancel_candidate_bond_less() -> Weight
sourcefn set_candidate_bond_to_zero(x: u32) -> Weight
sourcefn delegate(x: u32, y: u32) -> Weight
sourcefn schedule_revoke_delegation(x: u32) -> Weight
sourcefn delegator_bond_more(x: u32) -> Weight
sourcefn schedule_delegator_bond_less(x: u32) -> Weight
sourcefn execute_revoke_delegation() -> Weight
sourcefn execute_delegator_revoke_delegation_worst() -> Weight
sourcefn execute_delegator_bond_less_worst() -> Weight
sourcefn cancel_delegation_request(x: u32) -> Weight
sourcefn prepare_staking_payouts() -> Weight
sourcefn get_rewardable_delegators(y: u32) -> Weight
sourcefn select_top_candidates(x: u32, y: u32) -> Weight
sourcefn pay_one_collator_reward_best(x: u32, y: u32, z: u32) -> Weight
sourcefn pay_one_collator_reward(y: u32) -> Weight
sourcefn base_on_initialize() -> Weight
sourcefn set_auto_compound(x: u32, y: u32) -> Weight
sourcefn delegate_with_auto_compound(x: u32, y: u32, z: u32) -> Weight
sourcefn delegate_with_auto_compound_worst() -> Weight
sourcefn mint_collator_reward() -> Weight
sourcefn notify_inactive_collator() -> Weight
Implementations on Foreign Types§
source§impl<T> WeightInfo for WeightInfo<T>where
+
Required Methods§
fn set_staking_expectations() -> Weight
fn set_inflation() -> Weight
fn set_parachain_bond_account() -> Weight
fn set_parachain_bond_reserve_percent() -> Weight
fn set_total_selected() -> Weight
fn set_collator_commission() -> Weight
fn set_blocks_per_round() -> Weight
fn join_candidates(x: u32) -> Weight
fn schedule_leave_candidates(x: u32) -> Weight
fn execute_leave_candidates_worst_case(x: u32) -> Weight
fn execute_leave_candidates_ideal(x: u32, y: u32) -> Weight
fn cancel_leave_candidates(x: u32) -> Weight
fn go_offline(x: u32) -> Weight
fn go_online(x: u32) -> Weight
fn candidate_bond_more(x: u32) -> Weight
fn schedule_candidate_bond_less() -> Weight
fn execute_candidate_bond_less(x: u32) -> Weight
fn cancel_candidate_bond_less() -> Weight
fn set_candidate_bond_to_zero(x: u32) -> Weight
fn delegate(x: u32, y: u32) -> Weight
fn schedule_revoke_delegation(x: u32) -> Weight
fn delegator_bond_more(x: u32) -> Weight
fn schedule_delegator_bond_less(x: u32) -> Weight
fn execute_revoke_delegation() -> Weight
fn execute_delegator_revoke_delegation_worst() -> Weight
fn execute_delegator_bond_less_worst() -> Weight
fn cancel_delegation_request(x: u32) -> Weight
fn prepare_staking_payouts() -> Weight
fn get_rewardable_delegators(y: u32) -> Weight
fn select_top_candidates(x: u32, y: u32) -> Weight
fn pay_one_collator_reward_best(x: u32, y: u32, z: u32) -> Weight
fn pay_one_collator_reward(y: u32) -> Weight
fn base_on_initialize() -> Weight
fn set_auto_compound(x: u32, y: u32) -> Weight
fn delegate_with_auto_compound(x: u32, y: u32, z: u32) -> Weight
fn delegate_with_auto_compound_worst() -> Weight
fn mint_collator_reward() -> Weight
fn notify_inactive_collator() -> Weight
Implementations on Foreign Types§
source§impl<T> WeightInfo for WeightInfo<T>where
T: Config,
source§fn set_staking_expectations() -> Weight
Storage: ParachainStaking::InflationConfig
(r:1 w:1)
Proof: ParachainStaking::InflationConfig
(max_values
: Some(1), max_size
: None, mode: Measured
)
source§fn set_inflation() -> Weight
Storage: ParachainStaking::InflationConfig
(r:1 w:1)
@@ -427,23 +427,23 @@
Proof: ParachainStaking::CandidateInfo
(max_values
: None, max_size
: None, mode: Measured
)
Storage: ParachainStaking::CandidatePool
(r:1 w:1)
Proof: ParachainStaking::CandidatePool
(max_values
: Some(1), max_size
: None, mode: Measured
)
-source§fn base_on_initialize() -> Weight
source§impl WeightInfo for ()
source§fn set_staking_expectations() -> Weight
Storage: ParachainStaking InflationConfig (r:1 w:1)
+
source§fn base_on_initialize() -> Weight
§impl WeightInfo for ()
§fn set_staking_expectations() -> Weight
Storage: ParachainStaking InflationConfig (r:1 w:1)
Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)
-source§fn set_inflation() -> Weight
Storage: ParachainStaking InflationConfig (r:1 w:1)
+
§fn set_inflation() -> Weight
Storage: ParachainStaking InflationConfig (r:1 w:1)
Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)
-source§fn set_parachain_bond_account() -> Weight
Storage: ParachainStaking ParachainBondInfo (r:1 w:1)
+
§fn set_parachain_bond_account() -> Weight
Storage: ParachainStaking ParachainBondInfo (r:1 w:1)
Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured)
-source§fn set_parachain_bond_reserve_percent() -> Weight
Storage: ParachainStaking ParachainBondInfo (r:1 w:1)
+
§fn set_parachain_bond_reserve_percent() -> Weight
Storage: ParachainStaking ParachainBondInfo (r:1 w:1)
Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured)
-source§fn set_total_selected() -> Weight
Storage: ParachainStaking TotalSelected (r:1 w:1)
+
§fn set_total_selected() -> Weight
Storage: ParachainStaking TotalSelected (r:1 w:1)
Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)
-source§fn set_collator_commission() -> Weight
Storage: ParachainStaking CollatorCommission (r:1 w:1)
+
§fn set_collator_commission() -> Weight
Storage: ParachainStaking CollatorCommission (r:1 w:1)
Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured)
-source§fn set_blocks_per_round() -> Weight
Storage: ParachainStaking TotalSelected (r:1 w:0)
+
§fn set_blocks_per_round() -> Weight
Storage: ParachainStaking TotalSelected (r:1 w:0)
Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainStaking InflationConfig (r:1 w:1)
Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)
-source§fn join_candidates(x: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
+
§fn join_candidates(x: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking DelegatorState (r:1 w:0)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
@@ -462,12 +462,12 @@
Storage: ParachainStaking BottomDelegations (r:0 w:1)
Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
The range of component x
is [3, 200]
.
-source§fn schedule_leave_candidates(x: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
+
§fn schedule_leave_candidates(x: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [3, 200]
.
-source§fn execute_leave_candidates_worst_case(x: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
+
§fn execute_leave_candidates_worst_case(x: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
@@ -488,7 +488,7 @@
Storage: ParachainStaking Total (r:1 w:1)
Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [2, 350]
.
-source§fn execute_leave_candidates_ideal(x: u32, _y: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
+
§fn execute_leave_candidates_ideal(x: u32, _y: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
@@ -510,22 +510,22 @@
Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [2, 350]
.
The range of component y
is [2, 350]
.
-source§fn cancel_leave_candidates(x: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
+
§fn cancel_leave_candidates(x: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [3, 200]
.
-source§fn go_offline(x: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
+
§fn go_offline(x: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [1, 200]
.
-§fn go_online(x: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [1, 200]
.
-source§fn candidate_bond_more(x: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
+
§fn candidate_bond_more(x: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
@@ -538,9 +538,9 @@
Storage: Balances Freezes (r:1 w:0)
Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
The range of component x
is [1, 200]
.
-source§fn schedule_candidate_bond_less() -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
+
§fn schedule_candidate_bond_less() -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
-source§fn execute_candidate_bond_less(x: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
+
§fn execute_candidate_bond_less(x: u32) -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
@@ -553,9 +553,9 @@
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
The range of component x
is [1, 200]
.
-source§fn cancel_candidate_bond_less() -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
+
§fn cancel_candidate_bond_less() -> Weight
Storage: ParachainStaking CandidateInfo (r:1 w:1)
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
-§fn delegate(x: u32, y: u32) -> Weight
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
@@ -573,12 +573,12 @@
Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [3, 100]
.
The range of component y
is [2, 300]
.
-source§fn schedule_revoke_delegation(x: u32) -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
+
§fn schedule_revoke_delegation(x: u32) -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
The range of component x
is [0, 349]
.
-source§fn delegator_bond_more(x: u32) -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
+
§fn delegator_bond_more(x: u32) -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0)
Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
@@ -597,12 +597,12 @@
Storage: ParachainStaking Total (r:1 w:1)
Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
The range of component x
is [0, 349]
.
-source§fn schedule_delegator_bond_less(x: u32) -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
+
§fn schedule_delegator_bond_less(x: u32) -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
The range of component x
is [0, 349]
.
-source§fn execute_revoke_delegation() -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
+
§fn execute_revoke_delegation() -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
@@ -622,7 +622,7 @@
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainStaking Total (r:1 w:1)
Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
-source§fn execute_delegator_revoke_delegation_worst() -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
+
§fn execute_delegator_revoke_delegation_worst() -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
@@ -644,7 +644,7 @@
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainStaking Total (r:1 w:1)
Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
-source§fn execute_delegator_bond_less_worst() -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
+
§fn execute_delegator_bond_less_worst() -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
@@ -664,12 +664,12 @@
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainStaking Total (r:1 w:1)
Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
-source§fn cancel_delegation_request(x: u32) -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
+
§fn cancel_delegation_request(x: u32) -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
The range of component x
is [0, 349]
.
-source§fn prepare_staking_payouts() -> Weight
Storage: ParachainStaking Points (r:1 w:0)
+
§fn prepare_staking_payouts() -> Weight
Storage: ParachainStaking Points (r:1 w:0)
Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking Staked (r:1 w:1)
Proof Skipped: ParachainStaking Staked (max_values: None, max_size: None, mode: Measured)
@@ -683,12 +683,12 @@
Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainStaking DelayedPayouts (r:0 w:1)
Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured)
-source§fn get_rewardable_delegators(y: u32) -> Weight
Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0)
+
§fn get_rewardable_delegators(y: u32) -> Weight
Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0)
Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking TopDelegations (r:1 w:0)
Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
The range of component y
is [0, 100]
.
-source§fn select_top_candidates(x: u32, y: u32) -> Weight
Storage: ParachainStaking TotalSelected (r:1 w:0)
+
§fn select_top_candidates(x: u32, y: u32) -> Weight
Storage: ParachainStaking TotalSelected (r:1 w:0)
Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainStaking CandidatePool (r:1 w:0)
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
@@ -706,7 +706,7 @@
Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured)
The range of component x
is [0, 50]
.
The range of component y
is [0, 100]
.
-source§fn pay_one_collator_reward_best(x: u32, y: u32, z: u32) -> Weight
Storage: System Account (r:349 w:349)
+
§fn pay_one_collator_reward_best(x: u32, y: u32, z: u32) -> Weight
Storage: System Account (r:349 w:349)
Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
Storage: ParachainStaking DelegatorState (r:349 w:349)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
@@ -729,7 +729,7 @@
The range of component x
is [0, 349]
.
The range of component y
is [0, 349]
.
The range of component z
is [0, 349]
.
-source§fn pay_one_collator_reward(y: u32) -> Weight
Storage: ParachainStaking DelayedPayouts (r:1 w:0)
+
§fn pay_one_collator_reward(y: u32) -> Weight
Storage: ParachainStaking DelayedPayouts (r:1 w:0)
Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking Points (r:1 w:0)
Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured)
@@ -744,13 +744,13 @@
Storage: System Account (r:301 w:301)
Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
The range of component y
is [0, 300]
.
-source§fn set_auto_compound(x: u32, y: u32) -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:0)
+
§fn set_auto_compound(x: u32, y: u32) -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:0)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
The range of component x
is [0, 300]
.
The range of component y
is [0, 100]
.
-source§fn delegate_with_auto_compound(x: u32, y: u32, z: u32) -> Weight
Storage: System Account (r:1 w:1)
+
§fn delegate_with_auto_compound(x: u32, y: u32, z: u32) -> Weight
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
@@ -773,7 +773,7 @@
The range of component x
is [0, 350]
.
The range of component y
is [0, 349]
.
The range of component z
is [0, 99]
.
-source§fn delegate_with_auto_compound_worst() -> Weight
Storage: System Account (r:2 w:2)
+
§fn delegate_with_auto_compound_worst() -> Weight
Storage: System Account (r:2 w:2)
Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
Storage: ParachainStaking DelegatorState (r:2 w:2)
Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
@@ -795,9 +795,9 @@
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainStaking Total (r:1 w:1)
Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
-source§fn mint_collator_reward() -> Weight
Storage: System Account (r:1 w:1)
+
§fn mint_collator_reward() -> Weight
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
-source§fn notify_inactive_collator() -> Weight
Storage: ParachainStaking EnableMarkingOffline (r:1 w:0)
+
§fn notify_inactive_collator() -> Weight
Storage: ParachainStaking EnableMarkingOffline (r:1 w:0)
Proof Skipped: ParachainStaking EnableMarkingOffline (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainStaking TotalSelected (r:1 w:0)
Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)
@@ -813,5 +813,5 @@
Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
-source§fn set_candidate_bond_to_zero(x: u32) -> Weight
source§fn base_on_initialize() -> Weight
Implementors§
source§impl<T> WeightInfo for SubstrateWeight<T>where
+
§fn set_candidate_bond_to_zero(x: u32) -> Weight
§fn base_on_initialize() -> Weight
Implementors§
§impl<T> WeightInfo for SubstrateWeight<T>where
T: Config,
\ No newline at end of file
diff --git a/moonbeam_runtime/type.AccountIndex.html b/moonbeam_runtime/type.AccountIndex.html
index 4f96eaeae8..e568047065 100644
--- a/moonbeam_runtime/type.AccountIndex.html
+++ b/moonbeam_runtime/type.AccountIndex.html
@@ -973,7 +973,7 @@ Examples
by zero. If any of that happens, None
is returned. Read moresource§impl CheckedShl for u32
source§impl CheckedShr for u32
source§impl CheckedSub for u32
source§impl ConditionallySelectable for u32
source§impl ConditionallySelectable for u32
source§impl ConstantTimeEq for u32
source§impl ConstantTimeGreater for u32
source§fn ct_gt(&self, other: &u32) -> Choice
Returns Choice::from(1) iff x > y, and Choice::from(0) iff x <= y.
Note
This algoritm would also work for signed integers if we first
diff --git a/moonbeam_runtime/type.BlockNumber.html b/moonbeam_runtime/type.BlockNumber.html
index 6cae76deed..c9c0ea570d 100644
--- a/moonbeam_runtime/type.BlockNumber.html
+++ b/moonbeam_runtime/type.BlockNumber.html
@@ -972,7 +972,7 @@
Examples
by zero. If any of that happens, None
is returned. Read moresource§impl CheckedShl for u32
source§impl CheckedShr for u32
source§impl CheckedSub for u32
source§impl ConditionallySelectable for u32
source§impl ConditionallySelectable for u32
source§impl ConstantTimeEq for u32
source§impl ConstantTimeGreater for u32
source§fn ct_gt(&self, other: &u32) -> Choice
Returns Choice::from(1) iff x > y, and Choice::from(0) iff x <= y.
Note
This algoritm would also work for signed integers if we first
diff --git a/moonbeam_runtime/type.GenesisConfig.html b/moonbeam_runtime/type.GenesisConfig.html
index 504aa1a900..d5fd31eee2 100644
--- a/moonbeam_runtime/type.GenesisConfig.html
+++ b/moonbeam_runtime/type.GenesisConfig.html
@@ -3,7 +3,7 @@
pub parachain_info: GenesisConfig<Runtime>,
pub balances: GenesisConfig<Runtime, ()>,
pub transaction_payment: GenesisConfig<Runtime>,
- pub parachain_staking: GenesisConfig<Runtime>,
+ pub parachain_staking: GenesisConfig<Runtime>,
pub author_filter: GenesisConfig<Runtime>,
pub author_mapping: GenesisConfig<Runtime>,
pub maintenance_mode: GenesisConfig<Runtime>,
@@ -17,6 +17,6 @@
pub treasury: GenesisConfig<Runtime, ()>,
pub crowdloan_rewards: GenesisConfig<Runtime>,
pub polkadot_xcm: GenesisConfig<Runtime>,
-}
Fields§
§system: GenesisConfig<Runtime>
§parachain_info: GenesisConfig<Runtime>
§balances: GenesisConfig<Runtime, ()>
§transaction_payment: GenesisConfig<Runtime>
§parachain_staking: GenesisConfig<Runtime>
§maintenance_mode: GenesisConfig<Runtime>
§migrations: GenesisConfig<Runtime>
§proxy_genesis_companion: GenesisConfig<Runtime>
§ethereum_chain_id: GenesisConfig<Runtime>
§evm: GenesisConfig<Runtime>
§ethereum: GenesisConfig<Runtime>
§treasury_council_collective: GenesisConfig<Runtime, Instance3>
§open_tech_committee_collective: GenesisConfig<Runtime, Instance4>
§treasury: GenesisConfig<Runtime, ()>
§crowdloan_rewards: GenesisConfig<Runtime>
§polkadot_xcm: GenesisConfig<Runtime>
Trait Implementations§
source§impl BuildGenesisConfig for RuntimeGenesisConfig
source§impl BuildStorage for RuntimeGenesisConfig
source§fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>
Assimilate the storage for this module into pre-existing overlays.§fn build_storage(&self) -> Result<Storage, String>
Build the storage out of this builder.source§impl Default for RuntimeGenesisConfig
source§fn default() -> RuntimeGenesisConfig
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for RuntimeGenesisConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+
}Fields§
§system: GenesisConfig<Runtime>
§parachain_info: GenesisConfig<Runtime>
§balances: GenesisConfig<Runtime, ()>
§transaction_payment: GenesisConfig<Runtime>
§parachain_staking: GenesisConfig<Runtime>
§maintenance_mode: GenesisConfig<Runtime>
§migrations: GenesisConfig<Runtime>
§proxy_genesis_companion: GenesisConfig<Runtime>
§ethereum_chain_id: GenesisConfig<Runtime>
§evm: GenesisConfig<Runtime>
§ethereum: GenesisConfig<Runtime>
§treasury_council_collective: GenesisConfig<Runtime, Instance3>
§open_tech_committee_collective: GenesisConfig<Runtime, Instance4>
§treasury: GenesisConfig<Runtime, ()>
§crowdloan_rewards: GenesisConfig<Runtime>
§polkadot_xcm: GenesisConfig<Runtime>
Trait Implementations§
source§impl BuildGenesisConfig for RuntimeGenesisConfig
source§impl BuildStorage for RuntimeGenesisConfig
source§fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>
Assimilate the storage for this module into pre-existing overlays.§fn build_storage(&self) -> Result<Storage, String>
Build the storage out of this builder.source§impl Default for RuntimeGenesisConfig
source§fn default() -> RuntimeGenesisConfig
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for RuntimeGenesisConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
\ No newline at end of file
diff --git a/moonbeam_runtime/type.Hash.html b/moonbeam_runtime/type.Hash.html
index 58ea245f06..5dadbad3ab 100644
--- a/moonbeam_runtime/type.Hash.html
+++ b/moonbeam_runtime/type.Hash.html
@@ -64,7 +64,7 @@ Note
R: Rng + ?Sized,Create a new hash with cryptographically random content using the
given random number generator.
pub fn random() -> H256
Create a new hash with cryptographically random content.
-Trait Implementations§
§impl BigEndianHash for H256
§impl<'r> BitAndAssign<&'r H256> for H256
§fn bitand_assign(&mut self, rhs: &'r H256)
Performs the &=
operation. Read more§impl BitAndAssign<H256> for H256
§fn bitand_assign(&mut self, rhs: H256)
Performs the &=
operation. Read more§impl<'r> BitOrAssign<&'r H256> for H256
§fn bitor_assign(&mut self, rhs: &'r H256)
Performs the |=
operation. Read more§impl BitOrAssign<H256> for H256
§fn bitor_assign(&mut self, rhs: H256)
Performs the |=
operation. Read more§impl<'r> BitXorAssign<&'r H256> for H256
§fn bitxor_assign(&mut self, rhs: &'r H256)
Performs the ^=
operation. Read more§impl BitXorAssign<H256> for H256
§fn bitxor_assign(&mut self, rhs: H256)
Performs the ^=
operation. Read more§impl CheckEqual for H256
§fn check_equal(&self, other: &H256)
Perform the equality check.§impl Decodable for H256
Trait Implementations§
§impl BigEndianHash for H256
§impl<'r> BitAndAssign<&'r H256> for H256
§fn bitand_assign(&mut self, rhs: &'r H256)
Performs the &=
operation. Read more§impl BitAndAssign<H256> for H256
§fn bitand_assign(&mut self, rhs: H256)
Performs the &=
operation. Read more§impl<'r> BitOrAssign<&'r H256> for H256
§fn bitor_assign(&mut self, rhs: &'r H256)
Performs the |=
operation. Read more§impl BitOrAssign<H256> for H256
§fn bitor_assign(&mut self, rhs: H256)
Performs the |=
operation. Read more§impl<'r> BitXorAssign<&'r H256> for H256
§fn bitxor_assign(&mut self, rhs: &'r H256)
Performs the ^=
operation. Read more§impl BitXorAssign<H256> for H256
§fn bitxor_assign(&mut self, rhs: H256)
Performs the ^=
operation. Read more§impl CheckEqual for H256
§fn check_equal(&self, other: &H256)
Perform the equality check.§impl Codec for H256
§impl Decodable for H256
§impl Decode for H256
§fn decode<I>(input: &mut I) -> Result<H256, Error>where
I: Input,
Attempt to deserialise the value from input.§fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>
@@ -86,7 +86,7 @@ Note
source§impl From<AddressInPrefixedSet> for H256
source§fn from(value: AddressInPrefixedSet) -> H256
Converts to this type from the input type.source§impl From<CryptoAlith> for H256
source§fn from(value: CryptoAlith) -> H256
Converts to this type from the input type.source§impl From<CryptoBaltathar> for H256
source§fn from(value: CryptoBaltathar) -> H256
Converts to this type from the input type.source§impl From<CryptoCarleth> for H256
source§fn from(value: CryptoCarleth) -> H256
Converts to this type from the input type.source§impl From<MockAccount> for H256
source§fn from(x: MockAccount) -> H256
Converts to this type from the input type.source§impl From<Precompile1> for H256
source§fn from(value: Precompile1) -> H256
Converts to this type from the input type.§impl FromStr for H256
§fn from_str(input: &str) -> Result<H256, FromHexError>
Creates a hash type instance from the given string.
Note
The given input string is interpreted in big endian.
Errors
diff --git a/moonbeam_runtime/type.Index.html b/moonbeam_runtime/type.Index.html
index 9dc6d2934d..9e2f47049d 100644
--- a/moonbeam_runtime/type.Index.html
+++ b/moonbeam_runtime/type.Index.html
@@ -972,7 +972,7 @@ Examples
by zero. If any of that happens, None
is returned. Read moresource§impl CheckedShl for u32
source§impl CheckedShr for u32
source§impl CheckedSub for u32
source§impl ConditionallySelectable for u32
source§impl ConditionallySelectable for u32
source§impl ConstantTimeEq for u32
source§impl ConstantTimeGreater for u32
source§fn ct_gt(&self, other: &u32) -> Choice
Returns Choice::from(1) iff x > y, and Choice::from(0) iff x <= y.
Note
This algoritm would also work for signed integers if we first
diff --git a/moonbeam_runtime/type.MoonbeamPrecompiles.html b/moonbeam_runtime/type.MoonbeamPrecompiles.html
index dc45aff121..32efd12651 100644
--- a/moonbeam_runtime/type.MoonbeamPrecompiles.html
+++ b/moonbeam_runtime/type.MoonbeamPrecompiles.html
@@ -1,4 +1,4 @@
-
MoonbeamPrecompiles in moonbeam_runtime - Rust Type Alias moonbeam_runtime::MoonbeamPrecompiles
source · pub type MoonbeamPrecompiles<R> = PrecompileSetBuilder<R, (PrecompilesInRangeInclusive<(AddressU64<1>, AddressU64<4095>), (PrecompileAt<AddressU64<1>, ECRecover, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2>, Sha256, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<3>, Ripemd160, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<4>, Identity, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<5>, Modexp, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<6>, Bn128Add, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<7>, Bn128Mul, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<8>, Bn128Pairing, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<9>, Blake2F, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1024>, Sha3FIPS256, (CallableByContract, CallableByPrecompile)>, RemovedPrecompileAt<AddressU64<1025>>, PrecompileAt<AddressU64<1026>, ECRecoverPublicKey, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2048>, ParachainStakingPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2049>, CrowdloanRewardsPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2050>, Erc20BalancesPrecompile<R, NativeErc20Metadata>, (CallableByContract, CallableByPrecompile)>, RemovedPrecompileAt<AddressU64<2051>>, PrecompileAt<AddressU64<2052>, XtokensPrecompile<R>, (SubcallWithMaxNesting<1>, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2053>, RelayEncoderPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2054>, XcmTransactorPrecompileV1<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2055>, AuthorMappingPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2056>, BatchPrecompile<R>, (SubcallWithMaxNesting<2>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2057>, RandomnessPrecompile<R>, (SubcallWithMaxNesting<0>, CallableByContract)>, PrecompileAt<AddressU64<2058>, CallPermitPrecompile<R>, (SubcallWithMaxNesting<0>, CallableByContract)>, PrecompileAt<AddressU64<2059>, ProxyPrecompile<R>, (CallableByContract<OnlyIsProxyAndProxy<R>>, SubcallWithMaxNesting<0>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2060>, XcmUtilsPrecompile<R, XcmExecutorConfig>, CallableByContract<AllExceptXcmExecute<R, XcmExecutorConfig>>>, PrecompileAt<AddressU64<2061>, XcmTransactorPrecompileV2<R>, (CallableByContract, CallableByPrecompile)>, RemovedPrecompileAt<AddressU64<2062>>, RemovedPrecompileAt<AddressU64<2063>>, PrecompileAt<AddressU64<2064>, CollectivePrecompile<R, TreasuryCouncilInstance>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2065>, ReferendaPrecompile<R, Origin>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2066>, ConvictionVotingPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2067>, PreimagePrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2068>, CollectivePrecompile<R, OpenTechCommitteeInstance>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2069>, PrecompileRegistry<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2070>, GmpPrecompile<R>, SubcallWithMaxNesting<0>>, PrecompileAt<AddressU64<2071>, XcmTransactorPrecompileV3<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2072>, IdentityPrecompile<R, MaxAdditionalFields>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2073>, RelayDataVerifierPrecompile<R>, (CallableByContract, CallableByPrecompile)>)>, PrecompileSetStartingWith<ForeignAssetPrefix, Erc20AssetsPrecompileSet<R, ForeignAssetInstance>, (CallableByContract, CallableByPrecompile)>, RemovedPrecompilesAt<DisabledLocalAssets<R>>)>;
Expand description
The PrecompileSet installed in the Moonbeam runtime.
+
MoonbeamPrecompiles in moonbeam_runtime - Rust Type Alias moonbeam_runtime::MoonbeamPrecompiles
source · pub type MoonbeamPrecompiles<R> = PrecompileSetBuilder<R, (PrecompilesInRangeInclusive<(AddressU64<1>, AddressU64<4095>), (PrecompileAt<AddressU64<1>, ECRecover, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2>, Sha256, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<3>, Ripemd160, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<4>, Identity, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<5>, Modexp, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<6>, Bn128Add, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<7>, Bn128Mul, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<8>, Bn128Pairing, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<9>, Blake2F, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1024>, Sha3FIPS256, (CallableByContract, CallableByPrecompile)>, RemovedPrecompileAt<AddressU64<1025>>, PrecompileAt<AddressU64<1026>, ECRecoverPublicKey, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2048>, ParachainStakingPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2049>, CrowdloanRewardsPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2050>, Erc20BalancesPrecompile<R, NativeErc20Metadata>, (CallableByContract, CallableByPrecompile)>, RemovedPrecompileAt<AddressU64<2051>>, PrecompileAt<AddressU64<2052>, XtokensPrecompile<R>, (SubcallWithMaxNesting<1>, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2053>, RelayEncoderPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2054>, XcmTransactorPrecompileV1<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2055>, AuthorMappingPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2056>, BatchPrecompile<R>, (SubcallWithMaxNesting<2>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2057>, RandomnessPrecompile<R>, (SubcallWithMaxNesting<0>, CallableByContract)>, PrecompileAt<AddressU64<2058>, CallPermitPrecompile<R>, (SubcallWithMaxNesting<0>, CallableByContract)>, PrecompileAt<AddressU64<2059>, ProxyPrecompile<R>, (CallableByContract<OnlyIsProxyAndProxy<R>>, SubcallWithMaxNesting<0>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2060>, XcmUtilsPrecompile<R, XcmExecutorConfig>, CallableByContract<AllExceptXcmExecute<R, XcmExecutorConfig>>>, PrecompileAt<AddressU64<2061>, XcmTransactorPrecompileV2<R>, (CallableByContract, CallableByPrecompile)>, RemovedPrecompileAt<AddressU64<2062>>, RemovedPrecompileAt<AddressU64<2063>>, PrecompileAt<AddressU64<2064>, CollectivePrecompile<R, TreasuryCouncilInstance>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2065>, ReferendaPrecompile<R, Origin>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2066>, ConvictionVotingPrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2067>, PreimagePrecompile<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2068>, CollectivePrecompile<R, OpenTechCommitteeInstance>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2069>, PrecompileRegistry<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2070>, GmpPrecompile<R>, SubcallWithMaxNesting<0>>, PrecompileAt<AddressU64<2071>, XcmTransactorPrecompileV3<R>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2072>, IdentityPrecompile<R, MaxAdditionalFields>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2073>, RelayDataVerifierPrecompile<R>, (CallableByContract, CallableByPrecompile)>)>, PrecompileSetStartingWith<ForeignAssetPrefix, Erc20AssetsPrecompileSet<R, ForeignAssetInstance>, (CallableByContract, CallableByPrecompile)>, RemovedPrecompilesAt<DisabledLocalAssets<R>>)>;
Expand description
The PrecompileSet installed in the Moonbeam runtime.
We include the nine Istanbul precompiles
(https://github.com/ethereum/go-ethereum/blob/3c46f557/core/vm/contracts.go#L69)
as well as a special precompile for dispatching Substrate extrinsics
diff --git a/moonbeam_runtime/type.ParachainStaking.html b/moonbeam_runtime/type.ParachainStaking.html
index 075e47650c..ab4c526a18 100644
--- a/moonbeam_runtime/type.ParachainStaking.html
+++ b/moonbeam_runtime/type.ParachainStaking.html
@@ -1,2 +1,2 @@
-
ParachainStaking in moonbeam_runtime - Rust Type Alias moonbeam_runtime::ParachainStaking
source · pub type ParachainStaking = Pallet<Runtime>;
Aliased Type§
struct ParachainStaking(/* private fields */);
Trait Implementations§
\ No newline at end of file
+ParachainStaking in moonbeam_runtime - Rust Type Alias moonbeam_runtime::ParachainStaking
source · pub type ParachainStaking = Pallet<Runtime>;
Aliased Type§
struct ParachainStaking(/* private fields */);
Trait Implementations§
\ No newline at end of file
diff --git a/moonbeam_runtime/type.ParachainStakingConfig.html b/moonbeam_runtime/type.ParachainStakingConfig.html
index 58e0e44a20..4b98c7fd6e 100644
--- a/moonbeam_runtime/type.ParachainStakingConfig.html
+++ b/moonbeam_runtime/type.ParachainStakingConfig.html
@@ -1,4 +1,4 @@
-ParachainStakingConfig in moonbeam_runtime - Rust Type Alias moonbeam_runtime::ParachainStakingConfig
source · pub type ParachainStakingConfig = GenesisConfig<Runtime>;
Aliased Type§
struct ParachainStakingConfig {
+ParachainStakingConfig in moonbeam_runtime - Rust Type Alias moonbeam_runtime::ParachainStakingConfig
source · pub type ParachainStakingConfig = GenesisConfig<Runtime>;
Aliased Type§
struct ParachainStakingConfig {
pub candidates: Vec<(AccountId20, u128), Global>,
pub delegations: Vec<(AccountId20, AccountId20, u128, Percent), Global>,
pub inflation_config: InflationInfo<u128>,
@@ -14,5 +14,5 @@
§parachain_bond_reserve_percent: Percent
Default percent of inflation set aside for parachain bond every round
§blocks_per_round: u32
Default number of blocks in a round
§num_selected_candidates: u32
Number of selected candidates every round. Cannot be lower than MinSelectedCandidates
-Trait Implementations§
source§impl<T> BuildStorage for GenesisConfig<T>where
- T: Config,
source§fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>
Assimilate the storage for this module into pre-existing overlays.§fn build_storage(&self) -> Result<Storage, String>
Build the storage out of this builder.
\ No newline at end of file
+Trait Implementations§
§impl<T> BuildStorage for GenesisConfig<T>where
+ T: Config,
§fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>
Assimilate the storage for this module into pre-existing overlays.§fn build_storage(&self) -> Result<Storage, String>
Build the storage out of this builder.
\ No newline at end of file
diff --git a/moonbeam_runtime/xcm_config/struct.XcmExecutorConfig.html b/moonbeam_runtime/xcm_config/struct.XcmExecutorConfig.html
index be37450094..9301cf86b6 100644
--- a/moonbeam_runtime/xcm_config/struct.XcmExecutorConfig.html
+++ b/moonbeam_runtime/xcm_config/struct.XcmExecutorConfig.html
@@ -1,5 +1,5 @@
XcmExecutorConfig in moonbeam_runtime::xcm_config - Rust Struct moonbeam_runtime::xcm_config::XcmExecutorConfig
source · pub struct XcmExecutorConfig;
Trait Implementations§
source§impl Config for XcmExecutorConfig
§type RuntimeCall = RuntimeCall
The outer call dispatch type.§type XcmSender = (ParentAsUmp<Pallet<Runtime>, Pallet<Runtime>, ()>, Pallet<Runtime>)
How to send an onward XCM message.§type AssetTransactor = (FungibleAdapter<Pallet<Runtime, ()>, IsConcrete<SelfReserve>, (ParentIsPreset<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountKey20Aliases<RelayNetwork, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>), <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, FungiblesAdapter<Pallet<Runtime, ()>, (ConvertedConcreteId<u128, u128, AsAssetType<u128, AssetType, Pallet<Runtime>>, TryConvertInto>,), (ParentIsPreset<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountKey20Aliases<RelayNetwork, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>), <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, NoChecking, ()>, Pallet<Runtime>)
How to withdraw and deposit an asset.§type OriginConverter = (SovereignSignedViaLocation<(ParentIsPreset<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountKey20Aliases<RelayNetwork, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>), RuntimeOrigin>, RelayChainAsNative<RelayChainOrigin, RuntimeOrigin>, SiblingParachainAsNative<Origin, RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>, SignedAccountKey20AsNative<RelayNetwork, RuntimeOrigin>)
How to get a call origin from a OriginKind
value.§type IsReserve = MultiNativeAsset<AbsoluteAndRelativeReserve<SelfLocationAbsolute>>
Combinations of (Asset, Location) pairs which we trust as reserves.§type IsTeleporter = ()
Combinations of (Asset, Location) pairs which we trust as teleporters.§type UniversalLocation = UniversalLocation
This chain’s Universal Location.§type Barrier = (TakeWeightCredit, AllowKnownQueryResponses<Pallet<Runtime>>, WithComputedOrigin<(AllowTopLevelPaidExecutionFrom<Everything>, AllowSubscriptionsFrom<Everything>), UniversalLocation, ConstU32<8>>)
Whether we should execute the given XCM at all.§type Weigher = WeightInfoBounds<XcmWeight<Runtime, RuntimeCall>, RuntimeCall, MaxInstructions>
The means of determining an XCM message’s weight.§type Trader = (UsingComponents<<Runtime as Config>::WeightToFee, SelfReserve, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime, ()>, DealWithFees<Runtime>>, FirstAssetTrader<AssetType, Pallet<Runtime>, XcmFeesToAccount<Pallet<Runtime, ()>, (ConvertedConcreteId<u128, u128, AsAssetType<u128, AssetType, Pallet<Runtime>>, TryConvertInto>,), <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, XcmFeesAccount>>)
The means of purchasing weight credit for XCM execution.§type ResponseHandler = Pallet<Runtime>
What to do when a response of a query is found.§type SubscriptionService = Pallet<Runtime>
How we handle version subscription requests.§type AssetTrap = AssetTrapWrapper<Pallet<Runtime>, Runtime>
The general asset trap - handler for when assets are left in the Holding Register at the
-end of execution.§type AssetClaims = Pallet<Runtime>
The handler for when there is an instruction to claim assets.§type CallDispatcher = MoonbeamCall
The call dispatcher used by XCM. Read more§type PalletInstancesInfo = (Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, Instance3>, Pallet<Runtime, Instance4>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>)
Information on all pallets.§type MaxAssetsIntoHolding = MaxAssetsIntoHolding
The maximum number of assets we target to have in the Holding Register at any one time. Read more§type AssetLocker = ()
Handler for asset locking.§type AssetExchanger = ()
Handler for exchanging assets.§type FeeManager = ()
Configure the fees.§type MessageExporter = ()
The method of exporting a message.§type UniversalAliases = Nothing
The origin locations and specific universal junctions to which they are allowed to elevate
+end of execution.§type AssetClaims = Pallet<Runtime>
The handler for when there is an instruction to claim assets.§type CallDispatcher = MoonbeamCall
The call dispatcher used by XCM. Read more§type PalletInstancesInfo = (Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, Instance3>, Pallet<Runtime, Instance4>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>)
Information on all pallets.§type MaxAssetsIntoHolding = MaxAssetsIntoHolding
The maximum number of assets we target to have in the Holding Register at any one time. Read more§type AssetLocker = ()
Handler for asset locking.§type AssetExchanger = ()
Handler for exchanging assets.§type FeeManager = ()
Configure the fees.§type MessageExporter = ()
The method of exporting a message.§type UniversalAliases = Nothing
The origin locations and specific universal junctions to which they are allowed to elevate
themselves.§type SafeCallFilter = SafeCallFilter
The safe call filter for Transact
. Read more§type Aliasers = Nothing
A list of (Origin, Target) pairs allowing a given Origin to be substituted with its
corresponding Target pair.§type TransactionalProcessor = FrameTransactionalProcessor
Transactional processor for XCM instructions.Auto Trait Implementations§
§impl RefUnwindSafe for XcmExecutorConfig
§impl Send for XcmExecutorConfig
§impl Sync for XcmExecutorConfig
§impl Unpin for XcmExecutorConfig
§impl UnwindSafe for XcmExecutorConfig
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/moonbeam_runtime_common/migrations/struct.CommonMigrations.html b/moonbeam_runtime_common/migrations/struct.CommonMigrations.html
index 32e9b75ae9..d4971b1cd7 100644
--- a/moonbeam_runtime_common/migrations/struct.CommonMigrations.html
+++ b/moonbeam_runtime_common/migrations/struct.CommonMigrations.html
@@ -1,5 +1,5 @@
CommonMigrations in moonbeam_runtime_common::migrations - Rust pub struct CommonMigrations<Runtime>(/* private fields */);
Trait Implementations§
source§impl<Runtime> GetMigrations for CommonMigrations<Runtime>where
- Runtime: Config + Config + Config + AuthorSlotFilterConfig + Config + Config + Config + Config + Config + Config + Config,
+ Runtime: Config + Config + Config + AuthorSlotFilterConfig + Config + Config + Config + Config + Config + Config + Config,
Runtime::AccountId: Default,
BlockNumberFor<Runtime>: Into<u64>,
source§fn get_migrations() -> Vec<Box<dyn Migration>>
Auto Trait Implementations§
§impl<Runtime> RefUnwindSafe for CommonMigrations<Runtime>where
Runtime: RefUnwindSafe,
§impl<Runtime> Send for CommonMigrations<Runtime>where
diff --git a/moonbeam_runtime_common/migrations/struct.PalletStakingRoundMigration.html b/moonbeam_runtime_common/migrations/struct.PalletStakingRoundMigration.html
index ebf44669af..e235875751 100644
--- a/moonbeam_runtime_common/migrations/struct.PalletStakingRoundMigration.html
+++ b/moonbeam_runtime_common/migrations/struct.PalletStakingRoundMigration.html
@@ -1,5 +1,5 @@
PalletStakingRoundMigration in moonbeam_runtime_common::migrations - Rust pub struct PalletStakingRoundMigration<Runtime>(/* private fields */);
Trait Implementations§
Auto Trait Implementations§
§impl<Runtime> RefUnwindSafe for PalletStakingRoundMigration<Runtime>where
Runtime: RefUnwindSafe,
§impl<Runtime> Send for PalletStakingRoundMigration<Runtime>where
Runtime: Send,
§impl<Runtime> Sync for PalletStakingRoundMigration<Runtime>where
diff --git a/moonbeam_runtime_common/weights/pallet_asset_manager/struct.WeightInfo.html b/moonbeam_runtime_common/weights/pallet_asset_manager/struct.WeightInfo.html
index 79296c0d5c..f8c110b7e3 100644
--- a/moonbeam_runtime_common/weights/pallet_asset_manager/struct.WeightInfo.html
+++ b/moonbeam_runtime_common/weights/pallet_asset_manager/struct.WeightInfo.html
@@ -1,5 +1,5 @@
WeightInfo in moonbeam_runtime_common::weights::pallet_asset_manager - Rust pub struct WeightInfo<T>(/* private fields */);
Expand description
Weights for pallet_asset_manager
.
-Trait Implementations§
source§impl<T: Config> WeightInfo for WeightInfo<T>
source§fn register_foreign_asset() -> Weight
Storage: AssetManager::AssetIdType
(r:1 w:1)
+
Trait Implementations§
source§impl<T: Config> WeightInfo for WeightInfo<T>
source§fn register_foreign_asset() -> Weight
Storage: AssetManager::AssetIdType
(r:1 w:1)
Proof: AssetManager::AssetIdType
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Assets::Asset
(r:1 w:1)
Proof: Assets::Asset
(max_values
: None, max_size
: Some(174), added: 2649, mode: MaxEncodedLen
)
@@ -7,14 +7,14 @@
Proof: Assets::Metadata
(max_values
: None, max_size
: Some(152), added: 2627, mode: MaxEncodedLen
)
Storage: AssetManager::AssetTypeId
(r:0 w:1)
Proof: AssetManager::AssetTypeId
(max_values
: None, max_size
: None, mode: Measured
)
-source§fn set_asset_units_per_second(x: u32) -> Weight
Storage: AssetManager::AssetTypeId
(r:1 w:0)
+
source§fn set_asset_units_per_second(x: u32) -> Weight
Storage: AssetManager::AssetTypeId
(r:1 w:0)
Proof: AssetManager::AssetTypeId
(max_values
: None, max_size
: None, mode: Measured
)
Storage: AssetManager::SupportedFeePaymentAssets
(r:1 w:1)
Proof: AssetManager::SupportedFeePaymentAssets
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: AssetManager::AssetTypeUnitsPerSecond
(r:0 w:1)
Proof: AssetManager::AssetTypeUnitsPerSecond
(max_values
: None, max_size
: None, mode: Measured
)
The range of component x
is [5, 100]
.
-source§fn change_existing_asset_type(x: u32) -> Weight
Storage: AssetManager::SupportedFeePaymentAssets
(r:1 w:1)
+
source§fn change_existing_asset_type(x: u32) -> Weight
Storage: AssetManager::SupportedFeePaymentAssets
(r:1 w:1)
Proof: AssetManager::SupportedFeePaymentAssets
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: AssetManager::AssetIdType
(r:1 w:1)
Proof: AssetManager::AssetIdType
(max_values
: None, max_size
: None, mode: Measured
)
@@ -23,12 +23,12 @@
Storage: AssetManager::AssetTypeId
(r:0 w:2)
Proof: AssetManager::AssetTypeId
(max_values
: None, max_size
: None, mode: Measured
)
The range of component x
is [5, 100]
.
-source§fn remove_supported_asset(x: u32) -> Weight
Storage: AssetManager::SupportedFeePaymentAssets
(r:1 w:1)
+
source§fn remove_supported_asset(x: u32) -> Weight
Storage: AssetManager::SupportedFeePaymentAssets
(r:1 w:1)
Proof: AssetManager::SupportedFeePaymentAssets
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: AssetManager::AssetTypeUnitsPerSecond
(r:0 w:1)
Proof: AssetManager::AssetTypeUnitsPerSecond
(max_values
: None, max_size
: None, mode: Measured
)
The range of component x
is [5, 100]
.
-source§fn remove_existing_asset_type(x: u32) -> Weight
Storage: AssetManager::SupportedFeePaymentAssets
(r:1 w:1)
+
source§fn remove_existing_asset_type(x: u32) -> Weight
Storage: AssetManager::SupportedFeePaymentAssets
(r:1 w:1)
Proof: AssetManager::SupportedFeePaymentAssets
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: AssetManager::AssetIdType
(r:1 w:1)
Proof: AssetManager::AssetIdType
(max_values
: None, max_size
: None, mode: Measured
)
diff --git a/moonbeam_runtime_common/weights/pallet_moonbeam_lazy_migrations/struct.WeightInfo.html b/moonbeam_runtime_common/weights/pallet_moonbeam_lazy_migrations/struct.WeightInfo.html
index 333753f9a0..274d6afdd3 100644
--- a/moonbeam_runtime_common/weights/pallet_moonbeam_lazy_migrations/struct.WeightInfo.html
+++ b/moonbeam_runtime_common/weights/pallet_moonbeam_lazy_migrations/struct.WeightInfo.html
@@ -1,5 +1,5 @@
WeightInfo in moonbeam_runtime_common::weights::pallet_moonbeam_lazy_migrations - Rust