@triadxyz/triad-protocol 2.2.0-beta → 2.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.
@@ -0,0 +1,15 @@
1
+ export type CreateChestArgs = {
2
+ id: number;
3
+ initialPrizePool: number;
4
+ };
5
+ export type BidChestArgs = {
6
+ id: number;
7
+ amount: number;
8
+ };
9
+ export type BuyChestTokenArgs = {
10
+ id: number;
11
+ amount: number;
12
+ };
13
+ export type CollectChestTokenArgs = {
14
+ id: number;
15
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -139,16 +139,17 @@ export type CreateMarketArgs = {
139
139
  customer: PublicKey | null;
140
140
  payoutFee: number;
141
141
  mint: PublicKey;
142
+ poolId?: number;
142
143
  };
143
144
  export type CreatePoolArgs = {
144
145
  poolId: number;
145
146
  question: string;
146
- startTime: number;
147
- endTime: number;
148
- feeBps: number;
149
- payoutFee: number;
150
- mint: PublicKey;
151
- customer: PublicKey | null;
147
+ startTime?: number;
148
+ endTime?: number;
149
+ feeBps?: number;
150
+ payoutFee?: number;
151
+ mint?: PublicKey;
152
+ customer?: PublicKey | null;
152
153
  markets: {
153
154
  marketId: number;
154
155
  question: string;