@polymeshassociation/polymesh-types
Version:
Substrate types used in Polymesh chain
1,126 lines (1,125 loc) • 281 kB
TypeScript
import '@polkadot/types/lookup';
import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { OpaqueMultiaddr, OpaquePeerId } from '@polkadot/types/interfaces/imOnline';
import type { AccountId32, Call, H256, H512, MultiAddress, PerU16, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
import type { Event } from '@polkadot/types/interfaces/system';
declare module '@polkadot/types/lookup' {
/** @name FrameSystemAccountInfo (3) */
interface FrameSystemAccountInfo extends Struct {
readonly nonce: u32;
readonly consumers: u32;
readonly providers: u32;
readonly sufficients: u32;
readonly data: PalletBalancesAccountData;
}
/** @name PalletBalancesAccountData (5) */
interface PalletBalancesAccountData extends Struct {
readonly free: u128;
readonly reserved: u128;
readonly miscFrozen: u128;
readonly feeFrozen: u128;
}
/** @name FrameSupportDispatchPerDispatchClassWeight (7) */
interface FrameSupportDispatchPerDispatchClassWeight extends Struct {
readonly normal: SpWeightsWeightV2Weight;
readonly operational: SpWeightsWeightV2Weight;
readonly mandatory: SpWeightsWeightV2Weight;
}
/** @name SpWeightsWeightV2Weight (8) */
interface SpWeightsWeightV2Weight extends Struct {
readonly refTime: Compact<u64>;
readonly proofSize: Compact<u64>;
}
/** @name SpRuntimeDigest (13) */
interface SpRuntimeDigest extends Struct {
readonly logs: Vec<SpRuntimeDigestDigestItem>;
}
/** @name SpRuntimeDigestDigestItem (15) */
interface SpRuntimeDigestDigestItem extends Enum {
readonly isOther: boolean;
readonly asOther: Bytes;
readonly isConsensus: boolean;
readonly asConsensus: ITuple<[U8aFixed, Bytes]>;
readonly isSeal: boolean;
readonly asSeal: ITuple<[U8aFixed, Bytes]>;
readonly isPreRuntime: boolean;
readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;
readonly isRuntimeEnvironmentUpdated: boolean;
readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';
}
/** @name FrameSystemEventRecord (18) */
interface FrameSystemEventRecord extends Struct {
readonly phase: FrameSystemPhase;
readonly event: Event;
readonly topics: Vec<H256>;
}
/** @name FrameSystemEvent (20) */
interface FrameSystemEvent extends Enum {
readonly isExtrinsicSuccess: boolean;
readonly asExtrinsicSuccess: {
readonly dispatchInfo: FrameSupportDispatchDispatchInfo;
} & Struct;
readonly isExtrinsicFailed: boolean;
readonly asExtrinsicFailed: {
readonly dispatchError: SpRuntimeDispatchError;
readonly dispatchInfo: FrameSupportDispatchDispatchInfo;
} & Struct;
readonly isCodeUpdated: boolean;
readonly isNewAccount: boolean;
readonly asNewAccount: {
readonly account: AccountId32;
} & Struct;
readonly isKilledAccount: boolean;
readonly asKilledAccount: {
readonly account: AccountId32;
} & Struct;
readonly isRemarked: boolean;
readonly asRemarked: {
readonly sender: AccountId32;
readonly hash_: H256;
} & Struct;
readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';
}
/** @name FrameSupportDispatchDispatchInfo (21) */
interface FrameSupportDispatchDispatchInfo extends Struct {
readonly weight: SpWeightsWeightV2Weight;
readonly class: FrameSupportDispatchDispatchClass;
readonly paysFee: FrameSupportDispatchPays;
}
/** @name FrameSupportDispatchDispatchClass (22) */
interface FrameSupportDispatchDispatchClass extends Enum {
readonly isNormal: boolean;
readonly isOperational: boolean;
readonly isMandatory: boolean;
readonly type: 'Normal' | 'Operational' | 'Mandatory';
}
/** @name FrameSupportDispatchPays (23) */
interface FrameSupportDispatchPays extends Enum {
readonly isYes: boolean;
readonly isNo: boolean;
readonly type: 'Yes' | 'No';
}
/** @name SpRuntimeDispatchError (24) */
interface SpRuntimeDispatchError extends Enum {
readonly isOther: boolean;
readonly isCannotLookup: boolean;
readonly isBadOrigin: boolean;
readonly isModule: boolean;
readonly asModule: SpRuntimeModuleError;
readonly isConsumerRemaining: boolean;
readonly isNoProviders: boolean;
readonly isTooManyConsumers: boolean;
readonly isToken: boolean;
readonly asToken: SpRuntimeTokenError;
readonly isArithmetic: boolean;
readonly asArithmetic: SpArithmeticArithmeticError;
readonly isTransactional: boolean;
readonly asTransactional: SpRuntimeTransactionalError;
readonly isExhausted: boolean;
readonly isCorruption: boolean;
readonly isUnavailable: boolean;
readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';
}
/** @name SpRuntimeModuleError (25) */
interface SpRuntimeModuleError extends Struct {
readonly index: u8;
readonly error: U8aFixed;
}
/** @name SpRuntimeTokenError (26) */
interface SpRuntimeTokenError extends Enum {
readonly isNoFunds: boolean;
readonly isWouldDie: boolean;
readonly isBelowMinimum: boolean;
readonly isCannotCreate: boolean;
readonly isUnknownAsset: boolean;
readonly isFrozen: boolean;
readonly isUnsupported: boolean;
readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';
}
/** @name SpArithmeticArithmeticError (27) */
interface SpArithmeticArithmeticError extends Enum {
readonly isUnderflow: boolean;
readonly isOverflow: boolean;
readonly isDivisionByZero: boolean;
readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
}
/** @name SpRuntimeTransactionalError (28) */
interface SpRuntimeTransactionalError extends Enum {
readonly isLimitReached: boolean;
readonly isNoLayer: boolean;
readonly type: 'LimitReached' | 'NoLayer';
}
/** @name PalletIndicesEvent (29) */
interface PalletIndicesEvent extends Enum {
readonly isIndexAssigned: boolean;
readonly asIndexAssigned: {
readonly who: AccountId32;
readonly index: u32;
} & Struct;
readonly isIndexFreed: boolean;
readonly asIndexFreed: {
readonly index: u32;
} & Struct;
readonly isIndexFrozen: boolean;
readonly asIndexFrozen: {
readonly index: u32;
readonly who: AccountId32;
} & Struct;
readonly type: 'IndexAssigned' | 'IndexFreed' | 'IndexFrozen';
}
/** @name PalletBalancesEvent (30) */
interface PalletBalancesEvent extends Enum {
readonly isEndowed: boolean;
readonly asEndowed: ITuple<[Option<PolymeshPrimitivesIdentityId>, AccountId32, u128]>;
readonly isTransfer: boolean;
readonly asTransfer: ITuple<[
Option<PolymeshPrimitivesIdentityId>,
AccountId32,
Option<PolymeshPrimitivesIdentityId>,
AccountId32,
u128,
Option<PolymeshPrimitivesMemo>
]>;
readonly isBalanceSet: boolean;
readonly asBalanceSet: ITuple<[PolymeshPrimitivesIdentityId, AccountId32, u128, u128]>;
readonly isAccountBalanceBurned: boolean;
readonly asAccountBalanceBurned: ITuple<[PolymeshPrimitivesIdentityId, AccountId32, u128]>;
readonly isReserved: boolean;
readonly asReserved: ITuple<[AccountId32, u128]>;
readonly isUnreserved: boolean;
readonly asUnreserved: ITuple<[AccountId32, u128]>;
readonly isReserveRepatriated: boolean;
readonly asReserveRepatriated: ITuple<[
AccountId32,
AccountId32,
u128,
FrameSupportTokensMiscBalanceStatus
]>;
readonly type: 'Endowed' | 'Transfer' | 'BalanceSet' | 'AccountBalanceBurned' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated';
}
/** @name PolymeshPrimitivesIdentityId (32) */
interface PolymeshPrimitivesIdentityId extends U8aFixed {
}
/** @name PolymeshPrimitivesMemo (34) */
interface PolymeshPrimitivesMemo extends U8aFixed {
}
/** @name FrameSupportTokensMiscBalanceStatus (35) */
interface FrameSupportTokensMiscBalanceStatus extends Enum {
readonly isFree: boolean;
readonly isReserved: boolean;
readonly type: 'Free' | 'Reserved';
}
/** @name PalletTransactionPaymentEvent (36) */
interface PalletTransactionPaymentEvent extends Enum {
readonly isTransactionFeePaid: boolean;
readonly asTransactionFeePaid: {
readonly who: AccountId32;
readonly actualFee: u128;
readonly tip: u128;
} & Struct;
readonly type: 'TransactionFeePaid';
}
/** @name PalletIdentityEvent (37) */
interface PalletIdentityEvent extends Enum {
readonly isDidCreated: boolean;
readonly asDidCreated: ITuple<[
PolymeshPrimitivesIdentityId,
AccountId32,
Vec<PolymeshPrimitivesSecondaryKey>
]>;
readonly isSecondaryKeysAdded: boolean;
readonly asSecondaryKeysAdded: ITuple<[
PolymeshPrimitivesIdentityId,
Vec<PolymeshPrimitivesSecondaryKey>
]>;
readonly isSecondaryKeysRemoved: boolean;
readonly asSecondaryKeysRemoved: ITuple<[PolymeshPrimitivesIdentityId, Vec<AccountId32>]>;
readonly isSecondaryKeyLeftIdentity: boolean;
readonly asSecondaryKeyLeftIdentity: ITuple<[PolymeshPrimitivesIdentityId, AccountId32]>;
readonly isSecondaryKeyPermissionsUpdated: boolean;
readonly asSecondaryKeyPermissionsUpdated: ITuple<[
PolymeshPrimitivesIdentityId,
AccountId32,
PolymeshPrimitivesSecondaryKeyPermissions,
PolymeshPrimitivesSecondaryKeyPermissions
]>;
readonly isPrimaryKeyUpdated: boolean;
readonly asPrimaryKeyUpdated: ITuple<[PolymeshPrimitivesIdentityId, AccountId32, AccountId32]>;
readonly isClaimAdded: boolean;
readonly asClaimAdded: ITuple<[PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityClaim]>;
readonly isClaimRevoked: boolean;
readonly asClaimRevoked: ITuple<[
PolymeshPrimitivesIdentityId,
PolymeshPrimitivesIdentityClaim
]>;
readonly isAssetDidRegistered: boolean;
readonly asAssetDidRegistered: ITuple<[PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker]>;
readonly isAuthorizationAdded: boolean;
readonly asAuthorizationAdded: ITuple<[
PolymeshPrimitivesIdentityId,
Option<PolymeshPrimitivesIdentityId>,
Option<AccountId32>,
u64,
PolymeshPrimitivesAuthorizationAuthorizationData,
Option<u64>
]>;
readonly isAuthorizationRevoked: boolean;
readonly asAuthorizationRevoked: ITuple<[
Option<PolymeshPrimitivesIdentityId>,
Option<AccountId32>,
u64
]>;
readonly isAuthorizationRejected: boolean;
readonly asAuthorizationRejected: ITuple<[
Option<PolymeshPrimitivesIdentityId>,
Option<AccountId32>,
u64
]>;
readonly isAuthorizationConsumed: boolean;
readonly asAuthorizationConsumed: ITuple<[
Option<PolymeshPrimitivesIdentityId>,
Option<AccountId32>,
u64
]>;
readonly isAuthorizationRetryLimitReached: boolean;
readonly asAuthorizationRetryLimitReached: ITuple<[
Option<PolymeshPrimitivesIdentityId>,
Option<AccountId32>,
u64
]>;
readonly isCddRequirementForPrimaryKeyUpdated: boolean;
readonly asCddRequirementForPrimaryKeyUpdated: bool;
readonly isCddClaimsInvalidated: boolean;
readonly asCddClaimsInvalidated: ITuple<[PolymeshPrimitivesIdentityId, u64]>;
readonly isSecondaryKeysFrozen: boolean;
readonly asSecondaryKeysFrozen: PolymeshPrimitivesIdentityId;
readonly isSecondaryKeysUnfrozen: boolean;
readonly asSecondaryKeysUnfrozen: PolymeshPrimitivesIdentityId;
readonly isCustomClaimTypeAdded: boolean;
readonly asCustomClaimTypeAdded: ITuple<[PolymeshPrimitivesIdentityId, u32, Bytes]>;
readonly isChildDidCreated: boolean;
readonly asChildDidCreated: ITuple<[
PolymeshPrimitivesIdentityId,
PolymeshPrimitivesIdentityId,
AccountId32
]>;
readonly isChildDidUnlinked: boolean;
readonly asChildDidUnlinked: ITuple<[
PolymeshPrimitivesIdentityId,
PolymeshPrimitivesIdentityId,
PolymeshPrimitivesIdentityId
]>;
readonly type: 'DidCreated' | 'SecondaryKeysAdded' | 'SecondaryKeysRemoved' | 'SecondaryKeyLeftIdentity' | 'SecondaryKeyPermissionsUpdated' | 'PrimaryKeyUpdated' | 'ClaimAdded' | 'ClaimRevoked' | 'AssetDidRegistered' | 'AuthorizationAdded' | 'AuthorizationRevoked' | 'AuthorizationRejected' | 'AuthorizationConsumed' | 'AuthorizationRetryLimitReached' | 'CddRequirementForPrimaryKeyUpdated' | 'CddClaimsInvalidated' | 'SecondaryKeysFrozen' | 'SecondaryKeysUnfrozen' | 'CustomClaimTypeAdded' | 'ChildDidCreated' | 'ChildDidUnlinked';
}
/** @name PolymeshPrimitivesSecondaryKey (39) */
interface PolymeshPrimitivesSecondaryKey extends Struct {
readonly key: AccountId32;
readonly permissions: PolymeshPrimitivesSecondaryKeyPermissions;
}
/** @name PolymeshPrimitivesSecondaryKeyPermissions (40) */
interface PolymeshPrimitivesSecondaryKeyPermissions extends Struct {
readonly asset: PolymeshPrimitivesSubsetSubsetRestrictionAssetId;
readonly extrinsic: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions;
readonly portfolio: PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId;
}
/** @name PolymeshPrimitivesSubsetSubsetRestrictionAssetId (41) */
interface PolymeshPrimitivesSubsetSubsetRestrictionAssetId extends Enum {
readonly isWhole: boolean;
readonly isThese: boolean;
readonly asThese: BTreeSet<PolymeshPrimitivesAssetAssetId>;
readonly isExcept: boolean;
readonly asExcept: BTreeSet<PolymeshPrimitivesAssetAssetId>;
readonly type: 'Whole' | 'These' | 'Except';
}
/** @name PolymeshPrimitivesAssetAssetId (42) */
interface PolymeshPrimitivesAssetAssetId extends U8aFixed {
}
/** @name PolymeshPrimitivesSecondaryKeyExtrinsicPermissions (46) */
interface PolymeshPrimitivesSecondaryKeyExtrinsicPermissions extends Enum {
readonly isWhole: boolean;
readonly isThese: boolean;
readonly asThese: BTreeMap<Text, PolymeshPrimitivesSecondaryKeyPalletPermissions>;
readonly isExcept: boolean;
readonly asExcept: BTreeMap<Text, PolymeshPrimitivesSecondaryKeyPalletPermissions>;
readonly type: 'Whole' | 'These' | 'Except';
}
/** @name PolymeshPrimitivesSecondaryKeyPalletPermissions (50) */
interface PolymeshPrimitivesSecondaryKeyPalletPermissions extends Struct {
readonly extrinsics: PolymeshPrimitivesSubsetSubsetRestrictionExtrinsicName;
}
/** @name PolymeshPrimitivesSubsetSubsetRestrictionExtrinsicName (51) */
interface PolymeshPrimitivesSubsetSubsetRestrictionExtrinsicName extends Enum {
readonly isWhole: boolean;
readonly isThese: boolean;
readonly asThese: BTreeSet<Text>;
readonly isExcept: boolean;
readonly asExcept: BTreeSet<Text>;
readonly type: 'Whole' | 'These' | 'Except';
}
/** @name PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId (57) */
interface PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId extends Enum {
readonly isWhole: boolean;
readonly isThese: boolean;
readonly asThese: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>;
readonly isExcept: boolean;
readonly asExcept: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>;
readonly type: 'Whole' | 'These' | 'Except';
}
/** @name PolymeshPrimitivesIdentityIdPortfolioId (58) */
interface PolymeshPrimitivesIdentityIdPortfolioId extends Struct {
readonly did: PolymeshPrimitivesIdentityId;
readonly kind: PolymeshPrimitivesIdentityIdPortfolioKind;
}
/** @name PolymeshPrimitivesIdentityIdPortfolioKind (59) */
interface PolymeshPrimitivesIdentityIdPortfolioKind extends Enum {
readonly isDefault: boolean;
readonly isUser: boolean;
readonly asUser: u64;
readonly type: 'Default' | 'User';
}
/** @name PolymeshPrimitivesIdentityClaim (64) */
interface PolymeshPrimitivesIdentityClaim extends Struct {
readonly claimIssuer: PolymeshPrimitivesIdentityId;
readonly issuanceDate: u64;
readonly lastUpdateDate: u64;
readonly expiry: Option<u64>;
readonly claim: PolymeshPrimitivesIdentityClaimClaim;
}
/** @name PolymeshPrimitivesIdentityClaimClaim (66) */
interface PolymeshPrimitivesIdentityClaimClaim extends Enum {
readonly isAccredited: boolean;
readonly asAccredited: PolymeshPrimitivesIdentityClaimScope;
readonly isAffiliate: boolean;
readonly asAffiliate: PolymeshPrimitivesIdentityClaimScope;
readonly isBuyLockup: boolean;
readonly asBuyLockup: PolymeshPrimitivesIdentityClaimScope;
readonly isSellLockup: boolean;
readonly asSellLockup: PolymeshPrimitivesIdentityClaimScope;
readonly isCustomerDueDiligence: boolean;
readonly asCustomerDueDiligence: PolymeshPrimitivesCddId;
readonly isKnowYourCustomer: boolean;
readonly asKnowYourCustomer: PolymeshPrimitivesIdentityClaimScope;
readonly isJurisdiction: boolean;
readonly asJurisdiction: ITuple<[
PolymeshPrimitivesJurisdictionCountryCode,
PolymeshPrimitivesIdentityClaimScope
]>;
readonly isExempted: boolean;
readonly asExempted: PolymeshPrimitivesIdentityClaimScope;
readonly isBlocked: boolean;
readonly asBlocked: PolymeshPrimitivesIdentityClaimScope;
readonly isCustom: boolean;
readonly asCustom: ITuple<[u32, Option<PolymeshPrimitivesIdentityClaimScope>]>;
readonly type: 'Accredited' | 'Affiliate' | 'BuyLockup' | 'SellLockup' | 'CustomerDueDiligence' | 'KnowYourCustomer' | 'Jurisdiction' | 'Exempted' | 'Blocked' | 'Custom';
}
/** @name PolymeshPrimitivesIdentityClaimScope (67) */
interface PolymeshPrimitivesIdentityClaimScope extends Enum {
readonly isIdentity: boolean;
readonly asIdentity: PolymeshPrimitivesIdentityId;
readonly isAsset: boolean;
readonly asAsset: PolymeshPrimitivesAssetAssetId;
readonly isCustom: boolean;
readonly asCustom: Bytes;
readonly type: 'Identity' | 'Asset' | 'Custom';
}
/** @name PolymeshPrimitivesCddId (68) */
interface PolymeshPrimitivesCddId extends U8aFixed {
}
/** @name PolymeshPrimitivesJurisdictionCountryCode (69) */
interface PolymeshPrimitivesJurisdictionCountryCode extends Enum {
readonly isAf: boolean;
readonly isAx: boolean;
readonly isAl: boolean;
readonly isDz: boolean;
readonly isAs: boolean;
readonly isAd: boolean;
readonly isAo: boolean;
readonly isAi: boolean;
readonly isAq: boolean;
readonly isAg: boolean;
readonly isAr: boolean;
readonly isAm: boolean;
readonly isAw: boolean;
readonly isAu: boolean;
readonly isAt: boolean;
readonly isAz: boolean;
readonly isBs: boolean;
readonly isBh: boolean;
readonly isBd: boolean;
readonly isBb: boolean;
readonly isBy: boolean;
readonly isBe: boolean;
readonly isBz: boolean;
readonly isBj: boolean;
readonly isBm: boolean;
readonly isBt: boolean;
readonly isBo: boolean;
readonly isBa: boolean;
readonly isBw: boolean;
readonly isBv: boolean;
readonly isBr: boolean;
readonly isVg: boolean;
readonly isIo: boolean;
readonly isBn: boolean;
readonly isBg: boolean;
readonly isBf: boolean;
readonly isBi: boolean;
readonly isKh: boolean;
readonly isCm: boolean;
readonly isCa: boolean;
readonly isCv: boolean;
readonly isKy: boolean;
readonly isCf: boolean;
readonly isTd: boolean;
readonly isCl: boolean;
readonly isCn: boolean;
readonly isHk: boolean;
readonly isMo: boolean;
readonly isCx: boolean;
readonly isCc: boolean;
readonly isCo: boolean;
readonly isKm: boolean;
readonly isCg: boolean;
readonly isCd: boolean;
readonly isCk: boolean;
readonly isCr: boolean;
readonly isCi: boolean;
readonly isHr: boolean;
readonly isCu: boolean;
readonly isCy: boolean;
readonly isCz: boolean;
readonly isDk: boolean;
readonly isDj: boolean;
readonly isDm: boolean;
readonly isDo: boolean;
readonly isEc: boolean;
readonly isEg: boolean;
readonly isSv: boolean;
readonly isGq: boolean;
readonly isEr: boolean;
readonly isEe: boolean;
readonly isEt: boolean;
readonly isFk: boolean;
readonly isFo: boolean;
readonly isFj: boolean;
readonly isFi: boolean;
readonly isFr: boolean;
readonly isGf: boolean;
readonly isPf: boolean;
readonly isTf: boolean;
readonly isGa: boolean;
readonly isGm: boolean;
readonly isGe: boolean;
readonly isDe: boolean;
readonly isGh: boolean;
readonly isGi: boolean;
readonly isGr: boolean;
readonly isGl: boolean;
readonly isGd: boolean;
readonly isGp: boolean;
readonly isGu: boolean;
readonly isGt: boolean;
readonly isGg: boolean;
readonly isGn: boolean;
readonly isGw: boolean;
readonly isGy: boolean;
readonly isHt: boolean;
readonly isHm: boolean;
readonly isVa: boolean;
readonly isHn: boolean;
readonly isHu: boolean;
readonly isIs: boolean;
readonly isIn: boolean;
readonly isId: boolean;
readonly isIr: boolean;
readonly isIq: boolean;
readonly isIe: boolean;
readonly isIm: boolean;
readonly isIl: boolean;
readonly isIt: boolean;
readonly isJm: boolean;
readonly isJp: boolean;
readonly isJe: boolean;
readonly isJo: boolean;
readonly isKz: boolean;
readonly isKe: boolean;
readonly isKi: boolean;
readonly isKp: boolean;
readonly isKr: boolean;
readonly isKw: boolean;
readonly isKg: boolean;
readonly isLa: boolean;
readonly isLv: boolean;
readonly isLb: boolean;
readonly isLs: boolean;
readonly isLr: boolean;
readonly isLy: boolean;
readonly isLi: boolean;
readonly isLt: boolean;
readonly isLu: boolean;
readonly isMk: boolean;
readonly isMg: boolean;
readonly isMw: boolean;
readonly isMy: boolean;
readonly isMv: boolean;
readonly isMl: boolean;
readonly isMt: boolean;
readonly isMh: boolean;
readonly isMq: boolean;
readonly isMr: boolean;
readonly isMu: boolean;
readonly isYt: boolean;
readonly isMx: boolean;
readonly isFm: boolean;
readonly isMd: boolean;
readonly isMc: boolean;
readonly isMn: boolean;
readonly isMe: boolean;
readonly isMs: boolean;
readonly isMa: boolean;
readonly isMz: boolean;
readonly isMm: boolean;
readonly isNa: boolean;
readonly isNr: boolean;
readonly isNp: boolean;
readonly isNl: boolean;
readonly isAn: boolean;
readonly isNc: boolean;
readonly isNz: boolean;
readonly isNi: boolean;
readonly isNe: boolean;
readonly isNg: boolean;
readonly isNu: boolean;
readonly isNf: boolean;
readonly isMp: boolean;
readonly isNo: boolean;
readonly isOm: boolean;
readonly isPk: boolean;
readonly isPw: boolean;
readonly isPs: boolean;
readonly isPa: boolean;
readonly isPg: boolean;
readonly isPy: boolean;
readonly isPe: boolean;
readonly isPh: boolean;
readonly isPn: boolean;
readonly isPl: boolean;
readonly isPt: boolean;
readonly isPr: boolean;
readonly isQa: boolean;
readonly isRe: boolean;
readonly isRo: boolean;
readonly isRu: boolean;
readonly isRw: boolean;
readonly isBl: boolean;
readonly isSh: boolean;
readonly isKn: boolean;
readonly isLc: boolean;
readonly isMf: boolean;
readonly isPm: boolean;
readonly isVc: boolean;
readonly isWs: boolean;
readonly isSm: boolean;
readonly isSt: boolean;
readonly isSa: boolean;
readonly isSn: boolean;
readonly isRs: boolean;
readonly isSc: boolean;
readonly isSl: boolean;
readonly isSg: boolean;
readonly isSk: boolean;
readonly isSi: boolean;
readonly isSb: boolean;
readonly isSo: boolean;
readonly isZa: boolean;
readonly isGs: boolean;
readonly isSs: boolean;
readonly isEs: boolean;
readonly isLk: boolean;
readonly isSd: boolean;
readonly isSr: boolean;
readonly isSj: boolean;
readonly isSz: boolean;
readonly isSe: boolean;
readonly isCh: boolean;
readonly isSy: boolean;
readonly isTw: boolean;
readonly isTj: boolean;
readonly isTz: boolean;
readonly isTh: boolean;
readonly isTl: boolean;
readonly isTg: boolean;
readonly isTk: boolean;
readonly isTo: boolean;
readonly isTt: boolean;
readonly isTn: boolean;
readonly isTr: boolean;
readonly isTm: boolean;
readonly isTc: boolean;
readonly isTv: boolean;
readonly isUg: boolean;
readonly isUa: boolean;
readonly isAe: boolean;
readonly isGb: boolean;
readonly isUs: boolean;
readonly isUm: boolean;
readonly isUy: boolean;
readonly isUz: boolean;
readonly isVu: boolean;
readonly isVe: boolean;
readonly isVn: boolean;
readonly isVi: boolean;
readonly isWf: boolean;
readonly isEh: boolean;
readonly isYe: boolean;
readonly isZm: boolean;
readonly isZw: boolean;
readonly isBq: boolean;
readonly isCw: boolean;
readonly isSx: boolean;
readonly type: 'Af' | 'Ax' | 'Al' | 'Dz' | 'As' | 'Ad' | 'Ao' | 'Ai' | 'Aq' | 'Ag' | 'Ar' | 'Am' | 'Aw' | 'Au' | 'At' | 'Az' | 'Bs' | 'Bh' | 'Bd' | 'Bb' | 'By' | 'Be' | 'Bz' | 'Bj' | 'Bm' | 'Bt' | 'Bo' | 'Ba' | 'Bw' | 'Bv' | 'Br' | 'Vg' | 'Io' | 'Bn' | 'Bg' | 'Bf' | 'Bi' | 'Kh' | 'Cm' | 'Ca' | 'Cv' | 'Ky' | 'Cf' | 'Td' | 'Cl' | 'Cn' | 'Hk' | 'Mo' | 'Cx' | 'Cc' | 'Co' | 'Km' | 'Cg' | 'Cd' | 'Ck' | 'Cr' | 'Ci' | 'Hr' | 'Cu' | 'Cy' | 'Cz' | 'Dk' | 'Dj' | 'Dm' | 'Do' | 'Ec' | 'Eg' | 'Sv' | 'Gq' | 'Er' | 'Ee' | 'Et' | 'Fk' | 'Fo' | 'Fj' | 'Fi' | 'Fr' | 'Gf' | 'Pf' | 'Tf' | 'Ga' | 'Gm' | 'Ge' | 'De' | 'Gh' | 'Gi' | 'Gr' | 'Gl' | 'Gd' | 'Gp' | 'Gu' | 'Gt' | 'Gg' | 'Gn' | 'Gw' | 'Gy' | 'Ht' | 'Hm' | 'Va' | 'Hn' | 'Hu' | 'Is' | 'In' | 'Id' | 'Ir' | 'Iq' | 'Ie' | 'Im' | 'Il' | 'It' | 'Jm' | 'Jp' | 'Je' | 'Jo' | 'Kz' | 'Ke' | 'Ki' | 'Kp' | 'Kr' | 'Kw' | 'Kg' | 'La' | 'Lv' | 'Lb' | 'Ls' | 'Lr' | 'Ly' | 'Li' | 'Lt' | 'Lu' | 'Mk' | 'Mg' | 'Mw' | 'My' | 'Mv' | 'Ml' | 'Mt' | 'Mh' | 'Mq' | 'Mr' | 'Mu' | 'Yt' | 'Mx' | 'Fm' | 'Md' | 'Mc' | 'Mn' | 'Me' | 'Ms' | 'Ma' | 'Mz' | 'Mm' | 'Na' | 'Nr' | 'Np' | 'Nl' | 'An' | 'Nc' | 'Nz' | 'Ni' | 'Ne' | 'Ng' | 'Nu' | 'Nf' | 'Mp' | 'No' | 'Om' | 'Pk' | 'Pw' | 'Ps' | 'Pa' | 'Pg' | 'Py' | 'Pe' | 'Ph' | 'Pn' | 'Pl' | 'Pt' | 'Pr' | 'Qa' | 'Re' | 'Ro' | 'Ru' | 'Rw' | 'Bl' | 'Sh' | 'Kn' | 'Lc' | 'Mf' | 'Pm' | 'Vc' | 'Ws' | 'Sm' | 'St' | 'Sa' | 'Sn' | 'Rs' | 'Sc' | 'Sl' | 'Sg' | 'Sk' | 'Si' | 'Sb' | 'So' | 'Za' | 'Gs' | 'Ss' | 'Es' | 'Lk' | 'Sd' | 'Sr' | 'Sj' | 'Sz' | 'Se' | 'Ch' | 'Sy' | 'Tw' | 'Tj' | 'Tz' | 'Th' | 'Tl' | 'Tg' | 'Tk' | 'To' | 'Tt' | 'Tn' | 'Tr' | 'Tm' | 'Tc' | 'Tv' | 'Ug' | 'Ua' | 'Ae' | 'Gb' | 'Us' | 'Um' | 'Uy' | 'Uz' | 'Vu' | 'Ve' | 'Vn' | 'Vi' | 'Wf' | 'Eh' | 'Ye' | 'Zm' | 'Zw' | 'Bq' | 'Cw' | 'Sx';
}
/** @name PolymeshPrimitivesTicker (72) */
interface PolymeshPrimitivesTicker extends U8aFixed {
}
/** @name PolymeshPrimitivesAuthorizationAuthorizationData (75) */
interface PolymeshPrimitivesAuthorizationAuthorizationData extends Enum {
readonly isAttestPrimaryKeyRotation: boolean;
readonly asAttestPrimaryKeyRotation: PolymeshPrimitivesIdentityId;
readonly isRotatePrimaryKey: boolean;
readonly isTransferTicker: boolean;
readonly asTransferTicker: PolymeshPrimitivesTicker;
readonly isAddMultiSigSigner: boolean;
readonly asAddMultiSigSigner: AccountId32;
readonly isTransferAssetOwnership: boolean;
readonly asTransferAssetOwnership: PolymeshPrimitivesAssetAssetId;
readonly isJoinIdentity: boolean;
readonly asJoinIdentity: PolymeshPrimitivesSecondaryKeyPermissions;
readonly isPortfolioCustody: boolean;
readonly asPortfolioCustody: PolymeshPrimitivesIdentityIdPortfolioId;
readonly isBecomeAgent: boolean;
readonly asBecomeAgent: ITuple<[
PolymeshPrimitivesAssetAssetId,
PolymeshPrimitivesAgentAgentGroup
]>;
readonly isAddRelayerPayingKey: boolean;
readonly asAddRelayerPayingKey: ITuple<[AccountId32, AccountId32, u128]>;
readonly isRotatePrimaryKeyToSecondary: boolean;
readonly asRotatePrimaryKeyToSecondary: PolymeshPrimitivesSecondaryKeyPermissions;
readonly type: 'AttestPrimaryKeyRotation' | 'RotatePrimaryKey' | 'TransferTicker' | 'AddMultiSigSigner' | 'TransferAssetOwnership' | 'JoinIdentity' | 'PortfolioCustody' | 'BecomeAgent' | 'AddRelayerPayingKey' | 'RotatePrimaryKeyToSecondary';
}
/** @name PolymeshPrimitivesAgentAgentGroup (76) */
interface PolymeshPrimitivesAgentAgentGroup extends Enum {
readonly isFull: boolean;
readonly isCustom: boolean;
readonly asCustom: u32;
readonly isExceptMeta: boolean;
readonly isPolymeshV1CAA: boolean;
readonly isPolymeshV1PIA: boolean;
readonly type: 'Full' | 'Custom' | 'ExceptMeta' | 'PolymeshV1CAA' | 'PolymeshV1PIA';
}
/** @name PalletGroupEvent (79) */
interface PalletGroupEvent extends Enum {
readonly isMemberAdded: boolean;
readonly asMemberAdded: ITuple<[PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityId]>;
readonly isMemberRemoved: boolean;
readonly asMemberRemoved: ITuple<[PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityId]>;
readonly isMemberRevoked: boolean;
readonly asMemberRevoked: ITuple<[PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityId]>;
readonly isMembersSwapped: boolean;
readonly asMembersSwapped: ITuple<[
PolymeshPrimitivesIdentityId,
PolymeshPrimitivesIdentityId,
PolymeshPrimitivesIdentityId
]>;
readonly isMembersReset: boolean;
readonly asMembersReset: ITuple<[
PolymeshPrimitivesIdentityId,
Vec<PolymeshPrimitivesIdentityId>
]>;
readonly isActiveLimitChanged: boolean;
readonly asActiveLimitChanged: ITuple<[PolymeshPrimitivesIdentityId, u32, u32]>;
readonly isDummy: boolean;
readonly type: 'MemberAdded' | 'MemberRemoved' | 'MemberRevoked' | 'MembersSwapped' | 'MembersReset' | 'ActiveLimitChanged' | 'Dummy';
}
/** @name PalletCommitteeEvent (81) */
interface PalletCommitteeEvent extends Enum {
readonly isProposed: boolean;
readonly asProposed: ITuple<[PolymeshPrimitivesIdentityId, u32, H256]>;
readonly isVoted: boolean;
readonly asVoted: ITuple<[PolymeshPrimitivesIdentityId, u32, H256, bool, u32, u32, u32]>;
readonly isVoteRetracted: boolean;
readonly asVoteRetracted: ITuple<[PolymeshPrimitivesIdentityId, u32, H256, bool]>;
readonly isFinalVotes: boolean;
readonly asFinalVotes: ITuple<[
Option<PolymeshPrimitivesIdentityId>,
u32,
H256,
Vec<PolymeshPrimitivesIdentityId>,
Vec<PolymeshPrimitivesIdentityId>
]>;
readonly isApproved: boolean;
readonly asApproved: ITuple<[Option<PolymeshPrimitivesIdentityId>, H256, u32, u32, u32]>;
readonly isRejected: boolean;
readonly asRejected: ITuple<[Option<PolymeshPrimitivesIdentityId>, H256, u32, u32, u32]>;
readonly isExecuted: boolean;
readonly asExecuted: ITuple<[
Option<PolymeshPrimitivesIdentityId>,
H256,
Result<Null, SpRuntimeDispatchError>
]>;
readonly isReleaseCoordinatorUpdated: boolean;
readonly asReleaseCoordinatorUpdated: Option<PolymeshPrimitivesIdentityId>;
readonly isExpiresAfterUpdated: boolean;
readonly asExpiresAfterUpdated: ITuple<[
PolymeshPrimitivesIdentityId,
PolymeshPrimitivesMaybeBlock
]>;
readonly isVoteThresholdUpdated: boolean;
readonly asVoteThresholdUpdated: ITuple<[PolymeshPrimitivesIdentityId, u32, u32]>;
readonly type: 'Proposed' | 'Voted' | 'VoteRetracted' | 'FinalVotes' | 'Approved' | 'Rejected' | 'Executed' | 'ReleaseCoordinatorUpdated' | 'ExpiresAfterUpdated' | 'VoteThresholdUpdated';
}
/** @name PolymeshPrimitivesMaybeBlock (84) */
interface PolymeshPrimitivesMaybeBlock extends Enum {
readonly isSome: boolean;
readonly asSome: u32;
readonly isNone: boolean;
readonly type: 'Some' | 'None';
}
/** @name PalletMultisigEvent (90) */
interface PalletMultisigEvent extends Enum {
readonly isMultiSigCreated: boolean;
readonly asMultiSigCreated: {
readonly callerDid: PolymeshPrimitivesIdentityId;
readonly multisig: AccountId32;
readonly caller: AccountId32;
readonly signers: Vec<AccountId32>;
readonly sigsRequired: u64;
} & Struct;
readonly isProposalAdded: boolean;
readonly asProposalAdded: {
readonly callerDid: Option<PolymeshPrimitivesIdentityId>;
readonly multisig: AccountId32;
readonly proposalId: u64;
} & Struct;
readonly isProposalExecuted: boolean;
readonly asProposalExecuted: {
readonly callerDid: Option<PolymeshPrimitivesIdentityId>;
readonly multisig: AccountId32;
readonly proposalId: u64;
readonly result: Result<Null, SpRuntimeDispatchError>;
} & Struct;
readonly isMultiSigSignerAdded: boolean;
readonly asMultiSigSignerAdded: {
readonly callerDid: PolymeshPrimitivesIdentityId;
readonly multisig: AccountId32;
readonly signer: AccountId32;
} & Struct;
readonly isMultiSigSignersAuthorized: boolean;
readonly asMultiSigSignersAuthorized: {
readonly callerDid: PolymeshPrimitivesIdentityId;
readonly multisig: AccountId32;
readonly signers: Vec<AccountId32>;
} & Struct;
readonly isMultiSigSignersRemoved: boolean;
readonly asMultiSigSignersRemoved: {
readonly callerDid: PolymeshPrimitivesIdentityId;
readonly multisig: AccountId32;
readonly signers: Vec<AccountId32>;
} & Struct;
readonly isMultiSigSignersRequiredChanged: boolean;
readonly asMultiSigSignersRequiredChanged: {
readonly callerDid: Option<PolymeshPrimitivesIdentityId>;
readonly multisig: AccountId32;
readonly sigsRequired: u64;
} & Struct;
readonly isProposalApprovalVote: boolean;
readonly asProposalApprovalVote: {
readonly callerDid: Option<PolymeshPrimitivesIdentityId>;
readonly multisig: AccountId32;
readonly signer: AccountId32;
readonly proposalId: u64;
} & Struct;
readonly isProposalRejectionVote: boolean;
readonly asProposalRejectionVote: {
readonly callerDid: Option<PolymeshPrimitivesIdentityId>;
readonly multisig: AccountId32;
readonly signer: AccountId32;
readonly proposalId: u64;
} & Struct;
readonly isProposalApproved: boolean;
readonly asProposalApproved: {
readonly callerDid: Option<PolymeshPrimitivesIdentityId>;
readonly multisig: AccountId32;
readonly proposalId: u64;
} & Struct;
readonly isProposalRejected: boolean;
readonly asProposalRejected: {
readonly callerDid: Option<PolymeshPrimitivesIdentityId>;
readonly multisig: AccountId32;
readonly proposalId: u64;
} & Struct;
readonly isMultiSigAddedAdmin: boolean;
readonly asMultiSigAddedAdmin: {
readonly callerDid: PolymeshPrimitivesIdentityId;
readonly multisig: AccountId32;
readonly adminDid: PolymeshPrimitivesIdentityId;
} & Struct;
readonly isMultiSigRemovedAdmin: boolean;
readonly asMultiSigRemovedAdmin: {
readonly callerDid: PolymeshPrimitivesIdentityId;
readonly multisig: AccountId32;
readonly adminDid: PolymeshPrimitivesIdentityId;
} & Struct;
readonly isMultiSigRemovedPayingDid: boolean;
readonly asMultiSigRemovedPayingDid: {
readonly callerDid: PolymeshPrimitivesIdentityId;
readonly multisig: AccountId32;
readonly payingDid: PolymeshPrimitivesIdentityId;
} & Struct;
readonly type: 'MultiSigCreated' | 'ProposalAdded' | 'ProposalExecuted' | 'MultiSigSignerAdded' | 'MultiSigSignersAuthorized' | 'MultiSigSignersRemoved' | 'MultiSigSignersRequiredChanged' | 'ProposalApprovalVote' | 'ProposalRejectionVote' | 'ProposalApproved' | 'ProposalRejected' | 'MultiSigAddedAdmin' | 'MultiSigRemovedAdmin' | 'MultiSigRemovedPayingDid';
}
/** @name PalletStakingPalletEvent (92) */
interface PalletStakingPalletEvent extends Enum {
readonly isEraPaid: boolean;
readonly asEraPaid: {
readonly eraIndex: u32;
readonly validatorPayout: u128;
readonly remainder: u128;
} & Struct;
readonly isRewarded: boolean;
readonly asRewarded: {
readonly identity: PolymeshPrimitivesIdentityId;
readonly stash: AccountId32;
readonly amount: u128;
} & Struct;
readonly isSlashed: boolean;
readonly asSlashed: {
readonly staker: AccountId32;
readonly amount: u128;
} & Struct;
readonly isSlashReported: boolean;
readonly asSlashReported: {
readonly validator: AccountId32;
readonly fraction: Perbill;
readonly slashEra: u32;
} & Struct;
readonly isOldSlashingReportDiscarded: boolean;
readonly asOldSlashingReportDiscarded: {
readonly sessionIndex: u32;
} & Struct;
readonly isStakersElected: boolean;
readonly isBonded: boolean;
readonly asBonded: {
readonly identity: PolymeshPrimitivesIdentityId;
readonly stash: AccountId32;
readonly amount: u128;
} & Struct;
readonly isUnbonded: boolean;
readonly asUnbonded: {
readonly identity: PolymeshPrimitivesIdentityId;
readonly stash: AccountId32;
readonly amount: u128;
} & Struct;
readonly isWithdrawn: boolean;
readonly asWithdrawn: {
readonly stash: AccountId32;
readonly amount: u128;
} & Struct;
readonly isKicked: boolean;
readonly asKicked: {
readonly nominator: AccountId32;
readonly stash: AccountId32;
} & Struct;
readonly isStakingElectionFailed: boolean;
readonly isChilled: boolean;
readonly asChilled: {
readonly stash: AccountId32;
} & Struct;
readonly isPayoutStarted: boolean;
readonly asPayoutStarted: {
readonly eraIndex: u32;
readonly validatorStash: AccountId32;
} & Struct;
readonly isValidatorPrefsSet: boolean;
readonly asValidatorPrefsSet: {
readonly stash: AccountId32;
readonly prefs: PalletStakingValidatorPrefs;
} & Struct;
readonly isForceEra: boolean;
readonly asForceEra: {
readonly mode: PalletStakingForcing;
} & Struct;
readonly isNominated: boolean;
readonly asNominated: {
readonly nominatorIdentity: PolymeshPrimitivesIdentityId;
readonly stash: AccountId32;
readonly targets: Vec<AccountId32>;
} & Struct;
readonly isPermissionedIdentityAdded: boolean;
readonly asPermissionedIdentityAdded: {
readonly governanceCouncillDid: PolymeshPrimitivesIdentityId;
readonly validatorsIdentity: PolymeshPrimitivesIdentityId;
} & Struct;
readonly isPermissionedIdentityRemoved: boolean;
readonly asPermissionedIdentityRemoved: {
readonly governanceCouncillDid: PolymeshPrimitivesIdentityId;
readonly validatorsIdentity: PolymeshPrimitivesIdentityId;
} & Struct;
readonly isInvalidatedNominators: boolean;
readonly asInvalidatedNominators: {
readonly governanceCouncillDid: PolymeshPrimitivesIdentityId;
readonly governanceCouncillAccount: PolymeshPrimitivesIdentityId;
readonly expiredNominators: Vec<AccountId32>;
} & Struct;
readonly isSlashingAllowedForChanged: boolean;
readonly asSlashingAllowedForChanged: {
readonly slashingSwitch: PalletStakingSlashingSwitch;
} & Struct;
readonly isRewardPaymentSchedulingInterrupted: boolean;
readonly asRewardPaymentSchedulingInterrupted: {
readonly accountId: AccountId32;
readonly era: u32;
readonly error: SpRuntimeDispatchError;
} & Struct;
readonly isCommissionCapUpdated: boolean;
readonly asCommissionCapUpdated: {
readonly governanceCouncillDid: PolymeshPrimitivesIdentityId;
readonly oldCommissionCap: Perbill;
readonly newCommissionCap: Perbill;
} & Struct;
readonly type: 'EraPaid' | 'Rewarded' | 'Slashed' | 'SlashReported' | 'OldSlashingReportDiscarded' | 'StakersElected' | 'Bonded' | 'Unbonded' | 'Withdrawn' | 'Kicked' | 'StakingElectionFailed' | 'Chilled' | 'PayoutStarted' | 'ValidatorPrefsSet' | 'ForceEra' | 'Nominated' | 'PermissionedIdentityAdded' | 'PermissionedIdentityRemoved' | 'InvalidatedNominators' | 'SlashingAllowedForChanged' | 'RewardPaymentSchedulingInterrupted' | 'CommissionCapUpdated';
}
/** @name PalletStakingValidatorPrefs (94) */
interface PalletStakingValidatorPrefs extends Struct {
readonly commission: Compact<Perbill>;
readonly blocked: bool;
}
/** @name PalletStakingForcing (96) */
interface PalletStakingForcing extends Enum {
readonly isNotForcing: boolean;
readonly isForceNew: boolean;
readonly isForceNone: boolean;
readonly isForceAlways: boolean;
readonly type: 'NotForcing' | 'ForceNew' | 'ForceNone' | 'ForceAlways';
}
/** @name PalletStakingSlashingSwitch (97) */
interface PalletStakingSlashingSwitch extends Enum {
readonly isValidator: boolean;
readonly isValidatorAndNominator: boolean;
readonly isNone: boolean;
readonly type: 'Validator' | 'ValidatorAndNominator' | 'None';
}
/** @name PalletOffencesEvent (98) */
interface PalletOffencesEvent extends Enum {
readonly isOffence: boolean;
readonly asOffence: {
readonly kind: U8aFixed;
readonly timeslot: Bytes;
} & Struct;
readonly type: 'Offence';
}
/** @name PalletSessionEvent (99) */
interface PalletSessionEvent extends Enum {
readonly isNewSession: boolean;
readonly asNewSession: {
readonly sessionIndex: u32;
} & Struct;
readonly type: 'NewSession';
}
/** @name PalletGrandpaEvent (100) */
interface PalletGrandpaEvent extends Enum {
readonly isNewAuthorities: boolean;
readonly asNewAuthorities: {
readonly authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
} & Struct;
readonly isPaused: boolean;
readonly isResumed: boolean;
readonly type: 'NewAuthorities' | 'Paused' | 'Resumed';
}
/** @name SpConsensusGrandpaAppPublic (103) */
interface SpConsensusGrandpaAppPublic extends SpCoreEd25519Public {
}
/** @name SpCoreEd25519Public (104) */
interface SpCoreEd25519Public extends U8aFixed {
}
/** @name PalletImOnlineEvent (105) */
interface PalletImOnlineEvent extends Enum {
readonly isHeartbeatReceived: boolean;
readonly asHeartbeatReceived: {
readonly authorityId: PalletImOnlineSr25519AppSr25519Public;
} & Struct;
readonly isAllGood: boolean;
readonly isSomeOffline: boolean;
readonly asSomeOffline: {
readonly offline: Vec<ITuple<[AccountId32, PalletStakingExposure]>>;
} & Struct;
readonly type: 'HeartbeatReceived' | 'AllGood' | 'SomeOffline';
}
/** @name PalletImOnlineSr25519AppSr25519Public (106) */
interface PalletImOnlineSr25519AppSr25519Public extends SpCoreSr25519Public {
}
/** @name SpCoreSr25519Public (107) */
interface SpCoreSr25519Public extends U8aFixed {
}
/** @name PalletStakingExposure (110) */
interface PalletStakingExposure extends Struct {
readonly total: Compact<u128>;
readonly own: Compact<u128>;
readonly others: Vec<PalletStakingIndividualExposure>;
}
/** @name PalletStakingIndividualExposure (113) */
interface PalletStakingIndividualExposure extends Struct {
readonly who: AccountId32;
readonly value: Compact<u128>;
}
/** @name PalletSudoEvent (114) */
interface PalletSudoEvent extends Enum {
readonly isSudid: boolean;
readonly asSudid: {
readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
} & Struct;
readonly isKeyChanged: boolean;
readonly asKeyChanged: {
readonly oldSudoer: Option<AccountId32>;
} & Struct;
readonly isSudoAsDone: boolean;
readonly asSudoAsDone: {
readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
} & Struct;
readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
}
/** @name PalletAssetEvent (115) */
interface PalletAssetEvent extends Enum {
readonly isAssetCreated: boolean;
readonly asAssetCreated: ITuple<[
PolymeshPrimitivesIdentityId,
PolymeshPrimitivesAssetAssetId,
bool,
PolymeshPrimitivesAssetAssetType,
PolymeshPrimitivesIdentityId,
Bytes,
Vec<PolymeshPrimitivesAssetIdentifier>,
Option<Bytes>
]>;
readonly isIdentifiersUpdated: boolean;
readonly asIdentifiersUpdated: ITuple<[
PolymeshPrimitivesIdentityId,
PolymeshPrimitivesAssetAssetId,
Vec<PolymeshPrimitivesAssetIdentifier>
]>;
readonly isDivisibilityChanged: boolean;
readonly asDivisibilityChanged: ITuple<[
PolymeshPrimitivesIdentityId,
PolymeshPrimitivesAssetAssetId,
bool
]>;
readonly isTickerRegistered: boolean;
readonly asTickerRegistered: ITuple<[
PolymeshPrimitivesIdentityId,
PolymeshPrimitivesTicker,
Option<u64>
]>;
readonly isTickerTransferred: boolean;
readonly asTickerTransferred: ITuple<[