@polkadot/api-augment
Version:
API generated augmentation
1,175 lines (1,174 loc) • 188 kB
TypeScript
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, H160, H256, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStatementStoreStatement, 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 proposal was killed.
**/
Killed: AugmentedEvent<ApiType, [proposalHash: H256], {
proposalHash: H256;
}>;
/**
* 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>;
}>;
/**
* Some cost for storing a proposal was burned.
**/
ProposalCostBurned: AugmentedEvent<ApiType, [proposalHash: H256, who: AccountId32], {
proposalHash: H256;
who: AccountId32;
}>;
/**
* Some cost for storing a proposal was released.
**/
ProposalCostReleased: AugmentedEvent<ApiType, [proposalHash: H256, who: AccountId32], {
proposalHash: H256;
who: AccountId32;
}>;
/**
* A motion (given hash) has been proposed (by given account) with a threshold (given
* `MemberCount`).
**/
Proposed: AugmentedEvent<ApiType, [account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32], {
account: AccountId32;
proposalIndex: u32;
proposalHash: H256;
threshold: u32;
}>;
/**
* A motion (given hash) has been voted on by given account, leaving
* a tally (yes votes and no votes given respectively as `MemberCount`).
**/
Voted: AugmentedEvent<ApiType, [account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32], {
account: AccountId32;
proposalHash: H256;
voted: bool;
yes: u32;
no: u32;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
assetConversion: {
/**
* A successful call of the `AddLiquidity` extrinsic will create this event.
**/
LiquidityAdded: AugmentedEvent<ApiType, [who: AccountId32, mintTo: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, amount1Provided: u128, amount2Provided: u128, lpToken: u32, lpTokenMinted: u128], {
who: AccountId32;
mintTo: AccountId32;
poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>;
amount1Provided: u128;
amount2Provided: u128;
lpToken: u32;
lpTokenMinted: u128;
}>;
/**
* A successful call of the `RemoveLiquidity` extrinsic will create this event.
**/
LiquidityRemoved: AugmentedEvent<ApiType, [who: AccountId32, withdrawTo: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, amount1: u128, amount2: u128, lpToken: u32, lpTokenBurned: u128, withdrawalFee: Permill], {
who: AccountId32;
withdrawTo: AccountId32;
poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>;
amount1: u128;
amount2: u128;
lpToken: u32;
lpTokenBurned: u128;
withdrawalFee: Permill;
}>;
/**
* A successful call of the `CreatePool` extrinsic will create this event.
**/
PoolCreated: AugmentedEvent<ApiType, [creator: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, poolAccount: AccountId32, lpToken: u32], {
creator: AccountId32;
poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>;
poolAccount: AccountId32;
lpToken: u32;
}>;
/**
* Assets have been converted from one to another.
**/
SwapCreditExecuted: AugmentedEvent<ApiType, [amountIn: u128, amountOut: u128, path: Vec<ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, u128]>>], {
amountIn: u128;
amountOut: u128;
path: Vec<ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, u128]>>;
}>;
/**
* Assets have been converted from one to another. Both `SwapExactTokenForToken`
* and `SwapTokenForExactToken` will generate this event.
**/
SwapExecuted: AugmentedEvent<ApiType, [who: AccountId32, sendTo: AccountId32, amountIn: u128, amountOut: u128, path: Vec<ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, u128]>>], {
who: AccountId32;
sendTo: AccountId32;
amountIn: u128;
amountOut: u128;
path: Vec<ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, u128]>>;
}>;
/**
* Pool has been touched in order to fulfill operational requirements.
**/
Touched: AugmentedEvent<ApiType, [poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, who: AccountId32], {
poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>;
who: AccountId32;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
assetConversionMigration: {
/**
* Indicates that a pool has been migrated to the new account ID.
**/
MigratedToNewAccount: AugmentedEvent<ApiType, [poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, priorAccount: AccountId32, newAccount: AccountId32], {
poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>;
priorAccount: AccountId32;
newAccount: AccountId32;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
assetConversionTxPayment: {
/**
* A swap of the refund in native currency back to asset failed.
**/
AssetRefundFailed: AugmentedEvent<ApiType, [nativeAmountKept: u128], {
nativeAmountKept: u128;
}>;
/**
* 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: FrameSupportTokensFungibleUnionOfNativeOrWithId], {
who: AccountId32;
actualFee: u128;
tip: u128;
assetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
assetRate: {
AssetRateCreated: AugmentedEvent<ApiType, [assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId, rate: u128], {
assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
rate: u128;
}>;
AssetRateRemoved: AugmentedEvent<ApiType, [assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId], {
assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
}>;
AssetRateUpdated: AugmentedEvent<ApiType, [assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId, old: u128, new_: u128], {
assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
old: u128;
new_: u128;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
assetRewards: {
/**
* A pool admin was modified.
**/
PoolAdminModified: AugmentedEvent<ApiType, [poolId: u32, newAdmin: AccountId32], {
poolId: u32;
newAdmin: AccountId32;
}>;
/**
* A pool information was cleared after it's completion.
**/
PoolCleanedUp: AugmentedEvent<ApiType, [poolId: u32], {
poolId: u32;
}>;
/**
* A new reward pool was created.
**/
PoolCreated: AugmentedEvent<ApiType, [creator: AccountId32, poolId: u32, stakedAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId, rewardAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId, rewardRatePerBlock: u128, expiryBlock: u32, admin: AccountId32], {
creator: AccountId32;
poolId: u32;
stakedAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
rewardAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
rewardRatePerBlock: u128;
expiryBlock: u32;
admin: AccountId32;
}>;
/**
* A pool expiry block was modified by the admin.
**/
PoolExpiryBlockModified: AugmentedEvent<ApiType, [poolId: u32, newExpiryBlock: u32], {
poolId: u32;
newExpiryBlock: u32;
}>;
/**
* A pool reward rate was modified by the admin.
**/
PoolRewardRateModified: AugmentedEvent<ApiType, [poolId: u32, newRewardRatePerBlock: u128], {
poolId: u32;
newRewardRatePerBlock: u128;
}>;
/**
* An account harvested some rewards.
**/
RewardsHarvested: AugmentedEvent<ApiType, [caller: AccountId32, staker: AccountId32, poolId: u32, amount: u128], {
caller: AccountId32;
staker: AccountId32;
poolId: u32;
amount: u128;
}>;
/**
* An account staked some tokens in a pool.
**/
Staked: AugmentedEvent<ApiType, [staker: AccountId32, poolId: u32, amount: u128], {
staker: AccountId32;
poolId: u32;
amount: u128;
}>;
/**
* An account unstaked some tokens from a pool.
**/
Unstaked: AugmentedEvent<ApiType, [caller: AccountId32, staker: AccountId32, poolId: u32, amount: u128], {
caller: AccountId32;
staker: AccountId32;
poolId: u32;
amount: u128;
}>;
/**
* 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 account `who` was blocked.
**/
Blocked: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32], {
assetId: u32;
who: AccountId32;
}>;
/**
* 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;
}>;
/**
* Some assets were deposited (e.g. for transaction fees).
**/
Deposited: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32, amount: u128], {
assetId: u32;
who: AccountId32;
amount: u128;
}>;
/**
* 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 account `who` was created with a deposit from `depositor`.
**/
Touched: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32, depositor: AccountId32], {
assetId: u32;
who: AccountId32;
depositor: 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;
}>;
/**
* Some assets were withdrawn from the account (e.g. for transaction fees).
**/
Withdrawn: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32, amount: u128], {
assetId: u32;
who: AccountId32;
amount: u128;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
assetsFreezer: {
Frozen: AugmentedEvent<ApiType, [who: AccountId32, assetId: u32, amount: u128], {
who: AccountId32;
assetId: u32;
amount: u128;
}>;
Thawed: AugmentedEvent<ApiType, [who: AccountId32, assetId: u32, amount: u128], {
who: AccountId32;
assetId: u32;
amount: u128;
}>;
/**
* 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;
}>;
/**
* Some balance was frozen.
**/
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
who: AccountId32;
amount: u128;
}>;
/**
* Total issuance was increased by `amount`, creating a credit to be balanced.
**/
Issued: AugmentedEvent<ApiType, [amount: u128], {
amount: u128;
}>;
/**
* Some balance was locked.
**/
Locked: AugmentedEvent<ApiType, [who: 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;
}>;
/**
* Some balance was thawed.
**/
Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
who: AccountId32;
amount: u128;
}>;
/**
* The `TotalIssuance` was forcefully changed.
**/
TotalIssuanceForced: AugmentedEvent<ApiType, [old: u128, new_: u128], {
old: u128;
new_: 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 approved.
**/
BountyApproved: AugmentedEvent<ApiType, [index: u32], {
index: u32;
}>;
/**
* 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;
}>;
/**
* A bounty curator is accepted.
**/
CuratorAccepted: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], {
bountyId: u32;
curator: AccountId32;
}>;
/**
* A bounty curator is proposed.
**/
CuratorProposed: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], {
bountyId: u32;
curator: AccountId32;
}>;
/**
* A bounty curator is unassigned.
**/
CuratorUnassigned: AugmentedEvent<ApiType, [bountyId: u32], {
bountyId: u32;
}>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
broker: {
/**
* A Region has been assigned to a particular task.
**/
Assigned: AugmentedEvent<ApiType, [regionId: PalletBrokerRegionId, duration: u32, task: u32], {
regionId: PalletBrokerRegionId;
duration: u32;
task: u32;
}>;
/**
* An assignment has been removed from the workplan.
**/
AssignmentRemoved: AugmentedEvent<ApiType, [regionId: PalletBrokerRegionId], {
regionId: PalletBrokerRegionId;
}>;
AutoRenewalDisabled: AugmentedEvent<ApiType, [core: u16, task: u32], {
core: u16;
task: u32;
}>;
AutoRenewalEnabled: AugmentedEvent<ApiType, [core: u16, task: u32], {
core: u16;
task: u32;
}>;
/**
* Failed to auto-renew a core, likely due to the payer account not being sufficiently
* funded.
**/
AutoRenewalFailed: AugmentedEvent<ApiType, [core: u16, payer: Option<AccountId32>], {
core: u16;
payer: Option<AccountId32>;
}>;
/**
* The auto-renewal limit has been reached upon renewing cores.
*
* This should never happen, given that enable_auto_renew checks for this before enabling
* auto-renewal.
**/
AutoRenewalLimitReached: AugmentedEvent<ApiType, []>;
/**
* Some historical Instantaneous Core Pool Revenue is ready for payout claims.
**/
ClaimsReady: AugmentedEvent<ApiType, [when: u32, systemPayout: u128, privatePayout: u128], {
when: u32;
systemPayout: u128;
privatePayout: u128;
}>;
/**
* Some historical Instantaneous Core Pool contribution record has been dropped.
**/
ContributionDropped: AugmentedEvent<ApiType, [regionId: PalletBrokerRegionId], {
regionId: PalletBrokerRegionId;
}>;
/**
* A Core has been assigned to one or more tasks and/or the Pool on the Relay-chain.
**/
CoreAssigned: AugmentedEvent<ApiType, [core: u16, when: u32, assignment: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>], {
core: u16;
when: u32;
assignment: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>;
}>;
/**
* The number of cores available for scheduling has changed.
**/
CoreCountChanged: AugmentedEvent<ApiType, [coreCount: u16], {
coreCount: u16;
}>;
/**
* A new number of cores has been requested.
**/
CoreCountRequested: AugmentedEvent<ApiType, [coreCount: u16], {
coreCount: u16;
}>;
/**
* Some Instantaneous Coretime Pool credit has been purchased.
**/
CreditPurchased: AugmentedEvent<ApiType, [who: AccountId32, beneficiary: AccountId32, amount: u128], {
who: AccountId32;
beneficiary: AccountId32;
amount: u128;
}>;
/**
* Some historical Instantaneous Core Pool payment record has been dropped.
**/
HistoryDropped: AugmentedEvent<ApiType, [when: u32, revenue: u128], {
when: u32;
revenue: u128;
}>;
/**
* Some historical Instantaneous Core Pool payment record has been ignored because the
* timeslice was already known. Governance may need to intervene.
**/
HistoryIgnored: AugmentedEvent<ApiType, [when: u32, revenue: u128], {
when: u32;
revenue: u128;
}>;
/**
* Some historical Instantaneous Core Pool payment record has been initialized.
**/
HistoryInitialized: AugmentedEvent<ApiType, [when: u32, privatePoolSize: u32, systemPoolSize: u32], {
when: u32;
privatePoolSize: u32;
systemPoolSize: u32;
}>;
/**
* A Region has been converted into two overlapping Regions each of lesser regularity.
**/
Interlaced: AugmentedEvent<ApiType, [oldRegionId: PalletBrokerRegionId, newRegionIds: ITuple<[PalletBrokerRegionId, PalletBrokerRegionId]>], {
oldRegionId: PalletBrokerRegionId;
newRegionIds: ITuple<[PalletBrokerRegionId, PalletBrokerRegionId]>;
}>;
/**
* A new lease has been created.
**/
Leased: AugmentedEvent<ApiType, [task: u32, until: u32], {
task: u32;
until: u32;
}>;
/**
* A lease is about to end.
**/
LeaseEnding: AugmentedEvent<ApiType, [task: u32, when: u32], {
task: u32;
when: u32;
}>;
/**
* A lease has been removed.
**/
LeaseRemoved: AugmentedEvent<ApiType, [task: u32], {
task: u32;
}>;
/**
* A Region has been split into two non-overlapping Regions.
**/
Partitioned: AugmentedEvent<ApiType, [oldRegionId: PalletBrokerRegionId, newRegionIds: ITuple<[PalletBrokerRegionId, PalletBrokerRegionId]>], {
oldRegionId: PalletBrokerRegionId;
newRegionIds: ITuple<[PalletBrokerRegionId, PalletBrokerRegionId]>;
}>;
/**
* A Region has been added to the Instantaneous Coretime Pool.
**/
Pooled: AugmentedEvent<ApiType, [regionId: PalletBrokerRegionId, duration: u32], {
regionId: PalletBrokerRegionId;
duration: u32;
}>;
/**
* Some historical Instantaneous Core Pool payment record has been dropped.
**/
PotentialRenewalDropped: AugmentedEvent<ApiType, [when: u32, core: u16], {
when: u32;
core: u16;
}>;
/**
* A Region of Bulk Coretime has been purchased.
**/
Purchased: AugmentedEvent<ApiType, [who: AccountId32, regionId: PalletBrokerRegionId, price: u128, duration: u32], {
who: AccountId32;
regionId: PalletBrokerRegionId;
price: u128;
duration: u32;
}>;
/**
* A Region has been dropped due to being out of date.
**/
RegionDropped: AugmentedEvent<ApiType, [regionId: PalletBrokerRegionId, duration: u32], {
regionId: PalletBrokerRegionId;
duration: u32;
}>;
/**
* The workload of a core has become renewable.
**/
Renewable: AugmentedEvent<ApiType, [core: u16, price: u128, begin: u32, workload: Vec<PalletBrokerScheduleItem>], {
core: u16;
price: u128;
begin: u32;
workload: Vec<PalletBrokerScheduleItem>;
}>;
/**
* A workload has been renewed.
**/
Renewed: AugmentedEvent<ApiType, [who: AccountId32, price: u128, oldCore: u16, core: u16, begin: u32, duration: u32, workload: Vec<PalletBrokerScheduleItem>], {
who: AccountId32;
price: u128;
oldCore: u16;
core: u16;
begin: u32;
duration: u32;
workload: Vec<PalletBrokerScheduleItem>;
}>;
/**
* A reservation for a workload has been cancelled.
**/
ReservationCancelled: AugmentedEvent<ApiType, [index: u32, workload: Vec<PalletBrokerScheduleItem>], {
index: u32;
workload: Vec<PalletBrokerScheduleItem>;
}>;
/**
* There is a new reservation for a workload.
**/
ReservationMade: AugmentedEvent<ApiType, [index: u32, workload: Vec<PalletBrokerScheduleItem>], {
index: u32;
workload: Vec<PalletBrokerScheduleItem>;
}>;
/**
* The act of claiming revenue has begun.
**/
RevenueClaimBegun: AugmentedEvent<ApiType, [region: PalletBrokerRegionId, maxTimeslices: u32], {
region: PalletBrokerRegionId;
maxTimeslices: u32;
}>;
/**
* A particular timeslice has a non-zero claim.
**/
RevenueClaimItem: AugmentedEvent<ApiType, [when: u32, amount: u128], {
when: u32;
amount: u128;
}>;
/**
* A revenue claim has (possibly only in part) been paid.
**/
RevenueClaimPaid: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, next: Option<PalletBrokerRegionId>], {
who: AccountId32;
amount: u128;
next: Option<PalletBrokerRegionId>;
}>;
/**
* A new sale has been initialized.
**/
SaleInitialized: AugmentedEvent<ApiType, [saleStart: u32, leadinLength: u32, startPrice: u128, endPrice: u128, regionBegin: u32, regionEnd: u32, idealCoresSold: u16, coresOffered: u16], {
saleStart: u32;
leadinLength: u32;
startPrice: u128;
endPrice: u128;
regionBegin: u32;
regionEnd: u32;
idealCoresSold: u16;
coresOffered: u16;
}>;
/**
* The sale rotation has been started and a new sale is imminent.
**/
SalesStarted: AugmentedEvent<ApiType, [price: u128, coreCount: u16], {
price: u128;
coreCount: u16;
}>;
/**
* Ownership of a Region has been transferred.
**/
Transferred: AugmentedEvent<ApiType, [regionId: PalletBrokerRegionId, duration: u32, oldOwner: Option<AccountId32>, owner: Option<AccountId32>], {
regionId: PalletBrokerRegionId;
duration: u32;
oldOwner: Option<AccountId32>;
owner: Option<AccountId32>;
}>;
/**
* 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: PalletContractsOrigin, contract: AccountId32], {
caller: PalletContractsOrigin;
contract: AccountId32;
}>;
/**
* A code with the specified hash was removed.
**/
CodeRemoved: AugmentedEvent<ApiType, [codeHash: H256, depositReleased: u128, remover: AccountId32], {
codeHash: H256;
depositReleased: u128;
remover: AccountId32;
}>;
/**
* Code with the specified hash has been stored.
**/
CodeStored: AugmentedEvent<ApiType, [codeHash: H256, depositHeld: u128, uploader: AccountId32], {
codeHash: H256;
depositHeld: u128;
uploader: AccountId32;
}>;
/**
* 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.