@polymeshassociation/polymesh-types
Version:
Substrate types used in Polymesh chain
1,133 lines • 309 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 { 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 frozen: u128;
readonly flags: u128;
}
/** @name FrameSupportDispatchPerDispatchClassWeight (9) */
interface FrameSupportDispatchPerDispatchClassWeight extends Struct {
readonly normal: SpWeightsWeightV2Weight;
readonly operational: SpWeightsWeightV2Weight;
readonly mandatory: SpWeightsWeightV2Weight;
}
/** @name SpWeightsWeightV2Weight (10) */
interface SpWeightsWeightV2Weight extends Struct {
readonly refTime: Compact<u64>;
readonly proofSize: Compact<u64>;
}
/** @name SpRuntimeDigest (15) */
interface SpRuntimeDigest extends Struct {
readonly logs: Vec<SpRuntimeDigestDigestItem>;
}
/** @name SpRuntimeDigestDigestItem (17) */
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 (20) */
interface FrameSystemEventRecord extends Struct {
readonly phase: FrameSystemPhase;
readonly event: Event;
readonly topics: Vec<H256>;
}
/** @name FrameSystemEvent (22) */
interface FrameSystemEvent extends Enum {
readonly isExtrinsicSuccess: boolean;
readonly asExtrinsicSuccess: {
readonly dispatchInfo: FrameSystemDispatchEventInfo;
} & Struct;
readonly isExtrinsicFailed: boolean;
readonly asExtrinsicFailed: {
readonly dispatchError: SpRuntimeDispatchError;
readonly dispatchInfo: FrameSystemDispatchEventInfo;
} & 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 isUpgradeAuthorized: boolean;
readonly asUpgradeAuthorized: {
readonly codeHash: H256;
readonly checkVersion: bool;
} & Struct;
readonly isRejectedInvalidAuthorizedUpgrade: boolean;
readonly asRejectedInvalidAuthorizedUpgrade: {
readonly codeHash: H256;
readonly error: SpRuntimeDispatchError;
} & Struct;
readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked' | 'UpgradeAuthorized' | 'RejectedInvalidAuthorizedUpgrade';
}
/** @name FrameSystemDispatchEventInfo (23) */
interface FrameSystemDispatchEventInfo extends Struct {
readonly weight: SpWeightsWeightV2Weight;
readonly class: FrameSupportDispatchDispatchClass;
readonly paysFee: FrameSupportDispatchPays;
}
/** @name FrameSupportDispatchDispatchClass (24) */
interface FrameSupportDispatchDispatchClass extends Enum {
readonly isNormal: boolean;
readonly isOperational: boolean;
readonly isMandatory: boolean;
readonly type: 'Normal' | 'Operational' | 'Mandatory';
}
/** @name FrameSupportDispatchPays (25) */
interface FrameSupportDispatchPays extends Enum {
readonly isYes: boolean;
readonly isNo: boolean;
readonly type: 'Yes' | 'No';
}
/** @name SpRuntimeDispatchError (26) */
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 isRootNotAllowed: boolean;
readonly isTrie: boolean;
readonly asTrie: SpRuntimeProvingTrieTrieError;
readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable' | 'RootNotAllowed' | 'Trie';
}
/** @name SpRuntimeModuleError (27) */
interface SpRuntimeModuleError extends Struct {
readonly index: u8;
readonly error: U8aFixed;
}
/** @name SpRuntimeTokenError (28) */
interface SpRuntimeTokenError extends Enum {
readonly isFundsUnavailable: boolean;
readonly isOnlyProvider: boolean;
readonly isBelowMinimum: boolean;
readonly isCannotCreate: boolean;
readonly isUnknownAsset: boolean;
readonly isFrozen: boolean;
readonly isUnsupported: boolean;
readonly isCannotCreateHold: boolean;
readonly isNotExpendable: boolean;
readonly isBlocked: boolean;
readonly type: 'FundsUnavailable' | 'OnlyProvider' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported' | 'CannotCreateHold' | 'NotExpendable' | 'Blocked';
}
/** @name SpArithmeticArithmeticError (29) */
interface SpArithmeticArithmeticError extends Enum {
readonly isUnderflow: boolean;
readonly isOverflow: boolean;
readonly isDivisionByZero: boolean;
readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
}
/** @name SpRuntimeTransactionalError (30) */
interface SpRuntimeTransactionalError extends Enum {
readonly isLimitReached: boolean;
readonly isNoLayer: boolean;
readonly type: 'LimitReached' | 'NoLayer';
}
/** @name SpRuntimeProvingTrieTrieError (31) */
interface SpRuntimeProvingTrieTrieError extends Enum {
readonly isInvalidStateRoot: boolean;
readonly isIncompleteDatabase: boolean;
readonly isValueAtIncompleteKey: boolean;
readonly isDecoderError: boolean;
readonly isInvalidHash: boolean;
readonly isDuplicateKey: boolean;
readonly isExtraneousNode: boolean;
readonly isExtraneousValue: boolean;
readonly isExtraneousHashReference: boolean;
readonly isInvalidChildReference: boolean;
readonly isValueMismatch: boolean;
readonly isIncompleteProof: boolean;
readonly isRootMismatch: boolean;
readonly isDecodeError: boolean;
readonly type: 'InvalidStateRoot' | 'IncompleteDatabase' | 'ValueAtIncompleteKey' | 'DecoderError' | 'InvalidHash' | 'DuplicateKey' | 'ExtraneousNode' | 'ExtraneousValue' | 'ExtraneousHashReference' | 'InvalidChildReference' | 'ValueMismatch' | 'IncompleteProof' | 'RootMismatch' | 'DecodeError';
}
/** @name PalletIndicesEvent (32) */
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 isDepositPoked: boolean;
readonly asDepositPoked: {
readonly who: AccountId32;
readonly index: u32;
readonly oldDeposit: u128;
readonly newDeposit: u128;
} & Struct;
readonly type: 'IndexAssigned' | 'IndexFreed' | 'IndexFrozen' | 'DepositPoked';
}
/** @name PalletBalancesEvent (33) */
interface PalletBalancesEvent extends Enum {
readonly isEndowed: boolean;
readonly asEndowed: {
readonly account: AccountId32;
readonly freeBalance: u128;
} & Struct;
readonly isDustLost: boolean;
readonly asDustLost: {
readonly account: AccountId32;
readonly amount: u128;
} & Struct;
readonly isTransfer: boolean;
readonly asTransfer: {
readonly from: AccountId32;
readonly to: AccountId32;
readonly amount: u128;
} & Struct;
readonly isBalanceSet: boolean;
readonly asBalanceSet: {
readonly who: AccountId32;
readonly free: u128;
} & Struct;
readonly isReserved: boolean;
readonly asReserved: {
readonly who: AccountId32;
readonly amount: u128;
} & Struct;
readonly isUnreserved: boolean;
readonly asUnreserved: {
readonly who: AccountId32;
readonly amount: u128;
} & Struct;
readonly isReserveRepatriated: boolean;
readonly asReserveRepatriated: {
readonly from: AccountId32;
readonly to: AccountId32;
readonly amount: u128;
readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;
} & Struct;
readonly isDeposit: boolean;
readonly asDeposit: {
readonly who: AccountId32;
readonly amount: u128;
} & Struct;
readonly isWithdraw: boolean;
readonly asWithdraw: {
readonly who: AccountId32;
readonly amount: u128;
} & Struct;
readonly isSlashed: boolean;
readonly asSlashed: {
readonly who: AccountId32;
readonly amount: u128;
} & Struct;
readonly isMinted: boolean;
readonly asMinted: {
readonly who: AccountId32;
readonly amount: u128;
} & Struct;
readonly isBurned: boolean;
readonly asBurned: {
readonly who: AccountId32;
readonly amount: u128;
} & Struct;
readonly isSuspended: boolean;
readonly asSuspended: {
readonly who: AccountId32;
readonly amount: u128;
} & Struct;
readonly isRestored: boolean;
readonly asRestored: {
readonly who: AccountId32;
readonly amount: u128;
} & Struct;
readonly isUpgraded: boolean;
readonly asUpgraded: {
readonly who: AccountId32;
} & Struct;
readonly isIssued: boolean;
readonly asIssued: {
readonly amount: u128;
} & Struct;
readonly isRescinded: boolean;
readonly asRescinded: {
readonly amount: u128;
} & Struct;
readonly isLocked: boolean;
readonly asLocked: {
readonly who: AccountId32;
readonly amount: u128;
} & Struct;
readonly isUnlocked: boolean;
readonly asUnlocked: {
readonly who: AccountId32;
readonly amount: u128;
} & Struct;
readonly isFrozen: boolean;
readonly asFrozen: {
readonly who: AccountId32;
readonly amount: u128;
} & Struct;
readonly isThawed: boolean;
readonly asThawed: {
readonly who: AccountId32;
readonly amount: u128;
} & Struct;
readonly isTotalIssuanceForced: boolean;
readonly asTotalIssuanceForced: {
readonly old: u128;
readonly new_: u128;
} & Struct;
readonly isTransferMemo: boolean;
readonly asTransferMemo: {
readonly from: AccountId32;
readonly to: AccountId32;
readonly amount: u128;
readonly memo: Option<PolymeshPrimitivesMemo>;
} & Struct;
readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed' | 'Minted' | 'Burned' | 'Suspended' | 'Restored' | 'Upgraded' | 'Issued' | 'Rescinded' | 'Locked' | 'Unlocked' | 'Frozen' | 'Thawed' | 'TotalIssuanceForced' | 'TransferMemo';
}
/** @name FrameSupportTokensMiscBalanceStatus (34) */
interface FrameSupportTokensMiscBalanceStatus extends Enum {
readonly isFree: boolean;
readonly isReserved: boolean;
readonly type: 'Free' | 'Reserved';
}
/** @name PolymeshPrimitivesMemo (36) */
interface PolymeshPrimitivesMemo extends U8aFixed {
}
/** @name PalletTransactionPaymentEvent (37) */
interface PalletTransactionPaymentEvent extends Enum {
readonly isTransactionFeePaid: boolean;
readonly asTransactionFeePaid: {
readonly who: AccountId32;
readonly actualFee: u128;
readonly tip: u128;
} & Struct;
readonly type: 'TransactionFeePaid';
}
/** @name PalletIdentityEvent (38) */
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 PolymeshPrimitivesIdentityId (39) */
interface PolymeshPrimitivesIdentityId extends U8aFixed {
}
/** @name PolymeshPrimitivesSecondaryKey (41) */
interface PolymeshPrimitivesSecondaryKey extends Struct {
readonly key: AccountId32;
readonly permissions: PolymeshPrimitivesSecondaryKeyPermissions;
}
/** @name PolymeshPrimitivesSecondaryKeyPermissions (42) */
interface PolymeshPrimitivesSecondaryKeyPermissions extends Struct {
readonly asset: PolymeshPrimitivesSubsetSubsetRestrictionAssetId;
readonly extrinsic: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions;
readonly portfolio: PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId;
}
/** @name PolymeshPrimitivesSubsetSubsetRestrictionAssetId (43) */
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 (44) */
interface PolymeshPrimitivesAssetAssetId extends U8aFixed {
}
/** @name PolymeshPrimitivesSecondaryKeyExtrinsicPermissions (48) */
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 (52) */
interface PolymeshPrimitivesSecondaryKeyPalletPermissions extends Struct {
readonly extrinsics: PolymeshPrimitivesSubsetSubsetRestrictionExtrinsicName;
}
/** @name PolymeshPrimitivesSubsetSubsetRestrictionExtrinsicName (53) */
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 (59) */
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 (60) */
interface PolymeshPrimitivesIdentityIdPortfolioId extends Struct {
readonly did: PolymeshPrimitivesIdentityId;
readonly kind: PolymeshPrimitivesIdentityIdPortfolioKind;
}
/** @name PolymeshPrimitivesIdentityIdPortfolioKind (61) */
interface PolymeshPrimitivesIdentityIdPortfolioKind extends Enum {
readonly isDefault: boolean;
readonly isUser: boolean;
readonly asUser: u64;
readonly type: 'Default' | 'User';
}
/** @name PolymeshPrimitivesIdentityClaim (66) */
interface PolymeshPrimitivesIdentityClaim extends Struct {
readonly claimIssuer: PolymeshPrimitivesIdentityId;
readonly issuanceDate: u64;
readonly lastUpdateDate: u64;
readonly expiry: Option<u64>;
readonly claim: PolymeshPrimitivesIdentityClaimClaim;
}
/** @name PolymeshPrimitivesIdentityClaimClaim (68) */
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 (69) */
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 (70) */
interface PolymeshPrimitivesCddId extends U8aFixed {
}
/** @name PolymeshPrimitivesJurisdictionCountryCode (71) */
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 (74) */
interface PolymeshPrimitivesTicker extends U8aFixed {
}
/** @name PolymeshPrimitivesAuthorizationAuthorizationData (78) */
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 (79) */
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 (81) */
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 (83) */
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 (86) */
interface PolymeshPrimitivesMaybeBlock extends Enum {
readonly isSome: boolean;
readonly asSome: u32;
readonly isNone: boolean;
readonly type: 'Some' | 'None';
}
/** @name PalletMultisigEvent (92) */
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 PalletValidatorsEvent (94) */
interface PalletValidatorsEvent extends Enum {
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: PalletValidatorsSlashingSwitch;
} & 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: 'Nominated' | 'PermissionedIdentityAdded' | 'PermissionedIdentityRemoved' | 'InvalidatedNominators' | 'SlashingAllowedForChanged' | 'RewardPaymentSchedulingInterrupted' | 'CommissionCapUpdated';
}
/** @name PalletValidatorsSlashingSwitch (95) */
interface PalletValidatorsSlashingSwitch extends Enum {
readonly isValidator: boolean;
readonly isValidatorAndNominator: boolean;
readonly isNone: boolean;
readonly type: 'Validator' | 'ValidatorAndNominator' | 'None';
}
/** @name PalletStakingPalletEvent (97) */
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 stash: AccountId32;
readonly dest: PalletStakingRewardDestination;
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 stash: AccountId32;
readonly amount: u128;
} & Struct;
readonly isUnbonded: boolean;
readonly asUnbonded: {
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;
readonly page: u32;
readonly next: Option<u32>;
} & Struct;
readonly isValidatorPrefsSet: boolean;
readonly asValidatorPrefsSet: {
readonly stash: AccountId32;
readonly prefs: PalletStakingValidatorPrefs;
} & Struct;
readonly isSnapshotVotersSizeExceeded: boolean;
readonly asSnapshotVotersSizeExceeded: {
readonly size_: u32;
} & Stru