@exponent-labs/marginfi-sy-pda 0.9.2 → 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.
- package/build/marginfiSyPda.d.ts +8 -8
- package/package.json +2 -2
package/build/marginfiSyPda.d.ts
CHANGED
|
@@ -9,42 +9,42 @@ export declare class MarginfiSyPda {
|
|
|
9
9
|
*/
|
|
10
10
|
emissionTracker({ bank }: {
|
|
11
11
|
bank: web3.PublicKey;
|
|
12
|
-
}):
|
|
12
|
+
}): any;
|
|
13
13
|
/**
|
|
14
14
|
* DEPRECATED: but preserved for backwards compatibility
|
|
15
15
|
* The syMeta PDA is the account authority over the marginfi program
|
|
16
16
|
*/
|
|
17
17
|
accountAuthority({ bank }: {
|
|
18
18
|
bank: web3.PublicKey;
|
|
19
|
-
}):
|
|
19
|
+
}): any;
|
|
20
20
|
/**
|
|
21
21
|
* Return the mint of the SY token
|
|
22
22
|
* `bank` is the address of the Marginfi Bank
|
|
23
23
|
*/
|
|
24
24
|
mintSy({ bank }: {
|
|
25
25
|
bank: web3.PublicKey;
|
|
26
|
-
}):
|
|
26
|
+
}): any;
|
|
27
27
|
/** The robot account with the Marginfi program, which owns the deposits */
|
|
28
28
|
marginfiAccount({ bank }: {
|
|
29
29
|
bank: web3.PublicKey;
|
|
30
|
-
}):
|
|
30
|
+
}): any;
|
|
31
31
|
/** Personal SY position (deposit balance, emission trackers) */
|
|
32
32
|
position({ signer, bank }: {
|
|
33
33
|
signer: web3.PublicKey;
|
|
34
34
|
bank: web3.PublicKey;
|
|
35
|
-
}):
|
|
35
|
+
}): any;
|
|
36
36
|
/** The escrow account that holds deposited SY tokens */
|
|
37
37
|
syEscrow({ bank }: {
|
|
38
38
|
bank: web3.PublicKey;
|
|
39
|
-
}):
|
|
39
|
+
}): any;
|
|
40
40
|
/** Master metadata account for an SY binding */
|
|
41
41
|
syMeta({ bank }: {
|
|
42
42
|
bank: web3.PublicKey;
|
|
43
|
-
}):
|
|
43
|
+
}): any;
|
|
44
44
|
/** Token account for holding underlying tokens - used as an interchange between the end-user and the Marginfi Program */
|
|
45
45
|
underlyingEscrow({ bank, mintUnderlying, tokenProgramUnderlying, }: {
|
|
46
46
|
bank: web3.PublicKey;
|
|
47
47
|
mintUnderlying: web3.PublicKey;
|
|
48
48
|
tokenProgramUnderlying: web3.PublicKey;
|
|
49
|
-
}):
|
|
49
|
+
}): any;
|
|
50
50
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exponent-labs/marginfi-sy-pda",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.3",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"types": "build/index.d.ts",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@coral-xyz/anchor": "0.30.0",
|
|
12
|
-
"@exponent-labs/marginfi-sy-idl": "0.9.
|
|
12
|
+
"@exponent-labs/marginfi-sy-idl": "0.9.3",
|
|
13
13
|
"@solana/spl-token": "0.4.6"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|