@triadxyz/triad-protocol 1.2.0-beta → 1.2.2-beta

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.
@@ -22,7 +22,7 @@ export type InitializeStakeArgs = {
22
22
  export type UpdateStakeVaultArgs = {
23
23
  wallet: PublicKey;
24
24
  amount?: BN;
25
- status?: boolean;
25
+ isLocked?: boolean;
26
26
  };
27
27
  export type RequestWithdrawArgs = {
28
28
  wallet: PublicKey;
@@ -1,42 +1,29 @@
1
- import { PublicKey } from '@solana/web3.js';
2
1
  export type Market = {
3
2
  address: string;
4
3
  bump: number;
5
4
  authority: string;
6
5
  marketId: string;
7
- name: string;
8
6
  hypePrice: string;
9
7
  flopPrice: string;
10
8
  hypeLiquidity: string;
11
9
  flopLiquidity: string;
12
- totalHypeShares: string;
13
- totalFlopShares: string;
14
- totalVolume: string;
10
+ hypeShares: string;
11
+ flopShares: string;
12
+ volume: string;
15
13
  mint: string;
16
- ts: string;
17
14
  updateTs: string;
18
- openOrdersCount: string;
15
+ openedOrders: string;
19
16
  nextOrderId: string;
20
17
  feeBps: number;
21
- feeVault: string;
22
18
  isActive: boolean;
23
- marketPrice: string;
24
- previousResolvedQuestion: ResolvedQuestion;
25
- currentQuestionId: string;
26
- currentQuestionStart: string;
27
- currentQuestionEnd: string;
28
- currentQuestion: string;
29
- };
30
- export type ResolvedQuestion = {
19
+ nftHoldersFeeAvailable: string;
20
+ nftHoldersFeeClaimed: string;
21
+ marketFeeAvailable: string;
22
+ marketFeeClaimed: string;
23
+ marketStart: string;
24
+ marketEnd: string;
31
25
  question: string;
32
- startTime: string;
33
- endTime: string;
34
- hypeLiquidity: string;
35
- flopLiquidity: string;
36
26
  winningDirection: WinningDirection;
37
- marketPrice: string;
38
- finalHypePrice: string;
39
- finalFlopPrice: string;
40
27
  };
41
28
  export declare enum WinningDirection {
42
29
  HYPE = "Hype",
@@ -64,12 +51,6 @@ export type OrderType = {
64
51
  } | {
65
52
  market: {};
66
53
  };
67
- export type InitializeQuestionArgs = {
68
- marketId: number;
69
- question: string;
70
- startTime: number;
71
- endTime: number;
72
- };
73
54
  export type OpenOrderArgs = {
74
55
  marketId: number;
75
56
  amount: number;
@@ -77,17 +58,10 @@ export type OpenOrderArgs = {
77
58
  token: string;
78
59
  comment?: string;
79
60
  };
80
- export type FeeVault = {
81
- bump: number;
82
- authority: PublicKey;
83
- market: PublicKey;
84
- deposited: string;
85
- withdrawn: string;
86
- netBalance: string;
87
- projectAvailable: string;
88
- projectClaimed: string;
89
- nftHoldersAvailable: string;
90
- nftHoldersClaimed: string;
91
- marketAvailable: string;
92
- marketClaimed: string;
61
+ export type InitializeMarketArgs = {
62
+ marketId: number;
63
+ name: string;
64
+ startTime: number;
65
+ endTime: number;
66
+ question: string;
93
67
  };