LiquidityRemoved: PlainDescriptor<{
    amount1: bigint;
    amount2: bigint;
    lp_token: number;
    lp_token_burned: bigint;
    pool_id: FixedSizeArray<2, {
        interior: Enum<{
            Here: undefined;
            X1: Enum<{
                AccountId32: {
                    id: FixedSizeBinary<32>;
                    network?: ...;
                };
                AccountIndex64: {
                    index: bigint;
                    network?: ...;
                };
                AccountKey20: {
                    key: FixedSizeBinary<20>;
                    network?: ...;
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<32>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: undefined;
                    BitcoinCore: undefined;
                    ByFork: {
                        block_hash: ...;
                        block_number: ...;
                    };
                    ByGenesis: FixedSizeBinary<(...)>;
                    Ethereum: {
                        chain_id: ...;
                    };
                    Kusama: undefined;
                    Polkadot: undefined;
                    PolkadotBulletin: undefined;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>;
            X2: FixedSizeArray<2, Enum<{
                AccountId32: {
                    id: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                AccountIndex64: {
                    index: bigint;
                    network?: (...) | (...);
                };
                AccountKey20: {
                    key: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<(...)>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: ...;
                    BitcoinCore: ...;
                    ByFork: ...;
                    ByGenesis: ...;
                    Ethereum: ...;
                    Kusama: ...;
                    Polkadot: ...;
                    PolkadotBulletin: ...;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>>;
            X3: FixedSizeArray<3, Enum<{
                AccountId32: {
                    id: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                AccountIndex64: {
                    index: bigint;
                    network?: (...) | (...);
                };
                AccountKey20: {
                    key: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<(...)>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: ...;
                    BitcoinCore: ...;
                    ByFork: ...;
                    ByGenesis: ...;
                    Ethereum: ...;
                    Kusama: ...;
                    Polkadot: ...;
                    PolkadotBulletin: ...;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>>;
            X4: FixedSizeArray<4, Enum<{
                AccountId32: {
                    id: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                AccountIndex64: {
                    index: bigint;
                    network?: (...) | (...);
                };
                AccountKey20: {
                    key: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<(...)>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: ...;
                    BitcoinCore: ...;
                    ByFork: ...;
                    ByGenesis: ...;
                    Ethereum: ...;
                    Kusama: ...;
                    Polkadot: ...;
                    PolkadotBulletin: ...;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>>;
            X5: FixedSizeArray<5, Enum<{
                AccountId32: {
                    id: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                AccountIndex64: {
                    index: bigint;
                    network?: (...) | (...);
                };
                AccountKey20: {
                    key: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<(...)>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: ...;
                    BitcoinCore: ...;
                    ByFork: ...;
                    ByGenesis: ...;
                    Ethereum: ...;
                    Kusama: ...;
                    Polkadot: ...;
                    PolkadotBulletin: ...;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>>;
            X6: FixedSizeArray<6, Enum<{
                AccountId32: {
                    id: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                AccountIndex64: {
                    index: bigint;
                    network?: (...) | (...);
                };
                AccountKey20: {
                    key: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<(...)>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: ...;
                    BitcoinCore: ...;
                    ByFork: ...;
                    ByGenesis: ...;
                    Ethereum: ...;
                    Kusama: ...;
                    Polkadot: ...;
                    PolkadotBulletin: ...;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>>;
            X7: FixedSizeArray<7, Enum<{
                AccountId32: {
                    id: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                AccountIndex64: {
                    index: bigint;
                    network?: (...) | (...);
                };
                AccountKey20: {
                    key: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<(...)>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: ...;
                    BitcoinCore: ...;
                    ByFork: ...;
                    ByGenesis: ...;
                    Ethereum: ...;
                    Kusama: ...;
                    Polkadot: ...;
                    PolkadotBulletin: ...;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>>;
            X8: FixedSizeArray<8, Enum<{
                AccountId32: {
                    id: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                AccountIndex64: {
                    index: bigint;
                    network?: (...) | (...);
                };
                AccountKey20: {
                    key: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<(...)>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: ...;
                    BitcoinCore: ...;
                    ByFork: ...;
                    ByGenesis: ...;
                    Ethereum: ...;
                    Kusama: ...;
                    Polkadot: ...;
                    PolkadotBulletin: ...;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>>;
        }>;
        parents: number;
    }>;
    who: SS58String;
    withdraw_to: SS58String;
    withdrawal_fee: number;
}>

A successful call of the RemoveLiquidity extrinsic will create this event.

Type declaration

  • amount1: bigint

    The amount of the first asset that was removed from the pool.

  • amount2: bigint

    The amount of the second asset that was removed from the pool.

  • lp_token: number

    The id of the lp token that was burned.

  • lp_token_burned: bigint

    The amount of lp tokens that were burned of that id.

  • pool_id: FixedSizeArray<2, {
        interior: Enum<{
            Here: undefined;
            X1: Enum<{
                AccountId32: {
                    id: FixedSizeBinary<32>;
                    network?: ...;
                };
                AccountIndex64: {
                    index: bigint;
                    network?: ...;
                };
                AccountKey20: {
                    key: FixedSizeBinary<20>;
                    network?: ...;
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<32>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: undefined;
                    BitcoinCore: undefined;
                    ByFork: {
                        block_hash: ...;
                        block_number: ...;
                    };
                    ByGenesis: FixedSizeBinary<(...)>;
                    Ethereum: {
                        chain_id: ...;
                    };
                    Kusama: undefined;
                    Polkadot: undefined;
                    PolkadotBulletin: undefined;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>;
            X2: FixedSizeArray<2, Enum<{
                AccountId32: {
                    id: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                AccountIndex64: {
                    index: bigint;
                    network?: (...) | (...);
                };
                AccountKey20: {
                    key: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<(...)>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: ...;
                    BitcoinCore: ...;
                    ByFork: ...;
                    ByGenesis: ...;
                    Ethereum: ...;
                    Kusama: ...;
                    Polkadot: ...;
                    PolkadotBulletin: ...;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>>;
            X3: FixedSizeArray<3, Enum<{
                AccountId32: {
                    id: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                AccountIndex64: {
                    index: bigint;
                    network?: (...) | (...);
                };
                AccountKey20: {
                    key: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<(...)>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: ...;
                    BitcoinCore: ...;
                    ByFork: ...;
                    ByGenesis: ...;
                    Ethereum: ...;
                    Kusama: ...;
                    Polkadot: ...;
                    PolkadotBulletin: ...;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>>;
            X4: FixedSizeArray<4, Enum<{
                AccountId32: {
                    id: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                AccountIndex64: {
                    index: bigint;
                    network?: (...) | (...);
                };
                AccountKey20: {
                    key: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<(...)>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: ...;
                    BitcoinCore: ...;
                    ByFork: ...;
                    ByGenesis: ...;
                    Ethereum: ...;
                    Kusama: ...;
                    Polkadot: ...;
                    PolkadotBulletin: ...;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>>;
            X5: FixedSizeArray<5, Enum<{
                AccountId32: {
                    id: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                AccountIndex64: {
                    index: bigint;
                    network?: (...) | (...);
                };
                AccountKey20: {
                    key: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<(...)>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: ...;
                    BitcoinCore: ...;
                    ByFork: ...;
                    ByGenesis: ...;
                    Ethereum: ...;
                    Kusama: ...;
                    Polkadot: ...;
                    PolkadotBulletin: ...;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>>;
            X6: FixedSizeArray<6, Enum<{
                AccountId32: {
                    id: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                AccountIndex64: {
                    index: bigint;
                    network?: (...) | (...);
                };
                AccountKey20: {
                    key: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<(...)>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: ...;
                    BitcoinCore: ...;
                    ByFork: ...;
                    ByGenesis: ...;
                    Ethereum: ...;
                    Kusama: ...;
                    Polkadot: ...;
                    PolkadotBulletin: ...;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>>;
            X7: FixedSizeArray<7, Enum<{
                AccountId32: {
                    id: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                AccountIndex64: {
                    index: bigint;
                    network?: (...) | (...);
                };
                AccountKey20: {
                    key: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<(...)>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: ...;
                    BitcoinCore: ...;
                    ByFork: ...;
                    ByGenesis: ...;
                    Ethereum: ...;
                    Kusama: ...;
                    Polkadot: ...;
                    PolkadotBulletin: ...;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>>;
            X8: FixedSizeArray<8, Enum<{
                AccountId32: {
                    id: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                AccountIndex64: {
                    index: bigint;
                    network?: (...) | (...);
                };
                AccountKey20: {
                    key: FixedSizeBinary<(...)>;
                    network?: (...) | (...);
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: FixedSizeBinary<(...)>;
                    length: number;
                };
                GlobalConsensus: Enum<{
                    BitcoinCash: ...;
                    BitcoinCore: ...;
                    ByFork: ...;
                    ByGenesis: ...;
                    Ethereum: ...;
                    Kusama: ...;
                    Polkadot: ...;
                    PolkadotBulletin: ...;
                }>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: XcmV3JunctionBodyId;
                    part: XcmV2JunctionBodyPart;
                };
            }>>;
        }>;
        parents: number;
    }>

    The pool id that the liquidity was removed from.

  • who: SS58String

    The account that the liquidity tokens were burned from.

  • withdraw_to: SS58String

    The account that the assets were transferred to.

  • withdrawal_fee: number

    Liquidity withdrawal fee (%).