Struct kintsugi_runtime_parachain::Runtime
source · pub struct Runtime;
Implementations§
Trait Implementations§
source§impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
source§fn account_nonce(account: AccountId) -> Nonce
fn account_nonce(account: AccountId) -> Nonce
Get current account nonce of given
AccountId
.source§impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, Public> for Runtime
impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, Public> for Runtime
source§fn slot_duration() -> SlotDuration
fn slot_duration() -> SlotDuration
Returns the slot duration for Aura. Read more
Return the current set of authorities.
source§impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn apply_extrinsic(
extrinsic: <Block as BlockT>::Extrinsic
) -> ApplyExtrinsicResult
fn apply_extrinsic( extrinsic: <Block as BlockT>::Extrinsic ) -> ApplyExtrinsicResult
Apply the given extrinsic. Read more
source§fn finalize_block() -> <Block as BlockT>::Header
fn finalize_block() -> <Block as BlockT>::Header
Finish the current block.
source§fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>
fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>
Generate inherent extrinsics. The inherent data will vary from chain to chain.
source§fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
Check that the inherents are valid. The inherent data will vary from chain to chain.
source§impl BtcRelayApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, H256Le> for Runtime
impl BtcRelayApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, H256Le> for Runtime
source§impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller
impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller
source§fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>
fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>
Extract the signer from the message if it is a
Signed
origin.source§fn as_system_ref(&self) -> Option<&RawOrigin<<Runtime as Config>::AccountId>>
fn as_system_ref(&self) -> Option<&RawOrigin<<Runtime as Config>::AccountId>>
Extract a reference to the system-level
RawOrigin
if it is that.§fn as_signed(&self) -> Option<&AccountId>
fn as_signed(&self) -> Option<&AccountId>
Extract the signer from it if a system
Signed
origin, None
otherwise.source§impl ChainExtension<Runtime> for BtcRelayExtension
impl ChainExtension<Runtime> for BtcRelayExtension
source§impl CollectCollationInfoV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl CollectCollationInfoV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn collect_collation_info(header: &<Block as BlockT>::Header) -> CollationInfo
fn collect_collation_info(header: &<Block as BlockT>::Header) -> CollationInfo
Collect information about a collation. Read more
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type AddOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AddOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Required origin for adding a member (though can always be Root).
§type RemoveOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type RemoveOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Required origin for removing a member (though can always be Root).
§type SwapOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type SwapOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Required origin for adding and removing a member in a single action.
§type ResetOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ResetOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Required origin for resetting membership.
§type PrimeOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type PrimeOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Required origin for setting or resetting the prime member.
§type MembershipInitialized = Pallet<Runtime, Instance1>
type MembershipInitialized = Pallet<Runtime, Instance1>
The receiver of the signal for when the membership has been initialized. This happens
pre-genesis and will usually be the same as
MembershipChanged
. If you need to do
something different on initialization, then you can change this accordingly.§type MembershipChanged = Pallet<Runtime, Instance1>
type MembershipChanged = Pallet<Runtime, Instance1>
The receiver of the signal for when the membership has changed.
§type MaxMembers = TechnicalCommitteeMaxMembers
type MaxMembers = TechnicalCommitteeMaxMembers
The maximum number of members that this membership can have. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type SignedFixedPoint = FixedI128
type SignedFixedPoint = FixedI128
Signed fixed point type.
§type StakeId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type StakeId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
The stake identifier type.
§type CurrencyId = CurrencyId
type CurrencyId = CurrencyId
The currency ID type.
§type MaxRewardCurrencies = ConstU32<1>
type MaxRewardCurrencies = ConstU32<1>
The maximum number of reward currencies.
source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The runtime origin type.
§type Proposal = RuntimeCall
type Proposal = RuntimeCall
The runtime call dispatch type.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The runtime event type.
§type MotionDuration = TechnicalCommitteeMotionDuration
type MotionDuration = TechnicalCommitteeMotionDuration
The time-out for council motions.
§type MaxProposals = TechnicalCommitteeMaxProposals
type MaxProposals = TechnicalCommitteeMaxProposals
Maximum number of proposals allowed to be active in parallel.
§type MaxProposalWeight = MaxProposalWeight
type MaxProposalWeight = MaxProposalWeight
The maximum weight of a dispatch call that can be proposed and executed.
§type MaxMembers = TechnicalCommitteeMaxMembers
type MaxMembers = TechnicalCommitteeMaxMembers
The maximum number of members supported by the pallet. Used for weight estimation. Read more
§type DefaultVote = PrimeDefaultVote
type DefaultVote = PrimeDefaultVote
Default vote strategy of this collective.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type SetMembersOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type SetMembersOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Origin allowed to set collective members
source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
§type AnnuityPalletId = EscrowAnnuityPalletId
type AnnuityPalletId = EscrowAnnuityPalletId
The annuity module id, used for deriving its sovereign account ID.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
The native currency for emission.
§type BlockRewardProvider = EscrowBlockRewardProvider
type BlockRewardProvider = EscrowBlockRewardProvider
The block reward provider.
§type BlockNumberToBalance = BlockNumberToBalance
type BlockNumberToBalance = BlockNumberToBalance
Convert the block number into a balance.
§type EmissionPeriod = EmissionPeriod
type EmissionPeriod = EmissionPeriod
The emission period for block rewards.
§type TotalWrapped = TotalWrapped
type TotalWrapped = TotalWrapped
The total amount of the wrapped asset.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for the extrinsics in this module.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Because this pallet emits events, it depends on the runtime’s definition of an event.
§type MultiCurrency = Pallet<Runtime>
type MultiCurrency = Pallet<Runtime>
The trait control all currencies
§type PalletId = DexGeneralPalletId
type PalletId = DexGeneralPalletId
This pallet id.
§type AssetId = CurrencyId
type AssetId = CurrencyId
The asset type.
§type EnsurePairAsset = DexGeneralVerifyPairAsset
type EnsurePairAsset = DexGeneralVerifyPairAsset
Verify the asset can be used in a pair.
§type LpGenerate = PairLpIdentity
type LpGenerate = PairLpIdentity
Generate the AssetId for the pair.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type MaxBootstrapRewards = MaxBootstrapRewards
type MaxBootstrapRewards = MaxBootstrapRewards
The maximum number of rewards that can be stored
§type MaxBootstrapLimits = MaxBootstrapLimits
type MaxBootstrapLimits = MaxBootstrapLimits
The maximum number of limits that can be stored
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The aggregated origin which the dispatch will take.
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
The caller origin, overarching type of all pallets origins.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated call type.
§type MaximumWeight = MaximumSchedulerWeight
type MaximumWeight = MaximumSchedulerWeight
The maximum weight that may be scheduled per block for any dispatchables.
§type ScheduleOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ScheduleOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Required origin to schedule or cancel calls.
§type MaxScheduledPerBlock = MaxScheduledPerBlock
type MaxScheduledPerBlock = MaxScheduledPerBlock
The maximum number of scheduled calls in the queue for a single block. Read more
§type OriginPrivilegeCmp = EqualPrivilegeOnly
type OriginPrivilegeCmp = EqualPrivilegeOnly
Compare the privileges of origins. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Overarching event type.
§type StakingCurrency = Pallet<Runtime>
type StakingCurrency = Pallet<Runtime>
The currency used for staking.
§type RewardsCurrency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
type RewardsCurrency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
The currency used for rewards.
§type UpdateOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureXcm<IsMajorityOfBody<ParentLocation, ExecutiveBody>>>
type UpdateOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureXcm<IsMajorityOfBody<ParentLocation, ExecutiveBody>>>
Origin that can dictate updating parameters of this pallet.
§type PotId = CollatorPotId
type PotId = CollatorPotId
Account Identifier from which the internal Pot is generated.
§type MaxCandidates = MaxCandidates
type MaxCandidates = MaxCandidates
Maximum number of candidates that we should have. This is enforced in code. Read more
§type MinCandidates = MinCandidates
type MinCandidates = MinCandidates
Minimum number of candidates that we should have. This is used for disaster recovery. Read more
§type MaxInvulnerables = MaxInvulnerables
type MaxInvulnerables = MaxInvulnerables
Maximum number of invulnerables. This is enforced in code.
type KickThreshold = Period
§type ValidatorId = <Runtime as Config>::AccountId
type ValidatorId = <Runtime as Config>::AccountId
A stable ID for a validator.
§type ValidatorIdOf = IdentityCollator
type ValidatorIdOf = IdentityCollator
A conversion from account ID to validator ID. Read more
§type ValidatorRegistration = Pallet<Runtime>
type ValidatorRegistration = Pallet<Runtime>
Validate a user is registered
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The weight information of this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
§type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
The currency mechanism.
§type ProxyType = ProxyType
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 = ProxyDepositBase
type ProxyDepositBase = ProxyDepositBase
The base amount of currency needed to reserve for creating a proxy. Read more
§type ProxyDepositFactor = ProxyDepositFactor
type ProxyDepositFactor = ProxyDepositFactor
The amount of currency needed per proxy added. Read more
§type MaxProxies = MaxProxies
type MaxProxies = MaxProxies
The maximum amount of proxies allowed for a single account.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type MaxPending = MaxPending
type MaxPending = MaxPending
The maximum amount of time-delayed announcements that are allowed to be pending.
§type CallHasher = BlakeTwo256
type CallHasher = BlakeTwo256
The type of hash used for hashing the call.
§type AnnouncementDepositBase = AnnouncementDepositBase
type AnnouncementDepositBase = AnnouncementDepositBase
The base amount of currency needed to reserve for creating an announcement. Read more
§type AnnouncementDepositFactor = AnnouncementDepositFactor
type AnnouncementDepositFactor = AnnouncementDepositFactor
The amount of currency needed per announcement made. Read more
source§impl Config for Runtime
impl Config for Runtime
§type SupplyPalletId = SupplyPalletId
type SupplyPalletId = SupplyPalletId
The supply module id, used for deriving its sovereign account ID.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type UnsignedFixedPoint = FixedU128
type UnsignedFixedPoint = FixedU128
Unsigned fixed point type.
§type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
The native currency for emission.
§type InflationPeriod = InflationPeriod
type InflationPeriod = InflationPeriod
The period between inflation updates.
§type OnInflation = DealWithRewards
type OnInflation = DealWithRewards
Handler for when the total supply has inflated.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type OnExchangeRateChange = (PoolManager<Runtime>, Pallet<Runtime>)
type OnExchangeRateChange = (PoolManager<Runtime>, Pallet<Runtime>)
Hook for aggregate changes.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for the extrinsics in this module.
§type MaxNameLength = ConstU32<255>
type MaxNameLength = ConstU32<255>
The maximum length of an oracle name.
source§impl Config for Runtime
impl Config for Runtime
§type AuthorityId = Public
type AuthorityId = Public
The identifier type for an authority.
§type DisabledValidators = ()
type DisabledValidators = ()
A way to check whether a given validator is disabled and should not be authoring blocks.
Blocks authored by a disabled validator will lead to a panic as part of this module’s
initialization.
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
The maximum number of authorities that the pallet can hold.
§type AllowMultipleBlocksPerSlot = ConstBool<false>
type AllowMultipleBlocksPerSlot = ConstBool<false>
Whether to allow block authors to create multiple blocks per slot. Read more
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The Weight information for this pallet.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
Currency type for this pallet.
§type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
An origin that can request a preimage be placed on-chain without a deposit or fee, or
manage existing preimages.
§type BaseDeposit = PreimageBaseDepositz
type BaseDeposit = PreimageBaseDepositz
The base deposit for placing a preimage on chain.
§type ByteDeposit = PreimageByteDepositz
type ByteDeposit = PreimageByteDepositz
The per-byte deposit for placing a preimage on chain.
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
§type MinVestedTransfer = MinVestedTransfer
type MinVestedTransfer = MinVestedTransfer
The minimum amount transferred to call
vested_transfer
.§type VestedTransferOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type VestedTransferOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Required origin for vested transfer.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this module.
§type MaxVestingSchedules = MaxVestingSchedules
type MaxVestingSchedules = MaxVestingSchedules
The maximum vesting schedules
type BlockNumberProvider = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for the extrinsics in this module.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
§type PauseOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type PauseOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The only origin that can pause calls.
§type UnpauseOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type UnpauseOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The only origin that can un-pause calls.
§type WhitelistCallNames = Nothing
type WhitelistCallNames = Nothing
Contains all calls that cannot be paused. Read more
§type MaxNameLen = MaxNameLen
type MaxNameLen = MaxNameLen
Maximum length for pallet and call SCALE encoded string names. Read more
§type PauseTooLongNames = PauseTooLongNames
type PauseTooLongNames = PauseTooLongNames
Specifies if functions and pallets with too long names should be treated as paused. Read more
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type AddressMapping = HashedAddressMapping<BlakeTwo256>
type AddressMapping = HashedAddressMapping<BlakeTwo256>
Mapping from address to account id.
§type BlockGasLimit = BlockGasLimit
type BlockGasLimit = BlockGasLimit
The block gas limit. Can be a simple constant, or an adjustment algorithm in another pallet.
§type BlockHashMapping = EthereumBlockHashMapping<Runtime>
type BlockHashMapping = EthereumBlockHashMapping<Runtime>
Block number to block hash.
§type CallOrigin = EnsureAddressRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type CallOrigin = EnsureAddressRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Allow the origin to call on behalf of given address.
§type WithdrawOrigin = EnsureAddressTruncated
type WithdrawOrigin = EnsureAddressTruncated
Allow the origin to withdraw on behalf of given address.
§type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
Currency type for withdraw and balance storage.
§type FeeCalculator = Pallet<Runtime>
type FeeCalculator = Pallet<Runtime>
Calculator for current gas price.
§type FindAuthor = FindAuthorTruncated<Pallet<Runtime>>
type FindAuthor = FindAuthorTruncated<Pallet<Runtime>>
Find author for the current block.
§type GasWeightMapping = FixedGasWeightMapping<Runtime>
type GasWeightMapping = FixedGasWeightMapping<Runtime>
Maps Ethereum gas to Substrate weight.
§type OnChargeTransaction = ()
type OnChargeTransaction = ()
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 PrecompilesType = InterBtcPrecompiles<Runtime>
type PrecompilesType = InterBtcPrecompiles<Runtime>
Precompiles associated with this EVM engine.
type PrecompilesValue = PrecompilesValue
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type WeightPerGas = WeightPerGas
type WeightPerGas = WeightPerGas
Weight corresponding to a gas unit.
§type GasLimitPovSizeRatio = GasLimitPovSizeRatio
type GasLimitPovSizeRatio = GasLimitPovSizeRatio
Gas limit Pov size ratio.
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type CustomMetadata = CustomMetadata
type CustomMetadata = CustomMetadata
Additional non-standard metadata to store for each asset
§type AssetProcessor = SequentialId<Runtime>
type AssetProcessor = SequentialId<Runtime>
A filter ran upon metadata registration that assigns an is and
potentially modifies the supplied metadata.
§type AuthorityOrigin = AssetAuthority
type AuthorityOrigin = AssetAuthority
Checks that an origin has the authority to register/update an asset
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this module.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type OnSystemEvent = ()
type OnSystemEvent = ()
Something which can be notified when the validation data is set.
§type SelfParaId = Pallet<Runtime>
type SelfParaId = Pallet<Runtime>
Returns the parachain ID we are running with.
§type OutboundXcmpMessageSource = Pallet<Runtime>
type OutboundXcmpMessageSource = Pallet<Runtime>
The place where outbound XCMP messages come from. This is queried in
finalize_block
.§type DmpMessageHandler = Pallet<Runtime>
type DmpMessageHandler = Pallet<Runtime>
The message handler that will be invoked when messages are received via DMP.
§type ReservedDmpWeight = ReservedDmpWeight
type ReservedDmpWeight = ReservedDmpWeight
The weight we reserve at the beginning of the block for processing DMP messages.
§type XcmpMessageHandler = Pallet<Runtime>
type XcmpMessageHandler = Pallet<Runtime>
The message handler that will be invoked when messages are received via XCMP. Read more
§type ReservedXcmpWeight = ReservedXcmpWeight
type ReservedXcmpWeight = ReservedXcmpWeight
The weight we reserve at the beginning of the block for processing XCMP messages.
§type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases
type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases
Something that can check the associated relay parent block number.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for the extrinsics in this module.
type ParachainBlocksPerBitcoinBlock = ParachainBlocksPerBitcoinBlock
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type PalletId = LoansPalletId
type PalletId = LoansPalletId
The loan’s module id, used to derive the account that holds the liquidity in all markets.
§type ReserveOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ReserveOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin which can add/reduce reserves.
§type UpdateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type UpdateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin which can add or update markets (including interest rate model, liquidate incentive and
collateral ratios).
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type RewardAssetId = GetNativeCurrencyId
type RewardAssetId = GetNativeCurrencyId
Incentive reward asset id.
§type ReferenceAssetId = GetWrappedCurrencyId
type ReferenceAssetId = GetWrappedCurrencyId
Reference currency for expressing asset prices. Example: USD, IBTC.
§type OnExchangeRateChange = PoolManager<Runtime>
type OnExchangeRateChange = PoolManager<Runtime>
Hook for exchangerate changes.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type PostLogContent = PostBlockAndTxnHashes
type PostLogContent = PostBlockAndTxnHashes
What’s included in the PostLog.
§type ExtraDataLength = ConstU32<30>
type ExtraDataLength = ConstU32<30>
The maximum length of the extra data in the Executed event.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
type XcmExecutor = XcmExecutor<XcmConfig>
§type ExecuteOverweightOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ExecuteOverweightOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Origin which is allowed to execute overweight messages.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
A sudo-able call.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type WeightInfo = ()
type WeightInfo = ()
Type representing the weight of this pallet
source§impl Config for Runtime
impl Config for Runtime
§type FastTrackOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 1>>
type FastTrackOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 1>>
The technical committee can have any proposal be tabled immediately with a shorter voting period.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type EnactmentPeriod = EnactmentPeriod
type EnactmentPeriod = EnactmentPeriod
The period between a proposal being approved and enacted. Read more
§type VotingPeriod = VotingPeriod
type VotingPeriod = VotingPeriod
How often (in blocks) to check for new votes.
§type FastTrackVotingPeriod = FastTrackVotingPeriod
type FastTrackVotingPeriod = FastTrackVotingPeriod
Minimum voting period allowed for a fast-track referendum.
§type MinimumDeposit = MinimumDeposit
type MinimumDeposit = MinimumDeposit
The minimum amount to be used as a deposit for a public referendum proposal.
§type MaxProposals = MaxProposals
type MaxProposals = MaxProposals
The maximum number of public proposals that can exist at any time.
§type MaxDeposits = ConstU32<100>
type MaxDeposits = ConstU32<100>
The maximum number of deposits a public proposal may have at any time.
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
Overarching type of all pallets origins.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type LaunchPeriod = LaunchPeriod
type LaunchPeriod = LaunchPeriod
Period from previous launch timestamp.
§type TreasuryAccount = TreasuryAccount
type TreasuryAccount = TreasuryAccount
Account from which is transferred in
spend_from_treasury
.§type TreasuryCurrency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
type TreasuryCurrency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
Currency used in
spend_from_treasury
.source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type CurrencyId = CurrencyId
type CurrencyId = CurrencyId
The currency ID type
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this module.
§type ExistentialDeposits = ExistentialDeposits
type ExistentialDeposits = ExistentialDeposits
The minimum amount required to keep an account.
It’s deprecated to config 0 as ED for any currency_id,
zero ED will retain account even if its total is zero.
Since accounts of orml_tokens are also used as providers of
System::AccountInfo, zero ED may cause some problems.
§type CurrencyHooks = CurrencyHooks<Runtime>
type CurrencyHooks = CurrencyHooks<Runtime>
Hooks are actions that are executed on certain events.
For example: OnDust, OnNewTokenAccount
type MaxLocks = MaxLocks
type DustRemovalWhitelist = DustRemovalWhitelist
§type MaxReserves = ConstU32<0>
type MaxReserves = ConstU32<0>
The maximum number of named reserves that can exist on an account.
§type ReserveIdentifier = ()
type ReserveIdentifier = ()
The id type for named reserves.
source§impl Config for Runtime
impl Config for Runtime
type SignedInner = <FixedI128 as FixedPointNumber>::Inner
type SignedFixedPoint = FixedI128
type UnsignedFixedPoint = FixedU128
type Balance = u128
§type GetNativeCurrencyId = GetNativeCurrencyId
type GetNativeCurrencyId = GetNativeCurrencyId
Native currency e.g. INTR/KINT
§type GetRelayChainCurrencyId = GetRelayChainCurrencyId
type GetRelayChainCurrencyId = GetRelayChainCurrencyId
Relay chain currency e.g. DOT/KSM
§type GetWrappedCurrencyId = GetWrappedCurrencyId
type GetWrappedCurrencyId = GetWrappedCurrencyId
Wrapped currency e.g. IBTC/KBTC
type CurrencyConversion = CurrencyConvert<Runtime, Pallet<Runtime>, Pallet<Runtime>>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
§type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
The currency mechanism.
§type DepositBase = GetDepositBase
type DepositBase = GetDepositBase
The base amount of currency needed to reserve for creating a multisig execution or to
store a dispatch call for later. Read more
§type DepositFactor = GetDepositFactor
type DepositFactor = GetDepositFactor
The amount of currency needed per unit threshold when creating a multisig execution. Read more
§type MaxSignatories = GetMaxSignatories
type MaxSignatories = GetMaxSignatories
The maximum amount of signatories allowed in the multisig.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type BlockNumberToBalance = BlockNumberToBalance
type BlockNumberToBalance = BlockNumberToBalance
Convert the block number into a balance.
§type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
The currency trait.
§type EscrowRewards = Pallet<Runtime, Instance1>
type EscrowRewards = Pallet<Runtime, Instance1>
Escrow reward pool.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for the extrinsics in this module.
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type CurrencyId = CurrencyId
type CurrencyId = CurrencyId
Currency Id.
§type CurrencyIdConvert = CurrencyIdConvert
type CurrencyIdConvert = CurrencyIdConvert
Convert
T::CurrencyId
to MultiLocation
.§type AccountIdToMultiLocation = AccountIdToMultiLocation
type AccountIdToMultiLocation = AccountIdToMultiLocation
Convert
T::AccountId
to MultiLocation
.§type SelfLocation = SelfLocation
type SelfLocation = SelfLocation
Self chain location.
§type XcmExecutor = XcmExecutor<XcmConfig>
type XcmExecutor = XcmExecutor<XcmConfig>
XCM executor.
§type Weigher = FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>
type Weigher = FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>
Means of measuring the weight consumed by an XCM message locally.
§type BaseXcmWeight = UnitWeightCost
type BaseXcmWeight = UnitWeightCost
Base XCM weight. Read more
§type MaxAssetsForTransfer = MaxAssetsForTransfer
type MaxAssetsForTransfer = MaxAssetsForTransfer
The maximum number of distinct assets allowed to be transferred in a
single helper extrinsic.
§type MinXcmFee = ParachainMinFee
type MinXcmFee = ParachainMinFee
Minimum xcm execution fee paid on destination chain.
§type MultiLocationsFilter = Everything
type MultiLocationsFilter = Everything
MultiLocation filter
§type ReserveProvider = AbsoluteReserveProvider
type ReserveProvider = AbsoluteReserveProvider
The way to retreave the reserve of a MultiAsset. This can be
configured to accept absolute or relative paths for self tokens
§type UniversalLocation = UniversalLocation
type UniversalLocation = UniversalLocation
This chain’s Universal Location.
source§impl Config for Runtime
impl Config for Runtime
§type DexWeightInfo = WeightInfo<Runtime>
type DexWeightInfo = WeightInfo<Runtime>
weights of dex operations
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated call type.
§type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
The currency trait.
§type OnUnbalanced = DealWithFees<Runtime, GetNativeCurrencyId>
type OnUnbalanced = DealWithFees<Runtime, GetNativeCurrencyId>
What to do with fees. Typically this is a transfer to the block author or treasury
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type StablePoolId = u32
type Balance = u128
type CurrencyId = CurrencyId
type GeneralAmm = Pallet<Runtime>
type StableAmm = Pallet<Runtime>
§type GeneralWeightInfo = WeightInfo<Runtime>
type GeneralWeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
type StableWeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type XcmExecutor = XcmExecutor<XcmConfig>
type XcmExecutor = XcmExecutor<XcmConfig>
Something to execute an XCM message. We need this to service the XCMoXCMP queue.
§type ChannelInfo = Pallet<Runtime>
type ChannelInfo = Pallet<Runtime>
Information on the avaialble XCMP channels.
§type VersionWrapper = Pallet<Runtime>
type VersionWrapper = Pallet<Runtime>
Means of converting an
Xcm
into a VersionedXcm
.§type ExecuteOverweightOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ExecuteOverweightOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin that is allowed to execute overweight messages.
§type ControllerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ControllerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin that is allowed to resume or suspend the XCMP queue.
§type ControllerOriginConverter = (SovereignSignedViaLocation<(ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ParentNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), RuntimeOrigin>, RelayChainAsNative<RelayChainOrigin, RuntimeOrigin>, SiblingParachainAsNative<Origin, RuntimeOrigin>, SignedAccountId32AsNative<ParentNetwork, RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>)
type ControllerOriginConverter = (SovereignSignedViaLocation<(ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ParentNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), RuntimeOrigin>, RelayChainAsNative<RelayChainOrigin, RuntimeOrigin>, SiblingParachainAsNative<Origin, RuntimeOrigin>, SignedAccountId32AsNative<ParentNetwork, RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>)
The conversion function used to attempt to convert an XCM
MultiLocation
origin to a
superuser origin.§type PriceForSiblingDelivery = ()
type PriceForSiblingDelivery = ()
The price for delivering an XCM to a sibling parachain destination.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The weight information of this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for the extrinsics in this module.
source§impl Config for Runtime
impl Config for Runtime
type DefaultBaseFeePerGas = DefaultBaseFeePerGas
type DefaultElasticity = DefaultElasticity
type RuntimeEvent = RuntimeEvent
§type Threshold = BaseFeeThreshold
type Threshold = BaseFeeThreshold
Lower and upper bounds for increasing / decreasing
BaseFeePerGas
.source§impl Config for Runtime
impl Config for Runtime
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
The caller origin, overarching type of all pallets origins.
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type CurrencyId = CurrencyId
type CurrencyId = CurrencyId
The currency ID type
§type MultiCurrency = Pallet<Runtime>
type MultiCurrency = Pallet<Runtime>
The trait control all currencies
§type TimeProvider = Pallet<Runtime>
type TimeProvider = Pallet<Runtime>
The trait get timestamp of chain.
§type EnsurePoolAsset = DexStableVerifyPoolAsset
type EnsurePoolAsset = DexStableVerifyPoolAsset
Verify that the currencies can be used in a pool.
§type LpGenerate = PoolLpGenerate
type LpGenerate = PoolLpGenerate
Generate the CurrencyId for the pool.
type PoolCurrencyLimit = CurrencyLimit
type PoolCurrencySymbolLimit = StringLimit
§type PalletId = DexStablePalletId
type PalletId = DexStablePalletId
This pallet ID.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for the extrinsics in this module.
§type MaxNameLength = ConstU32<255>
type MaxNameLength = ConstU32<255>
The maximum length of a client name.
§type MaxUriLength = ConstU32<255>
type MaxUriLength = ConstU32<255>
The maximum length of a client URI.
source§impl Config for Runtime
impl Config for Runtime
§type PalletId = VaultRegistryPalletId
type PalletId = VaultRegistryPalletId
The vault module id, used for deriving its sovereign account ID.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for the extrinsics in this module.
§type GetGriefingCollateralCurrencyId = GetNativeCurrencyId
type GetGriefingCollateralCurrencyId = GetNativeCurrencyId
Currency used for griefing collateral, e.g. DOT.
source§impl Config for Runtime
impl Config for Runtime
§type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
Find the author of a block.
§type EventHandler = (Pallet<Runtime>,)
type EventHandler = (Pallet<Runtime>,)
An event handler for authored blocks.
source§impl Config for Runtime
impl Config for Runtime
§type Time = Pallet<Runtime>
type Time = Pallet<Runtime>
The time implementation used to supply timestamps to contracts through
seal_now
.§type Randomness = NoRandomness
type Randomness = NoRandomness
The generator used to supply randomness to contracts through
seal_random
. Read more§type Currency = NativeCurrencyWithEd
type Currency = NativeCurrencyWithEd
The currency in which fees are paid and contract balances are held.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
§type CallFilter = Nothing
type CallFilter = Nothing
Filter that is applied to calls dispatched by contracts. Read more
§type WeightPrice = DummyWeightPrice
type WeightPrice = DummyWeightPrice
Used to answer contracts’ queries regarding the current weight price. This is not
used to calculate the actual fee and is only for informational purposes.
§type WeightInfo = ()
type WeightInfo = ()
Describes the weights of the dispatchables of this module and is also used to
construct a default cost schedule.
§type ChainExtension = BtcRelayExtension
type ChainExtension = BtcRelayExtension
Type that allows the runtime authors to add new host functions for a contract to call.
§type Schedule = DefaultSchedule
type Schedule = DefaultSchedule
Cost schedule and limits.
§type CallStack = [Frame<Runtime>; 1]
type CallStack = [Frame<Runtime>; 1]
The type of the call stack determines the maximum nesting depth of contract calls. Read more
§type DepositPerByte = DepositPerByte
type DepositPerByte = DepositPerByte
The amount of balance a caller has to pay for each byte of storage. Read more
§type DepositPerItem = DepositPerItem
type DepositPerItem = DepositPerItem
The amount of balance a caller has to pay for each storage item. Read more
§type DefaultDepositLimit = DefaultDepositLimit
type DefaultDepositLimit = DefaultDepositLimit
Fallback value to limit the storage deposit if it’s not being set by the caller.
§type AddressGenerator = DefaultAddressGenerator
type AddressGenerator = DefaultAddressGenerator
The address generator used to generate the addresses of contracts.
§type MaxCodeLen = MaxCodeLen
type MaxCodeLen = MaxCodeLen
The maximum length of a contract code in bytes. Read more
§type MaxStorageKeyLen = MaxStorageKeyLen
type MaxStorageKeyLen = MaxStorageKeyLen
The maximum allowable length in bytes for storage keys.
§type UnsafeUnstableInterface = UnsafeUnstableInterface
type UnsafeUnstableInterface = UnsafeUnstableInterface
Make contract callable functions marked as
#[unstable]
available. Read more§type MaxDebugBufferLen = MaxDebugBufferLen
type MaxDebugBufferLen = MaxDebugBufferLen
The maximum length of the debug buffer in bytes.
§type Migrations = ()
type Migrations = ()
The sequence of migration steps that will be applied during a migration. Read more
source§impl Config for Runtime
impl Config for Runtime
§type FeePalletId = FeePalletId
type FeePalletId = FeePalletId
The fee module id, used for deriving its sovereign account ID.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for the extrinsics in this module.
§type SignedFixedPoint = FixedI128
type SignedFixedPoint = FixedI128
Signed fixed point type.
§type SignedInner = <FixedI128 as FixedPointNumber>::Inner
type SignedInner = <FixedI128 as FixedPointNumber>::Inner
The
Inner
type of the SignedFixedPoint
.§type CapacityRewards = Pallet<Runtime, Instance3>
type CapacityRewards = Pallet<Runtime, Instance3>
Capacity reward pool.
§type VaultRewards = Pallet<Runtime, Instance2>
type VaultRewards = Pallet<Runtime, Instance2>
Vault reward pool.
§type VaultStaking = Pallet<Runtime>
type VaultStaking = Pallet<Runtime>
Vault staking pool.
§type OnSweep = SweepFunds<Runtime, FeeAccount>
type OnSweep = SweepFunds<Runtime, FeeAccount>
Handler to transfer undistributed rewards.
§type MaxExpectedValue = MaxExpectedValue
type MaxExpectedValue = MaxExpectedValue
Maximum expected value to set the storage fields to.
§type NominationApi = Pallet<Runtime>
type NominationApi = Pallet<Runtime>
Api of the nomination pallet; used to make sure that commission can only be set if opted in.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for the extrinsics in this module.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
The currency trait.
§type BasicDeposit = BasicDeposit
type BasicDeposit = BasicDeposit
The amount held on deposit for a registered identity
§type FieldDeposit = FieldDeposit
type FieldDeposit = FieldDeposit
The amount held on deposit per additional field for a registered identity.
§type SubAccountDeposit = SubAccountDeposit
type SubAccountDeposit = SubAccountDeposit
The amount held on deposit for a registered subaccount. This should account for the fact
that one storage item’s value will increase by the size of an account ID, and there will
be another trie item whose value is the size of an account ID plus 32 bytes.
§type MaxSubAccounts = MaxSubAccounts
type MaxSubAccounts = MaxSubAccounts
The maximum number of sub-accounts allowed per identified account.
§type MaxAdditionalFields = MaxAdditionalFields
type MaxAdditionalFields = MaxAdditionalFields
Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
required to access an identity, but can be pretty high.
§type MaxRegistrars = MaxRegistrars
type MaxRegistrars = MaxRegistrars
Maxmimum number of registrars allowed in the system. Needed to bound the complexity
of, e.g., updating judgements.
§type Slashed = ToTreasury<Runtime, TreasuryAccount, CurrencyAdapter<Runtime, GetNativeCurrencyId>>
type Slashed = ToTreasury<Runtime, TreasuryAccount, CurrencyAdapter<Runtime, GetNativeCurrencyId>>
What to do with slashed funds.
§type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin which may forcibly set or remove a name. Root can always do this.
§type RegistrarOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type RegistrarOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin which may add or remove registrars. Root can always do this.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type FarmingPalletId = FarmingPalletId
type FarmingPalletId = FarmingPalletId
The farming pallet id, used for deriving pool accounts.
§type TreasuryAccountId = TreasuryAccount
type TreasuryAccountId = TreasuryAccount
The treasury account id for funding pools.
§type RewardPeriod = RewardPeriod
type RewardPeriod = RewardPeriod
The period to accrue rewards.
§type RewardPools = Pallet<Runtime, Instance4>
type RewardPools = Pallet<Runtime, Instance4>
Reward pools to track stake.
§type MultiCurrency = Pallet<Runtime>
type MultiCurrency = Pallet<Runtime>
Currency handler to transfer tokens.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for the extrinsics.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type SignedFixedPoint = FixedI128
type SignedFixedPoint = FixedI128
Signed fixed point type.
§type SignedInner = <FixedI128 as FixedPointNumber>::Inner
type SignedInner = <FixedI128 as FixedPointNumber>::Inner
The
Inner
type of the SignedFixedPoint
.§type CurrencyId = CurrencyId
type CurrencyId = CurrencyId
The currency ID type.
type GetNativeCurrencyId = GetNativeCurrencyId
source§impl Config for Runtime
impl Config for Runtime
§type TreasuryPalletId = TreasuryPalletId
type TreasuryPalletId = TreasuryPalletId
The treasury pallet account for slashed griefing collateral.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type BlockNumberToBalance = BlockNumberToBalance
type BlockNumberToBalance = BlockNumberToBalance
Convert the block number into a balance.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for the extrinsics in this module.
source§impl Config for Runtime
impl Config for Runtime
§type OnTimestampSet = ConsensusOnTimestampSet<Runtime, EnableManualSeal>
type OnTimestampSet = ConsensusOnTimestampSet<Runtime, EnableManualSeal>
Something which can be notified when the timestamp is set. Set this to
()
if not
needed.§type MinimumPeriod = MinimumPeriod
type MinimumPeriod = MinimumPeriod
The minimum period between blocks. Beware that this is different to the expected
period that the block production apparatus provides. Your chosen consensus system will
generally work with this to determine a sensible block time. e.g. For Aura, it will be
double this period on default settings.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type OnChargeTransaction = Pallet<Runtime>
type OnChargeTransaction = Pallet<Runtime>
Handler for withdrawing, refunding and depositing the transaction fee.
Transaction fees are withdrawn before the transaction is executed.
After the transaction was executed the transaction weight can be
adjusted, depending on the used resources by the transaction. If the
transaction weight is lower than expected, parts of the transaction fee
might be refunded. In the end the fees can be deposited.
§type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
Convert a length value into a deductible fee based on the currency type.
§type WeightToFee = IdentityFee<u128>
type WeightToFee = IdentityFee<u128>
Convert a weight value into a deductible fee based on the currency type.
§type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
Update the multiplier of the next block, based on the previous block’s weight.
§type OperationalFeeMultiplier = OperationalFeeMultiplier
type OperationalFeeMultiplier = OperationalFeeMultiplier
A fee mulitplier for
Operational
extrinsics to compute “virtual tip” to boost their
priority
Read moresource§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The runtime
Call
type.§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The runtime
Origin
type.§type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ParentNetwork>,)>
type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ParentNetwork>,)>
Required origin for sending XCM messages. If successful, it resolves to
MultiLocation
which exists as an interior location within this chain’s XCM context.§type XcmRouter = (ParentAsUmp<Pallet<Runtime>, Pallet<Runtime>, ()>, Pallet<Runtime>)
type XcmRouter = (ParentAsUmp<Pallet<Runtime>, Pallet<Runtime>, ()>, Pallet<Runtime>)
The type used to actually dispatch an XCM to its destination.
§type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ParentNetwork>,)>
type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ParentNetwork>,)>
Required origin for executing XCM messages, including the teleport functionality. If successful,
then it resolves to
MultiLocation
which exists as an interior location within this chain’s XCM
context.§type XcmExecuteFilter = Nothing
type XcmExecuteFilter = Nothing
Our XCM filter which messages to be executed using
XcmExecutor
must pass.§type XcmExecutor = XcmExecutor<XcmConfig>
type XcmExecutor = XcmExecutor<XcmConfig>
Something to execute an XCM message.
§type XcmTeleportFilter = Everything
type XcmTeleportFilter = Everything
Our XCM filter which messages to be teleported using the dedicated extrinsic must pass.
§type XcmReserveTransferFilter = Everything
type XcmReserveTransferFilter = Everything
Our XCM filter which messages to be reserve-transferred using the dedicated extrinsic must pass.
§type Weigher = FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>
type Weigher = FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>
Means of measuring the weight consumed by an XCM message locally.
§type AdvertisedXcmVersion = CurrentXcmVersion
type AdvertisedXcmVersion = CurrentXcmVersion
The latest supported version that we advertise. Generally just set it to
pallet_xcm::CurrentXcmVersion
.const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100u32
§type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>
A lockable currency.
§type CurrencyMatcher = ()
type CurrencyMatcher = ()
The
MultiAsset
matcher for Currency
.§type TrustedLockers = ()
type TrustedLockers = ()
The assets which we consider a given origin is trusted if they claim to have placed a
lock.
§type SovereignAccountOf = (ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ParentNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>)
type SovereignAccountOf = (ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ParentNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>)
How to get an
AccountId
value from a MultiLocation
, useful for handling asset locks.§type MaxLockers = ConstU32<8>
type MaxLockers = ConstU32<8>
The maximum number of local XCM locks that a single account may have.
§type UniversalLocation = UniversalLocation
type UniversalLocation = UniversalLocation
This chain’s Universal Location.
§type WeightInfo = TestWeightInfo
type WeightInfo = TestWeightInfo
Weight information for extrinsics in this pallet.
§type AdminOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AdminOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin that is allowed to call privileged operations on the XCM pallet
§type MaxRemoteLockConsumers = ConstU32<0>
type MaxRemoteLockConsumers = ConstU32<0>
The maximum number of consumers a single remote lock may have.
§type RemoteLockConsumerIdentifier = ()
type RemoteLockConsumerIdentifier = ()
The ID type for local consumers of remote locks.
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type ValidatorId = <Runtime as Config>::AccountId
type ValidatorId = <Runtime as Config>::AccountId
A stable ID for a validator.
§type ValidatorIdOf = IdentityCollator
type ValidatorIdOf = IdentityCollator
A conversion from account ID to validator ID. Read more
§type ShouldEndSession = PeriodicSessions<Period, Offset>
type ShouldEndSession = PeriodicSessions<Period, Offset>
Indicator for when to end the session.
§type NextSessionRotation = PeriodicSessions<Period, Offset>
type NextSessionRotation = PeriodicSessions<Period, Offset>
Something that can predict the next session rotation. This should typically come from
the same logical unit that provides [
ShouldEndSession
], yet, it gives a best effort
estimate. It is helpful to implement [EstimateNextNewSession
].§type SessionManager = Pallet<Runtime>
type SessionManager = Pallet<Runtime>
Handler for managing new session.
§type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
Handler when a session has changed.
§type Keys = SessionKeys
type Keys = SessionKeys
The keys.
§type WeightInfo = ()
type WeightInfo = ()
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for the extrinsics in this module.
source§impl Config for Runtime
impl Config for Runtime
§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
The identifier used to distinguish between accounts.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated dispatch type that is available for extrinsics.
§type Lookup = IdentityLookup<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type Lookup = IdentityLookup<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The lookup mechanism to get account ID from whatever is passed in dispatchers.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The ubiquitous event type.
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The ubiquitous origin type.
§type BlockHashCount = BlockHashCount
type BlockHashCount = BlockHashCount
Maximum number of block number to block hash mappings to keep (oldest pruned first).
§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
Converts a module to an index of this module in the runtime.
§type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>
type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>
The Block type used by the runtime. This is used by
construct_runtime
to retrieve the
extrinsics or other block specific data as needed.§type AccountData = AccountData<u128>
type AccountData = AccountData<u128>
Data to be associated with an account (other than nonce/transaction counter, which this
pallet does regardless).
§type OnNewAccount = ()
type OnNewAccount = ()
Handler for when a new account has just been created.
§type OnKilledAccount = ()
type OnKilledAccount = ()
A function that is invoked when an account has been determined to be dead. Read more
§type DbWeight = RocksDbWeight
type DbWeight = RocksDbWeight
The weight of runtime database operations the runtime can invoke.
§type BaseCallFilter = BaseCallFilter
type BaseCallFilter = BaseCallFilter
The basic call filter to use in Origin. All origins are built with this filter as base,
except Root.
type SystemWeightInfo = WeightInfo<Runtime>
§type BlockWeights = RuntimeBlockWeights
type BlockWeights = RuntimeBlockWeights
Block & extrinsics weights: base values and limits.
§type BlockLength = RuntimeBlockLength
type BlockLength = RuntimeBlockLength
The maximum length of a block (in bytes).
§type SS58Prefix = SS58Prefix
type SS58Prefix = SS58Prefix
The designated SS58 prefix of this chain. Read more
§type OnSetCode = ParachainSetCode<Runtime>
type OnSetCode = ParachainSetCode<Runtime>
What to do if the runtime wants to change the code to something new. Read more
§type MaxConsumers = ConstU32<16>
type MaxConsumers = ConstU32<16>
The maximum number of consumers allowed on a single account.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
type XcmExecutor = XcmExecutor<XcmConfig>
source§impl ContractsApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, H256, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>> for Runtime
impl ContractsApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, H256, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>> for Runtime
source§fn call(
origin: AccountId,
dest: AccountId,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
input_data: Vec<u8>
) -> ContractExecResult<Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
fn call( origin: AccountId, dest: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, input_data: Vec<u8> ) -> ContractExecResult<Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
Perform a call from a specified account to a given contract. Read more
source§fn instantiate(
origin: AccountId,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
code: Code<Hash>,
data: Vec<u8>,
salt: Vec<u8>
) -> ContractInstantiateResult<AccountId, Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
fn instantiate( origin: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, code: Code<Hash>, data: Vec<u8>, salt: Vec<u8> ) -> ContractInstantiateResult<AccountId, Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
Instantiate a new contract. Read more
source§impl ConvertTransactionRuntimeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl ConvertTransactionRuntimeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
fn convert_transaction( transaction: EthereumTransaction ) -> <Block as BlockT>::Extrinsic
source§impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl DexGeneralApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, CurrencyId> for Runtime
impl DexGeneralApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, CurrencyId> for Runtime
fn get_pair_by_asset_id( asset_0: CurrencyId, asset_1: CurrencyId ) -> Option<PairInfo<AccountId, AssetBalance, CurrencyId>>
fn get_amount_in_price( supply: AssetBalance, path: Vec<CurrencyId> ) -> AssetBalance
fn get_amount_out_price( supply: AssetBalance, path: Vec<CurrencyId> ) -> AssetBalance
fn get_estimate_lptoken( asset_0: CurrencyId, asset_1: CurrencyId, amount_0_desired: AssetBalance, amount_1_desired: AssetBalance, amount_0_min: AssetBalance, amount_1_min: AssetBalance ) -> AssetBalance
fn calculate_remove_liquidity( asset_0: CurrencyId, asset_1: CurrencyId, amount: AssetBalance ) -> Option<(AssetBalance, AssetBalance)>
source§impl DexStableApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, CurrencyId, u128, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
impl DexStableApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, CurrencyId, u128, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
fn get_virtual_price(pool_id: StablePoolId) -> Balance
fn get_a(pool_id: StablePoolId) -> Balance
fn get_a_precise(pool_id: StablePoolId) -> Balance
fn get_currencies(pool_id: StablePoolId) -> Vec<CurrencyId>
fn get_currency(pool_id: StablePoolId, index: u32) -> Option<CurrencyId>
fn get_lp_currency(pool_id: StablePoolId) -> Option<CurrencyId>
fn get_currency_precision_multipliers(pool_id: StablePoolId) -> Vec<Balance>
fn get_currency_balances(pool_id: StablePoolId) -> Vec<Balance>
fn get_number_of_currencies(pool_id: StablePoolId) -> u32
fn get_admin_balances(pool_id: StablePoolId) -> Vec<Balance>
fn calculate_currency_amount( pool_id: StablePoolId, amounts: Vec<Balance>, deposit: bool ) -> Balance
fn calculate_swap( pool_id: StablePoolId, in_index: u32, out_index: u32, in_amount: Balance ) -> Balance
fn calculate_remove_liquidity( pool_id: StablePoolId, amount: Balance ) -> Vec<Balance>
fn calculate_remove_liquidity_one_currency( pool_id: StablePoolId, amount: Balance, index: u32 ) -> Balance
source§impl EscrowApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32, u128> for Runtime
impl EscrowApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32, u128> for Runtime
source§fn balance_at(
account_id: AccountId,
height: Option<BlockNumber>
) -> BalanceWrapper<Balance>
fn balance_at( account_id: AccountId, height: Option<BlockNumber> ) -> BalanceWrapper<Balance>
Get a given user’s escrowed balance
source§fn free_stakable(account_id: AccountId) -> BalanceWrapper<Balance>
fn free_stakable(account_id: AccountId) -> BalanceWrapper<Balance>
amount of kint/intr that use can lock, taking into consideration the Limits.
source§fn total_supply(height: Option<BlockNumber>) -> BalanceWrapper<Balance>
fn total_supply(height: Option<BlockNumber>) -> BalanceWrapper<Balance>
Get the total voting supply in the system
source§impl EthereumRuntimeRPCApiV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl EthereumRuntimeRPCApiV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn account_basic(address: H160) -> EVMAccount
fn account_basic(address: H160) -> EVMAccount
Returns pallet_evm::Accounts by address.
source§fn account_code_at(address: H160) -> Vec<u8> ⓘ
fn account_code_at(address: H160) -> Vec<u8> ⓘ
For a given account address, returns pallet_evm::AccountCodes.
Returns the converted FindAuthor::find_author authority id.
source§fn storage_at(address: H160, index: U256) -> H256
fn storage_at(address: H160, index: U256) -> H256
For a given account address and index, returns pallet_evm::AccountStorages.
fn call( from: H160, to: H160, data: Vec<u8>, value: U256, gas_limit: U256, max_fee_per_gas: Option<U256>, max_priority_fee_per_gas: Option<U256>, nonce: Option<U256>, estimate: bool, access_list: Option<Vec<(H160, Vec<H256>)>> ) -> Result<CallInfo, DispatchError>
fn create( from: H160, data: Vec<u8>, value: U256, gas_limit: U256, max_fee_per_gas: Option<U256>, max_priority_fee_per_gas: Option<U256>, nonce: Option<U256>, estimate: bool, access_list: Option<Vec<(H160, Vec<H256>)>> ) -> Result<CreateInfo, DispatchError>
source§fn current_transaction_statuses() -> Option<Vec<TransactionStatus>>
fn current_transaction_statuses() -> Option<Vec<TransactionStatus>>
Return the current transaction status.
source§fn current_block() -> Option<Block>
fn current_block() -> Option<Block>
Return the current block.
source§fn current_receipts() -> Option<Vec<Receipt>>
fn current_receipts() -> Option<Vec<Receipt>>
Return the current receipt.
fn current_all( ) -> (Option<Block>, Option<Vec<Receipt>>, Option<Vec<TransactionStatus>>)
source§fn extrinsic_filter(
xts: Vec<<Block as BlockT>::Extrinsic>
) -> Vec<EthereumTransaction>
fn extrinsic_filter( xts: Vec<<Block as BlockT>::Extrinsic> ) -> Vec<EthereumTransaction>
Receives a
Vec<OpaqueExtrinsic>
and filters all the ethereum transactions.source§fn elasticity() -> Option<Permill>
fn elasticity() -> Option<Permill>
Return the elasticity multiplier.
source§fn gas_limit_multiplier_support()
fn gas_limit_multiplier_support()
Used to determine if gas limit multiplier for non-transactional calls (eth_call/estimateGas)
is supported.
source§impl GetRuntimeBlockType for Runtime
impl GetRuntimeBlockType for Runtime
§type RuntimeBlock = <Runtime as Config>::Block
type RuntimeBlock = <Runtime as Config>::Block
The
RuntimeBlock
type.source§impl IssueApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, H256, IssueRequest<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32, u128, CurrencyId>> for Runtime
impl IssueApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, H256, IssueRequest<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32, u128, CurrencyId>> for Runtime
source§fn get_issue_requests(account_id: AccountId) -> Vec<H256>
fn get_issue_requests(account_id: AccountId) -> Vec<H256>
Get all issue requests for a particular account
source§fn get_vault_issue_requests(vault_id: AccountId) -> Vec<H256>
fn get_vault_issue_requests(vault_id: AccountId) -> Vec<H256>
Get all issue requests for a particular vault
source§impl LoansApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime
impl LoansApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime
fn get_account_liquidity( account: AccountId ) -> Result<(Liquidity, Shortfall), DispatchError>
fn get_market_status( asset_id: CurrencyId ) -> Result<(Rate, Rate, Rate, Ratio, Balance, Balance, FixedU128), DispatchError>
fn get_liquidation_threshold_liquidity( account: AccountId ) -> Result<(Liquidity, Shortfall), DispatchError>
source§impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (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)
fn offchain_worker(header: &<Block as BlockT>::Header)
Starts the off-chain task for given block header.
source§impl OracleApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128, CurrencyId> for Runtime
impl OracleApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128, CurrencyId> for Runtime
fn wrapped_to_collateral( amount: BalanceWrapper<Balance>, currency_id: CurrencyId ) -> Result<BalanceWrapper<Balance>, DispatchError>
fn collateral_to_wrapped( amount: BalanceWrapper<Balance>, currency_id: CurrencyId ) -> Result<BalanceWrapper<Balance>, DispatchError>
source§impl PartialEq<Runtime> for Runtime
impl PartialEq<Runtime> for Runtime
source§impl RedeemApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, VaultId<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, CurrencyId>, u128, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, H256, RedeemRequest<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32, u128, CurrencyId>> for Runtime
impl RedeemApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, VaultId<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, CurrencyId>, u128, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, H256, RedeemRequest<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32, u128, CurrencyId>> for Runtime
source§fn get_redeem_requests(account_id: AccountId) -> Vec<H256>
fn get_redeem_requests(account_id: AccountId) -> Vec<H256>
Get all redeem requests for a particular account
source§fn get_vault_redeem_requests(account_id: AccountId) -> Vec<H256>
fn get_vault_redeem_requests(account_id: AccountId) -> Vec<H256>
Get all redeem requests for a particular vault
Get all vaults below the premium redeem threshold, ordered in descending order of this amount
source§impl ReplaceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, H256, ReplaceRequest<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32, u128, CurrencyId>> for Runtime
impl ReplaceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, H256, ReplaceRequest<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32, u128, CurrencyId>> for Runtime
source§fn get_old_vault_replace_requests(vault_id: AccountId) -> Vec<H256>
fn get_old_vault_replace_requests(vault_id: AccountId) -> Vec<H256>
Get all replace requests from a particular vault
source§fn get_new_vault_replace_requests(vault_id: AccountId) -> Vec<H256>
fn get_new_vault_replace_requests(vault_id: AccountId) -> Vec<H256>
Get all replace requests to a particular vault
source§impl RewardApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, VaultId<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, CurrencyId>, CurrencyId, u128, u32, FixedU128> for Runtime
impl RewardApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, VaultId<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, CurrencyId>, CurrencyId, u128, u32, FixedU128> for Runtime
source§fn compute_escrow_reward(
account_id: AccountId,
currency_id: CurrencyId
) -> Result<BalanceWrapper<Balance>, DispatchError>
fn compute_escrow_reward( account_id: AccountId, currency_id: CurrencyId ) -> Result<BalanceWrapper<Balance>, DispatchError>
Calculate the number of escrow rewards accrued
source§fn compute_farming_reward(
account_id: AccountId,
pool_currency_id: CurrencyId,
reward_currency_id: CurrencyId
) -> Result<BalanceWrapper<Balance>, DispatchError>
fn compute_farming_reward( account_id: AccountId, pool_currency_id: CurrencyId, reward_currency_id: CurrencyId ) -> Result<BalanceWrapper<Balance>, DispatchError>
Calculate the number of farming rewards accrued
source§fn compute_vault_reward(
vault_id: VaultId<AccountId, CurrencyId>,
currency_id: CurrencyId
) -> Result<BalanceWrapper<Balance>, DispatchError>
fn compute_vault_reward( vault_id: VaultId<AccountId, CurrencyId>, currency_id: CurrencyId ) -> Result<BalanceWrapper<Balance>, DispatchError>
Calculate the number of vault rewards accrued
source§fn estimate_escrow_reward_rate(
account_id: AccountId,
amount: Option<Balance>,
lock_time: Option<BlockNumber>
) -> Result<UnsignedFixedPoint, DispatchError>
fn estimate_escrow_reward_rate( account_id: AccountId, amount: Option<Balance>, lock_time: Option<BlockNumber> ) -> Result<UnsignedFixedPoint, DispatchError>
Estimate staking reward rate for a one year period
source§fn estimate_farming_reward(
account_id: AccountId,
pool_currency_id: CurrencyId,
reward_currency_id: CurrencyId
) -> Result<BalanceWrapper<Balance>, DispatchError>
fn estimate_farming_reward( account_id: AccountId, pool_currency_id: CurrencyId, reward_currency_id: CurrencyId ) -> Result<BalanceWrapper<Balance>, DispatchError>
Estimate farming rewards for remaining incentives
source§fn estimate_vault_reward_rate(
vault_id: VaultId<AccountId, CurrencyId>
) -> Result<UnsignedFixedPoint, DispatchError>
fn estimate_vault_reward_rate( vault_id: VaultId<AccountId, CurrencyId> ) -> Result<UnsignedFixedPoint, DispatchError>
Estimate vault reward rate for a one year period
source§impl<C> SendTransactionTypes<C> for Runtimewhere
RuntimeCall: From<C>,
impl<C> SendTransactionTypes<C> for Runtimewhere RuntimeCall: From<C>,
§type OverarchingCall = RuntimeCall
type OverarchingCall = RuntimeCall
The runtime’s call type. Read more
§type Extrinsic = UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>
type Extrinsic = UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>
The extrinsic type expected by the runtime.
source§impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128> for Runtime
impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128> for Runtime
fn query_info( uxt: <Block as BlockT>::Extrinsic, len: u32 ) -> RuntimeDispatchInfo<Balance>
fn query_fee_details( uxt: <Block as BlockT>::Extrinsic, len: u32 ) -> FeeDetails<Balance>
fn query_weight_to_fee(weight: Weight) -> Balance
fn query_length_to_fee(length: u32) -> Balance
source§impl ValidateUnsigned for Runtime
impl ValidateUnsigned for Runtime
§type Call = RuntimeCall
type Call = RuntimeCall
The call to validate
source§fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
Validate the call right before dispatch. Read more
source§fn validate_unsigned(
source: TransactionSource,
call: &Self::Call
) -> TransactionValidity
fn validate_unsigned( source: TransactionSource, call: &Self::Call ) -> TransactionValidity
Return the validity of the call Read more
source§impl VaultRegistryApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, VaultId<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, CurrencyId>, u128, FixedU128, CurrencyId, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
impl VaultRegistryApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, VaultId<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, CurrencyId>, u128, FixedU128, CurrencyId, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
source§fn get_vault_collateral(
vault_id: VaultId<AccountId, CurrencyId>
) -> Result<BalanceWrapper<Balance>, DispatchError>
fn get_vault_collateral( vault_id: VaultId<AccountId, CurrencyId> ) -> Result<BalanceWrapper<Balance>, DispatchError>
Get the vault’s collateral (excluding nomination)
source§fn get_vaults_by_account_id(
account_id: AccountId
) -> Result<Vec<VaultId<AccountId, CurrencyId>>, DispatchError>
fn get_vaults_by_account_id( account_id: AccountId ) -> Result<Vec<VaultId<AccountId, CurrencyId>>, DispatchError>
Get all the vaultIds registered by a vault’s accountId
source§fn get_vault_total_collateral(
vault_id: VaultId<AccountId, CurrencyId>
) -> Result<BalanceWrapper<Balance>, DispatchError>
fn get_vault_total_collateral( vault_id: VaultId<AccountId, CurrencyId> ) -> Result<BalanceWrapper<Balance>, DispatchError>
Get the vault’s collateral (including nomination)
source§fn get_vaults_with_issuable_tokens(
) -> Result<Vec<(VaultId<AccountId, CurrencyId>, BalanceWrapper<Balance>)>, DispatchError>
fn get_vaults_with_issuable_tokens( ) -> Result<Vec<(VaultId<AccountId, CurrencyId>, BalanceWrapper<Balance>)>, DispatchError>
Get all vaults with non-zero issuable tokens, ordered in descending order of this amount
source§fn get_vaults_with_redeemable_tokens(
) -> Result<Vec<(VaultId<AccountId, CurrencyId>, BalanceWrapper<Balance>)>, DispatchError>
fn get_vaults_with_redeemable_tokens( ) -> Result<Vec<(VaultId<AccountId, CurrencyId>, BalanceWrapper<Balance>)>, DispatchError>
Get all vaults with non-zero redeemable tokens, ordered in descending order of this amount
source§fn get_issuable_tokens_from_vault(
vault: VaultId<AccountId, CurrencyId>
) -> Result<BalanceWrapper<Balance>, DispatchError>
fn get_issuable_tokens_from_vault( vault: VaultId<AccountId, CurrencyId> ) -> Result<BalanceWrapper<Balance>, DispatchError>
Get the amount of tokens a vault can issue
source§fn get_collateralization_from_vault(
vault: VaultId<AccountId, CurrencyId>,
only_issued: bool
) -> Result<UnsignedFixedPoint, DispatchError>
fn get_collateralization_from_vault( vault: VaultId<AccountId, CurrencyId>, only_issued: bool ) -> Result<UnsignedFixedPoint, DispatchError>
Get the collateralization rate of a vault
source§fn get_collateralization_from_vault_and_collateral(
vault: VaultId<AccountId, CurrencyId>,
collateral: BalanceWrapper<Balance>,
only_issued: bool
) -> Result<UnsignedFixedPoint, DispatchError>
fn get_collateralization_from_vault_and_collateral( vault: VaultId<AccountId, CurrencyId>, collateral: BalanceWrapper<Balance>, only_issued: bool ) -> Result<UnsignedFixedPoint, DispatchError>
Get the collateralization rate of a vault and collateral
source§fn get_required_collateral_for_wrapped(
amount_btc: BalanceWrapper<Balance>,
currency_id: CurrencyId
) -> Result<BalanceWrapper<Balance>, DispatchError>
fn get_required_collateral_for_wrapped( amount_btc: BalanceWrapper<Balance>, currency_id: CurrencyId ) -> Result<BalanceWrapper<Balance>, DispatchError>
Get the minimum amount of collateral required for the given amount of btc
with the current threshold and exchange rate
source§fn get_required_collateral_for_vault(
vault_id: VaultId<AccountId, CurrencyId>
) -> Result<BalanceWrapper<Balance>, DispatchError>
fn get_required_collateral_for_vault( vault_id: VaultId<AccountId, CurrencyId> ) -> Result<BalanceWrapper<Balance>, DispatchError>
Get the amount of collateral required for the given vault to be at the
current SecureCollateralThreshold with the current exchange rate
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Copy for Runtime
impl Eq for Runtime
impl StructuralEq for Runtime
impl StructuralPartialEq for Runtime
Auto Trait Implementations§
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
Blanket Implementations§
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where Self: TryInto<T>,
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,
Causes
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,
Causes
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where Self: LowerExp,
Causes
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where Self: LowerHex,
Causes
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where Self: Octal,
Causes
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where Self: Pointer,
Causes
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where Self: UpperExp,
Causes
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where Self: UpperHex,
Causes
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IsType<T> for T
impl<T> IsType<T> for T
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere R: 'a,
Borrows
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere R: 'a,
Mutably borrows
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
Self: Borrow<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere Self: Borrow<B>, B: 'a + ?Sized, R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> Rwhere
Self: BorrowMut<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> Rwhere Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
Self: AsRef<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere Self: AsRef<U>, U: 'a + ?Sized, R: 'a,
Borrows
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
Self: AsMut<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere Self: AsMut<U>, U: 'a + ?Sized, R: 'a,
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read more§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere Self: Borrow<B>, B: ?Sized,
Immutable access to the
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere Self: BorrowMut<B>, B: ?Sized,
Mutable access to the
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
Self: AsRef<R>,
R: ?Sized,
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere Self: AsRef<R>, R: ?Sized,
Immutable access to the
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere Self: AsMut<R>, R: ?Sized,
Mutable access to the
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
Self: Deref<Target = T>,
T: ?Sized,
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere Self: Deref<Target = T>, T: ?Sized,
Immutable access to the
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere Self: DerefMut<Target = T> + Deref, T: ?Sized,
Mutable access to the
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere Self: Borrow<B>, B: ?Sized,
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere Self: BorrowMut<B>, B: ?Sized,
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
Self: AsRef<R>,
R: ?Sized,
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere Self: AsRef<R>, R: ?Sized,
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere Self: AsMut<R>, R: ?Sized,
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§impl<T> TryConv for T
impl<T> TryConv for T
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.