packages/types/src/interfaces/payment/types.ts
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
import type { Option, Struct } from '@polkadot/types-codec';
import type { Balance, Weight, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime';
import type { DispatchClass } from '@polkadot/types/interfaces/system';
/** @name FeeDetails */
export interface FeeDetails extends Struct {
readonly inclusionFee: Option<InclusionFee>;
}
/** @name InclusionFee */
export interface InclusionFee extends Struct {
readonly baseFee: Balance;
readonly lenFee: Balance;
readonly adjustedWeightFee: Balance;
}
/** @name RuntimeDispatchInfo */
export interface RuntimeDispatchInfo extends Struct {
readonly weight: Weight;
readonly class: DispatchClass;
readonly partialFee: Balance;
}
/** @name RuntimeDispatchInfoV1 */
export interface RuntimeDispatchInfoV1 extends Struct {
readonly weight: WeightV1;
readonly class: DispatchClass;
readonly partialFee: Balance;
}
/** @name RuntimeDispatchInfoV2 */
export interface RuntimeDispatchInfoV2 extends Struct {
readonly weight: WeightV2;
readonly class: DispatchClass;
readonly partialFee: Balance;
}
export type PHANTOM_PAYMENT = 'payment';