@gmsol-labs/gmsol-sdk 0.8.0-beta.3 → 0.8.0
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/README.md +11 -9
- package/index.d.ts +22 -0
- package/index_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,19 +12,21 @@
|
|
|
12
12
|
|
|
13
13
|
## Audits
|
|
14
14
|
|
|
15
|
-
| Program
|
|
16
|
-
|
|
|
17
|
-
| [gmsol-store]
|
|
18
|
-
| [gmsol-treasury]
|
|
19
|
-
| [gmsol-timelock]
|
|
20
|
-
| [gmsol-competition]
|
|
15
|
+
| Program | Last Audit Date | Version |
|
|
16
|
+
| -------------------------- | --------------- | --------- |
|
|
17
|
+
| [gmsol-store] | [2025-09-23] | [7618169] |
|
|
18
|
+
| [gmsol-treasury] | [2025-09-23] | [7618169] |
|
|
19
|
+
| [gmsol-timelock] | [2025-09-23] | [7618169] |
|
|
20
|
+
| [gmsol-competition] | [2025-09-23] | [7618169] |
|
|
21
|
+
| [gmsol-liquidity-provider] | [2025-09-23] | [7618169] |
|
|
21
22
|
|
|
22
23
|
[gmsol-store]: https://github.com/gmsol-labs/gmx-solana/tree/main/programs/store
|
|
23
24
|
[gmsol-treasury]: https://github.com/gmsol-labs/gmx-solana/tree/main/programs/treasury
|
|
24
25
|
[gmsol-timelock]: https://github.com/gmsol-labs/gmx-solana/tree/main/programs/timelock
|
|
25
26
|
[gmsol-competition]: https://github.com/gmsol-labs/gmx-solana/tree/main/programs/competition
|
|
26
|
-
[
|
|
27
|
-
[
|
|
27
|
+
[gmsol-liquidity-provider]: https://github.com/gmsol-labs/gmx-solana/tree/main/programs/liquidity-provider
|
|
28
|
+
[2025-09-23]: https://github.com/gmsol-labs/gmx-solana-audits/blob/main/GMX_Solana_Audit_Report_September_23_2025_Zenith.pdf
|
|
29
|
+
[7618169]: https://github.com/gmsol-labs/gmx-solana/commit/7618169dfda4858ec87890bb66a1caafc8dca08c
|
|
28
30
|
|
|
29
31
|
## Integration
|
|
30
32
|
|
|
@@ -34,7 +36,7 @@ Add the following to your `Cargo.toml`:
|
|
|
34
36
|
|
|
35
37
|
```toml
|
|
36
38
|
[dependencies]
|
|
37
|
-
gmsol-sdk = { version = "0.
|
|
39
|
+
gmsol-sdk = { version = "0.8", features = ["client"] }
|
|
38
40
|
```
|
|
39
41
|
|
|
40
42
|
Create a `Client` and start using the core APIs:
|
package/index.d.ts
CHANGED
|
@@ -514,6 +514,28 @@ export interface PoolTokenHint {
|
|
|
514
514
|
short_token: StringPubkey;
|
|
515
515
|
}
|
|
516
516
|
|
|
517
|
+
/**
|
|
518
|
+
* Builder for `mint_gt_reward` instruction.
|
|
519
|
+
*/
|
|
520
|
+
export interface MintGtReward {
|
|
521
|
+
/**
|
|
522
|
+
* Payer (a.k.a. authority).
|
|
523
|
+
*/
|
|
524
|
+
payer: StringPubkey;
|
|
525
|
+
/**
|
|
526
|
+
* Store program.
|
|
527
|
+
*/
|
|
528
|
+
store_program?: StoreProgram;
|
|
529
|
+
/**
|
|
530
|
+
* The owner for whom the GT reward will be minted.
|
|
531
|
+
*/
|
|
532
|
+
owner: StringPubkey;
|
|
533
|
+
/**
|
|
534
|
+
* The amount to mint.
|
|
535
|
+
*/
|
|
536
|
+
amount: number;
|
|
537
|
+
}
|
|
538
|
+
|
|
517
539
|
/**
|
|
518
540
|
* Hint for [`CreateGlvWithdrawal`].
|
|
519
541
|
*/
|
package/index_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED