import '@polkadot/api-base/types/events';
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
import type { Bytes, Null, Option, Result, U256, U8aFixed, Vec, bool, i64, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime';
import type { EqClaimEthereumAddress, EqPrimitivesBalanceDepositReason, EqPrimitivesBalanceWithdrawReason, EqPrimitivesDexOrderSide, EqPrimitivesProxyProxyType, EqPrimitivesSubaccountSubAccType, EqPrimitivesTransferReason, FrameSupportWeightsDispatchInfo, PalletMultisigTimepoint, SpRuntimeDispatchError, SubstrateFixedFixedI128, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2TraitsSendError, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
export declare type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
declare module '@polkadot/api-base/types/events' {
    interface AugmentedEvents<ApiType extends ApiTypes> {
        bailsman: {
            /**
             * Bailsman subaccount is no longer a bailsman. \[who\]
             **/
            UnregisteredBailsman: AugmentedEvent<ApiType, [AccountId32]>;
        };
        chainBridge: {
            /**
             * Allowability transfers for the chain has changed. \[chain_id, enabled\]
             **/
            ChainToggled: AugmentedEvent<ApiType, [u8, bool]>;
            /**
             * Chain now available for transfers. \[chain_id\]
             **/
            ChainWhitelisted: AugmentedEvent<ApiType, [u8]>;
            /**
             * Fee for chain has changed. \[chain_id, fee\]
             **/
            FeeChanged: AugmentedEvent<ApiType, [u8, u128]>;
            /**
             * FunglibleTransfer is for relaying fungibles. \[dest_id, nonce, resource_id, amount, recipient\]
             **/
            FungibleTransfer: AugmentedEvent<ApiType, [u8, u64, U8aFixed, U256, Bytes]>;
            /**
             * GenericTransfer is for a generic data payload. \[dest_id, nonce, resource_id, metadata\]
             **/
            GenericTransfer: AugmentedEvent<ApiType, [u8, u64, U8aFixed, Bytes]>;
            /**
             * NonFungibleTransfer is for relaying NFTS. \[dest_id, nonce, resource_id, token_id, recipient, metadata\]
             **/
            NonFungibleTransfer: AugmentedEvent<ApiType, [u8, u64, U8aFixed, Bytes, Bytes, Bytes]>;
            /**
             * Voting successful for a proposal. \[dest_id, nonce\]
             **/
            ProposalApproved: AugmentedEvent<ApiType, [u8, u64]>;
            /**
             * Execution of call failed. \[dest_id, nonce\]
             **/
            ProposalFailed: AugmentedEvent<ApiType, [u8, u64]>;
            /**
             * Proposal lifetime has changed. \[lifetime\]
             **/
            ProposalLifetimeChanged: AugmentedEvent<ApiType, [u32]>;
            /**
             * Voting rejected a proposal. \[dest_id, nonce\]
             **/
            ProposalRejected: AugmentedEvent<ApiType, [u8, u64]>;
            /**
             * Execution of call succeeded. \[dest_id, nonce\]
             **/
            ProposalSucceeded: AugmentedEvent<ApiType, [u8, u64]>;
            /**
             * Relayer added to set. \[who\]
             **/
            RelayerAdded: AugmentedEvent<ApiType, [AccountId32]>;
            /**
             * Relayer removed from set. \[who\]
             **/
            RelayerRemoved: AugmentedEvent<ApiType, [AccountId32]>;
            /**
             * Vote threshold has changed. \[new_threshold\]
             **/
            RelayerThresholdChanged: AugmentedEvent<ApiType, [u32]>;
            /**
             * Vot submitted against proposal. \[dest_id, nonce, who\]
             **/
            VoteAgainst: AugmentedEvent<ApiType, [u8, u64, AccountId32]>;
            /**
             * Vote submitted in favour of proposal. \[dest_id, nonce, who\]
             **/
            VoteFor: AugmentedEvent<ApiType, [u8, u64, AccountId32]>;
        };
        claims: {
            /**
             * `AccountId` claimed `Balance` amount of currency reserved for `EthereumAddress`
             * \[who, ethereum_account, amount\]
             **/
            Claimed: AugmentedEvent<ApiType, [AccountId32, EqClaimEthereumAddress, u128]>;
        };
        curveAmm: {
            /**
             * Liquidity added into the pool `PoolId` by `T::AccountId`.
             *
             * Included values are:
             * - account identifier `T::AccountId`
             * - pool identifier `PoolId`
             * - added token amounts `Vec<T::Balance>`
             * - charged fees `Vec<T::Balance>`
             * - actual invariant `T::Balance`
             * - actual token supply `T::Balance`
             * - minted amount `T::Balance`
             *
             * \[who, pool_id, token_amounts, fees, invariant, token_supply, mint_amount\]
             **/
            AddLiquidity: AugmentedEvent<ApiType, [AccountId32, u32, Vec<u128>, Vec<u128>, u128, u128, u128]>;
            /**
             * Pool with specified id `PoolId` was created successfully by `T::AccountId`.
             *
             * Included values are:
             * - account identifier `T::AccountId`
             * - pool identifier `PoolId`
             *
             * \[who, pool_id\]
             **/
            CreatePool: AugmentedEvent<ApiType, [AccountId32, u32]>;
            /**
             * Liquidity removed from pool `PoolId` by `T::AccountId` in balanced way.
             *
             * Included values are:
             * - account identifier `T::AccountId`
             * - pool identifier `PoolId`
             * - removed token amounts `Vec<T::Balance>`
             * - charged fees `Vec<T::Balance>`
             * - actual token supply `T::Balance`
             * - quantity of LP tokens to burn in the withdrawal `T::Balance`
             *
             * \[who, pool_id, token_amounts, fees, token_supply, burn_amount\]
             **/
            RemoveLiquidity: AugmentedEvent<ApiType, [AccountId32, u32, Vec<u128>, Vec<u128>, u128, u128]>;
            /**
             * Liquidity removed from pool `PoolId` by `T::AccountId` in imbalanced way.
             *
             * Included values are:
             * - account identifier `T::AccountId`
             * - pool identifier `PoolId`
             * - removed token amounts `Vec<T::Balance>`
             * - charged fees `Vec<T::Balance>`
             * - actual invariant `T::Balance`
             * - actual token supply `T::Balance`
             * - removed LP token amount `T::Balance`
             *
             * \[who, pool_id, token_amounts, fees, invariant, token_supply, burn_amount\]
             **/
            RemoveLiquidityImbalance: AugmentedEvent<ApiType, [AccountId32, u32, Vec<u128>, Vec<u128>, u128, u128, u128]>;
            /**
             * Liquidity removed from pool `PoolId` only for one token.
             *
             * Included values are:
             * - account identifier `T::AccountId`
             * - pool identifier `PoolId`
             * - removed token amount `T::Balance`
             * - received token index `PoolTokenIndex`
             * - received token amount `T::Balance`
             * - actual token supply `T::Balance`
             * - charged fee `T::Balance`
             *
             * \[who, pool_id, burn_amount, received_token, received_amount, token_supply, fee\]
             **/
            RemoveLiquidityOne: AugmentedEvent<ApiType, [AccountId32, u32, u128, u32, u128, u128, u128]>;
            /**
             * Token exchange happened.
             *
             * Included values are:
             * - account identifier `T::AccountId`
             * - pool identifier `PoolId`
             * - index of sent token `PoolTokenIndex`
             * - amount of sent token `T::Balance`
             * - index of received token `PoolTokenIndex`
             * - amount of received token `T::Balance`
             * - charged fee `T::Balance`
             *
             * \[who, pool_id, sent_token_index, sent_amount, received_token_index, received_amount, fee\]
             **/
            TokenExchange: AugmentedEvent<ApiType, [AccountId32, u32, u32, u128, u32, u128, u128]>;
            /**
             * Withdraw admin fees `Vec<T::Balance>` from pool `PoolId` by user `T::AccountId`
             *
             * Included values are:
             * - account identifier `T::AccountId`
             * - pool identifier `PoolId`
             * - withdrew admin fees `Vec<T::Balance>`
             *
             * [who, pool_id, admin_fees]
             **/
            WithdrawAdminFees: AugmentedEvent<ApiType, [AccountId32, u32, Vec<u128>]>;
        };
        dmpQueue: {
            /**
             * Downward message executed with the given outcome.
             **/
            ExecutedDownward: AugmentedEvent<ApiType, [messageId: U8aFixed, outcome: XcmV2TraitsOutcome], {
                messageId: U8aFixed;
                outcome: XcmV2TraitsOutcome;
            }>;
            /**
             * Downward message is invalid XCM.
             **/
            InvalidFormat: 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: u64], {
                messageId: U8aFixed;
                overweightIndex: u64;
                requiredWeight: u64;
            }>;
            /**
             * Downward message from the overweight queue was executed.
             **/
            OverweightServiced: AugmentedEvent<ApiType, [overweightIndex: u64, weightUsed: u64], {
                overweightIndex: u64;
                weightUsed: u64;
            }>;
            /**
             * 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: u64, requiredWeight: u64], {
                messageId: U8aFixed;
                remainingWeight: u64;
                requiredWeight: u64;
            }>;
        };
        eqAssets: {
            /**
             * Asset removed from store \[asset, asset_name\]
             **/
            DeleteAsset: AugmentedEvent<ApiType, [u64, Bytes]>;
            /**
             * New asset added to store  \[asset, asset_name\]
             **/
            NewAsset: AugmentedEvent<ApiType, [u64, Bytes]>;
            /**
             * Asset updated in the store \[asset, asset_name\]
             **/
            UpdateAsset: AugmentedEvent<ApiType, [u64, Bytes]>;
        };
        eqBalances: {
            /**
             * Delete account event. \[who\]
             **/
            DeleteAccount: AugmentedEvent<ApiType, [AccountId32]>;
            /**
             * Deposit event. Included values are:
             * - to `AccountId`
             * - transfer `Asset`
             * - transferred amount
             * - reason to deposit
             * \[to, asset, amount, reason\]
             **/
            Deposit: AugmentedEvent<ApiType, [AccountId32, u64, u128, EqPrimitivesBalanceDepositReason]>;
            /**
             * Exchange event. Included values are:
             * - accounts that perform exchange
             * - exchanged assets
             * - exchanged amounts
             * \[account_1, asset_1, amount_1, account_2, asset_2, amount_2\]
             **/
            Exchange: AugmentedEvent<ApiType, [AccountId32, u64, u128, AccountId32, u64, u128]>;
            /**
             * Transfer event. Included values are:
             * - from `AccountId`
             * - to `AccountId`
             * - transfer `Asset`
             * - transferred amount
             * - transfer reason
             * \[from, to, asset, amount, reason\]
             **/
            Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u64, u128, EqPrimitivesTransferReason]>;
            /**
             * Withdraw event. Included values are:
             * - from `AccountId`
             * - transfer `Asset`
             * - transferred amount
             * \[from, asset, amount\]
             **/
            Withdraw: AugmentedEvent<ApiType, [AccountId32, u64, u128, EqPrimitivesBalanceWithdrawReason]>;
            /**
             * XCM sending error
             * - id
             * - send_error `xcm::latest::SendError`
             * \[id, send_error\]
             **/
            XcmMessageSendError: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsSendError]>;
            /**
             * XCM transfer sent. Included values are:
             * - from `AccountId`
             * - dest chain `Multilocation`
             * - dest account `MultiLocation`
             * - asset id `Asset`
             * - transferred amount
             * - fee asset for XCM execution on dest chain
             * - fee for XCM execution on dest chain
             * - id
             * \[from, dest, to, asset, amount, fee_asset, fee_amount, id\]
             **/
            XcmTransfer: AugmentedEvent<ApiType, [AccountId32, XcmV1MultiLocation, XcmV1MultiLocation, u64, u128, u64, u128, U8aFixed]>;
        };
        eqBridge: {
            /**
             * Transfers funds from the bridge into the network
             **/
            FromBridgeTransfer: AugmentedEvent<ApiType, [AccountId32, u64, u128]>;
            /**
             * Transfers funds from the bridge into the network to transfer next
             **/
            FromBridgeTransferNext: AugmentedEvent<ApiType, [Bytes, u64, u128]>;
            /**
             * Minimum transfer amount to out of the network has changed. \[chainId, resourceId, new_minimum_amount\]
             **/
            MinimumTransferAmountChanged: AugmentedEvent<ApiType, [u8, U8aFixed, u128]>;
            /**
             * Demonstrate an arbitrary call from a proposal. \[hash\]
             **/
            Remark: AugmentedEvent<ApiType, [H256]>;
            /**
             * Transfers funds out of the network to the bridge
             **/
            ToBridgeTransfer: AugmentedEvent<ApiType, [AccountId32, u64, u128]>;
            /**
             * Allowability withdrawals for the resource id to chain has changed. \[resource_id, chain_id, enabled\]
             **/
            WithdrawalsToggled: AugmentedEvent<ApiType, [U8aFixed, u8, bool]>;
        };
        eqDex: {
            /**
             * Orders matched
             * `[asset, taker_rest, maker_price, maker_order_id, maker, taker, maker_fee, taker_fee, exchange_amount, maker_side]`
             **/
            Match: AugmentedEvent<ApiType, [u64, u128, i64, u64, AccountId32, AccountId32, u128, u128, u128, EqPrimitivesDexOrderSide]>;
            /**
             * Order was created
             * `[subaccount_id, order_id, asset, amount, price, side, created_at, expiration_time]`
             **/
            OrderCreated: AugmentedEvent<ApiType, [AccountId32, u64, u64, u128, i64, EqPrimitivesDexOrderSide, u64, u64]>;
            /**
             * Order was deleted
             * `[maybe_account_id, order_id, asset]`
             **/
            OrderDeleted: AugmentedEvent<ApiType, [Option<AccountId32>, u64, u64]>;
        };
        eqLockdrop: {
            /**
             * User `who` locks `amount` of Eq
             * \[who, amount\]
             **/
            Lock: AugmentedEvent<ApiType, [AccountId32, u128]>;
            /**
             * User `who` unlocks `amount` of Eq
             * \[who, amount\]
             **/
            Unlock: AugmentedEvent<ApiType, [AccountId32, u128]>;
        };
        eqMarginCall: {
            /**
             * Event is fired when an account achieves the `maintenance_margin` level.
             **/
            MaintenanceMarginCall: AugmentedEvent<ApiType, [AccountId32, u64]>;
            /**
             * Event is fired when an account is liquidated.
             **/
            MarginCallExecuted: AugmentedEvent<ApiType, [AccountId32]>;
        };
        eqMultisigSudo: {
            /**
             * The storage has been initialized
             **/
            Initialized: AugmentedEvent<ApiType, []>;
            /**
             * A key has been added to the multisig signatory list
             **/
            KeyAdded: AugmentedEvent<ApiType, [AccountId32]>;
            /**
             * A key has been removed to the multisig signatory list
             **/
            KeyRemoved: AugmentedEvent<ApiType, [AccountId32]>;
            /**
             * Sudo was executed on the proposal after enough signatures
             **/
            MultisigSudid: AugmentedEvent<ApiType, [U8aFixed, Result<Null, SpRuntimeDispatchError>]>;
            /**
             * A new multisig proposal
             **/
            NewProposal: AugmentedEvent<ApiType, [AccountId32, U8aFixed]>;
            /**
             * The proposal was approved
             **/
            ProposalApproved: AugmentedEvent<ApiType, [AccountId32, U8aFixed]>;
            /**
             * The proposal was cancelled
             **/
            ProposalCancelled: AugmentedEvent<ApiType, [U8aFixed]>;
            /**
             * Sudo critical failure
             **/
            SudoFailed: AugmentedEvent<ApiType, [U8aFixed]>;
            /**
             * The signatory threshold was modified; a new value is supplied.
             **/
            ThresholdModified: AugmentedEvent<ApiType, [u32]>;
        };
        eqSessionManager: {
            /**
             * Validator successfully added
             * \[who\]
             **/
            ValidatorAdded: AugmentedEvent<ApiType, [AccountId32]>;
            /**
             * Validator successfully removed
             * \[who\]
             **/
            ValidatorRemoved: AugmentedEvent<ApiType, [AccountId32]>;
        };
        financial: {
            /**
             * Financial metrics for the specified asset have been recalculated
             * \[asset\]
             **/
            AssetMetricsRecalculated: AugmentedEvent<ApiType, [u64]>;
            /**
             * Financial metrics for all assets have been recalculated
             **/
            MetricsRecalculated: AugmentedEvent<ApiType, []>;
            /**
             * Financial metrics for the specified portfolio have been recalculated
             * \[portfolio\]
             **/
            PortfolioMetricsRecalculated: AugmentedEvent<ApiType, [AccountId32]>;
        };
        migration: {
            /**
             * Migration completed
             **/
            Migrated: AugmentedEvent<ApiType, []>;
            /**
             * Migration processed N items
             **/
            MigrationProcessed: AugmentedEvent<ApiType, [u16]>;
            /**
             * New migration with N length added
             **/
            MigrationSetted: AugmentedEvent<ApiType, [u16]>;
        };
        mmPool: {
            /**
             * New Borrowing from mm pool
             * [manager, asset, borrowed_amount, mm_id, total_borrowed_amount]
             **/
            Borrow: AugmentedEvent<ApiType, [AccountId32, u64, u128, u16, u128]>;
            /**
             * New manager for market maker is added
             * [manager_account_id, mm_id, trading_account_id]
             **/
            BorrowerAdded: AugmentedEvent<ApiType, [AccountId32, u16, AccountId32]>;
            /**
             * Borrower for pool is removed
             * [manager_account_id, currency]
             **/
            BorrowerRemoved: AugmentedEvent<ApiType, [AccountId32, u64]>;
            /**
             * New Deposit to mm pool
             * [who, asset, deposit_amount, total_deposit_amount]
             **/
            Deposit: AugmentedEvent<ApiType, [AccountId32, u64, u128, u128]>;
            /**
             * New allocations for mm
             * [mm_id, new_allocations]
             **/
            NewAllocations: AugmentedEvent<ApiType, [u16, Vec<ITuple<[u64, Perbill]>>]>;
            /**
             * Next epoch's duration
             * [next_epoch_counter, next_epoch_duration]
             **/
            NewEpochDuration: AugmentedEvent<ApiType, [u64, u64]>;
            /**
             * Existing pool is changed
             * [pool_account_id, currency, min_amount]
             **/
            PoolChanged: AugmentedEvent<ApiType, [u64, u128]>;
            /**
             * New pool is created
             * [pool_account_id, currency, min_amount]
             **/
            PoolCreated: AugmentedEvent<ApiType, [AccountId32, u64, u128]>;
            /**
             * Borrower return borrowing to mm pool
             * [manager, asset, returned_amount, mm_id, total_borrowed_amount]
             **/
            Repay: AugmentedEvent<ApiType, [AccountId32, u64, u128, u16, u128]>;
            /**
             * Completed withdrawal from mm pool
             * [who, asset, withdrawal_amount]
             **/
            WithdrawalCompleted: AugmentedEvent<ApiType, [AccountId32, u64, u128]>;
            /**
             * Requested withdrawal from mm pool
             * [who, asset, withdrawal_amount]
             **/
            WithdrawalRequest: AugmentedEvent<ApiType, [AccountId32, u64, u128]>;
        };
        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;
            }>;
        };
        oracle: {
            /**
             * A new price added to the storage. The event contains: `Asset` for the price,
             * `FixedI64` for the price value that was added, `FixedI64` for a new
             * aggregated price and `AccountId` of the price submitter
             * \[asset, new_value, aggregated, submitter\]
             **/
            NewPrice: AugmentedEvent<ApiType, [u64, i64, i64, AccountId32]>;
        };
        parachainSystem: {
            /**
             * Downward messages were processed using the given weight.
             **/
            DownwardMessagesProcessed: AugmentedEvent<ApiType, [weightUsed: u64, dmqHead: H256], {
                weightUsed: u64;
                dmqHead: H256;
            }>;
            /**
             * Some downward messages have been received and will be processed.
             **/
            DownwardMessagesReceived: AugmentedEvent<ApiType, [count: u32], {
                count: u32;
            }>;
            /**
             * An upgrade has been authorized.
             **/
            UpgradeAuthorized: AugmentedEvent<ApiType, [codeHash: H256], {
                codeHash: H256;
            }>;
            /**
             * The validation function was applied as of the contained relay chain block number.
             **/
            ValidationFunctionApplied: AugmentedEvent<ApiType, [relayChainBlockNum: u32], {
                relayChainBlockNum: u32;
            }>;
            /**
             * The relay-chain aborted the upgrade process.
             **/
            ValidationFunctionDiscarded: AugmentedEvent<ApiType, []>;
            /**
             * The validation function has been scheduled to apply.
             **/
            ValidationFunctionStored: AugmentedEvent<ApiType, []>;
        };
        polkadotXcm: {
            /**
             * Some assets have been placed in an asset trap.
             *
             * \[ hash, origin, assets \]
             **/
            AssetsTrapped: AugmentedEvent<ApiType, [H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
            /**
             * Execution of an XCM message was attempted.
             *
             * \[ outcome \]
             **/
            Attempted: AugmentedEvent<ApiType, [XcmV2TraitsOutcome]>;
            /**
             * Expected query response has been received but the origin location of the response does
             * not match that expected. The query remains registered for a later, valid, response to
             * be received and acted upon.
             *
             * \[ origin location, id, expected location \]
             **/
            InvalidResponder: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;
            /**
             * Expected query response has been received but the expected origin location placed in
             * storage by this runtime previously cannot be decoded. The query remains registered.
             *
             * This is unexpected (since a location placed in storage in a previously executing
             * runtime should be readable prior to query timeout) and dangerous since the possibly
             * valid response will be dropped. Manual governance intervention is probably going to be
             * needed.
             *
             * \[ origin location, id \]
             **/
            InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;
            /**
             * Query response has been received and query is removed. The registered notification has
             * been dispatched and executed successfully.
             *
             * \[ id, pallet index, call index \]
             **/
            Notified: AugmentedEvent<ApiType, [u64, u8, u8]>;
            /**
             * Query response has been received and query is removed. The dispatch was unable to be
             * decoded into a `Call`; this might be due to dispatch function having a signature which
             * is not `(origin, QueryId, Response)`.
             *
             * \[ id, pallet index, call index \]
             **/
            NotifyDecodeFailed: AugmentedEvent<ApiType, [u64, u8, u8]>;
            /**
             * Query response has been received and query is removed. There was a general error with
             * dispatching the notification call.
             *
             * \[ id, pallet index, call index \]
             **/
            NotifyDispatchError: AugmentedEvent<ApiType, [u64, u8, u8]>;
            /**
             * Query response has been received and query is removed. The registered notification could
             * not be dispatched because the dispatch weight is greater than the maximum weight
             * originally budgeted by this runtime for the query result.
             *
             * \[ id, pallet index, call index, actual weight, max budgeted weight \]
             **/
            NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8, u64, u64]>;
            /**
             * A given location which had a version change subscription was dropped owing to an error
             * migrating the location to our new XCM format.
             *
             * \[ location, query ID \]
             **/
            NotifyTargetMigrationFail: AugmentedEvent<ApiType, [XcmVersionedMultiLocation, u64]>;
            /**
             * A given location which had a version change subscription was dropped owing to an error
             * sending the notification to it.
             *
             * \[ location, query ID, error \]
             **/
            NotifyTargetSendFail: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, XcmV2TraitsError]>;
            /**
             * Query response has been received and is ready for taking with `take_response`. There is
             * no registered notification call.
             *
             * \[ id, response \]
             **/
            ResponseReady: AugmentedEvent<ApiType, [u64, XcmV2Response]>;
            /**
             * Received query response has been read and removed.
             *
             * \[ id \]
             **/
            ResponseTaken: AugmentedEvent<ApiType, [u64]>;
            /**
             * A XCM message was sent.
             *
             * \[ origin, destination, message \]
             **/
            Sent: AugmentedEvent<ApiType, [XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;
            /**
             * The supported version of a location has been changed. This might be through an
             * automatic notification or a manual intervention.
             *
             * \[ location, XCM version \]
             **/
            SupportedVersionChanged: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;
            /**
             * Query response received which does not match a registered query. This may be because a
             * matching query was never registered, it may be because it is a duplicate response, or
             * because the query timed out.
             *
             * \[ origin location, id \]
             **/
            UnexpectedResponse: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;
            /**
             * An XCM version change notification message has been attempted to be sent.
             *
             * \[ destination, result \]
             **/
            VersionChangeNotified: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;
        };
        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;
            }>;
            /**
             * Anonymous account has been created by new proxy with given
             * disambiguation index and proxy type.
             **/
            AnonymousCreated: AugmentedEvent<ApiType, [anonymous: AccountId32, who: AccountId32, proxyType: EqPrimitivesProxyProxyType, disambiguationIndex: u16], {
                anonymous: AccountId32;
                who: AccountId32;
                proxyType: EqPrimitivesProxyProxyType;
                disambiguationIndex: u16;
            }>;
            /**
             * A proxy was added.
             **/
            ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: EqPrimitivesProxyProxyType, delay: u32], {
                delegator: AccountId32;
                delegatee: AccountId32;
                proxyType: EqPrimitivesProxyProxyType;
                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: EqPrimitivesProxyProxyType, delay: u32], {
                delegator: AccountId32;
                delegatee: AccountId32;
                proxyType: EqPrimitivesProxyProxyType;
                delay: u32;
            }>;
        };
        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;
            }>;
        };
        subaccounts: {
            /**
             * Register bailsman subaccount as bailsman
             * - first element is subaccount owner's `AccountId`
             * - second element is subaccount of type Bailsman
             * \[owner, subaccount\]
             **/
            RegisterBailsman: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
            /**
             * New subaccount created
             * - first element is subaccount owner's `AccountId`
             * - second element is `AccountId` of created subaccount
             * - last element is a type of created subaccount
             * \[owner, subaccount, type\]
             **/
            SubaccountCreated: AugmentedEvent<ApiType, [AccountId32, AccountId32, EqPrimitivesSubaccountSubAccType]>;
        };
        system: {
            /**
             * `:code` was updated.
             **/
            CodeUpdated: AugmentedEvent<ApiType, []>;
            /**
             * An extrinsic failed.
             **/
            ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportWeightsDispatchInfo], {
                dispatchError: SpRuntimeDispatchError;
                dispatchInfo: FrameSupportWeightsDispatchInfo;
            }>;
            /**
             * An extrinsic completed successfully.
             **/
            ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportWeightsDispatchInfo], {
                dispatchInfo: FrameSupportWeightsDispatchInfo;
            }>;
            /**
             * 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;
            }>;
        };
        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;
            }>;
        };
        vesting: {
            /**
             * An `account` has become fully vested. No further vesting can happen
             * \[account\]
             **/
            VestingCompleted: AugmentedEvent<ApiType, [AccountId32]>;
            /**
             * The amount vested has been updated. This could indicate more funds are available. The
             * balance given is the amount which is left unvested (and thus locked)
             * \[account, unvested\]
             **/
            VestingUpdated: AugmentedEvent<ApiType, [AccountId32, u128]>;
        };
        vesting2: {
            /**
             * An `account` has become fully vested. No further vesting can happen
             * \[account\]
             **/
            VestingCompleted: AugmentedEvent<ApiType, [AccountId32]>;
            /**
             * The amount vested has been updated. This could indicate more funds are available. The
             * balance given is the amount which is left unvested (and thus locked)
             * \[account, unvested\]
             **/
            VestingUpdated: AugmentedEvent<ApiType, [AccountId32, u128]>;
        };
        whitelists: {
            /**
             * `AccountId` was added to the whitelist. \[who\]
             **/
            AddedToWhitelist: AugmentedEvent<ApiType, [AccountId32]>;
            /**
             * `AccountId` was removed from the whitelist. \[who\]
             **/
            RemovedFromWhitelist: AugmentedEvent<ApiType, [AccountId32]>;
        };
        xcmpQueue: {
            /**
             * Bad XCM format used.
             **/
            BadFormat: AugmentedEvent<ApiType, [Option<H256>]>;
            /**
             * Bad XCM version used.
             **/
            BadVersion: AugmentedEvent<ApiType, [Option<H256>]>;
            /**
             * Some XCM failed.
             **/
            Fail: AugmentedEvent<ApiType, [Option<H256>, XcmV2TraitsError]>;
            /**
             * An XCM exceeded the individual message weight budget.
             **/
            OverweightEnqueued: AugmentedEvent<ApiType, [u32, u32, u64, u64]>;
            /**
             * An XCM from the overweight queue was executed with the given actual weight used.
             **/
            OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;
            /**
             * Some XCM was executed ok.
             **/
            Success: AugmentedEvent<ApiType, [Option<H256>]>;
            /**
             * An upward message was sent to the relay chain.
             **/
            UpwardMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;
            /**
             * An HRMP message was sent to a sibling parachain.
             **/
            XcmpMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;
        };
        xdot: {
            /**
             * LP tokens was burned, base and xbase was transfered from pool
             *
             * Included values are:
             * - account identifier `T::AccountId`
             * - pool indentifier `PoolId`
             * - base asset amount `T::Balance`
             * - xbase asset amount `T::Balance`
             * - lp tokens amount `T::Balance`
             *
             * \[who, pool_id, base_out, xbase_out, tokens_burned\]
             **/
            Burned: AugmentedEvent<ApiType, [AccountId32, u32, u128, u128, u128]>;
            /**
             * Base was bought from pool in exchange for xbase
             *
             * Included values are:
             * - account identifier `T::AccountId`
             * - pool indentifier `PoolId`
             * - base asset amount `T::Balance`
             * - xbase asset amount `T::Balance`
             **/
            BuyBase: AugmentedEvent<ApiType, [AccountId32, u32, u128, u128]>;
            /**
             * Xbase was bought from pool in exchange for base
             *
             * Included values are:
             * - account identifier `T::AccountId`
             * - pool indentifier `PoolId`
             * - base asset amount `T::Balance`
             * - xbase asset amount `T::Balance`
             **/
            BuyXBase: AugmentedEvent<ApiType, [AccountId32, u32, u128, u128]>;
            /**
             * LP tokens was minted, base and xbase was transfered into pool
             *
             * Included values are:
             * - account identifier `T::AccountId`
             * - pool indentifier `PoolId`
             * - base asset amount `T::Balance`
             * - xbase asset amount `T::Balance`
             * - lp tokens amount `T::Balance`
             *
             * \[who, pool_id, base_in, xbase_in, tokens_minted\]
             **/
            Minted: AugmentedEvent<ApiType, [AccountId32, u32, u128, u128, u128]>;
            /**
             * Pool with specified id `PoolId` was created successfully.
             *
             * Included values are:
             * - pool identifier `PoolId`
             * - LP asset
             * - Base asset
             * - XBase asset
             * - g1 coeff
             * - g2 coeff
             * - ts coeff
             * \[pool_id, base_asset, xbase_asset, g1, g2, ts\]
             **/
            PoolCreated: AugmentedEvent<ApiType, [u32, u64, u64, u64, SubstrateFixedFixedI128, SubstrateFixedFixedI128, SubstrateFixedFixedI128]>;
            /**
             * Base was sold into pool in exchange for xbase.
             *
             * Included values are:
             * - account identifier `T::AccountId`
             * - pool indentifier `PoolId`
             * - base asset amount `T::Balance`
             * - xbase asset amount `T::Balance`
             **/
            SaleBase: AugmentedEvent<ApiType, [AccountId32, u32, u128, u128]>;
            /**
             * Xbase was sold into pool in exchange for base
             *
             * Included values are:
             * - account identifier `T::AccountId`
             * - pool indentifier `PoolId`
             * - base asset amount `T::Balance`
             * - xbase asset amount `T::Balance`
             **/
            SellXBase: AugmentedEvent<ApiType, [AccountId32, u32, u128, u128]>;
        };
    }
}
