@mangata-finance/types
Version:
Polkadot.js type definitions for Mangata Network
1,140 lines (1,139 loc) • 59 kB
TypeScript
import '@polkadot/api-base/types/events';
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
import type { Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime';
import type { CommonRuntimeConfigPalletProxyProxyType, FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, OrmlTraitsAssetRegistryAssetMetadata, PalletIssuanceIssuanceInfo, PalletIssuanceTgeInfo, ParachainStakingCandidateBondRequest, ParachainStakingDelegationRequest, ParachainStakingDelegatorAdded, ParachainStakingPayoutRounds, SpRuntimeDispatchError, SpRuntimeModuleError, SpWeightsWeightV2Weight, StagingXcmV3MultiAsset, StagingXcmV3MultiLocation, StagingXcmV3MultiassetMultiAssets, StagingXcmV3Response, StagingXcmV3TraitsError, StagingXcmV3TraitsOutcome, StagingXcmV3Xcm, StagingXcmVersionedMultiAssets, StagingXcmVersionedMultiLocation } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
declare module '@polkadot/api-base/types/events' {
interface AugmentedEvents<ApiType extends ApiTypes> {
assetRegistry: {
RegisteredAsset: AugmentedEvent<ApiType, [assetId: u32, metadata: OrmlTraitsAssetRegistryAssetMetadata], {
assetId: u32;
metadata: OrmlTraitsAssetRegistryAssetMetadata;
}>;
UpdatedAsset: AugmentedEvent<ApiType, [assetId: u32, metadata: OrmlTraitsAssetRegistryAssetMetadata], {
assetId: u32;
metadata: OrmlTraitsAssetRegistryAssetMetadata;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
bootstrap: {
/**
* account whitelisted
**/
AccountsWhitelisted: AugmentedEvent<ApiType, []>;
/**
* finalization process finished
**/
BootstrapFinalized: AugmentedEvent<ApiType, []>;
/**
* bootstrap pre finalization has completed partially
**/
BootstrapParitallyPreFinalized: AugmentedEvent<ApiType, []>;
/**
* bootstrap pre finalization has completed, and the bootstrap can now be finalized
**/
BootstrapReadyToBeFinalized: AugmentedEvent<ApiType, []>;
/**
* Funds provisioned
**/
Provisioned: AugmentedEvent<ApiType, [u32, u128]>;
/**
* Rewards claimed
**/
RewardsClaimed: AugmentedEvent<ApiType, [u32, u128]>;
/**
* The activation of the rewards liquidity tokens failed
**/
RewardsLiquidityAcitvationFailed: AugmentedEvent<ApiType, [AccountId32, u32, u128]>;
/**
* Funds provisioned using vested tokens
**/
VestedProvisioned: AugmentedEvent<ApiType, [u32, u128]>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
council: {
/**
* A motion was approved by the required threshold.
**/
Approved: AugmentedEvent<ApiType, [proposalHash: H256], {
proposalHash: H256;
}>;
/**
* A proposal was closed because its threshold was reached or after its duration was up.
**/
Closed: AugmentedEvent<ApiType, [proposalHash: H256, yes: u32, no: u32], {
proposalHash: H256;
yes: u32;
no: u32;
}>;
/**
* A motion was not approved by the required threshold.
**/
Disapproved: AugmentedEvent<ApiType, [proposalHash: H256], {
proposalHash: H256;
}>;
/**
* A motion was executed; result will be `Ok` if it returned without error.
**/
Executed: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
proposalHash: H256;
result: Result<Null, SpRuntimeDispatchError>;
}>;
/**
* A single member did some action; result will be `Ok` if it returned without error.
**/
MemberExecuted: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
proposalHash: H256;
result: Result<Null, SpRuntimeDispatchError>;
}>;
/**
* The members have been changed
**/
MembersChanged: AugmentedEvent<ApiType, [newMembers: Vec<AccountId32>], {
newMembers: Vec<AccountId32>;
}>;
/**
* The Prime member has been set
**/
PrimeSet: AugmentedEvent<ApiType, [newPrime: Option<AccountId32>], {
newPrime: Option<AccountId32>;
}>;
/**
* A motion (given hash) has been proposed (by given account) with a threshold (given
* `MemberCount`).
**/
Proposed: AugmentedEvent<ApiType, [account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32], {
account: AccountId32;
proposalIndex: u32;
proposalHash: H256;
threshold: u32;
}>;
/**
* A motion (given hash) has been voted on by given account, leaving
* a tally (yes votes and no votes given respectively as `MemberCount`).
**/
Voted: AugmentedEvent<ApiType, [account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32], {
account: AccountId32;
proposalHash: H256;
voted: bool;
yes: u32;
no: u32;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
crowdloan: {
/**
* When initializing the reward vec an already initialized account was found
**/
InitializedAccountWithNotEnoughContribution: AugmentedEvent<ApiType, [AccountId32, Option<AccountId32>, u128]>;
/**
* When initializing the reward vec an already initialized account was found
**/
InitializedAlreadyInitializedAccount: AugmentedEvent<ApiType, [AccountId32, Option<AccountId32>, u128]>;
/**
* The initial payment of InitializationPayment % was paid
**/
InitialPaymentMade: AugmentedEvent<ApiType, [AccountId32, u128]>;
/**
* Someone has proven they made a contribution and associated a native identity with it.
* Data is the relay account, native account and the total amount of _rewards_ that will be paid
**/
NativeIdentityAssociated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
/**
* A contributor has updated the reward address.
**/
RewardAddressUpdated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
/**
* A contributor has claimed some rewards.
* Data is the account getting paid and the amount of rewards paid.
**/
RewardsPaid: AugmentedEvent<ApiType, [AccountId32, u128]>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
cumulusXcm: {
/**
* Downward message executed with the given outcome.
* \[ id, outcome \]
**/
ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, StagingXcmV3TraitsOutcome]>;
/**
* Downward message is invalid XCM.
* \[ id \]
**/
InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;
/**
* Downward message is unsupported version of XCM.
* \[ id \]
**/
UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
dmpQueue: {
/**
* Downward message executed with the given outcome.
**/
ExecutedDownward: AugmentedEvent<ApiType, [messageHash: U8aFixed, messageId: U8aFixed, outcome: StagingXcmV3TraitsOutcome], {
messageHash: U8aFixed;
messageId: U8aFixed;
outcome: StagingXcmV3TraitsOutcome;
}>;
/**
* Downward message is invalid XCM.
**/
InvalidFormat: AugmentedEvent<ApiType, [messageHash: U8aFixed], {
messageHash: U8aFixed;
}>;
/**
* The maximum number of downward messages was reached.
**/
MaxMessagesExhausted: AugmentedEvent<ApiType, [messageHash: U8aFixed], {
messageHash: U8aFixed;
}>;
/**
* Downward message is overweight and was placed in the overweight queue.
**/
OverweightEnqueued: AugmentedEvent<ApiType, [messageHash: U8aFixed, messageId: U8aFixed, overweightIndex: u64, requiredWeight: SpWeightsWeightV2Weight], {
messageHash: U8aFixed;
messageId: U8aFixed;
overweightIndex: u64;
requiredWeight: SpWeightsWeightV2Weight;
}>;
/**
* Downward message from the overweight queue was executed.
**/
OverweightServiced: AugmentedEvent<ApiType, [overweightIndex: u64, weightUsed: SpWeightsWeightV2Weight], {
overweightIndex: u64;
weightUsed: SpWeightsWeightV2Weight;
}>;
/**
* Downward message is unsupported version of XCM.
**/
UnsupportedVersion: AugmentedEvent<ApiType, [messageHash: U8aFixed], {
messageHash: U8aFixed;
}>;
/**
* The weight limit for handling downward messages was reached.
**/
WeightExhausted: AugmentedEvent<ApiType, [messageHash: U8aFixed, messageId: U8aFixed, remainingWeight: SpWeightsWeightV2Weight, requiredWeight: SpWeightsWeightV2Weight], {
messageHash: U8aFixed;
messageId: U8aFixed;
remainingWeight: SpWeightsWeightV2Weight;
requiredWeight: SpWeightsWeightV2Weight;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
feeLock: {
FeeLocked: AugmentedEvent<ApiType, [who: AccountId32, lockAmount: u128, totalLocked: u128], {
who: AccountId32;
lockAmount: u128;
totalLocked: u128;
}>;
FeeLockMetadataUpdated: AugmentedEvent<ApiType, []>;
FeeLockUnlocked: AugmentedEvent<ApiType, [AccountId32, u128]>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
identity: {
/**
* A name was cleared, and the given balance returned.
**/
IdentityCleared: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], {
who: AccountId32;
deposit: u128;
}>;
/**
* A name was removed and the given balance slashed.
**/
IdentityKilled: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], {
who: AccountId32;
deposit: u128;
}>;
/**
* A name was set or reset (which will remove all judgements).
**/
IdentitySet: AugmentedEvent<ApiType, [who: AccountId32], {
who: AccountId32;
}>;
/**
* A judgement was given by a registrar.
**/
JudgementGiven: AugmentedEvent<ApiType, [target: AccountId32, registrarIndex: u32], {
target: AccountId32;
registrarIndex: u32;
}>;
/**
* A judgement was asked from a registrar.
**/
JudgementRequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], {
who: AccountId32;
registrarIndex: u32;
}>;
/**
* A judgement request was retracted.
**/
JudgementUnrequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], {
who: AccountId32;
registrarIndex: u32;
}>;
/**
* A registrar was added.
**/
RegistrarAdded: AugmentedEvent<ApiType, [registrarIndex: u32], {
registrarIndex: u32;
}>;
/**
* A sub-identity was added to an identity and the deposit paid.
**/
SubIdentityAdded: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], {
sub: AccountId32;
main: AccountId32;
deposit: u128;
}>;
/**
* A sub-identity was removed from an identity and the deposit freed.
**/
SubIdentityRemoved: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], {
sub: AccountId32;
main: AccountId32;
deposit: u128;
}>;
/**
* A sub-identity was cleared, and the given deposit repatriated from the
* main identity account to the sub-identity account.
**/
SubIdentityRevoked: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], {
sub: AccountId32;
main: AccountId32;
deposit: u128;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
issuance: {
/**
* Issuance configuration has been finalized
**/
IssuanceConfigInitialized: AugmentedEvent<ApiType, [PalletIssuanceIssuanceInfo]>;
/**
* Issuance for upcoming session issued
**/
SessionIssuanceIssued: AugmentedEvent<ApiType, [u32, u128, u128]>;
/**
* Issuance for upcoming session calculated and recorded
**/
SessionIssuanceRecorded: AugmentedEvent<ApiType, [u32, u128, u128]>;
/**
* TGE has been finalized
**/
TGEFinalized: AugmentedEvent<ApiType, []>;
/**
* A TGE instance has failed
**/
TGEInstanceFailed: AugmentedEvent<ApiType, [PalletIssuanceTgeInfo]>;
/**
* A TGE instance has succeeded
**/
TGEInstanceSucceeded: AugmentedEvent<ApiType, [PalletIssuanceTgeInfo]>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
maintenance: {
/**
* Maintenance mode has been switched off
**/
MaintenanceModeSwitchedOff: AugmentedEvent<ApiType, [AccountId32]>;
/**
* Maintenance mode has been switched on
**/
MaintenanceModeSwitchedOn: AugmentedEvent<ApiType, [AccountId32]>;
/**
* Upgradablilty in maintenance mode has been switched off
**/
UpgradabilityInMaintenanceModeSwitchedOff: AugmentedEvent<ApiType, [AccountId32]>;
/**
* Upgradablilty in maintenance mode has been switched on
**/
UpgradabilityInMaintenanceModeSwitchedOn: AugmentedEvent<ApiType, [AccountId32]>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
multiPurposeLiquidity: {
TokensRelockedFromReserve: AugmentedEvent<ApiType, [AccountId32, u32, u128, u128]>;
VestingTokensReserved: AugmentedEvent<ApiType, [AccountId32, u32, u128]>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
ormlXcm: {
/**
* XCM message sent. \[to, message\]
**/
Sent: AugmentedEvent<ApiType, [to: StagingXcmV3MultiLocation, message: StagingXcmV3Xcm], {
to: StagingXcmV3MultiLocation;
message: StagingXcmV3Xcm;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
parachainStaking: {
/**
* An agggregator's metadata has been updated
**/
AggregatorMetadataUpdated: AugmentedEvent<ApiType, [AccountId32]>;
/**
* Candidate, Cancelled Request
**/
CancelledCandidateBondChange: AugmentedEvent<ApiType, [AccountId32, ParachainStakingCandidateBondRequest]>;
/**
* Candidate
**/
CancelledCandidateExit: AugmentedEvent<ApiType, [AccountId32]>;
/**
* Delegator, Cancelled Request
**/
CancelledDelegationRequest: AugmentedEvent<ApiType, [AccountId32, ParachainStakingDelegationRequest]>;
/**
* A candidate updated aggregator
**/
CandidateAggregatorUpdated: AugmentedEvent<ApiType, [AccountId32, Option<AccountId32>]>;
/**
* Round Online, Candidate
**/
CandidateBackOnline: AugmentedEvent<ApiType, [u32, AccountId32]>;
/**
* Candidate, Amount, New Bond
**/
CandidateBondedLess: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
/**
* Candidate, Amount, New Bond Total
**/
CandidateBondedMore: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
/**
* Candidate, Amount To Decrease, Round at which request can be executed by caller
**/
CandidateBondLessRequested: AugmentedEvent<ApiType, [AccountId32, u128, u32]>;
/**
* Candidate, Amount To Increase, Round at which request can be executed by caller
**/
CandidateBondMoreRequested: AugmentedEvent<ApiType, [AccountId32, u128, u32]>;
/**
* Ex-Candidate, Amount Unlocked, New Total Amt Locked
**/
CandidateLeft: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
/**
* Round At Which Exit Is Allowed, Candidate, Scheduled Exit
**/
CandidateScheduledExit: AugmentedEvent<ApiType, [u32, AccountId32, u32]>;
/**
* Round Offline, Candidate
**/
CandidateWentOffline: AugmentedEvent<ApiType, [u32, AccountId32]>;
/**
* Round, Collator Account, Total Exposed Amount (includes all delegations)
**/
CollatorChosen: AugmentedEvent<ApiType, [u32, AccountId32, u128]>;
/**
* Set collator commission to this value [old, new]
**/
CollatorCommissionSet: AugmentedEvent<ApiType, [Perbill, Perbill]>;
/**
* Notify about reward periods that has been paid (collator, payout rounds, any rewards left)
**/
CollatorRewardsDistributed: AugmentedEvent<ApiType, [AccountId32, ParachainStakingPayoutRounds]>;
/**
* Delegator, Amount Locked, Candidate, Delegator Position with New Total Counted if in Top
**/
Delegation: AugmentedEvent<ApiType, [AccountId32, u128, AccountId32, ParachainStakingDelegatorAdded]>;
DelegationDecreased: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, bool]>;
/**
* Delegator, Candidate, Amount to be decreased, Round at which can be executed
**/
DelegationDecreaseScheduled: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, u32]>;
DelegationIncreased: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, bool]>;
/**
* Delegator, Candidate, Amount to be increased, Round at which can be executed
**/
DelegationIncreaseScheduled: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, u32]>;
/**
* Round, Delegator, Candidate, Scheduled Exit
**/
DelegationRevocationScheduled: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, u32]>;
/**
* Delegator, Candidate, Amount Unstaked
**/
DelegationRevoked: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
/**
* Session index, Delegator, Collator, Due reward (as per counted delegation for collator)
**/
DelegatorDueReward: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, u128]>;
/**
* Delegator
**/
DelegatorExitCancelled: AugmentedEvent<ApiType, [AccountId32]>;
/**
* Round, Delegator, Scheduled Exit
**/
DelegatorExitScheduled: AugmentedEvent<ApiType, [u32, AccountId32, u32]>;
/**
* Delegator, Amount Unstaked
**/
DelegatorLeft: AugmentedEvent<ApiType, [AccountId32, u128]>;
/**
* Delegator, Candidate, Amount Unstaked, New Total Amt Staked for Candidate
**/
DelegatorLeftCandidate: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, u128]>;
/**
* Account, Amount Locked, New Total Amt Locked
**/
JoinedCollatorCandidates: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
/**
* Starting Block, Round, Number of Collators Selected, Total Balance
**/
NewRound: AugmentedEvent<ApiType, [u32, u32, u32, u128]>;
/**
* Paid the account (delegator or collator) the balance as liquid rewards
**/
Rewarded: AugmentedEvent<ApiType, [u32, AccountId32, u128]>;
/**
* Staking expectations set
**/
StakeExpectationsSet: AugmentedEvent<ApiType, [u128, u128, u128]>;
/**
* Set total selected candidates to this value [old, new]
**/
TotalSelectedSet: AugmentedEvent<ApiType, [u32, u32]>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
parachainSystem: {
/**
* Downward messages were processed using the given weight.
**/
DownwardMessagesProcessed: AugmentedEvent<ApiType, [weightUsed: SpWeightsWeightV2Weight, dmqHead: H256], {
weightUsed: SpWeightsWeightV2Weight;
dmqHead: H256;
}>;
/**
* Some downward messages have been received and will be processed.
**/
DownwardMessagesReceived: AugmentedEvent<ApiType, [count: u32], {
count: u32;
}>;
/**
* An upgrade has been authorized.
**/
UpgradeAuthorized: AugmentedEvent<ApiType, [codeHash: H256], {
codeHash: H256;
}>;
/**
* An upward message was sent to the relay chain.
**/
UpwardMessageSent: AugmentedEvent<ApiType, [messageHash: Option<U8aFixed>], {
messageHash: Option<U8aFixed>;
}>;
/**
* The validation function was applied as of the contained relay chain block number.
**/
ValidationFunctionApplied: AugmentedEvent<ApiType, [relayChainBlockNum: u32], {
relayChainBlockNum: u32;
}>;
/**
* The relay-chain aborted the upgrade process.
**/
ValidationFunctionDiscarded: AugmentedEvent<ApiType, []>;
/**
* The validation function has been scheduled to apply.
**/
ValidationFunctionStored: AugmentedEvent<ApiType, []>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
polkadotXcm: {
/**
* Some assets have been claimed from an asset trap
**/
AssetsClaimed: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV3MultiLocation, assets: StagingXcmVersionedMultiAssets], {
hash_: H256;
origin: StagingXcmV3MultiLocation;
assets: StagingXcmVersionedMultiAssets;
}>;
/**
* Some assets have been placed in an asset trap.
**/
AssetsTrapped: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV3MultiLocation, assets: StagingXcmVersionedMultiAssets], {
hash_: H256;
origin: StagingXcmV3MultiLocation;
assets: StagingXcmVersionedMultiAssets;
}>;
/**
* Execution of an XCM message was attempted.
**/
Attempted: AugmentedEvent<ApiType, [outcome: StagingXcmV3TraitsOutcome], {
outcome: StagingXcmV3TraitsOutcome;
}>;
/**
* Fees were paid from a location for an operation (often for using `SendXcm`).
**/
FeesPaid: AugmentedEvent<ApiType, [paying: StagingXcmV3MultiLocation, fees: StagingXcmV3MultiassetMultiAssets], {
paying: StagingXcmV3MultiLocation;
fees: StagingXcmV3MultiassetMultiAssets;
}>;
/**
* Expected query response has been received but the querier location of the response does
* not match the expected. The query remains registered for a later, valid, response to
* be received and acted upon.
**/
InvalidQuerier: AugmentedEvent<ApiType, [origin: StagingXcmV3MultiLocation, queryId: u64, expectedQuerier: StagingXcmV3MultiLocation, maybeActualQuerier: Option<StagingXcmV3MultiLocation>], {
origin: StagingXcmV3MultiLocation;
queryId: u64;
expectedQuerier: StagingXcmV3MultiLocation;
maybeActualQuerier: Option<StagingXcmV3MultiLocation>;
}>;
/**
* Expected query response has been received but the expected querier location placed in
* storage by this runtime previously cannot be decoded. The query remains registered.
*
* This is unexpected (since a location placed in storage in a previously executing
* runtime should be readable prior to query timeout) and dangerous since the possibly
* valid response will be dropped. Manual governance intervention is probably going to be
* needed.
**/
InvalidQuerierVersion: AugmentedEvent<ApiType, [origin: StagingXcmV3MultiLocation, queryId: u64], {
origin: StagingXcmV3MultiLocation;
queryId: u64;
}>;
/**
* Expected query response has been received but the origin location of the response does
* not match that expected. The query remains registered for a later, valid, response to
* be received and acted upon.
**/
InvalidResponder: AugmentedEvent<ApiType, [origin: StagingXcmV3MultiLocation, queryId: u64, expectedLocation: Option<StagingXcmV3MultiLocation>], {
origin: StagingXcmV3MultiLocation;
queryId: u64;
expectedLocation: Option<StagingXcmV3MultiLocation>;
}>;
/**
* Expected query response has been received but the expected origin location placed in
* storage by this runtime previously cannot be decoded. The query remains registered.
*
* This is unexpected (since a location placed in storage in a previously executing
* runtime should be readable prior to query timeout) and dangerous since the possibly
* valid response will be dropped. Manual governance intervention is probably going to be
* needed.
**/
InvalidResponderVersion: AugmentedEvent<ApiType, [origin: StagingXcmV3MultiLocation, queryId: u64], {
origin: StagingXcmV3MultiLocation;
queryId: u64;
}>;
/**
* Query response has been received and query is removed. The registered notification has
* been dispatched and executed successfully.
**/
Notified: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], {
queryId: u64;
palletIndex: u8;
callIndex: u8;
}>;
/**
* Query response has been received and query is removed. The dispatch was unable to be
* decoded into a `Call`; this might be due to dispatch function having a signature which
* is not `(origin, QueryId, Response)`.
**/
NotifyDecodeFailed: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], {
queryId: u64;
palletIndex: u8;
callIndex: u8;
}>;
/**
* Query response has been received and query is removed. There was a general error with
* dispatching the notification call.
**/
NotifyDispatchError: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], {
queryId: u64;
palletIndex: u8;
callIndex: u8;
}>;
/**
* Query response has been received and query is removed. The registered notification
* could not be dispatched because the dispatch weight is greater than the maximum weight
* originally budgeted by this runtime for the query result.
**/
NotifyOverweight: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8, actualWeight: SpWeightsWeightV2Weight, maxBudgetedWeight: SpWeightsWeightV2Weight], {
queryId: u64;
palletIndex: u8;
callIndex: u8;
actualWeight: SpWeightsWeightV2Weight;
maxBudgetedWeight: SpWeightsWeightV2Weight;
}>;
/**
* A given location which had a version change subscription was dropped owing to an error
* migrating the location to our new XCM format.
**/
NotifyTargetMigrationFail: AugmentedEvent<ApiType, [location: StagingXcmVersionedMultiLocation, queryId: u64], {
location: StagingXcmVersionedMultiLocation;
queryId: u64;
}>;
/**
* A given location which had a version change subscription was dropped owing to an error
* sending the notification to it.
**/
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV3MultiLocation, queryId: u64, error: StagingXcmV3TraitsError], {
location: StagingXcmV3MultiLocation;
queryId: u64;
error: StagingXcmV3TraitsError;
}>;
/**
* Query response has been received and is ready for taking with `take_response`. There is
* no registered notification call.
**/
ResponseReady: AugmentedEvent<ApiType, [queryId: u64, response: StagingXcmV3Response], {
queryId: u64;
response: StagingXcmV3Response;
}>;
/**
* Received query response has been read and removed.
**/
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], {
queryId: u64;
}>;
/**
* A XCM message was sent.
**/
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV3MultiLocation, destination: StagingXcmV3MultiLocation, message: StagingXcmV3Xcm, messageId: U8aFixed], {
origin: StagingXcmV3MultiLocation;
destination: StagingXcmV3MultiLocation;
message: StagingXcmV3Xcm;
messageId: U8aFixed;
}>;
/**
* The supported version of a location has been changed. This might be through an
* automatic notification or a manual intervention.
**/
SupportedVersionChanged: AugmentedEvent<ApiType, [location: StagingXcmV3MultiLocation, version: u32], {
location: StagingXcmV3MultiLocation;
version: u32;
}>;
/**
* Query response received which does not match a registered query. This may be because a
* matching query was never registered, it may be because it is a duplicate response, or
* because the query timed out.
**/
UnexpectedResponse: AugmentedEvent<ApiType, [origin: StagingXcmV3MultiLocation, queryId: u64], {
origin: StagingXcmV3MultiLocation;
queryId: u64;
}>;
/**
* An XCM version change notification message has been attempted to be sent.
*
* The cost of sending it (borne by the chain) is included.
**/
VersionChangeNotified: AugmentedEvent<ApiType, [destination: StagingXcmV3MultiLocation, result: u32, cost: StagingXcmV3MultiassetMultiAssets, messageId: U8aFixed], {
destination: StagingXcmV3MultiLocation;
result: u32;
cost: StagingXcmV3MultiassetMultiAssets;
messageId: U8aFixed;
}>;
/**
* We have requested that a remote chain send us XCM version change notifications.
**/
VersionNotifyRequested: AugmentedEvent<ApiType, [destination: StagingXcmV3MultiLocation, cost: StagingXcmV3MultiassetMultiAssets, messageId: U8aFixed], {
destination: StagingXcmV3MultiLocation;
cost: StagingXcmV3MultiassetMultiAssets;
messageId: U8aFixed;
}>;
/**
* A remote has requested XCM version change notification from us and we have honored it.
* A version information message is sent to them and its cost is included.
**/
VersionNotifyStarted: AugmentedEvent<ApiType, [destination: StagingXcmV3MultiLocation, cost: StagingXcmV3MultiassetMultiAssets, messageId: U8aFixed], {
destination: StagingXcmV3MultiLocation;
cost: StagingXcmV3MultiassetMultiAssets;
messageId: U8aFixed;
}>;
/**
* We have requested that a remote chain stops sending us XCM version change
* notifications.
**/
VersionNotifyUnrequested: AugmentedEvent<ApiType, [destination: StagingXcmV3MultiLocation, cost: StagingXcmV3MultiassetMultiAssets, messageId: U8aFixed], {
destination: StagingXcmV3MultiLocation;
cost: StagingXcmV3MultiassetMultiAssets;
messageId: U8aFixed;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
proofOfStake: {
LiquidityActivated: AugmentedEvent<ApiType, [AccountId32, u32, u128]>;
LiquidityDeactivated: AugmentedEvent<ApiType, [AccountId32, u32, u128]>;
PoolPromotionUpdated: AugmentedEvent<ApiType, [u32, Option<u8>]>;
RewardsClaimed: AugmentedEvent<ApiType, [AccountId32, u32, u128]>;
ThirdPartyLiquidityActivated: AugmentedEvent<ApiType, [AccountId32, u32, u32, u128]>;
ThirdPartyLiquidityDeactivated: AugmentedEvent<ApiType, [AccountId32, u32, u32, u128]>;
ThirdPartyRewardsClaimed: AugmentedEvent<ApiType, [AccountId32, u32, u32, u128]>;
ThirdPartySuccessfulPoolPromotion: AugmentedEvent<ApiType, [AccountId32, u32, u32, u128]>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
proxy: {
/**
* An announcement was placed to make a call in the future.
**/
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], {
real: AccountId32;
proxy: AccountId32;
callHash: H256;
}>;
/**
* A proxy was added.
**/
ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: CommonRuntimeConfigPalletProxyProxyType, delay: u32], {
delegator: AccountId32;
delegatee: AccountId32;
proxyType: CommonRuntimeConfigPalletProxyProxyType;
delay: u32;
}>;
/**
* A proxy was executed correctly, with the given.
**/
ProxyExecuted: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
result: Result<Null, SpRuntimeDispatchError>;
}>;
/**
* A proxy was removed.
**/
ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: CommonRuntimeConfigPalletProxyProxyType, delay: u32], {
delegator: AccountId32;
delegatee: AccountId32;
proxyType: CommonRuntimeConfigPalletProxyProxyType;
delay: u32;
}>;
/**
* A pure account has been created by new proxy with given
* disambiguation index and proxy type.
**/
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: CommonRuntimeConfigPalletProxyProxyType, disambiguationIndex: u16], {
pure: AccountId32;
who: AccountId32;
proxyType: CommonRuntimeConfigPalletProxyProxyType;
disambiguationIndex: u16;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
session: {
/**
* New session has happened. Note that the argument is the session index, not the
* block number as the type might suggest.
**/
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
sessionIndex: u32;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
sudo: {
/**
* The \[sudoer\] just switched identity; the old key is supplied if one existed.
**/
KeyChanged: AugmentedEvent<ApiType, [oldSudoer: Option<AccountId32>], {
oldSudoer: Option<AccountId32>;
}>;
/**
* A sudo just took place. \[result\]
**/
Sudid: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], {
sudoResult: Result<Null, SpRuntimeDispatchError>;
}>;
/**
* A sudo just took place. \[result\]
**/
SudoAsDone: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], {
sudoResult: Result<Null, SpRuntimeDispatchError>;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
sudoOrigin: {
/**
* A sudo just took place. \[result\]
**/
SuOriginDid: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
/**
* A sudo just took place. \[result\]
**/
SuOriginDoAsDone: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
system: {
/**
* `:code` was updated.
**/
CodeUpdated: AugmentedEvent<ApiType, []>;
/**
* An extrinsic failed.
**/
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], {
dispatchError: SpRuntimeDispatchError;
dispatchInfo: FrameSupportDispatchDispatchInfo;
}>;
/**
* An extrinsic completed successfully.
**/
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], {
dispatchInfo: FrameSupportDispatchDispatchInfo;
}>;
/**
* An account was reaped.
**/
KilledAccount: AugmentedEvent<ApiType, [account: AccountId32], {
account: AccountId32;
}>;
/**
* A new account was created.
**/
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], {
account: AccountId32;
}>;
/**
* On on-chain remark happened.
**/
Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], {
sender: AccountId32;
hash_: H256;
}>;
/**
* On stored txs
**/
TxsEnqueued: AugmentedEvent<ApiType, [count: u64], {
count: u64;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
tokens: {
/**
* A balance was set by root.
**/
BalanceSet: AugmentedEvent<ApiType, [currencyId: u32, who: AccountId32, free: u128, reserved: u128], {
currencyId: u32;
who: AccountId32;
free: u128;
reserved: u128;
}>;
/**
* A token was issued.
**/
Created: AugmentedEvent<ApiType, [u32, AccountId32, u128]>;
/**
* Deposited some balance into an account
**/
Deposited: AugmentedEvent<ApiType, [currencyId: u32, who: AccountId32, amount: u128], {
currencyId: u32;
who: AccountId32;
amount: u128;
}>;
/**
* An account was removed whose balance was non-zero but below
* ExistentialDeposit, resulting in an outright loss.
**/
DustLost: AugmentedEvent<ApiType, [currencyId: u32, who: AccountId32, amount: u128], {
currencyId: u32;
who: AccountId32;
amount: u128;
}>;
/**
* An account was created with some free balance.
**/
Endowed: AugmentedEvent<ApiType, [currencyId: u32, who: AccountId32, amount: u128], {
currencyId: u32;
who: AccountId32;
amount: u128;
}>;
Issued: AugmentedEvent<ApiType, [currencyId: u32, amount: u128], {
currencyId: u32;
amount: u128;
}>;
/**
* Some free balance was locked.
**/
Locked: AugmentedEvent<ApiType, [currencyId: u32, who: AccountId32, amount: u128], {
currencyId: u32;
who: AccountId32;
amount: u128;
}>;
/**
* Some locked funds were unlocked
**/
LockRemoved: AugmentedEvent<ApiType, [lockId: U8aFixed, currencyId: u32, who: AccountId32], {
lockId: U8aFixed;
currencyId: u32;
who: AccountId32;
}>;
/**
* Some funds are locked
**/
LockSet: AugmentedEvent<ApiType, [lockId: U8aFixed, currencyId: u32, who: AccountId32, amount: u128], {
lockId: U8aFixed;
currencyId: u32;
who: AccountId32;
amount: u128;
}>;
/**
* A token was minted.
**/
Minted: AugmentedEvent<ApiType, [u32, AccountId32, u128]>;
Rescinded: AugmentedEvent<ApiType, [currencyId: u32, amount: u128], {
currencyId: u32;
amount: u128;
}>;
/**
* Some balance was reserved (moved from free to reserved).
**/
Reserved: AugmentedEvent<ApiType, [currencyId: u32, who: AccountId32, amount: u128], {
currencyId: u32;
who: AccountId32;
amount: u128;
}>;
/**
* Some reserved balance was repatriated (moved from reserved to
* another account).
**/
ReserveRepatriated: AugmentedEvent<ApiType, [currencyId: u32, from: AccountId32, to: AccountId32, amount: u128, status: FrameSupportTokensMiscBalanceStatus], {
currencyId: u32;
from: AccountId32;
to: AccountId32;
amount: u128;
status: FrameSupportTokensMiscBalanceStatus;
}>;
/**
* Some balances were slashed (e.g. due to mis-behavior)
**/
Slashed: AugmentedEvent<ApiType, [currencyId: u32, who: AccountId32, freeAmount: u128, reservedAmount: u128], {
currencyId: u32;
who: AccountId32;
freeAmount: u128;
reservedAmount: u128;
}>;
/**
* The total issuance of an currency has been set
**/
TotalIssuanceSet: AugmentedEvent<ApiType, [currencyId: u32, amount: u128], {
currencyId: u32;
amount: u128;
}>;
/**
* Transfer succeeded.
**/
Transfer: AugmentedEvent<ApiType, [currencyId: u32, from: AccountId32, to: AccountId32, amount: u128], {
currencyId: u32;
from: AccountId32;
to: AccountId32;
amount: u128;
}>;
/**
* Some locked balance was freed.
**/
Unlocked: AugmentedEvent<ApiType, [currencyId: u32, who: AccountId32, amount: u128], {
currencyId: u32;
who: AccountId32;
amount: u128;
}>;
/**
* Some balance was unreserved (moved from reserved to free).
**/
Unreserved: AugmentedEvent<ApiType, [currencyId: u32, who: AccountId32, amount: u128], {
currencyId: u32;
who: AccountId32;
amount: u128;
}>;
/**
* Some balances were withdrawn (e.g. pay for transaction fee)
**/
Withdrawn: AugmentedEvent<ApiType, [currencyId: u32, who: AccountId32, amount: u128], {
currencyId: u32;
who: AccountId32;
amount: u128;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
transactionPayment: {
/**
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
* has been paid by `who`.
**/
TransactionFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128], {
who: AccountId32;
actualFee: u128;
tip: u128;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
treasury: {
/**
* Some funds have been allocated.
**/
Awarded: AugmentedEvent<ApiType, [proposalIndex: u32, award: u128, account: AccountId32], {
proposalIndex: u32;
award: u128;
account: AccountId32;
}>;
/**
* Some of our funds have been burnt.
**/
Burnt: AugmentedEvent<ApiType, [burntFunds: u128], {
burntFunds: u128;