@block52/poker-vm-sdk 1.4.1 → 1.6.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 +0 -1
- package/dist/IClient.d.ts.map +1 -1
- package/dist/cosmosClient.d.ts +0 -1
- package/dist/cosmosClient.d.ts.map +1 -1
- package/dist/index.d.ts +106 -35
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +9985 -273
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +9991 -271
- package/dist/index.js.map +1 -1
- package/dist/pokerchain.poker.v1/module.d.ts +1 -12
- package/dist/pokerchain.poker.v1/module.d.ts.map +1 -1
- package/dist/pokerchain.poker.v1/registry.d.ts.map +1 -1
- package/dist/pokerchain.poker.v1/types/pokerchain/poker/v1/tx.d.ts +6 -26
- package/dist/pokerchain.poker.v1/types/pokerchain/poker/v1/tx.d.ts.map +1 -1
- package/dist/signingClient.d.ts +24 -7
- package/dist/signingClient.d.ts.map +1 -1
- package/dist/staking.d.ts +37 -0
- package/dist/staking.d.ts.map +1 -0
- package/dist/types/game.d.ts +18 -0
- package/dist/types/game.d.ts.map +1 -1
- package/dist/utils/gameFormatUtils.d.ts +23 -1
- package/dist/utils/gameFormatUtils.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/IClient.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ export interface IClient {
|
|
|
25
25
|
joinGame(gameId: string, seat: number, buyInAmount: bigint): Promise<string>;
|
|
26
26
|
createGame(gameFormat: string, gameVariant: string, minPlayers: number, maxPlayers: number, minBuyInB52USDC: bigint, maxBuyInB52USDC: bigint, smallBlindB52USDC: bigint, bigBlindB52USDC: bigint, timeout: number): Promise<string>;
|
|
27
27
|
initiateWithdrawal(baseAddress: string, amount: bigint): Promise<string>;
|
|
28
|
-
signWithdrawal(nonce: string, validatorEthKeyHex: string): Promise<string>;
|
|
29
28
|
listWithdrawalRequests(cosmosAddress?: string): Promise<any[]>;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,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,GAAG,EAAE,CAAC,CAAC;IAC/D,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/B"}
|
package/dist/cosmosClient.d.ts
CHANGED
|
@@ -94,7 +94,6 @@ export declare class CosmosClient implements IClient {
|
|
|
94
94
|
* Initiate a withdrawal request via REST API
|
|
95
95
|
*/
|
|
96
96
|
initiateWithdrawal(baseAddress: string, amount: bigint): Promise<string>;
|
|
97
|
-
signWithdrawal(nonce: string, validatorEthKeyHex: string): Promise<string>;
|
|
98
97
|
/**
|
|
99
98
|
* List withdrawal requests via REST API
|
|
100
99
|
*/
|
|
@@ -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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U,EACf,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,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
|
@@ -44946,6 +44946,12 @@ interface MsgCreateGame {
|
|
|
44946
44946
|
* globally unique, $0.10/char to validators. Empty = unnamed. (block52/pokerchain#337)
|
|
44947
44947
|
*/
|
|
44948
44948
|
name: string;
|
|
44949
|
+
/**
|
|
44950
|
+
* Betting structure (field 20): "no-limit" | "pot-limit". Empty = the
|
|
44951
|
+
* variant's default, pot-limit for omaha, no-limit for texas-holdem.
|
|
44952
|
+
* (block52/pokerchain#407)
|
|
44953
|
+
*/
|
|
44954
|
+
bettingLimit: string;
|
|
44949
44955
|
}
|
|
44950
44956
|
declare const MsgCreateGame: MessageFns<MsgCreateGame>;
|
|
44951
44957
|
/** MsgJoinGame defines the MsgJoinGame message. */
|
|
@@ -45030,20 +45036,6 @@ interface MsgInitiateWithdrawal {
|
|
|
45030
45036
|
baseAddress: string;
|
|
45031
45037
|
}
|
|
45032
45038
|
declare const MsgInitiateWithdrawal: MessageFns<MsgInitiateWithdrawal>;
|
|
45033
|
-
/**
|
|
45034
|
-
* MsgSignWithdrawal defines the MsgSignWithdrawal message.
|
|
45035
|
-
* Allows validators to manually sign pending withdrawal requests.
|
|
45036
|
-
* The signer must provide their Ethereum private key to generate the signature.
|
|
45037
|
-
*/
|
|
45038
|
-
interface MsgSignWithdrawal {
|
|
45039
|
-
/** Validator address */
|
|
45040
|
-
signer: string;
|
|
45041
|
-
/** Withdrawal nonce to sign */
|
|
45042
|
-
nonce: string;
|
|
45043
|
-
/** Validator's Ethereum private key (hex format, 64 chars without 0x prefix) */
|
|
45044
|
-
validatorEthKeyHex: string;
|
|
45045
|
-
}
|
|
45046
|
-
declare const MsgSignWithdrawal: MessageFns<MsgSignWithdrawal>;
|
|
45047
45039
|
/**
|
|
45048
45040
|
* MsgTopUp defines the MsgTopUp message.
|
|
45049
45041
|
* Allows a player to add chips to their stack when not in an active hand.
|
|
@@ -45135,11 +45127,6 @@ type sendMsgInitiateWithdrawalParams = {
|
|
|
45135
45127
|
fee?: StdFee;
|
|
45136
45128
|
memo?: string;
|
|
45137
45129
|
};
|
|
45138
|
-
type sendMsgSignWithdrawalParams = {
|
|
45139
|
-
value: MsgSignWithdrawal;
|
|
45140
|
-
fee?: StdFee;
|
|
45141
|
-
memo?: string;
|
|
45142
|
-
};
|
|
45143
45130
|
type sendMsgTopUpParams = {
|
|
45144
45131
|
value: MsgTopUp;
|
|
45145
45132
|
fee?: StdFee;
|
|
@@ -45180,9 +45167,6 @@ type msgProcessDepositParams = {
|
|
|
45180
45167
|
type msgInitiateWithdrawalParams = {
|
|
45181
45168
|
value: MsgInitiateWithdrawal;
|
|
45182
45169
|
};
|
|
45183
|
-
type msgSignWithdrawalParams = {
|
|
45184
|
-
value: MsgSignWithdrawal;
|
|
45185
|
-
};
|
|
45186
45170
|
type msgTopUpParams = {
|
|
45187
45171
|
value: MsgTopUp;
|
|
45188
45172
|
};
|
|
@@ -45205,7 +45189,6 @@ declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
|
45205
45189
|
sendMsgBurn({ value, fee, memo }: sendMsgBurnParams): Promise<DeliverTxResponse>;
|
|
45206
45190
|
sendMsgProcessDeposit({ value, fee, memo }: sendMsgProcessDepositParams): Promise<DeliverTxResponse>;
|
|
45207
45191
|
sendMsgInitiateWithdrawal({ value, fee, memo }: sendMsgInitiateWithdrawalParams): Promise<DeliverTxResponse>;
|
|
45208
|
-
sendMsgSignWithdrawal({ value, fee, memo }: sendMsgSignWithdrawalParams): Promise<DeliverTxResponse>;
|
|
45209
45192
|
sendMsgTopUp({ value, fee, memo }: sendMsgTopUpParams): Promise<DeliverTxResponse>;
|
|
45210
45193
|
sendMsgDeleteGame({ value, fee, memo }: sendMsgDeleteGameParams): Promise<DeliverTxResponse>;
|
|
45211
45194
|
msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject;
|
|
@@ -45218,7 +45201,6 @@ declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
|
45218
45201
|
msgBurn({ value }: msgBurnParams): EncodeObject;
|
|
45219
45202
|
msgProcessDeposit({ value }: msgProcessDepositParams): EncodeObject;
|
|
45220
45203
|
msgInitiateWithdrawal({ value }: msgInitiateWithdrawalParams): EncodeObject;
|
|
45221
|
-
msgSignWithdrawal({ value }: msgSignWithdrawalParams): EncodeObject;
|
|
45222
45204
|
msgTopUp({ value }: msgTopUpParams): EncodeObject;
|
|
45223
45205
|
msgDeleteGame({ value }: msgDeleteGameParams): EncodeObject;
|
|
45224
45206
|
};
|
|
@@ -45266,6 +45248,7 @@ declare enum NonPlayerActionType {
|
|
|
45266
45248
|
SIT_IN_AND_WAIT = "sit-in-and-wait",
|
|
45267
45249
|
SIT_OUT = "sit-out",
|
|
45268
45250
|
TIMEOUT = "timeout",
|
|
45251
|
+
TIME_BANK = "time-bank",
|
|
45269
45252
|
TOP_UP = "top-up"
|
|
45270
45253
|
}
|
|
45271
45254
|
declare const AllPlayerActions: {
|
|
@@ -45280,6 +45263,7 @@ declare const AllPlayerActions: {
|
|
|
45280
45263
|
SIT_IN_AND_WAIT: NonPlayerActionType.SIT_IN_AND_WAIT;
|
|
45281
45264
|
SIT_OUT: NonPlayerActionType.SIT_OUT;
|
|
45282
45265
|
TIMEOUT: NonPlayerActionType.TIMEOUT;
|
|
45266
|
+
TIME_BANK: NonPlayerActionType.TIME_BANK;
|
|
45283
45267
|
TOP_UP: NonPlayerActionType.TOP_UP;
|
|
45284
45268
|
SMALL_BLIND: PlayerActionType.SMALL_BLIND;
|
|
45285
45269
|
BIG_BLIND: PlayerActionType.BIG_BLIND;
|
|
@@ -45308,6 +45292,16 @@ declare enum GameVariant {
|
|
|
45308
45292
|
TEXAS_HOLDEM = "texas-holdem",
|
|
45309
45293
|
OMAHA = "omaha"
|
|
45310
45294
|
}
|
|
45295
|
+
/**
|
|
45296
|
+
* BettingLimit — the table's betting structure. Orthogonal to GameVariant: any
|
|
45297
|
+
* variant can be played at any limit (pot-limit Omaha, pot-limit Hold'em,
|
|
45298
|
+
* fixed-limit Hold'em, …). Absent on GameOptions ⇒ no-limit (current behavior).
|
|
45299
|
+
*/
|
|
45300
|
+
declare enum BettingLimit {
|
|
45301
|
+
NO_LIMIT = "no-limit",
|
|
45302
|
+
POT_LIMIT = "pot-limit",
|
|
45303
|
+
FIXED_LIMIT = "fixed-limit"
|
|
45304
|
+
}
|
|
45311
45305
|
declare enum GameStatus {
|
|
45312
45306
|
WAITING_FOR_PLAYERS = "waiting-for-players",
|
|
45313
45307
|
REGISTRATION = "registration",
|
|
@@ -45372,6 +45366,8 @@ type GameOptions = {
|
|
|
45372
45366
|
blindLevel?: number;
|
|
45373
45367
|
sngStartTime?: number;
|
|
45374
45368
|
levelStartTime?: number;
|
|
45369
|
+
timeBankMs?: number;
|
|
45370
|
+
timeBankCapMs?: number;
|
|
45375
45371
|
otherOptions?: Record<string, any>;
|
|
45376
45372
|
};
|
|
45377
45373
|
/**
|
|
@@ -45405,6 +45401,9 @@ type GameOptionsDTO = {
|
|
|
45405
45401
|
nextBigBlind?: string;
|
|
45406
45402
|
sngStartTime?: number;
|
|
45407
45403
|
levelStartTime?: number;
|
|
45404
|
+
timeBankMs?: number;
|
|
45405
|
+
timeBankCapMs?: number;
|
|
45406
|
+
bettingLimit?: BettingLimit;
|
|
45408
45407
|
otherOptions?: Record<string, any>;
|
|
45409
45408
|
};
|
|
45410
45409
|
type ActionDTO = {
|
|
@@ -45455,6 +45454,7 @@ type PlayerDTO = {
|
|
|
45455
45454
|
sitInMethod?: SitInMethod;
|
|
45456
45455
|
pendingSitOut?: string;
|
|
45457
45456
|
pendingTopUpAmount?: string;
|
|
45457
|
+
timeBankRemainingMs?: number;
|
|
45458
45458
|
signature: string;
|
|
45459
45459
|
};
|
|
45460
45460
|
type ResultDTO = {
|
|
@@ -45958,6 +45958,28 @@ declare const getGameVariant: (variant: GameVariant | string | undefined) => Gam
|
|
|
45958
45958
|
* @returns GameVariant enum value, or "unknown" if invalid
|
|
45959
45959
|
*/
|
|
45960
45960
|
declare const parseGameVariant: (value: string | undefined) => GameVariant | "unknown";
|
|
45961
|
+
/**
|
|
45962
|
+
* The betting structure a table plays. The engine treats an absent
|
|
45963
|
+
* `gameOptions.bettingLimit` as no-limit (poker-vm#2652), so this mirrors that
|
|
45964
|
+
* rule rather than inventing a default (block52/pokerchain#407).
|
|
45965
|
+
*
|
|
45966
|
+
* @param options - the table's gameOptions (or anything carrying bettingLimit)
|
|
45967
|
+
* @returns the table's BettingLimit
|
|
45968
|
+
*/
|
|
45969
|
+
declare const getBettingLimit: (options: {
|
|
45970
|
+
bettingLimit?: BettingLimit;
|
|
45971
|
+
} | undefined) => BettingLimit;
|
|
45972
|
+
/**
|
|
45973
|
+
* Check whether a table is pot-limit (its max bet or raise is the pot cap).
|
|
45974
|
+
*/
|
|
45975
|
+
declare const isPotLimit: (options: {
|
|
45976
|
+
bettingLimit?: BettingLimit;
|
|
45977
|
+
} | undefined) => boolean;
|
|
45978
|
+
/**
|
|
45979
|
+
* How many hole cards a variant deals each player: 4 for Omaha, 2 for Texas
|
|
45980
|
+
* Hold'em. Mirrors the engine's HoleCardsPerPlayer (poker-vm#2650).
|
|
45981
|
+
*/
|
|
45982
|
+
declare const holeCardsPerPlayer: (variant: GameVariant | string | undefined) => number;
|
|
45961
45983
|
|
|
45962
45984
|
/**
|
|
45963
45985
|
* Check if a specific action is available in the legal actions list.
|
|
@@ -46405,7 +46427,6 @@ interface IClient {
|
|
|
46405
46427
|
joinGame(gameId: string, seat: number, buyInAmount: bigint): Promise<string>;
|
|
46406
46428
|
createGame(gameFormat: string, gameVariant: string, minPlayers: number, maxPlayers: number, minBuyInB52USDC: bigint, maxBuyInB52USDC: bigint, smallBlindB52USDC: bigint, bigBlindB52USDC: bigint, timeout: number): Promise<string>;
|
|
46407
46429
|
initiateWithdrawal(baseAddress: string, amount: bigint): Promise<string>;
|
|
46408
|
-
signWithdrawal(nonce: string, validatorEthKeyHex: string): Promise<string>;
|
|
46409
46430
|
listWithdrawalRequests(cosmosAddress?: string): Promise<any[]>;
|
|
46410
46431
|
disconnect(): Promise<void>;
|
|
46411
46432
|
}
|
|
@@ -46503,7 +46524,6 @@ declare class CosmosClient implements IClient {
|
|
|
46503
46524
|
* Initiate a withdrawal request via REST API
|
|
46504
46525
|
*/
|
|
46505
46526
|
initiateWithdrawal(baseAddress: string, amount: bigint): Promise<string>;
|
|
46506
|
-
signWithdrawal(nonce: string, validatorEthKeyHex: string): Promise<string>;
|
|
46507
46527
|
/**
|
|
46508
46528
|
* List withdrawal requests via REST API
|
|
46509
46529
|
*/
|
|
@@ -46530,6 +46550,42 @@ declare class CosmosClient implements IClient {
|
|
|
46530
46550
|
}
|
|
46531
46551
|
declare const getDefaultCosmosConfig: (domain?: string) => CosmosConfig;
|
|
46532
46552
|
|
|
46553
|
+
declare const MSG_CREATE_VALIDATOR_TYPE_URL = "/cosmos.staking.v1beta1.MsgCreateValidator";
|
|
46554
|
+
interface CreateValidatorParams {
|
|
46555
|
+
/** The operator's account address (b52…); the validator address is its valoper form. */
|
|
46556
|
+
operatorAddress: string;
|
|
46557
|
+
/**
|
|
46558
|
+
* The node's consensus key — the base64 `key` from `pokerchaind comet show-validator`
|
|
46559
|
+
* (`{"@type":"/cosmos.crypto.ed25519.PubKey","key":"…"}`). Ed25519 only.
|
|
46560
|
+
*/
|
|
46561
|
+
consensusPubkeyBase64: string;
|
|
46562
|
+
/** Self-bond in the bond denom's base units (e.g. micro-USDC). */
|
|
46563
|
+
amount: bigint;
|
|
46564
|
+
denom: string;
|
|
46565
|
+
moniker: string;
|
|
46566
|
+
identity?: string;
|
|
46567
|
+
website?: string;
|
|
46568
|
+
securityContact?: string;
|
|
46569
|
+
details?: string;
|
|
46570
|
+
/** Decimal fractions as strings, e.g. "0.10". */
|
|
46571
|
+
commissionRate: string;
|
|
46572
|
+
commissionMaxRate: string;
|
|
46573
|
+
commissionMaxChangeRate: string;
|
|
46574
|
+
/** In base units; must be positive and ≤ amount. */
|
|
46575
|
+
minSelfDelegation: bigint;
|
|
46576
|
+
}
|
|
46577
|
+
/** "0.1" → "100000000000000000" (LegacyDec atomics). Rejects anything outside [0, 1]. */
|
|
46578
|
+
declare function decToAtomics(value: string): string;
|
|
46579
|
+
/** b52… account address → b52valoper… (same bytes, `<prefix>valoper` HRP). */
|
|
46580
|
+
declare function toValoperAddress(accountAddress: string): string;
|
|
46581
|
+
/**
|
|
46582
|
+
* Build a MsgCreateValidator encode object. Pure — no network — so the wire
|
|
46583
|
+
* shape can be unit-tested. Mirrors the chain's MsgCreateValidator.Validate
|
|
46584
|
+
* (x/staking/types/msg.go, SDK 0.53) so obvious mistakes fail before signing:
|
|
46585
|
+
* the chain still enforces its own rules (e.g. pokerchain's min_validator_bond).
|
|
46586
|
+
*/
|
|
46587
|
+
declare function buildMsgCreateValidator(p: CreateValidatorParams): EncodeObject;
|
|
46588
|
+
|
|
46533
46589
|
/**
|
|
46534
46590
|
* Extended configuration for signing client
|
|
46535
46591
|
*/
|
|
@@ -46571,6 +46627,16 @@ declare class SigningCosmosClient extends CosmosClient {
|
|
|
46571
46627
|
* Get the wallet address
|
|
46572
46628
|
*/
|
|
46573
46629
|
getWalletAddress(): Promise<string>;
|
|
46630
|
+
/**
|
|
46631
|
+
* Bond a new validator: MsgCreateValidator signed by this wallet, whose
|
|
46632
|
+
* account becomes the operator (validator address = its valoper form).
|
|
46633
|
+
* The node itself must already run with the given consensus key and be
|
|
46634
|
+
* synced; the chain enforces min_validator_bond and the bond denom.
|
|
46635
|
+
* Returns the tx hash; throws TxExecutionError if the chain rejects it.
|
|
46636
|
+
*/
|
|
46637
|
+
createValidator(params: Omit<CreateValidatorParams, "operatorAddress" | "denom"> & {
|
|
46638
|
+
denom?: string;
|
|
46639
|
+
}): Promise<string>;
|
|
46574
46640
|
/**
|
|
46575
46641
|
* Send tokens from one address to another
|
|
46576
46642
|
*/
|
|
@@ -46580,9 +46646,14 @@ declare class SigningCosmosClient extends CosmosClient {
|
|
|
46580
46646
|
*/
|
|
46581
46647
|
sendB52USDC(fromAddress: string, toAddress: string, amount: bigint, memo?: string): Promise<string>;
|
|
46582
46648
|
/**
|
|
46583
|
-
* Create a new poker game
|
|
46649
|
+
* Create a new poker game.
|
|
46650
|
+
*
|
|
46651
|
+
* `bettingLimit` is the table's betting structure (block52/pokerchain#407).
|
|
46652
|
+
* Omit it for the variant's default: pot-limit for omaha (PLO), no-limit for
|
|
46653
|
+
* texas-holdem. Omitted, the field is not encoded at all, so a chain without
|
|
46654
|
+
* it accepts the tx unchanged. Fixed-limit is not playable yet (poker-vm#2654).
|
|
46584
46655
|
*/
|
|
46585
|
-
createGame(gameFormat: string, gameVariant: string, minPlayers: number, maxPlayers: number, minBuyInB52USDC: bigint, maxBuyInB52USDC: bigint, smallBlindB52USDC: bigint, bigBlindB52USDC: bigint, timeout: number, rakeConfig?: RakeConfig, sngConfig?: SNGConfig, name?: string): Promise<string>;
|
|
46656
|
+
createGame(gameFormat: string, gameVariant: string, minPlayers: number, maxPlayers: number, minBuyInB52USDC: bigint, maxBuyInB52USDC: bigint, smallBlindB52USDC: bigint, bigBlindB52USDC: bigint, timeout: number, rakeConfig?: RakeConfig, sngConfig?: SNGConfig, name?: string, bettingLimit?: BettingLimit): Promise<string>;
|
|
46586
46657
|
/**
|
|
46587
46658
|
* Join a poker game
|
|
46588
46659
|
*/
|
|
@@ -46781,11 +46852,6 @@ declare class SigningCosmosClient extends CosmosClient {
|
|
|
46781
46852
|
* Burns USDC on Cosmos and creates a withdrawal request that can be completed on Base
|
|
46782
46853
|
*/
|
|
46783
46854
|
initiateWithdrawal(baseAddress: string, amount: bigint): Promise<string>;
|
|
46784
|
-
/**
|
|
46785
|
-
* Sign a pending withdrawal request (validator/relayer operation)
|
|
46786
|
-
* Generates an ECDSA signature compatible with the Base chain CosmosBridge contract
|
|
46787
|
-
*/
|
|
46788
|
-
signWithdrawal(nonce: string, validatorEthKeyHex: string): Promise<string>;
|
|
46789
46855
|
/**
|
|
46790
46856
|
* Query a specific withdrawal request by nonce
|
|
46791
46857
|
*/
|
|
@@ -46830,6 +46896,11 @@ declare class SigningCosmosClient extends CosmosClient {
|
|
|
46830
46896
|
* Create a signing client from a mnemonic
|
|
46831
46897
|
*/
|
|
46832
46898
|
declare function createSigningClientFromMnemonic(config: CosmosConfig, mnemonic: string): Promise<SigningCosmosClient>;
|
|
46899
|
+
/**
|
|
46900
|
+
* Throws for a betting limit a table cannot be created with (block52/pokerchain#407).
|
|
46901
|
+
* Undefined is allowed: the chain applies the variant's default.
|
|
46902
|
+
*/
|
|
46903
|
+
declare function assertCreatableBettingLimit(bettingLimit?: BettingLimit): void;
|
|
46833
46904
|
|
|
46834
46905
|
/**
|
|
46835
46906
|
* The part of a broadcast result this module reads. Structurally a subset of
|
|
@@ -47145,5 +47216,5 @@ declare const Client: typeof IgniteClient & Constructor<{
|
|
|
47145
47216
|
}>;
|
|
47146
47217
|
declare const registry: Registry;
|
|
47147
47218
|
|
|
47148
|
-
export { AllPlayerActions, BLOCK52_HD_PATH, Board, COSMOS_CONSTANTS, Client, CosmosClient, Deck, GAME_NAME_MICRO_PER_CHAR, GameFormat, GameStatus, GameVariant, HandType, KEYS, MAX_GAME_NAME_LENGTH, MissingWalletError, NonPlayerActionType, Params, PlayerActionType, PlayerStatus, PokerGameIntegration, PokerSolver, RPCMethods, SIT_IN_METHOD_NEXT_BB, SIT_IN_METHOD_POST_NOW, SIT_OUT_METHOD_NEXT_BB, SIT_OUT_METHOD_NEXT_HAND, SUIT, SigningCosmosClient, TexasHoldemRound, TxExecutionError, ValidatorBond, WithdrawalRequest, assertExecuted, computeGameNameFee, createSigningClientFromMnemonic, createWalletFromMnemonic, formatGameFormatDisplay, formatGameVariantDisplay, generateWallet, getActionByType, getAddressFromMnemonic, getDefaultCosmosConfig, getGameFormat, getGameFormatForCosmos, getGameFormatFromObject, getGameVariant, hasAction, isCashFormat, isEmptyAddress, isSitAndGoFormat, isTournamentFormat, isValidMnemonic, isValidPlayerAddress, parseGameFormat, parseGameVariant, registry, txFailureHash, txFailurePhase };
|
|
47149
|
-
export type { AccountDTO, ActionDTO, Block, BlockDTO, BlockHeader, BlockHeaderDTO, BlockID, BlockResponse, BurnResponseDTO, Card, EquityHand, EquityRequest, EquityResponse, EquityResult, ExecutionResult, GameListItem, GameOptions, GameOptionsDTO, GameOptionsResponse, GameStateResponse, GameStateResponseDTO, HandEvaluation, ISignedResponse, LegalActionDTO, PayoutPlaceDTO, PerformActionResponse, PlayerDTO, RPCRequest, RPCRequestParams, RPCResponse, RakeConfig, RakeConfigDTO, ResultDTO, SitInMethod, SitOutMethod, TexasHoldemGameState, TexasHoldemStateDTO, TransactionDTO, TransactionResponse, TxFailurePhase, WalletInfo, WinnerDTO, WithdrawResponseDTO };
|
|
47219
|
+
export { AllPlayerActions, BLOCK52_HD_PATH, BettingLimit, Board, COSMOS_CONSTANTS, Client, CosmosClient, Deck, GAME_NAME_MICRO_PER_CHAR, GameFormat, GameStatus, GameVariant, HandType, KEYS, MAX_GAME_NAME_LENGTH, MSG_CREATE_VALIDATOR_TYPE_URL, MissingWalletError, NonPlayerActionType, Params, PlayerActionType, PlayerStatus, PokerGameIntegration, PokerSolver, RPCMethods, SIT_IN_METHOD_NEXT_BB, SIT_IN_METHOD_POST_NOW, SIT_OUT_METHOD_NEXT_BB, SIT_OUT_METHOD_NEXT_HAND, SUIT, SigningCosmosClient, TexasHoldemRound, TxExecutionError, ValidatorBond, WithdrawalRequest, assertCreatableBettingLimit, assertExecuted, buildMsgCreateValidator, computeGameNameFee, createSigningClientFromMnemonic, createWalletFromMnemonic, decToAtomics, formatGameFormatDisplay, formatGameVariantDisplay, generateWallet, getActionByType, getAddressFromMnemonic, getBettingLimit, getDefaultCosmosConfig, getGameFormat, getGameFormatForCosmos, getGameFormatFromObject, getGameVariant, hasAction, holeCardsPerPlayer, isCashFormat, isEmptyAddress, isPotLimit, isSitAndGoFormat, isTournamentFormat, isValidMnemonic, isValidPlayerAddress, parseGameFormat, parseGameVariant, registry, toValoperAddress, txFailureHash, txFailurePhase };
|
|
47220
|
+
export type { AccountDTO, ActionDTO, Block, BlockDTO, BlockHeader, BlockHeaderDTO, BlockID, BlockResponse, BurnResponseDTO, Card, CreateValidatorParams, EquityHand, EquityRequest, EquityResponse, EquityResult, ExecutionResult, GameListItem, GameOptions, GameOptionsDTO, GameOptionsResponse, GameStateResponse, GameStateResponseDTO, HandEvaluation, ISignedResponse, LegalActionDTO, PayoutPlaceDTO, PerformActionResponse, PlayerDTO, RPCRequest, RPCRequestParams, RPCResponse, RakeConfig, RakeConfigDTO, ResultDTO, SitInMethod, SitOutMethod, TexasHoldemGameState, TexasHoldemStateDTO, TransactionDTO, TransactionResponse, TxFailurePhase, WalletInfo, WinnerDTO, WithdrawResponseDTO };
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAkC/C,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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