packages/definitions/src/interfaces/types-lookup.ts
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@polkadot/types/lookup';
import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U8aFixed, Vec, bool, i64, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H256, MultiAddress, Perbill } 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 FrameSupportWeightsPerDispatchClassU64 (7) */
interface FrameSupportWeightsPerDispatchClassU64 extends Struct {
readonly normal: u64;
readonly operational: u64;
readonly mandatory: u64;
}
/** @name SpRuntimeDigest (11) */
interface SpRuntimeDigest extends Struct {
readonly logs: Vec<SpRuntimeDigestDigestItem>;
}
/** @name SpRuntimeDigestDigestItem (13) */
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 (16) */
interface FrameSystemEventRecord extends Struct {
readonly phase: FrameSystemPhase;
readonly event: Event;
readonly topics: Vec<H256>;
}
/** @name FrameSystemEvent (18) */
interface FrameSystemEvent extends Enum {
readonly isExtrinsicSuccess: boolean;
readonly asExtrinsicSuccess: {
readonly dispatchInfo: FrameSupportWeightsDispatchInfo;
} & Struct;
readonly isExtrinsicFailed: boolean;
readonly asExtrinsicFailed: {
readonly dispatchError: SpRuntimeDispatchError;
readonly dispatchInfo: FrameSupportWeightsDispatchInfo;
} & 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 FrameSupportWeightsDispatchInfo (19) */
interface FrameSupportWeightsDispatchInfo extends Struct {
readonly weight: u64;
readonly class: FrameSupportWeightsDispatchClass;
readonly paysFee: FrameSupportWeightsPays;
}
/** @name FrameSupportWeightsDispatchClass (20) */
interface FrameSupportWeightsDispatchClass extends Enum {
readonly isNormal: boolean;
readonly isOperational: boolean;
readonly isMandatory: boolean;
readonly type: 'Normal' | 'Operational' | 'Mandatory';
}
/** @name FrameSupportWeightsPays (21) */
interface FrameSupportWeightsPays extends Enum {
readonly isYes: boolean;
readonly isNo: boolean;
readonly type: 'Yes' | 'No';
}
/** @name SpRuntimeDispatchError (22) */
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: SpRuntimeArithmeticError;
readonly isTransactional: boolean;
readonly asTransactional: SpRuntimeTransactionalError;
readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';
}
/** @name SpRuntimeModuleError (23) */
interface SpRuntimeModuleError extends Struct {
readonly index: u8;
readonly error: U8aFixed;
}
/** @name SpRuntimeTokenError (24) */
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 SpRuntimeArithmeticError (25) */
interface SpRuntimeArithmeticError extends Enum {
readonly isUnderflow: boolean;
readonly isOverflow: boolean;
readonly isDivisionByZero: boolean;
readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
}
/** @name SpRuntimeTransactionalError (26) */
interface SpRuntimeTransactionalError extends Enum {
readonly isLimitReached: boolean;
readonly isNoLayer: boolean;
readonly type: 'LimitReached' | 'NoLayer';
}
/** @name CumulusPalletParachainSystemEvent (27) */
interface CumulusPalletParachainSystemEvent extends Enum {
readonly isValidationFunctionStored: boolean;
readonly isValidationFunctionApplied: boolean;
readonly asValidationFunctionApplied: {
readonly relayChainBlockNum: u32;
} & Struct;
readonly isValidationFunctionDiscarded: boolean;
readonly isUpgradeAuthorized: boolean;
readonly asUpgradeAuthorized: {
readonly codeHash: H256;
} & Struct;
readonly isDownwardMessagesReceived: boolean;
readonly asDownwardMessagesReceived: {
readonly count: u32;
} & Struct;
readonly isDownwardMessagesProcessed: boolean;
readonly asDownwardMessagesProcessed: {
readonly weightUsed: u64;
readonly dmqHead: H256;
} & Struct;
readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';
}
/** @name PalletBalancesEvent (28) */
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;
readonly reserved: 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 type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';
}
/** @name FrameSupportTokensMiscBalanceStatus (29) */
interface FrameSupportTokensMiscBalanceStatus extends Enum {
readonly isFree: boolean;
readonly isReserved: boolean;
readonly type: 'Free' | 'Reserved';
}
/** @name PalletCollatorSelectionEvent (30) */
interface PalletCollatorSelectionEvent extends Enum {
readonly isNewInvulnerables: boolean;
readonly asNewInvulnerables: {
readonly invulnerables: Vec<AccountId32>;
} & Struct;
readonly isNewDesiredCandidates: boolean;
readonly asNewDesiredCandidates: {
readonly desiredCandidates: u32;
} & Struct;
readonly isNewCandidacyBond: boolean;
readonly asNewCandidacyBond: {
readonly bondAmount: u128;
} & Struct;
readonly isCandidateAdded: boolean;
readonly asCandidateAdded: {
readonly accountId: AccountId32;
readonly deposit: u128;
} & Struct;
readonly isCandidateRemoved: boolean;
readonly asCandidateRemoved: {
readonly accountId: AccountId32;
} & Struct;
readonly type: 'NewInvulnerables' | 'NewDesiredCandidates' | 'NewCandidacyBond' | 'CandidateAdded' | 'CandidateRemoved';
}
/** @name PalletSessionEvent (32) */
interface PalletSessionEvent extends Enum {
readonly isNewSession: boolean;
readonly asNewSession: {
readonly sessionIndex: u32;
} & Struct;
readonly type: 'NewSession';
}
/** @name PalletVestingEvent (33) */
interface PalletVestingEvent extends Enum {
readonly isVestingUpdated: boolean;
readonly asVestingUpdated: {
readonly account: AccountId32;
readonly unvested: u128;
} & Struct;
readonly isVestingCompleted: boolean;
readonly asVestingCompleted: {
readonly account: AccountId32;
} & Struct;
readonly type: 'VestingUpdated' | 'VestingCompleted';
}
/** @name PalletProxyEvent (34) */
interface PalletProxyEvent extends Enum {
readonly isProxyExecuted: boolean;
readonly asProxyExecuted: {
readonly result: Result<Null, SpRuntimeDispatchError>;
} & Struct;
readonly isAnonymousCreated: boolean;
readonly asAnonymousCreated: {
readonly anonymous: AccountId32;
readonly who: AccountId32;
readonly proxyType: SubsocialParachainRuntimeProxyType;
readonly disambiguationIndex: u16;
} & Struct;
readonly isAnnounced: boolean;
readonly asAnnounced: {
readonly real: AccountId32;
readonly proxy: AccountId32;
readonly callHash: H256;
} & Struct;
readonly isProxyAdded: boolean;
readonly asProxyAdded: {
readonly delegator: AccountId32;
readonly delegatee: AccountId32;
readonly proxyType: SubsocialParachainRuntimeProxyType;
readonly delay: u32;
} & Struct;
readonly isProxyRemoved: boolean;
readonly asProxyRemoved: {
readonly delegator: AccountId32;
readonly delegatee: AccountId32;
readonly proxyType: SubsocialParachainRuntimeProxyType;
readonly delay: u32;
} & Struct;
readonly type: 'ProxyExecuted' | 'AnonymousCreated' | 'Announced' | 'ProxyAdded' | 'ProxyRemoved';
}
/** @name SubsocialParachainRuntimeProxyType (37) */
interface SubsocialParachainRuntimeProxyType extends Enum {
readonly isAny: boolean;
readonly isDomainRegistrar: boolean;
readonly type: 'Any' | 'DomainRegistrar';
}
/** @name PalletUtilityEvent (39) */
interface PalletUtilityEvent extends Enum {
readonly isBatchInterrupted: boolean;
readonly asBatchInterrupted: {
readonly index: u32;
readonly error: SpRuntimeDispatchError;
} & Struct;
readonly isBatchCompleted: boolean;
readonly isBatchCompletedWithErrors: boolean;
readonly isItemCompleted: boolean;
readonly isItemFailed: boolean;
readonly asItemFailed: {
readonly error: SpRuntimeDispatchError;
} & Struct;
readonly isDispatchedAs: boolean;
readonly asDispatchedAs: {
readonly result: Result<Null, SpRuntimeDispatchError>;
} & Struct;
readonly type: 'BatchInterrupted' | 'BatchCompleted' | 'BatchCompletedWithErrors' | 'ItemCompleted' | 'ItemFailed' | 'DispatchedAs';
}
/** @name CumulusPalletXcmpQueueEvent (40) */
interface CumulusPalletXcmpQueueEvent extends Enum {
readonly isSuccess: boolean;
readonly asSuccess: Option<H256>;
readonly isFail: boolean;
readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;
readonly isBadVersion: boolean;
readonly asBadVersion: Option<H256>;
readonly isBadFormat: boolean;
readonly asBadFormat: Option<H256>;
readonly isUpwardMessageSent: boolean;
readonly asUpwardMessageSent: Option<H256>;
readonly isXcmpMessageSent: boolean;
readonly asXcmpMessageSent: Option<H256>;
readonly isOverweightEnqueued: boolean;
readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;
readonly isOverweightServiced: boolean;
readonly asOverweightServiced: ITuple<[u64, u64]>;
readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
}
/** @name XcmV2TraitsError (42) */
interface XcmV2TraitsError extends Enum {
readonly isOverflow: boolean;
readonly isUnimplemented: boolean;
readonly isUntrustedReserveLocation: boolean;
readonly isUntrustedTeleportLocation: boolean;
readonly isMultiLocationFull: boolean;
readonly isMultiLocationNotInvertible: boolean;
readonly isBadOrigin: boolean;
readonly isInvalidLocation: boolean;
readonly isAssetNotFound: boolean;
readonly isFailedToTransactAsset: boolean;
readonly isNotWithdrawable: boolean;
readonly isLocationCannotHold: boolean;
readonly isExceedsMaxMessageSize: boolean;
readonly isDestinationUnsupported: boolean;
readonly isTransport: boolean;
readonly isUnroutable: boolean;
readonly isUnknownClaim: boolean;
readonly isFailedToDecode: boolean;
readonly isMaxWeightInvalid: boolean;
readonly isNotHoldingFees: boolean;
readonly isTooExpensive: boolean;
readonly isTrap: boolean;
readonly asTrap: u64;
readonly isUnhandledXcmVersion: boolean;
readonly isWeightLimitReached: boolean;
readonly asWeightLimitReached: u64;
readonly isBarrier: boolean;
readonly isWeightNotComputable: boolean;
readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';
}
/** @name PalletXcmEvent (44) */
interface PalletXcmEvent extends Enum {
readonly isAttempted: boolean;
readonly asAttempted: XcmV2TraitsOutcome;
readonly isSent: boolean;
readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;
readonly isUnexpectedResponse: boolean;
readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;
readonly isResponseReady: boolean;
readonly asResponseReady: ITuple<[u64, XcmV2Response]>;
readonly isNotified: boolean;
readonly asNotified: ITuple<[u64, u8, u8]>;
readonly isNotifyOverweight: boolean;
readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;
readonly isNotifyDispatchError: boolean;
readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;
readonly isNotifyDecodeFailed: boolean;
readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;
readonly isInvalidResponder: boolean;
readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;
readonly isInvalidResponderVersion: boolean;
readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;
readonly isResponseTaken: boolean;
readonly asResponseTaken: u64;
readonly isAssetsTrapped: boolean;
readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
readonly isVersionChangeNotified: boolean;
readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;
readonly isSupportedVersionChanged: boolean;
readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;
readonly isNotifyTargetSendFail: boolean;
readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;
readonly isNotifyTargetMigrationFail: boolean;
readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;
readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
}
/** @name XcmV2TraitsOutcome (45) */
interface XcmV2TraitsOutcome extends Enum {
readonly isComplete: boolean;
readonly asComplete: u64;
readonly isIncomplete: boolean;
readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;
readonly isError: boolean;
readonly asError: XcmV2TraitsError;
readonly type: 'Complete' | 'Incomplete' | 'Error';
}
/** @name XcmV1MultiLocation (46) */
interface XcmV1MultiLocation extends Struct {
readonly parents: u8;
readonly interior: XcmV1MultilocationJunctions;
}
/** @name XcmV1MultilocationJunctions (47) */
interface XcmV1MultilocationJunctions extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
readonly asX1: XcmV1Junction;
readonly isX2: boolean;
readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;
readonly isX3: boolean;
readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
readonly isX4: boolean;
readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
readonly isX5: boolean;
readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
readonly isX6: boolean;
readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
readonly isX7: boolean;
readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
readonly isX8: boolean;
readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
/** @name XcmV1Junction (48) */
interface XcmV1Junction extends Enum {
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
readonly isAccountId32: boolean;
readonly asAccountId32: {
readonly network: XcmV0JunctionNetworkId;
readonly id: U8aFixed;
} & Struct;
readonly isAccountIndex64: boolean;
readonly asAccountIndex64: {
readonly network: XcmV0JunctionNetworkId;
readonly index: Compact<u64>;
} & Struct;
readonly isAccountKey20: boolean;
readonly asAccountKey20: {
readonly network: XcmV0JunctionNetworkId;
readonly key: U8aFixed;
} & Struct;
readonly isPalletInstance: boolean;
readonly asPalletInstance: u8;
readonly isGeneralIndex: boolean;
readonly asGeneralIndex: Compact<u128>;
readonly isGeneralKey: boolean;
readonly asGeneralKey: Bytes;
readonly isOnlyChild: boolean;
readonly isPlurality: boolean;
readonly asPlurality: {
readonly id: XcmV0JunctionBodyId;
readonly part: XcmV0JunctionBodyPart;
} & Struct;
readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
/** @name XcmV0JunctionNetworkId (50) */
interface XcmV0JunctionNetworkId extends Enum {
readonly isAny: boolean;
readonly isNamed: boolean;
readonly asNamed: Bytes;
readonly isPolkadot: boolean;
readonly isKusama: boolean;
readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
}
/** @name XcmV0JunctionBodyId (54) */
interface XcmV0JunctionBodyId extends Enum {
readonly isUnit: boolean;
readonly isNamed: boolean;
readonly asNamed: Bytes;
readonly isIndex: boolean;
readonly asIndex: Compact<u32>;
readonly isExecutive: boolean;
readonly isTechnical: boolean;
readonly isLegislative: boolean;
readonly isJudicial: boolean;
readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';
}
/** @name XcmV0JunctionBodyPart (55) */
interface XcmV0JunctionBodyPart extends Enum {
readonly isVoice: boolean;
readonly isMembers: boolean;
readonly asMembers: {
readonly count: Compact<u32>;
} & Struct;
readonly isFraction: boolean;
readonly asFraction: {
readonly nom: Compact<u32>;
readonly denom: Compact<u32>;
} & Struct;
readonly isAtLeastProportion: boolean;
readonly asAtLeastProportion: {
readonly nom: Compact<u32>;
readonly denom: Compact<u32>;
} & Struct;
readonly isMoreThanProportion: boolean;
readonly asMoreThanProportion: {
readonly nom: Compact<u32>;
readonly denom: Compact<u32>;
} & Struct;
readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
}
/** @name XcmV2Xcm (56) */
interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
/** @name XcmV2Instruction (58) */
interface XcmV2Instruction extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
readonly isReserveAssetDeposited: boolean;
readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;
readonly isReceiveTeleportedAsset: boolean;
readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;
readonly isQueryResponse: boolean;
readonly asQueryResponse: {
readonly queryId: Compact<u64>;
readonly response: XcmV2Response;
readonly maxWeight: Compact<u64>;
} & Struct;
readonly isTransferAsset: boolean;
readonly asTransferAsset: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly beneficiary: XcmV1MultiLocation;
} & Struct;
readonly isTransferReserveAsset: boolean;
readonly asTransferReserveAsset: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly dest: XcmV1MultiLocation;
readonly xcm: XcmV2Xcm;
} & Struct;
readonly isTransact: boolean;
readonly asTransact: {
readonly originType: XcmV0OriginKind;
readonly requireWeightAtMost: Compact<u64>;
readonly call: XcmDoubleEncoded;
} & Struct;
readonly isHrmpNewChannelOpenRequest: boolean;
readonly asHrmpNewChannelOpenRequest: {
readonly sender: Compact<u32>;
readonly maxMessageSize: Compact<u32>;
readonly maxCapacity: Compact<u32>;
} & Struct;
readonly isHrmpChannelAccepted: boolean;
readonly asHrmpChannelAccepted: {
readonly recipient: Compact<u32>;
} & Struct;
readonly isHrmpChannelClosing: boolean;
readonly asHrmpChannelClosing: {
readonly initiator: Compact<u32>;
readonly sender: Compact<u32>;
readonly recipient: Compact<u32>;
} & Struct;
readonly isClearOrigin: boolean;
readonly isDescendOrigin: boolean;
readonly asDescendOrigin: XcmV1MultilocationJunctions;
readonly isReportError: boolean;
readonly asReportError: {
readonly queryId: Compact<u64>;
readonly dest: XcmV1MultiLocation;
readonly maxResponseWeight: Compact<u64>;
} & Struct;
readonly isDepositAsset: boolean;
readonly asDepositAsset: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly maxAssets: Compact<u32>;
readonly beneficiary: XcmV1MultiLocation;
} & Struct;
readonly isDepositReserveAsset: boolean;
readonly asDepositReserveAsset: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly maxAssets: Compact<u32>;
readonly dest: XcmV1MultiLocation;
readonly xcm: XcmV2Xcm;
} & Struct;
readonly isExchangeAsset: boolean;
readonly asExchangeAsset: {
readonly give: XcmV1MultiassetMultiAssetFilter;
readonly receive: XcmV1MultiassetMultiAssets;
} & Struct;
readonly isInitiateReserveWithdraw: boolean;
readonly asInitiateReserveWithdraw: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly reserve: XcmV1MultiLocation;
readonly xcm: XcmV2Xcm;
} & Struct;
readonly isInitiateTeleport: boolean;
readonly asInitiateTeleport: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly dest: XcmV1MultiLocation;
readonly xcm: XcmV2Xcm;
} & Struct;
readonly isQueryHolding: boolean;
readonly asQueryHolding: {
readonly queryId: Compact<u64>;
readonly dest: XcmV1MultiLocation;
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly maxResponseWeight: Compact<u64>;
} & Struct;
readonly isBuyExecution: boolean;
readonly asBuyExecution: {
readonly fees: XcmV1MultiAsset;
readonly weightLimit: XcmV2WeightLimit;
} & Struct;
readonly isRefundSurplus: boolean;
readonly isSetErrorHandler: boolean;
readonly asSetErrorHandler: XcmV2Xcm;
readonly isSetAppendix: boolean;
readonly asSetAppendix: XcmV2Xcm;
readonly isClearError: boolean;
readonly isClaimAsset: boolean;
readonly asClaimAsset: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly ticket: XcmV1MultiLocation;
} & Struct;
readonly isTrap: boolean;
readonly asTrap: Compact<u64>;
readonly isSubscribeVersion: boolean;
readonly asSubscribeVersion: {
readonly queryId: Compact<u64>;
readonly maxResponseWeight: Compact<u64>;
} & Struct;
readonly isUnsubscribeVersion: boolean;
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
/** @name XcmV1MultiassetMultiAssets (59) */
interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
/** @name XcmV1MultiAsset (61) */
interface XcmV1MultiAsset extends Struct {
readonly id: XcmV1MultiassetAssetId;
readonly fun: XcmV1MultiassetFungibility;
}
/** @name XcmV1MultiassetAssetId (62) */
interface XcmV1MultiassetAssetId extends Enum {
readonly isConcrete: boolean;
readonly asConcrete: XcmV1MultiLocation;
readonly isAbstract: boolean;
readonly asAbstract: Bytes;
readonly type: 'Concrete' | 'Abstract';
}
/** @name XcmV1MultiassetFungibility (63) */
interface XcmV1MultiassetFungibility extends Enum {
readonly isFungible: boolean;
readonly asFungible: Compact<u128>;
readonly isNonFungible: boolean;
readonly asNonFungible: XcmV1MultiassetAssetInstance;
readonly type: 'Fungible' | 'NonFungible';
}
/** @name XcmV1MultiassetAssetInstance (64) */
interface XcmV1MultiassetAssetInstance extends Enum {
readonly isUndefined: boolean;
readonly isIndex: boolean;
readonly asIndex: Compact<u128>;
readonly isArray4: boolean;
readonly asArray4: U8aFixed;
readonly isArray8: boolean;
readonly asArray8: U8aFixed;
readonly isArray16: boolean;
readonly asArray16: U8aFixed;
readonly isArray32: boolean;
readonly asArray32: U8aFixed;
readonly isBlob: boolean;
readonly asBlob: Bytes;
readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
}
/** @name XcmV2Response (67) */
interface XcmV2Response extends Enum {
readonly isNull: boolean;
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
readonly isExecutionResult: boolean;
readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;
readonly isVersion: boolean;
readonly asVersion: u32;
readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';
}
/** @name XcmV0OriginKind (70) */
interface XcmV0OriginKind extends Enum {
readonly isNative: boolean;
readonly isSovereignAccount: boolean;
readonly isSuperuser: boolean;
readonly isXcm: boolean;
readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
}
/** @name XcmDoubleEncoded (71) */
interface XcmDoubleEncoded extends Struct {
readonly encoded: Bytes;
}
/** @name XcmV1MultiassetMultiAssetFilter (72) */
interface XcmV1MultiassetMultiAssetFilter extends Enum {
readonly isDefinite: boolean;
readonly asDefinite: XcmV1MultiassetMultiAssets;
readonly isWild: boolean;
readonly asWild: XcmV1MultiassetWildMultiAsset;
readonly type: 'Definite' | 'Wild';
}
/** @name XcmV1MultiassetWildMultiAsset (73) */
interface XcmV1MultiassetWildMultiAsset extends Enum {
readonly isAll: boolean;
readonly isAllOf: boolean;
readonly asAllOf: {
readonly id: XcmV1MultiassetAssetId;
readonly fun: XcmV1MultiassetWildFungibility;
} & Struct;
readonly type: 'All' | 'AllOf';
}
/** @name XcmV1MultiassetWildFungibility (74) */
interface XcmV1MultiassetWildFungibility extends Enum {
readonly isFungible: boolean;
readonly isNonFungible: boolean;
readonly type: 'Fungible' | 'NonFungible';
}
/** @name XcmV2WeightLimit (75) */
interface XcmV2WeightLimit extends Enum {
readonly isUnlimited: boolean;
readonly isLimited: boolean;
readonly asLimited: Compact<u64>;
readonly type: 'Unlimited' | 'Limited';
}
/** @name XcmVersionedMultiAssets (77) */
interface XcmVersionedMultiAssets extends Enum {
readonly isV0: boolean;
readonly asV0: Vec<XcmV0MultiAsset>;
readonly isV1: boolean;
readonly asV1: XcmV1MultiassetMultiAssets;
readonly type: 'V0' | 'V1';
}
/** @name XcmV0MultiAsset (79) */
interface XcmV0MultiAsset extends Enum {
readonly isNone: boolean;
readonly isAll: boolean;
readonly isAllFungible: boolean;
readonly isAllNonFungible: boolean;
readonly isAllAbstractFungible: boolean;
readonly asAllAbstractFungible: {
readonly id: Bytes;
} & Struct;
readonly isAllAbstractNonFungible: boolean;
readonly asAllAbstractNonFungible: {
readonly class: Bytes;
} & Struct;
readonly isAllConcreteFungible: boolean;
readonly asAllConcreteFungible: {
readonly id: XcmV0MultiLocation;
} & Struct;
readonly isAllConcreteNonFungible: boolean;
readonly asAllConcreteNonFungible: {
readonly class: XcmV0MultiLocation;
} & Struct;
readonly isAbstractFungible: boolean;
readonly asAbstractFungible: {
readonly id: Bytes;
readonly amount: Compact<u128>;
} & Struct;
readonly isAbstractNonFungible: boolean;
readonly asAbstractNonFungible: {
readonly class: Bytes;
readonly instance: XcmV1MultiassetAssetInstance;
} & Struct;
readonly isConcreteFungible: boolean;
readonly asConcreteFungible: {
readonly id: XcmV0MultiLocation;
readonly amount: Compact<u128>;
} & Struct;
readonly isConcreteNonFungible: boolean;
readonly asConcreteNonFungible: {
readonly class: XcmV0MultiLocation;
readonly instance: XcmV1MultiassetAssetInstance;
} & Struct;
readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';
}
/** @name XcmV0MultiLocation (80) */
interface XcmV0MultiLocation extends Enum {
readonly isNull: boolean;
readonly isX1: boolean;
readonly asX1: XcmV0Junction;
readonly isX2: boolean;
readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;
readonly isX3: boolean;
readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly isX4: boolean;
readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly isX5: boolean;
readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly isX6: boolean;
readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly isX7: boolean;
readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly isX8: boolean;
readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
/** @name XcmV0Junction (81) */
interface XcmV0Junction extends Enum {
readonly isParent: boolean;
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
readonly isAccountId32: boolean;
readonly asAccountId32: {
readonly network: XcmV0JunctionNetworkId;
readonly id: U8aFixed;
} & Struct;
readonly isAccountIndex64: boolean;
readonly asAccountIndex64: {
readonly network: XcmV0JunctionNetworkId;
readonly index: Compact<u64>;
} & Struct;
readonly isAccountKey20: boolean;
readonly asAccountKey20: {
readonly network: XcmV0JunctionNetworkId;
readonly key: U8aFixed;
} & Struct;
readonly isPalletInstance: boolean;
readonly asPalletInstance: u8;
readonly isGeneralIndex: boolean;
readonly asGeneralIndex: Compact<u128>;
readonly isGeneralKey: boolean;
readonly asGeneralKey: Bytes;
readonly isOnlyChild: boolean;
readonly isPlurality: boolean;
readonly asPlurality: {
readonly id: XcmV0JunctionBodyId;
readonly part: XcmV0JunctionBodyPart;
} & Struct;
readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
/** @name XcmVersionedMultiLocation (82) */
interface XcmVersionedMultiLocation extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiLocation;
readonly isV1: boolean;
readonly asV1: XcmV1MultiLocation;
readonly type: 'V0' | 'V1';
}
/** @name CumulusPalletXcmEvent (83) */
interface CumulusPalletXcmEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
readonly isUnsupportedVersion: boolean;
readonly asUnsupportedVersion: U8aFixed;
readonly isExecutedDownward: boolean;
readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
}
/** @name CumulusPalletDmpQueueEvent (84) */
interface CumulusPalletDmpQueueEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: {
readonly messageId: U8aFixed;
} & Struct;
readonly isUnsupportedVersion: boolean;
readonly asUnsupportedVersion: {
readonly messageId: U8aFixed;
} & Struct;
readonly isExecutedDownward: boolean;
readonly asExecutedDownward: {
readonly messageId: U8aFixed;
readonly outcome: XcmV2TraitsOutcome;
} & Struct;
readonly isWeightExhausted: boolean;
readonly asWeightExhausted: {
readonly messageId: U8aFixed;
readonly remainingWeight: u64;
readonly requiredWeight: u64;
} & Struct;
readonly isOverweightEnqueued: boolean;
readonly asOverweightEnqueued: {
readonly messageId: U8aFixed;
readonly overweightIndex: u64;
readonly requiredWeight: u64;
} & Struct;
readonly isOverweightServiced: boolean;
readonly asOverweightServiced: {
readonly overweightIndex: u64;
readonly weightUsed: u64;
} & Struct;
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
}
/** @name PalletDomainsEvent (85) */
interface PalletDomainsEvent extends Enum {
readonly isDomainRegistered: boolean;
readonly asDomainRegistered: {
readonly who: AccountId32;
readonly domain: Bytes;
} & Struct;
readonly isDomainMetaUpdated: boolean;
readonly asDomainMetaUpdated: {
readonly who: AccountId32;
readonly domain: Bytes;
} & Struct;
readonly isNewWordsReserved: boolean;
readonly asNewWordsReserved: {
readonly count: u32;
} & Struct;
readonly isNewTldsSupported: boolean;
readonly asNewTldsSupported: {
readonly count: u32;
} & Struct;
readonly type: 'DomainRegistered' | 'DomainMetaUpdated' | 'NewWordsReserved' | 'NewTldsSupported';
}
/** @name PalletEnergyEvent (87) */
interface PalletEnergyEvent extends Enum {
readonly isEnergyGenerated: boolean;
readonly asEnergyGenerated: {
readonly generator: AccountId32;
readonly receiver: AccountId32;
readonly balanceBurned: u128;
} & Struct;
readonly isValueCoefficientUpdated: boolean;
readonly asValueCoefficientUpdated: {
readonly newCoefficient: i64;
} & Struct;
readonly isDustLost: boolean;
readonly asDustLost: {
readonly account: AccountId32;
readonly amount: u128;
} & Struct;
readonly type: 'EnergyGenerated' | 'ValueCoefficientUpdated' | 'DustLost';
}
/** @name PalletRolesEvent (90) */
interface PalletRolesEvent extends Enum {
readonly isRoleCreated: boolean;
readonly asRoleCreated: {
readonly account: AccountId32;
readonly spaceId: u64;
readonly roleId: u64;
} & Struct;
readonly isRoleUpdated: boolean;
readonly asRoleUpdated: {
readonly account: AccountId32;
readonly roleId: u64;
} & Struct;
readonly isRoleDeleted: boolean;
readonly asRoleDeleted: {
readonly account: AccountId32;
readonly roleId: u64;
} & Struct;
readonly isRoleGranted: boolean;
readonly asRoleGranted: {
readonly account: AccountId32;
readonly roleId: u64;
readonly users: Vec<SubsocialSupportUser>;
} & Struct;
readonly isRoleRevoked: boolean;
readonly asRoleRevoked: {
readonly account: AccountId32;
readonly roleId: u64;
readonly users: Vec<SubsocialSupportUser>;
} & Struct;
readonly type: 'RoleCreated' | 'RoleUpdated' | 'RoleDeleted' | 'RoleGranted' | 'RoleRevoked';
}
/** @name SubsocialSupportUser (92) */
interface SubsocialSupportUser extends Enum {
readonly isAccount: boolean;
readonly asAccount: AccountId32;
readonly isSpace: boolean;
readonly asSpace: u64;
readonly type: 'Account' | 'Space';
}
/** @name PalletAccountFollowsEvent (93) */
interface PalletAccountFollowsEvent extends Enum {
readonly isAccountFollowed: boolean;
readonly asAccountFollowed: {
readonly follower: AccountId32;
readonly account: AccountId32;
} & Struct;
readonly isAccountUnfollowed: boolean;
readonly asAccountUnfollowed: {
readonly follower: AccountId32;
readonly account: AccountId32;
} & Struct;
readonly type: 'AccountFollowed' | 'AccountUnfollowed';
}
/** @name PalletProfilesEvent (94) */
interface PalletProfilesEvent extends Enum {
readonly isProfileUpdated: boolean;
readonly asProfileUpdated: {
readonly account: AccountId32;
readonly spaceId: Option<u64>;
} & Struct;
readonly type: 'ProfileUpdated';
}
/** @name PalletSpaceFollowsEvent (96) */
interface PalletSpaceFollowsEvent extends Enum {
readonly isSpaceFollowed: boolean;
readonly asSpaceFollowed: {
readonly follower: AccountId32;
readonly spaceId: u64;
} & Struct;
readonly isSpaceUnfollowed: boolean;
readonly asSpaceUnfollowed: {
readonly follower: AccountId32;
readonly spaceId: u64;
} & Struct;
readonly type: 'SpaceFollowed' | 'SpaceUnfollowed';
}
/** @name PalletSpaceOwnershipEvent (97) */
interface PalletSpaceOwnershipEvent extends Enum {
readonly isSpaceOwnershipTransferCreated: boolean;
readonly asSpaceOwnershipTransferCreated: {
readonly currentOwner: AccountId32;
readonly spaceId: u64;
readonly newOwner: AccountId32;
} & Struct;
readonly isSpaceOwnershipTransferAccepted: boolean;
readonly asSpaceOwnershipTransferAccepted: {
readonly account: AccountId32;
readonly spaceId: u64;
} & Struct;
readonly isSpaceOwnershipTransferRejected: boolean;
readonly asSpaceOwnershipTransferRejected: {
readonly account: AccountId32;
readonly spaceId: u64;
} & Struct;
readonly type: 'SpaceOwnershipTransferCreated' | 'SpaceOwnershipTransferAccepted' | 'SpaceOwnershipTransferRejected';
}
/** @name PalletSpacesEvent (98) */
interface PalletSpacesEvent extends Enum {
readonly isSpaceCreated: boolean;
readonly asSpaceCreated: {
readonly account: AccountId32;
readonly spaceId: u64;
} & Struct;
readonly isSpaceUpdated: boolean;
readonly asSpaceUpdated: {
readonly account: AccountId32;
readonly spaceId: u64;
} & Struct;
readonly type: 'SpaceCreated' | 'SpaceUpdated';
}
/** @name PalletPostsEvent (99) */
interface PalletPostsEvent extends Enum {
readonly isPostCreated: boolean;
readonly asPostCreated: {
readonly account: AccountId32;
readonly postId: u64;
} & Struct;
readonly isPostUpdated: boolean;
readonly asPostUpdated: {
readonly account: AccountId32;
readonly postId: u64;
} & Struct;
readonly isPostMoved: boolean;
readonly asPostMoved: {
readonly account: AccountId32;
readonly postId: u64;
readonly fromSpace: Option<u64>;
readonly toSpace: Option<u64>;
} & Struct;
readonly type: 'PostCreated' | 'PostUpdated' | 'PostMoved';
}
/** @name PalletReactionsEvent (100) */
interface PalletReactionsEvent extends Enum {
readonly isPostReactionCreated: boolean;
readonly asPostReactionCreated: {
readonly account: AccountId32;
readonly postId: u64;
readonly reactionId: u64;
readonly reactionKind: PalletReactionsReactionKind;
} & Struct;
readonly isPostReactionUpdated: boolean;
readonly asPostReactionUpdated: {
readonly account: AccountId32;
readonly postId: u64;
readonly reactionId: u64;
readonly reactionKind: PalletReactionsReactionKind;
} & Struct;
readonly isPostReactionDeleted: boolean;
readonly asPostReactionDeleted: {
readonly account: AccountId32;
readonly postId: u64;
readonly reactionId: u64;
readonly reactionKind: PalletReactionsReactionKind;
} & Struct;
readonly type: 'PostReactionCreated' | 'PostReactionUpdated' | 'PostReactionDeleted';
}
/** @name PalletReactionsReactionKind (101) */
interface PalletReactionsReactionKind extends Enum {
readonly isUpvote: boolean;
readonly isDownvote: boolean;
readonly type: 'Upvote' | 'Downvote';
}
/** @name PalletSudoEvent (102) */
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 FrameSystemPhase (104) */
interface FrameSystemPhase extends Enum {
readonly isApplyExtrinsic: boolean;
readonly asApplyExtrinsic: u32;
readonly isFinalization: boolean;
readonly isInitialization: boolean;
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
}
/** @name FrameSystemLastRuntimeUpgradeInfo (108) */
interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
readonly specVersion: Compact<u32>;
readonly specName: Text;
}
/** @name FrameSystemCall (111) */
interface FrameSystemCall extends Enum {
readonly isFillBlock: boolean;
readonly asFillBlock: {
readonly ratio: Perbill;
} & Struct;
readonly isRemark: boolean;
readonly asRemark: {
readonly remark: Bytes;
} & Struct;
readonly isSetHeapPages: boolean;
readonly asSetHeapPages: {
readonly pages: u64;
} & Struct;
readonly isSetCode: boolean;
readonly asSetCode: {
readonly code: Bytes;
} & Struct;
readonly isSetCodeWithoutChecks: boolean;
readonly asSetCodeWithoutChecks: {
readonly code: Bytes;
} & Struct;
readonly isSetStorage: boolean;
readonly asSetStorage: {
readonly items: Vec<ITuple<[Bytes, Bytes]>>;
} & Struct;
readonly isKillStorage: boolean;
readonly asKillStorage: {
readonly keys_: Vec<Bytes>;
} & Struct;
readonly isKillPrefix: boolean;
readonly asKillPrefix: {
readonly prefix: Bytes;
readonly subkeys: u32;
} & Struct;
readonly isRemarkWithEvent: boolean;
readonly asRemarkWithEvent: {
readonly remark: Bytes;
} & Struct;
readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
}
/** @name FrameSystemLimitsBlockWeights (116) */
interface FrameSystemLimitsBlockWeights extends Struct {
readonly baseBlock: u64;
readonly maxBlock: u64;
readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
}
/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (117) */
interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
readonly normal: FrameSystemLimitsWeightsPerClass;
readonly operational: FrameSystemLimitsWeightsPerClass;
readonly mandatory: FrameSystemLimitsWeightsPerClass;
}
/** @name FrameSystemLimitsWeightsPerClass (118) */
interface FrameSystemLimitsWeightsPerClass extends Struct {
readonly baseExtrinsic: u64;
readonly maxExtrinsic: Option<u64>;
readonly maxTotal: Option<u64>;
readonly reserved: Option<u64>;
}
/** @name FrameSystemLimitsBlockLength (119) */
interface FrameSystemLimitsBlockLength extends Struct {
readonly max: FrameSupportWeightsPerDispatchClassU32;
}
/** @name FrameSupportWeightsPerDispatchClassU32 (120) */
interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
readonly normal: u32;
readonly operational: u32;
readonly mandatory: u32;
}
/** @name FrameSupportWeightsRuntimeDbWeight (121) */
interface FrameSupportWeightsRuntimeDbWeight extends Struct {
readonly read: u64;
readonly write: u64;
}
/** @name SpVersionRuntimeVersion (122) */
interface SpVersionRuntimeVersion extends Struct {
readonly specName: Text;
readonly implName: Text;
readonly authoringVersion: u32;
readonly specVersion: u32;
readonly implVersion: u32;
readonly apis: Vec<ITuple<[U8aFixed, u32]>>;
readonly transactionVersion: u32;
readonly stateVersion: u8;
}
/** @name FrameSystemError (126) */
interface FrameSystemError extends Enum {
readonly isInvalidSpecName: boolean;
readonly isSpecVersionNeedsToIncrease: boolean;
readonly isFailedToExtractRuntimeVersion: boolean;
readonly isNonDefaultComposite: boolean;
readonly isNonZeroRefCount: boolean;
readonly isCallFiltered: boolean;
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
}
/** @name PolkadotPrimitivesV2PersistedValidationData (127) */
interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
readonly parentHead: Bytes;
readonly relayParentNumber: u32;
readonly relayParentStorageRoot: H256;
readonly maxPovSize: u32;
}
/** @name PolkadotPrimitivesV2UpgradeRestriction (130) */
interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
readonly isPresent: boolean;
readonly type: 'Present';
}
/** @name SpTrieStorageProof (131) */
interface SpTrieStorageProof extends Struct {
readonly trieNodes: BTreeSet<Bytes>;
}
/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (133) */
interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
readonly dmqMqcHead: H256;
readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
}
/** @name PolkadotPrimitivesV2AbridgedHrmpChannel (136) */
interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
readonly maxMessageSize: u32;
readonly msgCount: u32;
readonly totalSize: u32;
readonly mqcHead: Option<H256>;
}
/** @name PolkadotPrimitivesV2AbridgedHostConfiguration (137) */
interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
readonly maxUpwardQueueCount: u32;
readonly maxUpwardQueueSize: u32;
readonly maxUpwardMessageSize: u32;
readonly maxUpwardMessageNumPerCandidate: u32;
readonly hrmpMaxMessageNumPerCandidate: u32;
readonly validationUpgradeCooldown: u32;
readonly validationUpgradeDelay: u32;
}
/** @name PolkadotCorePrimitivesOutboundHrmpMessage (143) */
interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
readonly recipient: u32;
readonly data: Bytes;
}
/** @name CumulusPalletParachainSystemCall (144) */
interface CumulusPalletParachainSystemCall extends Enum {
readonly isSetValidationData: boolean;
readonly asSetValidationData: {
readonly data: CumulusPrimitivesParachainInherentParachainInherentData;
} & Struct;
readonly isSudoSendUpwardMessage: boolean;
readonly asSudoSendUpwardMessage: {
readonly message: Bytes;
} & Struct;
readonly isAuthorizeUpgrade: boolean;
readonly asAuthorizeUpgrade: {
readonly codeHash: H256;
} & Struct;
readonly isEnactAuthorizedUpgrade: boolean;
readonly asEnactAuthorizedUpgrade: {
readonly code: Bytes;
} & Struct;
readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';
}
/** @name CumulusPrimitivesParachainInherentParachainInherentData (145) */
interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
readonly validationData: PolkadotPrimitivesV2PersistedValidationData;
readonly relayChainState: SpTrieStorageProof;
readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;
readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
}
/** @name PolkadotCorePrimitivesInboundDownwardMessage (147) */
interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32;
readonly msg: Bytes;
}
/** @name PolkadotCorePrimitivesInboundHrmpMessage (150) */
interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
readonly sentAt: u32;
readonly data: Bytes;
}
/** @name CumulusPalletParachainSystemError (153) */
interface CumulusPalletParachainSystemError extends Enum {
readonly isOverlappingUpgrades: boolean;
readonly isProhibitedByPolkadot: boolean;
readonly isTooBig: boolean;
readonly isValidationDataNotAvailable: boolean;
readonly isHostConfigurationNotAvailable: boolean;
readonly isNotScheduled: boolean;
readonly isNothingAuthorized: boolean;
readonly isUnauthorized: boolean;
readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
}
/** @name PalletTimestampCall (155) */
interface PalletTimestampCall extends Enum {
readonly isSet: boolean;
readonly asSet: {
readonly now: Compact<u64>;
} & Struct;
readonly type: 'Set';
}
/** @name PalletBalancesBalanceLock (157) */
interface PalletBalancesBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
readonly reasons: PalletBalancesReasons;
}
/** @name PalletBalancesReasons (158) */
interface PalletBalancesReasons extends Enum {
readonly isFee: boolean;
readonly isMisc: boolean;
readonly isAll: boolean;
readonly type: 'Fee' | 'Misc' | 'All';
}
/** @name PalletBalancesReserveData (161) */
interface PalletBalancesReserveData extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
/** @name PalletBalancesReleases (163) */
interface PalletBalancesReleases extends Enum {
readonly isV100: boolean;
readonly isV200: boolean;
readonly type: 'V100' | 'V200';
}
/** @name PalletBalancesCall (164) */
interface PalletBalancesCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
readonly dest: MultiAddress;
readonly value: Compact<u128>;
} & Struct;
readonly isSetBalance: boolean;
readonly asSetBalance: {
readonly who: MultiAddress;
readonly newFree: Compact<u128>;
readonly newReserved: Compact<u128>;
} & Struct;
readonly isForceTransfer: boolean;
readonly asForceTransfer: {
readonly source: MultiAddress;
readonly dest: MultiAddress;
readonly value: Compact<u128>;
} & Struct;
readonly isTransferKeepAlive: boolean;
readonly asTransferKeepAlive: {
readonly dest: MultiAddress;
readonly value: Compact<u128>;
} & Struct;
readonly isTransferAll: boolean;
readonly asTransferAll: {
readonly dest: MultiAddress;
readonly keepAlive: bool;
} & Struct;
readonly isForceUnreserve: boolean;
readonly asForceUnreserve: {
readonly who: MultiAddress;
readonly amount: u128;
} & Struct;
readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
}
/** @name PalletBalancesError (167) */
interface PalletBalancesError extends Enum {
readonly isVestingBalance: boolean;
readonly isLiquidityRestrictions: boolean;
readonly isInsufficientBalance: boolean;
readonly isExistentialDeposit: boolean;
readonly isKeepAlive: boolean;
readonly isExistingVestingSchedule: boolean;
readonly isDeadAccount: boolean;
readonly isTooManyReserves: boolean;
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
}
/** @name PalletTransactionPaymentReleases (169) */
interface PalletTransactionPaymentReleases extends Enum {
readonly isV1Ancient: boolean;
readonly isV2: boolean;
readonly type: 'V1Ancient' | 'V2';
}
/** @name PalletAuthorshipUncleEntryItem (171) */
interface PalletAuthorshipUncleEntryItem extends Enum {
readonly isInclusionHeight: boolean;
readonly asInclusionHeight: u32;
readonly isUncle: boolean;
readonly asUncle: ITuple<[H256, Option<AccountId32>]>;
readonly type: 'InclusionHeight' | 'Uncle';
}
/** @name PalletAuthorshipCall (172) */
interface PalletAuthorshipCall extends Enum {
readonly isSetUncles: boolean;
readonly asSetUncles: {
readonly newUncles: Vec<SpRuntimeHeader>;
} & Struct;
readonly type: 'SetUncles';
}
/** @name SpRuntimeHeader (174) */
interface SpRuntimeHeader extends Struct {
readonly parentHash: H256;
readonly number: Compact<u32>;
readonly stateRoot: H256;
readonly extrinsicsRoot: H256;
readonly digest: SpRuntimeDigest;
}
/** @name SpRuntimeBlakeTwo256 (175) */
type SpRuntimeBlakeTwo256 = Null;
/** @name PalletAuthorshipError (176) */
interface PalletAuthorshipError extends Enum {
readonly isInvalidUncleParent: boolean;
readonly isUnclesAlreadySet: boolean;
readonly isTooManyUncles: boolean;
readonly isGenesisUncle: boolean;
readonly isTooHighUncle: boolean;
readonly isUncleAlreadyIncluded: boolean;
readonly isOldUncle: boolean;
readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';
}
/** @name PalletCollatorSelectionCandidateInfo (178) */
interface PalletCollatorSelectionCandidateInfo extends Struct {
readonly who: AccountId32;
readonly deposit: u128;
}
/** @name PalletCollatorSelectionCall (179) */
interface PalletCollatorSelectionCall extends Enum {
readonly isSetInvulnerables: boolean;
readonly asSetInvulnerables: {
readonly new_: Vec<AccountId32>;
} & Struct;
readonly isSetDesiredCandidates: boolean;
readonly asSetDesiredCandidates: {
readonly max: u32;
} & Struct;
readonly isSetCandidacyBond: boolean;
readonly asSetCandidacyBond: {
readonly bond: u128;
} & Struct;
readonly isRegisterAsCandidate: boolean;
readonly isLeaveIntent: boolean;
readonly type: 'SetInvulnerables' | 'SetDesiredCandidates' | 'SetCandidacyBond' | 'RegisterAsCandidate' | 'LeaveIntent';
}
/** @name PalletCollatorSelectionError (180) */
interface PalletCollatorSelectionError extends Enum {
readonly isTooManyCandidates: boolean;
readonly isTooFewCandidates: boolean;
readonly isUnknown: boolean;
readonly isPermission: boolean;
readonly isAlreadyCandidate: boolean;
readonly isNotCandidate: boolean;
readonly isAlreadyInvulnerable: boolean;
readonly isNoAssociatedValidatorId: boolean;
readonly isValidatorNotRegistered: boolean;
readonly type: 'TooManyCandidates' | 'TooFewCandidates' | 'Unknown' | 'Permission' | 'AlreadyCandidate' | 'NotCandidate' | 'AlreadyInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';
}
/** @name SubsocialParachainRuntimeSessionKeys (183) */
interface SubsocialParachainRuntimeSessionKeys extends Struct {
readonly aura: SpConsensusAuraSr25519AppSr25519Public;
}
/** @name SpConsensusAuraSr25519AppSr25519Public (184) */
interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}
/** @name SpCoreSr25519Public (185) */
interface SpCoreSr25519Public extends U8aFixed {}
/** @name SpCoreCryptoKeyTypeId (188) */
interface SpCoreCryptoKeyTypeId extends U8aFixed {}
/** @name PalletSessionCall (189) */
interface PalletSessionCall extends Enum {
readonly isSetKeys: boolean;
readonly asSetKeys: {
readonly keys_: SubsocialParachainRuntimeSessionKeys;
readonly proof: Bytes;
} & Struct;
readonly isPurgeKeys: boolean;
readonly type: 'SetKeys' | 'PurgeKeys';
}
/** @name PalletSessionError (190) */
interface PalletSessionError extends Enum {
readonly isInvalidProof: boolean;
readonly isNoAssociatedValidatorId: boolean;
readonly isDuplicatedKey: boolean;
readonly isNoKeys: boolean;
readonly isNoAccount: boolean;
readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';
}
/** @name PalletVestingVestingInfo (195) */
interface PalletVestingVestingInfo extends Struct {
readonly locked: u128;
readonly perBlock: u128;
readonly startingBlock: u32;
}
/** @name PalletVestingReleases (197) */
interface PalletVestingReleases extends Enum {
readonly isV0: boolean;
readonly isV1: boolean;
readonly type: 'V0' | 'V1';
}
/** @name PalletVestingCall (198) */
interface PalletVestingCall extends Enum {
readonly isVest: boolean;
readonly isVestOther: boolean;
readonly asVestOther: {
readonly target: MultiAddress;
} & Struct;
readonly isVestedTransfer: boolean;
readonly asVestedTransfer: {
readonly target: MultiAddress;
readonly schedule: PalletVestingVestingInfo;
} & Struct;
readonly isForceVestedTransfer: boolean;
readonly asForceVestedTransfer: {
readonly source: MultiAddress;
readonly target: MultiAddress;
readonly schedule: PalletVestingVestingInfo;
} & Struct;
readonly isMergeSchedules: boolean;
readonly asMergeSchedules: {
readonly schedule1Index: u32;
readonly schedule2Index: u32;
} & Struct;
readonly type: 'Vest' | 'VestOther' | 'VestedTransfer' | 'ForceVestedTransfer' | 'MergeSchedules';
}
/** @name PalletVestingError (199) */
interface PalletVestingError extends Enum {
readonly isNotVesting: boolean;
readonly isAtMaxVestingSchedules: boolean;
readonly isAmountLow: boolean;
readonly isScheduleIndexOutOfBounds: boolean;
readonly isInvalidScheduleParams: boolean;
readonly type: 'NotVesting' | 'AtMaxVestingSchedules' | 'AmountLow' | 'ScheduleIndexOutOfBounds' | 'InvalidScheduleParams';
}
/** @name PalletProxyProxyDefinition (202) */
interface PalletProxyProxyDefinition extends Struct {
readonly delegate: AccountId32;
readonly proxyType: SubsocialParachainRuntimeProxyType;
readonly delay: u32;
}
/** @name PalletProxyAnnouncement (206) */
interface PalletProxyAnnouncement extends Struct {
readonly real: AccountId32;
readonly callHash: H256;
readonly height: u32;
}
/** @name PalletProxyCall (208) */
interface PalletProxyCall extends Enum {
readonly isProxy: boolean;
readonly asProxy: {
readonly real: AccountId32;
readonly forceProxyType: Option<SubsocialParachainRuntimeProxyType>;
readonly call: Call;
} & Struct;
readonly isAddProxy: boolean;
readonly asAddProxy: {
readonly delegate: AccountId32;
readonly proxyType: SubsocialParachainRuntimeProxyType;
readonly delay: u32;
} & Struct;
readonly isRemoveProxy: boolean;
readonly asRemoveProxy: {
readonly delegate: AccountId32;
readonly proxyType: SubsocialParachainRuntimeProxyType;
readonly delay: u32;
} & Struct;
readonly isRemoveProxies: boolean;
readonly isAnonymous: boolean;
readonly asAnonymous: {
readonly proxyType: SubsocialParachainRuntimeProxyType;
readonly delay: u32;
readonly index: u16;
} & Struct;
readonly isKillAnonymous: boolean;
readonly asKillAnonymous: {
readonly spawner: AccountId32;
readonly proxyType: SubsocialParachainRuntimeProxyType;
readonly index: u16;
readonly height: Compact<u32>;
readonly extIndex: Compact<u32>;
} & Struct;
readonly isAnnounce: boolean;
readonly asAnnounce: {
readonly real: AccountId32;
readonly callHash: H256;
} & Struct;
readonly isRemoveAnnouncement: boolean;
readonly asRemoveAnnouncement: {
readonly real: AccountId32;
readonly callHash: H256;
} & Struct;
readonly isRejectAnnouncement: boolean;
readonly asRejectAnnouncement: {
readonly delegate: AccountId32;
readonly callHash: H256;
} & Struct;
readonly isProxyAnnounced: boolean;
readonly asProxyAnnounced: {
readonly delegate: AccountId32;
readonly real: AccountId32;
readonly forceProxyType: Option<SubsocialParachainRuntimeProxyType>;
readonly call: Call;
} & Struct;
readonly type: 'Proxy' | 'AddProxy' | 'RemoveProxy' | 'RemoveProxies' | 'Anonymous' | 'KillAnonymous' | 'Announce' | 'RemoveAnnouncement' | 'RejectAnnouncement' | 'ProxyAnnounced';
}
/** @name PalletUtilityCall (211) */
interface PalletUtilityCall extends Enum {
readonly isBatch: boolean;
readonly asBatch: {
readonly calls: Vec<Call>;
} & Struct;
readonly isAsDerivative: boolean;
readonly asAsDerivative: {
readonly index: u16;
readonly call: Call;
} & Struct;
readonly isBatchAll: boolean;
readonly asBatchAll: {
readonly calls: Vec<Call>;
} & Struct;
readonly isDispatchAs: boolean;
readonly asDispatchAs: {
readonly asOrigin: SubsocialParachainRuntimeOriginCaller;
readonly call: Call;
} & Struct;
readonly isForceBatch: boolean;
readonly asForceBatch: {
readonly calls: Vec<Call>;
} & Struct;
readonly type: 'Batch' | 'AsDerivative' | 'BatchAll' | 'DispatchAs' | 'ForceBatch';
}
/** @name SubsocialParachainRuntimeOriginCaller (213) */
interface SubsocialParachainRuntimeOriginCaller extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSupportDispatchRawOrigin;
readonly isVoid: boolean;
readonly isPolkadotXcm: boolean;
readonly asPolkadotXcm: PalletXcmOrigin;
readonly isCumulusXcm: boolean;
readonly asCumulusXcm: CumulusPalletXcmOrigin;
readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm';
}
/** @name FrameSupportDispatchRawOrigin (214) */
interface FrameSupportDispatchRawOrigin extends Enum {
readonly isRoot: boolean;
readonly isSigned: boolean;
readonly asSigned: AccountId32;
readonly isNone: boolean;
readonly type: 'Root' | 'Signed' | 'None';
}
/** @name PalletXcmOrigin (215) */
interface PalletXcmOrigin extends Enum {
readonly isXcm: boolean;
readonly asXcm: XcmV1MultiLocation;
readonly isResponse: boolean;
readonly asResponse: XcmV1MultiLocation;
readonly type: 'Xcm' | 'Response';
}
/** @name CumulusPalletXcmOrigin (216) */
interface CumulusPalletXcmOrigin extends Enum {
readonly isRelay: boolean;
readonly isSiblingParachain: boolean;
readonly asSiblingParachain: u32;
readonly type: 'Relay' | 'SiblingParachain';
}
/** @name SpCoreVoid (217) */
type SpCoreVoid = Null;
/** @name CumulusPalletXcmpQueueCall (218) */
interface CumulusPalletXcmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
readonly index: u64;
readonly weightLimit: u64;
} & Struct;
readonly isSuspendXcmExecution: boolean;
readonly isResumeXcmExecution: boolean;
readonly isUpdateSuspendThreshold: boolean;
readonly asUpdateSuspendThreshold: {
readonly new_: u32;
} & Struct;
readonly isUpdateDropThreshold: boolean;
readonly asUpdateDropThreshold: {
readonly new_: u32;
} & Struct;
readonly isUpdateResumeThreshold: boolean;
readonly asUpdateResumeThreshold: {
readonly new_: u32;
} & Struct;
readonly isUpdateThresholdWeight: boolean;
readonly asUpdateThresholdWeight: {
readonly new_: u64;
} & Struct;
readonly isUpdateWeightRestrictDecay: boolean;
readonly asUpdateWeightRestrictDecay: {
readonly new_: u64;
} & Struct;
readonly isUpdateXcmpMaxIndividualWeight: boolean;
readonly asUpdateXcmpMaxIndividualWeight: {
readonly new_: u64;
} & Struct;
readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
}
/** @name PalletXcmCall (219) */
interface PalletXcmCall extends Enum {
readonly isSend: boolean;
readonly asSend: {
readonly dest: XcmVersionedMultiLocation;
readonly message: XcmVersionedXcm;
} & Struct;
readonly isTeleportAssets: boolean;
readonly asTeleportAssets: {
readonly dest: XcmVersionedMultiLocation;
readonly beneficiary: XcmVersionedMultiLocation;
readonly assets: XcmVersionedMultiAssets;
readonly feeAssetItem: u32;
} & Struct;
readonly isReserveTransferAssets: boolean;
readonly asReserveTransferAssets: {
readonly dest: XcmVersionedMultiLocation;
readonly beneficiary: XcmVersionedMultiLocation;
readonly assets: XcmVersionedMultiAssets;
readonly feeAssetItem: u32;
} & Struct;
readonly isExecute: boolean;
readonly asExecute: {
readonly message: XcmVersionedXcm;
readonly maxWeight: u64;
} & Struct;
readonly isForceXcmVersion: boolean;
readonly asForceXcmVersion: {
readonly location: XcmV1MultiLocation;
readonly xcmVersion: u32;
} & Struct;
readonly isForceDefaultXcmVersion: boolean;
readonly asForceDefaultXcmVersion: {
readonly maybeXcmVersion: Option<u32>;
} & Struct;
readonly isForceSubscribeVersionNotify: boolean;
readonly asForceSubscribeVersionNotify: {
readonly location: XcmVersionedMultiLocation;
} & Struct;
readonly isForceUnsubscribeVersionNotify: boolean;
readonly asForceUnsubscribeVersionNotify: {
readonly location: XcmVersionedMultiLocation;
} & Struct;
readonly isLimitedReserveTransferAssets: boolean;
readonly asLimitedReserveTransferAssets: {
readonly dest: XcmVersionedMultiLocation;
readonly beneficiary: XcmVersionedMultiLocation;
readonly assets: XcmVersionedMultiAssets;
readonly feeAssetItem: u32;
readonly weightLimit: XcmV2WeightLimit;
} & Struct;
readonly isLimitedTeleportAssets: boolean;
readonly asLimitedTeleportAssets: {
readonly dest: XcmVersionedMultiLocation;
readonly beneficiary: XcmVersionedMultiLocation;
readonly assets: XcmVersionedMultiAssets;
readonly feeAssetItem: u32;
readonly weightLimit: XcmV2WeightLimit;
} & Struct;
readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
}
/** @name XcmVersionedXcm (220) */
interface XcmVersionedXcm extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Xcm;
readonly isV1: boolean;
readonly asV1: XcmV1Xcm;
readonly isV2: boolean;
readonly asV2: XcmV2Xcm;
readonly type: 'V0' | 'V1' | 'V2';
}
/** @name XcmV0Xcm (221) */
interface XcmV0Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly effects: Vec<XcmV0Order>;
} & Struct;
readonly isReserveAssetDeposit: boolean;
readonly asReserveAssetDeposit: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly effects: Vec<XcmV0Order>;
} & Struct;
readonly isTeleportAsset: boolean;
readonly asTeleportAsset: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly effects: Vec<XcmV0Order>;
} & Struct;
readonly isQueryResponse: boolean;
readonly asQueryResponse: {
readonly queryId: Compact<u64>;
readonly response: XcmV0Response;
} & Struct;
readonly isTransferAsset: boolean;
readonly asTransferAsset: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly dest: XcmV0MultiLocation;
} & Struct;
readonly isTransferReserveAsset: boolean;
readonly asTransferReserveAsset: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly dest: XcmV0MultiLocation;
readonly effects: Vec<XcmV0Order>;
} & Struct;
readonly isTransact: boolean;
readonly asTransact: {
readonly originType: XcmV0OriginKind;
readonly requireWeightAtMost: u64;
readonly call: XcmDoubleEncoded;
} & Struct;
readonly isHrmpNewChannelOpenRequest: boolean;
readonly asHrmpNewChannelOpenRequest: {
readonly sender: Compact<u32>;
readonly maxMessageSize: Compact<u32>;
readonly maxCapacity: Compact<u32>;
} & Struct;
readonly isHrmpChannelAccepted: boolean;
readonly asHrmpChannelAccepted: {
readonly recipient: Compact<u32>;
} & Struct;
readonly isHrmpChannelClosing: boolean;
readonly asHrmpChannelClosing: {
readonly initiator: Compact<u32>;
readonly sender: Compact<u32>;
readonly recipient: Compact<u32>;
} & Struct;
readonly isRelayedFrom: boolean;
readonly asRelayedFrom: {
readonly who: XcmV0MultiLocation;
readonly message: XcmV0Xcm;
} & Struct;
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
}
/** @name XcmV0Order (223) */
interface XcmV0Order extends Enum {
readonly isNull: boolean;
readonly isDepositAsset: boolean;
readonly asDepositAsset: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly dest: XcmV0MultiLocation;
} & Struct;
readonly isDepositReserveAsset: boolean;
readonly asDepositReserveAsset: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly dest: XcmV0MultiLocation;
readonly effects: Vec<XcmV0Order>;
} & Struct;
readonly isExchangeAsset: boolean;
readonly asExchangeAsset: {
readonly give: Vec<XcmV0MultiAsset>;
readonly receive: Vec<XcmV0MultiAsset>;
} & Struct;
readonly isInitiateReserveWithdraw: boolean;
readonly asInitiateReserveWithdraw: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly reserve: XcmV0MultiLocation;
readonly effects: Vec<XcmV0Order>;
} & Struct;
readonly isInitiateTeleport: boolean;
readonly asInitiateTeleport: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly dest: XcmV0MultiLocation;
readonly effects: Vec<XcmV0Order>;
} & Struct;
readonly isQueryHolding: boolean;
readonly asQueryHolding: {
readonly queryId: Compact<u64>;
readonly dest: XcmV0MultiLocation;
readonly assets: Vec<XcmV0MultiAsset>;
} & Struct;
readonly isBuyExecution: boolean;
readonly asBuyExecution: {
readonly fees: XcmV0MultiAsset;
readonly weight: u64;
readonly debt: u64;
readonly haltOnError: bool;
readonly xcm: Vec<XcmV0Xcm>;
} & Struct;
readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
/** @name XcmV0Response (225) */
interface XcmV0Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: Vec<XcmV0MultiAsset>;
readonly type: 'Assets';
}
/** @name XcmV1Xcm (226) */
interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly effects: Vec<XcmV1Order>;
} & Struct;
readonly isReserveAssetDeposited: boolean;
readonly asReserveAssetDeposited: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly effects: Vec<XcmV1Order>;
} & Struct;
readonly isReceiveTeleportedAsset: boolean;
readonly asReceiveTeleportedAsset: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly effects: Vec<XcmV1Order>;
} & Struct;
readonly isQueryResponse: boolean;
readonly asQueryResponse: {
readonly queryId: Compact<u64>;
readonly response: XcmV1Response;
} & Struct;
readonly isTransferAsset: boolean;
readonly asTransferAsset: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly beneficiary: XcmV1MultiLocation;
} & Struct;
readonly isTransferReserveAsset: boolean;
readonly asTransferReserveAsset: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly dest: XcmV1MultiLocation;
readonly effects: Vec<XcmV1Order>;
} & Struct;
readonly isTransact: boolean;
readonly asTransact: {
readonly originType: XcmV0OriginKind;
readonly requireWeightAtMost: u64;
readonly call: XcmDoubleEncoded;
} & Struct;
readonly isHrmpNewChannelOpenRequest: boolean;
readonly asHrmpNewChannelOpenRequest: {
readonly sender: Compact<u32>;
readonly maxMessageSize: Compact<u32>;
readonly maxCapacity: Compact<u32>;
} & Struct;
readonly isHrmpChannelAccepted: boolean;
readonly asHrmpChannelAccepted: {
readonly recipient: Compact<u32>;
} & Struct;
readonly isHrmpChannelClosing: boolean;
readonly asHrmpChannelClosing: {
readonly initiator: Compact<u32>;
readonly sender: Compact<u32>;
readonly recipient: Compact<u32>;
} & Struct;
readonly isRelayedFrom: boolean;
readonly asRelayedFrom: {
readonly who: XcmV1MultilocationJunctions;
readonly message: XcmV1Xcm;
} & Struct;
readonly isSubscribeVersion: boolean;
readonly asSubscribeVersion: {
readonly queryId: Compact<u64>;
readonly maxResponseWeight: Compact<u64>;
} & Struct;
readonly isUnsubscribeVersion: boolean;
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
/** @name XcmV1Order (228) */
interface XcmV1Order extends Enum {
readonly isNoop: boolean;
readonly isDepositAsset: boolean;
readonly asDepositAsset: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly maxAssets: u32;
readonly beneficiary: XcmV1MultiLocation;
} & Struct;
readonly isDepositReserveAsset: boolean;
readonly asDepositReserveAsset: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly maxAssets: u32;
readonly dest: XcmV1MultiLocation;
readonly effects: Vec<XcmV1Order>;
} & Struct;
readonly isExchangeAsset: boolean;
readonly asExchangeAsset: {
readonly give: XcmV1MultiassetMultiAssetFilter;
readonly receive: XcmV1MultiassetMultiAssets;
} & Struct;
readonly isInitiateReserveWithdraw: boolean;
readonly asInitiateReserveWithdraw: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly reserve: XcmV1MultiLocation;
readonly effects: Vec<XcmV1Order>;
} & Struct;
readonly isInitiateTeleport: boolean;
readonly asInitiateTeleport: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly dest: XcmV1MultiLocation;
readonly effects: Vec<XcmV1Order>;
} & Struct;
readonly isQueryHolding: boolean;
readonly asQueryHolding: {
readonly queryId: Compact<u64>;
readonly dest: XcmV1MultiLocation;
readonly assets: XcmV1MultiassetMultiAssetFilter;
} & Struct;
readonly isBuyExecution: boolean;
readonly asBuyExecution: {
readonly fees: XcmV1MultiAsset;
readonly weight: u64;
readonly debt: u64;
readonly haltOnError: bool;
readonly instructions: Vec<XcmV1Xcm>;
} & Struct;
readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
/** @name XcmV1Response (230) */
interface XcmV1Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
readonly isVersion: boolean;
readonly asVersion: u32;
readonly type: 'Assets' | 'Version';
}
/** @name CumulusPalletDmpQueueCall (245) */
interface CumulusPalletDmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
readonly index: u64;
readonly weightLimit: u64;
} & Struct;
readonly type: 'ServiceOverweight';
}
/** @name PalletDomainsCall (246) */
interface PalletDomainsCall extends Enum {
readonly isRegisterDomain: boolean;
readonly asRegisterDomain: {
readonly fullDomain: Bytes;
readonly content: SubsocialSupportContent;
readonly expiresIn: u32;
} & Struct;
readonly isForceRegisterDomain: boolean;
readonly asForceRegisterDomain: {
readonly target: MultiAddress;
readonly fullDomain: Bytes;
readonly content: SubsocialSupportContent;
readonly expiresIn: u32;
} & Struct;
readonly isSetInnerValue: boolean;
readonly asSetInnerValue: {
readonly domain: Bytes;
readonly valueOpt: Option<PalletDomainsInnerValue>;
} & Struct;
readonly isForceSetInnerValue: boolean;
readonly asForceSetInnerValue: {
readonly domain: Bytes;
readonly valueOpt: Option<PalletDomainsInnerValue>;
} & Struct;
readonly isSetOuterValue: boolean;
readonly asSetOuterValue: {
readonly domain: Bytes;
readonly valueOpt: Option<Bytes>;
} & Struct;
readonly isSetDomainContent: boolean;
readonly asSetDomainContent: {
readonly domain: Bytes;
readonly newContent: SubsocialSupportContent;
} & Struct;
readonly isReserveWords: boolean;
readonly asReserveWords: {
readonly words: Vec<Bytes>;
} & Struct;
readonly isSupportTlds: boolean;
readonly asSupportTlds: {
readonly tlds: Vec<Bytes>;
} & Struct;
readonly type: 'RegisterDomain' | 'ForceRegisterDomain' | 'SetInnerValue' | 'ForceSetInnerValue' | 'SetOuterValue' | 'SetDomainContent' | 'ReserveWords' | 'SupportTlds';
}
/** @name SubsocialSupportContent (247) */
interface SubsocialSupportContent extends Enum {
readonly isNone: boolean;
readonly isOther: boolean;
readonly asOther: Bytes;
readonly isIpfs: boolean;
readonly asIpfs: Bytes;
readonly type: 'None' | 'Other' | 'Ipfs';
}
/** @name PalletDomainsInnerValue (249) */
interface PalletDomainsInnerValue extends Enum {
readonly isAccount: boolean;
readonly asAccount: AccountId32;
readonly isSpace: boolean;
readonly asSpace: u64;
readonly isPost: boolean;
readonly asPost: u64;
readonly type: 'Account' | 'Space' | 'Post';
}
/** @name PalletEnergyCall (254) */
interface PalletEnergyCall extends Enum {
readonly isUpdateValueCoefficient: boolean;
readonly asUpdateValueCoefficient: {
readonly newCoefficient: i64;
} & Struct;
readonly isGenerateEnergy: boolean;
readonly asGenerateEnergy: {
readonly target: MultiAddress;
readonly burnAmount: u128;
} & Struct;
readonly type: 'UpdateValueCoefficient' | 'GenerateEnergy';
}
/** @name PalletRolesCall (255) */
interface PalletRolesCall extends Enum {
readonly isCreateRole: boolean;
readonly asCreateRole: {
readonly spaceId: u64;
readonly timeToLive: Option<u32>;
readonly content: SubsocialSupportContent;
readonly permissions: Vec<PalletPermissionsSpacePermission>;
} & Struct;
readonly isUpdateRole: boolean;
readonly asUpdateRole: {
readonly roleId: u64;
readonly update: PalletRolesRoleUpdate;
} & Struct;
readonly isDeleteRole: boolean;
readonly asDeleteRole: {
readonly roleId: u64;
} & Struct;
readonly isGrantRole: boolean;
readonly asGrantRole: {
readonly roleId: u64;
readonly users: Vec<SubsocialSupportUser>;
} & Struct;
readonly isRevokeRole: boolean;
readonly asRevokeRole: {
readonly roleId: u64;
readonly users: Vec<SubsocialSupportUser>;
} & Struct;
readonly isForceCreateRole: boolean;
readonly asForceCreateRole: {
readonly created: SubsocialSupportWhoAndWhen;
readonly roleId: u64;
readonly spaceId: u64;
readonly disabled: bool;
readonly content: SubsocialSupportContent;
readonly permissions: BTreeSet<PalletPermissionsSpacePermission>;
} & Struct;
readonly isForceGrantRole: boolean;
readonly asForceGrantRole: {
readonly roleId: u64;
readonly users: Vec<SubsocialSupportUser>;
} & Struct;
readonly isForceSetNextRoleId: boolean;
readonly asForceSetNextRoleId: {
readonly roleId: u64;
} & Struct;
readonly type: 'CreateRole' | 'UpdateRole' | 'DeleteRole' | 'GrantRole' | 'RevokeRole' | 'ForceCreateRole' | 'ForceGrantRole' | 'ForceSetNextRoleId';
}
/** @name PalletPermissionsSpacePermission (257) */
interface PalletPermissionsSpacePermission extends Enum {
readonly isManageRoles: boolean;
readonly isRepresentSpaceInternally: boolean;
readonly isRepresentSpaceExternally: boolean;
readonly isUpdateSpace: boolean;
readonly isCreateSubspaces: boolean;
readonly isUpdateOwnSubspaces: boolean;
readonly isDeleteOwnSubspaces: boolean;
readonly isHideOwnSubspaces: boolean;
readonly isUpdateAnySubspace: boolean;
readonly isDeleteAnySubspace: boolean;
readonly isHideAnySubspace: boolean;
readonly isCreatePosts: boolean;
readonly isUpdateOwnPosts: boolean;
readonly isDeleteOwnPosts: boolean;
readonly isHideOwnPosts: boolean;
readonly isUpdateAnyPost: boolean;
readonly isDeleteAnyPost: boolean;
readonly isHideAnyPost: boolean;
readonly isCreateComments: boolean;
readonly isUpdateOwnComments: boolean;
readonly isDeleteOwnComments: boolean;
readonly isHideOwnComments: boolean;
readonly isHideAnyComment: boolean;
readonly isUpvote: boolean;
readonly isDownvote: boolean;
readonly isShare: boolean;
readonly isOverrideSubspacePermissions: boolean;
readonly isOverridePostPermissions: boolean;
readonly isSuggestEntityStatus: boolean;
readonly isUpdateEntityStatus: boolean;
readonly isUpdateSpaceSettings: boolean;
readonly type: 'ManageRoles' | 'RepresentSpaceInternally' | 'RepresentSpaceExternally' | 'UpdateSpace' | 'CreateSubspaces' | 'UpdateOwnSubspaces' | 'DeleteOwnSubspaces' | 'HideOwnSubspaces' | 'UpdateAnySubspace' | 'DeleteAnySubspace' | 'HideAnySubspace' | 'CreatePosts' | 'UpdateOwnPosts' | 'DeleteOwnPosts' | 'HideOwnPosts' | 'UpdateAnyPost' | 'DeleteAnyPost' | 'HideAnyPost' | 'CreateComments' | 'UpdateOwnComments' | 'DeleteOwnComments' | 'HideOwnComments' | 'HideAnyComment' | 'Upvote' | 'Downvote' | 'Share' | 'OverrideSubspacePermissions' | 'OverridePostPermissions' | 'SuggestEntityStatus' | 'UpdateEntityStatus' | 'UpdateSpaceSettings';
}
/** @name PalletRolesRoleUpdate (258) */
interface PalletRolesRoleUpdate extends Struct {
readonly disabled: Option<bool>;
readonly content: Option<SubsocialSupportContent>;
readonly permissions: Option<BTreeSet<PalletPermissionsSpacePermission>>;
}
/** @name SubsocialSupportWhoAndWhen (263) */
interface SubsocialSupportWhoAndWhen extends Struct {
readonly account: AccountId32;
readonly block: u32;
readonly time: u64;
}
/** @name PalletAccountFollowsCall (264) */
interface PalletAccountFollowsCall extends Enum {
readonly isFollowAccount: boolean;
readonly asFollowAccount: {
readonly account: AccountId32;
} & Struct;
readonly isUnfollowAccount: boolean;
readonly asUnfollowAccount: {
readonly account: AccountId32;
} & Struct;
readonly isForceFollowAccount: boolean;
readonly asForceFollowAccount: {
readonly follower: AccountId32;
readonly following: AccountId32;
} & Struct;
readonly type: 'FollowAccount' | 'UnfollowAccount' | 'ForceFollowAccount';
}
/** @name PalletProfilesCall (265) */
interface PalletProfilesCall extends Enum {
readonly isSetProfile: boolean;
readonly asSetProfile: {
readonly spaceId: u64;
} & Struct;
readonly isResetProfile: boolean;
readonly isForceSetSpaceAsProfile: boolean;
readonly asForceSetSpaceAsProfile: {
readonly account: AccountId32;
readonly spaceIdOpt: Option<u64>;
} & Struct;
readonly type: 'SetProfile' | 'ResetProfile' | 'ForceSetSpaceAsProfile';
}
/** @name PalletSpaceFollowsCall (266) */
interface PalletSpaceFollowsCall extends Enum {
readonly isFollowSpace: boolean;
readonly asFollowSpace: {
readonly spaceId: u64;
} & Struct;
readonly isUnfollowSpace: boolean;
readonly asUnfollowSpace: {
readonly spaceId: u64;
} & Struct;
readonly isForceFollowSpace: boolean;
readonly asForceFollowSpace: {
readonly follower: AccountId32;
readonly spaceId: u64;
} & Struct;
readonly type: 'FollowSpace' | 'UnfollowSpace' | 'ForceFollowSpace';
}
/** @name PalletSpaceOwnershipCall (267) */
interface PalletSpaceOwnershipCall extends Enum {
readonly isTransferSpaceOwnership: boolean;
readonly asTransferSpaceOwnership: {
readonly spaceId: u64;
readonly transferTo: AccountId32;
} & Struct;
readonly isAcceptPendingOwnership: boolean;
readonly asAcceptPendingOwnership: {
readonly spaceId: u64;
} & Struct;
readonly isRejectPendingOwnership: boolean;
readonly asRejectPendingOwnership: {
readonly spaceId: u64;
} & Struct;
readonly type: 'TransferSpaceOwnership' | 'AcceptPendingOwnership' | 'RejectPendingOwnership';
}
/** @name PalletSpacesCall (268) */
interface PalletSpacesCall extends Enum {
readonly isCreateSpace: boolean;
readonly asCreateSpace: {
readonly content: SubsocialSupportContent;
readonly permissionsOpt: Option<PalletPermissionsSpacePermissions>;
} & Struct;
readonly isUpdateSpace: boolean;
readonly asUpdateSpace: {
readonly spaceId: u64;
readonly update: PalletSpacesSpaceUpdate;
} & Struct;
readonly isForceCreateSpace: boolean;
readonly asForceCreateSpace: {
readonly spaceId: u64;
readonly created: SubsocialSupportWhoAndWhen;
readonly owner: AccountId32;
readonly content: SubsocialSupportContent;
readonly hidden: bool;
readonly permissionsOpt: Option<PalletPermissionsSpacePermissions>;
} & Struct;
readonly isForceSetNextSpaceId: boolean;
readonly asForceSetNextSpaceId: {
readonly spaceId: u64;
} & Struct;
readonly type: 'CreateSpace' | 'UpdateSpace' | 'ForceCreateSpace' | 'ForceSetNextSpaceId';
}
/** @name PalletPermissionsSpacePermissions (270) */
interface PalletPermissionsSpacePermissions extends Struct {
readonly none: Option<BTreeSet<PalletPermissionsSpacePermission>>;
readonly everyone: Option<BTreeSet<PalletPermissionsSpacePermission>>;
readonly follower: Option<BTreeSet<PalletPermissionsSpacePermission>>;
readonly spaceOwner: Option<BTreeSet<PalletPermissionsSpacePermission>>;
}
/** @name PalletSpacesSpaceUpdate (271) */
interface PalletSpacesSpaceUpdate extends Struct {
readonly content: Option<SubsocialSupportContent>;
readonly hidden: Option<bool>;
readonly permissions: Option<Option<PalletPermissionsSpacePermissions>>;
}
/** @name PalletPostsCall (273) */
interface PalletPostsCall extends Enum {
readonly isCreatePost: boolean;
readonly asCreatePost: {
readonly spaceIdOpt: Option<u64>;
readonly extension: PalletPostsPostExtension;
readonly content: SubsocialSupportContent;
} & Struct;
readonly isUpdatePost: boolean;
readonly asUpdatePost: {
readonly postId: u64;
readonly update: PalletPostsPostUpdate;
} & Struct;
readonly isMovePost: boolean;
readonly asMovePost: {
readonly postId: u64;
readonly newSpaceId: Option<u64>;
} & Struct;
readonly isForceCreatePost: boolean;
readonly asForceCreatePost: {
readonly postId: u64;
readonly created: SubsocialSupportWhoAndWhen;
readonly owner: AccountId32;
readonly extension: PalletPostsPostExtension;
readonly spaceIdOpt: Option<u64>;
readonly content: SubsocialSupportContent;
readonly hidden: bool;
readonly upvotesCount: u32;
readonly downvotesCount: u32;
} & Struct;
readonly isForceRemovePost: boolean;
readonly asForceRemovePost: {
readonly postId: u64;
} & Struct;
readonly isForceSetNextPostId: boolean;
readonly asForceSetNextPostId: {
readonly postId: u64;
} & Struct;
readonly type: 'CreatePost' | 'UpdatePost' | 'MovePost' | 'ForceCreatePost' | 'ForceRemovePost' | 'ForceSetNextPostId';
}
/** @name PalletPostsPostExtension (274) */
interface PalletPostsPostExtension extends Enum {
readonly isRegularPost: boolean;
readonly isComment: boolean;
readonly asComment: PalletPostsComment;
readonly isSharedPost: boolean;
readonly asSharedPost: u64;
readonly type: 'RegularPost' | 'Comment' | 'SharedPost';
}
/** @name PalletPostsComment (275) */
interface PalletPostsComment extends Struct {
readonly rootPostId: u64;
readonly parentId: Option<u64>;
}
/** @name PalletPostsPostUpdate (276) */
interface PalletPostsPostUpdate extends Struct {
readonly spaceId: Option<u64>;
readonly content: Option<SubsocialSupportContent>;
readonly hidden: Option<bool>;
}
/** @name PalletReactionsCall (277) */
interface PalletReactionsCall extends Enum {
readonly isCreatePostReaction: boolean;
readonly asCreatePostReaction: {
readonly postId: u64;
readonly kind: PalletReactionsReactionKind;
} & Struct;
readonly isUpdatePostReaction: boolean;
readonly asUpdatePostReaction: {
readonly postId: u64;
readonly reactionId: u64;
readonly newKind: PalletReactionsReactionKind;
} & Struct;
readonly isDeletePostReaction: boolean;
readonly asDeletePostReaction: {
readonly postId: u64;
readonly reactionId: u64;
} & Struct;
readonly isForceCreatePostReaction: boolean;
readonly asForceCreatePostReaction: {
readonly who: AccountId32;
readonly postId: u64;
readonly reactionId: u64;
readonly created: SubsocialSupportWhoAndWhen;
readonly reactionKind: PalletReactionsReactionKind;
} & Struct;
readonly isForceDeletePostReaction: boolean;
readonly asForceDeletePostReaction: {
readonly reactionId: u64;
readonly postId: u64;
readonly who: AccountId32;
} & Struct;
readonly isForceSetNextReactionId: boolean;
readonly asForceSetNextReactionId: {
readonly reactionId: u64;
} & Struct;
readonly type: 'CreatePostReaction' | 'UpdatePostReaction' | 'DeletePostReaction' | 'ForceCreatePostReaction' | 'ForceDeletePostReaction' | 'ForceSetNextReactionId';
}
/** @name PalletSudoCall (278) */
interface PalletSudoCall extends Enum {
readonly isSudo: boolean;
readonly asSudo: {
readonly call: Call;
} & Struct;
readonly isSudoUncheckedWeight: boolean;
readonly asSudoUncheckedWeight: {
readonly call: Call;
readonly weight: u64;
} & Struct;
readonly isSetKey: boolean;
readonly asSetKey: {
readonly new_: MultiAddress;
} & Struct;
readonly isSudoAs: boolean;
readonly asSudoAs: {
readonly who: MultiAddress;
readonly call: Call;
} & Struct;
readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
}
/** @name PalletProxyError (279) */
interface PalletProxyError extends Enum {
readonly isTooMany: boolean;
readonly isNotFound: boolean;
readonly isNotProxy: boolean;
readonly isUnproxyable: boolean;
readonly isDuplicate: boolean;
readonly isNoPermission: boolean;
readonly isUnannounced: boolean;
readonly isNoSelfProxy: boolean;
readonly type: 'TooMany' | 'NotFound' | 'NotProxy' | 'Unproxyable' | 'Duplicate' | 'NoPermission' | 'Unannounced' | 'NoSelfProxy';
}
/** @name PalletUtilityError (280) */
interface PalletUtilityError extends Enum {
readonly isTooManyCalls: boolean;
readonly type: 'TooManyCalls';
}
/** @name CumulusPalletXcmpQueueInboundChannelDetails (282) */
interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
/** @name CumulusPalletXcmpQueueInboundState (283) */
interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
/** @name PolkadotParachainPrimitivesXcmpMessageFormat (286) */
interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
readonly isSignals: boolean;
readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
}
/** @name CumulusPalletXcmpQueueOutboundChannelDetails (289) */
interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
readonly signalsExist: bool;
readonly firstIndex: u16;
readonly lastIndex: u16;
}
/** @name CumulusPalletXcmpQueueOutboundState (290) */
interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
/** @name CumulusPalletXcmpQueueQueueConfigData (292) */
interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
readonly resumeThreshold: u32;
readonly thresholdWeight: u64;
readonly weightRestrictDecay: u64;
readonly xcmpMaxIndividualWeight: u64;
}
/** @name CumulusPalletXcmpQueueError (294) */
interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
readonly isBadXcm: boolean;
readonly isBadOverweightIndex: boolean;
readonly isWeightOverLimit: boolean;
readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
}
/** @name PalletXcmError (295) */
interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
readonly isFiltered: boolean;
readonly isUnweighableMessage: boolean;
readonly isDestinationNotInvertible: boolean;
readonly isEmpty: boolean;
readonly isCannotReanchor: boolean;
readonly isTooManyAssets: boolean;
readonly isInvalidOrigin: boolean;
readonly isBadVersion: boolean;
readonly isBadLocation: boolean;
readonly isNoSubscription: boolean;
readonly isAlreadySubscribed: boolean;
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
/** @name CumulusPalletXcmError (296) */
type CumulusPalletXcmError = Null;
/** @name CumulusPalletDmpQueueConfigData (297) */
interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: u64;
}
/** @name CumulusPalletDmpQueuePageIndexData (298) */
interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
/** @name CumulusPalletDmpQueueError (301) */
interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
/** @name PalletDomainsDomainMeta (302) */
interface PalletDomainsDomainMeta extends Struct {
readonly created: SubsocialSupportWhoAndWhen;
readonly updated: Option<SubsocialSupportWhoAndWhen>;
readonly expiresAt: u32;
readonly owner: AccountId32;
readonly content: SubsocialSupportContent;
readonly innerValue: Option<PalletDomainsInnerValue>;
readonly outerValue: Option<Bytes>;
readonly domainDeposit: u128;
readonly outerValueDeposit: u128;
}
/** @name PalletDomainsError (306) */
interface PalletDomainsError extends Enum {
readonly isDomainContentNotChanged: boolean;
readonly isTooManyDomainsPerAccount: boolean;
readonly isDomainContainsInvalidChar: boolean;
readonly isDomainIsTooShort: boolean;
readonly isDomainHasExpired: boolean;
readonly isDomainNotFound: boolean;
readonly isDomainIsReserved: boolean;
readonly isDomainAlreadyOwned: boolean;
readonly isInnerValueNotChanged: boolean;
readonly isSubdomainsNotAllowed: boolean;
readonly isNotDomainOwner: boolean;
readonly isOuterValueNotChanged: boolean;
readonly isZeroReservationPeriod: boolean;
readonly isTooBigRegistrationPeriod: boolean;
readonly isTldNotSpecified: boolean;
readonly isTldNotSupported: boolean;
readonly type: 'DomainContentNotChanged' | 'TooManyDomainsPerAccount' | 'DomainContainsInvalidChar' | 'DomainIsTooShort' | 'DomainHasExpired' | 'DomainNotFound' | 'DomainIsReserved' | 'DomainAlreadyOwned' | 'InnerValueNotChanged' | 'SubdomainsNotAllowed' | 'NotDomainOwner' | 'OuterValueNotChanged' | 'ZeroReservationPeriod' | 'TooBigRegistrationPeriod' | 'TldNotSpecified' | 'TldNotSupported';
}
/** @name PalletEnergyError (307) */
interface PalletEnergyError extends Enum {
readonly isNotEnoughBalance: boolean;
readonly isValueCoefficientIsNotPositive: boolean;
readonly isBalanceBelowExistentialDeposit: boolean;
readonly type: 'NotEnoughBalance' | 'ValueCoefficientIsNotPositive' | 'BalanceBelowExistentialDeposit';
}
/** @name PalletRolesRole (308) */
interface PalletRolesRole extends Struct {
readonly created: SubsocialSupportWhoAndWhen;
readonly id: u64;
readonly spaceId: u64;
readonly disabled: bool;
readonly expiresAt: Option<u32>;
readonly content: SubsocialSupportContent;
readonly permissions: BTreeSet<PalletPermissionsSpacePermission>;
}
/** @name PalletRolesError (311) */
interface PalletRolesError extends Enum {
readonly isRoleNotFound: boolean;
readonly isRoleIdOverflow: boolean;
readonly isNoPermissionToManageRoles: boolean;
readonly isNoUpdatesProvided: boolean;
readonly isNoPermissionsProvided: boolean;
readonly isNoUsersProvided: boolean;
readonly isTooManyUsersToDeleteRole: boolean;
readonly isRoleAlreadyDisabled: boolean;
readonly isRoleAlreadyEnabled: boolean;
readonly type: 'RoleNotFound' | 'RoleIdOverflow' | 'NoPermissionToManageRoles' | 'NoUpdatesProvided' | 'NoPermissionsProvided' | 'NoUsersProvided' | 'TooManyUsersToDeleteRole' | 'RoleAlreadyDisabled' | 'RoleAlreadyEnabled';
}
/** @name PalletAccountFollowsError (313) */
interface PalletAccountFollowsError extends Enum {
readonly isFollowerAccountNotFound: boolean;
readonly isFollowedAccountNotFound: boolean;
readonly isAccountCannotFollowItself: boolean;
readonly isAccountCannotUnfollowItself: boolean;
readonly isAlreadyAccountFollower: boolean;
readonly isNotAccountFollower: boolean;
readonly type: 'FollowerAccountNotFound' | 'FollowedAccountNotFound' | 'AccountCannotFollowItself' | 'AccountCannotUnfollowItself' | 'AlreadyAccountFollower' | 'NotAccountFollower';
}
/** @name PalletProfilesError (314) */
interface PalletProfilesError extends Enum {
readonly isSocialAccountNotFound: boolean;
readonly isNoSpaceSetAsProfile: boolean;
readonly type: 'SocialAccountNotFound' | 'NoSpaceSetAsProfile';
}
/** @name PalletSpaceFollowsError (316) */
interface PalletSpaceFollowsError extends Enum {
readonly isAlreadySpaceFollower: boolean;
readonly isNotSpaceFollower: boolean;
readonly isCannotFollowHiddenSpace: boolean;
readonly type: 'AlreadySpaceFollower' | 'NotSpaceFollower' | 'CannotFollowHiddenSpace';
}
/** @name PalletSpaceOwnershipError (317) */
interface PalletSpaceOwnershipError extends Enum {
readonly isCannotTransferToCurrentOwner: boolean;
readonly isAlreadyASpaceOwner: boolean;
readonly isNoPendingTransferOnSpace: boolean;
readonly isNotAllowedToAcceptOwnershipTransfer: boolean;
readonly isNotAllowedToRejectOwnershipTransfer: boolean;
readonly type: 'CannotTransferToCurrentOwner' | 'AlreadyASpaceOwner' | 'NoPendingTransferOnSpace' | 'NotAllowedToAcceptOwnershipTransfer' | 'NotAllowedToRejectOwnershipTransfer';
}
/** @name PalletSpacesSpace (318) */
interface PalletSpacesSpace extends Struct {
readonly id: u64;
readonly created: SubsocialSupportWhoAndWhen;
readonly edited: bool;
readonly owner: AccountId32;
readonly content: SubsocialSupportContent;
readonly hidden: bool;
readonly permissions: Option<PalletPermissionsSpacePermissions>;
}
/** @name PalletSpacesError (320) */
interface PalletSpacesError extends Enum {
readonly isSpaceNotFound: boolean;
readonly isNoUpdatesForSpace: boolean;
readonly isNotASpaceOwner: boolean;
readonly isNoPermissionToUpdateSpace: boolean;
readonly isNoPermissionToCreateSubspaces: boolean;
readonly isSpaceIsAtRoot: boolean;
readonly isNoUpdatesForSpacesSettings: boolean;
readonly isTooManySpacesPerAccount: boolean;
readonly type: 'SpaceNotFound' | 'NoUpdatesForSpace' | 'NotASpaceOwner' | 'NoPermissionToUpdateSpace' | 'NoPermissionToCreateSubspaces' | 'SpaceIsAtRoot' | 'NoUpdatesForSpacesSettings' | 'TooManySpacesPerAccount';
}
/** @name PalletPostsPost (321) */
interface PalletPostsPost extends Struct {
readonly id: u64;
readonly created: SubsocialSupportWhoAndWhen;
readonly edited: bool;
readonly owner: AccountId32;
readonly extension: PalletPostsPostExtension;
readonly spaceId: Option<u64>;
readonly content: SubsocialSupportContent;
readonly hidden: bool;
readonly upvotesCount: u32;
readonly downvotesCount: u32;
}
/** @name PalletPostsError (322) */
interface PalletPostsError extends Enum {
readonly isPostNotFound: boolean;
readonly isNotAPostOwner: boolean;
readonly isNoUpdatesForPost: boolean;
readonly isPostHasNoSpaceId: boolean;
readonly isCannotCreateInHiddenScope: boolean;
readonly isNoRepliesOnPost: boolean;
readonly isCannotMoveToSameSpace: boolean;
readonly isOriginalPostNotFound: boolean;
readonly isCannotShareSharedPost: boolean;
readonly isNotASharedPost: boolean;
readonly isUnknownParentComment: boolean;
readonly isNotACommentByParentId: boolean;
readonly isCannotUpdateSpaceIdOnComment: boolean;
readonly isMaxCommentDepthReached: boolean;
readonly isNotACommentAuthor: boolean;
readonly isNotComment: boolean;
readonly isNoPermissionToCreatePosts: boolean;
readonly isNoPermissionToCreateComments: boolean;
readonly isNoPermissionToShare: boolean;
readonly isNoPermissionToUpdateAnyPost: boolean;
readonly isNoPermissionToUpdateOwnPosts: boolean;
readonly isNoPermissionToUpdateOwnComments: boolean;
readonly isPostAlreadyExists: boolean;
readonly type: 'PostNotFound' | 'NotAPostOwner' | 'NoUpdatesForPost' | 'PostHasNoSpaceId' | 'CannotCreateInHiddenScope' | 'NoRepliesOnPost' | 'CannotMoveToSameSpace' | 'OriginalPostNotFound' | 'CannotShareSharedPost' | 'NotASharedPost' | 'UnknownParentComment' | 'NotACommentByParentId' | 'CannotUpdateSpaceIdOnComment' | 'MaxCommentDepthReached' | 'NotACommentAuthor' | 'NotComment' | 'NoPermissionToCreatePosts' | 'NoPermissionToCreateComments' | 'NoPermissionToShare' | 'NoPermissionToUpdateAnyPost' | 'NoPermissionToUpdateOwnPosts' | 'NoPermissionToUpdateOwnComments' | 'PostAlreadyExists';
}
/** @name PalletReactionsReaction (323) */
interface PalletReactionsReaction extends Struct {
readonly id: u64;
readonly created: SubsocialSupportWhoAndWhen;
readonly kind: PalletReactionsReactionKind;
}
/** @name PalletReactionsError (324) */
interface PalletReactionsError extends Enum {
readonly isReactionNotFound: boolean;
readonly isAccountAlreadyReacted: boolean;
readonly isReactionByAccountNotFound: boolean;
readonly isNotReactionOwner: boolean;
readonly isSameReaction: boolean;
readonly isReactionAlreadyExists: boolean;
readonly isReactionNotFoundOnPost: boolean;
readonly isCannotReactWhenSpaceHidden: boolean;
readonly isCannotReactWhenPostHidden: boolean;
readonly isNoPermissionToUpvote: boolean;
readonly isNoPermissionToDownvote: boolean;
readonly type: 'ReactionNotFound' | 'AccountAlreadyReacted' | 'ReactionByAccountNotFound' | 'NotReactionOwner' | 'SameReaction' | 'ReactionAlreadyExists' | 'ReactionNotFoundOnPost' | 'CannotReactWhenSpaceHidden' | 'CannotReactWhenPostHidden' | 'NoPermissionToUpvote' | 'NoPermissionToDownvote';
}
/** @name PalletSudoError (325) */
interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
/** @name SpRuntimeMultiSignature (327) */
interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
readonly isSr25519: boolean;
readonly asSr25519: SpCoreSr25519Signature;
readonly isEcdsa: boolean;
readonly asEcdsa: SpCoreEcdsaSignature;
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
/** @name SpCoreEd25519Signature (328) */
interface SpCoreEd25519Signature extends U8aFixed {}
/** @name SpCoreSr25519Signature (330) */
interface SpCoreSr25519Signature extends U8aFixed {}
/** @name SpCoreEcdsaSignature (331) */
interface SpCoreEcdsaSignature extends U8aFixed {}
/** @name FrameSystemExtensionsCheckNonZeroSender (334) */
type FrameSystemExtensionsCheckNonZeroSender = Null;
/** @name FrameSystemExtensionsCheckSpecVersion (335) */
type FrameSystemExtensionsCheckSpecVersion = Null;
/** @name FrameSystemExtensionsCheckTxVersion (336) */
type FrameSystemExtensionsCheckTxVersion = Null;
/** @name FrameSystemExtensionsCheckGenesis (337) */
type FrameSystemExtensionsCheckGenesis = Null;
/** @name FrameSystemExtensionsCheckNonce (340) */
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
/** @name FrameSystemExtensionsCheckWeight (341) */
type FrameSystemExtensionsCheckWeight = Null;
/** @name PalletTransactionPaymentChargeTransactionPayment (342) */
interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
/** @name SubsocialParachainRuntimeRuntime (343) */
type SubsocialParachainRuntimeRuntime = Null;
} // declare module