From a79beb6aab4ebe313b1612b389f8a303f71b97d1 Mon Sep 17 00:00:00 2001 From: Anas Date: Thu, 10 Oct 2024 12:57:07 +0200 Subject: [PATCH] =?UTF-8?q?Deploy=20Aave=20kandel=20to=20production=20?= =?UTF-8?q?=F0=9F=91=8D=20(#365)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add metadatas and change points banner text * Refactor all strategies page to use no. of offers instead of no. of price points * Fix spread calculation in orderbook.tsx to avoid negative values * fix level if the user is level 5 * Remove unused code related to priceRatio (#202) * Remove unused code related to priceRatio Signed-off-by: belbazanas * redirect to edit strategy from strategy list Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * remove the junk * fix indexer sdk (#204) * Fix/minor kandel fixes (#205) * Update button labels in EditStrategyDialog and useForm Signed-off-by: belbazanas * Update parameters table to display step size and locked bounty Signed-off-by: belbazanas * Update history and parameters components Signed-off-by: belbazanas * Update launch strategy button label to Publish Signed-off-by: belbazanas * Add source icon for pacFinance Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * Update close strategy dialog message (#206) Signed-off-by: belbazanas * Fix bounty deposit validation (#207) Signed-off-by: belbazanas * Fix/kandel closed strategies (#208) * Update leaderboard table, change header from Return (%) to PnL (%). Update lockedBounty display in parameters table. Signed-off-by: belbazanas * Remove AverageReturn component from PriceRange Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * diable strategies Signed-off-by: belbazanas * Update table headers, disable close strategy if no live offers, remove wrong tooltips (#213) Signed-off-by: belbazanas * Remove console.log statements Signed-off-by: belbazanas * show boosts (#215) Co-authored-by: Johan le Roch Co-authored-by: Anas * Fix/points volume message (#216) * show boosts * show nft boosts * show boost value returned by /points endpoint * fix zod conversion error * show message * revert points update message --------- Co-authored-by: Johan le Roch * Update navbar.tsx, disable strategies in production * enable strategies tab on staging Signed-off-by: belbazanas * Add warning banner component to strategy layout Signed-off-by: belbazanas * Update warning banner close button styling Signed-off-by: belbazanas * Fix typo in base deposit error message Signed-off-by: belbazanas * Add market selector component and update info bar component, testing feeback fixes Signed-off-by: belbazanas * Update useForm hook to reset form fields when market changes Signed-off-by: belbazanas * update strategy warning banner message Signed-off-by: belbazanas * fix build Signed-off-by: belbazanas * Update 'No. of offers' to 'Nb. of offers' in various components Signed-off-by: belbazanas * Do workaround to merge nft and volume points on the FE * Add usePnL hook and update components to display pnl data Signed-off-by: belbazanas * Fix build issue * Refactor use-parameters and unrealized-pnl components Signed-off-by: belbazanas * Refactor useParameters function to handle pnlQuote and returnRate with market symbol Signed-off-by: belbazanas * bump mangrove.js (#229) * Update navbar.tsx * Add useResolveWhenBlockIsIndexed hook to useEditKandelStrategy (#224) Signed-off-by: belbazanas * enable strategies on staging Signed-off-by: belbazanas * review gasreq for minvolume on kandel strategies Signed-off-by: belbazanas * Feat/withdrawable inventory (#233) * Add withdrawable balance feature Signed-off-by: belbazanas * pnl fix * change namming * Fix inventory order in parameters component Signed-off-by: belbazanas * Fix withdrawal button disabled logic Signed-off-by: belbazanas * fix withdraw balance button disabling condition Signed-off-by: belbazanas * remove logs Signed-off-by: belbazanas * Fix display issue for closed pnlQuote and returnRate Signed-off-by: belbazanas --------- Signed-off-by: belbazanas Co-authored-by: Johan le Roch * fix withdraw balance format Signed-off-by: belbazanas * fix distribution reactivity Signed-off-by: belbazanas * Update warning banner styling and functionality Signed-off-by: belbazanas * Update pnlQuote and returnRate values Signed-off-by: belbazanas * hide pnl value Signed-off-by: belbazanas * Add parametersHistory schema and update related components Signed-off-by: belbazanas * Fix display issue in useParametersTable and update steps in EditStrategyDialog Signed-off-by: belbazanas * remove logs Signed-off-by: belbazanas * epoch on tables * fix * fix texts * fix gas issues * Fix edit LO orders + Refactor code to fix display issues Signed-off-by: belbazanas * Feat/strategy liquidity sourcing (#241) * add LS to new kandel strategy Signed-off-by: belbazanas * add liquidity sourcing in edit, hide liquidity sourcing infos waiting for sdk Signed-off-by: belbazanas * Fix liquidity sourcing token allowance query + Refactor code Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * update SDK to overestimate gas estimation for kandels Signed-off-by: belbazanas * fix chart * fix token symbol on price range chart * Enable from the start the liquidity sourcing fields in strategies/new component Signed-off-by: belbazanas * remove unused code Signed-off-by: belbazanas * fix edit strategy useForm hook to set default values Signed-off-by: belbazanas * Feat/epoc leaderboard (#251) * WIP * end epoch leaderboard * adapt zod epoch model * Hide boost column from total tab * chore: Refactor use-liquidity-sourcing.ts to use react-query for data fetching Signed-off-by: belbazanas * epoch / leaderboard * fix build * refactor points page * chore: Refactor strategies list search input component and add sorting functionality Signed-off-by: belbazanas * save wip Signed-off-by: belbazanas * chore: Refactor use-parameters.ts to handle upcoming values for pnlQuote and returnRate Signed-off-by: belbazanas * update pnpm * Update volumes and boost to use new API (#254) * Add new data for boosts/volumes * Use volume not points for MS1 banner * Revert "Update volumes and boost to use new API (#254)" (#256) This reverts commit 64831ae664017b40796d76e6efbf42cfb29a878f. * Fix/volumes and boosts (#255) * Add new data for boosts/volumes * Use volume not points for MS1 banner --------- Co-authored-by: Daniel <16984675+DanielRX@users.noreply.github.com> * call the price api and delay the indexer sdk until the usdb prices are fetched (#253) * temporary remove liquidity sourcing Signed-off-by: belbazanas * update edit base/quote deposit inputs decimals Signed-off-by: belbazanas * fix nextjs version * Feat/new sdk kandel (#260) * feat: new sdk * progress * feat: continue * new sdk - save wip Signed-off-by: belbazanas * new sdk - save wip Signed-off-by: belbazanas * new sdk - save wip Signed-off-by: belbazanas * new sdk wip market/limit orders Signed-off-by: belbazanas * new sdk - retract order Signed-off-by: belbazanas * update new sdk, chores Signed-off-by: belbazanas * new sdk save wip Signed-off-by: belbazanas * new sdk - project building and limit/market orders working :) Signed-off-by: belbazanas * new sdk - kandel wip Signed-off-by: belbazanas * new sdk - kandel wip Signed-off-by: belbazanas * new kandel - fix build Signed-off-by: belbazanas * new kandel - fix build Signed-off-by: belbazanas * Market simulation estimatedFrom send input * compute estimation from receive field * new kandel - fix creation Signed-off-by: belbazanas * kandel - save wip Signed-off-by: belbazanas * end market order refactor + refresh balances * wip market / limit refactor * new sdk edit kandel Signed-off-by: belbazanas * new sdk fix build Signed-off-by: belbazanas * fix build Signed-off-by: belbazanas * remove frozen lock file Signed-off-by: belbazanas --------- Signed-off-by: belbazanas Co-authored-by: Maxence Raballand Co-authored-by: belbazanas * remove amplifed orders (#263) * remove amplifed orders Signed-off-by: belbazanas * Update join-program-banner.tsx --------- Signed-off-by: belbazanas * fix kandel page display Signed-off-by: belbazanas * fix kandel page display Signed-off-by: belbazanas * fix kandel creation Signed-off-by: belbazanas * fix kandel creation Signed-off-by: belbazanas * fix kandel market selector Signed-off-by: belbazanas * fix build Signed-off-by: belbazanas * add error message in post market order Signed-off-by: belbazanas * add table to vaults list Signed-off-by: belbazanas * vault ui implementation Signed-off-by: belbazanas * fix build Signed-off-by: belbazanas * vault UI enhancements Signed-off-by: belbazanas * fix logics icons + delete unused code Signed-off-by: belbazanas * fix default limit order price Signed-off-by: belbazanas * fix default limit order price bug Signed-off-by: belbazanas * feat: list * kandel fix: display offers in price range chart Signed-off-by: belbazanas * feat: add page * feat: advance * feat: advance * add vault dialogs Signed-off-by: belbazanas * vault remove liquidity dialog update Signed-off-by: belbazanas * temporary fix vaults list query Signed-off-by: belbazanas * temporary fix vault query Signed-off-by: belbazanas * kandel: fix price chart dots Signed-off-by: belbazanas * feat: advance * feat: advance * feat: advance * limit order: fix default price (#270) Signed-off-by: belbazanas * Fix/cancel limit order (#271) * limit order: fix default price Signed-off-by: belbazanas * limit order: fix cancel order Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * fix: max amounts and errors in ABI - Added test Skate vault * Feat/base testnet (#272) * baseTestnet: remove old mgv sdk + comment amplified order files Signed-off-by: belbazanas * implement baseTestnet + faucet Signed-off-by: belbazanas * remove old sdk mergedOffers save wip Signed-off-by: belbazanas * BaseTestnet implementation wip Signed-off-by: belbazanas * kandel: remove error on first load Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * Feat/base testnet (#273) * baseTestnet: remove old mgv sdk + comment amplified order files Signed-off-by: belbazanas * implement baseTestnet + faucet Signed-off-by: belbazanas * remove old sdk mergedOffers save wip Signed-off-by: belbazanas * BaseTestnet implementation wip Signed-off-by: belbazanas * kandel: remove error on first load Signed-off-by: belbazanas * remove last old SDK traces Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * cleanup * zod schema for total points * navbar: remove posthog check for strategies Signed-off-by: belbazanas * Feat/base testnet (#276) * baseTestnet: remove old mgv sdk + comment amplified order files Signed-off-by: belbazanas * implement baseTestnet + faucet Signed-off-by: belbazanas * remove old sdk mergedOffers save wip Signed-off-by: belbazanas * BaseTestnet implementation wip Signed-off-by: belbazanas * kandel: remove error on first load Signed-off-by: belbazanas * remove last old SDK traces Signed-off-by: belbazanas * trade: refresh tabs on market update + remove amplified table Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * feat: vault * Feat/strategy ls fixes (#277) * kandel: re-activate liquidity sourcing Signed-off-by: belbazanas * kandel: detail page wip Signed-off-by: belbazanas * kandel: remove strategyQuery from priceRange overview Signed-off-by: belbazanas * kandel: total inventory display, remove mangrove.jspackage Signed-off-by: belbazanas * trade: fix limit order default price Signed-off-by: belbazanas * kandel: fix edit workflow wip Signed-off-by: belbazanas * retractParams: add type Signed-off-by: belbazanas * kandel: fix retract offers Signed-off-by: belbazanas * kandel: fix edit strat Signed-off-by: belbazanas * kandel: strategies list save wip Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * Fix build * kandel: refetch strategy list on close (#278) * kandel: refetch strategy list on close Signed-off-by: belbazanas * remove log Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * fix computeReceiveAmount * fix computeSendAmount * Fix/last minutes fixes (#279) * kandel: refetch strategy list on close Signed-off-by: belbazanas * remove log Signed-off-by: belbazanas * kandel-trade: fixes Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * remove logs Signed-off-by: belbazanas * fix parseUnits * trade: disable cancel offer Signed-off-by: belbazanas * add usde token logo * fix: change skate vault list (#280) * fix: change skate vault list * chore: revert lockfile change * trade: mute edit order Signed-off-by: belbazanas * vaul: minor changes Signed-off-by: belbazanas * vaul: minor changes Signed-off-by: belbazanas * vaul: remove Big.js in strategies Signed-off-by: belbazanas * ENG-268: Fix slider value calculation in Limit component (#293) * ENG-268: Fix slider value calculation in Limit component The commit fixes the calculation of the slider value in the Limit component. It now correctly calculates the value based on the send balance and send amount. * fix: market order slider inout Signed-off-by: belbazanas * refactor: minor refacto Signed-off-by: belbazanas --------- Signed-off-by: belbazanas Co-authored-by: belbazanas * strategy: enable close strategy in all cases (#297) * Feat/strategy current provision (#298) * improve initial zoom (#303) * improve initial zoom * cleaning some logs * cleaning some logs * try to fix top gap on layout with some extensions (#300) * eng-299: update sdk to display 4 decimals to USD prices (#302) * ENG-269: Fix percentage bar error (market) (#295) Co-authored-by: Johan le Roch * add blast token * update mgv sdk * Synapse Widget (#296) (#309) * Synapse Widget (#296) * add feedbacks Signed-off-by: belbazanas * update amplified tables after edit + feedbacks Signed-off-by: belbazanas * close sheet after edit dialog Signed-off-by: belbazanas * display errors in bottom amplifed form Signed-off-by: belbazanas * ui minor changes Signed-off-by: belbazanas * update mangrove sdk+ add expiry date in tables and sheet Signed-off-by: belbazanas * re-arrange the toast messages Signed-off-by: belbazanas * Debug kandel * fix errors * fixes * edit expiry date Signed-off-by: belbazanas * replace retracted by cancelled Signed-off-by: belbazanas * WIP dialog improvements * check if atleast one offer is open Signed-off-by: belbazanas * add chain id as a dependency to 'strategies' query * fix maxPrice * parameters values improvements * bounty tooltip * check if atleast one offer is open Signed-off-by: belbazanas * save wip Signed-off-by: belbazanas * unwrap eth v1 (#187) Signed-off-by: belbazanas * optimize orbit image * save wip Signed-off-by: belbazanas * invalidate offers query Signed-off-by: belbazanas * save wip Signed-off-by: belbazanas * save wip Signed-off-by: belbazanas * save wip Signed-off-by: belbazanas * add status to strateiges list Signed-off-by: belbazanas * update amplifyOrder documentation link (#195) Signed-off-by: belbazanas * fix strategies list status Signed-off-by: belbazanas * Plug Incentives api wip * save update after refill progress Signed-off-by: belbazanas * end points * enable the menu * fix build * edit kandel strategy + re-open Signed-off-by: belbazanas * Add community points and boosts informations into Page points * remove re-fill row + fix build Signed-off-by: belbazanas * Update form legend and reward display, fix information banner text, and redirect after successful edit Signed-off-by: belbazanas * Refactor leaderboard table and use-table components * Remove console.log statements and improve boost page * Add pagination to leaderboard * Points page: Tables loading improvements, separate user table from leaderboard table and add link to doc * add total count of traders * add kandel smart router in UI + fixes (#197) * Update strategy type to smart in multiple files Signed-off-by: belbazanas * update mangrove sdk and indexer,add strategy smart router hooks, add new kandel type, update default values Signed-off-by: belbazanas * update overall logics types for build Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * fix strategies list value + minor text changesB (#198) Signed-off-by: belbazanas * Fix/asana kandel fixes 1 (#199) * fix strategies list value + minor text changesB Signed-off-by: belbazanas * fix total inventory and update strategies row click redirection Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * Fix/edit kandel strategy (#200) * fix edit strategy hook + decimals in dialogs Signed-off-by: belbazanas * remove logs Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * add metadatas and change points banner text * Refactor all strategies page to use no. of offers instead of no. of price points * Fix spread calculation in orderbook.tsx to avoid negative values * fix level if the user is level 5 * Remove unused code related to priceRatio (#202) * Remove unused code related to priceRatio Signed-off-by: belbazanas * redirect to edit strategy from strategy list Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * remove the junk * fix indexer sdk (#204) * Fix/minor kandel fixes (#205) * Update button labels in EditStrategyDialog and useForm Signed-off-by: belbazanas * Update parameters table to display step size and locked bounty Signed-off-by: belbazanas * Update history and parameters components Signed-off-by: belbazanas * Update launch strategy button label to Publish Signed-off-by: belbazanas * Add source icon for pacFinance Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * Update close strategy dialog message (#206) Signed-off-by: belbazanas * Fix bounty deposit validation (#207) Signed-off-by: belbazanas * Fix/kandel closed strategies (#208) * Update leaderboard table, change header from Return (%) to PnL (%). Update lockedBounty display in parameters table. Signed-off-by: belbazanas * Remove AverageReturn component from PriceRange Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * diable strategies Signed-off-by: belbazanas * Update table headers, disable close strategy if no live offers, remove wrong tooltips (#213) Signed-off-by: belbazanas * Remove console.log statements Signed-off-by: belbazanas * show boosts (#215) Co-authored-by: Johan le Roch Co-authored-by: Anas * Fix/points volume message (#216) * show boosts * show nft boosts * show boost value returned by /points endpoint * fix zod conversion error * show message * revert points update message --------- Co-authored-by: Johan le Roch * Update navbar.tsx, disable strategies in production * enable strategies tab on staging Signed-off-by: belbazanas * Add warning banner component to strategy layout Signed-off-by: belbazanas * Update warning banner close button styling Signed-off-by: belbazanas * Fix typo in base deposit error message Signed-off-by: belbazanas * Add market selector component and update info bar component, testing feeback fixes Signed-off-by: belbazanas * Update useForm hook to reset form fields when market changes Signed-off-by: belbazanas * update strategy warning banner message Signed-off-by: belbazanas * fix build Signed-off-by: belbazanas * Update 'No. of offers' to 'Nb. of offers' in various components Signed-off-by: belbazanas * Do workaround to merge nft and volume points on the FE * Add usePnL hook and update components to display pnl data Signed-off-by: belbazanas * Fix build issue * Refactor use-parameters and unrealized-pnl components Signed-off-by: belbazanas * Refactor useParameters function to handle pnlQuote and returnRate with market symbol Signed-off-by: belbazanas * bump mangrove.js (#229) * Update navbar.tsx * Add useResolveWhenBlockIsIndexed hook to useEditKandelStrategy (#224) Signed-off-by: belbazanas * enable strategies on staging Signed-off-by: belbazanas * review gasreq for minvolume on kandel strategies Signed-off-by: belbazanas * Feat/withdrawable inventory (#233) * Add withdrawable balance feature Signed-off-by: belbazanas * pnl fix * change namming * Fix inventory order in parameters component Signed-off-by: belbazanas * Fix withdrawal button disabled logic Signed-off-by: belbazanas * fix withdraw balance button disabling condition Signed-off-by: belbazanas * remove logs Signed-off-by: belbazanas * Fix display issue for closed pnlQuote and returnRate Signed-off-by: belbazanas --------- Signed-off-by: belbazanas Co-authored-by: Johan le Roch * fix withdraw balance format Signed-off-by: belbazanas * fix distribution reactivity Signed-off-by: belbazanas * Update warning banner styling and functionality Signed-off-by: belbazanas * Update pnlQuote and returnRate values Signed-off-by: belbazanas * hide pnl value Signed-off-by: belbazanas * Add parametersHistory schema and update related components Signed-off-by: belbazanas * Fix display issue in useParametersTable and update steps in EditStrategyDialog Signed-off-by: belbazanas * remove logs Signed-off-by: belbazanas * epoch on tables * fix * fix texts * fix gas issues * Fix edit LO orders + Refactor code to fix display issues Signed-off-by: belbazanas * Feat/strategy liquidity sourcing (#241) * add LS to new kandel strategy Signed-off-by: belbazanas * add liquidity sourcing in edit, hide liquidity sourcing infos waiting for sdk Signed-off-by: belbazanas * Fix liquidity sourcing token allowance query + Refactor code Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * update SDK to overestimate gas estimation for kandels Signed-off-by: belbazanas * fix chart * fix token symbol on price range chart * Enable from the start the liquidity sourcing fields in strategies/new component Signed-off-by: belbazanas * remove unused code Signed-off-by: belbazanas * fix edit strategy useForm hook to set default values Signed-off-by: belbazanas * Feat/epoc leaderboard (#251) * WIP * end epoch leaderboard * adapt zod epoch model * Hide boost column from total tab * chore: Refactor use-liquidity-sourcing.ts to use react-query for data fetching Signed-off-by: belbazanas * epoch / leaderboard * fix build * refactor points page * chore: Refactor strategies list search input component and add sorting functionality Signed-off-by: belbazanas * save wip Signed-off-by: belbazanas * chore: Refactor use-parameters.ts to handle upcoming values for pnlQuote and returnRate Signed-off-by: belbazanas * update pnpm * Update volumes and boost to use new API (#254) * Add new data for boosts/volumes * Use volume not points for MS1 banner * Revert "Update volumes and boost to use new API (#254)" (#256) This reverts commit 64831ae664017b40796d76e6efbf42cfb29a878f. * Fix/volumes and boosts (#255) * Add new data for boosts/volumes * Use volume not points for MS1 banner --------- Co-authored-by: Daniel <16984675+DanielRX@users.noreply.github.com> * call the price api and delay the indexer sdk until the usdb prices are fetched (#253) * temporary remove liquidity sourcing Signed-off-by: belbazanas * update edit base/quote deposit inputs decimals Signed-off-by: belbazanas * fix nextjs version * Feat/new sdk kandel (#260) * feat: new sdk * progress * feat: continue * new sdk - save wip Signed-off-by: belbazanas * new sdk - save wip Signed-off-by: belbazanas * new sdk - save wip Signed-off-by: belbazanas * new sdk wip market/limit orders Signed-off-by: belbazanas * new sdk - retract order Signed-off-by: belbazanas * update new sdk, chores Signed-off-by: belbazanas * new sdk save wip Signed-off-by: belbazanas * new sdk - project building and limit/market orders working :) Signed-off-by: belbazanas * new sdk - kandel wip Signed-off-by: belbazanas * new sdk - kandel wip Signed-off-by: belbazanas * new kandel - fix build Signed-off-by: belbazanas * new kandel - fix build Signed-off-by: belbazanas * Market simulation estimatedFrom send input * compute estimation from receive field * new kandel - fix creation Signed-off-by: belbazanas * kandel - save wip Signed-off-by: belbazanas * end market order refactor + refresh balances * wip market / limit refactor * new sdk edit kandel Signed-off-by: belbazanas * new sdk fix build Signed-off-by: belbazanas * fix build Signed-off-by: belbazanas * remove frozen lock file Signed-off-by: belbazanas --------- Signed-off-by: belbazanas Co-authored-by: Maxence Raballand Co-authored-by: belbazanas * remove amplifed orders (#263) * remove amplifed orders Signed-off-by: belbazanas * Update join-program-banner.tsx --------- Signed-off-by: belbazanas * fix kandel page display Signed-off-by: belbazanas * fix kandel page display Signed-off-by: belbazanas * fix kandel creation Signed-off-by: belbazanas * fix kandel creation Signed-off-by: belbazanas * fix kandel market selector Signed-off-by: belbazanas * fix build Signed-off-by: belbazanas * add error message in post market order Signed-off-by: belbazanas * add table to vaults list Signed-off-by: belbazanas * vault ui implementation Signed-off-by: belbazanas * fix build Signed-off-by: belbazanas * vault UI enhancements Signed-off-by: belbazanas * fix logics icons + delete unused code Signed-off-by: belbazanas * fix default limit order price Signed-off-by: belbazanas * fix default limit order price bug Signed-off-by: belbazanas * feat: list * kandel fix: display offers in price range chart Signed-off-by: belbazanas * feat: add page * feat: advance * feat: advance * add vault dialogs Signed-off-by: belbazanas * vault remove liquidity dialog update Signed-off-by: belbazanas * temporary fix vaults list query Signed-off-by: belbazanas * temporary fix vault query Signed-off-by: belbazanas * kandel: fix price chart dots Signed-off-by: belbazanas * feat: advance * feat: advance * feat: advance * limit order: fix default price (#270) Signed-off-by: belbazanas * Fix/cancel limit order (#271) * limit order: fix default price Signed-off-by: belbazanas * limit order: fix cancel order Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * fix: max amounts and errors in ABI - Added test Skate vault * Feat/base testnet (#272) * baseTestnet: remove old mgv sdk + comment amplified order files Signed-off-by: belbazanas * implement baseTestnet + faucet Signed-off-by: belbazanas * remove old sdk mergedOffers save wip Signed-off-by: belbazanas * BaseTestnet implementation wip Signed-off-by: belbazanas * kandel: remove error on first load Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * Feat/base testnet (#273) * baseTestnet: remove old mgv sdk + comment amplified order files Signed-off-by: belbazanas * implement baseTestnet + faucet Signed-off-by: belbazanas * remove old sdk mergedOffers save wip Signed-off-by: belbazanas * BaseTestnet implementation wip Signed-off-by: belbazanas * kandel: remove error on first load Signed-off-by: belbazanas * remove last old SDK traces Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * cleanup * zod schema for total points * navbar: remove posthog check for strategies Signed-off-by: belbazanas * Feat/base testnet (#276) * baseTestnet: remove old mgv sdk + comment amplified order files Signed-off-by: belbazanas * implement baseTestnet + faucet Signed-off-by: belbazanas * remove old sdk mergedOffers save wip Signed-off-by: belbazanas * BaseTestnet implementation wip Signed-off-by: belbazanas * kandel: remove error on first load Signed-off-by: belbazanas * remove last old SDK traces Signed-off-by: belbazanas * trade: refresh tabs on market update + remove amplified table Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * feat: vault * Feat/strategy ls fixes (#277) * kandel: re-activate liquidity sourcing Signed-off-by: belbazanas * kandel: detail page wip Signed-off-by: belbazanas * kandel: remove strategyQuery from priceRange overview Signed-off-by: belbazanas * kandel: total inventory display, remove mangrove.jspackage Signed-off-by: belbazanas * trade: fix limit order default price Signed-off-by: belbazanas * kandel: fix edit workflow wip Signed-off-by: belbazanas * retractParams: add type Signed-off-by: belbazanas * kandel: fix retract offers Signed-off-by: belbazanas * kandel: fix edit strat Signed-off-by: belbazanas * kandel: strategies list save wip Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * Fix build * kandel: refetch strategy list on close (#278) * kandel: refetch strategy list on close Signed-off-by: belbazanas * remove log Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * fix computeReceiveAmount * fix computeSendAmount * Fix/last minutes fixes (#279) * kandel: refetch strategy list on close Signed-off-by: belbazanas * remove log Signed-off-by: belbazanas * kandel-trade: fixes Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * remove logs Signed-off-by: belbazanas * fix parseUnits * trade: disable cancel offer Signed-off-by: belbazanas * add usde token logo * fix: change skate vault list (#280) * fix: change skate vault list * chore: revert lockfile change * trade: mute edit order Signed-off-by: belbazanas * vaul: minor changes Signed-off-by: belbazanas * vaul: minor changes Signed-off-by: belbazanas * vaul: remove Big.js in strategies Signed-off-by: belbazanas * ENG-268: Fix slider value calculation in Limit component (#293) * ENG-268: Fix slider value calculation in Limit component The commit fixes the calculation of the slider value in the Limit component. It now correctly calculates the value based on the send balance and send amount. * fix: market order slider inout Signed-off-by: belbazanas * refactor: minor refacto Signed-off-by: belbazanas --------- Signed-off-by: belbazanas Co-authored-by: belbazanas * Synapse Widget * Custom Rpcs --------- Signed-off-by: belbazanas Co-authored-by: belbazanas Co-authored-by: Johan le Roch Co-authored-by: Mangrove Automation Bot <134297173+mangrove-automation@users.noreply.github.com> Co-authored-by: Maxence Raballand Co-authored-by: Daniel <16984675+DanielRX@users.noreply.github.com> * Add tab * switch to provider * Add blast as target chain * refactor bridge page to handle network unsupported by the dApp for bridging --------- Signed-off-by: belbazanas Co-authored-by: bigboydiamonds <57741810+bigboydiamonds@users.noreply.github.com> Co-authored-by: belbazanas Co-authored-by: Johan le Roch Co-authored-by: Mangrove Automation Bot <134297173+mangrove-automation@users.noreply.github.com> Co-authored-by: Daniel <16984675+DanielRX@users.noreply.github.com> * merge offers with same price on the orderbook * Fix/eng 242 (#313) * disable auto scroll when the user has scrolled * eng-242: disable auto scroll when the user has scrolled * Feat/eng 325 (#314) * eng-325 move bridge to drop down menu * rename bridge assets * Add custom switch chain dialog (#316) * WIP - Draft * refactoring * Refactor * add cronos * end mecanism * Dialog styling * end custom chain dialog * fix build * ENG-265: fix edit limit order (#299) * trade: fix edit limit order Signed-off-by: belbazanas * trade: save edit order wip Signed-off-by: belbazanas * trade: edit limit order wip Signed-off-by: belbazanas * add logs Signed-off-by: belbazanas * ENG-265: fix edit limit order Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * ENG-267: update mangrove sdk to fix strategy min price points (#320) Signed-off-by: belbazanas * ENG-278: remove create strat when on passive strategy tab (#319) Signed-off-by: belbazanas * hide ms1 program banner (#322) * eng-326: add overlay (#323) * add return buttons to modal steps (#318) Signed-off-by: belbazanas * Feat/eng 354 (#325) * ENG-354: Remove smart kandel Signed-off-by: belbazanas * ENG-354: turn validateKandelParams deposit to true Signed-off-by: belbazanas * ENG-354: fix approval Signed-off-by: belbazanas * ENG-354: remove comments Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * eng-359: clean and remove amplified orders everywhere (#329) * ENG-351: add arbitrum network (#328) Signed-off-by: belbazanas * fix arbitrum icon * Fix/eng 361 (#330) * eng-359: clean and remove amplified orders everywhere * wip / debug * refactoring / cleaning * improve number readability * cleaning * show depth chart even if it's one sided book (#332) * Fix/eng 366 (#333) * cleaning - wip * replace all useChainId by useAccount * remove nuqs * eng-367: fix add tooltip in orderbook sizes an total values (#331) * eng-367: fix add tooltip in orderbook sizes an total values Signed-off-by: belbazanas * eng-367: update sdk Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * eng-371: fix wrong units (#334) * eng-371: fix wrong units * fix wrong unit * fix buil * fix number of offers (#335) * fix number of offers * cleanup * market order: fix not enough volume on book error when selling (#340) * market order: fix not enough volume on book error when selling Signed-off-by: belbazanas * remove unused logs Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * eng-363: Hide passive strategy on arbitrum & add tooltip (#338) Signed-off-by: belbazanas * eng-358: update synapse network text (#337) Signed-off-by: belbazanas * eng-373: remove network (#341) * Fix limit orders (#342) * Fix limit orders * if GTC or PO, take into account the expiryDate * Fix edit order sheet * show detail in the confirm dialog * Fix link issue * test fix * fix overlay issue for mobile declension * fix * eng-379: fix balance's tooltip * fix decimals issue (#351) * eng-367: Check edit strategy workflow (#336) * eng-367: Fix form is error state at first load Signed-off-by: belbazanas * eng-364: Fix kandel strategy approvals Signed-off-by: belbazanas * add logs Signed-off-by: belbazanas * display current deposited liquidity to wallet balance Signed-off-by: belbazanas * remove logs Signed-off-by: belbazanas * remove unused code Signed-off-by: belbazanas --------- Signed-off-by: belbazanas * Add token logo for weETH and update mgv sdk * fix build by adding color property * update sdk version * DEBUG - Feat/eng 171 (#357) * Create table * End table and data * debug * pagination fix on trades history Signed-off-by: belbazanas --------- Signed-off-by: belbazanas Co-authored-by: belbazanas * Feat/plug price chart (#359) * Add TradingView chart component and datafeed * mock data * WIP * WIP * update trading view * wip plug the new api * end * set depth chart as default * fix build (#360) Signed-off-by: belbazanas * Fix/eng 378: add Aaave sourcing in strategies (#344) * WIP - Liquidity sourcing for AAVE strat * add aave seeder Signed-off-by: belbazanas * fix min provision decimals Signed-off-by: belbazanas * Add aavekandelseeder to sow tx Signed-off-by: belbazanas * update mgv sdk Signed-off-by: belbazanas * filter aave on compatible networks Signed-off-by: belbazanas * edit aave kandel strategy Signed-off-by: belbazanas * add source infos in strategy list Signed-off-by: belbazanas * fix infinite cancel strategy Signed-off-by: belbazanas * fix edit form Signed-off-by: belbazanas * fix kandelsteps hooks Signed-off-by: belbazanas * fix use aave Signed-off-by: belbazanas * fix decimals on strategy list min max prices Signed-off-by: belbazanas * fix canUseAave hook Signed-off-by: belbazanas * test fix approve on slow network Signed-off-by: belbazanas * test fix approve on slow network Signed-off-by: belbazanas * update launch strategy dialog button layout Signed-off-by: belbazanas * save wip Signed-off-by: belbazanas * add aave to arbitrum Signed-off-by: belbazanas * update mgv sdk Signed-off-by: belbazanas * temporary fix for strategy approvals Signed-off-by: belbazanas * fix build related to logics type Signed-off-by: belbazanas * fix approval on kandel Signed-off-by: belbazanas * fix approval on kandel Signed-off-by: belbazanas * remove loading conditions on approval Signed-off-by: belbazanas --------- Signed-off-by: belbazanas Co-authored-by: Johan le Roch --------- Signed-off-by: belbazanas Co-authored-by: Johan le Roch Co-authored-by: Maxence Raballand Co-authored-by: Mangrove Automation Bot <134297173+mangrove-automation@users.noreply.github.com> Co-authored-by: Daniel <16984675+DanielRX@users.noreply.github.com> Co-authored-by: bigboydiamonds <57741810+bigboydiamonds@users.noreply.github.com> --- .../tables/strategies/components/min-max.tsx | 8 +-- .../tables/strategies/hooks/use-table.tsx | 20 ++++++ .../[address]/_hooks/use-kandel-steps.ts | 42 +++++++---- .../edit/_components/edit-strategy-dialog.tsx | 19 +++-- .../[address]/edit/_components/form/form.tsx | 71 +++++++++++++++--- .../edit/_components/form/use-form.ts | 8 ++- .../_components/price-range/price-range.tsx | 2 + app/strategies/new/_components/form/form.tsx | 63 +++++++++++++++- .../new/_components/form/use-form.ts | 16 ++++- .../_components/launch-strategy-dialog.tsx | 31 ++++---- app/strategies/new/_hooks/use-aave-check.ts | 54 ++++++++++++++ .../new/_hooks/use-deploy-kandel-strategy.ts | 31 +++++--- .../new/_hooks/use-launch-kandel-strategy.ts | 2 + .../forms/limit/hooks/use-post-limit-order.ts | 5 +- hooks/use-addresses.ts | 51 ++++++++++++- package.json | 2 +- pnpm-lock.yaml | 72 +++++++++---------- 17 files changed, 390 insertions(+), 107 deletions(-) create mode 100644 app/strategies/new/_hooks/use-aave-check.ts diff --git a/app/strategies/(list)/_components/tables/strategies/components/min-max.tsx b/app/strategies/(list)/_components/tables/strategies/components/min-max.tsx index 5bfbc63d..3025a6c4 100644 --- a/app/strategies/(list)/_components/tables/strategies/components/min-max.tsx +++ b/app/strategies/(list)/_components/tables/strategies/components/min-max.tsx @@ -32,15 +32,11 @@ export function MinMax({ min, max, quote, base }: Props) { return (
- {Number(formatUnits(minBigInt, quoteToken?.decimals)).toFixed( - displayedDecimals, - )}{" "} + {Number(formatUnits(minBigInt, decimals)).toFixed(displayedDecimals)}{" "} {symbol}
- {Number(formatUnits(maxBigInt, quoteToken?.decimals)).toFixed( - displayedDecimals, - )}{" "} + {Number(formatUnits(maxBigInt, decimals)).toFixed(displayedDecimals)}{" "} {symbol}
diff --git a/app/strategies/(list)/_components/tables/strategies/hooks/use-table.tsx b/app/strategies/(list)/_components/tables/strategies/hooks/use-table.tsx index 029f2d5c..ec85908a 100644 --- a/app/strategies/(list)/_components/tables/strategies/hooks/use-table.tsx +++ b/app/strategies/(list)/_components/tables/strategies/hooks/use-table.tsx @@ -13,6 +13,7 @@ import React from "react" import { useAccount } from "wagmi" import useStrategyStatus from "@/app/strategies/(shared)/_hooks/use-strategy-status" +import SourceIcon from "@/app/trade/_components/forms/limit/components/source-icon" import { IconButton } from "@/components/icon-button" import { Close, Pen } from "@/svgs" import { shortenAddress } from "@/utils/wallet" @@ -90,6 +91,22 @@ export function useTable({ type, data, onCancel, onManage }: Params) { return }, }), + columnHelper.display({ + header: "Liquidity source", + cell: ({ row }) => { + const sourceInfo = + row.original.type === "KandelAAVE" + ? { id: "Aave", name: "Aave" } + : { id: "simple", name: "Wallet" } + + return ( +
+ + {sourceInfo.name} +
+ ) + }, + }), columnHelper.display({ header: "Value", cell: ({ row }) => { @@ -137,6 +154,8 @@ export function useTable({ type, data, onCancel, onManage }: Params) { id: "actions", header: () =>
Action
, cell: ({ row }) => { + const hasLiveOffers = row.original.offers.some((x) => x.live) + return (
{ e.preventDefault() e.stopPropagation() diff --git a/app/strategies/[address]/_hooks/use-kandel-steps.ts b/app/strategies/[address]/_hooks/use-kandel-steps.ts index 0e7b100a..bfbdd888 100644 --- a/app/strategies/[address]/_hooks/use-kandel-steps.ts +++ b/app/strategies/[address]/_hooks/use-kandel-steps.ts @@ -1,19 +1,29 @@ import { kandelActions } from "@mangrovedao/mgv" import { useQuery } from "@tanstack/react-query" -import { useMangroveAddresses } from "@/hooks/use-addresses" +import { + useAaveKandelSeeder, + useKandelSeeder, + useMangroveAddresses, +} from "@/hooks/use-addresses" import useMarket from "@/providers/market" import { getErrorMessage } from "@/utils/errors" import { Address } from "viem" import { useAccount, useClient, usePublicClient } from "wagmi" import useKandel from "../_providers/kandel-strategy" -export function useKandelSteps() { +type Props = { + liquiditySourcing?: string + kandelAddress?: string +} + +export function useKandelSteps({ liquiditySourcing, kandelAddress }: Props) { const { address } = useAccount() const { markets } = useMarket() const { baseToken, quoteToken } = useKandel() const client = useClient() - + const kandelSeeder = useKandelSeeder() + const kandelAaveSeeder = useAaveKandelSeeder() const addresses = useMangroveAddresses() const publicClient = usePublicClient() @@ -25,9 +35,13 @@ export function useKandelSteps() { quoteToken?.address.toLocaleLowerCase(), ) + const isAave = liquiditySourcing === "Aave" + const kandelSeederAddress = isAave ? kandelAaveSeeder : kandelSeeder + return useQuery({ queryKey: [ "kandel-steps", + isAave, address, baseToken?.address, quoteToken?.address, @@ -40,19 +54,19 @@ export function useKandelSteps() { !publicClient || !addresses || !client || - !currentMarket + !currentMarket || + !kandelSeederAddress || + !kandelAddress ) throw new Error("Could not fetch kandel steps, missing params") - const kandelInstance = client?.extend( - kandelActions( - addresses, - currentMarket, // the market object - address as Address, // the kandel seeder address - ), - ) + const actions = kandelActions( + addresses, + currentMarket, + kandelAddress as Address, + )(client) - const currentSteps = await kandelInstance.getKandelSteps({ + const currentSteps = await actions.getKandelSteps({ user: address, }) @@ -62,10 +76,10 @@ export function useKandelSteps() { throw new Error("Unable to retrieve kandel steps") } }, - enabled: !!address, + enabled: !!currentMarket, meta: { error: "Unable to retrieve kandel steps", }, - staleTime: 1 * 60 * 1000, // 1 minute + // staleTime: 1 * 60 * 1000, // 1 minute }) } diff --git a/app/strategies/[address]/edit/_components/edit-strategy-dialog.tsx b/app/strategies/[address]/edit/_components/edit-strategy-dialog.tsx index fd01d4fb..0af233c9 100644 --- a/app/strategies/[address]/edit/_components/edit-strategy-dialog.tsx +++ b/app/strategies/[address]/edit/_components/edit-strategy-dialog.tsx @@ -5,7 +5,6 @@ import { useAccount, useBalance } from "wagmi" import useKandelInstance from "@/app/strategies/(shared)/_hooks/use-kandel-instance" import { ApproveStep } from "@/app/trade/_components/forms/components/approve-step" -import { useSpenderAddress } from "@/app/trade/_components/forms/hooks/use-spender-address" import Dialog from "@/components/dialogs/dialog" import { TokenPair } from "@/components/token-pair" import { Text } from "@/components/typography/text" @@ -47,17 +46,21 @@ export default function EditStrategyDialog({ strategy, }: Props) { const { address } = useAccount() - const { data: kandelSteps } = useKandelSteps() - const [sow, baseApprove, quoteApprove, populateParams] = kandelSteps ?? [{}] const { data: nativeBalance } = useBalance({ address, }) - const { data: spender } = useSpenderAddress("kandel") const { strategyQuery, baseToken, quoteToken } = useKandel() const kandelAddress = strategyQuery.data?.address + const { data: kandelSteps } = useKandelSteps({ + liquiditySourcing: strategy?.sendFrom, + kandelAddress: kandelAddress, + }) + + const [sow, baseApprove, quoteApprove, populateParams] = kandelSteps ?? [{}] + const approveBaseToken = useInfiniteApproveToken() const approveQuoteToken = useInfiniteApproveToken() @@ -115,7 +118,7 @@ export default function EditStrategyDialog({ approveBaseToken.mutate( { token: baseToken, - spender: baseApprove?.params.spender, + spender: kandelAddress, }, { onSuccess: goToNextStep, @@ -143,7 +146,7 @@ export default function EditStrategyDialog({ approveQuoteToken.mutate( { token: quoteToken, - spender: quoteApprove?.params.spender, + spender: kandelAddress, }, { onSuccess: goToNextStep, @@ -184,6 +187,7 @@ export default function EditStrategyDialog({ Activate -
), @@ -148,7 +151,7 @@ export default function DeployStrategyDialog({ approveToken.mutate( { token: baseToken, - spender: baseApprove?.params.spender, + spender: data?.kandelAddress, }, { onSuccess: goToNextStep, @@ -176,7 +179,7 @@ export default function DeployStrategyDialog({ approveToken.mutate( { token: quoteToken, - spender: quoteApprove?.params.spender, + spender: data?.kandelAddress, }, { onSuccess: goToNextStep, @@ -302,8 +305,10 @@ const Summary = ({ bountyDeposit, priceRange, riskAppetite, + sendFrom, } = strategy ?? {} + const onAave = sendFrom === "Aave" const [minPrice, maxPrice] = priceRange ?? [] return ( @@ -319,7 +324,7 @@ const Summary = ({ {false ? "Aave" : "Wallet"}} + value={{onAave ? "Aave" : "Wallet"}} /> Medium} /> diff --git a/app/strategies/new/_hooks/use-aave-check.ts b/app/strategies/new/_hooks/use-aave-check.ts new file mode 100644 index 00000000..4220f695 --- /dev/null +++ b/app/strategies/new/_hooks/use-aave-check.ts @@ -0,0 +1,54 @@ +import { useAaveKandelRouter } from "@/hooks/use-addresses" +import { MarketParams, aaveKandelActions } from "@mangrovedao/mgv" +import { useQuery } from "@tanstack/react-query" +import { Address, BaseError, ContractFunctionExecutionError } from "viem" +import { usePublicClient } from "wagmi" + +export function useCanUseAave(market?: MarketParams) { + const publicClient = usePublicClient() + const routerAddress = useAaveKandelRouter() + + const { data, isLoading, isError } = useQuery({ + queryKey: [ + "can-use-aave", + market?.base.address, + market?.quote.address, + routerAddress, + ], + queryFn: async () => { + try { + if (!publicClient || !routerAddress || !market) return null + + const canUse = await publicClient + .extend(aaveKandelActions(routerAddress as Address)) + .checkAaveMarket({ market }) + + return canUse + } catch (error) { + console.error(error) + if (error instanceof BaseError) { + const revertError = error.walk( + (error) => error instanceof ContractFunctionExecutionError, + ) + + if (revertError instanceof ContractFunctionExecutionError) { + console.log( + revertError.cause, + revertError.message, + revertError.functionName, + revertError.formattedArgs, + revertError.details, + ) + } + } + return null + } + }, + enabled: !!routerAddress, + }) + return { + data, + isLoading, + isError, + } +} diff --git a/app/strategies/new/_hooks/use-deploy-kandel-strategy.ts b/app/strategies/new/_hooks/use-deploy-kandel-strategy.ts index 0a182746..44b62041 100644 --- a/app/strategies/new/_hooks/use-deploy-kandel-strategy.ts +++ b/app/strategies/new/_hooks/use-deploy-kandel-strategy.ts @@ -3,24 +3,30 @@ import { useMutation } from "@tanstack/react-query" import { toast } from "sonner" import { useAccount, useClient, usePublicClient, useWalletClient } from "wagmi" -import { useKandelSeeder } from "@/hooks/use-addresses" +import { useAaveKandelSeeder, useKandelSeeder } from "@/hooks/use-addresses" import useMarket from "@/providers/market" import { getTitleDescriptionErrorMessages } from "@/utils/tx-error-messages" -import { BaseError, ContractFunctionExecutionError } from "viem" - -export function useCreateKandelStrategy() { +import { BaseError, TransactionExecutionError } from "viem" +type Props = { + liquiditySourcing?: string +} +export function useCreateKandelStrategy({ liquiditySourcing }: Props) { const { address } = useAccount() const { currentMarket } = useMarket() const client = useClient() const kandelSeeder = useKandelSeeder() + const kandelAaveSeeder = useAaveKandelSeeder() const { data: walletClient } = useWalletClient() const publicClient = usePublicClient() + const kandelSeederAddress = + liquiditySourcing === "Aave" ? kandelAaveSeeder : kandelSeeder + return useMutation({ mutationFn: async () => { try { if ( - !kandelSeeder || + !kandelSeederAddress || !address || !client || !currentMarket || @@ -28,12 +34,17 @@ export function useCreateKandelStrategy() { ) return - const kandelActions = kandelSeederActions(currentMarket, kandelSeeder) + const kandelActions = kandelSeederActions( + currentMarket, + kandelSeederAddress, + ) + const seeder = kandelActions(client) const { request, result } = await seeder.simulateSow({ account: address, }) + const hash = await walletClient.writeContract(request) const receipt = await publicClient?.waitForTransactionReceipt({ hash, @@ -46,15 +57,15 @@ export function useCreateKandelStrategy() { toast.error(description) if (error instanceof BaseError) { const revertError = error.walk( - (error) => error instanceof ContractFunctionExecutionError, + (error) => error instanceof TransactionExecutionError, ) - if (revertError instanceof ContractFunctionExecutionError) { + if (revertError instanceof TransactionExecutionError) { console.log( revertError.cause, revertError.message, - revertError.functionName, - revertError.formattedArgs, + // revertError.functionName, + // revertError.formattedArgs, revertError.details, ) } diff --git a/app/strategies/new/_hooks/use-launch-kandel-strategy.ts b/app/strategies/new/_hooks/use-launch-kandel-strategy.ts index c8da5239..40ff7ccd 100644 --- a/app/strategies/new/_hooks/use-launch-kandel-strategy.ts +++ b/app/strategies/new/_hooks/use-launch-kandel-strategy.ts @@ -40,6 +40,8 @@ export function useLaunchKandelStrategy(kandelAddress?: string) { const { request } = await kandelClient.simulatePopulate({ ...kandelParams, + fromIndex: 0n, + toIndex: kandelParams.pricePoints, account: address as Address, value: parseEther(bountyDeposit), }) diff --git a/app/trade/_components/forms/limit/hooks/use-post-limit-order.ts b/app/trade/_components/forms/limit/hooks/use-post-limit-order.ts index cf68f346..6b673e83 100644 --- a/app/trade/_components/forms/limit/hooks/use-post-limit-order.ts +++ b/app/trade/_components/forms/limit/hooks/use-post-limit-order.ts @@ -1,6 +1,7 @@ import useMarket from "@/providers/market" import { useMutation, useQueryClient } from "@tanstack/react-query" import { + Address, BaseError, ContractFunctionRevertedError, TransactionReceipt, @@ -108,8 +109,8 @@ export function usePostLimitOrder({ onResult }: Props = {}) { : undefined, // 1 hour restingOrderGasreq, // logics can be left to undefined (meaning no logic) - takerGivesLogic, - takerWantsLogic, + takerGivesLogic: takerGivesLogic as Address, + takerWantsLogic: takerWantsLogic as Address, gas: 20_000_000n, }) diff --git a/hooks/use-addresses.ts b/hooks/use-addresses.ts index 8268f18c..61c440ba 100644 --- a/hooks/use-addresses.ts +++ b/hooks/use-addresses.ts @@ -1,7 +1,10 @@ +import { RoutingLogicBalance, RoutingLogicOverlying } from "@mangrovedao/mgv" import { + aaveLogicABI, arbitrumMangrove, arbitrumMarkets, arbitrumTokens, + balanceLogicABI, baseSepoliaLogics, baseSepoliaMangrove, baseSepoliaMarkets, @@ -14,6 +17,8 @@ import { import { arbitrum, baseSepolia, blast } from "viem/chains" import { useAccount } from "wagmi" +export const aaveKandelSeeder = "0x55B12De431C6e355b56b79472a3632faec58FB5a" + export function useMangroveAddresses() { const { chainId } = useAccount() switch (chainId) { @@ -28,6 +33,34 @@ export function useMangroveAddresses() { } } +export function useAaveKandelRouter() { + const { chainId } = useAccount() + switch (chainId) { + case blast.id: + return "" // no aave on blast + case arbitrum.id: + return "0xb3be00f615239b8553D725dC9F418e27a874d4dC" + case baseSepolia.id: + return "0x2f05f5586D2A72CE5F0BE37DdD38B053aB616D60" + default: + return undefined + } +} + +export function useAaveKandelSeeder() { + const { chainId } = useAccount() + switch (chainId) { + case blast.id: + return "" // no aave on blast + case arbitrum.id: + return "0x55B12De431C6e355b56b79472a3632faec58FB5a" + case baseSepolia.id: + return "0xCb62cD0Ea7aD46d5B630C1068C7bED2cBd2b7E23" + default: + return undefined + } +} + export function useKandelSeeder() { const { chainId } = useAccount() switch (chainId) { @@ -62,7 +95,23 @@ export function useLogics() { case blast.id: return blastLogics case arbitrum.id: - return [] + return [ + { + name: "Aave", + logic: "0xF1E3f817fF9CaAF7083a58C50a3c4a05f80dE565", + gasreq: "1300000" as unknown as bigint, + logicOverlying: {} as RoutingLogicOverlying< + typeof aaveLogicABI, + "view", + "overlying" + >, + logicBalance: {} as RoutingLogicBalance< + typeof balanceLogicABI, + "view", + "balanceLogic" + >, + }, + ] case baseSepolia.id: return baseSepoliaLogics default: diff --git a/package.json b/package.json index 5cf25217..1510d21e 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@mangrovedao/context-addresses": "^1.3.4", "@mangrovedao/indexer-sdk": "0.0.11-45", "@mangrovedao/mangrove-deployments": "2.2.4-5", - "@mangrovedao/mgv": "^0.9.7", + "@mangrovedao/mgv": "^0.9.10", "@radix-ui/react-alert-dialog": "^1.0.5", "@radix-ui/react-checkbox": "^1.0.4", "@radix-ui/react-collapsible": "^1.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5c3c0107..96fbba0e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,8 +27,8 @@ importers: specifier: 2.2.4-5 version: 2.2.4-5 '@mangrovedao/mgv': - specifier: ^0.9.7 - version: 0.9.7(typescript@5.4.5)(viem@2.13.10(bufferutil@4.0.8)(typescript@5.4.5)(zod@3.23.8)) + specifier: ^0.9.10 + version: 0.9.10(typescript@5.4.5)(viem@2.13.10(bufferutil@4.0.8)(typescript@5.4.5)(zod@3.23.8)) '@radix-ui/react-alert-dialog': specifier: ^1.0.5 version: 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) @@ -1787,8 +1787,8 @@ packages: '@mangrovedao/mangrove-deployments@2.2.4-5': resolution: {integrity: sha512-L/KfJ6ZNPlOxlLMEWGQ7UUeQ8Kog6ZUadryGBQGv9h0i4QB8SBjVJ3U40lGFhRpTeEfor0nCy33zbiR81eeykg==} - '@mangrovedao/mgv@0.9.7': - resolution: {integrity: sha512-E5SP/wil3epO+OttafXc8VWAo4gQyUGpagKNGRbcY0ZmmBLI6q5hslRO0LeJKQYiOIsa6BHSOF5UaECpWUD5pQ==} + '@mangrovedao/mgv@0.9.10': + resolution: {integrity: sha512-nONeyls9l5jWuSotsKaFEk3L7xnqMiIws3268/MjCztwSVkLbrUanab3TwcoWWRSSeTarPvXm0gB+Blz0GIWAg==} peerDependencies: typescript: '>=5.0.4' viem: ^2.9.1 @@ -11250,10 +11250,10 @@ snapshots: object-inspect: 1.12.3 tslib: 2.6.0 - '@graphql-mesh/cache-localforage@0.94.6(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(graphql@16.8.2)(tslib@2.6.3)': + '@graphql-mesh/cache-localforage@0.94.6(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(graphql@16.8.2)(tslib@2.6.3)': dependencies: '@graphql-mesh/types': 0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) - '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) graphql: 16.8.2 localforage: 1.10.0 tslib: 2.6.3 @@ -11264,13 +11264,13 @@ snapshots: graphql: 16.8.2 path-browserify: 1.0.1 - '@graphql-mesh/graphql@0.94.7(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/store@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-mesh/utils@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(@types/node@18.19.36)(bufferutil@4.0.8)(graphql@16.8.2)(tslib@2.6.3)': - dependencies: + ? '@graphql-mesh/graphql@0.94.7(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/store@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(@types/node@18.19.36)(bufferutil@4.0.8)(graphql@16.8.2)(tslib@2.6.3)' + : dependencies: '@graphql-mesh/cross-helpers': 0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2) - '@graphql-mesh/store': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-mesh/utils@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/store': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) '@graphql-mesh/string-interpolation': 0.5.4(graphql@16.8.2)(tslib@2.6.3) '@graphql-mesh/types': 0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) - '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) '@graphql-tools/delegate': 10.0.11(graphql@16.8.2) '@graphql-tools/url-loader': 8.0.2(@types/node@18.19.36)(bufferutil@4.0.8)(graphql@16.8.2) '@graphql-tools/utils': 10.2.2(graphql@16.8.2) @@ -11284,22 +11284,22 @@ snapshots: - encoding - utf-8-validate - '@graphql-mesh/http@0.94.5(d5e5xmplhlp73whxtsalbn62fe)': - dependencies: + ? '@graphql-mesh/http@0.94.5(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/runtime@0.94.2(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(graphql@16.8.2)(tslib@2.6.3)' + : dependencies: '@graphql-mesh/cross-helpers': 0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2) - '@graphql-mesh/runtime': 0.94.2(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/runtime': 0.94.2(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) '@graphql-mesh/types': 0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) - '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) '@whatwg-node/server': 0.9.34 graphql: 16.8.2 graphql-yoga: 4.0.5(graphql@16.8.2) tslib: 2.6.3 - '@graphql-mesh/merger-bare@0.94.6(@graphql-mesh/store@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-mesh/utils@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3)': - dependencies: - '@graphql-mesh/merger-stitching': 0.94.6(@graphql-mesh/store@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-mesh/utils@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + ? '@graphql-mesh/merger-bare@0.94.6(@graphql-mesh/store@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3)' + : dependencies: + '@graphql-mesh/merger-stitching': 0.94.6(@graphql-mesh/store@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) '@graphql-mesh/types': 0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) - '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) '@graphql-tools/schema': 10.0.0(graphql@16.8.2) '@graphql-tools/utils': 10.2.2(graphql@16.8.2) graphql: 16.8.2 @@ -11307,11 +11307,11 @@ snapshots: transitivePeerDependencies: - '@graphql-mesh/store' - '@graphql-mesh/merger-stitching@0.94.6(@graphql-mesh/store@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-mesh/utils@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3)': - dependencies: - '@graphql-mesh/store': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-mesh/utils@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + ? '@graphql-mesh/merger-stitching@0.94.6(@graphql-mesh/store@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3)' + : dependencies: + '@graphql-mesh/store': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) '@graphql-mesh/types': 0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) - '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) '@graphql-tools/delegate': 10.0.11(graphql@16.8.2) '@graphql-tools/schema': 10.0.4(graphql@16.8.2) '@graphql-tools/stitch': 9.2.9(graphql@16.8.2) @@ -11320,14 +11320,14 @@ snapshots: graphql: 16.8.2 tslib: 2.6.3 - '@graphql-mesh/runtime@0.94.2(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3)': + '@graphql-mesh/runtime@0.94.2(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3)': dependencies: '@envelop/core': 4.0.3 '@envelop/extended-validation': 3.0.3(@envelop/core@4.0.3)(graphql@16.8.2) '@graphql-mesh/cross-helpers': 0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2) '@graphql-mesh/string-interpolation': 0.5.4(graphql@16.8.2)(tslib@2.6.3) '@graphql-mesh/types': 0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) - '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) '@graphql-tools/batch-delegate': 9.0.3(graphql@16.8.2) '@graphql-tools/batch-execute': 9.0.4(graphql@16.8.2) '@graphql-tools/delegate': 10.0.11(graphql@16.8.2) @@ -11337,12 +11337,12 @@ snapshots: graphql: 16.8.2 tslib: 2.6.3 - '@graphql-mesh/store@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-mesh/utils@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3)': + '@graphql-mesh/store@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3)': dependencies: '@graphql-inspector/core': 5.0.1(graphql@16.8.2) '@graphql-mesh/cross-helpers': 0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2) '@graphql-mesh/types': 0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) - '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) '@graphql-tools/utils': 10.2.2(graphql@16.8.2) graphql: 16.8.2 tslib: 2.6.3 @@ -11357,7 +11357,7 @@ snapshots: '@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3)': dependencies: - '@graphql-mesh/store': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-mesh/utils@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/store': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) '@graphql-tools/batch-delegate': 9.0.3(graphql@16.8.2) '@graphql-tools/delegate': 10.0.11(graphql@16.8.2) '@graphql-tools/utils': 10.2.2(graphql@16.8.2) @@ -11365,7 +11365,7 @@ snapshots: graphql: 16.8.2 tslib: 2.6.3 - '@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3)': + '@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3)': dependencies: '@graphql-mesh/cross-helpers': 0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2) '@graphql-mesh/string-interpolation': 0.5.4(graphql@16.8.2)(tslib@2.6.3) @@ -11716,14 +11716,14 @@ snapshots: dependencies: '@ethersproject/bignumber': 5.7.0 '@graphprotocol/client-auto-pagination': 2.0.3(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/delegate@10.0.11(graphql@16.8.2))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(@graphql-tools/wrap@10.0.5(graphql@16.8.2))(graphql@16.8.2) - '@graphql-mesh/cache-localforage': 0.94.6(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/cache-localforage': 0.94.6(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(graphql@16.8.2)(tslib@2.6.3) '@graphql-mesh/cross-helpers': 0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2) - '@graphql-mesh/graphql': 0.94.7(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/store@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-mesh/utils@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(@types/node@18.19.36)(bufferutil@4.0.8)(graphql@16.8.2)(tslib@2.6.3) - '@graphql-mesh/http': 0.94.5(d5e5xmplhlp73whxtsalbn62fe) - '@graphql-mesh/merger-bare': 0.94.6(@graphql-mesh/store@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-mesh/utils@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) - '@graphql-mesh/runtime': 0.94.2(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) - '@graphql-mesh/store': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-mesh/utils@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) - '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/graphql': 0.94.7(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/store@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(@types/node@18.19.36)(bufferutil@4.0.8)(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/http': 0.94.5(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/runtime@0.94.2(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/merger-bare': 0.94.6(@graphql-mesh/store@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/runtime': 0.94.2(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/store': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-mesh/utils@0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) + '@graphql-mesh/utils': 0.94.6(@graphql-mesh/cross-helpers@0.4.3(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2))(@graphql-mesh/types@0.94.6(@graphql-mesh/store@0.94.6)(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3))(@graphql-tools/utils@10.2.2(graphql@16.8.2))(graphql@16.8.2)(tslib@2.6.3) big.js: 6.2.1 graphql: 16.8.2 viem: 2.13.10(bufferutil@4.0.8)(typescript@5.4.5)(zod@3.23.8) @@ -11745,7 +11745,7 @@ snapshots: '@mangrovedao/context-addresses': 1.3.5 semver: 7.6.2 - '@mangrovedao/mgv@0.9.7(typescript@5.4.5)(viem@2.13.10(bufferutil@4.0.8)(typescript@5.4.5)(zod@3.23.8))': + '@mangrovedao/mgv@0.9.10(typescript@5.4.5)(viem@2.13.10(bufferutil@4.0.8)(typescript@5.4.5)(zod@3.23.8))': dependencies: viem: 2.13.10(bufferutil@4.0.8)(typescript@5.4.5)(zod@3.23.8) optionalDependencies: