diff --git a/packages/contracts/tasks/chain-specific/fraxtal/markets.ts b/packages/contracts/tasks/chain-specific/fraxtal/markets.ts index 2d4dac334..79accd901 100644 --- a/packages/contracts/tasks/chain-specific/fraxtal/markets.ts +++ b/packages/contracts/tasks/chain-specific/fraxtal/markets.ts @@ -55,7 +55,7 @@ task("markets:fraxtal:set-cf", "deploy base market").setAction(async (_, { viem, }); task("markets:fraxtal:set-caps", "Set supply and borrow caps for markets").setAction(async (_, { viem, run }) => { - const asset = assets.find((asset) => asset.symbol === assetSymbols.WETH); + const asset = assets.find((asset) => asset.symbol === assetSymbols.insfrxETH); if (!asset) { throw new Error("Asset not found"); } @@ -74,4 +74,11 @@ task("markets:fraxtal:set-caps", "Set supply and borrow caps for markets").setAc maxBorrow: asset.initialBorrowCap }); } + + if (asset.initialCf) { + await run("market:set:ltv", { + marketAddress: cToken, + ltv: asset.initialCf + }); + } });