@exponent-labs/exponent-pda 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.
- package/build/pda.d.ts +20 -20
- package/package.json +3 -3
package/build/pda.d.ts
CHANGED
|
@@ -5,62 +5,62 @@ export declare class ExponentPDA {
|
|
|
5
5
|
private findProgramAddressSync;
|
|
6
6
|
mintPt({ vault }: {
|
|
7
7
|
vault: web3.PublicKey;
|
|
8
|
-
}):
|
|
8
|
+
}): any;
|
|
9
9
|
mintYt({ vault }: {
|
|
10
10
|
vault: web3.PublicKey;
|
|
11
|
-
}):
|
|
11
|
+
}): any;
|
|
12
12
|
escrowYt({ vault }: {
|
|
13
13
|
vault: web3.PublicKey;
|
|
14
|
-
}):
|
|
14
|
+
}): any;
|
|
15
15
|
escrowSy({ mintSy, vault }: {
|
|
16
16
|
vault: web3.PublicKey;
|
|
17
17
|
mintSy: web3.PublicKey;
|
|
18
|
-
}):
|
|
18
|
+
}): any;
|
|
19
19
|
emissionTracker({ vault }: {
|
|
20
20
|
vault: web3.PublicKey;
|
|
21
|
-
}):
|
|
21
|
+
}): any;
|
|
22
22
|
yieldPosition({ vault, owner }: {
|
|
23
23
|
vault: web3.PublicKey;
|
|
24
24
|
owner: web3.PublicKey;
|
|
25
|
-
}):
|
|
25
|
+
}): any;
|
|
26
26
|
/** Authority for vault signing CPI calls */
|
|
27
27
|
vaultSigner({ vault }: {
|
|
28
28
|
vault: web3.PublicKey;
|
|
29
|
-
}):
|
|
29
|
+
}): any;
|
|
30
30
|
/** Authority for vault signing CPI calls */
|
|
31
31
|
vaultYieldPosition({ vault }: {
|
|
32
32
|
vault: web3.PublicKey;
|
|
33
|
-
}):
|
|
33
|
+
}): any;
|
|
34
34
|
/** Identifier for the market is derived from the vault that uniquely has a PT token */
|
|
35
35
|
market({ vault, seedId }: {
|
|
36
36
|
vault: web3.PublicKey;
|
|
37
37
|
seedId: number;
|
|
38
|
-
}):
|
|
38
|
+
}): any;
|
|
39
39
|
/** Identifier for market rewarder is derived from the Market */
|
|
40
40
|
marketRewarder({ market }: {
|
|
41
41
|
market: web3.PublicKey;
|
|
42
|
-
}):
|
|
42
|
+
}): any;
|
|
43
43
|
/** LP token mint for the market */
|
|
44
44
|
mintLp({ market }: {
|
|
45
45
|
market: web3.PublicKey;
|
|
46
|
-
}):
|
|
46
|
+
}): any;
|
|
47
47
|
/** Escrow account for holding deposited LP tokens */
|
|
48
48
|
marketEscrowLp({ market }: {
|
|
49
49
|
market: web3.PublicKey;
|
|
50
|
-
}):
|
|
50
|
+
}): any;
|
|
51
51
|
/** Escrow account for holding PT liquidity for a market */
|
|
52
52
|
marketEscrowPt({ market }: {
|
|
53
53
|
market: web3.PublicKey;
|
|
54
|
-
}):
|
|
54
|
+
}): any;
|
|
55
55
|
/** Market-owned escrow account for SY tokens. Used as an interchange between the SY program and the end-user */
|
|
56
56
|
marketEscrowSy({ market }: {
|
|
57
57
|
market: web3.PublicKey;
|
|
58
|
-
}):
|
|
58
|
+
}): any;
|
|
59
59
|
/** Personal LP position */
|
|
60
60
|
marketLpPosition({ market, owner }: {
|
|
61
61
|
market: web3.PublicKey;
|
|
62
62
|
owner: web3.PublicKey;
|
|
63
|
-
}):
|
|
63
|
+
}): any;
|
|
64
64
|
}
|
|
65
65
|
export declare class ExponentOrderbookPDA {
|
|
66
66
|
programId: web3.PublicKey;
|
|
@@ -70,20 +70,20 @@ export declare class ExponentOrderbookPDA {
|
|
|
70
70
|
orderbook({ vault, seedId }: {
|
|
71
71
|
vault: web3.PublicKey;
|
|
72
72
|
seedId: number;
|
|
73
|
-
}):
|
|
73
|
+
}): any;
|
|
74
74
|
/** Orderbook-owned escrow account for SY tokens. Used as an interchange between the SY program and the end-user */
|
|
75
75
|
orderbookEscrowSy({ orderbook }: {
|
|
76
76
|
orderbook: web3.PublicKey;
|
|
77
|
-
}):
|
|
77
|
+
}): any;
|
|
78
78
|
/** Orderbook-owned escrow account for YT tokens. Used as an interchange between the SY program and the end-user */
|
|
79
79
|
orderbookEscrowYt({ orderbook }: {
|
|
80
80
|
orderbook: web3.PublicKey;
|
|
81
|
-
}):
|
|
81
|
+
}): any;
|
|
82
82
|
/** Orderbook-owned escrow account for PT tokens */
|
|
83
83
|
orderbookEscrowPt({ orderbook }: {
|
|
84
84
|
orderbook: web3.PublicKey;
|
|
85
|
-
}):
|
|
85
|
+
}): any;
|
|
86
86
|
orderbookCpiAccounts({ orderbook }: {
|
|
87
87
|
orderbook: web3.PublicKey;
|
|
88
|
-
}):
|
|
88
|
+
}): any;
|
|
89
89
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exponent-labs/exponent-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,8 +9,8 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@coral-xyz/anchor": "0.30.0",
|
|
12
|
-
"@exponent-labs/exponent-idl": "0.9.
|
|
13
|
-
"@exponent-labs/exponent-orderbook-idl": "0.9.
|
|
12
|
+
"@exponent-labs/exponent-idl": "0.9.3",
|
|
13
|
+
"@exponent-labs/exponent-orderbook-idl": "0.9.3",
|
|
14
14
|
"@solana/spl-token": "0.4.6"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|