@actuallyfair/verifier 0.0.8 → 0.0.9

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.
Files changed (33) hide show
  1. package/dist/generated/context/crash-dice.d.ts +5 -0
  2. package/dist/generated/context/crash-dice.js +15 -1
  3. package/dist/generated/context/fair-coin-toss.d.ts +7 -2
  4. package/dist/generated/context/fair-coin-toss.js +18 -2
  5. package/dist/generated/context/hilo.d.ts +5 -0
  6. package/dist/generated/context/hilo.js +15 -1
  7. package/dist/generated/context/index.d.ts +80 -22
  8. package/dist/generated/context/index.js +57 -50
  9. package/dist/generated/context/mines.d.ts +5 -0
  10. package/dist/generated/context/mines.js +15 -1
  11. package/dist/generated/context/multi-roulette.d.ts +7 -2
  12. package/dist/generated/context/multi-roulette.js +15 -1
  13. package/dist/generated/context/plinko.d.ts +5 -0
  14. package/dist/generated/context/plinko.js +15 -1
  15. package/dist/generated/context/tower.d.ts +5 -0
  16. package/dist/generated/context/tower.js +15 -1
  17. package/package.json +2 -1
  18. package/protobuf/context/crash-dice.proto +2 -1
  19. package/protobuf/context/fair-coin-toss.proto +2 -1
  20. package/protobuf/context/hilo.proto +2 -1
  21. package/protobuf/context/index.proto +12 -11
  22. package/protobuf/context/mines.proto +2 -1
  23. package/protobuf/context/multi-roulette.proto +2 -1
  24. package/protobuf/context/plinko.proto +1 -0
  25. package/protobuf/context/tower.proto +2 -1
  26. package/src/generated/context/crash-dice.ts +17 -1
  27. package/src/generated/context/fair-coin-toss.ts +20 -2
  28. package/src/generated/context/hilo.ts +17 -1
  29. package/src/generated/context/index.ts +64 -55
  30. package/src/generated/context/mines.ts +17 -1
  31. package/src/generated/context/multi-roulette.ts +17 -1
  32. package/src/generated/context/plinko.ts +17 -1
  33. package/src/generated/context/tower.ts +17 -1
@@ -4,6 +4,7 @@ export interface CrashDice {
4
4
  amount: Amount | undefined;
5
5
  target: number;
6
6
  houseEdge: number;
7
+ compressedSeed: number;
7
8
  }
8
9
  export declare const CrashDice: {
9
10
  encode(message: CrashDice, writer?: _m0.Writer): _m0.Writer;
@@ -17,6 +18,7 @@ export declare const CrashDice: {
17
18
  } | undefined;
18
19
  target?: number | undefined;
19
20
  houseEdge?: number | undefined;
21
+ compressedSeed?: number | undefined;
20
22
  } & {
21
23
  amount?: ({
22
24
  currency?: import("../currency").Currency | undefined;
@@ -27,6 +29,7 @@ export declare const CrashDice: {
27
29
  } & { [K in Exclude<keyof I["amount"], keyof Amount>]: never; }) | undefined;
28
30
  target?: number | undefined;
29
31
  houseEdge?: number | undefined;
32
+ compressedSeed?: number | undefined;
30
33
  } & { [K_1 in Exclude<keyof I, keyof CrashDice>]: never; }>(base?: I | undefined): CrashDice;
31
34
  fromPartial<I_1 extends {
32
35
  amount?: {
@@ -35,6 +38,7 @@ export declare const CrashDice: {
35
38
  } | undefined;
36
39
  target?: number | undefined;
37
40
  houseEdge?: number | undefined;
41
+ compressedSeed?: number | undefined;
38
42
  } & {
39
43
  amount?: ({
40
44
  currency?: import("../currency").Currency | undefined;
@@ -45,5 +49,6 @@ export declare const CrashDice: {
45
49
  } & { [K_2 in Exclude<keyof I_1["amount"], keyof Amount>]: never; }) | undefined;
46
50
  target?: number | undefined;
47
51
  houseEdge?: number | undefined;
52
+ compressedSeed?: number | undefined;
48
53
  } & { [K_3 in Exclude<keyof I_1, keyof CrashDice>]: never; }>(object: I_1): CrashDice;
49
54
  };
@@ -8,7 +8,7 @@ exports.CrashDice = void 0;
8
8
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
9
  const amount_1 = require("../amount");
10
10
  function createBaseCrashDice() {
11
- return { amount: undefined, target: 0, houseEdge: 0 };
11
+ return { amount: undefined, target: 0, houseEdge: 0, compressedSeed: 0 };
12
12
  }
13
13
  exports.CrashDice = {
14
14
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -21,6 +21,9 @@ exports.CrashDice = {
21
21
  if (message.houseEdge !== 0) {
22
22
  writer.uint32(25).double(message.houseEdge);
23
23
  }
24
+ if (message.compressedSeed !== 0) {
25
+ writer.uint32(37).fixed32(message.compressedSeed);
26
+ }
24
27
  return writer;
25
28
  },
26
29
  decode(input, length) {
@@ -48,6 +51,12 @@ exports.CrashDice = {
48
51
  }
49
52
  message.houseEdge = reader.double();
50
53
  continue;
54
+ case 4:
55
+ if (tag !== 37) {
56
+ break;
57
+ }
58
+ message.compressedSeed = reader.fixed32();
59
+ continue;
51
60
  }
52
61
  if ((tag & 7) === 4 || tag === 0) {
53
62
  break;
@@ -61,6 +70,7 @@ exports.CrashDice = {
61
70
  amount: isSet(object.amount) ? amount_1.Amount.fromJSON(object.amount) : undefined,
62
71
  target: isSet(object.target) ? globalThis.Number(object.target) : 0,
63
72
  houseEdge: isSet(object.houseEdge) ? globalThis.Number(object.houseEdge) : 0,
73
+ compressedSeed: isSet(object.compressedSeed) ? globalThis.Number(object.compressedSeed) : 0,
64
74
  };
65
75
  },
66
76
  toJSON(message) {
@@ -74,6 +84,9 @@ exports.CrashDice = {
74
84
  if (message.houseEdge !== 0) {
75
85
  obj.houseEdge = message.houseEdge;
76
86
  }
87
+ if (message.compressedSeed !== 0) {
88
+ obj.compressedSeed = Math.round(message.compressedSeed);
89
+ }
77
90
  return obj;
78
91
  },
79
92
  create(base) {
@@ -86,6 +99,7 @@ exports.CrashDice = {
86
99
  : undefined;
87
100
  message.target = object.target ?? 0;
88
101
  message.houseEdge = object.houseEdge ?? 0;
102
+ message.compressedSeed = object.compressedSeed ?? 0;
89
103
  return message;
90
104
  },
91
105
  };
@@ -2,6 +2,7 @@ import _m0 from "protobufjs/minimal";
2
2
  /** This is a very simple coin toss with 50/50 odds. Does not have amounts as its just for demo apps */
3
3
  export interface FairCoinToss {
4
4
  playerChoice: FairCoinToss_Choice;
5
+ compressedSeed: number;
5
6
  }
6
7
  export declare enum FairCoinToss_Choice {
7
8
  HEADS = 0,
@@ -17,12 +18,16 @@ export declare const FairCoinToss: {
17
18
  toJSON(message: FairCoinToss): unknown;
18
19
  create<I extends {
19
20
  playerChoice?: FairCoinToss_Choice | undefined;
21
+ compressedSeed?: number | undefined;
20
22
  } & {
21
23
  playerChoice?: FairCoinToss_Choice | undefined;
22
- } & { [K in Exclude<keyof I, "playerChoice">]: never; }>(base?: I | undefined): FairCoinToss;
24
+ compressedSeed?: number | undefined;
25
+ } & { [K in Exclude<keyof I, keyof FairCoinToss>]: never; }>(base?: I | undefined): FairCoinToss;
23
26
  fromPartial<I_1 extends {
24
27
  playerChoice?: FairCoinToss_Choice | undefined;
28
+ compressedSeed?: number | undefined;
25
29
  } & {
26
30
  playerChoice?: FairCoinToss_Choice | undefined;
27
- } & { [K_1 in Exclude<keyof I_1, "playerChoice">]: never; }>(object: I_1): FairCoinToss;
31
+ compressedSeed?: number | undefined;
32
+ } & { [K_1 in Exclude<keyof I_1, keyof FairCoinToss>]: never; }>(object: I_1): FairCoinToss;
28
33
  };
@@ -40,13 +40,16 @@ function fairCoinToss_ChoiceToJSON(object) {
40
40
  }
41
41
  exports.fairCoinToss_ChoiceToJSON = fairCoinToss_ChoiceToJSON;
42
42
  function createBaseFairCoinToss() {
43
- return { playerChoice: 0 };
43
+ return { playerChoice: 0, compressedSeed: 0 };
44
44
  }
45
45
  exports.FairCoinToss = {
46
46
  encode(message, writer = minimal_1.default.Writer.create()) {
47
47
  if (message.playerChoice !== 0) {
48
48
  writer.uint32(8).int32(message.playerChoice);
49
49
  }
50
+ if (message.compressedSeed !== 0) {
51
+ writer.uint32(21).fixed32(message.compressedSeed);
52
+ }
50
53
  return writer;
51
54
  },
52
55
  decode(input, length) {
@@ -62,6 +65,12 @@ exports.FairCoinToss = {
62
65
  }
63
66
  message.playerChoice = reader.int32();
64
67
  continue;
68
+ case 2:
69
+ if (tag !== 21) {
70
+ break;
71
+ }
72
+ message.compressedSeed = reader.fixed32();
73
+ continue;
65
74
  }
66
75
  if ((tag & 7) === 4 || tag === 0) {
67
76
  break;
@@ -71,13 +80,19 @@ exports.FairCoinToss = {
71
80
  return message;
72
81
  },
73
82
  fromJSON(object) {
74
- return { playerChoice: isSet(object.playerChoice) ? fairCoinToss_ChoiceFromJSON(object.playerChoice) : 0 };
83
+ return {
84
+ playerChoice: isSet(object.playerChoice) ? fairCoinToss_ChoiceFromJSON(object.playerChoice) : 0,
85
+ compressedSeed: isSet(object.compressedSeed) ? globalThis.Number(object.compressedSeed) : 0,
86
+ };
75
87
  },
76
88
  toJSON(message) {
77
89
  const obj = {};
78
90
  if (message.playerChoice !== 0) {
79
91
  obj.playerChoice = fairCoinToss_ChoiceToJSON(message.playerChoice);
80
92
  }
93
+ if (message.compressedSeed !== 0) {
94
+ obj.compressedSeed = Math.round(message.compressedSeed);
95
+ }
81
96
  return obj;
82
97
  },
83
98
  create(base) {
@@ -86,6 +101,7 @@ exports.FairCoinToss = {
86
101
  fromPartial(object) {
87
102
  const message = createBaseFairCoinToss();
88
103
  message.playerChoice = object.playerChoice ?? 0;
104
+ message.compressedSeed = object.compressedSeed ?? 0;
89
105
  return message;
90
106
  },
91
107
  };
@@ -40,6 +40,7 @@ export declare function hiLoMove_ChoiceToJSON(object: HiLoMove_Choice): string;
40
40
  export interface HiLo {
41
41
  start?: HiLoStart | undefined;
42
42
  move?: HiLoMove | undefined;
43
+ compressedSeed: number;
43
44
  }
44
45
  export declare const HiLoStart: {
45
46
  encode(message: HiLoStart, writer?: _m0.Writer): _m0.Writer;
@@ -116,6 +117,7 @@ export declare const HiLo: {
116
117
  playerChoice?: HiLoMove_Choice | undefined;
117
118
  moveIndex?: number | undefined;
118
119
  } | undefined;
120
+ compressedSeed?: number | undefined;
119
121
  } & {
120
122
  start?: ({
121
123
  amount?: {
@@ -140,6 +142,7 @@ export declare const HiLo: {
140
142
  playerChoice?: HiLoMove_Choice | undefined;
141
143
  moveIndex?: number | undefined;
142
144
  } & { [K_2 in Exclude<keyof I["move"], keyof HiLoMove>]: never; }) | undefined;
145
+ compressedSeed?: number | undefined;
143
146
  } & { [K_3 in Exclude<keyof I, keyof HiLo>]: never; }>(base?: I | undefined): HiLo;
144
147
  fromPartial<I_1 extends {
145
148
  start?: {
@@ -153,6 +156,7 @@ export declare const HiLo: {
153
156
  playerChoice?: HiLoMove_Choice | undefined;
154
157
  moveIndex?: number | undefined;
155
158
  } | undefined;
159
+ compressedSeed?: number | undefined;
156
160
  } & {
157
161
  start?: ({
158
162
  amount?: {
@@ -177,5 +181,6 @@ export declare const HiLo: {
177
181
  playerChoice?: HiLoMove_Choice | undefined;
178
182
  moveIndex?: number | undefined;
179
183
  } & { [K_6 in Exclude<keyof I_1["move"], keyof HiLoMove>]: never; }) | undefined;
184
+ compressedSeed?: number | undefined;
180
185
  } & { [K_7 in Exclude<keyof I_1, keyof HiLo>]: never; }>(object: I_1): HiLo;
181
186
  };
@@ -292,7 +292,7 @@ exports.HiLoMove = {
292
292
  },
293
293
  };
294
294
  function createBaseHiLo() {
295
- return { start: undefined, move: undefined };
295
+ return { start: undefined, move: undefined, compressedSeed: 0 };
296
296
  }
297
297
  exports.HiLo = {
298
298
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -302,6 +302,9 @@ exports.HiLo = {
302
302
  if (message.move !== undefined) {
303
303
  exports.HiLoMove.encode(message.move, writer.uint32(18).fork()).ldelim();
304
304
  }
305
+ if (message.compressedSeed !== 0) {
306
+ writer.uint32(29).fixed32(message.compressedSeed);
307
+ }
305
308
  return writer;
306
309
  },
307
310
  decode(input, length) {
@@ -323,6 +326,12 @@ exports.HiLo = {
323
326
  }
324
327
  message.move = exports.HiLoMove.decode(reader, reader.uint32());
325
328
  continue;
329
+ case 3:
330
+ if (tag !== 29) {
331
+ break;
332
+ }
333
+ message.compressedSeed = reader.fixed32();
334
+ continue;
326
335
  }
327
336
  if ((tag & 7) === 4 || tag === 0) {
328
337
  break;
@@ -335,6 +344,7 @@ exports.HiLo = {
335
344
  return {
336
345
  start: isSet(object.start) ? exports.HiLoStart.fromJSON(object.start) : undefined,
337
346
  move: isSet(object.move) ? exports.HiLoMove.fromJSON(object.move) : undefined,
347
+ compressedSeed: isSet(object.compressedSeed) ? globalThis.Number(object.compressedSeed) : 0,
338
348
  };
339
349
  },
340
350
  toJSON(message) {
@@ -345,6 +355,9 @@ exports.HiLo = {
345
355
  if (message.move !== undefined) {
346
356
  obj.move = exports.HiLoMove.toJSON(message.move);
347
357
  }
358
+ if (message.compressedSeed !== 0) {
359
+ obj.compressedSeed = Math.round(message.compressedSeed);
360
+ }
348
361
  return obj;
349
362
  },
350
363
  create(base) {
@@ -356,6 +369,7 @@ exports.HiLo = {
356
369
  ? exports.HiLoStart.fromPartial(object.start)
357
370
  : undefined;
358
371
  message.move = (object.move !== undefined && object.move !== null) ? exports.HiLoMove.fromPartial(object.move) : undefined;
372
+ message.compressedSeed = object.compressedSeed ?? 0;
359
373
  return message;
360
374
  },
361
375
  };
@@ -8,8 +8,7 @@ import { MultiRoulette } from "./multi-roulette";
8
8
  import { Plinko } from "./plinko";
9
9
  import { Tower } from "./tower";
10
10
  export interface Context {
11
- compressedSeed: number;
12
- init?: PosthashInit | undefined;
11
+ init?: Init | undefined;
13
12
  plinko?: Plinko | undefined;
14
13
  crashDice?: CrashDice | undefined;
15
14
  fairCoinToss?: FairCoinToss | undefined;
@@ -19,7 +18,8 @@ export interface Context {
19
18
  mines?: Mines | undefined;
20
19
  tower?: Tower | undefined;
21
20
  }
22
- export interface PosthashInit {
21
+ export interface Init {
22
+ userId: number;
23
23
  }
24
24
  export declare const Context: {
25
25
  encode(message: Context, writer?: _m0.Writer): _m0.Writer;
@@ -27,8 +27,9 @@ export declare const Context: {
27
27
  fromJSON(object: any): Context;
28
28
  toJSON(message: Context): unknown;
29
29
  create<I extends {
30
- compressedSeed?: number | undefined;
31
- init?: {} | undefined;
30
+ init?: {
31
+ userId?: number | undefined;
32
+ } | undefined;
32
33
  plinko?: {
33
34
  amount?: {
34
35
  currency?: import("../currency").Currency | undefined;
@@ -40,6 +41,7 @@ export declare const Context: {
40
41
  } | undefined;
41
42
  table?: import("./plinko").PlinkoPayoutTable | undefined;
42
43
  } | undefined;
44
+ compressedSeed?: number | undefined;
43
45
  } | undefined;
44
46
  crashDice?: {
45
47
  amount?: {
@@ -48,9 +50,11 @@ export declare const Context: {
48
50
  } | undefined;
49
51
  target?: number | undefined;
50
52
  houseEdge?: number | undefined;
53
+ compressedSeed?: number | undefined;
51
54
  } | undefined;
52
55
  fairCoinToss?: {
53
56
  playerChoice?: import("./fair-coin-toss").FairCoinToss_Choice | undefined;
57
+ compressedSeed?: number | undefined;
54
58
  } | undefined;
55
59
  crash?: {
56
60
  houseEdge?: number | undefined;
@@ -67,6 +71,7 @@ export declare const Context: {
67
71
  playerChoice?: import("./hilo").HiLoMove_Choice | undefined;
68
72
  moveIndex?: number | undefined;
69
73
  } | undefined;
74
+ compressedSeed?: number | undefined;
70
75
  } | undefined;
71
76
  multiRoulette?: {
72
77
  outcomes?: {
@@ -81,6 +86,7 @@ export declare const Context: {
81
86
  }[] | undefined;
82
87
  name?: string | undefined;
83
88
  }[] | undefined;
89
+ compressedSeed?: number | undefined;
84
90
  } | undefined;
85
91
  mines?: {
86
92
  start?: {
@@ -97,6 +103,7 @@ export declare const Context: {
97
103
  cell?: number | undefined;
98
104
  } | undefined;
99
105
  cashout?: boolean | undefined;
106
+ compressedSeed?: number | undefined;
100
107
  } | undefined;
101
108
  tower?: {
102
109
  start?: {
@@ -113,10 +120,14 @@ export declare const Context: {
113
120
  choice?: number | undefined;
114
121
  } | undefined;
115
122
  cashout?: boolean | undefined;
123
+ compressedSeed?: number | undefined;
116
124
  } | undefined;
117
125
  } & {
118
- compressedSeed?: number | undefined;
119
- init?: ({} & {} & { [K in Exclude<keyof I["init"], never>]: never; }) | undefined;
126
+ init?: ({
127
+ userId?: number | undefined;
128
+ } & {
129
+ userId?: number | undefined;
130
+ } & { [K in Exclude<keyof I["init"], "userId">]: never; }) | undefined;
120
131
  plinko?: ({
121
132
  amount?: {
122
133
  currency?: import("../currency").Currency | undefined;
@@ -128,6 +139,7 @@ export declare const Context: {
128
139
  } | undefined;
129
140
  table?: import("./plinko").PlinkoPayoutTable | undefined;
130
141
  } | undefined;
142
+ compressedSeed?: number | undefined;
131
143
  } & {
132
144
  amount?: ({
133
145
  currency?: import("../currency").Currency | undefined;
@@ -149,6 +161,7 @@ export declare const Context: {
149
161
  } & { [K_3 in Exclude<keyof I["plinko"]["payouts"]["custom"], "possibilities">]: never; }) | undefined;
150
162
  table?: import("./plinko").PlinkoPayoutTable | undefined;
151
163
  } & { [K_4 in Exclude<keyof I["plinko"]["payouts"], keyof import("./plinko").PlinkoPayouts>]: never; }) | undefined;
164
+ compressedSeed?: number | undefined;
152
165
  } & { [K_5 in Exclude<keyof I["plinko"], keyof Plinko>]: never; }) | undefined;
153
166
  crashDice?: ({
154
167
  amount?: {
@@ -157,6 +170,7 @@ export declare const Context: {
157
170
  } | undefined;
158
171
  target?: number | undefined;
159
172
  houseEdge?: number | undefined;
173
+ compressedSeed?: number | undefined;
160
174
  } & {
161
175
  amount?: ({
162
176
  currency?: import("../currency").Currency | undefined;
@@ -167,12 +181,15 @@ export declare const Context: {
167
181
  } & { [K_6 in Exclude<keyof I["crashDice"]["amount"], keyof import("../amount").Amount>]: never; }) | undefined;
168
182
  target?: number | undefined;
169
183
  houseEdge?: number | undefined;
184
+ compressedSeed?: number | undefined;
170
185
  } & { [K_7 in Exclude<keyof I["crashDice"], keyof CrashDice>]: never; }) | undefined;
171
186
  fairCoinToss?: ({
172
187
  playerChoice?: import("./fair-coin-toss").FairCoinToss_Choice | undefined;
188
+ compressedSeed?: number | undefined;
173
189
  } & {
174
190
  playerChoice?: import("./fair-coin-toss").FairCoinToss_Choice | undefined;
175
- } & { [K_8 in Exclude<keyof I["fairCoinToss"], "playerChoice">]: never; }) | undefined;
191
+ compressedSeed?: number | undefined;
192
+ } & { [K_8 in Exclude<keyof I["fairCoinToss"], keyof FairCoinToss>]: never; }) | undefined;
176
193
  crash?: ({
177
194
  houseEdge?: number | undefined;
178
195
  } & {
@@ -190,6 +207,7 @@ export declare const Context: {
190
207
  playerChoice?: import("./hilo").HiLoMove_Choice | undefined;
191
208
  moveIndex?: number | undefined;
192
209
  } | undefined;
210
+ compressedSeed?: number | undefined;
193
211
  } & {
194
212
  start?: ({
195
213
  amount?: {
@@ -214,6 +232,7 @@ export declare const Context: {
214
232
  playerChoice?: import("./hilo").HiLoMove_Choice | undefined;
215
233
  moveIndex?: number | undefined;
216
234
  } & { [K_12 in Exclude<keyof I["hilo"]["move"], keyof import("./hilo").HiLoMove>]: never; }) | undefined;
235
+ compressedSeed?: number | undefined;
217
236
  } & { [K_13 in Exclude<keyof I["hilo"], keyof HiLo>]: never; }) | undefined;
218
237
  multiRoulette?: ({
219
238
  outcomes?: {
@@ -228,6 +247,7 @@ export declare const Context: {
228
247
  }[] | undefined;
229
248
  name?: string | undefined;
230
249
  }[] | undefined;
250
+ compressedSeed?: number | undefined;
231
251
  } & {
232
252
  outcomes?: ({
233
253
  multiplier?: number | undefined;
@@ -295,7 +315,8 @@ export declare const Context: {
295
315
  }[] | undefined;
296
316
  name?: string | undefined;
297
317
  }[]>]: never; }) | undefined;
298
- } & { [K_19 in Exclude<keyof I["multiRoulette"], "outcomes">]: never; }) | undefined;
318
+ compressedSeed?: number | undefined;
319
+ } & { [K_19 in Exclude<keyof I["multiRoulette"], keyof MultiRoulette>]: never; }) | undefined;
299
320
  mines?: ({
300
321
  start?: {
301
322
  amount?: {
@@ -311,6 +332,7 @@ export declare const Context: {
311
332
  cell?: number | undefined;
312
333
  } | undefined;
313
334
  cashout?: boolean | undefined;
335
+ compressedSeed?: number | undefined;
314
336
  } & {
315
337
  start?: ({
316
338
  amount?: {
@@ -340,6 +362,7 @@ export declare const Context: {
340
362
  cell?: number | undefined;
341
363
  } & { [K_22 in Exclude<keyof I["mines"]["move"], "cell">]: never; }) | undefined;
342
364
  cashout?: boolean | undefined;
365
+ compressedSeed?: number | undefined;
343
366
  } & { [K_23 in Exclude<keyof I["mines"], keyof Mines>]: never; }) | undefined;
344
367
  tower?: ({
345
368
  start?: {
@@ -356,6 +379,7 @@ export declare const Context: {
356
379
  choice?: number | undefined;
357
380
  } | undefined;
358
381
  cashout?: boolean | undefined;
382
+ compressedSeed?: number | undefined;
359
383
  } & {
360
384
  start?: ({
361
385
  amount?: {
@@ -385,11 +409,13 @@ export declare const Context: {
385
409
  choice?: number | undefined;
386
410
  } & { [K_26 in Exclude<keyof I["tower"]["move"], "choice">]: never; }) | undefined;
387
411
  cashout?: boolean | undefined;
412
+ compressedSeed?: number | undefined;
388
413
  } & { [K_27 in Exclude<keyof I["tower"], keyof Tower>]: never; }) | undefined;
389
414
  } & { [K_28 in Exclude<keyof I, keyof Context>]: never; }>(base?: I | undefined): Context;
390
415
  fromPartial<I_1 extends {
391
- compressedSeed?: number | undefined;
392
- init?: {} | undefined;
416
+ init?: {
417
+ userId?: number | undefined;
418
+ } | undefined;
393
419
  plinko?: {
394
420
  amount?: {
395
421
  currency?: import("../currency").Currency | undefined;
@@ -401,6 +427,7 @@ export declare const Context: {
401
427
  } | undefined;
402
428
  table?: import("./plinko").PlinkoPayoutTable | undefined;
403
429
  } | undefined;
430
+ compressedSeed?: number | undefined;
404
431
  } | undefined;
405
432
  crashDice?: {
406
433
  amount?: {
@@ -409,9 +436,11 @@ export declare const Context: {
409
436
  } | undefined;
410
437
  target?: number | undefined;
411
438
  houseEdge?: number | undefined;
439
+ compressedSeed?: number | undefined;
412
440
  } | undefined;
413
441
  fairCoinToss?: {
414
442
  playerChoice?: import("./fair-coin-toss").FairCoinToss_Choice | undefined;
443
+ compressedSeed?: number | undefined;
415
444
  } | undefined;
416
445
  crash?: {
417
446
  houseEdge?: number | undefined;
@@ -428,6 +457,7 @@ export declare const Context: {
428
457
  playerChoice?: import("./hilo").HiLoMove_Choice | undefined;
429
458
  moveIndex?: number | undefined;
430
459
  } | undefined;
460
+ compressedSeed?: number | undefined;
431
461
  } | undefined;
432
462
  multiRoulette?: {
433
463
  outcomes?: {
@@ -442,6 +472,7 @@ export declare const Context: {
442
472
  }[] | undefined;
443
473
  name?: string | undefined;
444
474
  }[] | undefined;
475
+ compressedSeed?: number | undefined;
445
476
  } | undefined;
446
477
  mines?: {
447
478
  start?: {
@@ -458,6 +489,7 @@ export declare const Context: {
458
489
  cell?: number | undefined;
459
490
  } | undefined;
460
491
  cashout?: boolean | undefined;
492
+ compressedSeed?: number | undefined;
461
493
  } | undefined;
462
494
  tower?: {
463
495
  start?: {
@@ -474,10 +506,14 @@ export declare const Context: {
474
506
  choice?: number | undefined;
475
507
  } | undefined;
476
508
  cashout?: boolean | undefined;
509
+ compressedSeed?: number | undefined;
477
510
  } | undefined;
478
511
  } & {
479
- compressedSeed?: number | undefined;
480
- init?: ({} & {} & { [K_29 in Exclude<keyof I_1["init"], never>]: never; }) | undefined;
512
+ init?: ({
513
+ userId?: number | undefined;
514
+ } & {
515
+ userId?: number | undefined;
516
+ } & { [K_29 in Exclude<keyof I_1["init"], "userId">]: never; }) | undefined;
481
517
  plinko?: ({
482
518
  amount?: {
483
519
  currency?: import("../currency").Currency | undefined;
@@ -489,6 +525,7 @@ export declare const Context: {
489
525
  } | undefined;
490
526
  table?: import("./plinko").PlinkoPayoutTable | undefined;
491
527
  } | undefined;
528
+ compressedSeed?: number | undefined;
492
529
  } & {
493
530
  amount?: ({
494
531
  currency?: import("../currency").Currency | undefined;
@@ -510,6 +547,7 @@ export declare const Context: {
510
547
  } & { [K_32 in Exclude<keyof I_1["plinko"]["payouts"]["custom"], "possibilities">]: never; }) | undefined;
511
548
  table?: import("./plinko").PlinkoPayoutTable | undefined;
512
549
  } & { [K_33 in Exclude<keyof I_1["plinko"]["payouts"], keyof import("./plinko").PlinkoPayouts>]: never; }) | undefined;
550
+ compressedSeed?: number | undefined;
513
551
  } & { [K_34 in Exclude<keyof I_1["plinko"], keyof Plinko>]: never; }) | undefined;
514
552
  crashDice?: ({
515
553
  amount?: {
@@ -518,6 +556,7 @@ export declare const Context: {
518
556
  } | undefined;
519
557
  target?: number | undefined;
520
558
  houseEdge?: number | undefined;
559
+ compressedSeed?: number | undefined;
521
560
  } & {
522
561
  amount?: ({
523
562
  currency?: import("../currency").Currency | undefined;
@@ -528,12 +567,15 @@ export declare const Context: {
528
567
  } & { [K_35 in Exclude<keyof I_1["crashDice"]["amount"], keyof import("../amount").Amount>]: never; }) | undefined;
529
568
  target?: number | undefined;
530
569
  houseEdge?: number | undefined;
570
+ compressedSeed?: number | undefined;
531
571
  } & { [K_36 in Exclude<keyof I_1["crashDice"], keyof CrashDice>]: never; }) | undefined;
532
572
  fairCoinToss?: ({
533
573
  playerChoice?: import("./fair-coin-toss").FairCoinToss_Choice | undefined;
574
+ compressedSeed?: number | undefined;
534
575
  } & {
535
576
  playerChoice?: import("./fair-coin-toss").FairCoinToss_Choice | undefined;
536
- } & { [K_37 in Exclude<keyof I_1["fairCoinToss"], "playerChoice">]: never; }) | undefined;
577
+ compressedSeed?: number | undefined;
578
+ } & { [K_37 in Exclude<keyof I_1["fairCoinToss"], keyof FairCoinToss>]: never; }) | undefined;
537
579
  crash?: ({
538
580
  houseEdge?: number | undefined;
539
581
  } & {
@@ -551,6 +593,7 @@ export declare const Context: {
551
593
  playerChoice?: import("./hilo").HiLoMove_Choice | undefined;
552
594
  moveIndex?: number | undefined;
553
595
  } | undefined;
596
+ compressedSeed?: number | undefined;
554
597
  } & {
555
598
  start?: ({
556
599
  amount?: {
@@ -575,6 +618,7 @@ export declare const Context: {
575
618
  playerChoice?: import("./hilo").HiLoMove_Choice | undefined;
576
619
  moveIndex?: number | undefined;
577
620
  } & { [K_41 in Exclude<keyof I_1["hilo"]["move"], keyof import("./hilo").HiLoMove>]: never; }) | undefined;
621
+ compressedSeed?: number | undefined;
578
622
  } & { [K_42 in Exclude<keyof I_1["hilo"], keyof HiLo>]: never; }) | undefined;
579
623
  multiRoulette?: ({
580
624
  outcomes?: {
@@ -589,6 +633,7 @@ export declare const Context: {
589
633
  }[] | undefined;
590
634
  name?: string | undefined;
591
635
  }[] | undefined;
636
+ compressedSeed?: number | undefined;
592
637
  } & {
593
638
  outcomes?: ({
594
639
  multiplier?: number | undefined;
@@ -656,7 +701,8 @@ export declare const Context: {
656
701
  }[] | undefined;
657
702
  name?: string | undefined;
658
703
  }[]>]: never; }) | undefined;
659
- } & { [K_48 in Exclude<keyof I_1["multiRoulette"], "outcomes">]: never; }) | undefined;
704
+ compressedSeed?: number | undefined;
705
+ } & { [K_48 in Exclude<keyof I_1["multiRoulette"], keyof MultiRoulette>]: never; }) | undefined;
660
706
  mines?: ({
661
707
  start?: {
662
708
  amount?: {
@@ -672,6 +718,7 @@ export declare const Context: {
672
718
  cell?: number | undefined;
673
719
  } | undefined;
674
720
  cashout?: boolean | undefined;
721
+ compressedSeed?: number | undefined;
675
722
  } & {
676
723
  start?: ({
677
724
  amount?: {
@@ -701,6 +748,7 @@ export declare const Context: {
701
748
  cell?: number | undefined;
702
749
  } & { [K_51 in Exclude<keyof I_1["mines"]["move"], "cell">]: never; }) | undefined;
703
750
  cashout?: boolean | undefined;
751
+ compressedSeed?: number | undefined;
704
752
  } & { [K_52 in Exclude<keyof I_1["mines"], keyof Mines>]: never; }) | undefined;
705
753
  tower?: ({
706
754
  start?: {
@@ -717,6 +765,7 @@ export declare const Context: {
717
765
  choice?: number | undefined;
718
766
  } | undefined;
719
767
  cashout?: boolean | undefined;
768
+ compressedSeed?: number | undefined;
720
769
  } & {
721
770
  start?: ({
722
771
  amount?: {
@@ -746,14 +795,23 @@ export declare const Context: {
746
795
  choice?: number | undefined;
747
796
  } & { [K_55 in Exclude<keyof I_1["tower"]["move"], "choice">]: never; }) | undefined;
748
797
  cashout?: boolean | undefined;
798
+ compressedSeed?: number | undefined;
749
799
  } & { [K_56 in Exclude<keyof I_1["tower"], keyof Tower>]: never; }) | undefined;
750
800
  } & { [K_57 in Exclude<keyof I_1, keyof Context>]: never; }>(object: I_1): Context;
751
801
  };
752
- export declare const PosthashInit: {
753
- encode(_: PosthashInit, writer?: _m0.Writer): _m0.Writer;
754
- decode(input: _m0.Reader | Uint8Array, length?: number): PosthashInit;
755
- fromJSON(_: any): PosthashInit;
756
- toJSON(_: PosthashInit): unknown;
757
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I | undefined): PosthashInit;
758
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): PosthashInit;
802
+ export declare const Init: {
803
+ encode(message: Init, writer?: _m0.Writer): _m0.Writer;
804
+ decode(input: _m0.Reader | Uint8Array, length?: number): Init;
805
+ fromJSON(object: any): Init;
806
+ toJSON(message: Init): unknown;
807
+ create<I extends {
808
+ userId?: number | undefined;
809
+ } & {
810
+ userId?: number | undefined;
811
+ } & { [K in Exclude<keyof I, "userId">]: never; }>(base?: I | undefined): Init;
812
+ fromPartial<I_1 extends {
813
+ userId?: number | undefined;
814
+ } & {
815
+ userId?: number | undefined;
816
+ } & { [K_1 in Exclude<keyof I_1, "userId">]: never; }>(object: I_1): Init;
759
817
  };