@triadxyz/triad-protocol 0.5.3-beta.devnet → 0.5.4-beta.devnet

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.
@@ -1,4 +1,4 @@
1
- import { Keypair, PublicKey } from '@solana/web3.js';
1
+ import { PublicKey } from '@solana/web3.js';
2
2
  export type RpcOptions = {
3
3
  skipPreflight?: boolean;
4
4
  microLamports?: number;
@@ -8,16 +8,3 @@ export type CreateUserArgs = {
8
8
  name: string;
9
9
  referral?: PublicKey;
10
10
  };
11
- export type OpenOreArgs = {
12
- user: PublicKey;
13
- payer: Keypair;
14
- name: string;
15
- referralName: string;
16
- };
17
- export type MineOreArgs = {
18
- user: PublicKey;
19
- payer: PublicKey;
20
- bus: PublicKey;
21
- digest: number[];
22
- nonce: number[];
23
- };
@@ -34,10 +34,6 @@ export type WithdrawArgs = {
34
34
  name: string;
35
35
  mint: PublicKey;
36
36
  };
37
- export type UpdateStakeVaultStatusArgs = {
38
- wallet: PublicKey;
39
- isLocked: boolean;
40
- };
41
37
  export type ClaimStakeRewardsArgs = {
42
38
  wallet: PublicKey;
43
39
  nftName: string;
@@ -0,0 +1,22 @@
1
+ export type Market = {
2
+ bump: number;
3
+ authority: string;
4
+ marketId: number;
5
+ name: string;
6
+ hypePrice: number;
7
+ flopPrice: number;
8
+ hypeLiquidity: number;
9
+ flopLiquidity: number;
10
+ totalHypeShares: number;
11
+ totalFlopShares: number;
12
+ totalVolume: number;
13
+ vaultTokenAccount: string;
14
+ mint: string;
15
+ lastUpdateTs: number;
16
+ openOrdersCount: number;
17
+ nextOrderId: number;
18
+ feeBps: number;
19
+ feeVault: string;
20
+ isActive: boolean;
21
+ isOfficial: boolean;
22
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });