@exponent-labs/klend-idl 0.9.1 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/build/accounts/LendingMarket.d.ts +1 -1
  2. package/build/accounts/Obligation.d.ts +1 -1
  3. package/build/accounts/ReferrerState.d.ts +1 -1
  4. package/build/accounts/ReferrerTokenState.d.ts +1 -1
  5. package/build/accounts/Reserve.d.ts +1 -1
  6. package/build/accounts/ShortUrl.d.ts +1 -1
  7. package/build/accounts/UserMetadata.d.ts +1 -1
  8. package/build/accounts/UserState.d.ts +1 -1
  9. package/build/instructions/borrowObligationLiquidity.d.ts +2 -2
  10. package/build/instructions/borrowObligationLiquidityV2.d.ts +2 -2
  11. package/build/instructions/deleteReferrerStateAndShortUrl.d.ts +2 -2
  12. package/build/instructions/depositObligationCollateral.d.ts +2 -2
  13. package/build/instructions/depositReserveLiquidity.d.ts +2 -2
  14. package/build/instructions/depositReserveLiquidityAndObligationCollateral.d.ts +2 -2
  15. package/build/instructions/depositReserveLiquidityAndObligationCollateralV2.d.ts +2 -2
  16. package/build/instructions/flashBorrowReserveLiquidity.d.ts +2 -2
  17. package/build/instructions/flashRepayReserveLiquidity.d.ts +2 -2
  18. package/build/instructions/idlMissingTypes.d.ts +2 -2
  19. package/build/instructions/initFarmsForReserve.d.ts +2 -2
  20. package/build/instructions/initLendingMarket.d.ts +2 -2
  21. package/build/instructions/initObligation.d.ts +2 -2
  22. package/build/instructions/initObligationFarmsForReserve.d.ts +2 -2
  23. package/build/instructions/initReferrerStateAndShortUrl.d.ts +2 -2
  24. package/build/instructions/initReferrerTokenState.d.ts +2 -2
  25. package/build/instructions/initReserve.d.ts +2 -2
  26. package/build/instructions/initUserMetadata.d.ts +2 -2
  27. package/build/instructions/liquidateObligationAndRedeemReserveCollateral.d.ts +2 -2
  28. package/build/instructions/redeemFees.d.ts +2 -2
  29. package/build/instructions/redeemReserveCollateral.d.ts +2 -2
  30. package/build/instructions/refreshObligation.d.ts +2 -2
  31. package/build/instructions/refreshObligationFarmsForReserve.d.ts +2 -2
  32. package/build/instructions/refreshReserve.d.ts +2 -2
  33. package/build/instructions/refreshReservesBatch.d.ts +2 -2
  34. package/build/instructions/repayObligationLiquidity.d.ts +2 -2
  35. package/build/instructions/repayObligationLiquidityV2.d.ts +2 -2
  36. package/build/instructions/requestElevationGroup.d.ts +2 -2
  37. package/build/instructions/socializeLoss.d.ts +2 -2
  38. package/build/instructions/updateLendingMarket.d.ts +2 -2
  39. package/build/instructions/updateLendingMarketOwner.d.ts +2 -2
  40. package/build/instructions/updateReserveConfig.d.ts +2 -2
  41. package/build/instructions/withdrawObligationCollateral.d.ts +2 -2
  42. package/build/instructions/withdrawObligationCollateralAndRedeemReserveCollateral.d.ts +2 -2
  43. package/build/instructions/withdrawObligationCollateralAndRedeemReserveCollateralV2.d.ts +2 -2
  44. package/build/instructions/withdrawProtocolFee.d.ts +2 -2
  45. package/build/instructions/withdrawReferrerFees.d.ts +2 -2
  46. package/build/programId.d.ts +1 -1
  47. package/build/types/AssetTier.d.ts +1 -2
  48. package/build/types/FeeCalculation.d.ts +1 -2
  49. package/build/types/ReserveConfig.d.ts +0 -1
  50. package/build/types/ReserveFarmKind.d.ts +1 -2
  51. package/build/types/ReserveStatus.d.ts +1 -2
  52. package/build/types/TokenInfo.d.ts +0 -1
  53. package/build/types/UpdateConfigMode.d.ts +1 -2
  54. package/build/types/UpdateLendingMarketConfigValue.d.ts +1 -2
  55. package/build/types/UpdateLendingMarketMode.d.ts +1 -2
  56. package/package.json +1 -1
@@ -75,7 +75,7 @@ export declare class LendingMarket {
75
75
  readonly minNetValueInObligationSf: BN;
76
76
  readonly minValueSkipLiquidationLtvBfChecks: BN;
77
77
  readonly padding1: Array<BN>;
78
- static readonly discriminator: Buffer<ArrayBuffer>;
78
+ static readonly discriminator: any;
79
79
  static readonly layout: any;
80
80
  constructor(fields: LendingMarketFields);
81
81
  static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<LendingMarket | null>;
@@ -72,7 +72,7 @@ export declare class Obligation {
72
72
  readonly reserved: Array<number>;
73
73
  readonly highestBorrowFactorPct: BN;
74
74
  readonly padding3: Array<BN>;
75
- static readonly discriminator: Buffer<ArrayBuffer>;
75
+ static readonly discriminator: any;
76
76
  static readonly layout: any;
77
77
  constructor(fields: ObligationFields);
78
78
  static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<Obligation | null>;
@@ -10,7 +10,7 @@ export interface ReferrerStateJSON {
10
10
  export declare class ReferrerState {
11
11
  readonly shortUrl: PublicKey;
12
12
  readonly owner: PublicKey;
13
- static readonly discriminator: Buffer<ArrayBuffer>;
13
+ static readonly discriminator: any;
14
14
  static readonly layout: any;
15
15
  constructor(fields: ReferrerStateFields);
16
16
  static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<ReferrerState | null>;
@@ -23,7 +23,7 @@ export declare class ReferrerTokenState {
23
23
  readonly amountCumulativeSf: BN;
24
24
  readonly bump: BN;
25
25
  readonly padding: Array<BN>;
26
- static readonly discriminator: Buffer<ArrayBuffer>;
26
+ static readonly discriminator: any;
27
27
  static readonly layout: any;
28
28
  constructor(fields: ReferrerTokenStateFields);
29
29
  static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<ReferrerTokenState | null>;
@@ -48,7 +48,7 @@ export declare class Reserve {
48
48
  readonly borrowedAmountOutsideElevationGroup: BN;
49
49
  readonly borrowedAmountsAgainstThisReserveInElevationGroups: Array<BN>;
50
50
  readonly padding: Array<BN>;
51
- static readonly discriminator: Buffer<ArrayBuffer>;
51
+ static readonly discriminator: any;
52
52
  static readonly layout: any;
53
53
  constructor(fields: ReserveFields);
54
54
  static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<Reserve | null>;
@@ -10,7 +10,7 @@ export interface ShortUrlJSON {
10
10
  export declare class ShortUrl {
11
11
  readonly referrer: PublicKey;
12
12
  readonly shortUrl: string;
13
- static readonly discriminator: Buffer<ArrayBuffer>;
13
+ static readonly discriminator: any;
14
14
  static readonly layout: any;
15
15
  constructor(fields: ShortUrlFields);
16
16
  static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<ShortUrl | null>;
@@ -23,7 +23,7 @@ export declare class UserMetadata {
23
23
  readonly owner: PublicKey;
24
24
  readonly padding1: Array<BN>;
25
25
  readonly padding2: Array<BN>;
26
- static readonly discriminator: Buffer<ArrayBuffer>;
26
+ static readonly discriminator: any;
27
27
  static readonly layout: any;
28
28
  constructor(fields: UserMetadataFields);
29
29
  static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<UserMetadata | null>;
@@ -56,7 +56,7 @@ export declare class UserState {
56
56
  readonly delegatee: PublicKey;
57
57
  readonly lastStakeTs: BN;
58
58
  readonly padding1: Array<BN>;
59
- static readonly discriminator: Buffer<ArrayBuffer>;
59
+ static readonly discriminator: any;
60
60
  static readonly layout: any;
61
61
  constructor(fields: UserStateFields);
62
62
  static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<UserState | null>;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface BorrowObligationLiquidityArgs {
4
4
  liquidityAmount: BN;
@@ -18,4 +18,4 @@ export interface BorrowObligationLiquidityAccounts {
18
18
  instructionSysvarAccount: PublicKey;
19
19
  }
20
20
  export declare const layout: any;
21
- export declare function borrowObligationLiquidity(args: BorrowObligationLiquidityArgs, accounts: BorrowObligationLiquidityAccounts, programId?: PublicKey): TransactionInstruction;
21
+ export declare function borrowObligationLiquidity(args: BorrowObligationLiquidityArgs, accounts: BorrowObligationLiquidityAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface BorrowObligationLiquidityV2Args {
4
4
  liquidityAmount: BN;
@@ -25,4 +25,4 @@ export interface BorrowObligationLiquidityV2Accounts {
25
25
  farmsProgram: PublicKey;
26
26
  }
27
27
  export declare const layout: any;
28
- export declare function borrowObligationLiquidityV2(args: BorrowObligationLiquidityV2Args, accounts: BorrowObligationLiquidityV2Accounts, programId?: PublicKey): TransactionInstruction;
28
+ export declare function borrowObligationLiquidityV2(args: BorrowObligationLiquidityV2Args, accounts: BorrowObligationLiquidityV2Accounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface DeleteReferrerStateAndShortUrlAccounts {
3
3
  referrer: PublicKey;
4
4
  referrerState: PublicKey;
@@ -6,4 +6,4 @@ export interface DeleteReferrerStateAndShortUrlAccounts {
6
6
  rent: PublicKey;
7
7
  systemProgram: PublicKey;
8
8
  }
9
- export declare function deleteReferrerStateAndShortUrl(accounts: DeleteReferrerStateAndShortUrlAccounts, programId?: PublicKey): TransactionInstruction;
9
+ export declare function deleteReferrerStateAndShortUrl(accounts: DeleteReferrerStateAndShortUrlAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface DepositObligationCollateralArgs {
4
4
  collateralAmount: BN;
@@ -14,4 +14,4 @@ export interface DepositObligationCollateralAccounts {
14
14
  instructionSysvarAccount: PublicKey;
15
15
  }
16
16
  export declare const layout: any;
17
- export declare function depositObligationCollateral(args: DepositObligationCollateralArgs, accounts: DepositObligationCollateralAccounts, programId?: PublicKey): TransactionInstruction;
17
+ export declare function depositObligationCollateral(args: DepositObligationCollateralArgs, accounts: DepositObligationCollateralAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface DepositReserveLiquidityArgs {
4
4
  liquidityAmount: BN;
@@ -18,4 +18,4 @@ export interface DepositReserveLiquidityAccounts {
18
18
  instructionSysvarAccount: PublicKey;
19
19
  }
20
20
  export declare const layout: any;
21
- export declare function depositReserveLiquidity(args: DepositReserveLiquidityArgs, accounts: DepositReserveLiquidityAccounts, programId?: PublicKey): TransactionInstruction;
21
+ export declare function depositReserveLiquidity(args: DepositReserveLiquidityArgs, accounts: DepositReserveLiquidityAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface DepositReserveLiquidityAndObligationCollateralArgs {
4
4
  liquidityAmount: BN;
@@ -20,4 +20,4 @@ export interface DepositReserveLiquidityAndObligationCollateralAccounts {
20
20
  instructionSysvarAccount: PublicKey;
21
21
  }
22
22
  export declare const layout: any;
23
- export declare function depositReserveLiquidityAndObligationCollateral(args: DepositReserveLiquidityAndObligationCollateralArgs, accounts: DepositReserveLiquidityAndObligationCollateralAccounts, programId?: PublicKey): TransactionInstruction;
23
+ export declare function depositReserveLiquidityAndObligationCollateral(args: DepositReserveLiquidityAndObligationCollateralArgs, accounts: DepositReserveLiquidityAndObligationCollateralAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface DepositReserveLiquidityAndObligationCollateralV2Args {
4
4
  liquidityAmount: BN;
@@ -27,4 +27,4 @@ export interface DepositReserveLiquidityAndObligationCollateralV2Accounts {
27
27
  farmsProgram: PublicKey;
28
28
  }
29
29
  export declare const layout: any;
30
- export declare function depositReserveLiquidityAndObligationCollateralV2(args: DepositReserveLiquidityAndObligationCollateralV2Args, accounts: DepositReserveLiquidityAndObligationCollateralV2Accounts, programId?: PublicKey): TransactionInstruction;
30
+ export declare function depositReserveLiquidityAndObligationCollateralV2(args: DepositReserveLiquidityAndObligationCollateralV2Args, accounts: DepositReserveLiquidityAndObligationCollateralV2Accounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface FlashBorrowReserveLiquidityArgs {
4
4
  liquidityAmount: BN;
@@ -18,4 +18,4 @@ export interface FlashBorrowReserveLiquidityAccounts {
18
18
  tokenProgram: PublicKey;
19
19
  }
20
20
  export declare const layout: any;
21
- export declare function flashBorrowReserveLiquidity(args: FlashBorrowReserveLiquidityArgs, accounts: FlashBorrowReserveLiquidityAccounts, programId?: PublicKey): TransactionInstruction;
21
+ export declare function flashBorrowReserveLiquidity(args: FlashBorrowReserveLiquidityArgs, accounts: FlashBorrowReserveLiquidityAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface FlashRepayReserveLiquidityArgs {
4
4
  liquidityAmount: BN;
@@ -19,4 +19,4 @@ export interface FlashRepayReserveLiquidityAccounts {
19
19
  tokenProgram: PublicKey;
20
20
  }
21
21
  export declare const layout: any;
22
- export declare function flashRepayReserveLiquidity(args: FlashRepayReserveLiquidityArgs, accounts: FlashRepayReserveLiquidityAccounts, programId?: PublicKey): TransactionInstruction;
22
+ export declare function flashRepayReserveLiquidity(args: FlashRepayReserveLiquidityArgs, accounts: FlashRepayReserveLiquidityAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import * as types from "../types";
3
3
  export interface IdlMissingTypesArgs {
4
4
  reserveFarmKind: types.ReserveFarmKindKind;
@@ -15,4 +15,4 @@ export interface IdlMissingTypesAccounts {
15
15
  reserve: PublicKey;
16
16
  }
17
17
  export declare const layout: any;
18
- export declare function idlMissingTypes(args: IdlMissingTypesArgs, accounts: IdlMissingTypesAccounts, programId?: PublicKey): TransactionInstruction;
18
+ export declare function idlMissingTypes(args: IdlMissingTypesArgs, accounts: IdlMissingTypesAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface InitFarmsForReserveArgs {
3
3
  mode: number;
4
4
  }
@@ -15,4 +15,4 @@ export interface InitFarmsForReserveAccounts {
15
15
  systemProgram: PublicKey;
16
16
  }
17
17
  export declare const layout: any;
18
- export declare function initFarmsForReserve(args: InitFarmsForReserveArgs, accounts: InitFarmsForReserveAccounts, programId?: PublicKey): TransactionInstruction;
18
+ export declare function initFarmsForReserve(args: InitFarmsForReserveArgs, accounts: InitFarmsForReserveAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface InitLendingMarketArgs {
3
3
  quoteCurrency: Array<number>;
4
4
  }
@@ -10,4 +10,4 @@ export interface InitLendingMarketAccounts {
10
10
  rent: PublicKey;
11
11
  }
12
12
  export declare const layout: any;
13
- export declare function initLendingMarket(args: InitLendingMarketArgs, accounts: InitLendingMarketAccounts, programId?: PublicKey): TransactionInstruction;
13
+ export declare function initLendingMarket(args: InitLendingMarketArgs, accounts: InitLendingMarketAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import * as types from "../types";
3
3
  export interface InitObligationArgs {
4
4
  args: types.InitObligationArgsFields;
@@ -15,4 +15,4 @@ export interface InitObligationAccounts {
15
15
  systemProgram: PublicKey;
16
16
  }
17
17
  export declare const layout: any;
18
- export declare function initObligation(args: InitObligationArgs, accounts: InitObligationAccounts, programId?: PublicKey): TransactionInstruction;
18
+ export declare function initObligation(args: InitObligationArgs, accounts: InitObligationAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface InitObligationFarmsForReserveArgs {
3
3
  mode: number;
4
4
  }
@@ -16,4 +16,4 @@ export interface InitObligationFarmsForReserveAccounts {
16
16
  systemProgram: PublicKey;
17
17
  }
18
18
  export declare const layout: any;
19
- export declare function initObligationFarmsForReserve(args: InitObligationFarmsForReserveArgs, accounts: InitObligationFarmsForReserveAccounts, programId?: PublicKey): TransactionInstruction;
19
+ export declare function initObligationFarmsForReserve(args: InitObligationFarmsForReserveArgs, accounts: InitObligationFarmsForReserveAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface InitReferrerStateAndShortUrlArgs {
3
3
  shortUrl: string;
4
4
  }
@@ -11,4 +11,4 @@ export interface InitReferrerStateAndShortUrlAccounts {
11
11
  systemProgram: PublicKey;
12
12
  }
13
13
  export declare const layout: any;
14
- export declare function initReferrerStateAndShortUrl(args: InitReferrerStateAndShortUrlArgs, accounts: InitReferrerStateAndShortUrlAccounts, programId?: PublicKey): TransactionInstruction;
14
+ export declare function initReferrerStateAndShortUrl(args: InitReferrerStateAndShortUrlArgs, accounts: InitReferrerStateAndShortUrlAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface InitReferrerTokenStateArgs {
3
3
  referrer: PublicKey;
4
4
  }
@@ -11,4 +11,4 @@ export interface InitReferrerTokenStateAccounts {
11
11
  systemProgram: PublicKey;
12
12
  }
13
13
  export declare const layout: any;
14
- export declare function initReferrerTokenState(args: InitReferrerTokenStateArgs, accounts: InitReferrerTokenStateAccounts, programId?: PublicKey): TransactionInstruction;
14
+ export declare function initReferrerTokenState(args: InitReferrerTokenStateArgs, accounts: InitReferrerTokenStateAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface InitReserveAccounts {
3
3
  lendingMarketOwner: PublicKey;
4
4
  lendingMarket: PublicKey;
@@ -14,4 +14,4 @@ export interface InitReserveAccounts {
14
14
  collateralTokenProgram: PublicKey;
15
15
  systemProgram: PublicKey;
16
16
  }
17
- export declare function initReserve(accounts: InitReserveAccounts, programId?: PublicKey): TransactionInstruction;
17
+ export declare function initReserve(accounts: InitReserveAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface InitUserMetadataArgs {
3
3
  userLookupTable: PublicKey;
4
4
  }
@@ -11,4 +11,4 @@ export interface InitUserMetadataAccounts {
11
11
  systemProgram: PublicKey;
12
12
  }
13
13
  export declare const layout: any;
14
- export declare function initUserMetadata(args: InitUserMetadataArgs, accounts: InitUserMetadataAccounts, programId?: PublicKey): TransactionInstruction;
14
+ export declare function initUserMetadata(args: InitUserMetadataArgs, accounts: InitUserMetadataAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface LiquidateObligationAndRedeemReserveCollateralArgs {
4
4
  liquidityAmount: BN;
@@ -28,4 +28,4 @@ export interface LiquidateObligationAndRedeemReserveCollateralAccounts {
28
28
  instructionSysvarAccount: PublicKey;
29
29
  }
30
30
  export declare const layout: any;
31
- export declare function liquidateObligationAndRedeemReserveCollateral(args: LiquidateObligationAndRedeemReserveCollateralArgs, accounts: LiquidateObligationAndRedeemReserveCollateralAccounts, programId?: PublicKey): TransactionInstruction;
31
+ export declare function liquidateObligationAndRedeemReserveCollateral(args: LiquidateObligationAndRedeemReserveCollateralArgs, accounts: LiquidateObligationAndRedeemReserveCollateralAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface RedeemFeesAccounts {
3
3
  reserve: PublicKey;
4
4
  reserveLiquidityMint: PublicKey;
@@ -8,4 +8,4 @@ export interface RedeemFeesAccounts {
8
8
  lendingMarketAuthority: PublicKey;
9
9
  tokenProgram: PublicKey;
10
10
  }
11
- export declare function redeemFees(accounts: RedeemFeesAccounts, programId?: PublicKey): TransactionInstruction;
11
+ export declare function redeemFees(accounts: RedeemFeesAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface RedeemReserveCollateralArgs {
4
4
  collateralAmount: BN;
@@ -18,4 +18,4 @@ export interface RedeemReserveCollateralAccounts {
18
18
  instructionSysvarAccount: PublicKey;
19
19
  }
20
20
  export declare const layout: any;
21
- export declare function redeemReserveCollateral(args: RedeemReserveCollateralArgs, accounts: RedeemReserveCollateralAccounts, programId?: PublicKey): TransactionInstruction;
21
+ export declare function redeemReserveCollateral(args: RedeemReserveCollateralArgs, accounts: RedeemReserveCollateralAccounts, programId?: PublicKey): any;
@@ -1,6 +1,6 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface RefreshObligationAccounts {
3
3
  lendingMarket: PublicKey;
4
4
  obligation: PublicKey;
5
5
  }
6
- export declare function refreshObligation(accounts: RefreshObligationAccounts, programId?: PublicKey): TransactionInstruction;
6
+ export declare function refreshObligation(accounts: RefreshObligationAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface RefreshObligationFarmsForReserveArgs {
3
3
  mode: number;
4
4
  }
@@ -15,4 +15,4 @@ export interface RefreshObligationFarmsForReserveAccounts {
15
15
  systemProgram: PublicKey;
16
16
  }
17
17
  export declare const layout: any;
18
- export declare function refreshObligationFarmsForReserve(args: RefreshObligationFarmsForReserveArgs, accounts: RefreshObligationFarmsForReserveAccounts, programId?: PublicKey): TransactionInstruction;
18
+ export declare function refreshObligationFarmsForReserve(args: RefreshObligationFarmsForReserveArgs, accounts: RefreshObligationFarmsForReserveAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface RefreshReserveAccounts {
3
3
  reserve: PublicKey;
4
4
  lendingMarket: PublicKey;
@@ -7,4 +7,4 @@ export interface RefreshReserveAccounts {
7
7
  switchboardTwapOracle: PublicKey;
8
8
  scopePrices: PublicKey;
9
9
  }
10
- export declare function refreshReserve(accounts: RefreshReserveAccounts, programId?: PublicKey): TransactionInstruction;
10
+ export declare function refreshReserve(accounts: RefreshReserveAccounts, programId?: PublicKey): any;
@@ -1,6 +1,6 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface RefreshReservesBatchArgs {
3
3
  skipPriceUpdates: boolean;
4
4
  }
5
5
  export declare const layout: any;
6
- export declare function refreshReservesBatch(args: RefreshReservesBatchArgs, programId?: PublicKey): TransactionInstruction;
6
+ export declare function refreshReservesBatch(args: RefreshReservesBatchArgs, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface RepayObligationLiquidityArgs {
4
4
  liquidityAmount: BN;
@@ -15,4 +15,4 @@ export interface RepayObligationLiquidityAccounts {
15
15
  instructionSysvarAccount: PublicKey;
16
16
  }
17
17
  export declare const layout: any;
18
- export declare function repayObligationLiquidity(args: RepayObligationLiquidityArgs, accounts: RepayObligationLiquidityAccounts, programId?: PublicKey): TransactionInstruction;
18
+ export declare function repayObligationLiquidity(args: RepayObligationLiquidityArgs, accounts: RepayObligationLiquidityAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface RepayObligationLiquidityV2Args {
4
4
  liquidityAmount: BN;
@@ -23,4 +23,4 @@ export interface RepayObligationLiquidityV2Accounts {
23
23
  farmsProgram: PublicKey;
24
24
  }
25
25
  export declare const layout: any;
26
- export declare function repayObligationLiquidityV2(args: RepayObligationLiquidityV2Args, accounts: RepayObligationLiquidityV2Accounts, programId?: PublicKey): TransactionInstruction;
26
+ export declare function repayObligationLiquidityV2(args: RepayObligationLiquidityV2Args, accounts: RepayObligationLiquidityV2Accounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface RequestElevationGroupArgs {
3
3
  elevationGroup: number;
4
4
  }
@@ -8,4 +8,4 @@ export interface RequestElevationGroupAccounts {
8
8
  lendingMarket: PublicKey;
9
9
  }
10
10
  export declare const layout: any;
11
- export declare function requestElevationGroup(args: RequestElevationGroupArgs, accounts: RequestElevationGroupAccounts, programId?: PublicKey): TransactionInstruction;
11
+ export declare function requestElevationGroup(args: RequestElevationGroupArgs, accounts: RequestElevationGroupAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface SocializeLossArgs {
4
4
  liquidityAmount: BN;
@@ -11,4 +11,4 @@ export interface SocializeLossAccounts {
11
11
  instructionSysvarAccount: PublicKey;
12
12
  }
13
13
  export declare const layout: any;
14
- export declare function socializeLoss(args: SocializeLossArgs, accounts: SocializeLossAccounts, programId?: PublicKey): TransactionInstruction;
14
+ export declare function socializeLoss(args: SocializeLossArgs, accounts: SocializeLossAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface UpdateLendingMarketArgs {
4
4
  mode: BN;
@@ -9,4 +9,4 @@ export interface UpdateLendingMarketAccounts {
9
9
  lendingMarket: PublicKey;
10
10
  }
11
11
  export declare const layout: any;
12
- export declare function updateLendingMarket(args: UpdateLendingMarketArgs, accounts: UpdateLendingMarketAccounts, programId?: PublicKey): TransactionInstruction;
12
+ export declare function updateLendingMarket(args: UpdateLendingMarketArgs, accounts: UpdateLendingMarketAccounts, programId?: PublicKey): any;
@@ -1,6 +1,6 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface UpdateLendingMarketOwnerAccounts {
3
3
  lendingMarketOwnerCached: PublicKey;
4
4
  lendingMarket: PublicKey;
5
5
  }
6
- export declare function updateLendingMarketOwner(accounts: UpdateLendingMarketOwnerAccounts, programId?: PublicKey): TransactionInstruction;
6
+ export declare function updateLendingMarketOwner(accounts: UpdateLendingMarketOwnerAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface UpdateReserveConfigArgs {
4
4
  mode: BN;
@@ -11,4 +11,4 @@ export interface UpdateReserveConfigAccounts {
11
11
  reserve: PublicKey;
12
12
  }
13
13
  export declare const layout: any;
14
- export declare function updateReserveConfig(args: UpdateReserveConfigArgs, accounts: UpdateReserveConfigAccounts, programId?: PublicKey): TransactionInstruction;
14
+ export declare function updateReserveConfig(args: UpdateReserveConfigArgs, accounts: UpdateReserveConfigAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface WithdrawObligationCollateralArgs {
4
4
  collateralAmount: BN;
@@ -15,4 +15,4 @@ export interface WithdrawObligationCollateralAccounts {
15
15
  instructionSysvarAccount: PublicKey;
16
16
  }
17
17
  export declare const layout: any;
18
- export declare function withdrawObligationCollateral(args: WithdrawObligationCollateralArgs, accounts: WithdrawObligationCollateralAccounts, programId?: PublicKey): TransactionInstruction;
18
+ export declare function withdrawObligationCollateral(args: WithdrawObligationCollateralArgs, accounts: WithdrawObligationCollateralAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface WithdrawObligationCollateralAndRedeemReserveCollateralArgs {
4
4
  collateralAmount: BN;
@@ -20,4 +20,4 @@ export interface WithdrawObligationCollateralAndRedeemReserveCollateralAccounts
20
20
  instructionSysvarAccount: PublicKey;
21
21
  }
22
22
  export declare const layout: any;
23
- export declare function withdrawObligationCollateralAndRedeemReserveCollateral(args: WithdrawObligationCollateralAndRedeemReserveCollateralArgs, accounts: WithdrawObligationCollateralAndRedeemReserveCollateralAccounts, programId?: PublicKey): TransactionInstruction;
23
+ export declare function withdrawObligationCollateralAndRedeemReserveCollateral(args: WithdrawObligationCollateralAndRedeemReserveCollateralArgs, accounts: WithdrawObligationCollateralAndRedeemReserveCollateralAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface WithdrawObligationCollateralAndRedeemReserveCollateralV2Args {
4
4
  collateralAmount: BN;
@@ -27,4 +27,4 @@ export interface WithdrawObligationCollateralAndRedeemReserveCollateralV2Account
27
27
  farmsProgram: PublicKey;
28
28
  }
29
29
  export declare const layout: any;
30
- export declare function withdrawObligationCollateralAndRedeemReserveCollateralV2(args: WithdrawObligationCollateralAndRedeemReserveCollateralV2Args, accounts: WithdrawObligationCollateralAndRedeemReserveCollateralV2Accounts, programId?: PublicKey): TransactionInstruction;
30
+ export declare function withdrawObligationCollateralAndRedeemReserveCollateralV2(args: WithdrawObligationCollateralAndRedeemReserveCollateralV2Args, accounts: WithdrawObligationCollateralAndRedeemReserveCollateralV2Accounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  export interface WithdrawProtocolFeeArgs {
4
4
  amount: BN;
@@ -14,4 +14,4 @@ export interface WithdrawProtocolFeeAccounts {
14
14
  tokenProgram: PublicKey;
15
15
  }
16
16
  export declare const layout: any;
17
- export declare function withdrawProtocolFee(args: WithdrawProtocolFeeArgs, accounts: WithdrawProtocolFeeAccounts, programId?: PublicKey): TransactionInstruction;
17
+ export declare function withdrawProtocolFee(args: WithdrawProtocolFeeArgs, accounts: WithdrawProtocolFeeAccounts, programId?: PublicKey): any;
@@ -1,4 +1,4 @@
1
- import { TransactionInstruction, PublicKey } from "@solana/web3.js";
1
+ import { PublicKey } from "@solana/web3.js";
2
2
  export interface WithdrawReferrerFeesAccounts {
3
3
  referrer: PublicKey;
4
4
  referrerTokenState: PublicKey;
@@ -10,4 +10,4 @@ export interface WithdrawReferrerFeesAccounts {
10
10
  lendingMarketAuthority: PublicKey;
11
11
  tokenProgram: PublicKey;
12
12
  }
13
- export declare function withdrawReferrerFees(accounts: WithdrawReferrerFeesAccounts, programId?: PublicKey): TransactionInstruction;
13
+ export declare function withdrawReferrerFees(accounts: WithdrawReferrerFeesAccounts, programId?: PublicKey): any;
@@ -1,3 +1,3 @@
1
1
  import { PublicKey } from "@solana/web3.js";
2
- export declare const PROGRAM_ID_CLI: PublicKey;
2
+ export declare const PROGRAM_ID_CLI: any;
3
3
  export declare const PROGRAM_ID: PublicKey;
@@ -1,5 +1,4 @@
1
1
  import * as types from "../types";
2
- import * as borsh from "@coral-xyz/borsh";
3
2
  export interface RegularJSON {
4
3
  kind: "Regular";
5
4
  }
@@ -41,4 +40,4 @@ export declare class IsolatedDebt {
41
40
  }
42
41
  export declare function fromDecoded(obj: any): types.AssetTierKind;
43
42
  export declare function fromJSON(obj: types.AssetTierJSON): types.AssetTierKind;
44
- export declare function layout(property?: string): borsh.EnumLayout<unknown>;
43
+ export declare function layout(property?: string): any;
@@ -1,5 +1,4 @@
1
1
  import * as types from "../types";
2
- import * as borsh from "@coral-xyz/borsh";
3
2
  export interface ExclusiveJSON {
4
3
  kind: "Exclusive";
5
4
  }
@@ -28,4 +27,4 @@ export declare class Inclusive {
28
27
  }
29
28
  export declare function fromDecoded(obj: any): types.FeeCalculationKind;
30
29
  export declare function fromJSON(obj: types.FeeCalculationJSON): types.FeeCalculationKind;
31
- export declare function layout(property?: string): borsh.EnumLayout<unknown>;
30
+ export declare function layout(property?: string): any;
@@ -1,4 +1,3 @@
1
- import { PublicKey } from "@solana/web3.js";
2
1
  import BN from "bn.js";
3
2
  import * as types from "../types";
4
3
  export interface ReserveConfigFields {
@@ -1,5 +1,4 @@
1
1
  import * as types from "../types";
2
- import * as borsh from "@coral-xyz/borsh";
3
2
  export interface CollateralJSON {
4
3
  kind: "Collateral";
5
4
  }
@@ -28,4 +27,4 @@ export declare class Debt {
28
27
  }
29
28
  export declare function fromDecoded(obj: any): types.ReserveFarmKindKind;
30
29
  export declare function fromJSON(obj: types.ReserveFarmKindJSON): types.ReserveFarmKindKind;
31
- export declare function layout(property?: string): borsh.EnumLayout<unknown>;
30
+ export declare function layout(property?: string): any;
@@ -1,5 +1,4 @@
1
1
  import * as types from "../types";
2
- import * as borsh from "@coral-xyz/borsh";
3
2
  export interface ActiveJSON {
4
3
  kind: "Active";
5
4
  }
@@ -41,4 +40,4 @@ export declare class Hidden {
41
40
  }
42
41
  export declare function fromDecoded(obj: any): types.ReserveStatusKind;
43
42
  export declare function fromJSON(obj: types.ReserveStatusJSON): types.ReserveStatusKind;
44
- export declare function layout(property?: string): borsh.EnumLayout<unknown>;
43
+ export declare function layout(property?: string): any;
@@ -1,4 +1,3 @@
1
- import { PublicKey } from "@solana/web3.js";
2
1
  import BN from "bn.js";
3
2
  import * as types from "../types";
4
3
  export interface TokenInfoFields {
@@ -1,5 +1,4 @@
1
1
  import * as types from "../types";
2
- import * as borsh from "@coral-xyz/borsh";
3
2
  export interface UpdateLoanToValuePctJSON {
4
3
  kind: "UpdateLoanToValuePct";
5
4
  }
@@ -613,4 +612,4 @@ export declare class UpdateHostFixedInterestRateBps {
613
612
  }
614
613
  export declare function fromDecoded(obj: any): types.UpdateConfigModeKind;
615
614
  export declare function fromJSON(obj: types.UpdateConfigModeJSON): types.UpdateConfigModeKind;
616
- export declare function layout(property?: string): borsh.EnumLayout<unknown>;
615
+ export declare function layout(property?: string): any;
@@ -1,7 +1,6 @@
1
1
  import { PublicKey } from "@solana/web3.js";
2
2
  import BN from "bn.js";
3
3
  import * as types from "../types";
4
- import * as borsh from "@coral-xyz/borsh";
5
4
  export type BoolFields = [boolean];
6
5
  export type BoolValue = [boolean];
7
6
  export interface BoolJSON {
@@ -174,4 +173,4 @@ export declare class ElevationGroup {
174
173
  }
175
174
  export declare function fromDecoded(obj: any): types.UpdateLendingMarketConfigValueKind;
176
175
  export declare function fromJSON(obj: types.UpdateLendingMarketConfigValueJSON): types.UpdateLendingMarketConfigValueKind;
177
- export declare function layout(property?: string): borsh.EnumLayout<unknown>;
176
+ export declare function layout(property?: string): any;
@@ -1,5 +1,4 @@
1
1
  import * as types from "../types";
2
- import * as borsh from "@coral-xyz/borsh";
3
2
  export interface UpdateOwnerJSON {
4
3
  kind: "UpdateOwner";
5
4
  }
@@ -236,4 +235,4 @@ export declare class UpdatePaddingFields {
236
235
  }
237
236
  export declare function fromDecoded(obj: any): types.UpdateLendingMarketModeKind;
238
237
  export declare function fromJSON(obj: types.UpdateLendingMarketModeJSON): types.UpdateLendingMarketModeKind;
239
- export declare function layout(property?: string): borsh.EnumLayout<unknown>;
238
+ export declare function layout(property?: string): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exponent-labs/klend-idl",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "exports": {