@moonbeam-network/api-augment
Version:
Moonbeam types augment for @polkadot/api
1,597 lines (1,593 loc) • 85.9 kB
text/typescript
// Auto-generated via `yarn polkadot-types-from-chain`, 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/api-base/types/events";
import type { ApiTypes, AugmentedEvent } from "@polkadot/api-base/types";
import type {
Bytes,
Null,
Option,
Result,
U256,
U8aFixed,
bool,
u128,
u16,
u32,
u64,
u8
} from "@polkadot/types-codec";
import type { ITuple } from "@polkadot/types-codec/types";
import type { AccountId20, H160, H256, Perbill, Percent } from "@polkadot/types/interfaces/runtime";
import type {
CumulusPrimitivesCoreAggregateMessageOrigin,
EthereumLog,
EvmCoreErrorExitReason,
FrameSupportDispatchDispatchInfo,
FrameSupportDispatchPostDispatchInfo,
FrameSupportMessagesProcessMessageError,
FrameSupportPreimagesBounded,
FrameSupportTokensMiscBalanceStatus,
MoonriverRuntimeAssetConfigAssetRegistrarMetadata,
MoonriverRuntimeProxyType,
MoonriverRuntimeRuntimeParamsRuntimeParametersKey,
MoonriverRuntimeRuntimeParamsRuntimeParametersValue,
MoonriverRuntimeXcmConfigAssetType,
NimbusPrimitivesNimbusCryptoPublic,
PalletConvictionVotingTally,
PalletConvictionVotingVoteAccountVote,
PalletMultisigTimepoint,
PalletParachainStakingDelegationRequestsCancelledScheduledRequest,
PalletParachainStakingDelegatorAdded,
PalletParachainStakingInflationDistributionConfig,
PalletXcmTransactorHrmpOperation,
PalletXcmTransactorRemoteTransactInfoWithMaxWeight,
SessionKeysPrimitivesVrfVrfCryptoPublic,
SpRuntimeDispatchError,
SpRuntimeDispatchErrorWithPostInfo,
SpWeightsWeightV2Weight,
StagingXcmV4AssetAssets,
StagingXcmV4Location,
StagingXcmV4Response,
StagingXcmV4TraitsOutcome,
StagingXcmV4Xcm,
XcmV3TraitsError,
XcmVersionedAssets,
XcmVersionedLocation
} from "@polkadot/types/lookup";
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
declare module "@polkadot/api-base/types/events" {
interface AugmentedEvents<ApiType extends ApiTypes> {
assetManager: {
/**
* Removed all information related to an assetId and destroyed asset
**/
ForeignAssetDestroyed: AugmentedEvent<
ApiType,
[assetId: u128, assetType: MoonriverRuntimeXcmConfigAssetType],
{ assetId: u128; assetType: MoonriverRuntimeXcmConfigAssetType }
>;
/**
* New asset with the asset manager is registered
**/
ForeignAssetRegistered: AugmentedEvent<
ApiType,
[
assetId: u128,
asset: MoonriverRuntimeXcmConfigAssetType,
metadata: MoonriverRuntimeAssetConfigAssetRegistrarMetadata
],
{
assetId: u128;
asset: MoonriverRuntimeXcmConfigAssetType;
metadata: MoonriverRuntimeAssetConfigAssetRegistrarMetadata;
}
>;
/**
* Removed all information related to an assetId
**/
ForeignAssetRemoved: AugmentedEvent<
ApiType,
[assetId: u128, assetType: MoonriverRuntimeXcmConfigAssetType],
{ assetId: u128; assetType: MoonriverRuntimeXcmConfigAssetType }
>;
/**
* Changed the xcm type mapping for a given asset id
**/
ForeignAssetXcmLocationChanged: AugmentedEvent<
ApiType,
[assetId: u128, newAssetType: MoonriverRuntimeXcmConfigAssetType],
{ assetId: u128; newAssetType: MoonriverRuntimeXcmConfigAssetType }
>;
/**
* Removed all information related to an assetId and destroyed asset
**/
LocalAssetDestroyed: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
/**
* Supported asset type for fee payment removed
**/
SupportedAssetRemoved: AugmentedEvent<
ApiType,
[assetType: MoonriverRuntimeXcmConfigAssetType],
{ assetType: MoonriverRuntimeXcmConfigAssetType }
>;
/**
* Changed the amount of units we are charging per execution second for a given asset
**/
UnitsPerSecondChanged: AugmentedEvent<ApiType, []>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
assets: {
/**
* Accounts were destroyed for given asset.
**/
AccountsDestroyed: AugmentedEvent<
ApiType,
[assetId: u128, accountsDestroyed: u32, accountsRemaining: u32],
{ assetId: u128; accountsDestroyed: u32; accountsRemaining: u32 }
>;
/**
* An approval for account `delegate` was cancelled by `owner`.
**/
ApprovalCancelled: AugmentedEvent<
ApiType,
[assetId: u128, owner: AccountId20, delegate: AccountId20],
{ assetId: u128; owner: AccountId20; delegate: AccountId20 }
>;
/**
* Approvals were destroyed for given asset.
**/
ApprovalsDestroyed: AugmentedEvent<
ApiType,
[assetId: u128, approvalsDestroyed: u32, approvalsRemaining: u32],
{ assetId: u128; approvalsDestroyed: u32; approvalsRemaining: u32 }
>;
/**
* (Additional) funds have been approved for transfer to a destination account.
**/
ApprovedTransfer: AugmentedEvent<
ApiType,
[assetId: u128, source: AccountId20, delegate: AccountId20, amount: u128],
{ assetId: u128; source: AccountId20; delegate: AccountId20; amount: u128 }
>;
/**
* Some asset `asset_id` was frozen.
**/
AssetFrozen: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
/**
* The min_balance of an asset has been updated by the asset owner.
**/
AssetMinBalanceChanged: AugmentedEvent<
ApiType,
[assetId: u128, newMinBalance: u128],
{ assetId: u128; newMinBalance: u128 }
>;
/**
* An asset has had its attributes changed by the `Force` origin.
**/
AssetStatusChanged: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
/**
* Some asset `asset_id` was thawed.
**/
AssetThawed: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
/**
* Some account `who` was blocked.
**/
Blocked: AugmentedEvent<
ApiType,
[assetId: u128, who: AccountId20],
{ assetId: u128; who: AccountId20 }
>;
/**
* Some assets were destroyed.
**/
Burned: AugmentedEvent<
ApiType,
[assetId: u128, owner: AccountId20, balance: u128],
{ assetId: u128; owner: AccountId20; balance: u128 }
>;
/**
* Some asset class was created.
**/
Created: AugmentedEvent<
ApiType,
[assetId: u128, creator: AccountId20, owner: AccountId20],
{ assetId: u128; creator: AccountId20; owner: AccountId20 }
>;
/**
* Some assets were deposited (e.g. for transaction fees).
**/
Deposited: AugmentedEvent<
ApiType,
[assetId: u128, who: AccountId20, amount: u128],
{ assetId: u128; who: AccountId20; amount: u128 }
>;
/**
* An asset class was destroyed.
**/
Destroyed: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
/**
* An asset class is in the process of being destroyed.
**/
DestructionStarted: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
/**
* Some asset class was force-created.
**/
ForceCreated: AugmentedEvent<
ApiType,
[assetId: u128, owner: AccountId20],
{ assetId: u128; owner: AccountId20 }
>;
/**
* Some account `who` was frozen.
**/
Frozen: AugmentedEvent<
ApiType,
[assetId: u128, who: AccountId20],
{ assetId: u128; who: AccountId20 }
>;
/**
* Some assets were issued.
**/
Issued: AugmentedEvent<
ApiType,
[assetId: u128, owner: AccountId20, amount: u128],
{ assetId: u128; owner: AccountId20; amount: u128 }
>;
/**
* Metadata has been cleared for an asset.
**/
MetadataCleared: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
/**
* New metadata has been set for an asset.
**/
MetadataSet: AugmentedEvent<
ApiType,
[assetId: u128, name: Bytes, symbol_: Bytes, decimals: u8, isFrozen: bool],
{ assetId: u128; name: Bytes; symbol: Bytes; decimals: u8; isFrozen: bool }
>;
/**
* The owner changed.
**/
OwnerChanged: AugmentedEvent<
ApiType,
[assetId: u128, owner: AccountId20],
{ assetId: u128; owner: AccountId20 }
>;
/**
* The management team changed.
**/
TeamChanged: AugmentedEvent<
ApiType,
[assetId: u128, issuer: AccountId20, admin: AccountId20, freezer: AccountId20],
{ assetId: u128; issuer: AccountId20; admin: AccountId20; freezer: AccountId20 }
>;
/**
* Some account `who` was thawed.
**/
Thawed: AugmentedEvent<
ApiType,
[assetId: u128, who: AccountId20],
{ assetId: u128; who: AccountId20 }
>;
/**
* Some account `who` was created with a deposit from `depositor`.
**/
Touched: AugmentedEvent<
ApiType,
[assetId: u128, who: AccountId20, depositor: AccountId20],
{ assetId: u128; who: AccountId20; depositor: AccountId20 }
>;
/**
* Some assets were transferred.
**/
Transferred: AugmentedEvent<
ApiType,
[assetId: u128, from: AccountId20, to: AccountId20, amount: u128],
{ assetId: u128; from: AccountId20; to: AccountId20; amount: u128 }
>;
/**
* An `amount` was transferred in its entirety from `owner` to `destination` by
* the approved `delegate`.
**/
TransferredApproved: AugmentedEvent<
ApiType,
[
assetId: u128,
owner: AccountId20,
delegate: AccountId20,
destination: AccountId20,
amount: u128
],
{
assetId: u128;
owner: AccountId20;
delegate: AccountId20;
destination: AccountId20;
amount: u128;
}
>;
/**
* Some assets were withdrawn from the account (e.g. for transaction fees).
**/
Withdrawn: AugmentedEvent<
ApiType,
[assetId: u128, who: AccountId20, amount: u128],
{ assetId: u128; who: AccountId20; amount: u128 }
>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
authorFilter: {
/**
* The amount of eligible authors for the filter to select has been changed.
**/
EligibleUpdated: AugmentedEvent<ApiType, [u32]>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
authorMapping: {
/**
* A NimbusId has been registered and mapped to an AccountId.
**/
KeysRegistered: AugmentedEvent<
ApiType,
[
nimbusId: NimbusPrimitivesNimbusCryptoPublic,
accountId: AccountId20,
keys_: SessionKeysPrimitivesVrfVrfCryptoPublic
],
{
nimbusId: NimbusPrimitivesNimbusCryptoPublic;
accountId: AccountId20;
keys_: SessionKeysPrimitivesVrfVrfCryptoPublic;
}
>;
/**
* An NimbusId has been de-registered, and its AccountId mapping removed.
**/
KeysRemoved: AugmentedEvent<
ApiType,
[
nimbusId: NimbusPrimitivesNimbusCryptoPublic,
accountId: AccountId20,
keys_: SessionKeysPrimitivesVrfVrfCryptoPublic
],
{
nimbusId: NimbusPrimitivesNimbusCryptoPublic;
accountId: AccountId20;
keys_: SessionKeysPrimitivesVrfVrfCryptoPublic;
}
>;
/**
* An NimbusId has been registered, replacing a previous registration and its mapping.
**/
KeysRotated: AugmentedEvent<
ApiType,
[
newNimbusId: NimbusPrimitivesNimbusCryptoPublic,
accountId: AccountId20,
newKeys: SessionKeysPrimitivesVrfVrfCryptoPublic
],
{
newNimbusId: NimbusPrimitivesNimbusCryptoPublic;
accountId: AccountId20;
newKeys: SessionKeysPrimitivesVrfVrfCryptoPublic;
}
>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
balances: {
/**
* A balance was set by root.
**/
BalanceSet: AugmentedEvent<
ApiType,
[who: AccountId20, free: u128],
{ who: AccountId20; free: u128 }
>;
/**
* Some amount was burned from an account.
**/
Burned: AugmentedEvent<
ApiType,
[who: AccountId20, amount: u128],
{ who: AccountId20; amount: u128 }
>;
/**
* Some amount was deposited (e.g. for transaction fees).
**/
Deposit: AugmentedEvent<
ApiType,
[who: AccountId20, amount: u128],
{ who: AccountId20; amount: u128 }
>;
/**
* An account was removed whose balance was non-zero but below ExistentialDeposit,
* resulting in an outright loss.
**/
DustLost: AugmentedEvent<
ApiType,
[account: AccountId20, amount: u128],
{ account: AccountId20; amount: u128 }
>;
/**
* An account was created with some free balance.
**/
Endowed: AugmentedEvent<
ApiType,
[account: AccountId20, freeBalance: u128],
{ account: AccountId20; freeBalance: u128 }
>;
/**
* Some balance was frozen.
**/
Frozen: AugmentedEvent<
ApiType,
[who: AccountId20, amount: u128],
{ who: AccountId20; amount: u128 }
>;
/**
* Total issuance was increased by `amount`, creating a credit to be balanced.
**/
Issued: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
/**
* Some balance was locked.
**/
Locked: AugmentedEvent<
ApiType,
[who: AccountId20, amount: u128],
{ who: AccountId20; amount: u128 }
>;
/**
* Some amount was minted into an account.
**/
Minted: AugmentedEvent<
ApiType,
[who: AccountId20, amount: u128],
{ who: AccountId20; amount: u128 }
>;
/**
* Total issuance was decreased by `amount`, creating a debt to be balanced.
**/
Rescinded: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
/**
* Some balance was reserved (moved from free to reserved).
**/
Reserved: AugmentedEvent<
ApiType,
[who: AccountId20, amount: u128],
{ who: AccountId20; amount: u128 }
>;
/**
* Some balance was moved from the reserve of the first account to the second account.
* Final argument indicates the destination balance type.
**/
ReserveRepatriated: AugmentedEvent<
ApiType,
[
from: AccountId20,
to: AccountId20,
amount: u128,
destinationStatus: FrameSupportTokensMiscBalanceStatus
],
{
from: AccountId20;
to: AccountId20;
amount: u128;
destinationStatus: FrameSupportTokensMiscBalanceStatus;
}
>;
/**
* Some amount was restored into an account.
**/
Restored: AugmentedEvent<
ApiType,
[who: AccountId20, amount: u128],
{ who: AccountId20; amount: u128 }
>;
/**
* Some amount was removed from the account (e.g. for misbehavior).
**/
Slashed: AugmentedEvent<
ApiType,
[who: AccountId20, amount: u128],
{ who: AccountId20; amount: u128 }
>;
/**
* Some amount was suspended from an account (it can be restored later).
**/
Suspended: AugmentedEvent<
ApiType,
[who: AccountId20, amount: u128],
{ who: AccountId20; amount: u128 }
>;
/**
* Some balance was thawed.
**/
Thawed: AugmentedEvent<
ApiType,
[who: AccountId20, amount: u128],
{ who: AccountId20; amount: u128 }
>;
/**
* The `TotalIssuance` was forcefully changed.
**/
TotalIssuanceForced: AugmentedEvent<
ApiType,
[old: u128, new_: u128],
{ old: u128; new_: u128 }
>;
/**
* Transfer succeeded.
**/
Transfer: AugmentedEvent<
ApiType,
[from: AccountId20, to: AccountId20, amount: u128],
{ from: AccountId20; to: AccountId20; amount: u128 }
>;
/**
* Some balance was unlocked.
**/
Unlocked: AugmentedEvent<
ApiType,
[who: AccountId20, amount: u128],
{ who: AccountId20; amount: u128 }
>;
/**
* Some balance was unreserved (moved from reserved to free).
**/
Unreserved: AugmentedEvent<
ApiType,
[who: AccountId20, amount: u128],
{ who: AccountId20; amount: u128 }
>;
/**
* An account was upgraded.
**/
Upgraded: AugmentedEvent<ApiType, [who: AccountId20], { who: AccountId20 }>;
/**
* Some amount was withdrawn from the account (e.g. for transaction fees).
**/
Withdraw: AugmentedEvent<
ApiType,
[who: AccountId20, amount: u128],
{ who: AccountId20; amount: u128 }
>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
convictionVoting: {
/**
* An account has delegated their vote to another account. \[who, target\]
**/
Delegated: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
/**
* An \[account\] has cancelled a previous delegation operation.
**/
Undelegated: AugmentedEvent<ApiType, [AccountId20]>;
/**
* An account that has voted
**/
Voted: AugmentedEvent<
ApiType,
[who: AccountId20, vote: PalletConvictionVotingVoteAccountVote],
{ who: AccountId20; vote: PalletConvictionVotingVoteAccountVote }
>;
/**
* A vote that been removed
**/
VoteRemoved: AugmentedEvent<
ApiType,
[who: AccountId20, vote: PalletConvictionVotingVoteAccountVote],
{ who: AccountId20; vote: PalletConvictionVotingVoteAccountVote }
>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
crowdloanRewards: {
/**
* When initializing the reward vec an already initialized account was found
**/
InitializedAccountWithNotEnoughContribution: AugmentedEvent<
ApiType,
[U8aFixed, Option<AccountId20>, u128]
>;
/**
* When initializing the reward vec an already initialized account was found
**/
InitializedAlreadyInitializedAccount: AugmentedEvent<
ApiType,
[U8aFixed, Option<AccountId20>, u128]
>;
/**
* The initial payment of InitializationPayment % was paid
**/
InitialPaymentMade: AugmentedEvent<ApiType, [AccountId20, 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, [U8aFixed, AccountId20, u128]>;
/**
* A contributor has updated the reward address.
**/
RewardAddressUpdated: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
/**
* A contributor has claimed some rewards.
* Data is the account getting paid and the amount of rewards paid.
**/
RewardsPaid: AugmentedEvent<ApiType, [AccountId20, u128]>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
cumulusXcm: {
/**
* Downward message executed with the given outcome.
* \[ id, outcome \]
**/
ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, StagingXcmV4TraitsOutcome]>;
/**
* 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>;
};
emergencyParaXcm: {
/**
* The XCM incoming execution was Paused
**/
EnteredPausedXcmMode: AugmentedEvent<ApiType, []>;
/**
* The XCM incoming execution returned to normal operation
**/
NormalXcmOperationResumed: AugmentedEvent<ApiType, []>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
ethereum: {
/**
* An ethereum transaction was successfully executed.
**/
Executed: AugmentedEvent<
ApiType,
[
from: H160,
to: H160,
transactionHash: H256,
exitReason: EvmCoreErrorExitReason,
extraData: Bytes
],
{
from: H160;
to: H160;
transactionHash: H256;
exitReason: EvmCoreErrorExitReason;
extraData: Bytes;
}
>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
ethereumXcm: {
/**
* Ethereum transaction executed from XCM
**/
ExecutedFromXcm: AugmentedEvent<
ApiType,
[xcmMsgHash: H256, ethTxHash: H256],
{ xcmMsgHash: H256; ethTxHash: H256 }
>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
evm: {
/**
* A contract has been created at given address.
**/
Created: AugmentedEvent<ApiType, [address: H160], { address: H160 }>;
/**
* A contract was attempted to be created, but the execution failed.
**/
CreatedFailed: AugmentedEvent<ApiType, [address: H160], { address: H160 }>;
/**
* A contract has been executed successfully with states applied.
**/
Executed: AugmentedEvent<ApiType, [address: H160], { address: H160 }>;
/**
* A contract has been executed with errors. States are reverted with only gas fees applied.
**/
ExecutedFailed: AugmentedEvent<ApiType, [address: H160], { address: H160 }>;
/**
* Ethereum events from contracts.
**/
Log: AugmentedEvent<ApiType, [log: EthereumLog], { log: EthereumLog }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
evmForeignAssets: {
/**
* New asset with the asset manager is registered
**/
ForeignAssetCreated: AugmentedEvent<
ApiType,
[
contractAddress: H160,
assetId: u128,
xcmLocation: StagingXcmV4Location,
deposit: Option<u128>
],
{
contractAddress: H160;
assetId: u128;
xcmLocation: StagingXcmV4Location;
deposit: Option<u128>;
}
>;
ForeignAssetFrozen: AugmentedEvent<
ApiType,
[assetId: u128, xcmLocation: StagingXcmV4Location],
{ assetId: u128; xcmLocation: StagingXcmV4Location }
>;
ForeignAssetUnfrozen: AugmentedEvent<
ApiType,
[assetId: u128, xcmLocation: StagingXcmV4Location],
{ assetId: u128; xcmLocation: StagingXcmV4Location }
>;
/**
* Changed the xcm type mapping for a given asset id
**/
ForeignAssetXcmLocationChanged: AugmentedEvent<
ApiType,
[
assetId: u128,
previousXcmLocation: StagingXcmV4Location,
newXcmLocation: StagingXcmV4Location
],
{
assetId: u128;
previousXcmLocation: StagingXcmV4Location;
newXcmLocation: StagingXcmV4Location;
}
>;
/**
* Tokens have been locked for asset creation
**/
TokensLocked: AugmentedEvent<ApiType, [AccountId20, u128, U256]>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
identity: {
/**
* A username authority was added.
**/
AuthorityAdded: AugmentedEvent<ApiType, [authority: AccountId20], { authority: AccountId20 }>;
/**
* A username authority was removed.
**/
AuthorityRemoved: AugmentedEvent<
ApiType,
[authority: AccountId20],
{ authority: AccountId20 }
>;
/**
* A dangling username (as in, a username corresponding to an account that has removed its
* identity) has been removed.
**/
DanglingUsernameRemoved: AugmentedEvent<
ApiType,
[who: AccountId20, username: Bytes],
{ who: AccountId20; username: Bytes }
>;
/**
* A name was cleared, and the given balance returned.
**/
IdentityCleared: AugmentedEvent<
ApiType,
[who: AccountId20, deposit: u128],
{ who: AccountId20; deposit: u128 }
>;
/**
* A name was removed and the given balance slashed.
**/
IdentityKilled: AugmentedEvent<
ApiType,
[who: AccountId20, deposit: u128],
{ who: AccountId20; deposit: u128 }
>;
/**
* A name was set or reset (which will remove all judgements).
**/
IdentitySet: AugmentedEvent<ApiType, [who: AccountId20], { who: AccountId20 }>;
/**
* A judgement was given by a registrar.
**/
JudgementGiven: AugmentedEvent<
ApiType,
[target: AccountId20, registrarIndex: u32],
{ target: AccountId20; registrarIndex: u32 }
>;
/**
* A judgement was asked from a registrar.
**/
JudgementRequested: AugmentedEvent<
ApiType,
[who: AccountId20, registrarIndex: u32],
{ who: AccountId20; registrarIndex: u32 }
>;
/**
* A judgement request was retracted.
**/
JudgementUnrequested: AugmentedEvent<
ApiType,
[who: AccountId20, registrarIndex: u32],
{ who: AccountId20; registrarIndex: u32 }
>;
/**
* A queued username passed its expiration without being claimed and was removed.
**/
PreapprovalExpired: AugmentedEvent<ApiType, [whose: AccountId20], { whose: AccountId20 }>;
/**
* A username was set as a primary and can be looked up from `who`.
**/
PrimaryUsernameSet: AugmentedEvent<
ApiType,
[who: AccountId20, username: Bytes],
{ who: AccountId20; username: Bytes }
>;
/**
* 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: AccountId20, main: AccountId20, deposit: u128],
{ sub: AccountId20; main: AccountId20; deposit: u128 }
>;
/**
* A sub-identity was removed from an identity and the deposit freed.
**/
SubIdentityRemoved: AugmentedEvent<
ApiType,
[sub: AccountId20, main: AccountId20, deposit: u128],
{ sub: AccountId20; main: AccountId20; 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: AccountId20, main: AccountId20, deposit: u128],
{ sub: AccountId20; main: AccountId20; deposit: u128 }
>;
/**
* A username was queued, but `who` must accept it prior to `expiration`.
**/
UsernameQueued: AugmentedEvent<
ApiType,
[who: AccountId20, username: Bytes, expiration: u32],
{ who: AccountId20; username: Bytes; expiration: u32 }
>;
/**
* A username was set for `who`.
**/
UsernameSet: AugmentedEvent<
ApiType,
[who: AccountId20, username: Bytes],
{ who: AccountId20; username: Bytes }
>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
maintenanceMode: {
/**
* The chain was put into Maintenance Mode
**/
EnteredMaintenanceMode: AugmentedEvent<ApiType, []>;
/**
* The call to resume on_idle XCM execution failed with inner error
**/
FailedToResumeIdleXcmExecution: AugmentedEvent<
ApiType,
[error: SpRuntimeDispatchError],
{ error: SpRuntimeDispatchError }
>;
/**
* The call to suspend on_idle XCM execution failed with inner error
**/
FailedToSuspendIdleXcmExecution: AugmentedEvent<
ApiType,
[error: SpRuntimeDispatchError],
{ error: SpRuntimeDispatchError }
>;
/**
* The chain returned to its normal operating state
**/
NormalOperationResumed: AugmentedEvent<ApiType, []>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
messageQueue: {
/**
* Message placed in overweight queue.
**/
OverweightEnqueued: AugmentedEvent<
ApiType,
[
id: U8aFixed,
origin: CumulusPrimitivesCoreAggregateMessageOrigin,
pageIndex: u32,
messageIndex: u32
],
{
id: U8aFixed;
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
pageIndex: u32;
messageIndex: u32;
}
>;
/**
* This page was reaped.
**/
PageReaped: AugmentedEvent<
ApiType,
[origin: CumulusPrimitivesCoreAggregateMessageOrigin, index: u32],
{ origin: CumulusPrimitivesCoreAggregateMessageOrigin; index: u32 }
>;
/**
* Message is processed.
**/
Processed: AugmentedEvent<
ApiType,
[
id: H256,
origin: CumulusPrimitivesCoreAggregateMessageOrigin,
weightUsed: SpWeightsWeightV2Weight,
success: bool
],
{
id: H256;
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
weightUsed: SpWeightsWeightV2Weight;
success: bool;
}
>;
/**
* Message discarded due to an error in the `MessageProcessor` (usually a format error).
**/
ProcessingFailed: AugmentedEvent<
ApiType,
[
id: H256,
origin: CumulusPrimitivesCoreAggregateMessageOrigin,
error: FrameSupportMessagesProcessMessageError
],
{
id: H256;
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
error: FrameSupportMessagesProcessMessageError;
}
>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
migrations: {
/**
* XCM execution resume failed with inner error
**/
FailedToResumeIdleXcmExecution: AugmentedEvent<
ApiType,
[error: SpRuntimeDispatchError],
{ error: SpRuntimeDispatchError }
>;
/**
* XCM execution suspension failed with inner error
**/
FailedToSuspendIdleXcmExecution: AugmentedEvent<
ApiType,
[error: SpRuntimeDispatchError],
{ error: SpRuntimeDispatchError }
>;
/**
* Migration completed
**/
MigrationCompleted: AugmentedEvent<
ApiType,
[migrationName: Bytes, consumedWeight: SpWeightsWeightV2Weight],
{ migrationName: Bytes; consumedWeight: SpWeightsWeightV2Weight }
>;
/**
* Migration started
**/
MigrationStarted: AugmentedEvent<ApiType, [migrationName: Bytes], { migrationName: Bytes }>;
/**
* Runtime upgrade completed
**/
RuntimeUpgradeCompleted: AugmentedEvent<
ApiType,
[weight: SpWeightsWeightV2Weight],
{ weight: SpWeightsWeightV2Weight }
>;
/**
* Runtime upgrade started
**/
RuntimeUpgradeStarted: AugmentedEvent<ApiType, []>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
moonbeamOrbiters: {
/**
* An orbiter join a collator pool
**/
OrbiterJoinCollatorPool: AugmentedEvent<
ApiType,
[collator: AccountId20, orbiter: AccountId20],
{ collator: AccountId20; orbiter: AccountId20 }
>;
/**
* An orbiter leave a collator pool
**/
OrbiterLeaveCollatorPool: AugmentedEvent<
ApiType,
[collator: AccountId20, orbiter: AccountId20],
{ collator: AccountId20; orbiter: AccountId20 }
>;
/**
* An orbiter has registered
**/
OrbiterRegistered: AugmentedEvent<
ApiType,
[account: AccountId20, deposit: u128],
{ account: AccountId20; deposit: u128 }
>;
/**
* Paid the orbiter account the balance as liquid rewards.
**/
OrbiterRewarded: AugmentedEvent<
ApiType,
[account: AccountId20, rewards: u128],
{ account: AccountId20; rewards: u128 }
>;
OrbiterRotation: AugmentedEvent<
ApiType,
[collator: AccountId20, oldOrbiter: Option<AccountId20>, newOrbiter: Option<AccountId20>],
{ collator: AccountId20; oldOrbiter: Option<AccountId20>; newOrbiter: Option<AccountId20> }
>;
/**
* An orbiter has unregistered
**/
OrbiterUnregistered: AugmentedEvent<
ApiType,
[account: AccountId20],
{ account: AccountId20 }
>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
multisig: {
/**
* A multisig operation has been approved by someone.
**/
MultisigApproval: AugmentedEvent<
ApiType,
[
approving: AccountId20,
timepoint: PalletMultisigTimepoint,
multisig: AccountId20,
callHash: U8aFixed
],
{
approving: AccountId20;
timepoint: PalletMultisigTimepoint;
multisig: AccountId20;
callHash: U8aFixed;
}
>;
/**
* A multisig operation has been cancelled.
**/
MultisigCancelled: AugmentedEvent<
ApiType,
[
cancelling: AccountId20,
timepoint: PalletMultisigTimepoint,
multisig: AccountId20,
callHash: U8aFixed
],
{
cancelling: AccountId20;
timepoint: PalletMultisigTimepoint;
multisig: AccountId20;
callHash: U8aFixed;
}
>;
/**
* A multisig operation has been executed.
**/
MultisigExecuted: AugmentedEvent<
ApiType,
[
approving: AccountId20,
timepoint: PalletMultisigTimepoint,
multisig: AccountId20,
callHash: U8aFixed,
result: Result<Null, SpRuntimeDispatchError>
],
{
approving: AccountId20;
timepoint: PalletMultisigTimepoint;
multisig: AccountId20;
callHash: U8aFixed;
result: Result<Null, SpRuntimeDispatchError>;
}
>;
/**
* A new multisig operation has begun.
**/
NewMultisig: AugmentedEvent<
ApiType,
[approving: AccountId20, multisig: AccountId20, callHash: U8aFixed],
{ approving: AccountId20; multisig: AccountId20; callHash: U8aFixed }
>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
openTechCommitteeCollective: {
/**
* 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> }
>;
/**
* A motion (given hash) has been proposed (by given account) with a threshold (given
* `MemberCount`).
**/
Proposed: AugmentedEvent<
ApiType,
[account: AccountId20, proposalIndex: u32, proposalHash: H256, threshold: u32],
{ account: AccountId20; 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: AccountId20, proposalHash: H256, voted: bool, yes: u32, no: u32],
{ account: AccountId20; proposalHash: H256; voted: bool; yes: u32; no: u32 }
>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
parachainStaking: {
/**
* Auto-compounding reward percent was set for a delegation.
**/
AutoCompoundSet: AugmentedEvent<
ApiType,
[candidate: AccountId20, delegator: AccountId20, value: Percent],
{ candidate: AccountId20; delegator: AccountId20; value: Percent }
>;
/**
* Set blocks per round
**/
BlocksPerRoundSet: AugmentedEvent<
ApiType,
[
currentRound: u32,
firstBlock: u32,
old: u32,
new_: u32,
newPerRoundInflationMin: Perbill,
newPerRoundInflationIdeal: Perbill,
newPerRoundInflationMax: Perbill
],
{
currentRound: u32;
firstBlock: u32;
old: u32;
new_: u32;
newPerRoundInflationMin: Perbill;
newPerRoundInflationIdeal: Perbill;
newPerRoundInflationMax: Perbill;
}
>;
/**
* Cancelled request to decrease candidate's bond.
**/
CancelledCandidateBondLess: AugmentedEvent<
ApiType,
[candidate: AccountId20, amount: u128, executeRound: u32],
{ candidate: AccountId20; amount: u128; executeRound: u32 }
>;
/**
* Cancelled request to leave the set of candidates.
**/
CancelledCandidateExit: AugmentedEvent<
ApiType,
[candidate: AccountId20],
{ candidate: AccountId20 }
>;
/**
* Cancelled request to change an existing delegation.
**/
CancelledDelegationRequest: AugmentedEvent<
ApiType,
[
delegator: AccountId20,
cancelledRequest: PalletParachainStakingDelegationRequestsCancelledScheduledRequest,
collator: AccountId20
],
{
delegator: AccountId20;
cancelledRequest: PalletParachainStakingDelegationRequestsCancelledScheduledRequest;
collator: AccountId20;
}
>;
/**
* Candidate rejoins the set of collator candidates.
**/
CandidateBackOnline: AugmentedEvent<
ApiType,
[candidate: AccountId20],
{ candidate: AccountId20 }
>;
/**
* Candidate has decreased a self bond.
**/
CandidateBondedLess: AugmentedEvent<
ApiType,
[candidate: AccountId20, amount: u128, newBond: u128],
{ candidate: AccountId20; amount: u128; newBond: u128 }
>;
/**
* Candidate has increased a self bond.
**/
CandidateBondedMore: AugmentedEvent<
ApiType,
[candidate: AccountId20, amount: u128, newTotalBond: u128],
{ candidate: AccountId20; amount: u128; newTotalBond: u128 }
>;
/**
* Candidate requested to decrease a self bond.
**/
CandidateBondLessRequested: AugmentedEvent<
ApiType,
[candidate: AccountId20, amountToDecrease: u128, executeRound: u32],
{ candidate: AccountId20; amountToDecrease: u128; executeRound: u32 }
>;
/**
* Candidate has left the set of candidates.
**/
CandidateLeft: AugmentedEvent<
ApiType,
[exCandidate: AccountId20, unlockedAmount: u128, newTotalAmtLocked: u128],
{ exCandidate: AccountId20; unlockedAmount: u128; newTotalAmtLocked: u128 }
>;
/**
* Candidate has requested to leave the set of candidates.
**/
CandidateScheduledExit: AugmentedEvent<
ApiType,
[exitAllowedRound: u32, candidate: AccountId20, scheduledExit: u32],
{ exitAllowedRound: u32; candidate: AccountId20; scheduledExit: u32 }
>;
/**
* Candidate temporarily leave the set of collator candidates without unbonding.
**/
CandidateWentOffline: AugmentedEvent<
ApiType,
[candidate: AccountId20],
{ candidate: AccountId20 }
>;
/**
* Candidate selected for collators. Total Exposed Amount includes all delegations.
**/
CollatorChosen: AugmentedEvent<
ApiType,
[round: u32, collatorAccount: AccountId20, totalExposedAmount: u128],
{ round: u32; collatorAccount: AccountId20; totalExposedAmount: u128 }
>;
/**
* Set collator commission to this value.
**/
CollatorCommissionSet: AugmentedEvent<
ApiType,
[old: Perbill, new_: Perbill],
{ old: Perbill; new_: Perbill }
>;
/**
* Compounded a portion of rewards towards the delegation.
**/
Compounded: AugmentedEvent<
ApiType,
[candidate: AccountId20, delegator: AccountId20, amount: u128],
{ candidate: AccountId20; delegator: AccountId20; amount: u128 }
>;
/**
* New delegation (increase of the existing one).
**/
Delegation: AugmentedEvent<
ApiType,
[
delegator: AccountId20,
lockedAmount: u128,
candidate: AccountId20,
delegatorPosition: PalletParachainStakingDelegatorAdded,
autoCompound: Percent
],
{
delegator: AccountId20;
lockedAmount: u128;
candidate: AccountId20;
delegatorPosition: PalletParachainStakingDelegatorAdded;
autoCompound: Percent;
}
>;
DelegationDecreased: AugmentedEvent<
ApiType,
[delegator: AccountId20, candidate: AccountId20, amount: u128, inTop: bool],
{ delegator: AccountId20; candidate: AccountId20; amount: u128; inTop: bool }
>;
/**
* Delegator requested to decrease a bond for the collator candidate.
**/
DelegationDecreaseScheduled: AugmentedEvent<
ApiType,
[delegator: AccountId20, candidate: AccountId20, amountToDecrease: u128, executeRound: u32],
{
delegator: AccountId20;
candidate: AccountId20;
amountToDecrease: u128;
executeRound: u32;
}
>;
DelegationIncreased: AugmentedEvent<
ApiType,
[delegator: AccountId20, candidate: AccountId20, amount: u128, inTop: bool],
{ delegator: AccountId20; candidate: AccountId20; amount: u128; inTop: bool }
>;
/**
* Delegation kicked.
**/
DelegationKicked: AugmentedEvent<
ApiType,
[delegator: AccountId20, candidate: AccountId20, unstakedAmount: u128],
{ delegator: AccountId20; candidate: AccountId20; unstakedAmount: u128 }
>;
/**
* Delegator requested to revoke delegation.
**/
DelegationRevocationScheduled: AugmentedEvent<
ApiType,
[round: u32, delegator: AccountId20, candidate: AccountId20, scheduledExit: u32],
{ round: u32; delegator: AccountId20; candidate: AccountId20; scheduledExit: u32 }
>;
/**
* Delegation revoked.
**/
DelegationRevoked: AugmentedEvent<
ApiType,
[delegator: AccountId20, candidate: AccountId20, unstakedAmount: u128],
{ delegator: AccountId20; candidate: AccountId20; unstakedAmount: u128 }
>;
/**
* Cancelled a pending request to exit the set of delegators.
**/
DelegatorExitCancelled: AugmentedEvent<
ApiType,
[delegator: AccountId20],
{ delegator: AccountId20 }
>;
/**
* Delegator requested to leave the set of delegators.
**/
DelegatorExitScheduled: AugmentedEvent<
ApiType,
[round: u32, delegator: AccountId20, scheduledExit: u32],
{ round: u32; delegator: AccountId20; scheduledExit: u32 }
>;
/**
* Delegator has left the set of delegators.
**/
DelegatorLeft: AugmentedEvent<
ApiType,
[delegator: AccountId20, unstakedAmount: u128],
{ delegator: AccountId20; unstakedAmount: u128 }
>;
/**
* Delegation from candidate state has been remove.
**/
DelegatorLeftCandidate: AugmentedEvent<
ApiType,
[
delegator: AccountId20,
candidate: AccountId20,
unstakedAmount: u128,
totalCandidateStaked: u128
],
{
delegator: AccountId20;
candidate: AccountId20;
unstakedAmount: u128;
totalCandidateStaked: u128;
}
>;
/**
* Transferred to account which holds funds reserved for parachain bond.
**/
InflationDistributed: AugmentedEvent<
ApiType,
[index: u32, account: AccountId20, value: u128],
{ index: u32; account: AccountId20; value: u128 }
>;
InflationDistributionConfigUpdated: AugmentedEvent<
ApiType,
[
old: PalletParachainStakingInflationDistributionConfig,
new_: PalletParachainStakingInflationDistributionConfig
],
{
old: PalletParachainStakingInflationDistributionConfig;
new_: PalletParachainStakingInflationDistributionConfig;
}
>;
/**
* Annual inflation input (first 3) was used to derive new per-round inflation (last 3)
**/
InflationSet: AugmentedEvent<
ApiType,
[
annualMin: Perbill,
annualIdeal: Perbill,
annualMax: Perbill,
roundMin: Perbill,
roundIdeal: Perbill,
roundMax: Perbill
],
{
annualMin: Perbill;
annualIdeal: Perbill;
annualMax: Perbill;
roundMin: Perbill;
roundIdeal: Perbill;
roundMax: Perbill;
}
>;
/**
* Account joined the set of collator candidates.
**/
JoinedCollatorCandidates: AugmentedEvent<
ApiType,
[account: AccountId20, amountLocked: u128, newTotalAmtLocked: u128],
{ account: AccountId20; amountLocked: u128; newTotalAmtLocked: u128 }
>;
/**
* Started new round.
**/
NewRound: AugmentedEvent<
ApiType,
[startingBlock: u32, round: u32, selectedCollatorsNumber: u32, totalBalance: u128],
{ startingBlock: u32; round: u32; selectedCollatorsNumber: u32; totalBalance: u128 }
>;
/**
* Paid the account (delegator or collator) the balance as liquid rewards.
**/
Rewarded: AugmentedEvent<
ApiType,
[account: AccountId20, rewards: u128],
{ account: AccountId20; rewards: u128 }
>;
/**
* Staking expectations set.
**/
StakeExpectationsSet: AugmentedEvent<
ApiType,
[expectMin: u128, expectIdeal: u128, expectMax: u128],
{ expectMin: u128; expectIdeal: u128; expectMax: u128 }
>;
/**
* Set total selected candidates to this value.
**/
TotalSelectedSet: AugmentedEvent<ApiType, [old: u32, new_: u32], { old: u32; new_: 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 upward message was sent