@numen-crypto/contract 0.19.0 → 0.20.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/index.d.cts CHANGED
@@ -6303,6 +6303,9 @@ declare const PredictionSchema: z.ZodObject<{
6303
6303
  poolYes: z.ZodString;
6304
6304
  poolNo: z.ZodString;
6305
6305
  poolTotal: z.ZodString;
6306
+ /** Staked by real bettors, house seed excluded — this is what actually funds a payout. */
6307
+ stakedYes: z.ZodString;
6308
+ stakedNo: z.ZodString;
6306
6309
  /** Share of the total pool sitting on YES, in basis points. */
6307
6310
  yesShareBp: z.ZodNumber;
6308
6311
  participants: z.ZodNumber;
@@ -6324,6 +6327,8 @@ declare const PredictionSchema: z.ZodObject<{
6324
6327
  poolYes: string;
6325
6328
  poolNo: string;
6326
6329
  poolTotal: string;
6330
+ stakedYes: string;
6331
+ stakedNo: string;
6327
6332
  yesShareBp: number;
6328
6333
  participants: number;
6329
6334
  minStake: string | null;
@@ -6344,6 +6349,8 @@ declare const PredictionSchema: z.ZodObject<{
6344
6349
  poolYes: string;
6345
6350
  poolNo: string;
6346
6351
  poolTotal: string;
6352
+ stakedYes: string;
6353
+ stakedNo: string;
6347
6354
  yesShareBp: number;
6348
6355
  participants: number;
6349
6356
  minStake: string | null;
@@ -6387,6 +6394,9 @@ declare const PredictionDetailSchema: z.ZodObject<{
6387
6394
  poolYes: z.ZodString;
6388
6395
  poolNo: z.ZodString;
6389
6396
  poolTotal: z.ZodString;
6397
+ /** Staked by real bettors, house seed excluded — this is what actually funds a payout. */
6398
+ stakedYes: z.ZodString;
6399
+ stakedNo: z.ZodString;
6390
6400
  /** Share of the total pool sitting on YES, in basis points. */
6391
6401
  yesShareBp: z.ZodNumber;
6392
6402
  participants: z.ZodNumber;
@@ -6429,6 +6439,8 @@ declare const PredictionDetailSchema: z.ZodObject<{
6429
6439
  poolYes: string;
6430
6440
  poolNo: string;
6431
6441
  poolTotal: string;
6442
+ stakedYes: string;
6443
+ stakedNo: string;
6432
6444
  yesShareBp: number;
6433
6445
  participants: number;
6434
6446
  minStake: string | null;
@@ -6456,6 +6468,8 @@ declare const PredictionDetailSchema: z.ZodObject<{
6456
6468
  poolYes: string;
6457
6469
  poolNo: string;
6458
6470
  poolTotal: string;
6471
+ stakedYes: string;
6472
+ stakedNo: string;
6459
6473
  yesShareBp: number;
6460
6474
  participants: number;
6461
6475
  minStake: string | null;
@@ -6497,6 +6511,8 @@ declare namespace ListPredictionsCommand {
6497
6511
  poolYes: z.ZodString;
6498
6512
  poolNo: z.ZodString;
6499
6513
  poolTotal: z.ZodString;
6514
+ stakedYes: z.ZodString;
6515
+ stakedNo: z.ZodString;
6500
6516
  yesShareBp: z.ZodNumber;
6501
6517
  participants: z.ZodNumber;
6502
6518
  minStake: z.ZodNullable<z.ZodString>;
@@ -6537,6 +6553,8 @@ declare namespace ListPredictionsCommand {
6537
6553
  poolYes: string;
6538
6554
  poolNo: string;
6539
6555
  poolTotal: string;
6556
+ stakedYes: string;
6557
+ stakedNo: string;
6540
6558
  yesShareBp: number;
6541
6559
  participants: number;
6542
6560
  minStake: string | null;
@@ -6564,6 +6582,8 @@ declare namespace ListPredictionsCommand {
6564
6582
  poolYes: string;
6565
6583
  poolNo: string;
6566
6584
  poolTotal: string;
6585
+ stakedYes: string;
6586
+ stakedNo: string;
6567
6587
  yesShareBp: number;
6568
6588
  participants: number;
6569
6589
  minStake: string | null;
@@ -6593,6 +6613,8 @@ declare namespace ListPredictionsCommand {
6593
6613
  poolYes: string;
6594
6614
  poolNo: string;
6595
6615
  poolTotal: string;
6616
+ stakedYes: string;
6617
+ stakedNo: string;
6596
6618
  yesShareBp: number;
6597
6619
  participants: number;
6598
6620
  minStake: string | null;
@@ -6622,6 +6644,8 @@ declare namespace ListPredictionsCommand {
6622
6644
  poolYes: string;
6623
6645
  poolNo: string;
6624
6646
  poolTotal: string;
6647
+ stakedYes: string;
6648
+ stakedNo: string;
6625
6649
  yesShareBp: number;
6626
6650
  participants: number;
6627
6651
  minStake: string | null;
@@ -6655,6 +6679,8 @@ declare namespace GetPredictionCommand {
6655
6679
  poolYes: z.ZodString;
6656
6680
  poolNo: z.ZodString;
6657
6681
  poolTotal: z.ZodString;
6682
+ stakedYes: z.ZodString;
6683
+ stakedNo: z.ZodString;
6658
6684
  yesShareBp: z.ZodNumber;
6659
6685
  participants: z.ZodNumber;
6660
6686
  minStake: z.ZodNullable<z.ZodString>;
@@ -6695,6 +6721,8 @@ declare namespace GetPredictionCommand {
6695
6721
  poolYes: string;
6696
6722
  poolNo: string;
6697
6723
  poolTotal: string;
6724
+ stakedYes: string;
6725
+ stakedNo: string;
6698
6726
  yesShareBp: number;
6699
6727
  participants: number;
6700
6728
  minStake: string | null;
@@ -6722,6 +6750,8 @@ declare namespace GetPredictionCommand {
6722
6750
  poolYes: string;
6723
6751
  poolNo: string;
6724
6752
  poolTotal: string;
6753
+ stakedYes: string;
6754
+ stakedNo: string;
6725
6755
  yesShareBp: number;
6726
6756
  participants: number;
6727
6757
  minStake: string | null;
@@ -6768,6 +6798,8 @@ declare namespace PlacePredictionBetCommand {
6768
6798
  poolYes: z.ZodString;
6769
6799
  poolNo: z.ZodString;
6770
6800
  poolTotal: z.ZodString;
6801
+ stakedYes: z.ZodString;
6802
+ stakedNo: z.ZodString;
6771
6803
  yesShareBp: z.ZodNumber;
6772
6804
  participants: z.ZodNumber;
6773
6805
  minStake: z.ZodNullable<z.ZodString>;
@@ -6808,6 +6840,8 @@ declare namespace PlacePredictionBetCommand {
6808
6840
  poolYes: string;
6809
6841
  poolNo: string;
6810
6842
  poolTotal: string;
6843
+ stakedYes: string;
6844
+ stakedNo: string;
6811
6845
  yesShareBp: number;
6812
6846
  participants: number;
6813
6847
  minStake: string | null;
@@ -6835,6 +6869,8 @@ declare namespace PlacePredictionBetCommand {
6835
6869
  poolYes: string;
6836
6870
  poolNo: string;
6837
6871
  poolTotal: string;
6872
+ stakedYes: string;
6873
+ stakedNo: string;
6838
6874
  yesShareBp: number;
6839
6875
  participants: number;
6840
6876
  minStake: string | null;
package/dist/index.d.ts CHANGED
@@ -6303,6 +6303,9 @@ declare const PredictionSchema: z.ZodObject<{
6303
6303
  poolYes: z.ZodString;
6304
6304
  poolNo: z.ZodString;
6305
6305
  poolTotal: z.ZodString;
6306
+ /** Staked by real bettors, house seed excluded — this is what actually funds a payout. */
6307
+ stakedYes: z.ZodString;
6308
+ stakedNo: z.ZodString;
6306
6309
  /** Share of the total pool sitting on YES, in basis points. */
6307
6310
  yesShareBp: z.ZodNumber;
6308
6311
  participants: z.ZodNumber;
@@ -6324,6 +6327,8 @@ declare const PredictionSchema: z.ZodObject<{
6324
6327
  poolYes: string;
6325
6328
  poolNo: string;
6326
6329
  poolTotal: string;
6330
+ stakedYes: string;
6331
+ stakedNo: string;
6327
6332
  yesShareBp: number;
6328
6333
  participants: number;
6329
6334
  minStake: string | null;
@@ -6344,6 +6349,8 @@ declare const PredictionSchema: z.ZodObject<{
6344
6349
  poolYes: string;
6345
6350
  poolNo: string;
6346
6351
  poolTotal: string;
6352
+ stakedYes: string;
6353
+ stakedNo: string;
6347
6354
  yesShareBp: number;
6348
6355
  participants: number;
6349
6356
  minStake: string | null;
@@ -6387,6 +6394,9 @@ declare const PredictionDetailSchema: z.ZodObject<{
6387
6394
  poolYes: z.ZodString;
6388
6395
  poolNo: z.ZodString;
6389
6396
  poolTotal: z.ZodString;
6397
+ /** Staked by real bettors, house seed excluded — this is what actually funds a payout. */
6398
+ stakedYes: z.ZodString;
6399
+ stakedNo: z.ZodString;
6390
6400
  /** Share of the total pool sitting on YES, in basis points. */
6391
6401
  yesShareBp: z.ZodNumber;
6392
6402
  participants: z.ZodNumber;
@@ -6429,6 +6439,8 @@ declare const PredictionDetailSchema: z.ZodObject<{
6429
6439
  poolYes: string;
6430
6440
  poolNo: string;
6431
6441
  poolTotal: string;
6442
+ stakedYes: string;
6443
+ stakedNo: string;
6432
6444
  yesShareBp: number;
6433
6445
  participants: number;
6434
6446
  minStake: string | null;
@@ -6456,6 +6468,8 @@ declare const PredictionDetailSchema: z.ZodObject<{
6456
6468
  poolYes: string;
6457
6469
  poolNo: string;
6458
6470
  poolTotal: string;
6471
+ stakedYes: string;
6472
+ stakedNo: string;
6459
6473
  yesShareBp: number;
6460
6474
  participants: number;
6461
6475
  minStake: string | null;
@@ -6497,6 +6511,8 @@ declare namespace ListPredictionsCommand {
6497
6511
  poolYes: z.ZodString;
6498
6512
  poolNo: z.ZodString;
6499
6513
  poolTotal: z.ZodString;
6514
+ stakedYes: z.ZodString;
6515
+ stakedNo: z.ZodString;
6500
6516
  yesShareBp: z.ZodNumber;
6501
6517
  participants: z.ZodNumber;
6502
6518
  minStake: z.ZodNullable<z.ZodString>;
@@ -6537,6 +6553,8 @@ declare namespace ListPredictionsCommand {
6537
6553
  poolYes: string;
6538
6554
  poolNo: string;
6539
6555
  poolTotal: string;
6556
+ stakedYes: string;
6557
+ stakedNo: string;
6540
6558
  yesShareBp: number;
6541
6559
  participants: number;
6542
6560
  minStake: string | null;
@@ -6564,6 +6582,8 @@ declare namespace ListPredictionsCommand {
6564
6582
  poolYes: string;
6565
6583
  poolNo: string;
6566
6584
  poolTotal: string;
6585
+ stakedYes: string;
6586
+ stakedNo: string;
6567
6587
  yesShareBp: number;
6568
6588
  participants: number;
6569
6589
  minStake: string | null;
@@ -6593,6 +6613,8 @@ declare namespace ListPredictionsCommand {
6593
6613
  poolYes: string;
6594
6614
  poolNo: string;
6595
6615
  poolTotal: string;
6616
+ stakedYes: string;
6617
+ stakedNo: string;
6596
6618
  yesShareBp: number;
6597
6619
  participants: number;
6598
6620
  minStake: string | null;
@@ -6622,6 +6644,8 @@ declare namespace ListPredictionsCommand {
6622
6644
  poolYes: string;
6623
6645
  poolNo: string;
6624
6646
  poolTotal: string;
6647
+ stakedYes: string;
6648
+ stakedNo: string;
6625
6649
  yesShareBp: number;
6626
6650
  participants: number;
6627
6651
  minStake: string | null;
@@ -6655,6 +6679,8 @@ declare namespace GetPredictionCommand {
6655
6679
  poolYes: z.ZodString;
6656
6680
  poolNo: z.ZodString;
6657
6681
  poolTotal: z.ZodString;
6682
+ stakedYes: z.ZodString;
6683
+ stakedNo: z.ZodString;
6658
6684
  yesShareBp: z.ZodNumber;
6659
6685
  participants: z.ZodNumber;
6660
6686
  minStake: z.ZodNullable<z.ZodString>;
@@ -6695,6 +6721,8 @@ declare namespace GetPredictionCommand {
6695
6721
  poolYes: string;
6696
6722
  poolNo: string;
6697
6723
  poolTotal: string;
6724
+ stakedYes: string;
6725
+ stakedNo: string;
6698
6726
  yesShareBp: number;
6699
6727
  participants: number;
6700
6728
  minStake: string | null;
@@ -6722,6 +6750,8 @@ declare namespace GetPredictionCommand {
6722
6750
  poolYes: string;
6723
6751
  poolNo: string;
6724
6752
  poolTotal: string;
6753
+ stakedYes: string;
6754
+ stakedNo: string;
6725
6755
  yesShareBp: number;
6726
6756
  participants: number;
6727
6757
  minStake: string | null;
@@ -6768,6 +6798,8 @@ declare namespace PlacePredictionBetCommand {
6768
6798
  poolYes: z.ZodString;
6769
6799
  poolNo: z.ZodString;
6770
6800
  poolTotal: z.ZodString;
6801
+ stakedYes: z.ZodString;
6802
+ stakedNo: z.ZodString;
6771
6803
  yesShareBp: z.ZodNumber;
6772
6804
  participants: z.ZodNumber;
6773
6805
  minStake: z.ZodNullable<z.ZodString>;
@@ -6808,6 +6840,8 @@ declare namespace PlacePredictionBetCommand {
6808
6840
  poolYes: string;
6809
6841
  poolNo: string;
6810
6842
  poolTotal: string;
6843
+ stakedYes: string;
6844
+ stakedNo: string;
6811
6845
  yesShareBp: number;
6812
6846
  participants: number;
6813
6847
  minStake: string | null;
@@ -6835,6 +6869,8 @@ declare namespace PlacePredictionBetCommand {
6835
6869
  poolYes: string;
6836
6870
  poolNo: string;
6837
6871
  poolTotal: string;
6872
+ stakedYes: string;
6873
+ stakedNo: string;
6838
6874
  yesShareBp: number;
6839
6875
  participants: number;
6840
6876
  minStake: string | null;
package/dist/index.js CHANGED
@@ -1287,6 +1287,9 @@ var PredictionSchema = z.object({
1287
1287
  poolYes: MoneyStringSchema,
1288
1288
  poolNo: MoneyStringSchema,
1289
1289
  poolTotal: MoneyStringSchema,
1290
+ /** Staked by real bettors, house seed excluded — this is what actually funds a payout. */
1291
+ stakedYes: MoneyStringSchema,
1292
+ stakedNo: MoneyStringSchema,
1290
1293
  /** Share of the total pool sitting on YES, in basis points. */
1291
1294
  yesShareBp: z.number().int().min(0).max(1e4),
1292
1295
  participants: z.number().int().nonnegative(),