* Bump metadata & deps * Add missing types * Adjust * Debug * Use transferAllowDeath * Use transferAllowDeath in tests * Re-adjust * Bump
2053 lines
96 KiB
TypeScript
2053 lines
96 KiB
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, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
|
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
|
|
declare module '@polkadot/api-base/types/events' {
|
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
alliance: {
|
|
/**
|
|
* Alliance disbanded. Includes number deleted members and unreserved deposits.
|
|
**/
|
|
AllianceDisbanded: AugmentedEvent<ApiType, [fellowMembers: u32, allyMembers: u32, unreserved: u32], { fellowMembers: u32, allyMembers: u32, unreserved: u32 }>;
|
|
/**
|
|
* An ally has been elevated to Fellow.
|
|
**/
|
|
AllyElevated: AugmentedEvent<ApiType, [ally: AccountId32], { ally: AccountId32 }>;
|
|
/**
|
|
* A new announcement has been proposed.
|
|
**/
|
|
Announced: AugmentedEvent<ApiType, [announcement: PalletAllianceCid], { announcement: PalletAllianceCid }>;
|
|
/**
|
|
* An on-chain announcement has been removed.
|
|
**/
|
|
AnnouncementRemoved: AugmentedEvent<ApiType, [announcement: PalletAllianceCid], { announcement: PalletAllianceCid }>;
|
|
/**
|
|
* A Fellow abdicated their voting rights. They are now an Ally.
|
|
**/
|
|
FellowAbdicated: AugmentedEvent<ApiType, [fellow: AccountId32], { fellow: AccountId32 }>;
|
|
/**
|
|
* A member has been kicked out with its deposit slashed.
|
|
**/
|
|
MemberKicked: AugmentedEvent<ApiType, [member: AccountId32, slashed: Option<u128>], { member: AccountId32, slashed: Option<u128> }>;
|
|
/**
|
|
* A member has retired with its deposit unreserved.
|
|
**/
|
|
MemberRetired: AugmentedEvent<ApiType, [member: AccountId32, unreserved: Option<u128>], { member: AccountId32, unreserved: Option<u128> }>;
|
|
/**
|
|
* A member gave retirement notice and their retirement period started.
|
|
**/
|
|
MemberRetirementPeriodStarted: AugmentedEvent<ApiType, [member: AccountId32], { member: AccountId32 }>;
|
|
/**
|
|
* Some accounts have been initialized as members (fellows/allies).
|
|
**/
|
|
MembersInitialized: AugmentedEvent<ApiType, [fellows: Vec<AccountId32>, allies: Vec<AccountId32>], { fellows: Vec<AccountId32>, allies: Vec<AccountId32> }>;
|
|
/**
|
|
* An account has been added as an Ally and reserved its deposit.
|
|
**/
|
|
NewAllyJoined: AugmentedEvent<ApiType, [ally: AccountId32, nominator: Option<AccountId32>, reserved: Option<u128>], { ally: AccountId32, nominator: Option<AccountId32>, reserved: Option<u128> }>;
|
|
/**
|
|
* A new rule has been set.
|
|
**/
|
|
NewRuleSet: AugmentedEvent<ApiType, [rule: PalletAllianceCid], { rule: PalletAllianceCid }>;
|
|
/**
|
|
* Accounts or websites have been added into the list of unscrupulous items.
|
|
**/
|
|
UnscrupulousItemAdded: AugmentedEvent<ApiType, [items: Vec<PalletAllianceUnscrupulousItem>], { items: Vec<PalletAllianceUnscrupulousItem> }>;
|
|
/**
|
|
* Accounts or websites have been removed from the list of unscrupulous items.
|
|
**/
|
|
UnscrupulousItemRemoved: AugmentedEvent<ApiType, [items: Vec<PalletAllianceUnscrupulousItem>], { items: Vec<PalletAllianceUnscrupulousItem> }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
allianceMotion: {
|
|
/**
|
|
* 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: 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>;
|
|
};
|
|
assets: {
|
|
/**
|
|
* Accounts were destroyed for given asset.
|
|
**/
|
|
AccountsDestroyed: AugmentedEvent<ApiType, [assetId: u32, accountsDestroyed: u32, accountsRemaining: u32], { assetId: u32, accountsDestroyed: u32, accountsRemaining: u32 }>;
|
|
/**
|
|
* An approval for account `delegate` was cancelled by `owner`.
|
|
**/
|
|
ApprovalCancelled: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, delegate: AccountId32], { assetId: u32, owner: AccountId32, delegate: AccountId32 }>;
|
|
/**
|
|
* Approvals were destroyed for given asset.
|
|
**/
|
|
ApprovalsDestroyed: AugmentedEvent<ApiType, [assetId: u32, approvalsDestroyed: u32, approvalsRemaining: u32], { assetId: u32, approvalsDestroyed: u32, approvalsRemaining: u32 }>;
|
|
/**
|
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
**/
|
|
ApprovedTransfer: AugmentedEvent<ApiType, [assetId: u32, source: AccountId32, delegate: AccountId32, amount: u128], { assetId: u32, source: AccountId32, delegate: AccountId32, amount: u128 }>;
|
|
/**
|
|
* Some asset `asset_id` was frozen.
|
|
**/
|
|
AssetFrozen: AugmentedEvent<ApiType, [assetId: u32], { assetId: u32 }>;
|
|
/**
|
|
* The min_balance of an asset has been updated by the asset owner.
|
|
**/
|
|
AssetMinBalanceChanged: AugmentedEvent<ApiType, [assetId: u32, newMinBalance: u128], { assetId: u32, newMinBalance: u128 }>;
|
|
/**
|
|
* An asset has had its attributes changed by the `Force` origin.
|
|
**/
|
|
AssetStatusChanged: AugmentedEvent<ApiType, [assetId: u32], { assetId: u32 }>;
|
|
/**
|
|
* Some asset `asset_id` was thawed.
|
|
**/
|
|
AssetThawed: AugmentedEvent<ApiType, [assetId: u32], { assetId: u32 }>;
|
|
/**
|
|
* Some assets were destroyed.
|
|
**/
|
|
Burned: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, balance: u128], { assetId: u32, owner: AccountId32, balance: u128 }>;
|
|
/**
|
|
* Some asset class was created.
|
|
**/
|
|
Created: AugmentedEvent<ApiType, [assetId: u32, creator: AccountId32, owner: AccountId32], { assetId: u32, creator: AccountId32, owner: AccountId32 }>;
|
|
/**
|
|
* An asset class was destroyed.
|
|
**/
|
|
Destroyed: AugmentedEvent<ApiType, [assetId: u32], { assetId: u32 }>;
|
|
/**
|
|
* An asset class is in the process of being destroyed.
|
|
**/
|
|
DestructionStarted: AugmentedEvent<ApiType, [assetId: u32], { assetId: u32 }>;
|
|
/**
|
|
* Some asset class was force-created.
|
|
**/
|
|
ForceCreated: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32], { assetId: u32, owner: AccountId32 }>;
|
|
/**
|
|
* Some account `who` was frozen.
|
|
**/
|
|
Frozen: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32], { assetId: u32, who: AccountId32 }>;
|
|
/**
|
|
* Some assets were issued.
|
|
**/
|
|
Issued: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, amount: u128], { assetId: u32, owner: AccountId32, amount: u128 }>;
|
|
/**
|
|
* Metadata has been cleared for an asset.
|
|
**/
|
|
MetadataCleared: AugmentedEvent<ApiType, [assetId: u32], { assetId: u32 }>;
|
|
/**
|
|
* New metadata has been set for an asset.
|
|
**/
|
|
MetadataSet: AugmentedEvent<ApiType, [assetId: u32, name: Bytes, symbol_: Bytes, decimals: u8, isFrozen: bool], { assetId: u32, name: Bytes, symbol: Bytes, decimals: u8, isFrozen: bool }>;
|
|
/**
|
|
* The owner changed.
|
|
**/
|
|
OwnerChanged: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32], { assetId: u32, owner: AccountId32 }>;
|
|
/**
|
|
* The management team changed.
|
|
**/
|
|
TeamChanged: AugmentedEvent<ApiType, [assetId: u32, issuer: AccountId32, admin: AccountId32, freezer: AccountId32], { assetId: u32, issuer: AccountId32, admin: AccountId32, freezer: AccountId32 }>;
|
|
/**
|
|
* Some account `who` was thawed.
|
|
**/
|
|
Thawed: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32], { assetId: u32, who: AccountId32 }>;
|
|
/**
|
|
* Some assets were transferred.
|
|
**/
|
|
Transferred: AugmentedEvent<ApiType, [assetId: u32, from: AccountId32, to: AccountId32, amount: u128], { assetId: u32, from: AccountId32, to: AccountId32, amount: u128 }>;
|
|
/**
|
|
* An `amount` was transferred in its entirety from `owner` to `destination` by
|
|
* the approved `delegate`.
|
|
**/
|
|
TransferredApproved: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128], { assetId: u32, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
assetTxPayment: {
|
|
/**
|
|
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
* has been paid by `who` in an asset `asset_id`.
|
|
**/
|
|
AssetTxFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128, assetId: Option<u32>], { who: AccountId32, actualFee: u128, tip: u128, assetId: Option<u32> }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
balances: {
|
|
/**
|
|
* A balance was set by root.
|
|
**/
|
|
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], { who: AccountId32, free: u128 }>;
|
|
/**
|
|
* Some amount was burned from an account.
|
|
**/
|
|
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* Some amount was deposited (e.g. for transaction fees).
|
|
**/
|
|
Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
* resulting in an outright loss.
|
|
**/
|
|
DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], { account: AccountId32, amount: u128 }>;
|
|
/**
|
|
* An account was created with some free balance.
|
|
**/
|
|
Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], { account: AccountId32, freeBalance: 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: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* Some amount was minted into an account.
|
|
**/
|
|
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, 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: AccountId32, amount: u128], { who: AccountId32, 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: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], { from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus }>;
|
|
/**
|
|
* Some amount was restored into an account.
|
|
**/
|
|
Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
**/
|
|
Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* Some amount was suspended from an account (it can be restored later).
|
|
**/
|
|
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* Transfer succeeded.
|
|
**/
|
|
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
|
|
/**
|
|
* Some balance was unlocked.
|
|
**/
|
|
Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* Some balance was unreserved (moved from reserved to free).
|
|
**/
|
|
Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* An account was upgraded.
|
|
**/
|
|
Upgraded: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
/**
|
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
**/
|
|
Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
bounties: {
|
|
/**
|
|
* A bounty is awarded to a beneficiary.
|
|
**/
|
|
BountyAwarded: AugmentedEvent<ApiType, [index: u32, beneficiary: AccountId32], { index: u32, beneficiary: AccountId32 }>;
|
|
/**
|
|
* A bounty proposal is funded and became active.
|
|
**/
|
|
BountyBecameActive: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
|
|
/**
|
|
* A bounty is cancelled.
|
|
**/
|
|
BountyCanceled: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
|
|
/**
|
|
* A bounty is claimed by beneficiary.
|
|
**/
|
|
BountyClaimed: AugmentedEvent<ApiType, [index: u32, payout: u128, beneficiary: AccountId32], { index: u32, payout: u128, beneficiary: AccountId32 }>;
|
|
/**
|
|
* A bounty expiry is extended.
|
|
**/
|
|
BountyExtended: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
|
|
/**
|
|
* New bounty proposal.
|
|
**/
|
|
BountyProposed: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
|
|
/**
|
|
* A bounty proposal was rejected; funds were slashed.
|
|
**/
|
|
BountyRejected: AugmentedEvent<ApiType, [index: u32, bond: u128], { index: u32, bond: u128 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
childBounties: {
|
|
/**
|
|
* A child-bounty is added.
|
|
**/
|
|
Added: AugmentedEvent<ApiType, [index: u32, childIndex: u32], { index: u32, childIndex: u32 }>;
|
|
/**
|
|
* A child-bounty is awarded to a beneficiary.
|
|
**/
|
|
Awarded: AugmentedEvent<ApiType, [index: u32, childIndex: u32, beneficiary: AccountId32], { index: u32, childIndex: u32, beneficiary: AccountId32 }>;
|
|
/**
|
|
* A child-bounty is cancelled.
|
|
**/
|
|
Canceled: AugmentedEvent<ApiType, [index: u32, childIndex: u32], { index: u32, childIndex: u32 }>;
|
|
/**
|
|
* A child-bounty is claimed by beneficiary.
|
|
**/
|
|
Claimed: AugmentedEvent<ApiType, [index: u32, childIndex: u32, payout: u128, beneficiary: AccountId32], { index: u32, childIndex: u32, payout: u128, beneficiary: AccountId32 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
contracts: {
|
|
/**
|
|
* A contract was called either by a plain account or another contract.
|
|
*
|
|
* # Note
|
|
*
|
|
* Please keep in mind that like all events this is only emitted for successful
|
|
* calls. This is because on failure all storage changes including events are
|
|
* rolled back.
|
|
**/
|
|
Called: AugmentedEvent<ApiType, [caller: AccountId32, contract: AccountId32], { caller: AccountId32, contract: AccountId32 }>;
|
|
/**
|
|
* A code with the specified hash was removed.
|
|
**/
|
|
CodeRemoved: AugmentedEvent<ApiType, [codeHash: H256], { codeHash: H256 }>;
|
|
/**
|
|
* Code with the specified hash has been stored.
|
|
**/
|
|
CodeStored: AugmentedEvent<ApiType, [codeHash: H256], { codeHash: H256 }>;
|
|
/**
|
|
* A contract's code was updated.
|
|
**/
|
|
ContractCodeUpdated: AugmentedEvent<ApiType, [contract: AccountId32, newCodeHash: H256, oldCodeHash: H256], { contract: AccountId32, newCodeHash: H256, oldCodeHash: H256 }>;
|
|
/**
|
|
* A custom event emitted by the contract.
|
|
**/
|
|
ContractEmitted: AugmentedEvent<ApiType, [contract: AccountId32, data: Bytes], { contract: AccountId32, data: Bytes }>;
|
|
/**
|
|
* A contract delegate called a code hash.
|
|
*
|
|
* # Note
|
|
*
|
|
* Please keep in mind that like all events this is only emitted for successful
|
|
* calls. This is because on failure all storage changes including events are
|
|
* rolled back.
|
|
**/
|
|
DelegateCalled: AugmentedEvent<ApiType, [contract: AccountId32, codeHash: H256], { contract: AccountId32, codeHash: H256 }>;
|
|
/**
|
|
* Contract deployed by address at the specified address.
|
|
**/
|
|
Instantiated: AugmentedEvent<ApiType, [deployer: AccountId32, contract: AccountId32], { deployer: AccountId32, contract: AccountId32 }>;
|
|
/**
|
|
* Contract has been removed.
|
|
*
|
|
* # Note
|
|
*
|
|
* The only way for a contract to be removed and emitting this event is by calling
|
|
* `seal_terminate`.
|
|
**/
|
|
Terminated: AugmentedEvent<ApiType, [contract: AccountId32, beneficiary: AccountId32], { contract: AccountId32, beneficiary: AccountId32 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
convictionVoting: {
|
|
/**
|
|
* An account has delegated their vote to another account. \[who, target\]
|
|
**/
|
|
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
|
/**
|
|
* An \[account\] has cancelled a previous delegation operation.
|
|
**/
|
|
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
coreFellowship: {
|
|
/**
|
|
* Member activity flag has been set.
|
|
**/
|
|
ActiveChanged: AugmentedEvent<ApiType, [who: AccountId32, isActive: bool], { who: AccountId32, isActive: bool }>;
|
|
/**
|
|
* Member has been demoted to the given (non-zero) rank.
|
|
**/
|
|
Demoted: AugmentedEvent<ApiType, [who: AccountId32, toRank: u16], { who: AccountId32, toRank: u16 }>;
|
|
/**
|
|
* Some submitted evidence was judged and removed. There may or may not have been a change
|
|
* to the rank, but in any case, `last_proof` is reset.
|
|
**/
|
|
EvidenceJudged: AugmentedEvent<ApiType, [who: AccountId32, wish: PalletCoreFellowshipWish, evidence: Bytes, oldRank: u16, newRank: Option<u16>], { who: AccountId32, wish: PalletCoreFellowshipWish, evidence: Bytes, oldRank: u16, newRank: Option<u16> }>;
|
|
/**
|
|
* Pre-ranked account has been inducted at their current rank.
|
|
**/
|
|
Imported: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], { who: AccountId32, rank: u16 }>;
|
|
/**
|
|
* Member has begun being tracked in this pallet.
|
|
**/
|
|
Inducted: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
/**
|
|
* Member has been removed from being tracked in this pallet (i.e. because rank is now
|
|
* zero).
|
|
**/
|
|
Offboarded: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
/**
|
|
* Parameters for the pallet have changed.
|
|
**/
|
|
ParamsChanged: AugmentedEvent<ApiType, [params: PalletCoreFellowshipParamsType], { params: PalletCoreFellowshipParamsType }>;
|
|
/**
|
|
* Member has been promoted to the given rank.
|
|
**/
|
|
Promoted: AugmentedEvent<ApiType, [who: AccountId32, toRank: u16], { who: AccountId32, toRank: u16 }>;
|
|
/**
|
|
* Member has been proven at their current rank, postponing auto-demotion.
|
|
**/
|
|
Proven: AugmentedEvent<ApiType, [who: AccountId32, atRank: u16], { who: AccountId32, atRank: u16 }>;
|
|
/**
|
|
* Member has stated evidence of their efforts their request for rank.
|
|
**/
|
|
Requested: AugmentedEvent<ApiType, [who: AccountId32, wish: PalletCoreFellowshipWish], { who: AccountId32, wish: PalletCoreFellowshipWish }>;
|
|
/**
|
|
* 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> }>;
|
|
/**
|
|
* 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>;
|
|
};
|
|
democracy: {
|
|
/**
|
|
* A proposal_hash has been blacklisted permanently.
|
|
**/
|
|
Blacklisted: AugmentedEvent<ApiType, [proposalHash: H256], { proposalHash: H256 }>;
|
|
/**
|
|
* A referendum has been cancelled.
|
|
**/
|
|
Cancelled: AugmentedEvent<ApiType, [refIndex: u32], { refIndex: u32 }>;
|
|
/**
|
|
* An account has delegated their vote to another account.
|
|
**/
|
|
Delegated: AugmentedEvent<ApiType, [who: AccountId32, target: AccountId32], { who: AccountId32, target: AccountId32 }>;
|
|
/**
|
|
* An external proposal has been tabled.
|
|
**/
|
|
ExternalTabled: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* Metadata for a proposal or a referendum has been cleared.
|
|
**/
|
|
MetadataCleared: AugmentedEvent<ApiType, [owner: PalletDemocracyMetadataOwner, hash_: H256], { owner: PalletDemocracyMetadataOwner, hash_: H256 }>;
|
|
/**
|
|
* Metadata for a proposal or a referendum has been set.
|
|
**/
|
|
MetadataSet: AugmentedEvent<ApiType, [owner: PalletDemocracyMetadataOwner, hash_: H256], { owner: PalletDemocracyMetadataOwner, hash_: H256 }>;
|
|
/**
|
|
* Metadata has been transferred to new owner.
|
|
**/
|
|
MetadataTransferred: AugmentedEvent<ApiType, [prevOwner: PalletDemocracyMetadataOwner, owner: PalletDemocracyMetadataOwner, hash_: H256], { prevOwner: PalletDemocracyMetadataOwner, owner: PalletDemocracyMetadataOwner, hash_: H256 }>;
|
|
/**
|
|
* A proposal has been rejected by referendum.
|
|
**/
|
|
NotPassed: AugmentedEvent<ApiType, [refIndex: u32], { refIndex: u32 }>;
|
|
/**
|
|
* A proposal has been approved by referendum.
|
|
**/
|
|
Passed: AugmentedEvent<ApiType, [refIndex: u32], { refIndex: u32 }>;
|
|
/**
|
|
* A proposal got canceled.
|
|
**/
|
|
ProposalCanceled: AugmentedEvent<ApiType, [propIndex: u32], { propIndex: u32 }>;
|
|
/**
|
|
* A motion has been proposed by a public account.
|
|
**/
|
|
Proposed: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128], { proposalIndex: u32, deposit: u128 }>;
|
|
/**
|
|
* An account has secconded a proposal
|
|
**/
|
|
Seconded: AugmentedEvent<ApiType, [seconder: AccountId32, propIndex: u32], { seconder: AccountId32, propIndex: u32 }>;
|
|
/**
|
|
* A referendum has begun.
|
|
**/
|
|
Started: AugmentedEvent<ApiType, [refIndex: u32, threshold: PalletDemocracyVoteThreshold], { refIndex: u32, threshold: PalletDemocracyVoteThreshold }>;
|
|
/**
|
|
* A public proposal has been tabled for referendum vote.
|
|
**/
|
|
Tabled: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128], { proposalIndex: u32, deposit: u128 }>;
|
|
/**
|
|
* An account has cancelled a previous delegation operation.
|
|
**/
|
|
Undelegated: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
|
/**
|
|
* An external proposal has been vetoed.
|
|
**/
|
|
Vetoed: AugmentedEvent<ApiType, [who: AccountId32, proposalHash: H256, until: u32], { who: AccountId32, proposalHash: H256, until: u32 }>;
|
|
/**
|
|
* An account has voted in a referendum
|
|
**/
|
|
Voted: AugmentedEvent<ApiType, [voter: AccountId32, refIndex: u32, vote: PalletDemocracyVoteAccountVote], { voter: AccountId32, refIndex: u32, vote: PalletDemocracyVoteAccountVote }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
electionProviderMultiPhase: {
|
|
/**
|
|
* An election failed.
|
|
*
|
|
* Not much can be said about which computes failed in the process.
|
|
**/
|
|
ElectionFailed: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* The election has been finalized, with the given computation and score.
|
|
**/
|
|
ElectionFinalized: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, score: SpNposElectionsElectionScore], { compute: PalletElectionProviderMultiPhaseElectionCompute, score: SpNposElectionsElectionScore }>;
|
|
/**
|
|
* There was a phase transition in a given round.
|
|
**/
|
|
PhaseTransitioned: AugmentedEvent<ApiType, [from: PalletElectionProviderMultiPhasePhase, to: PalletElectionProviderMultiPhasePhase, round: u32], { from: PalletElectionProviderMultiPhasePhase, to: PalletElectionProviderMultiPhasePhase, round: u32 }>;
|
|
/**
|
|
* An account has been rewarded for their signed submission being finalized.
|
|
**/
|
|
Rewarded: AugmentedEvent<ApiType, [account: AccountId32, value: u128], { account: AccountId32, value: u128 }>;
|
|
/**
|
|
* An account has been slashed for submitting an invalid signed submission.
|
|
**/
|
|
Slashed: AugmentedEvent<ApiType, [account: AccountId32, value: u128], { account: AccountId32, value: u128 }>;
|
|
/**
|
|
* A solution was stored with the given compute.
|
|
*
|
|
* The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
|
|
* the stored solution was submited in the signed phase by a miner with the `AccountId`.
|
|
* Otherwise, the solution was stored either during the unsigned phase or by
|
|
* `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
|
|
* room for this one.
|
|
**/
|
|
SolutionStored: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, origin: Option<AccountId32>, prevEjected: bool], { compute: PalletElectionProviderMultiPhaseElectionCompute, origin: Option<AccountId32>, prevEjected: bool }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
elections: {
|
|
/**
|
|
* A candidate was slashed by amount due to failing to obtain a seat as member or
|
|
* runner-up.
|
|
*
|
|
* Note that old members and runners-up are also candidates.
|
|
**/
|
|
CandidateSlashed: AugmentedEvent<ApiType, [candidate: AccountId32, amount: u128], { candidate: AccountId32, amount: u128 }>;
|
|
/**
|
|
* Internal error happened while trying to perform election.
|
|
**/
|
|
ElectionError: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* No (or not enough) candidates existed for this round. This is different from
|
|
* `NewTerm(\[\])`. See the description of `NewTerm`.
|
|
**/
|
|
EmptyTerm: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* A member has been removed. This should always be followed by either `NewTerm` or
|
|
* `EmptyTerm`.
|
|
**/
|
|
MemberKicked: AugmentedEvent<ApiType, [member: AccountId32], { member: AccountId32 }>;
|
|
/**
|
|
* A new term with new_members. This indicates that enough candidates existed to run
|
|
* the election, not that enough have has been elected. The inner value must be examined
|
|
* for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond
|
|
* slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
|
|
* begin with.
|
|
**/
|
|
NewTerm: AugmentedEvent<ApiType, [newMembers: Vec<ITuple<[AccountId32, u128]>>], { newMembers: Vec<ITuple<[AccountId32, u128]>> }>;
|
|
/**
|
|
* Someone has renounced their candidacy.
|
|
**/
|
|
Renounced: AugmentedEvent<ApiType, [candidate: AccountId32], { candidate: AccountId32 }>;
|
|
/**
|
|
* A seat holder was slashed by amount by being forcefully removed from the set.
|
|
**/
|
|
SeatHolderSlashed: AugmentedEvent<ApiType, [seatHolder: AccountId32, amount: u128], { seatHolder: AccountId32, amount: u128 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
fastUnstake: {
|
|
/**
|
|
* A batch was partially checked for the given eras, but the process did not finish.
|
|
**/
|
|
BatchChecked: AugmentedEvent<ApiType, [eras: Vec<u32>], { eras: Vec<u32> }>;
|
|
/**
|
|
* A batch of a given size was terminated.
|
|
*
|
|
* This is always follows by a number of `Unstaked` or `Slashed` events, marking the end
|
|
* of the batch. A new batch will be created upon next block.
|
|
**/
|
|
BatchFinished: AugmentedEvent<ApiType, [size_: u32], { size_: u32 }>;
|
|
/**
|
|
* An internal error happened. Operations will be paused now.
|
|
**/
|
|
InternalError: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* A staker was slashed for requesting fast-unstake whilst being exposed.
|
|
**/
|
|
Slashed: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
|
|
/**
|
|
* A staker was unstaked.
|
|
**/
|
|
Unstaked: AugmentedEvent<ApiType, [stash: AccountId32, result: Result<Null, SpRuntimeDispatchError>], { stash: AccountId32, result: Result<Null, SpRuntimeDispatchError> }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
glutton: {
|
|
/**
|
|
* The computation limit has been updated by root.
|
|
**/
|
|
ComputationLimitSet: AugmentedEvent<ApiType, [compute: Perbill], { compute: Perbill }>;
|
|
/**
|
|
* The pallet has been (re)initialized by root.
|
|
**/
|
|
PalletInitialized: AugmentedEvent<ApiType, [reinit: bool], { reinit: bool }>;
|
|
/**
|
|
* The storage limit has been updated by root.
|
|
**/
|
|
StorageLimitSet: AugmentedEvent<ApiType, [storage: Perbill], { storage: Perbill }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
grandpa: {
|
|
/**
|
|
* New authority set has been applied.
|
|
**/
|
|
NewAuthorities: AugmentedEvent<ApiType, [authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>], { authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>> }>;
|
|
/**
|
|
* Current authority set has been paused.
|
|
**/
|
|
Paused: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* Current authority set has been resumed.
|
|
**/
|
|
Resumed: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* 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>;
|
|
};
|
|
imOnline: {
|
|
/**
|
|
* At the end of the session, no offence was committed.
|
|
**/
|
|
AllGood: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* A new heartbeat was received from `AuthorityId`.
|
|
**/
|
|
HeartbeatReceived: AugmentedEvent<ApiType, [authorityId: PalletImOnlineSr25519AppSr25519Public], { authorityId: PalletImOnlineSr25519AppSr25519Public }>;
|
|
/**
|
|
* At the end of the session, at least one validator was found to be offline.
|
|
**/
|
|
SomeOffline: AugmentedEvent<ApiType, [offline: Vec<ITuple<[AccountId32, PalletStakingExposure]>>], { offline: Vec<ITuple<[AccountId32, PalletStakingExposure]>> }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
indices: {
|
|
/**
|
|
* A account index was assigned.
|
|
**/
|
|
IndexAssigned: AugmentedEvent<ApiType, [who: AccountId32, index: u32], { who: AccountId32, index: u32 }>;
|
|
/**
|
|
* A account index has been freed up (unassigned).
|
|
**/
|
|
IndexFreed: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
|
|
/**
|
|
* A account index has been frozen to its current account ID.
|
|
**/
|
|
IndexFrozen: AugmentedEvent<ApiType, [index: u32, who: AccountId32], { index: u32, who: AccountId32 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
lottery: {
|
|
/**
|
|
* A new set of calls have been set!
|
|
**/
|
|
CallsUpdated: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* A lottery has been started!
|
|
**/
|
|
LotteryStarted: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* A ticket has been bought!
|
|
**/
|
|
TicketBought: AugmentedEvent<ApiType, [who: AccountId32, callIndex: ITuple<[u8, u8]>], { who: AccountId32, callIndex: ITuple<[u8, u8]> }>;
|
|
/**
|
|
* A winner has been chosen!
|
|
**/
|
|
Winner: AugmentedEvent<ApiType, [winner: AccountId32, lotteryBalance: u128], { winner: AccountId32, lotteryBalance: u128 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
messageQueue: {
|
|
/**
|
|
* Message discarded due to an inability to decode the item. Usually caused by state
|
|
* corruption.
|
|
**/
|
|
Discarded: AugmentedEvent<ApiType, [hash_: H256], { hash_: H256 }>;
|
|
/**
|
|
* Message placed in overweight queue.
|
|
**/
|
|
OverweightEnqueued: AugmentedEvent<ApiType, [hash_: H256, origin: u32, pageIndex: u32, messageIndex: u32], { hash_: H256, origin: u32, pageIndex: u32, messageIndex: u32 }>;
|
|
/**
|
|
* This page was reaped.
|
|
**/
|
|
PageReaped: AugmentedEvent<ApiType, [origin: u32, index: u32], { origin: u32, index: u32 }>;
|
|
/**
|
|
* Message is processed.
|
|
**/
|
|
Processed: AugmentedEvent<ApiType, [hash_: H256, origin: u32, weightUsed: SpWeightsWeightV2Weight, success: bool], { hash_: H256, origin: u32, weightUsed: SpWeightsWeightV2Weight, success: bool }>;
|
|
/**
|
|
* Message discarded due to an error in the `MessageProcessor` (usually a format error).
|
|
**/
|
|
ProcessingFailed: AugmentedEvent<ApiType, [hash_: H256, origin: u32, error: FrameSupportMessagesProcessMessageError], { hash_: H256, origin: u32, error: FrameSupportMessagesProcessMessageError }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
multisig: {
|
|
/**
|
|
* A multisig operation has been approved by someone.
|
|
**/
|
|
MultisigApproval: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], { approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed }>;
|
|
/**
|
|
* A multisig operation has been cancelled.
|
|
**/
|
|
MultisigCancelled: AugmentedEvent<ApiType, [cancelling: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], { cancelling: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed }>;
|
|
/**
|
|
* A multisig operation has been executed.
|
|
**/
|
|
MultisigExecuted: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed, result: Result<Null, SpRuntimeDispatchError>], { approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed, result: Result<Null, SpRuntimeDispatchError> }>;
|
|
/**
|
|
* A new multisig operation has begun.
|
|
**/
|
|
NewMultisig: AugmentedEvent<ApiType, [approving: AccountId32, multisig: AccountId32, callHash: U8aFixed], { approving: AccountId32, multisig: AccountId32, callHash: U8aFixed }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
nfts: {
|
|
/**
|
|
* All approvals of an item got cancelled.
|
|
**/
|
|
AllApprovalsCancelled: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32], { collection: u32, item: u32, owner: AccountId32 }>;
|
|
/**
|
|
* An approval for a `delegate` account to transfer the `item` of an item
|
|
* `collection` was cancelled by its `owner`.
|
|
**/
|
|
ApprovalCancelled: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32, delegate: AccountId32], { collection: u32, item: u32, owner: AccountId32, delegate: AccountId32 }>;
|
|
/**
|
|
* Attribute metadata has been cleared for a `collection` or `item`.
|
|
**/
|
|
AttributeCleared: AugmentedEvent<ApiType, [collection: u32, maybeItem: Option<u32>, key: Bytes, namespace: PalletNftsAttributeNamespace], { collection: u32, maybeItem: Option<u32>, key: Bytes, namespace: PalletNftsAttributeNamespace }>;
|
|
/**
|
|
* New attribute metadata has been set for a `collection` or `item`.
|
|
**/
|
|
AttributeSet: AugmentedEvent<ApiType, [collection: u32, maybeItem: Option<u32>, key: Bytes, value: Bytes, namespace: PalletNftsAttributeNamespace], { collection: u32, maybeItem: Option<u32>, key: Bytes, value: Bytes, namespace: PalletNftsAttributeNamespace }>;
|
|
/**
|
|
* An `item` was destroyed.
|
|
**/
|
|
Burned: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32], { collection: u32, item: u32, owner: AccountId32 }>;
|
|
/**
|
|
* A `collection` has had its config changed by the `Force` origin.
|
|
**/
|
|
CollectionConfigChanged: AugmentedEvent<ApiType, [collection: u32], { collection: u32 }>;
|
|
/**
|
|
* Some `collection` was locked.
|
|
**/
|
|
CollectionLocked: AugmentedEvent<ApiType, [collection: u32], { collection: u32 }>;
|
|
/**
|
|
* Max supply has been set for a collection.
|
|
**/
|
|
CollectionMaxSupplySet: AugmentedEvent<ApiType, [collection: u32, maxSupply: u32], { collection: u32, maxSupply: u32 }>;
|
|
/**
|
|
* Metadata has been cleared for a `collection`.
|
|
**/
|
|
CollectionMetadataCleared: AugmentedEvent<ApiType, [collection: u32], { collection: u32 }>;
|
|
/**
|
|
* New metadata has been set for a `collection`.
|
|
**/
|
|
CollectionMetadataSet: AugmentedEvent<ApiType, [collection: u32, data: Bytes], { collection: u32, data: Bytes }>;
|
|
/**
|
|
* Mint settings for a collection had changed.
|
|
**/
|
|
CollectionMintSettingsUpdated: AugmentedEvent<ApiType, [collection: u32], { collection: u32 }>;
|
|
/**
|
|
* A `collection` was created.
|
|
**/
|
|
Created: AugmentedEvent<ApiType, [collection: u32, creator: AccountId32, owner: AccountId32], { collection: u32, creator: AccountId32, owner: AccountId32 }>;
|
|
/**
|
|
* A `collection` was destroyed.
|
|
**/
|
|
Destroyed: AugmentedEvent<ApiType, [collection: u32], { collection: u32 }>;
|
|
/**
|
|
* A `collection` was force-created.
|
|
**/
|
|
ForceCreated: AugmentedEvent<ApiType, [collection: u32, owner: AccountId32], { collection: u32, owner: AccountId32 }>;
|
|
/**
|
|
* An `item` was issued.
|
|
**/
|
|
Issued: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32], { collection: u32, item: u32, owner: AccountId32 }>;
|
|
/**
|
|
* A new approval to modify item attributes was added.
|
|
**/
|
|
ItemAttributesApprovalAdded: AugmentedEvent<ApiType, [collection: u32, item: u32, delegate: AccountId32], { collection: u32, item: u32, delegate: AccountId32 }>;
|
|
/**
|
|
* A new approval to modify item attributes was removed.
|
|
**/
|
|
ItemAttributesApprovalRemoved: AugmentedEvent<ApiType, [collection: u32, item: u32, delegate: AccountId32], { collection: u32, item: u32, delegate: AccountId32 }>;
|
|
/**
|
|
* An item was bought.
|
|
**/
|
|
ItemBought: AugmentedEvent<ApiType, [collection: u32, item: u32, price: u128, seller: AccountId32, buyer: AccountId32], { collection: u32, item: u32, price: u128, seller: AccountId32, buyer: AccountId32 }>;
|
|
/**
|
|
* Metadata has been cleared for an item.
|
|
**/
|
|
ItemMetadataCleared: AugmentedEvent<ApiType, [collection: u32, item: u32], { collection: u32, item: u32 }>;
|
|
/**
|
|
* New metadata has been set for an item.
|
|
**/
|
|
ItemMetadataSet: AugmentedEvent<ApiType, [collection: u32, item: u32, data: Bytes], { collection: u32, item: u32, data: Bytes }>;
|
|
/**
|
|
* The price for the item was removed.
|
|
**/
|
|
ItemPriceRemoved: AugmentedEvent<ApiType, [collection: u32, item: u32], { collection: u32, item: u32 }>;
|
|
/**
|
|
* The price was set for the item.
|
|
**/
|
|
ItemPriceSet: AugmentedEvent<ApiType, [collection: u32, item: u32, price: u128, whitelistedBuyer: Option<AccountId32>], { collection: u32, item: u32, price: u128, whitelistedBuyer: Option<AccountId32> }>;
|
|
/**
|
|
* `item` metadata or attributes were locked.
|
|
**/
|
|
ItemPropertiesLocked: AugmentedEvent<ApiType, [collection: u32, item: u32, lockMetadata: bool, lockAttributes: bool], { collection: u32, item: u32, lockMetadata: bool, lockAttributes: bool }>;
|
|
/**
|
|
* An `item` became non-transferable.
|
|
**/
|
|
ItemTransferLocked: AugmentedEvent<ApiType, [collection: u32, item: u32], { collection: u32, item: u32 }>;
|
|
/**
|
|
* An `item` became transferable.
|
|
**/
|
|
ItemTransferUnlocked: AugmentedEvent<ApiType, [collection: u32, item: u32], { collection: u32, item: u32 }>;
|
|
/**
|
|
* Event gets emitted when the `NextCollectionId` gets incremented.
|
|
**/
|
|
NextCollectionIdIncremented: AugmentedEvent<ApiType, [nextId: u32], { nextId: u32 }>;
|
|
/**
|
|
* The owner changed.
|
|
**/
|
|
OwnerChanged: AugmentedEvent<ApiType, [collection: u32, newOwner: AccountId32], { collection: u32, newOwner: AccountId32 }>;
|
|
/**
|
|
* Ownership acceptance has changed for an account.
|
|
**/
|
|
OwnershipAcceptanceChanged: AugmentedEvent<ApiType, [who: AccountId32, maybeCollection: Option<u32>], { who: AccountId32, maybeCollection: Option<u32> }>;
|
|
/**
|
|
* A new attribute in the `Pallet` namespace was set for the `collection` or an `item`
|
|
* within that `collection`.
|
|
**/
|
|
PalletAttributeSet: AugmentedEvent<ApiType, [collection: u32, item: Option<u32>, attribute: PalletNftsPalletAttributes, value: Bytes], { collection: u32, item: Option<u32>, attribute: PalletNftsPalletAttributes, value: Bytes }>;
|
|
/**
|
|
* New attributes have been set for an `item` of the `collection`.
|
|
**/
|
|
PreSignedAttributesSet: AugmentedEvent<ApiType, [collection: u32, item: u32, namespace: PalletNftsAttributeNamespace], { collection: u32, item: u32, namespace: PalletNftsAttributeNamespace }>;
|
|
/**
|
|
* The deposit for a set of `item`s within a `collection` has been updated.
|
|
**/
|
|
Redeposited: AugmentedEvent<ApiType, [collection: u32, successfulItems: Vec<u32>], { collection: u32, successfulItems: Vec<u32> }>;
|
|
/**
|
|
* The swap was cancelled.
|
|
**/
|
|
SwapCancelled: AugmentedEvent<ApiType, [offeredCollection: u32, offeredItem: u32, desiredCollection: u32, desiredItem: Option<u32>, price: Option<PalletNftsPriceWithDirection>, deadline: u32], { offeredCollection: u32, offeredItem: u32, desiredCollection: u32, desiredItem: Option<u32>, price: Option<PalletNftsPriceWithDirection>, deadline: u32 }>;
|
|
/**
|
|
* The swap has been claimed.
|
|
**/
|
|
SwapClaimed: AugmentedEvent<ApiType, [sentCollection: u32, sentItem: u32, sentItemOwner: AccountId32, receivedCollection: u32, receivedItem: u32, receivedItemOwner: AccountId32, price: Option<PalletNftsPriceWithDirection>, deadline: u32], { sentCollection: u32, sentItem: u32, sentItemOwner: AccountId32, receivedCollection: u32, receivedItem: u32, receivedItemOwner: AccountId32, price: Option<PalletNftsPriceWithDirection>, deadline: u32 }>;
|
|
/**
|
|
* An `item` swap intent was created.
|
|
**/
|
|
SwapCreated: AugmentedEvent<ApiType, [offeredCollection: u32, offeredItem: u32, desiredCollection: u32, desiredItem: Option<u32>, price: Option<PalletNftsPriceWithDirection>, deadline: u32], { offeredCollection: u32, offeredItem: u32, desiredCollection: u32, desiredItem: Option<u32>, price: Option<PalletNftsPriceWithDirection>, deadline: u32 }>;
|
|
/**
|
|
* The management team changed.
|
|
**/
|
|
TeamChanged: AugmentedEvent<ApiType, [collection: u32, issuer: Option<AccountId32>, admin: Option<AccountId32>, freezer: Option<AccountId32>], { collection: u32, issuer: Option<AccountId32>, admin: Option<AccountId32>, freezer: Option<AccountId32> }>;
|
|
/**
|
|
* A tip was sent.
|
|
**/
|
|
TipSent: AugmentedEvent<ApiType, [collection: u32, item: u32, sender: AccountId32, receiver: AccountId32, amount: u128], { collection: u32, item: u32, sender: AccountId32, receiver: AccountId32, amount: u128 }>;
|
|
/**
|
|
* An `item` of a `collection` has been approved by the `owner` for transfer by
|
|
* a `delegate`.
|
|
**/
|
|
TransferApproved: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32, delegate: AccountId32, deadline: Option<u32>], { collection: u32, item: u32, owner: AccountId32, delegate: AccountId32, deadline: Option<u32> }>;
|
|
/**
|
|
* An `item` was transferred.
|
|
**/
|
|
Transferred: AugmentedEvent<ApiType, [collection: u32, item: u32, from: AccountId32, to: AccountId32], { collection: u32, item: u32, from: AccountId32, to: AccountId32 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
nis: {
|
|
/**
|
|
* A bid was dropped from a queue because of another, more substantial, bid was present.
|
|
**/
|
|
BidDropped: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, duration: u32], { who: AccountId32, amount: u128, duration: u32 }>;
|
|
/**
|
|
* A bid was successfully placed.
|
|
**/
|
|
BidPlaced: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, duration: u32], { who: AccountId32, amount: u128, duration: u32 }>;
|
|
/**
|
|
* A bid was successfully removed (before being accepted).
|
|
**/
|
|
BidRetracted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, duration: u32], { who: AccountId32, amount: u128, duration: u32 }>;
|
|
/**
|
|
* An automatic funding of the deficit was made.
|
|
**/
|
|
Funded: AugmentedEvent<ApiType, [deficit: u128], { deficit: u128 }>;
|
|
/**
|
|
* A bid was accepted. The balance may not be released until expiry.
|
|
**/
|
|
Issued: AugmentedEvent<ApiType, [index: u32, expiry: u32, who: AccountId32, proportion: Perquintill, amount: u128], { index: u32, expiry: u32, who: AccountId32, proportion: Perquintill, amount: u128 }>;
|
|
/**
|
|
* An receipt has been (at least partially) thawed.
|
|
**/
|
|
Thawed: AugmentedEvent<ApiType, [index: u32, who: AccountId32, proportion: Perquintill, amount: u128, dropped: bool], { index: u32, who: AccountId32, proportion: Perquintill, amount: u128, dropped: bool }>;
|
|
/**
|
|
* A receipt was transfered.
|
|
**/
|
|
Transferred: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, index: u32], { from: AccountId32, to: AccountId32, index: u32 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
nominationPools: {
|
|
/**
|
|
* A member has became bonded in a pool.
|
|
**/
|
|
Bonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, bonded: u128, joined: bool], { member: AccountId32, poolId: u32, bonded: u128, joined: bool }>;
|
|
/**
|
|
* A pool has been created.
|
|
**/
|
|
Created: AugmentedEvent<ApiType, [depositor: AccountId32, poolId: u32], { depositor: AccountId32, poolId: u32 }>;
|
|
/**
|
|
* A pool has been destroyed.
|
|
**/
|
|
Destroyed: AugmentedEvent<ApiType, [poolId: u32], { poolId: u32 }>;
|
|
/**
|
|
* A member has been removed from a pool.
|
|
*
|
|
* The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
|
|
**/
|
|
MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32], { poolId: u32, member: AccountId32 }>;
|
|
/**
|
|
* A payout has been made to a member.
|
|
**/
|
|
PaidOut: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, payout: u128], { member: AccountId32, poolId: u32, payout: u128 }>;
|
|
/**
|
|
* A pool's commission `change_rate` has been changed.
|
|
**/
|
|
PoolCommissionChangeRateUpdated: AugmentedEvent<ApiType, [poolId: u32, changeRate: PalletNominationPoolsCommissionChangeRate], { poolId: u32, changeRate: PalletNominationPoolsCommissionChangeRate }>;
|
|
/**
|
|
* Pool commission has been claimed.
|
|
**/
|
|
PoolCommissionClaimed: AugmentedEvent<ApiType, [poolId: u32, commission: u128], { poolId: u32, commission: u128 }>;
|
|
/**
|
|
* A pool's commission setting has been changed.
|
|
**/
|
|
PoolCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, current: Option<ITuple<[Perbill, AccountId32]>>], { poolId: u32, current: Option<ITuple<[Perbill, AccountId32]>> }>;
|
|
/**
|
|
* A pool's maximum commission setting has been changed.
|
|
**/
|
|
PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], { poolId: u32, maxCommission: Perbill }>;
|
|
/**
|
|
* The active balance of pool `pool_id` has been slashed to `balance`.
|
|
**/
|
|
PoolSlashed: AugmentedEvent<ApiType, [poolId: u32, balance: u128], { poolId: u32, balance: u128 }>;
|
|
/**
|
|
* The roles of a pool have been updated to the given new roles. Note that the depositor
|
|
* can never change.
|
|
**/
|
|
RolesUpdated: AugmentedEvent<ApiType, [root: Option<AccountId32>, bouncer: Option<AccountId32>, nominator: Option<AccountId32>], { root: Option<AccountId32>, bouncer: Option<AccountId32>, nominator: Option<AccountId32> }>;
|
|
/**
|
|
* The state of a pool has changed
|
|
**/
|
|
StateChanged: AugmentedEvent<ApiType, [poolId: u32, newState: PalletNominationPoolsPoolState], { poolId: u32, newState: PalletNominationPoolsPoolState }>;
|
|
/**
|
|
* A member has unbonded from their pool.
|
|
*
|
|
* - `balance` is the corresponding balance of the number of points that has been
|
|
* requested to be unbonded (the argument of the `unbond` transaction) from the bonded
|
|
* pool.
|
|
* - `points` is the number of points that are issued as a result of `balance` being
|
|
* dissolved into the corresponding unbonding pool.
|
|
* - `era` is the era in which the balance will be unbonded.
|
|
* In the absence of slashing, these values will match. In the presence of slashing, the
|
|
* number of points that are issued in the unbonding pool will be less than the amount
|
|
* requested to be unbonded.
|
|
**/
|
|
Unbonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128, era: u32], { member: AccountId32, poolId: u32, balance: u128, points: u128, era: u32 }>;
|
|
/**
|
|
* The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
|
|
**/
|
|
UnbondingPoolSlashed: AugmentedEvent<ApiType, [poolId: u32, era: u32, balance: u128], { poolId: u32, era: u32, balance: u128 }>;
|
|
/**
|
|
* A member has withdrawn from their pool.
|
|
*
|
|
* The given number of `points` have been dissolved in return of `balance`.
|
|
*
|
|
* Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
|
|
* will be 1.
|
|
**/
|
|
Withdrawn: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128], { member: AccountId32, poolId: u32, balance: u128, points: u128 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
offences: {
|
|
/**
|
|
* There is an offence reported of the given `kind` happened at the `session_index` and
|
|
* (kind-specific) time slot. This event is not deposited for duplicate slashes.
|
|
* \[kind, timeslot\].
|
|
**/
|
|
Offence: AugmentedEvent<ApiType, [kind: U8aFixed, timeslot: Bytes], { kind: U8aFixed, timeslot: Bytes }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
pov: {
|
|
TestEvent: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
preimage: {
|
|
/**
|
|
* A preimage has ben cleared.
|
|
**/
|
|
Cleared: AugmentedEvent<ApiType, [hash_: H256], { hash_: H256 }>;
|
|
/**
|
|
* A preimage has been noted.
|
|
**/
|
|
Noted: AugmentedEvent<ApiType, [hash_: H256], { hash_: H256 }>;
|
|
/**
|
|
* A preimage has been requested.
|
|
**/
|
|
Requested: AugmentedEvent<ApiType, [hash_: H256], { hash_: H256 }>;
|
|
/**
|
|
* 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: KitchensinkRuntimeProxyType, delay: u32], { delegator: AccountId32, delegatee: AccountId32, proxyType: KitchensinkRuntimeProxyType, 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: KitchensinkRuntimeProxyType, delay: u32], { delegator: AccountId32, delegatee: AccountId32, proxyType: KitchensinkRuntimeProxyType, 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: KitchensinkRuntimeProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: KitchensinkRuntimeProxyType, disambiguationIndex: u16 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
rankedCollective: {
|
|
/**
|
|
* A member `who` has been added.
|
|
**/
|
|
MemberAdded: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
/**
|
|
* The member `who` of given `rank` has been removed from the collective.
|
|
**/
|
|
MemberRemoved: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], { who: AccountId32, rank: u16 }>;
|
|
/**
|
|
* The member `who`se rank has been changed to the given `rank`.
|
|
**/
|
|
RankChanged: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], { who: AccountId32, rank: u16 }>;
|
|
/**
|
|
* The member `who` has voted for the `poll` with the given `vote` leading to an updated
|
|
* `tally`.
|
|
**/
|
|
Voted: AugmentedEvent<ApiType, [who: AccountId32, poll: u32, vote: PalletRankedCollectiveVoteRecord, tally: PalletRankedCollectiveTally], { who: AccountId32, poll: u32, vote: PalletRankedCollectiveVoteRecord, tally: PalletRankedCollectiveTally }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
rankedPolls: {
|
|
/**
|
|
* A referendum has been approved and its proposal has been scheduled.
|
|
**/
|
|
Approved: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
|
|
/**
|
|
* A referendum has been cancelled.
|
|
**/
|
|
Cancelled: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], { index: u32, tally: PalletRankedCollectiveTally }>;
|
|
ConfirmAborted: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
|
|
/**
|
|
* A referendum has ended its confirmation phase and is ready for approval.
|
|
**/
|
|
Confirmed: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], { index: u32, tally: PalletRankedCollectiveTally }>;
|
|
ConfirmStarted: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
|
|
/**
|
|
* The decision deposit has been placed.
|
|
**/
|
|
DecisionDepositPlaced: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], { index: u32, who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* The decision deposit has been refunded.
|
|
**/
|
|
DecisionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], { index: u32, who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* A referendum has moved into the deciding phase.
|
|
**/
|
|
DecisionStarted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded, tally: PalletRankedCollectiveTally], { index: u32, track: u16, proposal: FrameSupportPreimagesBounded, tally: PalletRankedCollectiveTally }>;
|
|
/**
|
|
* A deposit has been slashaed.
|
|
**/
|
|
DepositSlashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* A referendum has been killed.
|
|
**/
|
|
Killed: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], { index: u32, tally: PalletRankedCollectiveTally }>;
|
|
/**
|
|
* Metadata for a referendum has been cleared.
|
|
**/
|
|
MetadataCleared: AugmentedEvent<ApiType, [index: u32, hash_: H256], { index: u32, hash_: H256 }>;
|
|
/**
|
|
* Metadata for a referendum has been set.
|
|
**/
|
|
MetadataSet: AugmentedEvent<ApiType, [index: u32, hash_: H256], { index: u32, hash_: H256 }>;
|
|
/**
|
|
* A proposal has been rejected by referendum.
|
|
**/
|
|
Rejected: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], { index: u32, tally: PalletRankedCollectiveTally }>;
|
|
/**
|
|
* The submission deposit has been refunded.
|
|
**/
|
|
SubmissionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], { index: u32, who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* A referendum has been submitted.
|
|
**/
|
|
Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], { index: u32, track: u16, proposal: FrameSupportPreimagesBounded }>;
|
|
/**
|
|
* A referendum has been timed out without being decided.
|
|
**/
|
|
TimedOut: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], { index: u32, tally: PalletRankedCollectiveTally }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
recovery: {
|
|
/**
|
|
* Lost account has been successfully recovered by rescuer account.
|
|
**/
|
|
AccountRecovered: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32 }>;
|
|
/**
|
|
* A recovery process for lost account by rescuer account has been closed.
|
|
**/
|
|
RecoveryClosed: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32 }>;
|
|
/**
|
|
* A recovery process has been set up for an account.
|
|
**/
|
|
RecoveryCreated: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
|
/**
|
|
* A recovery process has been initiated for lost account by rescuer account.
|
|
**/
|
|
RecoveryInitiated: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32 }>;
|
|
/**
|
|
* A recovery process has been removed for an account.
|
|
**/
|
|
RecoveryRemoved: AugmentedEvent<ApiType, [lostAccount: AccountId32], { lostAccount: AccountId32 }>;
|
|
/**
|
|
* A recovery process for lost account by rescuer account has been vouched for by sender.
|
|
**/
|
|
RecoveryVouched: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32, sender: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32, sender: AccountId32 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
referenda: {
|
|
/**
|
|
* A referendum has been approved and its proposal has been scheduled.
|
|
**/
|
|
Approved: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
|
|
/**
|
|
* A referendum has been cancelled.
|
|
**/
|
|
Cancelled: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32, tally: PalletConvictionVotingTally }>;
|
|
ConfirmAborted: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
|
|
/**
|
|
* A referendum has ended its confirmation phase and is ready for approval.
|
|
**/
|
|
Confirmed: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32, tally: PalletConvictionVotingTally }>;
|
|
ConfirmStarted: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
|
|
/**
|
|
* The decision deposit has been placed.
|
|
**/
|
|
DecisionDepositPlaced: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], { index: u32, who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* The decision deposit has been refunded.
|
|
**/
|
|
DecisionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], { index: u32, who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* A referendum has moved into the deciding phase.
|
|
**/
|
|
DecisionStarted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded, tally: PalletConvictionVotingTally], { index: u32, track: u16, proposal: FrameSupportPreimagesBounded, tally: PalletConvictionVotingTally }>;
|
|
/**
|
|
* A deposit has been slashaed.
|
|
**/
|
|
DepositSlashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* A referendum has been killed.
|
|
**/
|
|
Killed: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32, tally: PalletConvictionVotingTally }>;
|
|
/**
|
|
* Metadata for a referendum has been cleared.
|
|
**/
|
|
MetadataCleared: AugmentedEvent<ApiType, [index: u32, hash_: H256], { index: u32, hash_: H256 }>;
|
|
/**
|
|
* Metadata for a referendum has been set.
|
|
**/
|
|
MetadataSet: AugmentedEvent<ApiType, [index: u32, hash_: H256], { index: u32, hash_: H256 }>;
|
|
/**
|
|
* A proposal has been rejected by referendum.
|
|
**/
|
|
Rejected: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32, tally: PalletConvictionVotingTally }>;
|
|
/**
|
|
* The submission deposit has been refunded.
|
|
**/
|
|
SubmissionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], { index: u32, who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* A referendum has been submitted.
|
|
**/
|
|
Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], { index: u32, track: u16, proposal: FrameSupportPreimagesBounded }>;
|
|
/**
|
|
* A referendum has been timed out without being decided.
|
|
**/
|
|
TimedOut: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32, tally: PalletConvictionVotingTally }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
remark: {
|
|
/**
|
|
* Stored data off chain.
|
|
**/
|
|
Stored: AugmentedEvent<ApiType, [sender: AccountId32, contentHash: H256], { sender: AccountId32, contentHash: H256 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
salary: {
|
|
/**
|
|
* The next cycle begins.
|
|
**/
|
|
CycleStarted: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
|
|
/**
|
|
* A member is inducted into the payroll.
|
|
**/
|
|
Inducted: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
/**
|
|
* A payment happened.
|
|
**/
|
|
Paid: AugmentedEvent<ApiType, [who: AccountId32, beneficiary: AccountId32, amount: u128, id: Null], { who: AccountId32, beneficiary: AccountId32, amount: u128, id: Null }>;
|
|
/**
|
|
* A member registered for a payout.
|
|
**/
|
|
Registered: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
scheduler: {
|
|
/**
|
|
* The call for the provided hash was not found so the task has been aborted.
|
|
**/
|
|
CallUnavailable: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
|
|
/**
|
|
* Canceled some task.
|
|
**/
|
|
Canceled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
|
|
/**
|
|
* Dispatched some task.
|
|
**/
|
|
Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError> }>;
|
|
/**
|
|
* The given task was unable to be renewed since the agenda is full at that block.
|
|
**/
|
|
PeriodicFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
|
|
/**
|
|
* The given task can never be executed since it is overweight.
|
|
**/
|
|
PermanentlyOverweight: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
|
|
/**
|
|
* Scheduled some task.
|
|
**/
|
|
Scheduled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
|
|
/**
|
|
* 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>;
|
|
};
|
|
society: {
|
|
/**
|
|
* A candidate was dropped (due to an excess of bids in the system).
|
|
**/
|
|
AutoUnbid: AugmentedEvent<ApiType, [candidate: AccountId32], { candidate: AccountId32 }>;
|
|
/**
|
|
* A membership bid just happened. The given account is the candidate's ID and their offer
|
|
* is the second.
|
|
**/
|
|
Bid: AugmentedEvent<ApiType, [candidateId: AccountId32, offer: u128], { candidateId: AccountId32, offer: u128 }>;
|
|
/**
|
|
* A candidate has been suspended
|
|
**/
|
|
CandidateSuspended: AugmentedEvent<ApiType, [candidate: AccountId32], { candidate: AccountId32 }>;
|
|
/**
|
|
* A member has been challenged
|
|
**/
|
|
Challenged: AugmentedEvent<ApiType, [member: AccountId32], { member: AccountId32 }>;
|
|
/**
|
|
* A vote has been placed for a defending member
|
|
**/
|
|
DefenderVote: AugmentedEvent<ApiType, [voter: AccountId32, vote: bool], { voter: AccountId32, vote: bool }>;
|
|
/**
|
|
* Some funds were deposited into the society account.
|
|
**/
|
|
Deposit: AugmentedEvent<ApiType, [value: u128], { value: u128 }>;
|
|
/**
|
|
* The society is founded by the given identity.
|
|
**/
|
|
Founded: AugmentedEvent<ApiType, [founder: AccountId32], { founder: AccountId32 }>;
|
|
/**
|
|
* A group of candidates have been inducted. The batch's primary is the first value, the
|
|
* batch in full is the second.
|
|
**/
|
|
Inducted: AugmentedEvent<ApiType, [primary: AccountId32, candidates: Vec<AccountId32>], { primary: AccountId32, candidates: Vec<AccountId32> }>;
|
|
/**
|
|
* A member has been suspended
|
|
**/
|
|
MemberSuspended: AugmentedEvent<ApiType, [member: AccountId32], { member: AccountId32 }>;
|
|
/**
|
|
* A new \[max\] member count has been set
|
|
**/
|
|
NewMaxMembers: AugmentedEvent<ApiType, [max: u32], { max: u32 }>;
|
|
/**
|
|
* A group of members has been choosen as Skeptics
|
|
**/
|
|
SkepticsChosen: AugmentedEvent<ApiType, [skeptics: Vec<AccountId32>], { skeptics: Vec<AccountId32> }>;
|
|
/**
|
|
* A suspended member has been judged.
|
|
**/
|
|
SuspendedMemberJudgement: AugmentedEvent<ApiType, [who: AccountId32, judged: bool], { who: AccountId32, judged: bool }>;
|
|
/**
|
|
* A candidate was dropped (by their request).
|
|
**/
|
|
Unbid: AugmentedEvent<ApiType, [candidate: AccountId32], { candidate: AccountId32 }>;
|
|
/**
|
|
* Society is unfounded.
|
|
**/
|
|
Unfounded: AugmentedEvent<ApiType, [founder: AccountId32], { founder: AccountId32 }>;
|
|
/**
|
|
* A candidate was dropped (by request of who vouched for them).
|
|
**/
|
|
Unvouch: AugmentedEvent<ApiType, [candidate: AccountId32], { candidate: AccountId32 }>;
|
|
/**
|
|
* A vote has been placed
|
|
**/
|
|
Vote: AugmentedEvent<ApiType, [candidate: AccountId32, voter: AccountId32, vote: bool], { candidate: AccountId32, voter: AccountId32, vote: bool }>;
|
|
/**
|
|
* A membership bid just happened by vouching. The given account is the candidate's ID and
|
|
* their offer is the second. The vouching party is the third.
|
|
**/
|
|
Vouch: AugmentedEvent<ApiType, [candidateId: AccountId32, offer: u128, vouching: AccountId32], { candidateId: AccountId32, offer: u128, vouching: AccountId32 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
staking: {
|
|
/**
|
|
* An account has bonded this amount. \[stash, amount\]
|
|
*
|
|
* NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
|
|
* it will not be emitted for staking rewards when they are added to stake.
|
|
**/
|
|
Bonded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
|
|
/**
|
|
* An account has stopped participating as either a validator or nominator.
|
|
**/
|
|
Chilled: AugmentedEvent<ApiType, [stash: AccountId32], { stash: AccountId32 }>;
|
|
/**
|
|
* The era payout has been set; the first balance is the validator-payout; the second is
|
|
* the remainder from the maximum amount of reward.
|
|
**/
|
|
EraPaid: AugmentedEvent<ApiType, [eraIndex: u32, validatorPayout: u128, remainder: u128], { eraIndex: u32, validatorPayout: u128, remainder: u128 }>;
|
|
/**
|
|
* A new force era mode was set.
|
|
**/
|
|
ForceEra: AugmentedEvent<ApiType, [mode: PalletStakingForcing], { mode: PalletStakingForcing }>;
|
|
/**
|
|
* A nominator has been kicked from a validator.
|
|
**/
|
|
Kicked: AugmentedEvent<ApiType, [nominator: AccountId32, stash: AccountId32], { nominator: AccountId32, stash: AccountId32 }>;
|
|
/**
|
|
* An old slashing report from a prior era was discarded because it could
|
|
* not be processed.
|
|
**/
|
|
OldSlashingReportDiscarded: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
|
|
/**
|
|
* The stakers' rewards are getting paid.
|
|
**/
|
|
PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32], { eraIndex: u32, validatorStash: AccountId32 }>;
|
|
/**
|
|
* The nominator has been rewarded by this amount.
|
|
**/
|
|
Rewarded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
|
|
/**
|
|
* A staker (validator or nominator) has been slashed by the given amount.
|
|
**/
|
|
Slashed: AugmentedEvent<ApiType, [staker: AccountId32, amount: u128], { staker: AccountId32, amount: u128 }>;
|
|
/**
|
|
* A slash for the given validator, for the given percentage of their stake, at the given
|
|
* era as been reported.
|
|
**/
|
|
SlashReported: AugmentedEvent<ApiType, [validator: AccountId32, fraction: Perbill, slashEra: u32], { validator: AccountId32, fraction: Perbill, slashEra: u32 }>;
|
|
/**
|
|
* A new set of stakers was elected.
|
|
**/
|
|
StakersElected: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* The election failed. No new era is planned.
|
|
**/
|
|
StakingElectionFailed: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* An account has unbonded this amount.
|
|
**/
|
|
Unbonded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
|
|
/**
|
|
* A validator has set their preferences.
|
|
**/
|
|
ValidatorPrefsSet: AugmentedEvent<ApiType, [stash: AccountId32, prefs: PalletStakingValidatorPrefs], { stash: AccountId32, prefs: PalletStakingValidatorPrefs }>;
|
|
/**
|
|
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
|
|
* from the unlocking queue.
|
|
**/
|
|
Withdrawn: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
stateTrieMigration: {
|
|
/**
|
|
* The auto migration task finished.
|
|
**/
|
|
AutoMigrationFinished: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* Migration got halted due to an error or miss-configuration.
|
|
**/
|
|
Halted: AugmentedEvent<ApiType, [error: PalletStateTrieMigrationError], { error: PalletStateTrieMigrationError }>;
|
|
/**
|
|
* Given number of `(top, child)` keys were migrated respectively, with the given
|
|
* `compute`.
|
|
**/
|
|
Migrated: AugmentedEvent<ApiType, [top: u32, child: u32, compute: PalletStateTrieMigrationMigrationCompute], { top: u32, child: u32, compute: PalletStateTrieMigrationMigrationCompute }>;
|
|
/**
|
|
* Some account got slashed by the given amount.
|
|
**/
|
|
Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
/**
|
|
* 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>;
|
|
};
|
|
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 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
technicalCommittee: {
|
|
/**
|
|
* 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: 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>;
|
|
};
|
|
technicalMembership: {
|
|
/**
|
|
* Phantom member, never used.
|
|
**/
|
|
Dummy: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* One of the members' keys changed.
|
|
**/
|
|
KeyChanged: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* The given member was added; see the transaction for who.
|
|
**/
|
|
MemberAdded: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* The given member was removed; see the transaction for who.
|
|
**/
|
|
MemberRemoved: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* The membership was reset; see the transaction for who the new set is.
|
|
**/
|
|
MembersReset: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* Two members were swapped; see the transaction for who.
|
|
**/
|
|
MembersSwapped: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
tips: {
|
|
/**
|
|
* A new tip suggestion has been opened.
|
|
**/
|
|
NewTip: AugmentedEvent<ApiType, [tipHash: H256], { tipHash: H256 }>;
|
|
/**
|
|
* A tip suggestion has been closed.
|
|
**/
|
|
TipClosed: AugmentedEvent<ApiType, [tipHash: H256, who: AccountId32, payout: u128], { tipHash: H256, who: AccountId32, payout: u128 }>;
|
|
/**
|
|
* A tip suggestion has reached threshold and is closing.
|
|
**/
|
|
TipClosing: AugmentedEvent<ApiType, [tipHash: H256], { tipHash: H256 }>;
|
|
/**
|
|
* A tip suggestion has been retracted.
|
|
**/
|
|
TipRetracted: AugmentedEvent<ApiType, [tipHash: H256], { tipHash: H256 }>;
|
|
/**
|
|
* A tip suggestion has been slashed.
|
|
**/
|
|
TipSlashed: AugmentedEvent<ApiType, [tipHash: H256, finder: AccountId32, deposit: u128], { tipHash: H256, finder: AccountId32, deposit: 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>;
|
|
};
|
|
transactionStorage: {
|
|
/**
|
|
* Storage proof was successfully checked.
|
|
**/
|
|
ProofChecked: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* Renewed data under specified index.
|
|
**/
|
|
Renewed: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
|
|
/**
|
|
* Stored data under specified index.
|
|
**/
|
|
Stored: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
|
|
/**
|
|
* 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 }>;
|
|
/**
|
|
* Some funds have been deposited.
|
|
**/
|
|
Deposit: AugmentedEvent<ApiType, [value: u128], { value: u128 }>;
|
|
/**
|
|
* New proposal.
|
|
**/
|
|
Proposed: AugmentedEvent<ApiType, [proposalIndex: u32], { proposalIndex: u32 }>;
|
|
/**
|
|
* A proposal was rejected; funds were slashed.
|
|
**/
|
|
Rejected: AugmentedEvent<ApiType, [proposalIndex: u32, slashed: u128], { proposalIndex: u32, slashed: u128 }>;
|
|
/**
|
|
* Spending has finished; this is the amount that rolls over until next spend.
|
|
**/
|
|
Rollover: AugmentedEvent<ApiType, [rolloverBalance: u128], { rolloverBalance: u128 }>;
|
|
/**
|
|
* A new spend proposal has been approved.
|
|
**/
|
|
SpendApproved: AugmentedEvent<ApiType, [proposalIndex: u32, amount: u128, beneficiary: AccountId32], { proposalIndex: u32, amount: u128, beneficiary: AccountId32 }>;
|
|
/**
|
|
* We have ended a spend period and will now allocate funds.
|
|
**/
|
|
Spending: AugmentedEvent<ApiType, [budgetRemaining: u128], { budgetRemaining: u128 }>;
|
|
/**
|
|
* The inactive funds of the pallet have been updated.
|
|
**/
|
|
UpdatedInactive: AugmentedEvent<ApiType, [reactivated: u128, deactivated: u128], { reactivated: u128, deactivated: u128 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
uniques: {
|
|
/**
|
|
* An approval for a `delegate` account to transfer the `item` of an item
|
|
* `collection` was cancelled by its `owner`.
|
|
**/
|
|
ApprovalCancelled: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32, delegate: AccountId32], { collection: u32, item: u32, owner: AccountId32, delegate: AccountId32 }>;
|
|
/**
|
|
* An `item` of a `collection` has been approved by the `owner` for transfer by
|
|
* a `delegate`.
|
|
**/
|
|
ApprovedTransfer: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32, delegate: AccountId32], { collection: u32, item: u32, owner: AccountId32, delegate: AccountId32 }>;
|
|
/**
|
|
* Attribute metadata has been cleared for a `collection` or `item`.
|
|
**/
|
|
AttributeCleared: AugmentedEvent<ApiType, [collection: u32, maybeItem: Option<u32>, key: Bytes], { collection: u32, maybeItem: Option<u32>, key: Bytes }>;
|
|
/**
|
|
* New attribute metadata has been set for a `collection` or `item`.
|
|
**/
|
|
AttributeSet: AugmentedEvent<ApiType, [collection: u32, maybeItem: Option<u32>, key: Bytes, value: Bytes], { collection: u32, maybeItem: Option<u32>, key: Bytes, value: Bytes }>;
|
|
/**
|
|
* An `item` was destroyed.
|
|
**/
|
|
Burned: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32], { collection: u32, item: u32, owner: AccountId32 }>;
|
|
/**
|
|
* Some `collection` was frozen.
|
|
**/
|
|
CollectionFrozen: AugmentedEvent<ApiType, [collection: u32], { collection: u32 }>;
|
|
/**
|
|
* Max supply has been set for a collection.
|
|
**/
|
|
CollectionMaxSupplySet: AugmentedEvent<ApiType, [collection: u32, maxSupply: u32], { collection: u32, maxSupply: u32 }>;
|
|
/**
|
|
* Metadata has been cleared for a `collection`.
|
|
**/
|
|
CollectionMetadataCleared: AugmentedEvent<ApiType, [collection: u32], { collection: u32 }>;
|
|
/**
|
|
* New metadata has been set for a `collection`.
|
|
**/
|
|
CollectionMetadataSet: AugmentedEvent<ApiType, [collection: u32, data: Bytes, isFrozen: bool], { collection: u32, data: Bytes, isFrozen: bool }>;
|
|
/**
|
|
* Some `collection` was thawed.
|
|
**/
|
|
CollectionThawed: AugmentedEvent<ApiType, [collection: u32], { collection: u32 }>;
|
|
/**
|
|
* A `collection` was created.
|
|
**/
|
|
Created: AugmentedEvent<ApiType, [collection: u32, creator: AccountId32, owner: AccountId32], { collection: u32, creator: AccountId32, owner: AccountId32 }>;
|
|
/**
|
|
* A `collection` was destroyed.
|
|
**/
|
|
Destroyed: AugmentedEvent<ApiType, [collection: u32], { collection: u32 }>;
|
|
/**
|
|
* A `collection` was force-created.
|
|
**/
|
|
ForceCreated: AugmentedEvent<ApiType, [collection: u32, owner: AccountId32], { collection: u32, owner: AccountId32 }>;
|
|
/**
|
|
* Some `item` was frozen.
|
|
**/
|
|
Frozen: AugmentedEvent<ApiType, [collection: u32, item: u32], { collection: u32, item: u32 }>;
|
|
/**
|
|
* An `item` was issued.
|
|
**/
|
|
Issued: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32], { collection: u32, item: u32, owner: AccountId32 }>;
|
|
/**
|
|
* An item was bought.
|
|
**/
|
|
ItemBought: AugmentedEvent<ApiType, [collection: u32, item: u32, price: u128, seller: AccountId32, buyer: AccountId32], { collection: u32, item: u32, price: u128, seller: AccountId32, buyer: AccountId32 }>;
|
|
/**
|
|
* The price for the instance was removed.
|
|
**/
|
|
ItemPriceRemoved: AugmentedEvent<ApiType, [collection: u32, item: u32], { collection: u32, item: u32 }>;
|
|
/**
|
|
* The price was set for the instance.
|
|
**/
|
|
ItemPriceSet: AugmentedEvent<ApiType, [collection: u32, item: u32, price: u128, whitelistedBuyer: Option<AccountId32>], { collection: u32, item: u32, price: u128, whitelistedBuyer: Option<AccountId32> }>;
|
|
/**
|
|
* A `collection` has had its attributes changed by the `Force` origin.
|
|
**/
|
|
ItemStatusChanged: AugmentedEvent<ApiType, [collection: u32], { collection: u32 }>;
|
|
/**
|
|
* Metadata has been cleared for an item.
|
|
**/
|
|
MetadataCleared: AugmentedEvent<ApiType, [collection: u32, item: u32], { collection: u32, item: u32 }>;
|
|
/**
|
|
* New metadata has been set for an item.
|
|
**/
|
|
MetadataSet: AugmentedEvent<ApiType, [collection: u32, item: u32, data: Bytes, isFrozen: bool], { collection: u32, item: u32, data: Bytes, isFrozen: bool }>;
|
|
/**
|
|
* The owner changed.
|
|
**/
|
|
OwnerChanged: AugmentedEvent<ApiType, [collection: u32, newOwner: AccountId32], { collection: u32, newOwner: AccountId32 }>;
|
|
/**
|
|
* Ownership acceptance has changed for an account.
|
|
**/
|
|
OwnershipAcceptanceChanged: AugmentedEvent<ApiType, [who: AccountId32, maybeCollection: Option<u32>], { who: AccountId32, maybeCollection: Option<u32> }>;
|
|
/**
|
|
* Metadata has been cleared for an item.
|
|
**/
|
|
Redeposited: AugmentedEvent<ApiType, [collection: u32, successfulItems: Vec<u32>], { collection: u32, successfulItems: Vec<u32> }>;
|
|
/**
|
|
* The management team changed.
|
|
**/
|
|
TeamChanged: AugmentedEvent<ApiType, [collection: u32, issuer: AccountId32, admin: AccountId32, freezer: AccountId32], { collection: u32, issuer: AccountId32, admin: AccountId32, freezer: AccountId32 }>;
|
|
/**
|
|
* Some `item` was thawed.
|
|
**/
|
|
Thawed: AugmentedEvent<ApiType, [collection: u32, item: u32], { collection: u32, item: u32 }>;
|
|
/**
|
|
* An `item` was transferred.
|
|
**/
|
|
Transferred: AugmentedEvent<ApiType, [collection: u32, item: u32, from: AccountId32, to: AccountId32], { collection: u32, item: u32, from: AccountId32, to: AccountId32 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
utility: {
|
|
/**
|
|
* Batch of dispatches completed fully with no error.
|
|
**/
|
|
BatchCompleted: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* Batch of dispatches completed but has errors.
|
|
**/
|
|
BatchCompletedWithErrors: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
* well as the error.
|
|
**/
|
|
BatchInterrupted: AugmentedEvent<ApiType, [index: u32, error: SpRuntimeDispatchError], { index: u32, error: SpRuntimeDispatchError }>;
|
|
/**
|
|
* A call was dispatched.
|
|
**/
|
|
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
|
|
/**
|
|
* A single item within a Batch of dispatches has completed with no error.
|
|
**/
|
|
ItemCompleted: AugmentedEvent<ApiType, []>;
|
|
/**
|
|
* A single item within a Batch of dispatches has completed with error.
|
|
**/
|
|
ItemFailed: AugmentedEvent<ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
vesting: {
|
|
/**
|
|
* An \[account\] has become fully vested.
|
|
**/
|
|
VestingCompleted: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
|
/**
|
|
* The amount vested has been updated. This could indicate a change in funds available.
|
|
* The balance given is the amount which is left unvested (and thus locked).
|
|
**/
|
|
VestingUpdated: AugmentedEvent<ApiType, [account: AccountId32, unvested: u128], { account: AccountId32, unvested: u128 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
voterList: {
|
|
/**
|
|
* Moved an account from one bag to another.
|
|
**/
|
|
Rebagged: AugmentedEvent<ApiType, [who: AccountId32, from: u64, to: u64], { who: AccountId32, from: u64, to: u64 }>;
|
|
/**
|
|
* Updated the score of some account to the given amount.
|
|
**/
|
|
ScoreUpdated: AugmentedEvent<ApiType, [who: AccountId32, newScore: u64], { who: AccountId32, newScore: u64 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
whitelist: {
|
|
CallWhitelisted: AugmentedEvent<ApiType, [callHash: H256], { callHash: H256 }>;
|
|
WhitelistedCallDispatched: AugmentedEvent<ApiType, [callHash: H256, result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>], { callHash: H256, result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }>;
|
|
WhitelistedCallRemoved: AugmentedEvent<ApiType, [callHash: H256], { callHash: H256 }>;
|
|
/**
|
|
* Generic event
|
|
**/
|
|
[key: string]: AugmentedEvent<ApiType>;
|
|
};
|
|
} // AugmentedEvents
|
|
} // declare module
|