@actuallyfair/verifier 0.0.5 → 0.0.6
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/compute-wager.d.ts +6 -8
- package/dist/compute-wager.js +18 -34
- package/dist/duel-plinko-payouts.d.ts +15 -11
- package/dist/duel-plinko-payouts.js +530 -460
- package/dist/generated/context/index.d.ts +39 -69
- package/dist/generated/context/plinko.d.ts +53 -95
- package/dist/generated/context/plinko.js +184 -108
- package/package.json +1 -1
- package/protobuf/context/plinko.proto +30 -11
- package/src/compute-wager.ts +18 -37
- package/src/duel-plinko-payouts.ts +549 -466
- package/src/generated/context/plinko.ts +179 -116
|
@@ -108,10 +108,7 @@ export declare const Context: {
|
|
|
108
108
|
custom?: {
|
|
109
109
|
possibilities?: number[] | undefined;
|
|
110
110
|
} | undefined;
|
|
111
|
-
|
|
112
|
-
rows?: number | undefined;
|
|
113
|
-
risk?: import("./plinko").DuelPlinkoRisk | undefined;
|
|
114
|
-
} | undefined;
|
|
111
|
+
table?: import("./plinko").PlinkoPayoutTable | undefined;
|
|
115
112
|
} | undefined;
|
|
116
113
|
} | undefined;
|
|
117
114
|
init?: {} | undefined;
|
|
@@ -361,10 +358,7 @@ export declare const Context: {
|
|
|
361
358
|
custom?: {
|
|
362
359
|
possibilities?: number[] | undefined;
|
|
363
360
|
} | undefined;
|
|
364
|
-
|
|
365
|
-
rows?: number | undefined;
|
|
366
|
-
risk?: import("./plinko").DuelPlinkoRisk | undefined;
|
|
367
|
-
} | undefined;
|
|
361
|
+
table?: import("./plinko").PlinkoPayoutTable | undefined;
|
|
368
362
|
} | undefined;
|
|
369
363
|
} & {
|
|
370
364
|
amount?: ({
|
|
@@ -378,27 +372,18 @@ export declare const Context: {
|
|
|
378
372
|
custom?: {
|
|
379
373
|
possibilities?: number[] | undefined;
|
|
380
374
|
} | undefined;
|
|
381
|
-
|
|
382
|
-
rows?: number | undefined;
|
|
383
|
-
risk?: import("./plinko").DuelPlinkoRisk | undefined;
|
|
384
|
-
} | undefined;
|
|
375
|
+
table?: import("./plinko").PlinkoPayoutTable | undefined;
|
|
385
376
|
} & {
|
|
386
377
|
custom?: ({
|
|
387
378
|
possibilities?: number[] | undefined;
|
|
388
379
|
} & {
|
|
389
380
|
possibilities?: (number[] & number[] & { [K_23 in Exclude<keyof I["plinko"]["payouts"]["custom"]["possibilities"], keyof number[]>]: never; }) | undefined;
|
|
390
381
|
} & { [K_24 in Exclude<keyof I["plinko"]["payouts"]["custom"], "possibilities">]: never; }) | undefined;
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
risk?: import("./plinko").DuelPlinkoRisk | undefined;
|
|
397
|
-
} & { [K_25 in Exclude<keyof I["plinko"]["payouts"]["duel"], keyof import("./plinko").DuelPlinkoPayouts>]: never; }) | undefined;
|
|
398
|
-
} & { [K_26 in Exclude<keyof I["plinko"]["payouts"], keyof import("./plinko").PlinkoPayouts>]: never; }) | undefined;
|
|
399
|
-
} & { [K_27 in Exclude<keyof I["plinko"], keyof Plinko>]: never; }) | undefined;
|
|
400
|
-
init?: ({} & {} & { [K_28 in Exclude<keyof I["init"], never>]: never; }) | undefined;
|
|
401
|
-
} & { [K_29 in Exclude<keyof I, keyof Context>]: never; }>(base?: I | undefined): Context;
|
|
382
|
+
table?: import("./plinko").PlinkoPayoutTable | undefined;
|
|
383
|
+
} & { [K_25 in Exclude<keyof I["plinko"]["payouts"], keyof import("./plinko").PlinkoPayouts>]: never; }) | undefined;
|
|
384
|
+
} & { [K_26 in Exclude<keyof I["plinko"], keyof Plinko>]: never; }) | undefined;
|
|
385
|
+
init?: ({} & {} & { [K_27 in Exclude<keyof I["init"], never>]: never; }) | undefined;
|
|
386
|
+
} & { [K_28 in Exclude<keyof I, keyof Context>]: never; }>(base?: I | undefined): Context;
|
|
402
387
|
fromPartial<I_1 extends {
|
|
403
388
|
fairCoinToss?: {
|
|
404
389
|
playerChoice?: import("./fair-coin-toss").FairCoinToss_Choice | undefined;
|
|
@@ -482,10 +467,7 @@ export declare const Context: {
|
|
|
482
467
|
custom?: {
|
|
483
468
|
possibilities?: number[] | undefined;
|
|
484
469
|
} | undefined;
|
|
485
|
-
|
|
486
|
-
rows?: number | undefined;
|
|
487
|
-
risk?: import("./plinko").DuelPlinkoRisk | undefined;
|
|
488
|
-
} | undefined;
|
|
470
|
+
table?: import("./plinko").PlinkoPayoutTable | undefined;
|
|
489
471
|
} | undefined;
|
|
490
472
|
} | undefined;
|
|
491
473
|
init?: {} | undefined;
|
|
@@ -494,12 +476,12 @@ export declare const Context: {
|
|
|
494
476
|
playerChoice?: import("./fair-coin-toss").FairCoinToss_Choice | undefined;
|
|
495
477
|
} & {
|
|
496
478
|
playerChoice?: import("./fair-coin-toss").FairCoinToss_Choice | undefined;
|
|
497
|
-
} & { [
|
|
479
|
+
} & { [K_29 in Exclude<keyof I_1["fairCoinToss"], "playerChoice">]: never; }) | undefined;
|
|
498
480
|
crash?: ({
|
|
499
481
|
houseEdge?: number | undefined;
|
|
500
482
|
} & {
|
|
501
483
|
houseEdge?: number | undefined;
|
|
502
|
-
} & { [
|
|
484
|
+
} & { [K_30 in Exclude<keyof I_1["crash"], "houseEdge">]: never; }) | undefined;
|
|
503
485
|
hilo?: ({
|
|
504
486
|
start?: {
|
|
505
487
|
amount?: {
|
|
@@ -526,17 +508,17 @@ export declare const Context: {
|
|
|
526
508
|
} & {
|
|
527
509
|
currency?: import("../currency").Currency | undefined;
|
|
528
510
|
value?: number | undefined;
|
|
529
|
-
} & { [
|
|
511
|
+
} & { [K_31 in Exclude<keyof I_1["hilo"]["start"]["amount"], keyof import("../amount").Amount>]: never; }) | undefined;
|
|
530
512
|
startingCard?: import("./hilo").Card | undefined;
|
|
531
|
-
} & { [
|
|
513
|
+
} & { [K_32 in Exclude<keyof I_1["hilo"]["start"], keyof import("./hilo").HiLoStart>]: never; }) | undefined;
|
|
532
514
|
move?: ({
|
|
533
515
|
playerChoice?: import("./hilo").HiLoMove_Choice | undefined;
|
|
534
516
|
moveIndex?: number | undefined;
|
|
535
517
|
} & {
|
|
536
518
|
playerChoice?: import("./hilo").HiLoMove_Choice | undefined;
|
|
537
519
|
moveIndex?: number | undefined;
|
|
538
|
-
} & { [
|
|
539
|
-
} & { [
|
|
520
|
+
} & { [K_33 in Exclude<keyof I_1["hilo"]["move"], keyof import("./hilo").HiLoMove>]: never; }) | undefined;
|
|
521
|
+
} & { [K_34 in Exclude<keyof I_1["hilo"], keyof HiLo>]: never; }) | undefined;
|
|
540
522
|
crashDice?: ({
|
|
541
523
|
amount?: {
|
|
542
524
|
currency?: import("../currency").Currency | undefined;
|
|
@@ -551,10 +533,10 @@ export declare const Context: {
|
|
|
551
533
|
} & {
|
|
552
534
|
currency?: import("../currency").Currency | undefined;
|
|
553
535
|
value?: number | undefined;
|
|
554
|
-
} & { [
|
|
536
|
+
} & { [K_35 in Exclude<keyof I_1["crashDice"]["amount"], keyof import("../amount").Amount>]: never; }) | undefined;
|
|
555
537
|
target?: number | undefined;
|
|
556
538
|
houseEdge?: number | undefined;
|
|
557
|
-
} & { [
|
|
539
|
+
} & { [K_36 in Exclude<keyof I_1["crashDice"], keyof CrashDice>]: never; }) | undefined;
|
|
558
540
|
multiRoulette?: ({
|
|
559
541
|
outcomes?: {
|
|
560
542
|
multiplier?: number | undefined;
|
|
@@ -614,8 +596,8 @@ export declare const Context: {
|
|
|
614
596
|
} & {
|
|
615
597
|
currency?: import("../currency").Currency | undefined;
|
|
616
598
|
value?: number | undefined;
|
|
617
|
-
} & { [
|
|
618
|
-
} & { [
|
|
599
|
+
} & { [K_37 in Exclude<keyof I_1["multiRoulette"]["outcomes"][number]["bets"][number]["amount"], keyof import("../amount").Amount>]: never; }) | undefined;
|
|
600
|
+
} & { [K_38 in Exclude<keyof I_1["multiRoulette"]["outcomes"][number]["bets"][number], keyof import("./multi-roulette").MultiRoulette_Bet>]: never; })[] & { [K_39 in Exclude<keyof I_1["multiRoulette"]["outcomes"][number]["bets"], keyof {
|
|
619
601
|
uname?: string | undefined;
|
|
620
602
|
amount?: {
|
|
621
603
|
currency?: import("../currency").Currency | undefined;
|
|
@@ -623,7 +605,7 @@ export declare const Context: {
|
|
|
623
605
|
} | undefined;
|
|
624
606
|
}[]>]: never; }) | undefined;
|
|
625
607
|
name?: string | undefined;
|
|
626
|
-
} & { [
|
|
608
|
+
} & { [K_40 in Exclude<keyof I_1["multiRoulette"]["outcomes"][number], keyof import("./multi-roulette").MultiRoulette_Outcome>]: never; })[] & { [K_41 in Exclude<keyof I_1["multiRoulette"]["outcomes"], keyof {
|
|
627
609
|
multiplier?: number | undefined;
|
|
628
610
|
probability?: number | undefined;
|
|
629
611
|
bets?: {
|
|
@@ -635,7 +617,7 @@ export declare const Context: {
|
|
|
635
617
|
}[] | undefined;
|
|
636
618
|
name?: string | undefined;
|
|
637
619
|
}[]>]: never; }) | undefined;
|
|
638
|
-
} & { [
|
|
620
|
+
} & { [K_42 in Exclude<keyof I_1["multiRoulette"], "outcomes">]: never; }) | undefined;
|
|
639
621
|
mines?: ({
|
|
640
622
|
start?: {
|
|
641
623
|
amount?: {
|
|
@@ -668,19 +650,19 @@ export declare const Context: {
|
|
|
668
650
|
} & {
|
|
669
651
|
currency?: import("../currency").Currency | undefined;
|
|
670
652
|
value?: number | undefined;
|
|
671
|
-
} & { [
|
|
653
|
+
} & { [K_43 in Exclude<keyof I_1["mines"]["start"]["amount"], keyof import("../amount").Amount>]: never; }) | undefined;
|
|
672
654
|
cells?: number | undefined;
|
|
673
655
|
mines?: number | undefined;
|
|
674
656
|
cellLineBreak?: number | undefined;
|
|
675
657
|
houseEdge?: number | undefined;
|
|
676
|
-
} & { [
|
|
658
|
+
} & { [K_44 in Exclude<keyof I_1["mines"]["start"], keyof import("./mines").MinesStart>]: never; }) | undefined;
|
|
677
659
|
move?: ({
|
|
678
660
|
cell?: number | undefined;
|
|
679
661
|
} & {
|
|
680
662
|
cell?: number | undefined;
|
|
681
|
-
} & { [
|
|
663
|
+
} & { [K_45 in Exclude<keyof I_1["mines"]["move"], "cell">]: never; }) | undefined;
|
|
682
664
|
cashout?: boolean | undefined;
|
|
683
|
-
} & { [
|
|
665
|
+
} & { [K_46 in Exclude<keyof I_1["mines"], keyof Mines>]: never; }) | undefined;
|
|
684
666
|
tower?: ({
|
|
685
667
|
start?: {
|
|
686
668
|
amount?: {
|
|
@@ -713,19 +695,19 @@ export declare const Context: {
|
|
|
713
695
|
} & {
|
|
714
696
|
currency?: import("../currency").Currency | undefined;
|
|
715
697
|
value?: number | undefined;
|
|
716
|
-
} & { [
|
|
698
|
+
} & { [K_47 in Exclude<keyof I_1["tower"]["start"]["amount"], keyof import("../amount").Amount>]: never; }) | undefined;
|
|
717
699
|
levels?: number | undefined;
|
|
718
700
|
choicesPerLevel?: number | undefined;
|
|
719
701
|
minesPerLevel?: number | undefined;
|
|
720
702
|
houseEdge?: number | undefined;
|
|
721
|
-
} & { [
|
|
703
|
+
} & { [K_48 in Exclude<keyof I_1["tower"]["start"], keyof import("./tower").TowerStart>]: never; }) | undefined;
|
|
722
704
|
move?: ({
|
|
723
705
|
choice?: number | undefined;
|
|
724
706
|
} & {
|
|
725
707
|
choice?: number | undefined;
|
|
726
|
-
} & { [
|
|
708
|
+
} & { [K_49 in Exclude<keyof I_1["tower"]["move"], "choice">]: never; }) | undefined;
|
|
727
709
|
cashout?: boolean | undefined;
|
|
728
|
-
} & { [
|
|
710
|
+
} & { [K_50 in Exclude<keyof I_1["tower"], keyof Tower>]: never; }) | undefined;
|
|
729
711
|
plinko?: ({
|
|
730
712
|
amount?: {
|
|
731
713
|
currency?: import("../currency").Currency | undefined;
|
|
@@ -735,10 +717,7 @@ export declare const Context: {
|
|
|
735
717
|
custom?: {
|
|
736
718
|
possibilities?: number[] | undefined;
|
|
737
719
|
} | undefined;
|
|
738
|
-
|
|
739
|
-
rows?: number | undefined;
|
|
740
|
-
risk?: import("./plinko").DuelPlinkoRisk | undefined;
|
|
741
|
-
} | undefined;
|
|
720
|
+
table?: import("./plinko").PlinkoPayoutTable | undefined;
|
|
742
721
|
} | undefined;
|
|
743
722
|
} & {
|
|
744
723
|
amount?: ({
|
|
@@ -747,32 +726,23 @@ export declare const Context: {
|
|
|
747
726
|
} & {
|
|
748
727
|
currency?: import("../currency").Currency | undefined;
|
|
749
728
|
value?: number | undefined;
|
|
750
|
-
} & { [
|
|
729
|
+
} & { [K_51 in Exclude<keyof I_1["plinko"]["amount"], keyof import("../amount").Amount>]: never; }) | undefined;
|
|
751
730
|
payouts?: ({
|
|
752
731
|
custom?: {
|
|
753
732
|
possibilities?: number[] | undefined;
|
|
754
733
|
} | undefined;
|
|
755
|
-
|
|
756
|
-
rows?: number | undefined;
|
|
757
|
-
risk?: import("./plinko").DuelPlinkoRisk | undefined;
|
|
758
|
-
} | undefined;
|
|
734
|
+
table?: import("./plinko").PlinkoPayoutTable | undefined;
|
|
759
735
|
} & {
|
|
760
736
|
custom?: ({
|
|
761
737
|
possibilities?: number[] | undefined;
|
|
762
738
|
} & {
|
|
763
|
-
possibilities?: (number[] & number[] & { [
|
|
764
|
-
} & { [
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
risk?: import("./plinko").DuelPlinkoRisk | undefined;
|
|
771
|
-
} & { [K_55 in Exclude<keyof I_1["plinko"]["payouts"]["duel"], keyof import("./plinko").DuelPlinkoPayouts>]: never; }) | undefined;
|
|
772
|
-
} & { [K_56 in Exclude<keyof I_1["plinko"]["payouts"], keyof import("./plinko").PlinkoPayouts>]: never; }) | undefined;
|
|
773
|
-
} & { [K_57 in Exclude<keyof I_1["plinko"], keyof Plinko>]: never; }) | undefined;
|
|
774
|
-
init?: ({} & {} & { [K_58 in Exclude<keyof I_1["init"], never>]: never; }) | undefined;
|
|
775
|
-
} & { [K_59 in Exclude<keyof I_1, keyof Context>]: never; }>(object: I_1): Context;
|
|
739
|
+
possibilities?: (number[] & number[] & { [K_52 in Exclude<keyof I_1["plinko"]["payouts"]["custom"]["possibilities"], keyof number[]>]: never; }) | undefined;
|
|
740
|
+
} & { [K_53 in Exclude<keyof I_1["plinko"]["payouts"]["custom"], "possibilities">]: never; }) | undefined;
|
|
741
|
+
table?: import("./plinko").PlinkoPayoutTable | undefined;
|
|
742
|
+
} & { [K_54 in Exclude<keyof I_1["plinko"]["payouts"], keyof import("./plinko").PlinkoPayouts>]: never; }) | undefined;
|
|
743
|
+
} & { [K_55 in Exclude<keyof I_1["plinko"], keyof Plinko>]: never; }) | undefined;
|
|
744
|
+
init?: ({} & {} & { [K_56 in Exclude<keyof I_1["init"], never>]: never; }) | undefined;
|
|
745
|
+
} & { [K_57 in Exclude<keyof I_1, keyof Context>]: never; }>(object: I_1): Context;
|
|
776
746
|
};
|
|
777
747
|
export declare const PosthashInit: {
|
|
778
748
|
encode(_: PosthashInit, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -1,25 +1,45 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
import { Amount } from "../amount";
|
|
3
|
-
export declare enum
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
export declare enum PlinkoPayoutTable {
|
|
4
|
+
PLINKO_PAYOUT_TABLE_UNSPECIFIED = 0,
|
|
5
|
+
PLINKO_PAYOUT_TABLE_DUEL_8_LOW = 1,
|
|
6
|
+
PLINKO_PAYOUT_TABLE_DUEL_8_MEDIUM = 2,
|
|
7
|
+
PLINKO_PAYOUT_TABLE_DUEL_8_HIGH = 3,
|
|
8
|
+
PLINKO_PAYOUT_TABLE_DUEL_9_LOW = 4,
|
|
9
|
+
PLINKO_PAYOUT_TABLE_DUEL_9_MEDIUM = 5,
|
|
10
|
+
PLINKO_PAYOUT_TABLE_DUEL_9_HIGH = 6,
|
|
11
|
+
PLINKO_PAYOUT_TABLE_DUEL_10_LOW = 7,
|
|
12
|
+
PLINKO_PAYOUT_TABLE_DUEL_10_MEDIUM = 8,
|
|
13
|
+
PLINKO_PAYOUT_TABLE_DUEL_10_HIGH = 9,
|
|
14
|
+
PLINKO_PAYOUT_TABLE_DUEL_11_LOW = 10,
|
|
15
|
+
PLINKO_PAYOUT_TABLE_DUEL_11_MEDIUM = 11,
|
|
16
|
+
PLINKO_PAYOUT_TABLE_DUEL_11_HIGH = 12,
|
|
17
|
+
PLINKO_PAYOUT_TABLE_DUEL_12_LOW = 13,
|
|
18
|
+
PLINKO_PAYOUT_TABLE_DUEL_12_MEDIUM = 14,
|
|
19
|
+
PLINKO_PAYOUT_TABLE_DUEL_12_HIGH = 15,
|
|
20
|
+
PLINKO_PAYOUT_TABLE_DUEL_13_LOW = 16,
|
|
21
|
+
PLINKO_PAYOUT_TABLE_DUEL_13_MEDIUM = 17,
|
|
22
|
+
PLINKO_PAYOUT_TABLE_DUEL_13_HIGH = 18,
|
|
23
|
+
PLINKO_PAYOUT_TABLE_DUEL_14_LOW = 19,
|
|
24
|
+
PLINKO_PAYOUT_TABLE_DUEL_14_MEDIUM = 20,
|
|
25
|
+
PLINKO_PAYOUT_TABLE_DUEL_14_HIGH = 21,
|
|
26
|
+
PLINKO_PAYOUT_TABLE_DUEL_15_LOW = 22,
|
|
27
|
+
PLINKO_PAYOUT_TABLE_DUEL_15_MEDIUM = 23,
|
|
28
|
+
PLINKO_PAYOUT_TABLE_DUEL_15_HIGH = 24,
|
|
29
|
+
PLINKO_PAYOUT_TABLE_DUEL_16_LOW = 25,
|
|
30
|
+
PLINKO_PAYOUT_TABLE_DUEL_16_MEDIUM = 26,
|
|
31
|
+
PLINKO_PAYOUT_TABLE_DUEL_16_HIGH = 27,
|
|
8
32
|
UNRECOGNIZED = -1
|
|
9
33
|
}
|
|
10
|
-
export declare function
|
|
11
|
-
export declare function
|
|
34
|
+
export declare function plinkoPayoutTableFromJSON(object: any): PlinkoPayoutTable;
|
|
35
|
+
export declare function plinkoPayoutTableToJSON(object: PlinkoPayoutTable): string;
|
|
12
36
|
export interface Plinko {
|
|
13
37
|
amount: Amount | undefined;
|
|
14
38
|
payouts: PlinkoPayouts | undefined;
|
|
15
39
|
}
|
|
16
40
|
export interface PlinkoPayouts {
|
|
17
41
|
custom?: CustomPlinkoPayouts | undefined;
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
export interface DuelPlinkoPayouts {
|
|
21
|
-
rows: number;
|
|
22
|
-
risk: DuelPlinkoRisk;
|
|
42
|
+
table?: PlinkoPayoutTable | undefined;
|
|
23
43
|
}
|
|
24
44
|
export interface CustomPlinkoPayouts {
|
|
25
45
|
possibilities: number[];
|
|
@@ -38,10 +58,7 @@ export declare const Plinko: {
|
|
|
38
58
|
custom?: {
|
|
39
59
|
possibilities?: number[] | undefined;
|
|
40
60
|
} | undefined;
|
|
41
|
-
|
|
42
|
-
rows?: number | undefined;
|
|
43
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
44
|
-
} | undefined;
|
|
61
|
+
table?: PlinkoPayoutTable | undefined;
|
|
45
62
|
} | undefined;
|
|
46
63
|
} & {
|
|
47
64
|
amount?: ({
|
|
@@ -55,25 +72,16 @@ export declare const Plinko: {
|
|
|
55
72
|
custom?: {
|
|
56
73
|
possibilities?: number[] | undefined;
|
|
57
74
|
} | undefined;
|
|
58
|
-
|
|
59
|
-
rows?: number | undefined;
|
|
60
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
61
|
-
} | undefined;
|
|
75
|
+
table?: PlinkoPayoutTable | undefined;
|
|
62
76
|
} & {
|
|
63
77
|
custom?: ({
|
|
64
78
|
possibilities?: number[] | undefined;
|
|
65
79
|
} & {
|
|
66
80
|
possibilities?: (number[] & number[] & { [K_1 in Exclude<keyof I["payouts"]["custom"]["possibilities"], keyof number[]>]: never; }) | undefined;
|
|
67
81
|
} & { [K_2 in Exclude<keyof I["payouts"]["custom"], "possibilities">]: never; }) | undefined;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} & {
|
|
72
|
-
rows?: number | undefined;
|
|
73
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
74
|
-
} & { [K_3 in Exclude<keyof I["payouts"]["duel"], keyof DuelPlinkoPayouts>]: never; }) | undefined;
|
|
75
|
-
} & { [K_4 in Exclude<keyof I["payouts"], keyof PlinkoPayouts>]: never; }) | undefined;
|
|
76
|
-
} & { [K_5 in Exclude<keyof I, keyof Plinko>]: never; }>(base?: I | undefined): Plinko;
|
|
82
|
+
table?: PlinkoPayoutTable | undefined;
|
|
83
|
+
} & { [K_3 in Exclude<keyof I["payouts"], keyof PlinkoPayouts>]: never; }) | undefined;
|
|
84
|
+
} & { [K_4 in Exclude<keyof I, keyof Plinko>]: never; }>(base?: I | undefined): Plinko;
|
|
77
85
|
fromPartial<I_1 extends {
|
|
78
86
|
amount?: {
|
|
79
87
|
currency?: import("../currency").Currency | undefined;
|
|
@@ -83,10 +91,7 @@ export declare const Plinko: {
|
|
|
83
91
|
custom?: {
|
|
84
92
|
possibilities?: number[] | undefined;
|
|
85
93
|
} | undefined;
|
|
86
|
-
|
|
87
|
-
rows?: number | undefined;
|
|
88
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
89
|
-
} | undefined;
|
|
94
|
+
table?: PlinkoPayoutTable | undefined;
|
|
90
95
|
} | undefined;
|
|
91
96
|
} & {
|
|
92
97
|
amount?: ({
|
|
@@ -95,30 +100,21 @@ export declare const Plinko: {
|
|
|
95
100
|
} & {
|
|
96
101
|
currency?: import("../currency").Currency | undefined;
|
|
97
102
|
value?: number | undefined;
|
|
98
|
-
} & { [
|
|
103
|
+
} & { [K_5 in Exclude<keyof I_1["amount"], keyof Amount>]: never; }) | undefined;
|
|
99
104
|
payouts?: ({
|
|
100
105
|
custom?: {
|
|
101
106
|
possibilities?: number[] | undefined;
|
|
102
107
|
} | undefined;
|
|
103
|
-
|
|
104
|
-
rows?: number | undefined;
|
|
105
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
106
|
-
} | undefined;
|
|
108
|
+
table?: PlinkoPayoutTable | undefined;
|
|
107
109
|
} & {
|
|
108
110
|
custom?: ({
|
|
109
111
|
possibilities?: number[] | undefined;
|
|
110
112
|
} & {
|
|
111
|
-
possibilities?: (number[] & number[] & { [
|
|
112
|
-
} & { [
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
} & {
|
|
117
|
-
rows?: number | undefined;
|
|
118
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
119
|
-
} & { [K_9 in Exclude<keyof I_1["payouts"]["duel"], keyof DuelPlinkoPayouts>]: never; }) | undefined;
|
|
120
|
-
} & { [K_10 in Exclude<keyof I_1["payouts"], keyof PlinkoPayouts>]: never; }) | undefined;
|
|
121
|
-
} & { [K_11 in Exclude<keyof I_1, keyof Plinko>]: never; }>(object: I_1): Plinko;
|
|
113
|
+
possibilities?: (number[] & number[] & { [K_6 in Exclude<keyof I_1["payouts"]["custom"]["possibilities"], keyof number[]>]: never; }) | undefined;
|
|
114
|
+
} & { [K_7 in Exclude<keyof I_1["payouts"]["custom"], "possibilities">]: never; }) | undefined;
|
|
115
|
+
table?: PlinkoPayoutTable | undefined;
|
|
116
|
+
} & { [K_8 in Exclude<keyof I_1["payouts"], keyof PlinkoPayouts>]: never; }) | undefined;
|
|
117
|
+
} & { [K_9 in Exclude<keyof I_1, keyof Plinko>]: never; }>(object: I_1): Plinko;
|
|
122
118
|
};
|
|
123
119
|
export declare const PlinkoPayouts: {
|
|
124
120
|
encode(message: PlinkoPayouts, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -129,66 +125,28 @@ export declare const PlinkoPayouts: {
|
|
|
129
125
|
custom?: {
|
|
130
126
|
possibilities?: number[] | undefined;
|
|
131
127
|
} | undefined;
|
|
132
|
-
|
|
133
|
-
rows?: number | undefined;
|
|
134
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
135
|
-
} | undefined;
|
|
128
|
+
table?: PlinkoPayoutTable | undefined;
|
|
136
129
|
} & {
|
|
137
130
|
custom?: ({
|
|
138
131
|
possibilities?: number[] | undefined;
|
|
139
132
|
} & {
|
|
140
133
|
possibilities?: (number[] & number[] & { [K in Exclude<keyof I["custom"]["possibilities"], keyof number[]>]: never; }) | undefined;
|
|
141
134
|
} & { [K_1 in Exclude<keyof I["custom"], "possibilities">]: never; }) | undefined;
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
145
|
-
} & {
|
|
146
|
-
rows?: number | undefined;
|
|
147
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
148
|
-
} & { [K_2 in Exclude<keyof I["duel"], keyof DuelPlinkoPayouts>]: never; }) | undefined;
|
|
149
|
-
} & { [K_3 in Exclude<keyof I, keyof PlinkoPayouts>]: never; }>(base?: I | undefined): PlinkoPayouts;
|
|
135
|
+
table?: PlinkoPayoutTable | undefined;
|
|
136
|
+
} & { [K_2 in Exclude<keyof I, keyof PlinkoPayouts>]: never; }>(base?: I | undefined): PlinkoPayouts;
|
|
150
137
|
fromPartial<I_1 extends {
|
|
151
138
|
custom?: {
|
|
152
139
|
possibilities?: number[] | undefined;
|
|
153
140
|
} | undefined;
|
|
154
|
-
|
|
155
|
-
rows?: number | undefined;
|
|
156
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
157
|
-
} | undefined;
|
|
141
|
+
table?: PlinkoPayoutTable | undefined;
|
|
158
142
|
} & {
|
|
159
143
|
custom?: ({
|
|
160
144
|
possibilities?: number[] | undefined;
|
|
161
145
|
} & {
|
|
162
|
-
possibilities?: (number[] & number[] & { [
|
|
163
|
-
} & { [
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
167
|
-
} & {
|
|
168
|
-
rows?: number | undefined;
|
|
169
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
170
|
-
} & { [K_6 in Exclude<keyof I_1["duel"], keyof DuelPlinkoPayouts>]: never; }) | undefined;
|
|
171
|
-
} & { [K_7 in Exclude<keyof I_1, keyof PlinkoPayouts>]: never; }>(object: I_1): PlinkoPayouts;
|
|
172
|
-
};
|
|
173
|
-
export declare const DuelPlinkoPayouts: {
|
|
174
|
-
encode(message: DuelPlinkoPayouts, writer?: _m0.Writer): _m0.Writer;
|
|
175
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): DuelPlinkoPayouts;
|
|
176
|
-
fromJSON(object: any): DuelPlinkoPayouts;
|
|
177
|
-
toJSON(message: DuelPlinkoPayouts): unknown;
|
|
178
|
-
create<I extends {
|
|
179
|
-
rows?: number | undefined;
|
|
180
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
181
|
-
} & {
|
|
182
|
-
rows?: number | undefined;
|
|
183
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
184
|
-
} & { [K in Exclude<keyof I, keyof DuelPlinkoPayouts>]: never; }>(base?: I | undefined): DuelPlinkoPayouts;
|
|
185
|
-
fromPartial<I_1 extends {
|
|
186
|
-
rows?: number | undefined;
|
|
187
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
188
|
-
} & {
|
|
189
|
-
rows?: number | undefined;
|
|
190
|
-
risk?: DuelPlinkoRisk | undefined;
|
|
191
|
-
} & { [K_1 in Exclude<keyof I_1, keyof DuelPlinkoPayouts>]: never; }>(object: I_1): DuelPlinkoPayouts;
|
|
146
|
+
possibilities?: (number[] & number[] & { [K_3 in Exclude<keyof I_1["custom"]["possibilities"], keyof number[]>]: never; }) | undefined;
|
|
147
|
+
} & { [K_4 in Exclude<keyof I_1["custom"], "possibilities">]: never; }) | undefined;
|
|
148
|
+
table?: PlinkoPayoutTable | undefined;
|
|
149
|
+
} & { [K_5 in Exclude<keyof I_1, keyof PlinkoPayouts>]: never; }>(object: I_1): PlinkoPayouts;
|
|
192
150
|
};
|
|
193
151
|
export declare const CustomPlinkoPayouts: {
|
|
194
152
|
encode(message: CustomPlinkoPayouts, writer?: _m0.Writer): _m0.Writer;
|