Skip to content

Commit 6f1cd7e

Browse files
committed
Merge branch 'feat-liq-pool' of https://github.com/sprintertech/sprinter-liquidity-contracts into feat-liq-pool
2 parents f779e2a + 5299f9b commit 6f1cd7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hardhat.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ task("set-default-ltv", "Update Liquidity Pool config")
3636
const targetAddress = pool || "0xB44aEaB4843094Dd086c26dD6ce284c417436Deb";
3737
const target = (await hre.ethers.getContractAt("LiquidityPool", targetAddress, admin)) as LiquidityPool;
3838

39-
const newLtv = ltv || "2000";
39+
const newLtv = ltv || "200000000000000000";
4040
await target.setDefaultLTV(newLtv);
4141
console.log(`Default LTV set to ${newLtv} on ${pool}.`);
4242
});
@@ -88,7 +88,7 @@ task("sign-borrow", "Sign a Liquidity Pool borrow request for testing purposes")
8888
const borrowToken = args.token || config.USDC;
8989
const amount = args.amount || "1000000";
9090
const target = args.target || borrowToken;
91-
const data = args.data || (await token.transferFrom.populateTransaction(pool, signer.address, amount)).data;
91+
const data = args.data || (await token.transfer.populateTransaction(signer.address, amount)).data;
9292
const nonce = args.nonce || `${Date.now()}`;
9393
const deadline = args.deadline || "2000000000";
9494
const value = {

0 commit comments

Comments
 (0)