Query editor
WITH add_liquidity AS (SELECTSUM((token_amounts[1] + token_amounts[2]) / token_supply) AS total_lp_tokens_addedFROMcurvefi_ethereum.tALCX_evt_AddLiquidityWHERE"provider" = 0xA86e412109f77c45a3BC1c5870b880492Fb86A14),remove_liquidity AS (SELECTSUM((token_amounts[1] + token_amounts[2]) / token_supply) AS total_lp_tokens_removedFROMcurvefi_ethereum.tALCX_evt_RemoveLiquidityWHERE"provider" = 0xA86e412109f77c45a3BC1c5870b880492Fb86A14)SELECT(add_liquidity.total_lp_tokens_added - remove_liquidity.total_lp_tokens_removed) AS net_lp_tokensFROMadd_liquidity,remove_liquidity;