UNPKG

@bifrost-finance/types

Version:
1,131 lines (1,130 loc) 142 kB
import '@polkadot/api-base/types/events'; import type { AccountId32, H256, Perbill, Percent, Permill } from '@bifrost-finance/types/interfaces/runtime'; import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types'; import type { Bytes, Compact, Null, Option, Result, U8aFixed, Vec, bool, i32, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { ITuple } from '@polkadot/types-codec/types'; import type { BifrostAssetRegistryAssetMetadata, BifrostFeeShareInfo, BifrostKusamaRuntimeProxyType, BifrostLiquidityMiningPoolType, BifrostSlpPrimitivesDelays, BifrostSlpPrimitivesLedger, BifrostSlpPrimitivesLedgerUpdateEntry, BifrostSlpPrimitivesMinimumsMaximums, BifrostSlpPrimitivesValidatorsByDelegatorUpdateEntry, BifrostSlpPrimitivesXcmOperation, BifrostSystemMakerInfo, BifrostVsbondAuctionOrderType, BifrostVstokenConversionPrimitivesVstokenConversionExchangeFee, BifrostVstokenConversionPrimitivesVstokenConversionExchangeRate, FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, NodePrimitivesCurrencyAssetIds, NodePrimitivesCurrencyCurrencyId, NodePrimitivesExtraFeeName, NodePrimitivesTimeUnit, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletMultisigTimepoint, ParachainStakingDelegationRequestsCancelledScheduledRequest, ParachainStakingDelegatorAdded, SpRuntimeDispatchError, SpWeightsWeightV2Weight, XcmInterfaceXcmInterfaceOperation, XcmV2MultiLocation, XcmV3MultiAsset, XcmV3MultiLocation, XcmV3MultiassetMultiAssets, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, ZenlinkProtocolPrimitivesAssetId } from '@polkadot/types/lookup'; export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>; declare module '@polkadot/api-base/types/events' { interface AugmentedEvents<ApiType extends ApiTypes> { assetRegistry: { /** * The asset registered. **/ AssetRegistered: AugmentedEvent<ApiType, [assetId: NodePrimitivesCurrencyAssetIds, metadata: BifrostAssetRegistryAssetMetadata], { assetId: NodePrimitivesCurrencyAssetIds; metadata: BifrostAssetRegistryAssetMetadata; }>; /** * The asset updated. **/ AssetUpdated: AugmentedEvent<ApiType, [assetId: NodePrimitivesCurrencyAssetIds, metadata: BifrostAssetRegistryAssetMetadata], { assetId: NodePrimitivesCurrencyAssetIds; metadata: BifrostAssetRegistryAssetMetadata; }>; /** * The CurrencyId registered. **/ CurrencyIdRegistered: AugmentedEvent<ApiType, [currencyId: NodePrimitivesCurrencyCurrencyId, metadata: BifrostAssetRegistryAssetMetadata], { currencyId: NodePrimitivesCurrencyCurrencyId; metadata: BifrostAssetRegistryAssetMetadata; }>; /** * MultiLocation Force set. **/ MultiLocationSet: AugmentedEvent<ApiType, [currencyId: NodePrimitivesCurrencyCurrencyId, location: XcmV3MultiLocation, weight: SpWeightsWeightV2Weight], { currencyId: NodePrimitivesCurrencyCurrencyId; location: XcmV3MultiLocation; weight: SpWeightsWeightV2Weight; }>; /** * Generic event **/ [key: string]: AugmentedEvent<ApiType>; }; balances: { /** * A balance was set by root. **/ BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128, reserved: u128], { who: AccountId32; free: u128; reserved: 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 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 removed from the account (e.g. for misbehavior). **/ Slashed: 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 unreserved (moved from reserved to free). **/ Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32; amount: u128; }>; /** * 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>; }; callSwitchgear: { /** * Switch off transaction . \[pallet_name, function_name\] **/ TransactionSwitchedoff: AugmentedEvent<ApiType, [Bytes, Bytes]>; /** * Switch on transaction . \[pallet_name, function_name\] **/ TransactionSwitchedOn: AugmentedEvent<ApiType, [Bytes, Bytes]>; TransferAccountDisabled: AugmentedEvent<ApiType, [NodePrimitivesCurrencyCurrencyId]>; TransferAccountEnabled: AugmentedEvent<ApiType, [NodePrimitivesCurrencyCurrencyId]>; /** * 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>; }; councilMembership: { /** * 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>; }; crossInOut: { AddedToIssueList: AugmentedEvent<ApiType, [account: AccountId32, currencyId: NodePrimitivesCurrencyCurrencyId], { account: AccountId32; currencyId: NodePrimitivesCurrencyCurrencyId; }>; AddedToRegisterList: AugmentedEvent<ApiType, [account: AccountId32, currencyId: NodePrimitivesCurrencyCurrencyId], { account: AccountId32; currencyId: NodePrimitivesCurrencyCurrencyId; }>; CrossedIn: AugmentedEvent<ApiType, [currencyId: NodePrimitivesCurrencyCurrencyId, dest: AccountId32, location: XcmV2MultiLocation, amount: u128, remark: Option<Bytes>], { currencyId: NodePrimitivesCurrencyCurrencyId; dest: AccountId32; location: XcmV2MultiLocation; amount: u128; remark: Option<Bytes>; }>; CrossedOut: AugmentedEvent<ApiType, [currencyId: NodePrimitivesCurrencyCurrencyId, crosser: AccountId32, location: XcmV2MultiLocation, amount: u128], { currencyId: NodePrimitivesCurrencyCurrencyId; crosser: AccountId32; location: XcmV2MultiLocation; amount: u128; }>; CrossingMinimumAmountSet: AugmentedEvent<ApiType, [currencyId: NodePrimitivesCurrencyCurrencyId, crossInMinimum: u128, crossOutMinimum: u128], { currencyId: NodePrimitivesCurrencyCurrencyId; crossInMinimum: u128; crossOutMinimum: u128; }>; CurrencyDeregistered: AugmentedEvent<ApiType, [currencyId: NodePrimitivesCurrencyCurrencyId], { currencyId: NodePrimitivesCurrencyCurrencyId; }>; CurrencyRegistered: AugmentedEvent<ApiType, [currencyId: NodePrimitivesCurrencyCurrencyId], { currencyId: NodePrimitivesCurrencyCurrencyId; }>; LinkedAccountRegistered: AugmentedEvent<ApiType, [currencyId: NodePrimitivesCurrencyCurrencyId, who: AccountId32, foreignLocation: XcmV2MultiLocation], { currencyId: NodePrimitivesCurrencyCurrencyId; who: AccountId32; foreignLocation: XcmV2MultiLocation; }>; RemovedFromIssueList: AugmentedEvent<ApiType, [account: AccountId32, currencyId: NodePrimitivesCurrencyCurrencyId], { account: AccountId32; currencyId: NodePrimitivesCurrencyCurrencyId; }>; RemovedFromRegisterList: AugmentedEvent<ApiType, [account: AccountId32, currencyId: NodePrimitivesCurrencyCurrencyId], { account: AccountId32; currencyId: NodePrimitivesCurrencyCurrencyId; }>; /** * Generic event **/ [key: string]: AugmentedEvent<ApiType>; }; cumulusXcm: { /** * Downward message executed with the given outcome. * \[ id, outcome \] **/ ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV3TraitsOutcome]>; /** * Downward message is invalid XCM. * \[ id \] **/ InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>; /** * Downward message is unsupported version of XCM. * \[ id \] **/ UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>; /** * Generic event **/ [key: string]: AugmentedEvent<ApiType>; }; 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, []>; /** * 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>; }; dmpQueue: { /** * Downward message executed with the given outcome. **/ ExecutedDownward: AugmentedEvent<ApiType, [messageId: U8aFixed, outcome: XcmV3TraitsOutcome], { messageId: U8aFixed; outcome: XcmV3TraitsOutcome; }>; /** * Downward message is invalid XCM. **/ InvalidFormat: AugmentedEvent<ApiType, [messageId: U8aFixed], { messageId: U8aFixed; }>; /** * The maximum number of downward messages was. **/ MaxMessagesExhausted: AugmentedEvent<ApiType, [messageId: U8aFixed], { messageId: U8aFixed; }>; /** * Downward message is overweight and was placed in the overweight queue. **/ OverweightEnqueued: AugmentedEvent<ApiType, [messageId: U8aFixed, overweightIndex: u64, requiredWeight: SpWeightsWeightV2Weight], { messageId: U8aFixed; overweightIndex: u64; requiredWeight: SpWeightsWeightV2Weight; }>; /** * Downward message from the overweight queue was executed. **/ OverweightServiced: AugmentedEvent<ApiType, [overweightIndex: u64, weightUsed: SpWeightsWeightV2Weight], { overweightIndex: u64; weightUsed: SpWeightsWeightV2Weight; }>; /** * Downward message is unsupported version of XCM. **/ UnsupportedVersion: AugmentedEvent<ApiType, [messageId: U8aFixed], { messageId: U8aFixed; }>; /** * The weight limit for handling downward messages was reached. **/ WeightExhausted: AugmentedEvent<ApiType, [messageId: U8aFixed, remainingWeight: SpWeightsWeightV2Weight, requiredWeight: SpWeightsWeightV2Weight], { messageId: U8aFixed; remainingWeight: SpWeightsWeightV2Weight; requiredWeight: SpWeightsWeightV2Weight; }>; /** * Generic event **/ [key: string]: AugmentedEvent<ApiType>; }; farming: { AllForceGaugeClaimed: AugmentedEvent<ApiType, [gid: u32], { gid: u32; }>; AllRetired: AugmentedEvent<ApiType, [pid: u32], { pid: u32; }>; BoostCharged: AugmentedEvent<ApiType, [who: AccountId32, rewards: Vec<ITuple<[NodePrimitivesCurrencyCurrencyId, u128]>>], { who: AccountId32; rewards: Vec<ITuple<[NodePrimitivesCurrencyCurrencyId, u128]>>; }>; Charged: AugmentedEvent<ApiType, [who: AccountId32, pid: u32, rewards: Vec<ITuple<[NodePrimitivesCurrencyCurrencyId, u128]>>], { who: AccountId32; pid: u32; rewards: Vec<ITuple<[NodePrimitivesCurrencyCurrencyId, u128]>>; }>; Claimed: AugmentedEvent<ApiType, [who: AccountId32, pid: u32], { who: AccountId32; pid: u32; }>; Deposited: AugmentedEvent<ApiType, [who: AccountId32, pid: u32, addValue: u128, gaugeInfo: Option<ITuple<[u128, u32]>>], { who: AccountId32; pid: u32; addValue: u128; gaugeInfo: Option<ITuple<[u128, u32]>>; }>; FarmingPoolClosed: AugmentedEvent<ApiType, [pid: u32], { pid: u32; }>; FarmingPoolCreated: AugmentedEvent<ApiType, [pid: u32], { pid: u32; }>; FarmingPoolEdited: AugmentedEvent<ApiType, [pid: u32], { pid: u32; }>; FarmingPoolKilled: AugmentedEvent<ApiType, [pid: u32], { pid: u32; }>; FarmingPoolReset: AugmentedEvent<ApiType, [pid: u32], { pid: u32; }>; GaugeWithdrawn: AugmentedEvent<ApiType, [who: AccountId32, gid: u32], { who: AccountId32; gid: u32; }>; PartiallyForceGaugeClaimed: AugmentedEvent<ApiType, [gid: u32], { gid: u32; }>; PartiallyRetired: AugmentedEvent<ApiType, [pid: u32], { pid: u32; }>; RetireLimitSet: AugmentedEvent<ApiType, [limit: u32], { limit: u32; }>; RoundEnd: AugmentedEvent<ApiType, [totalVotes: u128, startRound: u32, endRound: u32], { totalVotes: u128; startRound: u32; endRound: u32; }>; RoundStart: AugmentedEvent<ApiType, [roundLength: u32], { roundLength: u32; }>; RoundStartError: AugmentedEvent<ApiType, [info: SpRuntimeDispatchError], { info: SpRuntimeDispatchError; }>; Voted: AugmentedEvent<ApiType, [who: AccountId32, voteList: Vec<ITuple<[u32, Percent]>>], { who: AccountId32; voteList: Vec<ITuple<[u32, Percent]>>; }>; WithdrawClaimed: AugmentedEvent<ApiType, [who: AccountId32, pid: u32], { who: AccountId32; pid: u32; }>; Withdrawn: AugmentedEvent<ApiType, [who: AccountId32, pid: u32, removeValue: Option<u128>], { who: AccountId32; pid: u32; removeValue: Option<u128>; }>; /** * Generic event **/ [key: string]: AugmentedEvent<ApiType>; }; feeShare: { Created: AugmentedEvent<ApiType, [info: BifrostFeeShareInfo], { info: BifrostFeeShareInfo; }>; Deleted: AugmentedEvent<ApiType, [distributionId: u32], { distributionId: u32; }>; Edited: AugmentedEvent<ApiType, [info: BifrostFeeShareInfo], { info: BifrostFeeShareInfo; }>; EraLengthSet: AugmentedEvent<ApiType, [eraLength: u32, nextEra: u32], { eraLength: u32; nextEra: u32; }>; Executed: AugmentedEvent<ApiType, [distributionId: u32], { distributionId: u32; }>; ExecuteFailed: AugmentedEvent<ApiType, [distributionId: u32, info: BifrostFeeShareInfo, nextEra: u32], { distributionId: u32; info: BifrostFeeShareInfo; nextEra: u32; }>; /** * Generic event **/ [key: string]: AugmentedEvent<ApiType>; }; flexibleFee: { ExtraFeeDeducted: AugmentedEvent<ApiType, [NodePrimitivesExtraFeeName, NodePrimitivesCurrencyCurrencyId, u128]>; FixedRateFeeExchanged: AugmentedEvent<ApiType, [NodePrimitivesCurrencyCurrencyId, u128]>; FlexibleFeeExchanged: AugmentedEvent<ApiType, [NodePrimitivesCurrencyCurrencyId, u128]>; /** * Generic event **/ [key: string]: AugmentedEvent<ApiType>; }; identity: { /** * A name was cleared, and the given balance returned. **/ IdentityCleared: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], { who: AccountId32; deposit: u128; }>; /** * A name was removed and the given balance slashed. **/ IdentityKilled: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], { who: AccountId32; deposit: u128; }>; /** * A name was set or reset (which will remove all judgements). **/ IdentitySet: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32; }>; /** * A judgement was given by a registrar. **/ JudgementGiven: AugmentedEvent<ApiType, [target: AccountId32, registrarIndex: u32], { target: AccountId32; registrarIndex: u32; }>; /** * A judgement was asked from a registrar. **/ JudgementRequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], { who: AccountId32; registrarIndex: u32; }>; /** * A judgement request was retracted. **/ JudgementUnrequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], { who: AccountId32; registrarIndex: u32; }>; /** * A registrar was added. **/ RegistrarAdded: AugmentedEvent<ApiType, [registrarIndex: u32], { registrarIndex: u32; }>; /** * A sub-identity was added to an identity and the deposit paid. **/ SubIdentityAdded: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32; main: AccountId32; deposit: u128; }>; /** * A sub-identity was removed from an identity and the deposit freed. **/ SubIdentityRemoved: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32; main: AccountId32; deposit: u128; }>; /** * A sub-identity was cleared, and the given deposit repatriated from the * main identity account to the sub-identity account. **/ SubIdentityRevoked: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32; main: AccountId32; deposit: u128; }>; /** * Generic event **/ [key: string]: AugmentedEvent<ApiType>; }; 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>; }; lighteningRedeem: { /** * [start, end] **/ BlockIntervalEdited: AugmentedEvent<ApiType, [u32, u32]>; /** * [adder, ksm_amount] **/ KSMAdded: AugmentedEvent<ApiType, [AccountId32, u128]>; /** * [exchanger, ksm_amount] **/ KSMExchanged: AugmentedEvent<ApiType, [AccountId32, u128]>; /** * [original_prce, new_price] **/ PriceEdited: AugmentedEvent<ApiType, [u128, u128]>; /** * [originla_amount_per_day, amount_per_day] **/ ReleasedPerDayEdited: AugmentedEvent<ApiType, [u128, u128]>; /** * Generic event **/ [key: string]: AugmentedEvent<ApiType>; }; liquidityMining: { /** * Lazy migration event * * [deposit_data_migration_nums, pool_info_migration_nums] **/ LazyMigration: AugmentedEvent<ApiType, [u32, u32]>; /** * The liquidity-pool was charged * * [pool_id, pool_type, trading_pair, investor] **/ PoolCharged: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>, AccountId32]>; /** * The liquidity-pool was created * * [pool_id, pool_type, trading_pair, keeper] **/ PoolCreated: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>, AccountId32]>; /** * The liquidity-pool was edited * * [pool_id, old_redeem_limit_time, old_unlock_limit_nums, new_redeem_limit_time, * new_unlock_limit_nums] **/ PoolEdited: AugmentedEvent<ApiType, [u32, u32, u32, u32, u32]>; /** * The liquidity-pool was killed * * [pool_id, pool_type, trading_pair] **/ PoolKilled: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>]>; /** * The liquidity-pool was retired forcefully * * [pool_id, pool_type, trading_pair] **/ PoolRetiredForcefully: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>]>; /** * The liquidity-pool was started up * * [pool_id, pool_type, trading_pair] **/ PoolStarted: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>]>; /** * User cancels a pending-unlock from a liquidity-pool * * [pool_id, pool_type, trading_pair, amount_canceled, user] **/ UserCancelUnlock: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>, u128, AccountId32]>; /** * User withdrew the rewards whose deserved from a liquidity-pool * * [pool_id, pool_type, trading_pair, rewards, user] **/ UserClaimed: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>, Vec<ITuple<[NodePrimitivesCurrencyCurrencyId, u128]>>, AccountId32]>; /** * User deposited tokens to a liquidity-pool * * [pool_id, pool_type, trading_pair, amount_deposited, user] **/ UserDeposited: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>, u128, AccountId32]>; /** * User redeemed tokens from a liquidity-mining * * [pool_id, pool_type, trading_pair, amount_redeemed, unlock_height, user] **/ UserRedeemed: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>, u128, u32, AccountId32]>; /** * User unlock tokens from a liquidity-pool * * [pool_id, pool_type, trading_pair, amount_redeemed, user] **/ UserUnlocked: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>, u128, AccountId32]>; /** * Generic event **/ [key: string]: AugmentedEvent<ApiType>; }; liquidityMiningDOT: { /** * Lazy migration event * * [deposit_data_migration_nums, pool_info_migration_nums] **/ LazyMigration: AugmentedEvent<ApiType, [u32, u32]>; /** * The liquidity-pool was charged * * [pool_id, pool_type, trading_pair, investor] **/ PoolCharged: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>, AccountId32]>; /** * The liquidity-pool was created * * [pool_id, pool_type, trading_pair, keeper] **/ PoolCreated: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>, AccountId32]>; /** * The liquidity-pool was edited * * [pool_id, old_redeem_limit_time, old_unlock_limit_nums, new_redeem_limit_time, * new_unlock_limit_nums] **/ PoolEdited: AugmentedEvent<ApiType, [u32, u32, u32, u32, u32]>; /** * The liquidity-pool was killed * * [pool_id, pool_type, trading_pair] **/ PoolKilled: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>]>; /** * The liquidity-pool was retired forcefully * * [pool_id, pool_type, trading_pair] **/ PoolRetiredForcefully: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>]>; /** * The liquidity-pool was started up * * [pool_id, pool_type, trading_pair] **/ PoolStarted: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>]>; /** * User cancels a pending-unlock from a liquidity-pool * * [pool_id, pool_type, trading_pair, amount_canceled, user] **/ UserCancelUnlock: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>, u128, AccountId32]>; /** * User withdrew the rewards whose deserved from a liquidity-pool * * [pool_id, pool_type, trading_pair, rewards, user] **/ UserClaimed: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>, Vec<ITuple<[NodePrimitivesCurrencyCurrencyId, u128]>>, AccountId32]>; /** * User deposited tokens to a liquidity-pool * * [pool_id, pool_type, trading_pair, amount_deposited, user] **/ UserDeposited: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>, u128, AccountId32]>; /** * User redeemed tokens from a liquidity-mining * * [pool_id, pool_type, trading_pair, amount_redeemed, unlock_height, user] **/ UserRedeemed: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>, u128, u32, AccountId32]>; /** * User unlock tokens from a liquidity-pool * * [pool_id, pool_type, trading_pair, amount_redeemed, user] **/ UserUnlocked: AugmentedEvent<ApiType, [u32, BifrostLiquidityMiningPoolType, ITuple<[NodePrimitivesCurrencyCurrencyId, NodePrimitivesCurrencyCurrencyId]>, u128, AccountId32]>; /** * Generic event **/ [key: string]: AugmentedEvent<ApiType>; }; merkleDistributor: { /** * add account who can create merkle distributor. \ [account] **/ AddToWhiteList: AugmentedEvent<ApiType, [AccountId32]>; /** * claim reward. \[merkle distributor id, account, balance] **/ Claim: AugmentedEvent<ApiType, [u32, AccountId32, u128]>; /** * create a merkle distributor. \ [merkle distributor id, merkle tree root, total reward balance] **/ Create: AugmentedEvent<ApiType, [u32, H256, u128]>; /** * remove account from the set who can create merkle distributor. \ [account] **/ RemoveFromWhiteList: AugmentedEvent<ApiType, [AccountId32]>; /** * withdraw reward. \ [merkle distributor id, account, balance] **/ Withdraw: AugmentedEvent<ApiType, [u32, AccountId32, u128]>; /** * 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>; }; ormlXcm: { /** * XCM message sent. \[to, message\] **/ Sent: AugmentedEvent<ApiType, [to: XcmV3MultiLocation, message: XcmV3Xcm], { to: XcmV3MultiLocation; message: XcmV3Xcm; }>; /** * Generic event **/ [key: string]: AugmentedEvent<ApiType>; }; parachainStaking: { /** * Set blocks per round **/ BlocksPerRoundSet: AugmentedEvent<ApiType, [currentRound: u32, firstBlock: u32, old: u32, new_: u32, newPerRoundInflationMin: Perbill, newPerRoundInflationIdeal: Perbill, newPerRoundInflationMax: Perbill], { currentRound: u32; firstBlock: u32; old: u32; new_: u32; newPerRoundInflationMin: Perbill; newPerRoundInflationIdeal: Perbill; newPerRoundInflationMax: Perbill; }>; /** * Cancelled request to decrease candidate's bond. **/ CancelledCandidateBondLess: AugmentedEvent<ApiType, [candidate: AccountId32, amount: u128, executeRound: u32], { candidate: AccountId32; amount: u128; executeRound: u32; }>; /** * Cancelled request to leave the set of candidates. **/ CancelledCandidateExit: AugmentedEvent<ApiType, [candidate: AccountId32], { candidate: AccountId32; }>; /** * Cancelled request to change an existing delegation. **/ CancelledDelegationRequest: AugmentedEvent<ApiType, [delegator: AccountId32, cancelledRequest: ParachainStakingDelegationRequestsCancelledScheduledRequest, collator: AccountId32], { delegator: AccountId32; cancelledRequest: ParachainStakingDelegationRequestsCancelledScheduledRequest; collator: AccountId32; }>; /** * Candidate rejoins the set of collator candidates. **/ CandidateBackOnline: AugmentedEvent<ApiType, [candidate: AccountId32], { candidate: AccountId32; }>; /** * Candidate has decreased a self bond. **/ CandidateBondedLess: AugmentedEvent<ApiType, [candidate: AccountId32, amount: u128, newBond: u128], { candidate: AccountId32; amount: u128; newBond: u128; }>; /** * Candidate has increased a self bond. **/ CandidateBondedMore: AugmentedEvent<ApiType, [candidate: AccountId32, amount: u128, newTotalBond: u128], { candidate: AccountId32; amount: u128; newTotalBond: u128; }>; /** * Candidate requested to decrease a self bond. **/ CandidateBondLessRequested: AugmentedEvent<ApiType, [candidate: AccountId32, amountToDecrease: u128, executeRound: u32], { candidate: AccountId32; amountToDecrease: u128; executeRound: u32; }>; /** * Candidate has left the set of candidates. **/ CandidateLeft: AugmentedEvent<ApiType, [exCandidate: AccountId32, unlockedAmount: u128, newTotalAmtLocked: u128], { exCandidate: AccountId32; unlockedAmount: u128; newTotalAmtLocked: u128; }>; /** * Candidate has requested to leave the set of candidates. **/ CandidateScheduledExit: AugmentedEvent<ApiType, [exitAllowedRound: u32, candidate: AccountId32, scheduledExit: u32], { exitAllowedRound: u32; candidate: AccountId32; scheduledExit: u32; }>; /** * Candidate temporarily leave the set of collator candidates without unbonding. **/ CandidateWentOffline: AugmentedEvent<ApiType, [candidate: AccountId32], { candidate: AccountId32; }>; /** * Candidate selected for collators. Total Exposed Amount includes all delegations. **/ CollatorChosen: AugmentedEvent<ApiType, [round: u32, collatorAccount: AccountId32, totalExposedAmount: u128], { round: u32; collatorAccount: AccountId32; totalExposedAmount: u128; }>; /** * Set collator commission to this value. **/ CollatorCommissionSet: AugmentedEvent<ApiType, [old: Perbill, new_: Perbill], { old: Perbill; new_: Perbill; }>; /** * New delegation (increase of the existing one). **/ Delegation: AugmentedEvent<ApiType, [delegator: AccountId32, lockedAmount: u128, candidate: AccountId32, delegatorPosition: ParachainStakingDelegatorAdded], { delegator: AccountId32; lockedAmount: u128; candidate: AccountId32; delegatorPosition: ParachainStakingDelegatorAdded; }>; DelegationDecreased: AugmentedEvent<ApiType, [delegator: AccountId32, candidate: AccountId32, amount: u128, inTop: bool], { delegator: AccountId32; candidate: AccountId32; amount: u128; inTop: bool; }>; /** * Delegator requested to decrease a bond for the collator candidate. **/ DelegationDecreaseScheduled: AugmentedEvent<ApiType, [delegator: AccountId32, candidate: AccountId32, amountToDecrease: u128, executeRound: u32], { delegator: AccountId32; candidate: AccountId32; amountToDecrease: u128; executeRound: u32; }>; DelegationIncreased: AugmentedEvent<ApiType, [delegator: AccountId32, candidate: AccountId32, amount: u128, inTop: bool], { delegator: AccountId32; candidate: AccountId32; amount: u128; inTop: bool; }>; /** * Delegation kicked.