diff --git a/src/hooks/usePartyPlanner.ts b/src/hooks/usePartyPlanner.ts index c8f3bf2..3720c2a 100644 --- a/src/hooks/usePartyPlanner.ts +++ b/src/hooks/usePartyPlanner.ts @@ -49,6 +49,7 @@ export function useGetAllTokens(offset: number = 0, limit: number = 100) { // Get chain ID and contract address const chainId = await publicClient.getChainId(); + // @ts-ignore const address = (chainInfo as Record)[chainId.toString()]?.v1?.PartyPlanner; if (!address) { @@ -606,6 +607,7 @@ export function useSwapMintAmounts( // Get chain ID and contract address const chainId = await publicClient.getChainId(); + // @ts-ignore const viewerAddress = (chainInfo as Record)[chainId.toString()]?.v1?.PartyPoolViewer; if (!viewerAddress) { @@ -682,6 +684,7 @@ export function useBurnSwapAmounts( // Get chain ID and contract address const chainId = await publicClient.getChainId(); + // @ts-ignore const viewerAddress = (chainInfo as Record)[chainId.toString()]?.v1?.PartyPoolViewer; if (!viewerAddress) { diff --git a/src/hooks/usePartyPool.ts b/src/hooks/usePartyPool.ts index 6fcce89..f494731 100644 --- a/src/hooks/usePartyPool.ts +++ b/src/hooks/usePartyPool.ts @@ -815,6 +815,7 @@ export function useBurn() { }); if (decodedLog.eventName === 'Burn') { + // @ts-ignore const { amounts, lpBurned } = decodedLog.args as { amounts: bigint[]; lpBurned: bigint;