@exponent-labs/marginfi-pda 0.9.3 → 0.9.5
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.
- package/build/index.d.ts +11 -11
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { web3 } from "@coral-xyz/anchor";
|
|
2
|
-
export declare const MARGINFI_PROGRAM_ID:
|
|
2
|
+
export declare const MARGINFI_PROGRAM_ID: web3.PublicKey;
|
|
3
3
|
export declare class MarginfiPda {
|
|
4
|
-
programId:
|
|
5
|
-
constructor(programId?:
|
|
4
|
+
programId: web3.PublicKey;
|
|
5
|
+
constructor(programId?: web3.PublicKey);
|
|
6
6
|
emissionsAuth({ bank, mint }: {
|
|
7
7
|
bank: web3.PublicKey;
|
|
8
8
|
mint: web3.PublicKey;
|
|
9
|
-
}):
|
|
9
|
+
}): web3.PublicKey;
|
|
10
10
|
emissionsVault({ bank, mint }: {
|
|
11
11
|
bank: web3.PublicKey;
|
|
12
12
|
mint: web3.PublicKey;
|
|
13
|
-
}):
|
|
14
|
-
bankLiquidityVault(bank: web3.PublicKey):
|
|
15
|
-
bankLiquidityVaultAuthority(bank: web3.PublicKey):
|
|
13
|
+
}): web3.PublicKey;
|
|
14
|
+
bankLiquidityVault(bank: web3.PublicKey): web3.PublicKey;
|
|
15
|
+
bankLiquidityVaultAuthority(bank: web3.PublicKey): web3.PublicKey;
|
|
16
16
|
}
|
|
17
|
-
export declare const getBankLiquidityVaultAuthority: (bank: web3.PublicKey, marginfiProgramId: web3.PublicKey) =>
|
|
18
|
-
export declare const getBankLiquidityVault: (bank: web3.PublicKey, marginfiProgramId: web3.PublicKey) =>
|
|
19
|
-
export declare const getMarginfiEmissionsAuth: (marginfiBank: web3.PublicKey, emissionsMint: web3.PublicKey, marginfiProgramId: web3.PublicKey) =>
|
|
20
|
-
export declare const getMarginfiEmissionsVault: (marginfiBank: web3.PublicKey, emissionsMint: web3.PublicKey, marginfiProgramId: web3.PublicKey) =>
|
|
17
|
+
export declare const getBankLiquidityVaultAuthority: (bank: web3.PublicKey, marginfiProgramId: web3.PublicKey) => web3.PublicKey;
|
|
18
|
+
export declare const getBankLiquidityVault: (bank: web3.PublicKey, marginfiProgramId: web3.PublicKey) => web3.PublicKey;
|
|
19
|
+
export declare const getMarginfiEmissionsAuth: (marginfiBank: web3.PublicKey, emissionsMint: web3.PublicKey, marginfiProgramId: web3.PublicKey) => web3.PublicKey;
|
|
20
|
+
export declare const getMarginfiEmissionsVault: (marginfiBank: web3.PublicKey, emissionsMint: web3.PublicKey, marginfiProgramId: web3.PublicKey) => web3.PublicKey;
|