Skip to content

Commit

Permalink
Update frontend to use latest version of SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
MattPereira committed Sep 17, 2024
1 parent f5b0188 commit a9d42d4
Show file tree
Hide file tree
Showing 9 changed files with 264 additions and 92 deletions.
1 change: 0 additions & 1 deletion lib/balancer-v3-monorepo
Submodule balancer-v3-monorepo deleted from 673379
1 change: 1 addition & 0 deletions packages/foundry/contracts/pools/ConstantProductPool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ contract ConstantProductPool is BalancerPoolToken, IBasePool {
* @notice Computes and returns the pool's invariant.
* @dev This function computes the invariant based on current balances
* @param balancesLiveScaled18 Array of current pool balances for each token in the pool, scaled to 18 decimals
*
* @return invariant The calculated invariant of the pool, represented as a uint256
*/
function computeInvariant(uint256[] memory balancesLiveScaled18, Rounding) public pure returns (uint256 invariant) {
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { NextPage } from "next";
const TOOLS = [
{
emoji: "🌊",
title: "Liquidity Pools",
title: "Custom Pools",
href: "/pools",
description: "Explore and interact with liquidity pools",
},
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/app/pools/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Pools: NextPage = () => {
return (
<div className="flex items-center flex-col flex-grow py-10 px-5 md:px-10 xl:px-20">
<div className="">
<h1 className="text-3xl md:text-5xl font-semibold mb-7 text-center">Liquidity Pools</h1>
<h1 className="text-3xl md:text-5xl font-semibold mb-7 text-center">Custom Pools</h1>
<div className="text-xl mb-7">
Select one of the pools deployed to your local fork or search by pool contract address
</div>
Expand Down
Loading

0 comments on commit a9d42d4

Please sign in to comment.