pub struct Runtime;

Implementations§

source§

impl Runtime

source

pub fn metadata() -> RuntimeMetadataPrefixed

source

pub fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>

source

pub fn metadata_versions() -> Vec<u32>

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

source§

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

source§

fn slot_duration() -> SlotDuration

Returns the slot duration for Aura. Read more
source§

fn authorities() -> Vec<AuraId>

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

source§

fn apply_extrinsic( extrinsic: <Block as BlockT>::Extrinsic ) -> ApplyExtrinsicResult

Apply the given extrinsic. Read more
source§

fn finalize_block() -> <Block as BlockT>::Header

Finish the current block.
source§

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

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

source§

fn verify_block_header_inclusion( block_hash: H256Le ) -> Result<(), DispatchError>

Verify that the block with the given block hash is relayed, has sufficient confirmations and is part of the main chain
source§

impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller

source§

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>>

Extract a reference to the system-level RawOrigin if it is that.
§

fn as_signed(&self) -> Option<&AccountId>

Extract the signer from it if a system Signed origin, None otherwise.
§

fn is_root(&self) -> bool

Returns true if self is a system Root origin, None otherwise.
§

fn is_none(&self) -> bool

Returns true if self is a system None origin, None otherwise.
source§

impl Clone for Runtime

source§

fn clone(&self) -> Runtime

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
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

source§

fn collect_collation_info(header: &<Block as BlockT>::Header) -> CollationInfo

Collect information about a collation. Read more
source§

impl Config<()> for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

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>

Required origin for removing a member (though can always be Root).
§

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>

Required origin for resetting membership.
§

type PrimeOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Required origin for setting or resetting the prime member.
§

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>

The receiver of the signal for when the membership has changed.
§

type MaxMembers = TechnicalCommitteeMaxMembers

The maximum number of members that this membership can have. Read more
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config<Instance1> for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type SignedFixedPoint = FixedI128

Signed fixed point type.
§

type PoolId = ()

The pool identifier type.
§

type StakeId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

The stake identifier type.
§

type CurrencyId = CurrencyId

The currency ID type.
§

type MaxRewardCurrencies = ConstU32<1>

The maximum number of reward currencies.
source§

impl Config<Instance1> for Runtime

§

type AnnuityPalletId = EscrowAnnuityPalletId

The annuity module id, used for deriving its sovereign account ID.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>

The native currency for emission.
§

type BlockRewardProvider = EscrowBlockRewardProvider

The block reward provider.
§

type BlockNumberToBalance = BlockNumberToBalance

Convert the block number into a balance.
§

type EmissionPeriod = EmissionPeriod

The emission period for block rewards.
§

type TotalWrapped = TotalWrapped

The total amount of the wrapped asset.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for the extrinsics in this module.
source§

impl Config<Instance1> for Runtime

§

type RuntimeOrigin = RuntimeOrigin

The runtime origin type.
§

type Proposal = RuntimeCall

The runtime call dispatch type.
§

type RuntimeEvent = RuntimeEvent

The runtime event type.
§

type MotionDuration = TechnicalCommitteeMotionDuration

The time-out for council motions.
§

type MaxProposals = TechnicalCommitteeMaxProposals

Maximum number of proposals allowed to be active in parallel.
§

type MaxProposalWeight = MaxProposalWeight

The maximum weight of a dispatch call that can be proposed and executed.
§

type MaxMembers = TechnicalCommitteeMaxMembers

The maximum number of members supported by the pallet. Used for weight estimation. Read more
§

type DefaultVote = PrimeDefaultVote

Default vote strategy of this collective.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type SetMembersOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Origin allowed to set collective members
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type BlockNumberToBalance = BlockNumberToBalance

Convert the block number into a balance.
§

type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>

The currency trait.
§

type Span = Span

All future times are rounded by this.
§

type MaxPeriod = MaxPeriod

The maximum time for locks.
§

type EscrowRewards = Pallet<Runtime, Instance1>

Escrow reward pool.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for the extrinsics in this module.
source§

impl Config for Runtime

§

type AuthorityId = Public

The identifier type for an authority.
§

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

The maximum number of authorities that the pallet can hold.
§

type AllowMultipleBlocksPerSlot = ConstBool<false>

Whether to allow block authors to create multiple blocks per slot. Read more
source§

impl Config for Runtime

§

type SignedInner = <FixedI128 as FixedPointNumber>::Inner

§

type SignedFixedPoint = FixedI128

§

type UnsignedFixedPoint = FixedU128

§

type Balance = u128

§

type GetNativeCurrencyId = GetNativeCurrencyId

Native currency e.g. INTR/KINT
§

type GetRelayChainCurrencyId = GetRelayChainCurrencyId

Relay chain currency e.g. DOT/KSM
§

type GetWrappedCurrencyId = GetWrappedCurrencyId

Wrapped currency e.g. IBTC/KBTC
§

type CurrencyConversion = CurrencyConvert<Runtime, Pallet<Runtime>, Pallet<Runtime>>

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type Balance = u128

The balance type.
§

type CurrencyId = CurrencyId

Currency Id.
§

type CurrencyIdConvert = CurrencyIdConvert

Convert T::CurrencyId to MultiLocation.
§

type AccountIdToMultiLocation = AccountIdToMultiLocation

Convert T::AccountId to MultiLocation.
§

type SelfLocation = SelfLocation

Self chain location.
§

type XcmExecutor = XcmExecutor<XcmConfig>

XCM executor.
§

type Weigher = FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>

Means of measuring the weight consumed by an XCM message locally.
§

type BaseXcmWeight = UnitWeightCost

Base XCM weight. Read more
§

type MaxAssetsForTransfer = MaxAssetsForTransfer

The maximum number of distinct assets allowed to be transferred in a single helper extrinsic.
§

type MinXcmFee = ParachainMinFee

Minimum xcm execution fee paid on destination chain.
§

type MultiLocationsFilter = Everything

MultiLocation filter
§

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

This chain’s Universal Location.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

Overarching event type.
§

type StakingCurrency = Pallet<Runtime>

The currency used for staking.
§

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>>>

Origin that can dictate updating parameters of this pallet.
§

type PotId = CollatorPotId

Account Identifier from which the internal Pot is generated.
§

type MaxCandidates = MaxCandidates

Maximum number of candidates that we should have. This is enforced in code. Read more
§

type MinCandidates = MinCandidates

Minimum number of candidates that we should have. This is used for disaster recovery. Read more
§

type MaxInvulnerables = MaxInvulnerables

Maximum number of invulnerables. This is enforced in code.
§

type KickThreshold = Period

§

type ValidatorId = <Runtime as Config>::AccountId

A stable ID for a validator.
§

type ValidatorIdOf = IdentityCollator

A conversion from account ID to validator ID. Read more
§

type ValidatorRegistration = Pallet<Runtime>

Validate a user is registered
§

type WeightInfo = WeightInfo<Runtime>

The weight information of this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for the extrinsics in this module.
source§

impl Config for Runtime

§

type RuntimeCall = RuntimeCall

A sudo-able call.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = ()

Type representing the weight of this pallet
source§

impl Config for Runtime

§

type PalletId = VaultRegistryPalletId

The vault module id, used for deriving its sovereign account ID.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for the extrinsics in this module.
§

type GetGriefingCollateralCurrencyId = GetNativeCurrencyId

Currency used for griefing collateral, e.g. DOT.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

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>

Convert a length value into a deductible fee based on the currency type.
§

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>

Update the multiplier of the next block, based on the previous block’s weight.
§

type OperationalFeeMultiplier = OperationalFeeMultiplier

A fee mulitplier for Operational extrinsics to compute “virtual tip” to boost their priority Read more
source§

impl Config for Runtime

§

type DefaultBaseFeePerGas = DefaultBaseFeePerGas

§

type DefaultElasticity = DefaultElasticity

§

type RuntimeEvent = RuntimeEvent

§

type Threshold = BaseFeeThreshold

Lower and upper bounds for increasing / decreasing BaseFeePerGas.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for the extrinsics in this module.
§

type MaxNameLength = ConstU32<255>

The maximum length of a client name.
§

type MaxUriLength = ConstU32<255>

The maximum length of a client URI.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type ValidatorId = <Runtime as Config>::AccountId

A stable ID for a validator.
§

type ValidatorIdOf = IdentityCollator

A conversion from account ID to validator ID. Read more
§

type ShouldEndSession = PeriodicSessions<Period, Offset>

Indicator for when to end the session.
§

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>

Handler for managing new session.
§

type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders

Handler when a session has changed.
§

type Keys = SessionKeys

The keys.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

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>

The only origin that can un-pause calls.
§

type WhitelistCallNames = Nothing

Contains all calls that cannot be paused. Read more
§

type MaxNameLen = MaxNameLen

Maximum length for pallet and call SCALE encoded string names. Read more
§

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

§

type RuntimeEvent = RuntimeEvent

§

type Balance = u128

The balance type.
§

type CustomMetadata = CustomMetadata

Additional non-standard metadata to store for each asset
§

type AssetProcessor = SequentialId<Runtime>

A filter ran upon metadata registration that assigns an is and potentially modifies the supplied metadata.
§

type AssetId = u32

The type used as a unique asset id,
§

type AuthorityOrigin = AssetAuthority

Checks that an origin has the authority to register/update an asset
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this module.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for the extrinsics in this module.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type SignedFixedPoint = FixedI128

Signed fixed point type.
§

type SignedInner = <FixedI128 as FixedPointNumber>::Inner

The Inner type of the SignedFixedPoint.
§

type CurrencyId = CurrencyId

The currency ID type.
§

type GetNativeCurrencyId = GetNativeCurrencyId

source§

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>>

The technical committee can have any proposal be tabled immediately with a shorter voting period.

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Scheduler = Pallet<Runtime>

The Scheduler.
§

type Preimages = Pallet<Runtime>

The Preimage provider.
§

type Currency = Pallet<Runtime>

Currency type for this pallet.
§

type EnactmentPeriod = EnactmentPeriod

The period between a proposal being approved and enacted. Read more
§

type VotingPeriod = VotingPeriod

How often (in blocks) to check for new votes.
§

type FastTrackVotingPeriod = FastTrackVotingPeriod

Minimum voting period allowed for a fast-track referendum.
§

type MinimumDeposit = MinimumDeposit

The minimum amount to be used as a deposit for a public referendum proposal.
§

type MaxVotes = MaxVotes

The maximum number of votes for an account. Read more
§

type MaxProposals = MaxProposals

The maximum number of public proposals that can exist at any time.
§

type MaxDeposits = ConstU32<100>

The maximum number of deposits a public proposal may have at any time.
§

type PalletsOrigin = OriginCaller

Overarching type of all pallets origins.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type UnixTime = Pallet<Runtime>

Unix time
§

type LaunchPeriod = LaunchPeriod

Period from previous launch timestamp.
§

type TreasuryAccount = TreasuryAccount

Account from which is transferred in spend_from_treasury.
§

type TreasuryCurrency = CurrencyAdapter<Runtime, GetNativeCurrencyId>

Currency used in spend_from_treasury.
source§

impl Config for Runtime

§

type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

The identifier used to distinguish between accounts.

§

type RuntimeCall = RuntimeCall

The aggregated dispatch type that is available for extrinsics.

§

type Lookup = IdentityLookup<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The lookup mechanism to get account ID from whatever is passed in dispatchers.

§

type Nonce = u32

The index type for storing how many extrinsics an account has signed.

§

type Hash = H256

The type for hashing blocks and tries.

§

type Hashing = BlakeTwo256

The hashing algorithm used.

§

type RuntimeEvent = RuntimeEvent

The ubiquitous event type.

§

type RuntimeOrigin = RuntimeOrigin

The ubiquitous origin type.

§

type BlockHashCount = BlockHashCount

Maximum number of block number to block hash mappings to keep (oldest pruned first).

§

type Version = Version

Runtime version.

§

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>)>>

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>

Data to be associated with an account (other than nonce/transaction counter, which this pallet does regardless).
§

type OnNewAccount = ()

Handler for when a new account has just been created.
§

type OnKilledAccount = ()

A function that is invoked when an account has been determined to be dead. Read more
§

type DbWeight = RocksDbWeight

The weight of runtime database operations the runtime can invoke.
§

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

Block & extrinsics weights: base values and limits.
§

type BlockLength = RuntimeBlockLength

The maximum length of a block (in bytes).
§

type SS58Prefix = SS58Prefix

The designated SS58 prefix of this chain. Read more
§

type OnSetCode = ParachainSetCode<Runtime>

What to do if the runtime wants to change the code to something new. Read more
§

type MaxConsumers = ConstU32<16>

The maximum number of consumers allowed on a single account.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

Because this pallet emits events, it depends on the runtime’s definition of an event.
§

type MultiCurrency = Pallet<Runtime>

The trait control all currencies
§

type PalletId = DexGeneralPalletId

This pallet id.
§

type AssetId = CurrencyId

The asset type.
§

type EnsurePairAsset = DexGeneralVerifyPairAsset

Verify the asset can be used in a pair.
§

type LpGenerate = PairLpIdentity

Generate the AssetId for the pair.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type MaxBootstrapRewards = MaxBootstrapRewards

The maximum number of rewards that can be stored
§

type MaxBootstrapLimits = MaxBootstrapLimits

The maximum number of limits that can be stored
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type XcmExecutor = XcmExecutor<XcmConfig>

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for the extrinsics in this module.
§

type ParachainBlocksPerBitcoinBlock = ParachainBlocksPerBitcoinBlock

source§

impl Config for Runtime

§

type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>

Find the author of a block.
§

type EventHandler = (Pallet<Runtime>,)

An event handler for authored blocks.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The runtime Call type.
§

type RuntimeOrigin = RuntimeOrigin

The runtime Origin type.
§

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>)

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>,)>

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

Our XCM filter which messages to be executed using XcmExecutor must pass.
§

type XcmExecutor = XcmExecutor<XcmConfig>

Something to execute an XCM message.
§

type XcmTeleportFilter = Everything

Our XCM filter which messages to be teleported using the dedicated extrinsic must pass.
§

type XcmReserveTransferFilter = Everything

Our XCM filter which messages to be reserve-transferred using the dedicated extrinsic must pass.
§

type Weigher = FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>

Means of measuring the weight consumed by an XCM message locally.
§

type AdvertisedXcmVersion = CurrentXcmVersion

The latest supported version that we advertise. Generally just set it to pallet_xcm::CurrentXcmVersion.
source§

const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100u32

§

type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>

A lockable currency.
§

type CurrencyMatcher = ()

The MultiAsset matcher for Currency.
§

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>)

How to get an AccountId value from a MultiLocation, useful for handling asset locks.
§

type MaxLockers = ConstU32<8>

The maximum number of local XCM locks that a single account may have.
§

type UniversalLocation = UniversalLocation

This chain’s Universal Location.
§

type WeightInfo = TestWeightInfo

Weight information for extrinsics in this pallet.
§

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>

The maximum number of consumers a single remote lock may have.
§

type RemoteLockConsumerIdentifier = ()

The ID type for local consumers of remote locks.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>

The currency trait.
§

type BasicDeposit = BasicDeposit

The amount held on deposit for a registered identity
§

type FieldDeposit = FieldDeposit

The amount held on deposit per additional field for a registered identity.
§

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

The maximum number of sub-accounts allowed per identified account.
§

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

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>>

What to do with slashed funds.
§

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>

The origin which may add or remove registrars. Root can always do this.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

source§

impl Config for Runtime

§

type SupplyPalletId = SupplyPalletId

The supply module id, used for deriving its sovereign account ID.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type UnsignedFixedPoint = FixedU128

Unsigned fixed point type.
§

type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>

The native currency for emission.
§

type InflationPeriod = InflationPeriod

The period between inflation updates.
§

type OnInflation = DealWithRewards

Handler for when the total supply has inflated.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

source§

impl Config for Runtime

§

type FeePalletId = FeePalletId

The fee module id, used for deriving its sovereign account ID.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for the extrinsics in this module.
§

type SignedFixedPoint = FixedI128

Signed fixed point type.
§

type SignedInner = <FixedI128 as FixedPointNumber>::Inner

The Inner type of the SignedFixedPoint.
§

type CapacityRewards = Pallet<Runtime, Instance3>

Capacity reward pool.
§

type VaultRewards = Pallet<Runtime, Instance2>

Vault reward pool.
§

type VaultStaking = Pallet<Runtime>

Vault staking pool.
§

type OnSweep = SweepFunds<Runtime, FeeAccount>

Handler to transfer undistributed rewards.
§

type MaxExpectedValue = MaxExpectedValue

Maximum expected value to set the storage fields to.
§

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

§

type Moment = u64

A timestamp: milliseconds since the unix epoch.

§

type OnTimestampSet = ConsensusOnTimestampSet<Runtime, EnableManualSeal>

Something which can be notified when the timestamp is set. Set this to () if not needed.
§

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>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type StateRoot = IntermediateStateRoot<Runtime>

How Ethereum state root is calculated.
§

type PostLogContent = PostBlockAndTxnHashes

What’s included in the PostLog.
§

type ExtraDataLength = ConstU32<30>

The maximum length of the extra data in the Executed event.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for the extrinsics in this module.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>

The currency mechanism.
§

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

The base amount of currency needed to reserve for creating a proxy. Read more
§

type ProxyDepositFactor = ProxyDepositFactor

The amount of currency needed per proxy added. Read more
§

type MaxProxies = MaxProxies

The maximum amount of proxies allowed for a single account.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type MaxPending = MaxPending

The maximum amount of time-delayed announcements that are allowed to be pending.
§

type CallHasher = BlakeTwo256

The type of hash used for hashing the call.
§

type AnnouncementDepositBase = AnnouncementDepositBase

The base amount of currency needed to reserve for creating an announcement. Read more
§

type AnnouncementDepositFactor = AnnouncementDepositFactor

The amount of currency needed per announcement made. Read more
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type OnSystemEvent = ()

Something which can be notified when the validation data is set.
§

type SelfParaId = Pallet<Runtime>

Returns the parachain ID we are running with.
§

type OutboundXcmpMessageSource = Pallet<Runtime>

The place where outbound XCMP messages come from. This is queried in finalize_block.
§

type DmpMessageHandler = Pallet<Runtime>

The message handler that will be invoked when messages are received via DMP.
§

type ReservedDmpWeight = ReservedDmpWeight

The weight we reserve at the beginning of the block for processing DMP messages.
§

type XcmpMessageHandler = Pallet<Runtime>

The message handler that will be invoked when messages are received via XCMP. Read more
§

type ReservedXcmpWeight = ReservedXcmpWeight

The weight we reserve at the beginning of the block for processing XCMP messages.
§

type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases

Something that can check the associated relay parent block number.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>

§

type MinVestedTransfer = MinVestedTransfer

The minimum amount transferred to call vested_transfer.
§

type VestedTransferOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Required origin for vested transfer.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this module.
§

type MaxVestingSchedules = MaxVestingSchedules

The maximum vesting schedules
§

type BlockNumberProvider = Pallet<Runtime>

source§

impl Config for Runtime

§

type TreasuryPalletId = TreasuryPalletId

The treasury pallet account for slashed griefing collateral.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type BlockNumberToBalance = BlockNumberToBalance

Convert the block number into a balance.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for the extrinsics in this module.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type CurrencyId = CurrencyId

The currency ID type
§

type MultiCurrency = Pallet<Runtime>

The trait control all currencies
§

type PoolId = u32

The pool ID type
§

type TimeProvider = Pallet<Runtime>

The trait get timestamp of chain.
§

type EnsurePoolAsset = DexStableVerifyPoolAsset

Verify that the currencies can be used in a pool.
§

type LpGenerate = PoolLpGenerate

Generate the CurrencyId for the pool.
§

type PoolCurrencyLimit = CurrencyLimit

§

type PoolCurrencySymbolLimit = StringLimit

§

type PalletId = DexStablePalletId

This pallet ID.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for the extrinsics in this module.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type XcmExecutor = XcmExecutor<XcmConfig>

Something to execute an XCM message. We need this to service the XCMoXCMP queue.
§

type ChannelInfo = Pallet<Runtime>

Information on the avaialble XCMP channels.
§

type VersionWrapper = Pallet<Runtime>

Means of converting an Xcm into a VersionedXcm.
§

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>

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>)

The conversion function used to attempt to convert an XCM MultiLocation origin to a superuser origin.
§

type PriceForSiblingDelivery = ()

The price for delivering an XCM to a sibling parachain destination.
§

type WeightInfo = WeightInfo<Runtime>

The weight information of this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

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>

The origin which can add/reduce reserves.
§

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>

Weight information for extrinsics in this pallet.
§

type UnixTime = Pallet<Runtime>

Unix time
§

type RewardAssetId = GetNativeCurrencyId

Incentive reward asset id.
§

type ReferenceAssetId = GetWrappedCurrencyId

Reference currency for expressing asset prices. Example: USD, IBTC.
§

type OnExchangeRateChange = PoolManager<Runtime>

Hook for exchangerate changes.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type OnExchangeRateChange = (PoolManager<Runtime>, Pallet<Runtime>)

Hook for aggregate changes.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for the extrinsics in this module.
§

type MaxNameLength = ConstU32<255>

The maximum length of an oracle name.
source§

impl Config for Runtime

§

type DexWeightInfo = WeightInfo<Runtime>

weights of dex operations
§

type RuntimeCall = RuntimeCall

The aggregated call type.
§

type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>

The currency trait.
§

type OnUnbalanced = DealWithFees<Runtime, GetNativeCurrencyId>

What to do with fees. Typically this is a transfer to the block author or treasury
§

type Dex = Pallet<Runtime>

dex api
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type FarmingPalletId = FarmingPalletId

The farming pallet id, used for deriving pool accounts.
§

type TreasuryAccountId = TreasuryAccount

The treasury account id for funding pools.
§

type RewardPeriod = RewardPeriod

The period to accrue rewards.
§

type RewardPools = Pallet<Runtime, Instance4>

Reward pools to track stake.
§

type MultiCurrency = Pallet<Runtime>

Currency handler to transfer tokens.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for the extrinsics.
source§

impl Config for Runtime

§

type WeightInfo = WeightInfo<Runtime>

The Weight information for this pallet.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>

Currency type for this pallet.
§

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

The base deposit for placing a preimage on chain.
§

type ByteDeposit = PreimageByteDepositz

The per-byte deposit for placing a preimage on chain.
source§

impl Config for Runtime

§

type AddressMapping = HashedAddressMapping<BlakeTwo256>

Mapping from address to account id.
§

type BlockGasLimit = BlockGasLimit

The block gas limit. Can be a simple constant, or an adjustment algorithm in another pallet.
§

type BlockHashMapping = EthereumBlockHashMapping<Runtime>

Block number to block hash.
§

type CallOrigin = EnsureAddressRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Allow the origin to call on behalf of given address.
§

type WithdrawOrigin = EnsureAddressTruncated

Allow the origin to withdraw on behalf of given address.
§

type ChainId = Pallet<Runtime>

Chain ID of EVM.
§

type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>

Currency type for withdraw and balance storage.
§

type FeeCalculator = Pallet<Runtime>

Calculator for current gas price.
§

type FindAuthor = FindAuthorTruncated<Pallet<Runtime>>

Find author for the current block.
§

type GasWeightMapping = FixedGasWeightMapping<Runtime>

Maps Ethereum gas to Substrate weight.
§

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 OnCreate = ()

Called on create calls, used to record owner
§

type PrecompilesType = InterBtcPrecompiles<Runtime>

Precompiles associated with this EVM engine.
§

type PrecompilesValue = PrecompilesValue

§

type Runner = Runner<Runtime>

EVM execution runner.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightPerGas = WeightPerGas

Weight corresponding to a gas unit.
§

type GasLimitPovSizeRatio = GasLimitPovSizeRatio

Gas limit Pov size ratio.
§

type Timestamp = Pallet<Runtime>

Get the timestamp for the current block.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

fn config() -> &'static Config

EVM config used in the module.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type Currency = CurrencyAdapter<Runtime, GetNativeCurrencyId>

The currency mechanism.
§

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

The amount of currency needed per unit threshold when creating a multisig execution. Read more
§

type MaxSignatories = GetMaxSignatories

The maximum amount of signatories allowed in the multisig.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type Balance = u128

The balance type
§

type Amount = i128

The amount type, should be signed version of Balance
§

type CurrencyId = CurrencyId

The currency ID type
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this module.
§

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>

Hooks are actions that are executed on certain events. For example: OnDust, OnNewTokenAccount
§

type MaxLocks = MaxLocks

§

type DustRemovalWhitelist = DustRemovalWhitelist

§

type MaxReserves = ConstU32<0>

The maximum number of named reserves that can exist on an account.
§

type ReserveIdentifier = ()

The id type for named reserves.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeOrigin = RuntimeOrigin

The aggregated origin which the dispatch will take.
§

type PalletsOrigin = OriginCaller

The caller origin, overarching type of all pallets origins.
§

type RuntimeCall = RuntimeCall

The aggregated call type.
§

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>

Required origin to schedule or cancel calls.
§

type MaxScheduledPerBlock = MaxScheduledPerBlock

The maximum number of scheduled calls in the queue for a single block. Read more
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type OriginPrivilegeCmp = EqualPrivilegeOnly

Compare the privileges of origins. Read more
§

type Preimages = Pallet<Runtime>

The preimage provider with which we look up call hashes to get the call.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type XcmExecutor = XcmExecutor<XcmConfig>

§

type ExecuteOverweightOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Origin which is allowed to execute overweight messages.
source§

impl Config for Runtime

§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type PalletsOrigin = OriginCaller

The caller origin, overarching type of all pallets origins.
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

source§

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

source§

fn version() -> RuntimeVersion

Returns the version of the runtime.
source§

fn execute_block(block: Block)

Execute the given block.
source§

fn initialize_block(header: &<Block as BlockT>::Header)

Initialize a block with the given header.
source§

impl Debug for Runtime

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
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

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

source§

impl EnsureInherentsAreFirst<<Runtime as Config>::Block> for Runtime

source§

fn ensure_inherents_are_first( block: &<Runtime as Config>::Block ) -> Result<(), u32>

Ensure the position of inherent is correct, i.e. they are before non-inherents. Read more
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

source§

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>

amount of kint/intr that use can lock, taking into consideration the Limits.
source§

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

source§

fn chain_id() -> u64

Returns runtime defined pallet_evm::ChainId.
source§

fn account_basic(address: H160) -> EVMAccount

Returns pallet_evm::Accounts by address.
source§

fn gas_price() -> U256

Returns FixedGasPrice::min_gas_price
source§

fn account_code_at(address: H160) -> Vec<u8>

For a given account address, returns pallet_evm::AccountCodes.
source§

fn author() -> H160

Returns the converted FindAuthor::find_author authority id.
source§

fn storage_at(address: H160, index: U256) -> H256

For a given account address and index, returns pallet_evm::AccountStorages.
source§

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>

source§

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>>

Return the current transaction status.
source§

fn current_block() -> Option<Block>

Return the current block.
source§

fn current_receipts() -> Option<Vec<Receipt>>

Return the current receipt.
source§

fn current_all( ) -> (Option<Block>, Option<Vec<Receipt>>, Option<Vec<TransactionStatus>>)

source§

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>

Return the elasticity multiplier.
source§

fn gas_limit_multiplier_support()

Used to determine if gas limit multiplier for non-transactional calls (eth_call/estimateGas) is supported.
source§

fn pending_block( xts: Vec<<Block as BlockT>::Extrinsic> ) -> (Option<Block>, Option<Vec<TransactionStatus>>)

Return the pending block.
source§

impl GetRuntimeBlockType for Runtime

§

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

source§

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>

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

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

source§

fn metadata() -> OpaqueMetadata

Returns the metadata of a runtime.
source§

fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>

Returns the metadata at a given version. Read more
source§

fn metadata_versions() -> Vec<u32>

Returns the supported metadata versions. Read more
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

source§

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

source§

impl PartialEq<Runtime> for Runtime

source§

fn eq(&self, other: &Runtime) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
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

source§

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>

Get all redeem requests for a particular vault
source§

fn get_premium_redeem_vaults( ) -> Result<Vec<(VaultId<AccountId, CurrencyId>, BalanceWrapper<Balance>)>, DispatchError>

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

source§

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>

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

source§

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>

Calculate the number of farming rewards accrued
source§

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>

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>

Estimate farming rewards for remaining incentives
source§

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>,

§

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>)>

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

source§

fn decode_session_keys(encoded: Vec<u8>) -> Option<Vec<(Vec<u8>, KeyTypeId)>>

Decode the given public session keys. Read more
source§

fn generate_session_keys(seed: Option<Vec<u8>>) -> Vec<u8>

Generate a set of session keys with optionally using the given seed. The keys should be stored within the keystore exposed via runtime externalities. Read more
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

source§

fn validate_transaction( source: TransactionSource, tx: <Block as BlockT>::Extrinsic, block_hash: <Block as BlockT>::Hash ) -> TransactionValidity

Validate the transaction. Read more
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

source§

fn query_info( uxt: <Block as BlockT>::Extrinsic, len: u32 ) -> RuntimeDispatchInfo<Balance>

source§

fn query_fee_details( uxt: <Block as BlockT>::Extrinsic, len: u32 ) -> FeeDetails<Balance>

source§

fn query_weight_to_fee(weight: Weight) -> Balance

source§

fn query_length_to_fee(length: u32) -> Balance

source§

impl TypeInfo for Runtime

§

type Identity = Runtime

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl ValidateUnsigned for Runtime

§

type Call = RuntimeCall

The call to validate
source§

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

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

source§

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>

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>

Get the vault’s collateral (including nomination)
source§

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>

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>

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>

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>

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>

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>

Get the amount of collateral required for the given vault to be at the current SecureCollateralThreshold with the current exchange rate
source§

impl Config for Runtime

source§

impl Config for Runtime

source§

impl Config for Runtime

source§

impl Copy for Runtime

source§

impl Eq for Runtime

source§

impl StructuralEq for Runtime

source§

impl StructuralPartialEq for Runtime

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for Twhere T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync + 'static>

source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CheckedConversion for T

§

fn checked_from<T>(t: T) -> Option<Self>where Self: TryFrom<T>,

Convert from a value of T into an equivalent instance of Option<Self>. Read more
§

fn checked_into<T>(self) -> Option<T>where Self: TryInto<T>,

Consume self to return Some equivalent value of Option<T>. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

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,

§

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,

§

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,

§

fn equivalent(&self, key: &K) -> bool

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

impl<T> FmtForward for T

§

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,

Causes self to use its Display implementation when Debug-formatted.
§

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,

Causes self to use its LowerHex implementation when Debug-formatted.
§

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,

Causes self to use its Pointer implementation when Debug-formatted.
§

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,

Causes self to use its UpperHex implementation when Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> IsType<T> for T

§

fn from_ref(t: &T) -> &T

Cast reference.
§

fn into_ref(&self) -> &T

Cast reference.
§

fn from_mut(t: &mut T) -> &mut T

Cast mutable reference.
§

fn into_mut(&mut self) -> &mut T

Cast mutable reference.
§

impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,

§

fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

§

fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

§

impl<T> Pipe for Twhere T: ?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,

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,

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,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

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,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
§

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,

Mutably borrows self, then passes self.as_mut() into the pipe function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R ) -> Rwhere Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SaturatedConversion for T

§

fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,

Convert from a value of T into an equivalent instance of Self. Read more
§

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

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

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,

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,

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,

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,

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,

Mutable access to the Deref::Target of a value. Read more
§

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

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,

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,

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,

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,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,

§

fn unchecked_into(self) -> T

The counterpart to unchecked_from.
§

impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,

§

fn unique_saturated_into(self) -> T

Consume self to return an equivalent value of T.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
§

impl<T> JsonSchemaMaybe for T

§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere T: Send,

§

impl<T> Member for Twhere T: Send + Sync + Debug + Eq + PartialEq<T> + Clone + 'static,

§

impl<T> StaticTypeInfo for Twhere T: TypeInfo + 'static,