Skip to content

Commit 034a6c4

Browse files
committed
fix: lt scripts
1 parent a0a6805 commit 034a6c4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/dev/setLTZero.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { Address } from "viem";
12
import { parseEther } from "viem";
23

34
import type { CreditManagerState, GearboxSDK, ILogger } from "../sdk";
@@ -12,7 +13,7 @@ import { createAnvilClient } from "./createAnvilClient";
1213

1314
export async function setLTZero(
1415
sdk: GearboxSDK,
15-
cm: CreditManagerState,
16+
cm: CreditManagerState & { address: Address },
1617
logger?: ILogger,
1718
): Promise<void> {
1819
const aclAddr = await sdk.provider.publicClient.readContract({

src/dev/setLTs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { createAnvilClient } from "./createAnvilClient";
1818
*/
1919
export async function setLTs(
2020
sdk: GearboxSDK,
21-
cm: CreditManagerState,
21+
cm: CreditManagerState & { address: Address },
2222
newLTs: Record<Address, number>,
2323
logger?: ILogger,
2424
): Promise<void> {

0 commit comments

Comments
 (0)