@block52/poker-vm-sdk 1.16.0 → 1.17.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/IClient.d.ts CHANGED
@@ -1,10 +1,12 @@
1
+ import type { Coin } from "./sdkTypes";
2
+ import type { AccountQueryResponse, GetTxResponse, WithdrawalRequestResponse } from "./types/rest";
1
3
  import type { LegalActionDTO, GameOptionsResponse, GameListItem, BlockResponse, GameStateResponse } from "./types/game";
2
4
  export interface IClient {
3
- getAccount(address: string): Promise<any>;
4
- getAllBalances(address: string): Promise<any[]>;
5
+ getAccount(address: string): Promise<AccountQueryResponse>;
6
+ getAllBalances(address: string): Promise<Coin[]>;
5
7
  getBalance(address: string, denom?: string): Promise<bigint>;
6
8
  getHeight(): Promise<number>;
7
- getTx(txHash: string): Promise<any>;
9
+ getTx(txHash: string): Promise<GetTxResponse>;
8
10
  getBlock(height: number): Promise<BlockResponse>;
9
11
  getLatestBlock(): Promise<BlockResponse>;
10
12
  getBlocks(startHeight: number, count?: number): Promise<BlockResponse[]>;
@@ -25,7 +27,7 @@ export interface IClient {
25
27
  joinGame(gameId: string, seat: number, buyInAmount: bigint): Promise<string>;
26
28
  createGame(gameFormat: string, gameVariant: string, minPlayers: number, maxPlayers: number, minBuyInB52USDC: bigint, maxBuyInB52USDC: bigint, smallBlindB52USDC: bigint, bigBlindB52USDC: bigint, timeout: number): Promise<string>;
27
29
  initiateWithdrawal(baseAddress: string, amount: bigint): Promise<string>;
28
- listWithdrawalRequests(cosmosAddress?: string): Promise<any[]>;
30
+ listWithdrawalRequests(cosmosAddress?: string): Promise<WithdrawalRequestResponse[]>;
29
31
  disconnect(): Promise<void>;
30
32
  }
31
33
  //# sourceMappingURL=IClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IClient.d.ts","sourceRoot":"","sources":["../src/IClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE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MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,MAAM,EACvB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,EAAE,MAAM,GAChB,OAAO,CAAC,MAAM,CAAC,CAAC;IACnB,kBAAkB,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACzE,sBAAsB,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,yBAAyB,EAAE,CAAC,CAAC;IACrF,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/B"}
@@ -1,4 +1,5 @@
1
- import { EquityResult, EquityResponse, CosmosConfig } from "./sdkTypes";
1
+ import { EquityResult, EquityResponse, CosmosConfig, Coin } from "./sdkTypes";
2
+ import type { AccountQueryResponse, GetTxResponse, WithdrawalRequestResponse } from "./types/rest";
2
3
  import { IClient } from "./IClient";
3
4
  import type { LegalActionDTO, GameOptionsResponse, GameListItem, BlockResponse, GameStateResponse } from "./types/game";
4
5
  export declare class CosmosClient implements IClient {
@@ -8,11 +9,11 @@ export declare class CosmosClient implements IClient {
8
9
  /**
9
10
  * Get account information via REST API
10
11
  */
11
- getAccount(address: string): Promise<any>;
12
+ getAccount(address: string): Promise<AccountQueryResponse>;
12
13
  /**
13
14
  * Get all coin balances for an address via REST API
14
15
  */
15
- getAllBalances(address: string): Promise<any[]>;
16
+ getAllBalances(address: string): Promise<Coin[]>;
16
17
  /**
17
18
  * Get specific coin balance for an address via REST API
18
19
  */
@@ -24,7 +25,7 @@ export declare class CosmosClient implements IClient {
24
25
  /**
25
26
  * Get transaction by hash via REST API
26
27
  */
27
- getTx(txHash: string): Promise<any>;
28
+ getTx(txHash: string): Promise<GetTxResponse>;
28
29
  /**
29
30
  * Get a specific block by height via REST API
30
31
  */
@@ -97,7 +98,7 @@ export declare class CosmosClient implements IClient {
97
98
  /**
98
99
  * List withdrawal requests via REST API
99
100
  */
100
- listWithdrawalRequests(cosmosAddress?: string): Promise<any[]>;
101
+ listWithdrawalRequests(cosmosAddress?: string): Promise<WithdrawalRequestResponse[]>;
101
102
  /**
102
103
  * Calculate equity for multiple hands using Monte Carlo simulation
103
104
  * Used when players are all-in and showing to display win percentages
@@ -118,7 +119,7 @@ export declare class CosmosClient implements IClient {
118
119
  */
119
120
  disconnect(): Promise<void>;
120
121
  }
121
- export declare const getCosmosClient: (config?: any) => CosmosClient;
122
+ export declare const getCosmosClient: (config?: CosmosConfig) => CosmosClient;
122
123
  export declare const initializeCosmosClient: (config: CosmosConfig) => CosmosClient;
123
124
  export declare const getDefaultCosmosConfig: (domain?: string) => CosmosConfig;
124
125
  export { COSMOS_CONSTANTS, type CosmosConfig, type Coin, type CustomAccountResponse, type TxResponse, type BlockResponse, type GameState, type GameStateResponseDTO, type LegalAction, type GameStateResponse, type GameResponse, type ListGamesResponse, type PlayerGamesResponse, type EquityHand, type EquityResult, type EquityRequest, type EquityResponse } from "./sdkTypes";
@@ -1 +1 @@
1
- {"version":3,"file":"cosmosClient.d.ts","sourceRoot":"","sources":["../src/cosmosClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAExH,qBAAa,YAAa,YAAW,OAAO;IACxC,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IACxC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgB;gBAE/B,MAAM,EAAE,YAAY;IAahC;;OAEG;IACG,UAAU,CAAC,OAAO,EAAE,MAAM,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tB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,EACtB,MAAM,YAAY,CAAC"}
package/dist/index.d.ts CHANGED
@@ -9581,11 +9581,11 @@ interface MessageFns$1x<T> {
9581
9581
  * NOTE: The amount field is an Int which implements the custom method
9582
9582
  * signatures required by gogoproto.
9583
9583
  */
9584
- interface Coin$6 {
9584
+ interface Coin$7 {
9585
9585
  denom: string;
9586
9586
  amount: string;
9587
9587
  }
9588
- declare const Coin$6: MessageFns$1w<Coin$6>;
9588
+ declare const Coin$7: MessageFns$1w<Coin$7>;
9589
9589
  type Builtin$1w = Date | Function | Uint8Array | string | number | boolean | undefined;
9590
9590
  type DeepPartial$1w<T> = T extends Builtin$1w ? T : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$1w<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$1w<U>> : T extends {} ? {
9591
9591
  [K in keyof T]?: DeepPartial$1w<T[K]>;
@@ -9957,7 +9957,7 @@ interface MsgTransfer {
9957
9957
  /** the channel by which the packet will be sent */
9958
9958
  sourceChannel: string;
9959
9959
  /** token to be transferred */
9960
- token?: Coin$6 | undefined;
9960
+ token?: Coin$7 | undefined;
9961
9961
  /** the sender address */
9962
9962
  sender: string;
9963
9963
  /** the recipient address on the destination chain */
@@ -12238,11 +12238,11 @@ declare class Api$j<SecurityDataType extends unknown> extends HttpClient$j<Secur
12238
12238
  * NOTE: The amount field is an Int which implements the custom method
12239
12239
  * signatures required by gogoproto.
12240
12240
  */
12241
- interface Coin$5 {
12241
+ interface Coin$6 {
12242
12242
  denom: string;
12243
12243
  amount: string;
12244
12244
  }
12245
- declare const Coin$5: MessageFns$1a<Coin$5>;
12245
+ declare const Coin$6: MessageFns$1a<Coin$6>;
12246
12246
  type Builtin$1a = Date | Function | Uint8Array | string | number | boolean | undefined;
12247
12247
  type DeepPartial$1a<T> = T extends Builtin$1a ? T : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$1a<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$1a<U>> : T extends {} ? {
12248
12248
  [K in keyof T]?: DeepPartial$1a<T[K]>;
@@ -12266,7 +12266,7 @@ interface MessageFns$1a<T> {
12266
12266
  interface Period {
12267
12267
  /** Period duration in seconds. */
12268
12268
  length: Long;
12269
- amount: Coin$5[];
12269
+ amount: Coin$6[];
12270
12270
  }
12271
12271
  declare const Period: MessageFns$19<Period>;
12272
12272
  type Builtin$19 = Date | Function | Uint8Array | string | number | boolean | undefined;
@@ -12295,7 +12295,7 @@ interface MessageFns$19<T> {
12295
12295
  interface MsgCreateVestingAccount {
12296
12296
  fromAddress: string;
12297
12297
  toAddress: string;
12298
- amount: Coin$5[];
12298
+ amount: Coin$6[];
12299
12299
  /** end of vesting as unix time (in seconds). */
12300
12300
  endTime: Long;
12301
12301
  delayed: boolean;
@@ -12308,7 +12308,7 @@ declare const MsgCreateVestingAccount: MessageFns$18<MsgCreateVestingAccount>;
12308
12308
  interface MsgCreatePermanentLockedAccount {
12309
12309
  fromAddress: string;
12310
12310
  toAddress: string;
12311
- amount: Coin$5[];
12311
+ amount: Coin$6[];
12312
12312
  }
12313
12313
  declare const MsgCreatePermanentLockedAccount: MessageFns$18<MsgCreatePermanentLockedAccount>;
12314
12314
  /**
@@ -17000,11 +17000,11 @@ interface MessageFns$14<T> {
17000
17000
  * NOTE: The amount field is an Int which implements the custom method
17001
17001
  * signatures required by gogoproto.
17002
17002
  */
17003
- interface Coin$4 {
17003
+ interface Coin$5 {
17004
17004
  denom: string;
17005
17005
  amount: string;
17006
17006
  }
17007
- declare const Coin$4: MessageFns$13<Coin$4>;
17007
+ declare const Coin$5: MessageFns$13<Coin$5>;
17008
17008
  type Builtin$13 = Date | Function | Uint8Array | string | number | boolean | undefined;
17009
17009
  type DeepPartial$13<T> = T extends Builtin$13 ? T : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$13<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$13<U>> : T extends {} ? {
17010
17010
  [K in keyof T]?: DeepPartial$13<T[K]>;
@@ -20785,7 +20785,7 @@ interface MsgCreateValidator {
20785
20785
  delegatorAddress: string;
20786
20786
  validatorAddress: string;
20787
20787
  pubkey?: Any$4 | undefined;
20788
- value?: Coin$4 | undefined;
20788
+ value?: Coin$5 | undefined;
20789
20789
  }
20790
20790
  declare const MsgCreateValidator: MessageFns$$<MsgCreateValidator>;
20791
20791
  /** MsgEditValidator defines a SDK message for editing an existing validator. */
@@ -20809,7 +20809,7 @@ declare const MsgEditValidator: MessageFns$$<MsgEditValidator>;
20809
20809
  interface MsgDelegate {
20810
20810
  delegatorAddress: string;
20811
20811
  validatorAddress: string;
20812
- amount?: Coin$4 | undefined;
20812
+ amount?: Coin$5 | undefined;
20813
20813
  }
20814
20814
  declare const MsgDelegate: MessageFns$$<MsgDelegate>;
20815
20815
  /**
@@ -20820,7 +20820,7 @@ interface MsgBeginRedelegate {
20820
20820
  delegatorAddress: string;
20821
20821
  validatorSrcAddress: string;
20822
20822
  validatorDstAddress: string;
20823
- amount?: Coin$4 | undefined;
20823
+ amount?: Coin$5 | undefined;
20824
20824
  }
20825
20825
  declare const MsgBeginRedelegate: MessageFns$$<MsgBeginRedelegate>;
20826
20826
  /**
@@ -20830,7 +20830,7 @@ declare const MsgBeginRedelegate: MessageFns$$<MsgBeginRedelegate>;
20830
20830
  interface MsgUndelegate {
20831
20831
  delegatorAddress: string;
20832
20832
  validatorAddress: string;
20833
- amount?: Coin$4 | undefined;
20833
+ amount?: Coin$5 | undefined;
20834
20834
  }
20835
20835
  declare const MsgUndelegate: MessageFns$$<MsgUndelegate>;
20836
20836
  /** MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator */
@@ -20838,7 +20838,7 @@ interface MsgCancelUnbondingDelegation {
20838
20838
  delegatorAddress: string;
20839
20839
  validatorAddress: string;
20840
20840
  /** amount is always less than or equal to unbonding delegation entry balance */
20841
- amount?: Coin$4 | undefined;
20841
+ amount?: Coin$5 | undefined;
20842
20842
  /** creation_height is the height which the unbonding took place. */
20843
20843
  creationHeight: Long;
20844
20844
  }
@@ -26097,11 +26097,11 @@ interface MessageFns$N<T> {
26097
26097
  * NOTE: The amount field is an Int which implements the custom method
26098
26098
  * signatures required by gogoproto.
26099
26099
  */
26100
- interface Coin$3 {
26100
+ interface Coin$4 {
26101
26101
  denom: string;
26102
26102
  amount: string;
26103
26103
  }
26104
- declare const Coin$3: MessageFns$M<Coin$3>;
26104
+ declare const Coin$4: MessageFns$M<Coin$4>;
26105
26105
  type Builtin$M = Date | Function | Uint8Array | string | number | boolean | undefined;
26106
26106
  type DeepPartial$M<T> = T extends Builtin$M ? T : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$M<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$M<U>> : T extends {} ? {
26107
26107
  [K in keyof T]?: DeepPartial$M<T[K]>;
@@ -27376,7 +27376,7 @@ interface MsgSubmitProposal$1 {
27376
27376
  /** content is the proposal's content. */
27377
27377
  content?: Any$2 | undefined;
27378
27378
  /** initial_deposit is the deposit value that must be paid at proposal submission. */
27379
- initialDeposit: Coin$3[];
27379
+ initialDeposit: Coin$4[];
27380
27380
  /** proposer is the account address of the proposer. */
27381
27381
  proposer: string;
27382
27382
  }
@@ -27408,7 +27408,7 @@ interface MsgDeposit$1 {
27408
27408
  /** depositor defines the deposit addresses from the proposals. */
27409
27409
  depositor: string;
27410
27410
  /** amount to be deposited by depositor. */
27411
- amount: Coin$3[];
27411
+ amount: Coin$4[];
27412
27412
  }
27413
27413
  declare const MsgDeposit$1: MessageFns$I<MsgDeposit$1>;
27414
27414
  type Builtin$I = Date | Function | Uint8Array | string | number | boolean | undefined;
@@ -27727,11 +27727,11 @@ interface MessageFns$G<T> {
27727
27727
  * NOTE: The amount field is an Int which implements the custom method
27728
27728
  * signatures required by gogoproto.
27729
27729
  */
27730
- interface Coin$2 {
27730
+ interface Coin$3 {
27731
27731
  denom: string;
27732
27732
  amount: string;
27733
27733
  }
27734
- declare const Coin$2: MessageFns$F<Coin$2>;
27734
+ declare const Coin$3: MessageFns$F<Coin$3>;
27735
27735
  type Builtin$F = Date | Function | Uint8Array | string | number | boolean | undefined;
27736
27736
  type DeepPartial$F<T> = T extends Builtin$F ? T : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$F<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$F<U>> : T extends {} ? {
27737
27737
  [K in keyof T]?: DeepPartial$F<T[K]>;
@@ -27807,7 +27807,7 @@ declare const WeightedVoteOption: MessageFns$E<WeightedVoteOption>;
27807
27807
  /** Params defines the parameters for the x/gov module. */
27808
27808
  interface Params$4 {
27809
27809
  /** Minimum deposit for a proposal to enter voting period. */
27810
- minDeposit: Coin$2[];
27810
+ minDeposit: Coin$3[];
27811
27811
  /**
27812
27812
  * Maximum period for Atom holders to deposit on a proposal. Initial value: 2
27813
27813
  * months.
@@ -27841,7 +27841,7 @@ interface Params$4 {
27841
27841
  /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.67. */
27842
27842
  expeditedThreshold: string;
27843
27843
  /** Minimum expedited deposit for a proposal to enter voting period. */
27844
- expeditedMinDeposit: Coin$2[];
27844
+ expeditedMinDeposit: Coin$3[];
27845
27845
  /** burn deposits if a proposal does not meet quorum */
27846
27846
  burnVoteQuorum: boolean;
27847
27847
  /** burn deposits if the proposal does not enter voting period */
@@ -29332,7 +29332,7 @@ interface MsgSubmitProposal {
29332
29332
  /** messages are the arbitrary messages to be executed if proposal passes. */
29333
29333
  messages: Any$1[];
29334
29334
  /** initial_deposit is the deposit value that must be paid at proposal submission. */
29335
- initialDeposit: Coin$2[];
29335
+ initialDeposit: Coin$3[];
29336
29336
  /** proposer is the account address of the proposer. */
29337
29337
  proposer: string;
29338
29338
  /** metadata is any arbitrary metadata attached to the proposal. */
@@ -29387,7 +29387,7 @@ interface MsgDeposit {
29387
29387
  /** depositor defines the deposit addresses from the proposals. */
29388
29388
  depositor: string;
29389
29389
  /** amount to be deposited by depositor. */
29390
- amount: Coin$2[];
29390
+ amount: Coin$3[];
29391
29391
  }
29392
29392
  declare const MsgDeposit: MessageFns$B<MsgDeposit>;
29393
29393
  /** MsgUpdateParams is the Msg/UpdateParams request type. */
@@ -30014,11 +30014,11 @@ interface MessageFns$z<T> {
30014
30014
  * NOTE: The amount field is an Int which implements the custom method
30015
30015
  * signatures required by gogoproto.
30016
30016
  */
30017
- interface Coin$1 {
30017
+ interface Coin$2 {
30018
30018
  denom: string;
30019
30019
  amount: string;
30020
30020
  }
30021
- declare const Coin$1: MessageFns$y<Coin$1>;
30021
+ declare const Coin$2: MessageFns$y<Coin$2>;
30022
30022
  type Builtin$y = Date | Function | Uint8Array | string | number | boolean | undefined;
30023
30023
  type DeepPartial$y<T> = T extends Builtin$y ? T : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$y<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$y<U>> : T extends {} ? {
30024
30024
  [K in keyof T]?: DeepPartial$y<T[K]>;
@@ -30513,7 +30513,7 @@ declare const MsgWithdrawValidatorCommission: MessageFns$v<MsgWithdrawValidatorC
30513
30513
  * fund the community pool.
30514
30514
  */
30515
30515
  interface MsgFundCommunityPool {
30516
- amount: Coin$1[];
30516
+ amount: Coin$2[];
30517
30517
  depositor: string;
30518
30518
  }
30519
30519
  declare const MsgFundCommunityPool: MessageFns$v<MsgFundCommunityPool>;
@@ -30538,7 +30538,7 @@ interface MsgCommunityPoolSpend {
30538
30538
  /** authority is the address that controls the module (defaults to x/gov unless overwritten). */
30539
30539
  authority: string;
30540
30540
  recipient: string;
30541
- amount: Coin$1[];
30541
+ amount: Coin$2[];
30542
30542
  }
30543
30543
  declare const MsgCommunityPoolSpend: MessageFns$v<MsgCommunityPoolSpend>;
30544
30544
  /**
@@ -30548,7 +30548,7 @@ declare const MsgCommunityPoolSpend: MessageFns$v<MsgCommunityPoolSpend>;
30548
30548
  interface MsgDepositValidatorRewardsPool {
30549
30549
  depositor: string;
30550
30550
  validatorAddress: string;
30551
- amount: Coin$1[];
30551
+ amount: Coin$2[];
30552
30552
  }
30553
30553
  declare const MsgDepositValidatorRewardsPool: MessageFns$v<MsgDepositValidatorRewardsPool>;
30554
30554
  type Builtin$v = Date | Function | Uint8Array | string | number | boolean | undefined;
@@ -39976,11 +39976,11 @@ interface MessageFns$p<T> {
39976
39976
  * NOTE: The amount field is an Int which implements the custom method
39977
39977
  * signatures required by gogoproto.
39978
39978
  */
39979
- interface Coin {
39979
+ interface Coin$1 {
39980
39980
  denom: string;
39981
39981
  amount: string;
39982
39982
  }
39983
- declare const Coin: MessageFns$o<Coin>;
39983
+ declare const Coin$1: MessageFns$o<Coin$1>;
39984
39984
  type Builtin$o = Date | Function | Uint8Array | string | number | boolean | undefined;
39985
39985
  type DeepPartial$o<T> = T extends Builtin$o ? T : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$o<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$o<U>> : T extends {} ? {
39986
39986
  [K in keyof T]?: DeepPartial$o<T[K]>;
@@ -40027,13 +40027,13 @@ declare const SendEnabled: MessageFns$n<SendEnabled>;
40027
40027
  /** Input models transaction input. */
40028
40028
  interface Input {
40029
40029
  address: string;
40030
- coins: Coin[];
40030
+ coins: Coin$1[];
40031
40031
  }
40032
40032
  declare const Input: MessageFns$n<Input>;
40033
40033
  /** Output models transaction outputs. */
40034
40034
  interface Output {
40035
40035
  address: string;
40036
- coins: Coin[];
40036
+ coins: Coin$1[];
40037
40037
  }
40038
40038
  declare const Output: MessageFns$n<Output>;
40039
40039
  type Builtin$n = Date | Function | Uint8Array | string | number | boolean | undefined;
@@ -41009,7 +41009,7 @@ declare class Api$5<SecurityDataType extends unknown> extends HttpClient$5<Secur
41009
41009
  interface MsgSend$1 {
41010
41010
  fromAddress: string;
41011
41011
  toAddress: string;
41012
- amount: Coin[];
41012
+ amount: Coin$1[];
41013
41013
  }
41014
41014
  declare const MsgSend$1: MessageFns$l<MsgSend$1>;
41015
41015
  /** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */
@@ -45771,9 +45771,9 @@ type Block = {
45771
45771
  txs: string[];
45772
45772
  };
45773
45773
  evidence?: {
45774
- evidence?: any[];
45774
+ evidence?: unknown[];
45775
45775
  };
45776
- last_commit?: any;
45776
+ last_commit?: unknown;
45777
45777
  };
45778
45778
  type BlockResponse = {
45779
45779
  block_id: BlockID;
@@ -46594,6 +46594,95 @@ declare class PokerGameIntegration {
46594
46594
  };
46595
46595
  }
46596
46596
 
46597
+ /**
46598
+ * JSON shapes returned by the chain's REST (grpc-gateway) endpoints. Field
46599
+ * names are the proto names (snake_case) and 64-bit integers arrive as strings,
46600
+ * so these differ from the generated camelCase protobuf types (poker-vm#1939).
46601
+ */
46602
+ /** A protobuf `Any` as JSON: its type URL under "@type", then the message's own fields. */
46603
+ type ProtoAnyJSON = {
46604
+ "@type": string;
46605
+ [field: string]: unknown;
46606
+ };
46607
+ /** An account public key as JSON (e.g. "/cosmos.crypto.secp256k1.PubKey"). */
46608
+ type PubKeyJSON = {
46609
+ "@type": string;
46610
+ key: string;
46611
+ };
46612
+ /** The account inside GET /cosmos/auth/v1beta1/accounts/{address}. */
46613
+ type CustomAccountResponse = {
46614
+ "@type"?: string;
46615
+ address: string;
46616
+ pub_key?: PubKeyJSON | null;
46617
+ account_number: string;
46618
+ sequence: string;
46619
+ };
46620
+ /** GET /cosmos/auth/v1beta1/accounts/{address} */
46621
+ type AccountQueryResponse = {
46622
+ account: CustomAccountResponse;
46623
+ };
46624
+ type TxEventAttribute = {
46625
+ key: string;
46626
+ value: string;
46627
+ index?: boolean;
46628
+ };
46629
+ type TxEvent = {
46630
+ type: string;
46631
+ attributes: TxEventAttribute[];
46632
+ };
46633
+ type TxLog = {
46634
+ msg_index: number;
46635
+ log: string;
46636
+ events: TxEvent[];
46637
+ };
46638
+ /** A decoded transaction as JSON. */
46639
+ type TxJSON = {
46640
+ "@type"?: string;
46641
+ body?: {
46642
+ messages: ProtoAnyJSON[];
46643
+ memo?: string;
46644
+ timeout_height?: string;
46645
+ };
46646
+ auth_info?: ProtoAnyJSON | Record<string, unknown>;
46647
+ signatures?: string[];
46648
+ };
46649
+ interface TxResponse {
46650
+ height: string;
46651
+ txhash: string;
46652
+ codespace?: string;
46653
+ code?: number;
46654
+ data?: string;
46655
+ raw_log: string;
46656
+ logs?: TxLog[];
46657
+ info?: string;
46658
+ gas_wanted: string;
46659
+ gas_used: string;
46660
+ tx?: TxJSON;
46661
+ timestamp: string;
46662
+ events?: TxEvent[];
46663
+ }
46664
+ /** GET /cosmos/tx/v1beta1/txs/{hash} */
46665
+ type GetTxResponse = {
46666
+ tx?: TxJSON;
46667
+ tx_response: TxResponse;
46668
+ };
46669
+ /** A withdrawal request from GET /block52/pokerchain/poker/v1/withdrawal_request(s). */
46670
+ type WithdrawalRequestResponse = {
46671
+ nonce: string;
46672
+ cosmos_address: string;
46673
+ base_address: string;
46674
+ /** USDC micro-units. */
46675
+ amount: string;
46676
+ /** "pending", "signed" or "completed". */
46677
+ status: string;
46678
+ /** Base64 validator signature, null until signed. */
46679
+ signature: string | null;
46680
+ /** Unix seconds. */
46681
+ created_at: string;
46682
+ /** Unix seconds, "0" until completed on Base. */
46683
+ completed_at: string;
46684
+ };
46685
+
46597
46686
  declare global {
46598
46687
  interface KeplrIntereactionOptions {
46599
46688
  readonly sign?: KeplrSignOptions;
@@ -46620,6 +46709,10 @@ declare const COSMOS_CONSTANTS: {
46620
46709
  readonly GAME_CREATION_COST: 1;
46621
46710
  readonly DEFAULT_GAS_PRICE: "0stake";
46622
46711
  };
46712
+ interface Coin {
46713
+ denom: string;
46714
+ amount: string;
46715
+ }
46623
46716
  interface CosmosConfig {
46624
46717
  rpcEndpoint: string;
46625
46718
  restEndpoint: string;
@@ -46657,11 +46750,11 @@ interface EquityResponse {
46657
46750
  }
46658
46751
 
46659
46752
  interface IClient {
46660
- getAccount(address: string): Promise<any>;
46661
- getAllBalances(address: string): Promise<any[]>;
46753
+ getAccount(address: string): Promise<AccountQueryResponse>;
46754
+ getAllBalances(address: string): Promise<Coin[]>;
46662
46755
  getBalance(address: string, denom?: string): Promise<bigint>;
46663
46756
  getHeight(): Promise<number>;
46664
- getTx(txHash: string): Promise<any>;
46757
+ getTx(txHash: string): Promise<GetTxResponse>;
46665
46758
  getBlock(height: number): Promise<BlockResponse>;
46666
46759
  getLatestBlock(): Promise<BlockResponse>;
46667
46760
  getBlocks(startHeight: number, count?: number): Promise<BlockResponse[]>;
@@ -46682,7 +46775,7 @@ interface IClient {
46682
46775
  joinGame(gameId: string, seat: number, buyInAmount: bigint): Promise<string>;
46683
46776
  createGame(gameFormat: string, gameVariant: string, minPlayers: number, maxPlayers: number, minBuyInB52USDC: bigint, maxBuyInB52USDC: bigint, smallBlindB52USDC: bigint, bigBlindB52USDC: bigint, timeout: number): Promise<string>;
46684
46777
  initiateWithdrawal(baseAddress: string, amount: bigint): Promise<string>;
46685
- listWithdrawalRequests(cosmosAddress?: string): Promise<any[]>;
46778
+ listWithdrawalRequests(cosmosAddress?: string): Promise<WithdrawalRequestResponse[]>;
46686
46779
  disconnect(): Promise<void>;
46687
46780
  }
46688
46781
 
@@ -46693,11 +46786,11 @@ declare class CosmosClient implements IClient {
46693
46786
  /**
46694
46787
  * Get account information via REST API
46695
46788
  */
46696
- getAccount(address: string): Promise<any>;
46789
+ getAccount(address: string): Promise<AccountQueryResponse>;
46697
46790
  /**
46698
46791
  * Get all coin balances for an address via REST API
46699
46792
  */
46700
- getAllBalances(address: string): Promise<any[]>;
46793
+ getAllBalances(address: string): Promise<Coin[]>;
46701
46794
  /**
46702
46795
  * Get specific coin balance for an address via REST API
46703
46796
  */
@@ -46709,7 +46802,7 @@ declare class CosmosClient implements IClient {
46709
46802
  /**
46710
46803
  * Get transaction by hash via REST API
46711
46804
  */
46712
- getTx(txHash: string): Promise<any>;
46805
+ getTx(txHash: string): Promise<GetTxResponse>;
46713
46806
  /**
46714
46807
  * Get a specific block by height via REST API
46715
46808
  */
@@ -46782,7 +46875,7 @@ declare class CosmosClient implements IClient {
46782
46875
  /**
46783
46876
  * List withdrawal requests via REST API
46784
46877
  */
46785
- listWithdrawalRequests(cosmosAddress?: string): Promise<any[]>;
46878
+ listWithdrawalRequests(cosmosAddress?: string): Promise<WithdrawalRequestResponse[]>;
46786
46879
  /**
46787
46880
  * Calculate equity for multiple hands using Monte Carlo simulation
46788
46881
  * Used when players are all-in and showing to display win percentages
@@ -47114,11 +47207,11 @@ declare class SigningCosmosClient extends CosmosClient {
47114
47207
  /**
47115
47208
  * Query a specific withdrawal request by nonce
47116
47209
  */
47117
- getWithdrawalRequest(nonce: string): Promise<any>;
47210
+ getWithdrawalRequest(nonce: string): Promise<WithdrawalRequestResponse>;
47118
47211
  /**
47119
47212
  * List all withdrawal requests for a specific address (or all if no address provided)
47120
47213
  */
47121
- listWithdrawalRequests(cosmosAddress?: string): Promise<any[]>;
47214
+ listWithdrawalRequests(cosmosAddress?: string): Promise<WithdrawalRequestResponse[]>;
47122
47215
  /**
47123
47216
  * Register an NFT avatar on-chain
47124
47217
  * Associates a cosmos address with an Ethereum NFT (contract + tokenId)
@@ -47126,18 +47219,16 @@ declare class SigningCosmosClient extends CosmosClient {
47126
47219
  */
47127
47220
  registerNftAvatar(ethAddress: string, contractAddress: string, tokenId: string, ethSignature: string): Promise<string>;
47128
47221
  /**
47129
- * Get next action index for a game - matches original client pattern
47130
- * Checks previousActions array first, falls back to actionCount + 1
47131
- */
47132
- private getNextActionIndex;
47133
- /**
47134
- * Query all games from the blockchain
47222
+ * Query all games from the blockchain.
47223
+ * Same as listGames(); the old /pokerchain/poker/v1/games path is a 501 (poker-vm#1939).
47135
47224
  */
47136
- queryGames(): Promise<any[]>;
47225
+ queryGames(): Promise<GameListItem[]>;
47137
47226
  /**
47138
- * Query game state for a specific game
47227
+ * Query the public game state for a game (hole cards masked), or null when the
47228
+ * chain has none. Uses game_state_public: the game_state query needs a signed
47229
+ * player address (poker-vm#1939).
47139
47230
  */
47140
- queryGameState(gameId: string): Promise<any>;
47231
+ queryGameState(gameId: string): Promise<TexasHoldemStateDTO | null>;
47141
47232
  /**
47142
47233
  * Disconnect the signing client
47143
47234
  */