@peeramid-labs/sdk 2.1.0 → 2.1.2

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.
@@ -0,0 +1,835 @@
1
+ # Class: GameMaster
2
+
3
+ GameMaster class for managing game state and cryptographic operations in Rankify
4
+ Extends InstanceBase to provide game master specific functionality
5
+
6
+ ## Hierarchy
7
+
8
+ - [`InstanceBase`](InstanceBase.md)
9
+
10
+ ↳ **`GameMaster`**
11
+
12
+ ## Table of contents
13
+
14
+ ### Constructors
15
+
16
+ - [constructor](GameMaster.md#constructor)
17
+
18
+ ### Properties
19
+
20
+ - [EIP712name](GameMaster.md#eip712name)
21
+ - [EIP712Version](GameMaster.md#eip712version)
22
+ - [walletClient](GameMaster.md#walletclient)
23
+ - [encryptionCallback](GameMaster.md#encryptioncallback)
24
+ - [decryptionCallback](GameMaster.md#decryptioncallback)
25
+ - [randomnessCallback](GameMaster.md#randomnesscallback)
26
+ - [turnSaltCallback](GameMaster.md#turnsaltcallback)
27
+ - [publicClient](GameMaster.md#publicclient)
28
+ - [chainId](GameMaster.md#chainid)
29
+ - [instanceAddress](GameMaster.md#instanceaddress)
30
+
31
+ ### Methods
32
+
33
+ - [decryptProposals](GameMaster.md#decryptproposals)
34
+ - [shuffle](GameMaster.md#shuffle)
35
+ - [getTurnSalt](GameMaster.md#getturnsalt)
36
+ - [getTurnPlayersSalt](GameMaster.md#getturnplayerssalt)
37
+ - [findPlayerOngoingProposalIndex](GameMaster.md#findplayerongoingproposalindex)
38
+ - [submitVote](GameMaster.md#submitvote)
39
+ - [proposerHidden](GameMaster.md#proposerhidden)
40
+ - [submitProposal](GameMaster.md#submitproposal)
41
+ - [decryptTurnVotes](GameMaster.md#decryptturnvotes)
42
+ - [decryptVotes](GameMaster.md#decryptvotes)
43
+ - [canEndTurn](GameMaster.md#canendturn)
44
+ - [currentTurn](GameMaster.md#currentturn)
45
+ - [getPlayers](GameMaster.md#getplayers)
46
+ - [endTurn](GameMaster.md#endturn)
47
+ - [getHistoricTurn](GameMaster.md#gethistoricturn)
48
+ - [getPreviousTurnStats](GameMaster.md#getpreviousturnstats)
49
+ - [getVoting](GameMaster.md#getvoting)
50
+ - [getOngoingVoting](GameMaster.md#getongoingvoting)
51
+ - [getOngoingProposals](GameMaster.md#getongoingproposals)
52
+ - [getRegistrationDeadline](GameMaster.md#getregistrationdeadline)
53
+ - [resolveTurnDeadline](GameMaster.md#resolveturndeadline)
54
+ - [getTurnDeadline](GameMaster.md#getturndeadline)
55
+ - [getContractState](GameMaster.md#getcontractstate)
56
+ - [getPlayersGame](GameMaster.md#getplayersgame)
57
+ - [getProposalScoresList](GameMaster.md#getproposalscoreslist)
58
+ - [getCurrentTurn](GameMaster.md#getcurrentturn)
59
+ - [getGameState](GameMaster.md#getgamestate)
60
+
61
+ ## Constructors
62
+
63
+ ### constructor
64
+
65
+ • **new GameMaster**(`«destructured»`): [`GameMaster`](GameMaster.md)
66
+
67
+ Creates a new GameMaster instance
68
+
69
+ #### Parameters
70
+
71
+ | Name | Type |
72
+ | :------ | :------ |
73
+ | `«destructured»` | `Object` |
74
+ | › `EIP712name` | `string` |
75
+ | › `EIP712Version` | `string` |
76
+ | › `instanceAddress` | \`0x$\{string}\` |
77
+ | › `walletClient` | `Object` |
78
+ | › `publicClient` | `Object` |
79
+ | › `chainId` | `number` |
80
+ | › `encryptionCallback` | (`data`: `string`) => `Promise`\<`string`\> |
81
+ | › `decryptionCallback` | (`data`: `string`) => `Promise`\<`string`\> |
82
+ | › `randomnessCallback` | () => `Promise`\<`number`\> |
83
+ | › `turnSaltCallback` | (`__namedParameters`: \{ `gameId`: `bigint` ; `turn`: `bigint` }) => `Promise`\<\`0x$\{string}\`\> |
84
+
85
+ #### Returns
86
+
87
+ [`GameMaster`](GameMaster.md)
88
+
89
+ #### Overrides
90
+
91
+ [InstanceBase](InstanceBase.md).[constructor](InstanceBase.md#constructor)
92
+
93
+ ## Properties
94
+
95
+ ### EIP712name
96
+
97
+ • **EIP712name**: `string`
98
+
99
+ ___
100
+
101
+ ### EIP712Version
102
+
103
+ • **EIP712Version**: `string`
104
+
105
+ ___
106
+
107
+ ### walletClient
108
+
109
+ • **walletClient**: `Object`
110
+
111
+ ___
112
+
113
+ ### encryptionCallback
114
+
115
+ • **encryptionCallback**: (`data`: `string`) => `Promise`\<`string`\>
116
+
117
+ #### Type declaration
118
+
119
+ ▸ (`data`): `Promise`\<`string`\>
120
+
121
+ ##### Parameters
122
+
123
+ | Name | Type |
124
+ | :------ | :------ |
125
+ | `data` | `string` |
126
+
127
+ ##### Returns
128
+
129
+ `Promise`\<`string`\>
130
+
131
+ ___
132
+
133
+ ### decryptionCallback
134
+
135
+ • **decryptionCallback**: (`data`: `string`) => `Promise`\<`string`\>
136
+
137
+ #### Type declaration
138
+
139
+ ▸ (`data`): `Promise`\<`string`\>
140
+
141
+ ##### Parameters
142
+
143
+ | Name | Type |
144
+ | :------ | :------ |
145
+ | `data` | `string` |
146
+
147
+ ##### Returns
148
+
149
+ `Promise`\<`string`\>
150
+
151
+ ___
152
+
153
+ ### randomnessCallback
154
+
155
+ • **randomnessCallback**: () => `Promise`\<`number`\>
156
+
157
+ #### Type declaration
158
+
159
+ ▸ (): `Promise`\<`number`\>
160
+
161
+ ##### Returns
162
+
163
+ `Promise`\<`number`\>
164
+
165
+ ___
166
+
167
+ ### turnSaltCallback
168
+
169
+ • **turnSaltCallback**: (`__namedParameters`: \{ `gameId`: `bigint` ; `turn`: `bigint` }) => `Promise`\<\`0x$\{string}\`\>
170
+
171
+ #### Type declaration
172
+
173
+ ▸ (`«destructured»`): `Promise`\<\`0x$\{string}\`\>
174
+
175
+ ##### Parameters
176
+
177
+ | Name | Type |
178
+ | :------ | :------ |
179
+ | `«destructured»` | `Object` |
180
+ | › `gameId` | `bigint` |
181
+ | › `turn` | `bigint` |
182
+
183
+ ##### Returns
184
+
185
+ `Promise`\<\`0x$\{string}\`\>
186
+
187
+ ___
188
+
189
+ ### publicClient
190
+
191
+ • **publicClient**: `Object`
192
+
193
+ Public client for blockchain interactions
194
+
195
+ #### Inherited from
196
+
197
+ [InstanceBase](InstanceBase.md).[publicClient](InstanceBase.md#publicclient)
198
+
199
+ ___
200
+
201
+ ### chainId
202
+
203
+ • **chainId**: `number`
204
+
205
+ Chain ID of the network
206
+
207
+ #### Inherited from
208
+
209
+ [InstanceBase](InstanceBase.md).[chainId](InstanceBase.md#chainid)
210
+
211
+ ___
212
+
213
+ ### instanceAddress
214
+
215
+ • **instanceAddress**: \`0x$\{string}\`
216
+
217
+ Address of the Rankify instance contract
218
+
219
+ #### Inherited from
220
+
221
+ [InstanceBase](InstanceBase.md).[instanceAddress](InstanceBase.md#instanceaddress)
222
+
223
+ ## Methods
224
+
225
+ ### decryptProposals
226
+
227
+ ▸ **decryptProposals**(`gameId`, `turn`, `proposer?`): `Promise`\<\{ `proposer`: `undefined` \| \`0x$\{string}\` = log.args.proposer; `proposal`: `string` }[]\>
228
+
229
+ Decrypts proposals for a specific game turn
230
+
231
+ #### Parameters
232
+
233
+ | Name | Type | Description |
234
+ | :------ | :------ | :------ |
235
+ | `gameId` | `bigint` | ID of the game |
236
+ | `turn` | `bigint` | Turn number |
237
+ | `proposer?` | \`0x$\{string}\` | Optional proposer address to filter proposals |
238
+
239
+ #### Returns
240
+
241
+ `Promise`\<\{ `proposer`: `undefined` \| \`0x$\{string}\` = log.args.proposer; `proposal`: `string` }[]\>
242
+
243
+ Array of decrypted proposals with proposer addresses
244
+
245
+ ___
246
+
247
+ ### shuffle
248
+
249
+ ▸ **shuffle**\<`T`\>(`array`): `Promise`\<`T`[]\>
250
+
251
+ Shuffles an array using cryptographically secure randomness
252
+
253
+ #### Type parameters
254
+
255
+ | Name |
256
+ | :------ |
257
+ | `T` |
258
+
259
+ #### Parameters
260
+
261
+ | Name | Type | Description |
262
+ | :------ | :------ | :------ |
263
+ | `array` | `T`[] | Array to shuffle |
264
+
265
+ #### Returns
266
+
267
+ `Promise`\<`T`[]\>
268
+
269
+ Shuffled array
270
+
271
+ ___
272
+
273
+ ### getTurnSalt
274
+
275
+ ▸ **getTurnSalt**(`«destructured»`): `Promise`\<\`0x$\{string}\`\>
276
+
277
+ Generates a salt for a specific game turn
278
+
279
+ #### Parameters
280
+
281
+ | Name | Type |
282
+ | :------ | :------ |
283
+ | `«destructured»` | `Object` |
284
+ | › `gameId` | `bigint` |
285
+ | › `turn` | `bigint` |
286
+
287
+ #### Returns
288
+
289
+ `Promise`\<\`0x$\{string}\`\>
290
+
291
+ Generated salt as Hex
292
+
293
+ ___
294
+
295
+ ### getTurnPlayersSalt
296
+
297
+ ▸ **getTurnPlayersSalt**(`«destructured»`): `Promise`\<\`0x$\{string}\`\>
298
+
299
+ Generates a salt for a specific player in a game turn
300
+
301
+ #### Parameters
302
+
303
+ | Name | Type |
304
+ | :------ | :------ |
305
+ | `«destructured»` | `Object` |
306
+ | › `gameId` | `bigint` |
307
+ | › `turn` | `bigint` |
308
+ | › `proposer` | \`0x$\{string}\` |
309
+
310
+ #### Returns
311
+
312
+ `Promise`\<\`0x$\{string}\`\>
313
+
314
+ Generated salt as Hex
315
+
316
+ ___
317
+
318
+ ### findPlayerOngoingProposalIndex
319
+
320
+ ▸ **findPlayerOngoingProposalIndex**(`gameId`, `player`): `Promise`\<`number`\>
321
+
322
+ Finds the index of a player's ongoing proposal
323
+
324
+ #### Parameters
325
+
326
+ | Name | Type | Description |
327
+ | :------ | :------ | :------ |
328
+ | `gameId` | `bigint` | ID of the game |
329
+ | `player` | \`0x$\{string}\` | Address of the player |
330
+
331
+ #### Returns
332
+
333
+ `Promise`\<`number`\>
334
+
335
+ Index of the player's proposal, -1 if not found
336
+
337
+ ___
338
+
339
+ ### submitVote
340
+
341
+ ▸ **submitVote**(`gameId`, `vote`, `voter`): `Promise`\<\`0x$\{string}\`\>
342
+
343
+ Submits a vote for proposals
344
+
345
+ #### Parameters
346
+
347
+ | Name | Type | Description |
348
+ | :------ | :------ | :------ |
349
+ | `gameId` | `bigint` | ID of the game |
350
+ | `vote` | `bigint`[] | Array of vote values |
351
+ | `voter` | \`0x$\{string}\` | Address of the voter |
352
+
353
+ #### Returns
354
+
355
+ `Promise`\<\`0x$\{string}\`\>
356
+
357
+ Transaction hash
358
+
359
+ ___
360
+
361
+ ### proposerHidden
362
+
363
+ ▸ **proposerHidden**(`«destructured»`): `Promise`\<\`0x$\{string}\`\>
364
+
365
+ Gets the hidden proposer hash for a specific game turn
366
+
367
+ #### Parameters
368
+
369
+ | Name | Type |
370
+ | :------ | :------ |
371
+ | `«destructured»` | `Object` |
372
+ | › `gameId` | `bigint` |
373
+ | › `turn` | `bigint` |
374
+ | › `proposer` | \`0x$\{string}\` |
375
+
376
+ #### Returns
377
+
378
+ `Promise`\<\`0x$\{string}\`\>
379
+
380
+ Hidden proposer hash
381
+
382
+ ___
383
+
384
+ ### submitProposal
385
+
386
+ ▸ **submitProposal**(`«destructured»`): `Promise`\<\`0x$\{string}\`\>
387
+
388
+ Submits a proposal to the game
389
+
390
+ #### Parameters
391
+
392
+ | Name | Type |
393
+ | :------ | :------ |
394
+ | `«destructured»` | `Object` |
395
+ | › `gameId` | `bigint` |
396
+ | › `commitmentHash` | \`0x$\{string}\` |
397
+ | › `proposal` | `string` |
398
+ | › `proposer` | \`0x$\{string}\` |
399
+
400
+ #### Returns
401
+
402
+ `Promise`\<\`0x$\{string}\`\>
403
+
404
+ Transaction hash
405
+
406
+ ___
407
+
408
+ ### decryptTurnVotes
409
+
410
+ ▸ **decryptTurnVotes**(`gameId`, `turn`): `Promise`\<\{ `player`: \`0x$\{string}\` = event.args.player; `votes`: `bigint`[] }[]\>
411
+
412
+ Decrypts votes for a specific game turn
413
+
414
+ #### Parameters
415
+
416
+ | Name | Type | Description |
417
+ | :------ | :------ | :------ |
418
+ | `gameId` | `bigint` | ID of the game |
419
+ | `turn` | `bigint` | Turn number |
420
+
421
+ #### Returns
422
+
423
+ `Promise`\<\{ `player`: \`0x$\{string}\` = event.args.player; `votes`: `bigint`[] }[]\>
424
+
425
+ Array of decrypted votes with player addresses
426
+
427
+ ___
428
+
429
+ ### decryptVotes
430
+
431
+ ▸ **decryptVotes**(`gameId`): `Promise`\<``-1`` \| \{ `player`: \`0x$\{string}\` = event.args.player; `votes`: `bigint`[] }[]\>
432
+
433
+ Decrypts all votes for the current game turn
434
+
435
+ #### Parameters
436
+
437
+ | Name | Type | Description |
438
+ | :------ | :------ | :------ |
439
+ | `gameId` | `bigint` | ID of the game |
440
+
441
+ #### Returns
442
+
443
+ `Promise`\<``-1`` \| \{ `player`: \`0x$\{string}\` = event.args.player; `votes`: `bigint`[] }[]\>
444
+
445
+ Array of decrypted votes with player addresses
446
+
447
+ ___
448
+
449
+ ### canEndTurn
450
+
451
+ ▸ **canEndTurn**(`gameId`): `Promise`\<`never`\>
452
+
453
+ Checks if the current turn can be ended
454
+
455
+ #### Parameters
456
+
457
+ | Name | Type | Description |
458
+ | :------ | :------ | :------ |
459
+ | `gameId` | `bigint` | ID of the game |
460
+
461
+ #### Returns
462
+
463
+ `Promise`\<`never`\>
464
+
465
+ Boolean indicating if turn can be ended
466
+
467
+ ___
468
+
469
+ ### currentTurn
470
+
471
+ ▸ **currentTurn**(`gameId`): `Promise`\<`never`\>
472
+
473
+ Gets the current turn number
474
+
475
+ #### Parameters
476
+
477
+ | Name | Type | Description |
478
+ | :------ | :------ | :------ |
479
+ | `gameId` | `bigint` | ID of the game |
480
+
481
+ #### Returns
482
+
483
+ `Promise`\<`never`\>
484
+
485
+ Current turn number
486
+
487
+ ___
488
+
489
+ ### getPlayers
490
+
491
+ ▸ **getPlayers**(`gameId`): `Promise`\<`never`\>
492
+
493
+ Gets the list of players in the game
494
+
495
+ #### Parameters
496
+
497
+ | Name | Type | Description |
498
+ | :------ | :------ | :------ |
499
+ | `gameId` | `bigint` | ID of the game |
500
+
501
+ #### Returns
502
+
503
+ `Promise`\<`never`\>
504
+
505
+ Array of player addresses
506
+
507
+ ___
508
+
509
+ ### endTurn
510
+
511
+ ▸ **endTurn**(`gameId`): `Promise`\<\`0x$\{string}\`\>
512
+
513
+ Ends the current turn and processes votes
514
+
515
+ #### Parameters
516
+
517
+ | Name | Type | Description |
518
+ | :------ | :------ | :------ |
519
+ | `gameId` | `bigint` | ID of the game |
520
+
521
+ #### Returns
522
+
523
+ `Promise`\<\`0x$\{string}\`\>
524
+
525
+ Transaction hash
526
+
527
+ ___
528
+
529
+ ### getHistoricTurn
530
+
531
+ ▸ **getHistoricTurn**(`gameId`, `turnId`): `Promise`\<`Log`\<`bigint`, `number`, ``false``, `undefined`, `undefined`, readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxQuadraticPoints"`` = "maxQuadraticPoints"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minQuadraticPositions"`` = "minQuadraticPositions"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"TurnEnded"``\>\>
532
+
533
+ Retrieves the historic turn information for a specific game and turn ID.
534
+
535
+ #### Parameters
536
+
537
+ | Name | Type |
538
+ | :------ | :------ |
539
+ | `gameId` | `bigint` |
540
+ | `turnId` | `bigint` |
541
+
542
+ #### Returns
543
+
544
+ `Promise`\<`Log`\<`bigint`, `number`, ``false``, `undefined`, `undefined`, readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxQuadraticPoints"`` = "maxQuadraticPoints"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minQuadraticPositions"`` = "minQuadraticPositions"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"TurnEnded"``\>\>
545
+
546
+ The historic turn event object.
547
+
548
+ **`Throws`**
549
+
550
+ If the game or turn is not found.
551
+
552
+ #### Inherited from
553
+
554
+ [InstanceBase](InstanceBase.md).[getHistoricTurn](InstanceBase.md#gethistoricturn)
555
+
556
+ ___
557
+
558
+ ### getPreviousTurnStats
559
+
560
+ ▸ **getPreviousTurnStats**(`gameId`): `Promise`\<`Log`\<`bigint`, `number`, ``false``, `undefined`, `undefined`, readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "principalCost"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint96"; `name`: ... = "principalTimeConstant"; `type`: ... = "uint96" }, \{ `internalType`: ... = "address"; `name`: ... = "gamePaymentToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "rankTokenAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "beneficiary"; `type`: ... = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "voteCredits"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "maxQuadraticPoints"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "minQuadraticPositions"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"TurnEnded"``\> \| \{ `players`: `string` = "N/A"; `scores`: `string` = "N/A"; `turnSalt`: `string` = "N/A"; `voters`: `string`[] ; `votesRevealed`: `string`[] }\>
561
+
562
+ Retrieves the previous turn information for a specific game.
563
+
564
+ #### Parameters
565
+
566
+ | Name | Type | Description |
567
+ | :------ | :------ | :------ |
568
+ | `gameId` | `bigint` | The ID of the game. |
569
+
570
+ #### Returns
571
+
572
+ `Promise`\<`Log`\<`bigint`, `number`, ``false``, `undefined`, `undefined`, readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "principalCost"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint96"; `name`: ... = "principalTimeConstant"; `type`: ... = "uint96" }, \{ `internalType`: ... = "address"; `name`: ... = "gamePaymentToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "rankTokenAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "beneficiary"; `type`: ... = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "voteCredits"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "maxQuadraticPoints"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "minQuadraticPositions"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"TurnEnded"``\> \| \{ `players`: `string` = "N/A"; `scores`: `string` = "N/A"; `turnSalt`: `string` = "N/A"; `voters`: `string`[] ; `votesRevealed`: `string`[] }\>
573
+
574
+ The previous turn information for the specified game.
575
+
576
+ #### Inherited from
577
+
578
+ [InstanceBase](InstanceBase.md).[getPreviousTurnStats](InstanceBase.md#getpreviousturnstats)
579
+
580
+ ___
581
+
582
+ ### getVoting
583
+
584
+ ▸ **getVoting**(`gameId`, `turnId`): `Promise`\<\{ `voteEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "principalCost"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint96"; `name`: ... = "principalTimeConstant"; `type`: ... = "uint96" }, \{ `internalType`: ... = "address"; `name`: ... = "gamePaymentToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "rankTokenAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "beneficiary"; `type`: ... = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "voteCredits"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "maxQuadraticPoints"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "minQuadraticPositions"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"VoteSubmitted"``, `undefined`, `undefined`, `undefined`\> ; `proposalEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "principalCost"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint96"; `name`: ... = "principalTimeConstant"; `type`: ... = "uint96" }, \{ `internalType`: ... = "address"; `name`: ... = "gamePaymentToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "rankTokenAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "beneficiary"; `type`: ... = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "voteCredits"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "maxQuadraticPoints"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "minQuadraticPositions"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"ProposalSubmitted"``, `undefined`, `undefined`, `undefined`\> }\>
585
+
586
+ Retrieves the voting information for a specific game and turn.
587
+
588
+ #### Parameters
589
+
590
+ | Name | Type | Description |
591
+ | :------ | :------ | :------ |
592
+ | `gameId` | `bigint` | The ID of the game. |
593
+ | `turnId` | `bigint` | The ID of the turn. |
594
+
595
+ #### Returns
596
+
597
+ `Promise`\<\{ `voteEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "principalCost"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint96"; `name`: ... = "principalTimeConstant"; `type`: ... = "uint96" }, \{ `internalType`: ... = "address"; `name`: ... = "gamePaymentToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "rankTokenAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "beneficiary"; `type`: ... = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "voteCredits"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "maxQuadraticPoints"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "minQuadraticPositions"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"VoteSubmitted"``, `undefined`, `undefined`, `undefined`\> ; `proposalEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "principalCost"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint96"; `name`: ... = "principalTimeConstant"; `type`: ... = "uint96" }, \{ `internalType`: ... = "address"; `name`: ... = "gamePaymentToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "rankTokenAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "beneficiary"; `type`: ... = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "voteCredits"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "maxQuadraticPoints"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "minQuadraticPositions"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"ProposalSubmitted"``, `undefined`, `undefined`, `undefined`\> }\>
598
+
599
+ The voting information for the specified game and turn.
600
+
601
+ #### Inherited from
602
+
603
+ [InstanceBase](InstanceBase.md).[getVoting](InstanceBase.md#getvoting)
604
+
605
+ ___
606
+
607
+ ### getOngoingVoting
608
+
609
+ ▸ **getOngoingVoting**(`gameId`): `Promise`\<`undefined` \| \{ `voteEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [..., ..., ...] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"VoteSubmitted"``, `undefined`, `undefined`, `undefined`\> ; `proposalEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [..., ..., ...] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"ProposalSubmitted"``, `undefined`, `undefined`, `undefined`\> }\>
610
+
611
+ Retrieves the ongoing voting for a specific game.
612
+
613
+ #### Parameters
614
+
615
+ | Name | Type | Description |
616
+ | :------ | :------ | :------ |
617
+ | `gameId` | `bigint` | The ID of the game. |
618
+
619
+ #### Returns
620
+
621
+ `Promise`\<`undefined` \| \{ `voteEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [..., ..., ...] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"VoteSubmitted"``, `undefined`, `undefined`, `undefined`\> ; `proposalEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [..., ..., ...] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"ProposalSubmitted"``, `undefined`, `undefined`, `undefined`\> }\>
622
+
623
+ #### Inherited from
624
+
625
+ [InstanceBase](InstanceBase.md).[getOngoingVoting](InstanceBase.md#getongoingvoting)
626
+
627
+ ___
628
+
629
+ ### getOngoingProposals
630
+
631
+ ▸ **getOngoingProposals**(`gameId`): `Promise`\<\{ `currentTurn`: `bigint` ; `proposals`: `unknown`[] = args.newProposals }\>
632
+
633
+ Retrieves the ongoing proposals for a specific game.
634
+
635
+ #### Parameters
636
+
637
+ | Name | Type | Description |
638
+ | :------ | :------ | :------ |
639
+ | `gameId` | `bigint` | The ID of the game. |
640
+
641
+ #### Returns
642
+
643
+ `Promise`\<\{ `currentTurn`: `bigint` ; `proposals`: `unknown`[] = args.newProposals }\>
644
+
645
+ The ongoing proposals for the specified game.
646
+
647
+ #### Inherited from
648
+
649
+ [InstanceBase](InstanceBase.md).[getOngoingProposals](InstanceBase.md#getongoingproposals)
650
+
651
+ ___
652
+
653
+ ### getRegistrationDeadline
654
+
655
+ ▸ **getRegistrationDeadline**(`gameId`, `timeToJoin?`): `Promise`\<`number`\>
656
+
657
+ Retrieves the registration deadline for a specific game.
658
+
659
+ #### Parameters
660
+
661
+ | Name | Type | Description |
662
+ | :------ | :------ | :------ |
663
+ | `gameId` | `bigint` | The ID of the game. |
664
+ | `timeToJoin?` | `number` | Optional. The additional time (in seconds) to join the game. |
665
+
666
+ #### Returns
667
+
668
+ `Promise`\<`number`\>
669
+
670
+ A Promise that resolves to the registration deadline timestamp.
671
+
672
+ #### Inherited from
673
+
674
+ [InstanceBase](InstanceBase.md).[getRegistrationDeadline](InstanceBase.md#getregistrationdeadline)
675
+
676
+ ___
677
+
678
+ ### resolveTurnDeadline
679
+
680
+ ▸ **resolveTurnDeadline**(`block`, `gameId`, `timePerTurn?`): `Promise`\<`number`\>
681
+
682
+ Resolves the deadline for the current turn.
683
+
684
+ #### Parameters
685
+
686
+ | Name | Type | Description |
687
+ | :------ | :------ | :------ |
688
+ | `block` | `Block` | The current block. |
689
+ | `gameId` | `bigint` | The ID of the game. |
690
+ | `timePerTurn?` | `number` | The time duration per turn (optional). |
691
+
692
+ #### Returns
693
+
694
+ `Promise`\<`number`\>
695
+
696
+ The deadline for the current turn.
697
+
698
+ #### Inherited from
699
+
700
+ [InstanceBase](InstanceBase.md).[resolveTurnDeadline](InstanceBase.md#resolveturndeadline)
701
+
702
+ ___
703
+
704
+ ### getTurnDeadline
705
+
706
+ ▸ **getTurnDeadline**(`gameId`, `timePerTurn?`): `Promise`\<`number`\>
707
+
708
+ Retrieves the deadline for the current turn in a game.
709
+
710
+ #### Parameters
711
+
712
+ | Name | Type | Description |
713
+ | :------ | :------ | :------ |
714
+ | `gameId` | `bigint` | The ID of the game. |
715
+ | `timePerTurn?` | `number` | Optional. The duration of each turn in seconds. |
716
+
717
+ #### Returns
718
+
719
+ `Promise`\<`number`\>
720
+
721
+ A Promise that resolves to the deadline for the current turn, or 0 if the turn has not started.
722
+
723
+ #### Inherited from
724
+
725
+ [InstanceBase](InstanceBase.md).[getTurnDeadline](InstanceBase.md#getturndeadline)
726
+
727
+ ___
728
+
729
+ ### getContractState
730
+
731
+ ▸ **getContractState**(): `Promise`\<\{ `numGames`: `bigint` ; `contractInitialized`: `boolean` ; `commonParams`: \{ `principalCost`: `bigint` ; `principalTimeConstant`: `bigint` ; `gamePaymentToken`: \`0x$\{string}\` ; `rankTokenAddress`: \`0x$\{string}\` ; `beneficiary`: \`0x$\{string}\` } }\>
732
+
733
+ Retrieves the contract state.
734
+
735
+ #### Returns
736
+
737
+ `Promise`\<\{ `numGames`: `bigint` ; `contractInitialized`: `boolean` ; `commonParams`: \{ `principalCost`: `bigint` ; `principalTimeConstant`: `bigint` ; `gamePaymentToken`: \`0x$\{string}\` ; `rankTokenAddress`: \`0x$\{string}\` ; `beneficiary`: \`0x$\{string}\` } }\>
738
+
739
+ #### Inherited from
740
+
741
+ [InstanceBase](InstanceBase.md).[getContractState](InstanceBase.md#getcontractstate)
742
+
743
+ ___
744
+
745
+ ### getPlayersGame
746
+
747
+ ▸ **getPlayersGame**(`account`): `Promise`\<`bigint`\>
748
+
749
+ Retrieves a player's game.
750
+
751
+ #### Parameters
752
+
753
+ | Name | Type | Description |
754
+ | :------ | :------ | :------ |
755
+ | `account` | \`0x$\{string}\` | The player's account address. |
756
+
757
+ #### Returns
758
+
759
+ `Promise`\<`bigint`\>
760
+
761
+ #### Inherited from
762
+
763
+ [InstanceBase](InstanceBase.md).[getPlayersGame](InstanceBase.md#getplayersgame)
764
+
765
+ ___
766
+
767
+ ### getProposalScoresList
768
+
769
+ ▸ **getProposalScoresList**(`gameId`): `Promise`\<`GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxQuadraticPoints"`` = "maxQuadraticPoints"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minQuadraticPositions"`` = "minQuadraticPositions"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"ProposalScore"``, `undefined`, `undefined`, `undefined`\>\>
770
+
771
+ Retrieves the list of proposal scores for a specific game.
772
+
773
+ #### Parameters
774
+
775
+ | Name | Type | Description |
776
+ | :------ | :------ | :------ |
777
+ | `gameId` | `bigint` | The ID of the game. |
778
+
779
+ #### Returns
780
+
781
+ `Promise`\<`GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxQuadraticPoints"`` = "maxQuadraticPoints"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minQuadraticPositions"`` = "minQuadraticPositions"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"ProposalScore"``, `undefined`, `undefined`, `undefined`\>\>
782
+
783
+ A Promise that resolves to the list of proposal scores.
784
+
785
+ #### Inherited from
786
+
787
+ [InstanceBase](InstanceBase.md).[getProposalScoresList](InstanceBase.md#getproposalscoreslist)
788
+
789
+ ___
790
+
791
+ ### getCurrentTurn
792
+
793
+ ▸ **getCurrentTurn**(`gameId`): `Promise`\<`bigint`\>
794
+
795
+ Retrieves the current turn of a game.
796
+
797
+ #### Parameters
798
+
799
+ | Name | Type | Description |
800
+ | :------ | :------ | :------ |
801
+ | `gameId` | `bigint` | The ID of the game. |
802
+
803
+ #### Returns
804
+
805
+ `Promise`\<`bigint`\>
806
+
807
+ A Promise that resolves to the current turn of the game.
808
+
809
+ #### Inherited from
810
+
811
+ [InstanceBase](InstanceBase.md).[getCurrentTurn](InstanceBase.md#getcurrentturn)
812
+
813
+ ___
814
+
815
+ ### getGameState
816
+
817
+ ▸ **getGameState**(`gameId`): `Promise`\<\{ `gameMaster`: \`0x$\{string}\` ; `joinRequirements`: \{ `ethValues`: \{ `have`: `bigint` ; `lock`: `bigint` ; `burn`: `bigint` ; `pay`: `bigint` ; `bet`: `bigint` } ; `timesRefunded`: `bigint` ; `timesReleased`: `bigint` ; `timesFunded`: `bigint` ; `contractAddresses`: readonly \`0x$\{string}\`[] ; `contractIds`: readonly `bigint`[] ; `contractTypes`: readonly `number`[] ; `_isConfigured`: `boolean` } ; `requirementsPerContract`: \{ `have`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `lock`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `burn`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `pay`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `bet`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } }[] ; `scores`: readonly [readonly \`0x$\{string}\`[], readonly `bigint`[]] ; `currentTurn`: `bigint` ; `isFinished`: `boolean` ; `isOvertime`: `boolean` ; `isLastTurn`: `boolean` ; `isOpen`: `boolean` ; `createdBy`: \`0x$\{string}\` ; `gameRank`: `bigint` ; `players`: readonly \`0x$\{string}\`[] ; `canStart`: `boolean` ; `gamePhase`: [`gameStatusEnum`](../enums/gameStatusEnum.md) }\>
818
+
819
+ Retrieves the game state for a specific game.
820
+
821
+ #### Parameters
822
+
823
+ | Name | Type | Description |
824
+ | :------ | :------ | :------ |
825
+ | `gameId` | `bigint` | The ID of the game. |
826
+
827
+ #### Returns
828
+
829
+ `Promise`\<\{ `gameMaster`: \`0x$\{string}\` ; `joinRequirements`: \{ `ethValues`: \{ `have`: `bigint` ; `lock`: `bigint` ; `burn`: `bigint` ; `pay`: `bigint` ; `bet`: `bigint` } ; `timesRefunded`: `bigint` ; `timesReleased`: `bigint` ; `timesFunded`: `bigint` ; `contractAddresses`: readonly \`0x$\{string}\`[] ; `contractIds`: readonly `bigint`[] ; `contractTypes`: readonly `number`[] ; `_isConfigured`: `boolean` } ; `requirementsPerContract`: \{ `have`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `lock`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `burn`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `pay`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `bet`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } }[] ; `scores`: readonly [readonly \`0x$\{string}\`[], readonly `bigint`[]] ; `currentTurn`: `bigint` ; `isFinished`: `boolean` ; `isOvertime`: `boolean` ; `isLastTurn`: `boolean` ; `isOpen`: `boolean` ; `createdBy`: \`0x$\{string}\` ; `gameRank`: `bigint` ; `players`: readonly \`0x$\{string}\`[] ; `canStart`: `boolean` ; `gamePhase`: [`gameStatusEnum`](../enums/gameStatusEnum.md) }\>
830
+
831
+ A promise that resolves to an object containing the game state.
832
+
833
+ #### Inherited from
834
+
835
+ [InstanceBase](InstanceBase.md).[getGameState](InstanceBase.md#getgamestate)