From 262734f9e4730c171514c01877a99eb46a6a0828 Mon Sep 17 00:00:00 2001 From: Matthew Pereira Date: Fri, 22 Mar 2024 10:43:07 -0700 Subject: [PATCH] fix comment --- .../app/pools/_components/PoolAttributes.tsx | 20 +++++-------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/packages/nextjs/app/pools/_components/PoolAttributes.tsx b/packages/nextjs/app/pools/_components/PoolAttributes.tsx index f9c11a9e..0f57cfcc 100644 --- a/packages/nextjs/app/pools/_components/PoolAttributes.tsx +++ b/packages/nextjs/app/pools/_components/PoolAttributes.tsx @@ -5,21 +5,11 @@ import { Address } from "~~/components/scaffold-eth"; import { usePoolContract } from "~~/hooks/balancer"; /** - * Display a pool's attritubes - * @dev do we want to display any of the pool config details? -> https://docs-v3.balancer.fi/concepts/vault/onchain-api.html#getpoolconfig - * - * struct PoolConfig { - bool isPoolRegistered; - bool isPoolInitialized; - bool isPoolPaused; - bool isPoolInRecoveryMode; - bool hasDynamicSwapFee; - uint64 staticSwapFeePercentage; // stores an 18-decimal FP value (max FixedPoint.ONE) - uint24 tokenDecimalDiffs; // stores 18-(token decimals), for each token - uint32 pauseWindowEndTime; - PoolHooks hooks; - LiquidityManagement liquidityManagement; - } + * Display a pool's attritubes + * + * @dev do we want to display any of the pool config details? + * https://docs-v3.balancer.fi/concepts/vault/onchain-api.html#getpoolconfig + * https://github.com/balancer/balancer-v3-monorepo/blob/48435cb1e0acb212a4103a6bedd2271e94174a01/pkg/interfaces/contracts/vault/VaultTypes.sol#L25-L37 */ export const PoolAttributes = ({ poolAddress }: { poolAddress: string }) => { const { data: pool } = usePoolContract(poolAddress);