Skip to content

Commit

Permalink
use newest leo deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-d committed Nov 25, 2024
1 parent 77b8b31 commit a493175
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions web/src/app/stake/pool/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -379,14 +379,15 @@ export default function PoolPage() {
address: leoContract.address,
abi: leoContract.abi,
functionName: "vestPosition",
args: [token0.address, id],
args: [token0.address, id, address],
});
},
[
writeContractVestPosition,
leoContract.address,
leoContract.abi,
token0.address,
address,
],
);

Expand Down
2 changes: 1 addition & 1 deletion web/src/config/contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const chainContracts: {
},
98985: {
amm: { address: "0x2A4a912970b780C29cf5b97aaD45ea5f98A07341" },
leo: { address: "0x5E25820540021d0c69392EfD06a9918c41B2ffA9" },
leo: { address: "0xfeb228265453717352d8035b2E8e7aBFbb88d417" },
ownershipNFTs: { address: "0x380C38108a46F81F340a0837a572c7966a8552b5" },
positionHandler: { address: "0x6fb3bB3E654E5f71198d56a4A5d2e64464B80458" },
},
Expand Down

0 comments on commit a493175

Please sign in to comment.