diff --git a/web/src/app/stake/pool/page.tsx b/web/src/app/stake/pool/page.tsx index a2a2f712..50ccac6c 100644 --- a/web/src/app/stake/pool/page.tsx +++ b/web/src/app/stake/pool/page.tsx @@ -76,7 +76,7 @@ const ManagePoolFragment = graphql(` export default function PoolPage() { const router = useRouter(); - const { chainId } = useAccount(); + const { address, chainId } = useAccount(); const expectedChainId = useChainId(); const fUSDC = useTokens("fusdc"); const { getTokenFromAddress } = useTokens(); @@ -379,7 +379,7 @@ export default function PoolPage() { address: leoContract.address, abi: leoContract.abi, functionName: "vestPosition", - args: [token0.address, id], + args: [token0.address, id, address], }); }, [ @@ -387,6 +387,7 @@ export default function PoolPage() { leoContract.address, leoContract.abi, token0.address, + address, ], ); diff --git a/web/src/config/contracts.ts b/web/src/config/contracts.ts index 00663445..3585a201 100644 --- a/web/src/config/contracts.ts +++ b/web/src/config/contracts.ts @@ -46,7 +46,7 @@ const chainContracts: { }, 98985: { amm: { address: "0x2A4a912970b780C29cf5b97aaD45ea5f98A07341" }, - leo: { address: "0x5E25820540021d0c69392EfD06a9918c41B2ffA9" }, + leo: { address: "0xfeb228265453717352d8035b2E8e7aBFbb88d417" }, ownershipNFTs: { address: "0x380C38108a46F81F340a0837a572c7966a8552b5" }, positionHandler: { address: "0x6fb3bB3E654E5f71198d56a4A5d2e64464B80458" }, },