@block52/poker-vm-sdk 1.23.0 → 1.25.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/dist/cosmosClient.d.ts +11 -1
- package/dist/cosmosClient.d.ts.map +1 -1
- package/dist/index.d.ts +393 -54
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +974 -128
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +977 -128
- package/dist/index.js.map +1 -1
- package/dist/pokerchain.poker.v1/registry.d.ts.map +1 -1
- package/dist/pokerchain.poker.v1/types/pokerchain/poker/v1/genesis.d.ts +4 -19
- package/dist/pokerchain.poker.v1/types/pokerchain/poker/v1/genesis.d.ts.map +1 -1
- package/dist/pokerchain.poker.v1/types/pokerchain/poker/v1/params.d.ts +64 -0
- package/dist/pokerchain.poker.v1/types/pokerchain/poker/v1/params.d.ts.map +1 -1
- package/dist/pokerchain.poker.v1/types/pokerchain/poker/v1/query.d.ts +378 -6
- package/dist/pokerchain.poker.v1/types/pokerchain/poker/v1/query.d.ts.map +1 -1
- package/dist/pokerchain.poker.v1/types/pokerchain/poker/v1/tx.d.ts +369 -40
- package/dist/pokerchain.poker.v1/types/pokerchain/poker/v1/tx.d.ts.map +1 -1
- package/dist/pokerchain.poker.v1/types.d.ts +1 -2
- package/dist/pokerchain.poker.v1/types.d.ts.map +1 -1
- package/dist/signingClient.d.ts +28 -4
- package/dist/signingClient.d.ts.map +1 -1
- package/dist/types/game.d.ts +66 -0
- package/dist/types/game.d.ts.map +1 -1
- package/dist/types/rest.d.ts +8 -0
- package/dist/types/rest.d.ts.map +1 -1
- package/dist/utils/createTournament.d.ts +43 -0
- package/dist/utils/createTournament.d.ts.map +1 -0
- package/dist/utils/tournamentState.d.ts +15 -0
- package/dist/utils/tournamentState.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../../../../src/pok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AC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;IAC5B,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACxD,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CAC/D"}
|
|
@@ -7,7 +7,7 @@ export interface MsgUpdateParams {
|
|
|
7
7
|
/** authority is the address that controls the module (defaults to x/gov unless overwritten). */
|
|
8
8
|
authority: string;
|
|
9
9
|
/** NOTE: All parameters must be supplied. */
|
|
10
|
-
params
|
|
10
|
+
params: Params | undefined;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
@@ -41,46 +41,62 @@ export interface MsgCreateGame {
|
|
|
41
41
|
blindLevelDuration: number;
|
|
42
42
|
/** Poker variant (texas-holdem/omaha) */
|
|
43
43
|
gameVariant: string;
|
|
44
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* SNG flat entry fee in micro-units. Skimmed from each player's buy-in
|
|
46
|
+
* at join time and sent to the table creator (poker-vm#2118). Cash
|
|
47
|
+
* games must leave this at 0; SNGs may set it >= 0.
|
|
48
|
+
*/
|
|
45
49
|
entryFee: Long;
|
|
46
50
|
/**
|
|
47
|
-
*
|
|
48
|
-
*
|
|
51
|
+
* The 32-byte player entropy seed the creator folds into HAND 1's VRF deck
|
|
52
|
+
* (#2450 Layer 2 hand-1 anchor). The proposer pre-scans MsgCreateGame,
|
|
53
|
+
* derives the gameId, and commits a hand-1 DeckSeed with this seed, so hand 1
|
|
54
|
+
* is chain-authoritative like every other hand. Empty = proposer-only entropy.
|
|
55
|
+
*/
|
|
56
|
+
playerSeed: Uint8Array;
|
|
57
|
+
/**
|
|
58
|
+
* Optional ENS-style human-readable table name. Lowercase ASCII [a-z0-9-],
|
|
59
|
+
* 1-32 code points, no leading/trailing/double hyphen. GLOBALLY UNIQUE
|
|
60
|
+
* (first-come-first-served) — a duplicate reverts. Costs $0.10/char
|
|
61
|
+
* (100_000 micro-USDC/char), charged on top of the game-creation cost and
|
|
62
|
+
* paid to validators. Empty = unnamed (no fee), identified by gameId only.
|
|
63
|
+
* (block52/pokerchain#337, block52/ui#562)
|
|
49
64
|
*/
|
|
50
65
|
name: string;
|
|
51
66
|
/**
|
|
52
|
-
* Betting structure
|
|
53
|
-
*
|
|
54
|
-
* (
|
|
67
|
+
* Betting structure, orthogonal to the variant: "no-limit", "pot-limit", or
|
|
68
|
+
* "fixed-limit" (texas-holdem only, poker-vm#2654). Empty = the variant's default:
|
|
69
|
+
* pot-limit for omaha (PLO), no-limit for texas-holdem. (#407)
|
|
55
70
|
*/
|
|
56
71
|
bettingLimit: string;
|
|
57
72
|
/**
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* cancelled with refunds if fewer have registered 15 minutes after it.
|
|
62
|
-
*
|
|
73
|
+
* Start of a tournament, unix seconds (poker-vm#2680, #2776). Required for a
|
|
74
|
+
* tournament and refused otherwise. It starts at this time with at least
|
|
75
|
+
* min_players registered (the engine's START action), never earlier, and is
|
|
76
|
+
* cancelled with refunds if fewer have registered 15 minutes after it. A
|
|
77
|
+
* sit-and-go has none: it starts when the table fills.
|
|
63
78
|
*/
|
|
64
79
|
startTime: Long;
|
|
65
80
|
/**
|
|
66
|
-
* Blind structure for a sit-and-go / tournament (
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
81
|
+
* Blind structure for a sit-and-go / tournament (poker-vm#1734 via #2613,
|
|
82
|
+
* block52/pokerchain#434): JSON of the SDK's BlindStructureDTO — a preset
|
|
83
|
+
* ({"preset":"turbo"}), or an explicit double / linear / percentage / table
|
|
84
|
+
* structure. The engine derives every level's blinds, big-blind ante and
|
|
85
|
+
* duration from it. Empty = the blinds double every blind_level_duration
|
|
86
|
+
* minutes, as before. Cash games must leave it empty.
|
|
71
87
|
*/
|
|
72
88
|
blindStructure: string;
|
|
73
89
|
/**
|
|
74
|
-
* Late registration for a
|
|
75
|
-
* new players may still join while the blind level (0-based) is
|
|
76
|
-
* until anyone has finished in the money. Requires start_time.
|
|
77
|
-
* field is fixed at the start.
|
|
90
|
+
* Late registration for a tournament (poker-vm#2731): after the
|
|
91
|
+
* start, new players may still join while the blind level (0-based) is
|
|
92
|
+
* below this, until anyone has finished in the money. Requires start_time.
|
|
93
|
+
* 0 = none: the field is fixed at the start.
|
|
78
94
|
*/
|
|
79
95
|
lateRegistrationLevels: number;
|
|
80
96
|
/**
|
|
81
|
-
* Hold a
|
|
82
|
-
*
|
|
83
|
-
*
|
|
97
|
+
* Hold a table until start_time even when it fills first (poker-vm#2760). A
|
|
98
|
+
* tournament always does, whatever this says; only sent by older clients.
|
|
99
|
+
* Refused on any other format.
|
|
84
100
|
*/
|
|
85
101
|
waitForStartTime: boolean;
|
|
86
102
|
}
|
|
@@ -102,10 +118,14 @@ export interface MsgLeaveGame {
|
|
|
102
118
|
creator: string;
|
|
103
119
|
gameId: string;
|
|
104
120
|
/**
|
|
105
|
-
* finishing_order
|
|
106
|
-
* off-chain (WS-first money-movers, poker-vm#2325).
|
|
107
|
-
*
|
|
108
|
-
*
|
|
121
|
+
* finishing_order is the place-1-first list of player addresses for an
|
|
122
|
+
* SNG that finalized off-chain (WS-first money-movers, poker-vm#2325). The
|
|
123
|
+
* chain never sees the tournament-ending gameplay action, so GameStates
|
|
124
|
+
* .Results can be empty when the winner leaves. When present and Results
|
|
125
|
+
* is empty, the chain validates this ordering structurally and recomputes
|
|
126
|
+
* the payouts with its OWN prize-pool math — the caller supplies only the
|
|
127
|
+
* ORDER, never any amount. Empty for cash games and for SNGs the chain
|
|
128
|
+
* already finalized itself. (pokerchain#229)
|
|
109
129
|
*/
|
|
110
130
|
finishingOrder: string[];
|
|
111
131
|
}
|
|
@@ -113,15 +133,25 @@ export interface MsgLeaveGame {
|
|
|
113
133
|
export interface MsgLeaveGameResponse {
|
|
114
134
|
}
|
|
115
135
|
/**
|
|
116
|
-
* MsgRecordHandEnd
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
136
|
+
* MsgRecordHandEnd is submitted by the gateway when a hand ends (the action that
|
|
137
|
+
* advances the hand index n -> n+1). It carries the settled hand-end game state
|
|
138
|
+
* so the chain persists each hand at its natural boundary. When the pushed state
|
|
139
|
+
* is a finished SNG (results populated), this is what makes the prize pool
|
|
140
|
+
* claimable — the winner's MsgLeaveGame reads those results. (pokerchain#239)
|
|
141
|
+
*
|
|
142
|
+
* The pushed state carries its own previousActions + deck, so the chain can
|
|
143
|
+
* replay and verify it (trustless once decks are chain-anchored, poker-vm#2221).
|
|
144
|
+
* Until then the write is authenticated by the gateway_operators allowlist so
|
|
145
|
+
* only the gateway that runs the game may persist state.
|
|
121
146
|
*/
|
|
122
147
|
export interface MsgRecordHandEnd {
|
|
148
|
+
/** creator MUST be a registered gateway operator (params.gateway_operators). */
|
|
123
149
|
creator: string;
|
|
124
150
|
gameId: string;
|
|
151
|
+
/**
|
|
152
|
+
* game_state is the hand-end TexasHoldemStateDTO, JSON-encoded (the same
|
|
153
|
+
* canonical shape the chain stores in GameStates).
|
|
154
|
+
*/
|
|
125
155
|
gameState: string;
|
|
126
156
|
}
|
|
127
157
|
/** MsgRecordHandEndResponse defines the MsgRecordHandEnd response message. */
|
|
@@ -193,7 +223,7 @@ export interface MsgProcessDepositResponse {
|
|
|
193
223
|
/**
|
|
194
224
|
* MsgInitiateWithdrawal defines the MsgInitiateWithdrawal message.
|
|
195
225
|
* Initiates a withdrawal by burning USDC on Cosmos and creating a withdrawal request
|
|
196
|
-
* that can be completed on
|
|
226
|
+
* that can be completed on Ethereum mainnet with a validator signature.
|
|
197
227
|
*/
|
|
198
228
|
export interface MsgInitiateWithdrawal {
|
|
199
229
|
creator: string;
|
|
@@ -207,6 +237,28 @@ export interface MsgInitiateWithdrawalResponse {
|
|
|
207
237
|
/** Unique withdrawal nonce for tracking and completing on Base */
|
|
208
238
|
nonce: string;
|
|
209
239
|
}
|
|
240
|
+
/**
|
|
241
|
+
* MsgSubmitWithdrawalSignature carries a validator signature for a pending
|
|
242
|
+
* withdrawal. The signature is produced off-chain; the private key that made it
|
|
243
|
+
* is never sent.
|
|
244
|
+
*/
|
|
245
|
+
export interface MsgSubmitWithdrawalSignature {
|
|
246
|
+
/** submitter, pays gas */
|
|
247
|
+
signer: string;
|
|
248
|
+
/** withdrawal nonce being signed */
|
|
249
|
+
nonce: string;
|
|
250
|
+
/** 65-byte ECDSA over keccak256(abi.encodePacked(receiver, amount, nonce)) */
|
|
251
|
+
signature: Uint8Array;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* MsgSubmitWithdrawalSignatureResponse reports which Ethereum address the
|
|
255
|
+
* submitted signature recovered to, so the submitter can confirm it is the one
|
|
256
|
+
* registered in the WhiteListVault.
|
|
257
|
+
*/
|
|
258
|
+
export interface MsgSubmitWithdrawalSignatureResponse {
|
|
259
|
+
/** 0x-prefixed address recovered from the signature */
|
|
260
|
+
ethAddress: string;
|
|
261
|
+
}
|
|
210
262
|
/**
|
|
211
263
|
* MsgUpdateEthBlockHeight defines the MsgUpdateEthBlockHeight message.
|
|
212
264
|
* Updates the Ethereum block height used for deterministic deposit queries.
|
|
@@ -254,28 +306,206 @@ export interface MsgDeleteGame {
|
|
|
254
306
|
export interface MsgDeleteGameResponse {
|
|
255
307
|
}
|
|
256
308
|
/**
|
|
257
|
-
* MsgForceCloseGame is the creator-only "close this cash table now"
|
|
258
|
-
* refunds every seated player's stack to their wallet
|
|
259
|
-
*
|
|
309
|
+
* MsgForceCloseGame is the creator-only "close this cash table now"
|
|
310
|
+
* message — refunds every seated player's stack to their wallet (the
|
|
311
|
+
* engine emits synthetic LEAVE actions the chain reads to compute
|
|
312
|
+
* per-player amounts), then deletes the game record. Tournaments and
|
|
313
|
+
* SNGs are rejected: their cancellation has separate payout semantics
|
|
314
|
+
* that #2173 deliberately defers.
|
|
260
315
|
*/
|
|
261
316
|
export interface MsgForceCloseGame {
|
|
262
317
|
creator: string;
|
|
263
318
|
gameId: string;
|
|
264
319
|
}
|
|
320
|
+
/**
|
|
321
|
+
* MsgForceCloseGameResponse reports how many players were refunded by
|
|
322
|
+
* a successful ForceCloseGame call. Zero is legal (empty cash table)
|
|
323
|
+
* and matches the existing DeleteGame outcome — AC-3 in #2173.
|
|
324
|
+
*/
|
|
325
|
+
export interface MsgForceCloseGameResponse {
|
|
326
|
+
refundedPlayers: Long;
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* MsgInitDepositSync defines the MsgInitDepositSync message.
|
|
330
|
+
* Initializes the deposit sync system with a starting Ethereum block height.
|
|
331
|
+
* This is CONSENSUS CRITICAL - must be called via transaction to ensure deterministic replay.
|
|
332
|
+
* The creator (typically a validator) observes the current Ethereum state externally and
|
|
333
|
+
* submits this transaction to set the initial sync height. This replaces the non-deterministic
|
|
334
|
+
* live ETH query that previously occurred in EndBlock.
|
|
335
|
+
*/
|
|
336
|
+
export interface MsgInitDepositSync {
|
|
337
|
+
creator: string;
|
|
338
|
+
/**
|
|
339
|
+
* The finalized Ethereum block height to start syncing deposits from.
|
|
340
|
+
* Should be a recent finalized block (current - 32 blocks for mainnet).
|
|
341
|
+
*/
|
|
342
|
+
ethBlockHeight: Long;
|
|
343
|
+
}
|
|
344
|
+
/** MsgInitDepositSyncResponse defines the MsgInitDepositSyncResponse message. */
|
|
345
|
+
export interface MsgInitDepositSyncResponse {
|
|
346
|
+
/** The Ethereum block height that was set */
|
|
347
|
+
ethBlockHeight: Long;
|
|
348
|
+
/** Confirmation message */
|
|
349
|
+
message: string;
|
|
350
|
+
}
|
|
265
351
|
/**
|
|
266
352
|
* MsgRegisterNftAvatar defines the MsgRegisterNftAvatar message.
|
|
267
353
|
* Registers an NFT as a player's avatar by verifying ETH signature ownership.
|
|
354
|
+
* The ETH signature proves the owner of the NFT (ETH address) authorizes
|
|
355
|
+
* the cosmos address to use it as their avatar.
|
|
268
356
|
*/
|
|
269
357
|
export interface MsgRegisterNftAvatar {
|
|
358
|
+
/** Cosmos address registering the avatar */
|
|
270
359
|
creator: string;
|
|
360
|
+
/** ETH address that owns the NFT */
|
|
271
361
|
ethAddress: string;
|
|
362
|
+
/** NFT contract address on Ethereum/Base */
|
|
272
363
|
contractAddress: string;
|
|
364
|
+
/** NFT token ID */
|
|
273
365
|
tokenId: string;
|
|
366
|
+
/** EIP-191 signature proving ETH address ownership */
|
|
274
367
|
ethSignature: string;
|
|
275
368
|
}
|
|
276
369
|
/** MsgRegisterNftAvatarResponse defines the MsgRegisterNftAvatarResponse message. */
|
|
277
370
|
export interface MsgRegisterNftAvatarResponse {
|
|
278
371
|
}
|
|
372
|
+
/**
|
|
373
|
+
* DeckSeed is one verifiable shuffle randomness entry — a VRF output
|
|
374
|
+
* covering one new-hand action in the current block. Produced by the
|
|
375
|
+
* block proposer evaluating ECVRF over (prev_block_hash, game_id,
|
|
376
|
+
* hand_number) with their consensus key.
|
|
377
|
+
*/
|
|
378
|
+
export interface DeckSeed {
|
|
379
|
+
gameId: string;
|
|
380
|
+
handNumber: Long;
|
|
381
|
+
/**
|
|
382
|
+
* 64-byte ECVRF beta (the verifiable randomness used to seed the
|
|
383
|
+
* shuffle).
|
|
384
|
+
*/
|
|
385
|
+
vrfOutput: Uint8Array;
|
|
386
|
+
/**
|
|
387
|
+
* 80-byte ECVRF pi proof. Re-verified against proposer_pubkey to
|
|
388
|
+
* confirm the output is canonical for this (key, input) pair.
|
|
389
|
+
*/
|
|
390
|
+
vrfProof: Uint8Array;
|
|
391
|
+
/**
|
|
392
|
+
* 32-byte Ed25519 proposer consensus pubkey. PR 3 cross-checks this
|
|
393
|
+
* against the actual block proposer's CometBFT public key, so a
|
|
394
|
+
* malicious submitter can't substitute their own keypair here.
|
|
395
|
+
*/
|
|
396
|
+
proposerPubkey: Uint8Array;
|
|
397
|
+
/**
|
|
398
|
+
* The previous block's hash, fed into BuildVRFInput. Stored in the
|
|
399
|
+
* message so any node can re-derive the canonical input bytes
|
|
400
|
+
* without consulting historical block headers during replay.
|
|
401
|
+
*/
|
|
402
|
+
prevBlockHash: Uint8Array;
|
|
403
|
+
/**
|
|
404
|
+
* The 32-byte player entropy seed the acting player (dealer button)
|
|
405
|
+
* carried on the new-hand action (data "seed=<hex>"), folded into the
|
|
406
|
+
* VRF input alongside the proposer randomness (#2450 Layer 2). Empty
|
|
407
|
+
* when the new-hand carried no seed (proposer-only entropy). Stored so
|
|
408
|
+
* every validator re-derives the same BuildVRFInput and the deck is
|
|
409
|
+
* provable post-game from (player_seed, vrf_proof, H(deck)).
|
|
410
|
+
*/
|
|
411
|
+
playerSeed: Uint8Array;
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* MsgRecordDeckSeeds carries one or more DeckSeed entries for the
|
|
415
|
+
* current block. Submitter is the block proposer's cosmos address;
|
|
416
|
+
* PR 3 enforces that only the actual proposer may sign. The handler
|
|
417
|
+
* in this PR (PR 2) verifies each VRF proof and persists the output
|
|
418
|
+
* to state, but is gated until the migration completes — the
|
|
419
|
+
* new-hand handler does not yet read the persisted seeds.
|
|
420
|
+
*/
|
|
421
|
+
export interface MsgRecordDeckSeeds {
|
|
422
|
+
submitter: string;
|
|
423
|
+
seeds: DeckSeed[];
|
|
424
|
+
}
|
|
425
|
+
/** MsgRecordDeckSeedsResponse defines the MsgRecordDeckSeedsResponse message. */
|
|
426
|
+
export interface MsgRecordDeckSeedsResponse {
|
|
427
|
+
/** Number of seeds successfully recorded. */
|
|
428
|
+
recorded: Long;
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* MsgRecordEthBlockHeight is a system-only tx injected by the block proposer
|
|
432
|
+
* in PrepareProposal at every 50-block bridge-sync boundary. It advances the
|
|
433
|
+
* deterministic pinned ETH block height that SyncDeposits uses for queries,
|
|
434
|
+
* so all validators agree on the height without a per-validator Alchemy race.
|
|
435
|
+
*
|
|
436
|
+
* Empty submitter is the load-bearing system-tx marker (per PR #163's
|
|
437
|
+
* MsgRecordDeckSeeds pattern). The handler rejects any non-empty submitter.
|
|
438
|
+
* ProcessProposal verifies the embedded proposer_pubkey matches the actual
|
|
439
|
+
* block proposer's CometBFT key, so a malicious proposer cannot ship a
|
|
440
|
+
* height belonging to someone else's keypair.
|
|
441
|
+
*/
|
|
442
|
+
export interface MsgRecordEthBlockHeight {
|
|
443
|
+
submitter: string;
|
|
444
|
+
proposerPubkey: Uint8Array;
|
|
445
|
+
cosmosBlockHeight: Long;
|
|
446
|
+
ethBlockHeight: Long;
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* MsgRecordEthBlockHeightResponse defines the response shape for
|
|
450
|
+
* RecordEthBlockHeight.
|
|
451
|
+
*/
|
|
452
|
+
export interface MsgRecordEthBlockHeightResponse {
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* MsgCreateTournament opens a multi-table tournament (poker-vm#2613). Every
|
|
456
|
+
* field is required (Commandment 7); the engine's NewTournament validates them.
|
|
457
|
+
* Money fields are micro-USDC; chip fields are chips.
|
|
458
|
+
*/
|
|
459
|
+
export interface MsgCreateTournament {
|
|
460
|
+
creator: string;
|
|
461
|
+
/** Gross buy-in per entrant, micro-USDC. */
|
|
462
|
+
buyIn: Long;
|
|
463
|
+
/**
|
|
464
|
+
* Flat entry fee per entrant, micro-USDC, paid to the creator at
|
|
465
|
+
* registration and never refunded. 0 = none. Must be below buy_in.
|
|
466
|
+
*/
|
|
467
|
+
entryFee: Long;
|
|
468
|
+
/** Chips each entrant starts with. */
|
|
469
|
+
startingStack: Long;
|
|
470
|
+
/** Seats per table, 2..9. */
|
|
471
|
+
seatsPerTable: number;
|
|
472
|
+
/**
|
|
473
|
+
* The tournament is cancelled with refunds if fewer than this have
|
|
474
|
+
* registered at start_time. At least 2.
|
|
475
|
+
*/
|
|
476
|
+
minEntrants: number;
|
|
477
|
+
/** Registration closes at this many entrants. min_entrants..180. */
|
|
478
|
+
maxEntrants: number;
|
|
479
|
+
/**
|
|
480
|
+
* Scheduled start, unix seconds; registration closes then. Must be in the
|
|
481
|
+
* future.
|
|
482
|
+
*/
|
|
483
|
+
startTime: Long;
|
|
484
|
+
/**
|
|
485
|
+
* JSON of the engine's BlindStructureDTO: a preset ({"preset":"turbo"}) or an
|
|
486
|
+
* explicit double / linear / percentage / table structure (poker-vm#1734).
|
|
487
|
+
*/
|
|
488
|
+
blindStructure: string;
|
|
489
|
+
/** Every directed table's action clock, seconds (gameOptions.timeout). */
|
|
490
|
+
actionTimeoutSeconds: number;
|
|
491
|
+
}
|
|
492
|
+
export interface MsgCreateTournamentResponse {
|
|
493
|
+
tournamentId: string;
|
|
494
|
+
}
|
|
495
|
+
/** MsgRegisterTournament registers the signer for a tournament. */
|
|
496
|
+
export interface MsgRegisterTournament {
|
|
497
|
+
player: string;
|
|
498
|
+
tournamentId: string;
|
|
499
|
+
}
|
|
500
|
+
export interface MsgRegisterTournamentResponse {
|
|
501
|
+
}
|
|
502
|
+
/** MsgUnregisterTournament withdraws the signer's registration. */
|
|
503
|
+
export interface MsgUnregisterTournament {
|
|
504
|
+
player: string;
|
|
505
|
+
tournamentId: string;
|
|
506
|
+
}
|
|
507
|
+
export interface MsgUnregisterTournamentResponse {
|
|
508
|
+
}
|
|
279
509
|
export declare const MsgUpdateParams: MessageFns<MsgUpdateParams>;
|
|
280
510
|
export declare const MsgUpdateParamsResponse: MessageFns<MsgUpdateParamsResponse>;
|
|
281
511
|
export declare const MsgCreateGame: MessageFns<MsgCreateGame>;
|
|
@@ -298,15 +528,31 @@ export declare const MsgProcessDeposit: MessageFns<MsgProcessDeposit>;
|
|
|
298
528
|
export declare const MsgProcessDepositResponse: MessageFns<MsgProcessDepositResponse>;
|
|
299
529
|
export declare const MsgInitiateWithdrawal: MessageFns<MsgInitiateWithdrawal>;
|
|
300
530
|
export declare const MsgInitiateWithdrawalResponse: MessageFns<MsgInitiateWithdrawalResponse>;
|
|
531
|
+
export declare const MsgSubmitWithdrawalSignature: MessageFns<MsgSubmitWithdrawalSignature>;
|
|
532
|
+
export declare const MsgSubmitWithdrawalSignatureResponse: MessageFns<MsgSubmitWithdrawalSignatureResponse>;
|
|
301
533
|
export declare const MsgUpdateEthBlockHeight: MessageFns<MsgUpdateEthBlockHeight>;
|
|
302
534
|
export declare const MsgUpdateEthBlockHeightResponse: MessageFns<MsgUpdateEthBlockHeightResponse>;
|
|
303
535
|
export declare const MsgTopUp: MessageFns<MsgTopUp>;
|
|
304
536
|
export declare const MsgTopUpResponse: MessageFns<MsgTopUpResponse>;
|
|
305
537
|
export declare const MsgDeleteGame: MessageFns<MsgDeleteGame>;
|
|
306
|
-
export declare const MsgForceCloseGame: MessageFns<MsgForceCloseGame>;
|
|
307
538
|
export declare const MsgDeleteGameResponse: MessageFns<MsgDeleteGameResponse>;
|
|
539
|
+
export declare const MsgForceCloseGame: MessageFns<MsgForceCloseGame>;
|
|
540
|
+
export declare const MsgForceCloseGameResponse: MessageFns<MsgForceCloseGameResponse>;
|
|
541
|
+
export declare const MsgInitDepositSync: MessageFns<MsgInitDepositSync>;
|
|
542
|
+
export declare const MsgInitDepositSyncResponse: MessageFns<MsgInitDepositSyncResponse>;
|
|
308
543
|
export declare const MsgRegisterNftAvatar: MessageFns<MsgRegisterNftAvatar>;
|
|
309
544
|
export declare const MsgRegisterNftAvatarResponse: MessageFns<MsgRegisterNftAvatarResponse>;
|
|
545
|
+
export declare const DeckSeed: MessageFns<DeckSeed>;
|
|
546
|
+
export declare const MsgRecordDeckSeeds: MessageFns<MsgRecordDeckSeeds>;
|
|
547
|
+
export declare const MsgRecordDeckSeedsResponse: MessageFns<MsgRecordDeckSeedsResponse>;
|
|
548
|
+
export declare const MsgRecordEthBlockHeight: MessageFns<MsgRecordEthBlockHeight>;
|
|
549
|
+
export declare const MsgRecordEthBlockHeightResponse: MessageFns<MsgRecordEthBlockHeightResponse>;
|
|
550
|
+
export declare const MsgCreateTournament: MessageFns<MsgCreateTournament>;
|
|
551
|
+
export declare const MsgCreateTournamentResponse: MessageFns<MsgCreateTournamentResponse>;
|
|
552
|
+
export declare const MsgRegisterTournament: MessageFns<MsgRegisterTournament>;
|
|
553
|
+
export declare const MsgRegisterTournamentResponse: MessageFns<MsgRegisterTournamentResponse>;
|
|
554
|
+
export declare const MsgUnregisterTournament: MessageFns<MsgUnregisterTournament>;
|
|
555
|
+
export declare const MsgUnregisterTournamentResponse: MessageFns<MsgUnregisterTournamentResponse>;
|
|
310
556
|
/** Msg defines the Msg service. */
|
|
311
557
|
export interface Msg {
|
|
312
558
|
/**
|
|
@@ -320,6 +566,12 @@ export interface Msg {
|
|
|
320
566
|
JoinGame(request: MsgJoinGame): Promise<MsgJoinGameResponse>;
|
|
321
567
|
/** LeaveGame defines the LeaveGame RPC. */
|
|
322
568
|
LeaveGame(request: MsgLeaveGame): Promise<MsgLeaveGameResponse>;
|
|
569
|
+
/**
|
|
570
|
+
* RecordHandEnd defines the RecordHandEnd RPC — the gateway pushes a hand-end
|
|
571
|
+
* game-state snapshot to the chain so each hand persists on-chain and a
|
|
572
|
+
* finished SNG's Results are available for the winner's claim (pokerchain#239).
|
|
573
|
+
*/
|
|
574
|
+
RecordHandEnd(request: MsgRecordHandEnd): Promise<MsgRecordHandEndResponse>;
|
|
323
575
|
/** DealCards defines the DealCards RPC. */
|
|
324
576
|
DealCards(request: MsgDealCards): Promise<MsgDealCardsResponse>;
|
|
325
577
|
/** PerformAction defines the PerformAction RPC. */
|
|
@@ -335,9 +587,24 @@ export interface Msg {
|
|
|
335
587
|
ProcessDeposit(request: MsgProcessDeposit): Promise<MsgProcessDepositResponse>;
|
|
336
588
|
/**
|
|
337
589
|
* InitiateWithdrawal defines the InitiateWithdrawal RPC.
|
|
338
|
-
* Initiates a USDC withdrawal from Cosmos to
|
|
590
|
+
* Initiates a USDC withdrawal from Cosmos to Ethereum mainnet.
|
|
339
591
|
*/
|
|
340
592
|
InitiateWithdrawal(request: MsgInitiateWithdrawal): Promise<MsgInitiateWithdrawalResponse>;
|
|
593
|
+
/**
|
|
594
|
+
* SubmitWithdrawalSignature records a validator signature for a pending
|
|
595
|
+
* withdrawal, which the recipient then presents to the bridge contract.
|
|
596
|
+
*
|
|
597
|
+
* The signature is produced OFF-CHAIN with the validator's own Ethereum key
|
|
598
|
+
* and only the resulting 65 bytes are submitted. The key is never
|
|
599
|
+
* transmitted. This replaces MsgSignWithdrawal, which took the private key
|
|
600
|
+
* itself as a field (#345).
|
|
601
|
+
*
|
|
602
|
+
* Carrying the signature in a TRANSACTION is deterministic: every validator
|
|
603
|
+
* applies the same bytes from the same tx, so all of them write identical
|
|
604
|
+
* state. That is the opposite of computing a signature per-validator in
|
|
605
|
+
* EndBlock, which halted the chain (#343).
|
|
606
|
+
*/
|
|
607
|
+
SubmitWithdrawalSignature(request: MsgSubmitWithdrawalSignature): Promise<MsgSubmitWithdrawalSignatureResponse>;
|
|
341
608
|
/**
|
|
342
609
|
* UpdateEthBlockHeight defines the UpdateEthBlockHeight RPC.
|
|
343
610
|
* Updates the Ethereum block height used for deterministic deposit queries.
|
|
@@ -354,11 +621,64 @@ export interface Msg {
|
|
|
354
621
|
* Allows the game creator to delete a game when the table is empty.
|
|
355
622
|
*/
|
|
356
623
|
DeleteGame(request: MsgDeleteGame): Promise<MsgDeleteGameResponse>;
|
|
624
|
+
/**
|
|
625
|
+
* ForceCloseGame defines the ForceCloseGame RPC.
|
|
626
|
+
* Allows the creator of a cash table to force-close it at any time —
|
|
627
|
+
* including mid-hand. The engine ends the current hand, refunds every
|
|
628
|
+
* seated player's stack (plus any pot contribution and queued top-up)
|
|
629
|
+
* to their wallet, and marks the game terminal. The chain then deletes
|
|
630
|
+
* the game record. Tournaments / SNGs are rejected — see
|
|
631
|
+
* block52/poker-vm#2173 for the spec.
|
|
632
|
+
*/
|
|
633
|
+
ForceCloseGame(request: MsgForceCloseGame): Promise<MsgForceCloseGameResponse>;
|
|
634
|
+
/**
|
|
635
|
+
* InitDepositSync defines the InitDepositSync RPC.
|
|
636
|
+
* Initializes the deposit sync system with a starting Ethereum block height.
|
|
637
|
+
* This must be called before automatic deposit syncing can begin.
|
|
638
|
+
*/
|
|
639
|
+
InitDepositSync(request: MsgInitDepositSync): Promise<MsgInitDepositSyncResponse>;
|
|
357
640
|
/**
|
|
358
641
|
* RegisterNftAvatar defines the RegisterNftAvatar RPC.
|
|
359
|
-
* Registers an NFT as a player's avatar
|
|
642
|
+
* Registers an NFT as a player's avatar. The player must prove ownership by
|
|
643
|
+
* providing an ETH signature authorizing their cosmos address to use the NFT.
|
|
360
644
|
*/
|
|
361
645
|
RegisterNftAvatar(request: MsgRegisterNftAvatar): Promise<MsgRegisterNftAvatarResponse>;
|
|
646
|
+
/**
|
|
647
|
+
* RecordDeckSeeds defines the RecordDeckSeeds RPC.
|
|
648
|
+
* Carries VRF-derived shuffle randomness for new-hand actions in the
|
|
649
|
+
* current block, injected by the block proposer. PR 3 of the VRF
|
|
650
|
+
* migration (block52/pokerchain#163) wires this into PrepareProposal /
|
|
651
|
+
* ProcessProposal so only the actual block proposer can submit it.
|
|
652
|
+
* PR 4 switches the new-hand handler to read from the persisted seeds.
|
|
653
|
+
*/
|
|
654
|
+
RecordDeckSeeds(request: MsgRecordDeckSeeds): Promise<MsgRecordDeckSeedsResponse>;
|
|
655
|
+
/**
|
|
656
|
+
* RecordEthBlockHeight defines the RecordEthBlockHeight RPC.
|
|
657
|
+
* System-only tx injected by the block proposer in PrepareProposal at every
|
|
658
|
+
* 50-block bridge-sync boundary. It advances the deterministic pinned ETH
|
|
659
|
+
* block height that SyncDeposits uses for queries, so all validators agree
|
|
660
|
+
* on the height without a per-validator Alchemy race. Follow-up to PR #178
|
|
661
|
+
* (the deterministic-read fix); mirrors the proposer-injected system-tx
|
|
662
|
+
* pattern PR #163 introduced for VRF deck seeds.
|
|
663
|
+
*/
|
|
664
|
+
RecordEthBlockHeight(request: MsgRecordEthBlockHeight): Promise<MsgRecordEthBlockHeightResponse>;
|
|
665
|
+
/**
|
|
666
|
+
* CreateTournament opens a multi-table tournament for registration
|
|
667
|
+
* (poker-vm#2613 step 6). The engine's NewTournament validates the options
|
|
668
|
+
* and owns the stored TournamentStateDTO; the chain charges the creation fee
|
|
669
|
+
* and stores the document verbatim.
|
|
670
|
+
*/
|
|
671
|
+
CreateTournament(request: MsgCreateTournament): Promise<MsgCreateTournamentResponse>;
|
|
672
|
+
/**
|
|
673
|
+
* RegisterTournament registers the signer while registration is open and
|
|
674
|
+
* escrows the buy-in in the module account (poker-vm#2613 step 6).
|
|
675
|
+
*/
|
|
676
|
+
RegisterTournament(request: MsgRegisterTournament): Promise<MsgRegisterTournamentResponse>;
|
|
677
|
+
/**
|
|
678
|
+
* UnregisterTournament withdraws the signer's registration before the start
|
|
679
|
+
* and refunds the net buy-in; fees are not refunded (poker-vm#2613 step 6).
|
|
680
|
+
*/
|
|
681
|
+
UnregisterTournament(request: MsgUnregisterTournament): Promise<MsgUnregisterTournamentResponse>;
|
|
362
682
|
}
|
|
363
683
|
export declare const MsgServiceName = "pokerchain.poker.v1.Msg";
|
|
364
684
|
export declare class MsgClientImpl implements Msg {
|
|
@@ -371,16 +691,25 @@ export declare class MsgClientImpl implements Msg {
|
|
|
371
691
|
CreateGame(request: MsgCreateGame): Promise<MsgCreateGameResponse>;
|
|
372
692
|
JoinGame(request: MsgJoinGame): Promise<MsgJoinGameResponse>;
|
|
373
693
|
LeaveGame(request: MsgLeaveGame): Promise<MsgLeaveGameResponse>;
|
|
694
|
+
RecordHandEnd(request: MsgRecordHandEnd): Promise<MsgRecordHandEndResponse>;
|
|
374
695
|
DealCards(request: MsgDealCards): Promise<MsgDealCardsResponse>;
|
|
375
696
|
PerformAction(request: MsgPerformAction): Promise<MsgPerformActionResponse>;
|
|
376
697
|
Mint(request: MsgMint): Promise<MsgMintResponse>;
|
|
377
698
|
Burn(request: MsgBurn): Promise<MsgBurnResponse>;
|
|
378
699
|
ProcessDeposit(request: MsgProcessDeposit): Promise<MsgProcessDepositResponse>;
|
|
379
700
|
InitiateWithdrawal(request: MsgInitiateWithdrawal): Promise<MsgInitiateWithdrawalResponse>;
|
|
701
|
+
SubmitWithdrawalSignature(request: MsgSubmitWithdrawalSignature): Promise<MsgSubmitWithdrawalSignatureResponse>;
|
|
380
702
|
UpdateEthBlockHeight(request: MsgUpdateEthBlockHeight): Promise<MsgUpdateEthBlockHeightResponse>;
|
|
381
703
|
TopUp(request: MsgTopUp): Promise<MsgTopUpResponse>;
|
|
382
704
|
DeleteGame(request: MsgDeleteGame): Promise<MsgDeleteGameResponse>;
|
|
705
|
+
ForceCloseGame(request: MsgForceCloseGame): Promise<MsgForceCloseGameResponse>;
|
|
706
|
+
InitDepositSync(request: MsgInitDepositSync): Promise<MsgInitDepositSyncResponse>;
|
|
383
707
|
RegisterNftAvatar(request: MsgRegisterNftAvatar): Promise<MsgRegisterNftAvatarResponse>;
|
|
708
|
+
RecordDeckSeeds(request: MsgRecordDeckSeeds): Promise<MsgRecordDeckSeedsResponse>;
|
|
709
|
+
RecordEthBlockHeight(request: MsgRecordEthBlockHeight): Promise<MsgRecordEthBlockHeightResponse>;
|
|
710
|
+
CreateTournament(request: MsgCreateTournament): Promise<MsgCreateTournamentResponse>;
|
|
711
|
+
RegisterTournament(request: MsgRegisterTournament): Promise<MsgRegisterTournamentResponse>;
|
|
712
|
+
UnregisterTournament(request: MsgUnregisterTournament): Promise<MsgUnregisterTournamentResponse>;
|
|
384
713
|
}
|
|
385
714
|
interface Rpc {
|
|
386
715
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|