@peeramid-labs/sdk 2.0.3 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/.changeset/.changeset/config.json +16 -0
  2. package/docs/classes/MAODistributorClient.md +4 -2
  3. package/docs/classes/RankTokenClient.md +82 -0
  4. package/docs/docs/.nojekyll +1 -0
  5. package/docs/docs/classes/ApiError.md +44 -0
  6. package/docs/docs/classes/InstanceBase.md +341 -0
  7. package/docs/docs/classes/InstancePlayer.md +568 -0
  8. package/docs/docs/classes/MAODistributorClient.md +309 -0
  9. package/docs/docs/classes/Multipass.md +276 -0
  10. package/docs/docs/classes/MultipassBase.md +217 -0
  11. package/docs/docs/classes/RankTokenClient.md +82 -0
  12. package/docs/docs/enums/SearchCriteria.md +29 -0
  13. package/docs/docs/enums/gameStatusEnum.md +71 -0
  14. package/docs/docs/index.md +368 -0
  15. package/docs/docs/interfaces/ApiErrorOptions.md +30 -0
  16. package/docs/docs/interfaces/MAOInstanceContracts.md +53 -0
  17. package/docs/docs/interfaces/MAOInstances.md +53 -0
  18. package/docs/docs/interfaces/RegisterMessage.md +53 -0
  19. package/docs/docs/interfaces/SignerIdentity.md +35 -0
  20. package/docs/index.md +2 -12
  21. package/lib.commonjs/abis/index.d.ts +10502 -12908
  22. package/lib.commonjs/abis/index.d.ts.map +1 -1
  23. package/lib.commonjs/abis/index.js +3 -27
  24. package/lib.commonjs/abis/index.js.map +1 -1
  25. package/lib.commonjs/eds/Distributor.d.ts +1 -1
  26. package/lib.commonjs/eds/Distributor.d.ts.map +1 -1
  27. package/lib.commonjs/eds/Distributor.js +2 -3
  28. package/lib.commonjs/eds/Distributor.js.map +1 -1
  29. package/lib.commonjs/index.d.ts +3 -2
  30. package/lib.commonjs/index.d.ts.map +1 -1
  31. package/lib.commonjs/index.js +3 -1
  32. package/lib.commonjs/index.js.map +1 -1
  33. package/lib.commonjs/rankify/MAODistributor.d.ts +1 -1
  34. package/lib.commonjs/rankify/MAODistributor.d.ts.map +1 -1
  35. package/lib.commonjs/rankify/MAODistributor.js +3 -1
  36. package/lib.commonjs/rankify/MAODistributor.js.map +1 -1
  37. package/lib.commonjs/rankify/RankToken.d.ts.map +1 -1
  38. package/lib.commonjs/rankify/RankToken.js.map +1 -1
  39. package/lib.commonjs/types.d.ts +1 -1
  40. package/lib.commonjs/types.d.ts.map +1 -1
  41. package/lib.esm/abis/index.d.ts +10502 -12908
  42. package/lib.esm/abis/index.d.ts.map +1 -1
  43. package/lib.esm/abis/index.js +0 -18
  44. package/lib.esm/abis/index.js.map +1 -1
  45. package/lib.esm/eds/Distributor.d.ts +1 -1
  46. package/lib.esm/eds/Distributor.d.ts.map +1 -1
  47. package/lib.esm/eds/Distributor.js +2 -3
  48. package/lib.esm/eds/Distributor.js.map +1 -1
  49. package/lib.esm/index.d.ts +3 -2
  50. package/lib.esm/index.d.ts.map +1 -1
  51. package/lib.esm/index.js +1 -0
  52. package/lib.esm/index.js.map +1 -1
  53. package/lib.esm/rankify/MAODistributor.d.ts +1 -1
  54. package/lib.esm/rankify/MAODistributor.d.ts.map +1 -1
  55. package/lib.esm/rankify/MAODistributor.js +3 -1
  56. package/lib.esm/rankify/MAODistributor.js.map +1 -1
  57. package/lib.esm/rankify/RankToken.d.ts.map +1 -1
  58. package/lib.esm/rankify/RankToken.js.map +1 -1
  59. package/lib.esm/types.d.ts +1 -1
  60. package/lib.esm/types.d.ts.map +1 -1
  61. package/package.json +1 -1
  62. package/.changeset/silly-swans-rescue.md +0 -5
  63. package/docs/interfaces/MultipassDiamond.md +0 -1258
  64. package/docs/modules/LibMultipass.md +0 -83
  65. package/lib.commonjs/abis/CompositeERC1155.d.ts +0 -390
  66. package/lib.commonjs/abis/CompositeERC1155.d.ts.map +0 -1
  67. package/lib.commonjs/abis/CompositeERC1155.js +0 -503
  68. package/lib.commonjs/abis/CompositeERC1155.js.map +0 -1
  69. package/lib.commonjs/abis/DNSFacet.d.ts +0 -844
  70. package/lib.commonjs/abis/DNSFacet.d.ts.map +0 -1
  71. package/lib.commonjs/abis/DNSFacet.js +0 -1082
  72. package/lib.commonjs/abis/DNSFacet.js.map +0 -1
  73. package/lib.commonjs/abis/IRankifyInstanceCommons.d.ts +0 -88
  74. package/lib.commonjs/abis/IRankifyInstanceCommons.d.ts.map +0 -1
  75. package/lib.commonjs/abis/IRankifyInstanceCommons.js +0 -115
  76. package/lib.commonjs/abis/IRankifyInstanceCommons.js.map +0 -1
  77. package/lib.commonjs/abis/MultipassDiamond.d.ts +0 -990
  78. package/lib.commonjs/abis/MultipassDiamond.d.ts.map +0 -1
  79. package/lib.commonjs/abis/MultipassDiamond.js +0 -1273
  80. package/lib.commonjs/abis/MultipassDiamond.js.map +0 -1
  81. package/lib.commonjs/abis/MultipassInit.d.ts +0 -17
  82. package/lib.commonjs/abis/MultipassInit.d.ts.map +0 -1
  83. package/lib.commonjs/abis/MultipassInit.js +0 -25
  84. package/lib.commonjs/abis/MultipassInit.js.map +0 -1
  85. package/lib.commonjs/abis/RankifyInstanceGameOwnersFacet.d.ts +0 -83
  86. package/lib.commonjs/abis/RankifyInstanceGameOwnersFacet.d.ts.map +0 -1
  87. package/lib.commonjs/abis/RankifyInstanceGameOwnersFacet.js +0 -111
  88. package/lib.commonjs/abis/RankifyInstanceGameOwnersFacet.js.map +0 -1
  89. package/lib.esm/abis/CompositeERC1155.d.ts +0 -390
  90. package/lib.esm/abis/CompositeERC1155.d.ts.map +0 -1
  91. package/lib.esm/abis/CompositeERC1155.js +0 -500
  92. package/lib.esm/abis/CompositeERC1155.js.map +0 -1
  93. package/lib.esm/abis/DNSFacet.d.ts +0 -844
  94. package/lib.esm/abis/DNSFacet.d.ts.map +0 -1
  95. package/lib.esm/abis/DNSFacet.js +0 -1079
  96. package/lib.esm/abis/DNSFacet.js.map +0 -1
  97. package/lib.esm/abis/IRankifyInstanceCommons.d.ts +0 -88
  98. package/lib.esm/abis/IRankifyInstanceCommons.d.ts.map +0 -1
  99. package/lib.esm/abis/IRankifyInstanceCommons.js +0 -112
  100. package/lib.esm/abis/IRankifyInstanceCommons.js.map +0 -1
  101. package/lib.esm/abis/MultipassDiamond.d.ts +0 -990
  102. package/lib.esm/abis/MultipassDiamond.d.ts.map +0 -1
  103. package/lib.esm/abis/MultipassDiamond.js +0 -1270
  104. package/lib.esm/abis/MultipassDiamond.js.map +0 -1
  105. package/lib.esm/abis/MultipassInit.d.ts +0 -17
  106. package/lib.esm/abis/MultipassInit.d.ts.map +0 -1
  107. package/lib.esm/abis/MultipassInit.js +0 -22
  108. package/lib.esm/abis/MultipassInit.js.map +0 -1
  109. package/lib.esm/abis/RankifyInstanceGameOwnersFacet.d.ts +0 -83
  110. package/lib.esm/abis/RankifyInstanceGameOwnersFacet.d.ts.map +0 -1
  111. package/lib.esm/abis/RankifyInstanceGameOwnersFacet.js +0 -108
  112. package/lib.esm/abis/RankifyInstanceGameOwnersFacet.js.map +0 -1
@@ -0,0 +1,341 @@
1
+ # Class: InstanceBase
2
+
3
+ Base class for interacting with a Rankify game instance
4
+ Provides core functionality for managing game state and interactions
5
+
6
+ ## Hierarchy
7
+
8
+ - **`InstanceBase`**
9
+
10
+ ↳ [`InstancePlayer`](InstancePlayer.md)
11
+
12
+ ## Table of contents
13
+
14
+ ### Constructors
15
+
16
+ - [constructor](InstanceBase.md#constructor)
17
+
18
+ ### Properties
19
+
20
+ - [publicClient](InstanceBase.md#publicclient)
21
+ - [chainId](InstanceBase.md#chainid)
22
+ - [instanceAddress](InstanceBase.md#instanceaddress)
23
+
24
+ ### Methods
25
+
26
+ - [getHistoricTurn](InstanceBase.md#gethistoricturn)
27
+ - [getPreviousTurnStats](InstanceBase.md#getpreviousturnstats)
28
+ - [getVoting](InstanceBase.md#getvoting)
29
+ - [getOngoingVoting](InstanceBase.md#getongoingvoting)
30
+ - [getOngoingProposals](InstanceBase.md#getongoingproposals)
31
+ - [getRegistrationDeadline](InstanceBase.md#getregistrationdeadline)
32
+ - [resolveTurnDeadline](InstanceBase.md#resolveturndeadline)
33
+ - [getTurnDeadline](InstanceBase.md#getturndeadline)
34
+ - [getContractState](InstanceBase.md#getcontractstate)
35
+ - [getPlayersGame](InstanceBase.md#getplayersgame)
36
+ - [getProposalScoresList](InstanceBase.md#getproposalscoreslist)
37
+ - [getCurrentTurn](InstanceBase.md#getcurrentturn)
38
+ - [getGameState](InstanceBase.md#getgamestate)
39
+
40
+ ## Constructors
41
+
42
+ ### constructor
43
+
44
+ • **new InstanceBase**(`params`): [`InstanceBase`](InstanceBase.md)
45
+
46
+ Creates a new InstanceBase
47
+
48
+ #### Parameters
49
+
50
+ | Name | Type | Description |
51
+ | :------ | :------ | :------ |
52
+ | `params` | `Object` | Constructor parameters |
53
+ | `params.publicClient` | `Object` | Public client for blockchain interactions |
54
+ | `params.chainId` | `number` | Chain ID of the network |
55
+ | `params.instanceAddress` | \`0x$\{string}\` | Address of the Rankify instance contract |
56
+
57
+ #### Returns
58
+
59
+ [`InstanceBase`](InstanceBase.md)
60
+
61
+ ## Properties
62
+
63
+ ### publicClient
64
+
65
+ • **publicClient**: `Object`
66
+
67
+ Public client for blockchain interactions
68
+
69
+ ___
70
+
71
+ ### chainId
72
+
73
+ • **chainId**: `number`
74
+
75
+ Chain ID of the network
76
+
77
+ ___
78
+
79
+ ### instanceAddress
80
+
81
+ • **instanceAddress**: \`0x$\{string}\`
82
+
83
+ Address of the Rankify instance contract
84
+
85
+ ## Methods
86
+
87
+ ### getHistoricTurn
88
+
89
+ ▸ **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"``\>\>
90
+
91
+ Retrieves the historic turn information for a specific game and turn ID.
92
+
93
+ #### Parameters
94
+
95
+ | Name | Type |
96
+ | :------ | :------ |
97
+ | `gameId` | `bigint` |
98
+ | `turnId` | `bigint` |
99
+
100
+ #### Returns
101
+
102
+ `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"``\>\>
103
+
104
+ The historic turn event object.
105
+
106
+ **`Throws`**
107
+
108
+ If the game or turn is not found.
109
+
110
+ ___
111
+
112
+ ### getPreviousTurnStats
113
+
114
+ ▸ **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`[] }\>
115
+
116
+ Retrieves the previous turn information for a specific game.
117
+
118
+ #### Parameters
119
+
120
+ | Name | Type | Description |
121
+ | :------ | :------ | :------ |
122
+ | `gameId` | `bigint` | The ID of the game. |
123
+
124
+ #### Returns
125
+
126
+ `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`[] }\>
127
+
128
+ The previous turn information for the specified game.
129
+
130
+ ___
131
+
132
+ ### getVoting
133
+
134
+ ▸ **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`\> }\>
135
+
136
+ Retrieves the voting information for a specific game and turn.
137
+
138
+ #### Parameters
139
+
140
+ | Name | Type | Description |
141
+ | :------ | :------ | :------ |
142
+ | `gameId` | `bigint` | The ID of the game. |
143
+ | `turnId` | `bigint` | The ID of the turn. |
144
+
145
+ #### Returns
146
+
147
+ `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`\> }\>
148
+
149
+ The voting information for the specified game and turn.
150
+
151
+ ___
152
+
153
+ ### getOngoingVoting
154
+
155
+ ▸ **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`\> }\>
156
+
157
+ Retrieves the ongoing voting for a specific game.
158
+
159
+ #### Parameters
160
+
161
+ | Name | Type | Description |
162
+ | :------ | :------ | :------ |
163
+ | `gameId` | `bigint` | The ID of the game. |
164
+
165
+ #### Returns
166
+
167
+ `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`\> }\>
168
+
169
+ ___
170
+
171
+ ### getOngoingProposals
172
+
173
+ ▸ **getOngoingProposals**(`gameId`): `Promise`\<\{ `currentTurn`: `bigint` ; `proposals`: `unknown`[] = args.newProposals }\>
174
+
175
+ Retrieves the ongoing proposals for a specific game.
176
+
177
+ #### Parameters
178
+
179
+ | Name | Type | Description |
180
+ | :------ | :------ | :------ |
181
+ | `gameId` | `bigint` | The ID of the game. |
182
+
183
+ #### Returns
184
+
185
+ `Promise`\<\{ `currentTurn`: `bigint` ; `proposals`: `unknown`[] = args.newProposals }\>
186
+
187
+ The ongoing proposals for the specified game.
188
+
189
+ ___
190
+
191
+ ### getRegistrationDeadline
192
+
193
+ ▸ **getRegistrationDeadline**(`gameId`, `timeToJoin?`): `Promise`\<`number`\>
194
+
195
+ Retrieves the registration deadline for a specific game.
196
+
197
+ #### Parameters
198
+
199
+ | Name | Type | Description |
200
+ | :------ | :------ | :------ |
201
+ | `gameId` | `bigint` | The ID of the game. |
202
+ | `timeToJoin?` | `number` | Optional. The additional time (in seconds) to join the game. |
203
+
204
+ #### Returns
205
+
206
+ `Promise`\<`number`\>
207
+
208
+ A Promise that resolves to the registration deadline timestamp.
209
+
210
+ ___
211
+
212
+ ### resolveTurnDeadline
213
+
214
+ ▸ **resolveTurnDeadline**(`block`, `gameId`, `timePerTurn?`): `Promise`\<`number`\>
215
+
216
+ Resolves the deadline for the current turn.
217
+
218
+ #### Parameters
219
+
220
+ | Name | Type | Description |
221
+ | :------ | :------ | :------ |
222
+ | `block` | `Block` | The current block. |
223
+ | `gameId` | `bigint` | The ID of the game. |
224
+ | `timePerTurn?` | `number` | The time duration per turn (optional). |
225
+
226
+ #### Returns
227
+
228
+ `Promise`\<`number`\>
229
+
230
+ The deadline for the current turn.
231
+
232
+ ___
233
+
234
+ ### getTurnDeadline
235
+
236
+ ▸ **getTurnDeadline**(`gameId`, `timePerTurn?`): `Promise`\<`number`\>
237
+
238
+ Retrieves the deadline for the current turn in a game.
239
+
240
+ #### Parameters
241
+
242
+ | Name | Type | Description |
243
+ | :------ | :------ | :------ |
244
+ | `gameId` | `bigint` | The ID of the game. |
245
+ | `timePerTurn?` | `number` | Optional. The duration of each turn in seconds. |
246
+
247
+ #### Returns
248
+
249
+ `Promise`\<`number`\>
250
+
251
+ A Promise that resolves to the deadline for the current turn, or 0 if the turn has not started.
252
+
253
+ ___
254
+
255
+ ### getContractState
256
+
257
+ ▸ **getContractState**(): `Promise`\<\{ `numGames`: `bigint` ; `contractInitialized`: `boolean` ; `commonParams`: \{ `principalCost`: `bigint` ; `principalTimeConstant`: `bigint` ; `gamePaymentToken`: \`0x$\{string}\` ; `rankTokenAddress`: \`0x$\{string}\` ; `beneficiary`: \`0x$\{string}\` } }\>
258
+
259
+ Retrieves the contract state.
260
+
261
+ #### Returns
262
+
263
+ `Promise`\<\{ `numGames`: `bigint` ; `contractInitialized`: `boolean` ; `commonParams`: \{ `principalCost`: `bigint` ; `principalTimeConstant`: `bigint` ; `gamePaymentToken`: \`0x$\{string}\` ; `rankTokenAddress`: \`0x$\{string}\` ; `beneficiary`: \`0x$\{string}\` } }\>
264
+
265
+ ___
266
+
267
+ ### getPlayersGame
268
+
269
+ ▸ **getPlayersGame**(`account`): `Promise`\<`bigint`\>
270
+
271
+ Retrieves a player's game.
272
+
273
+ #### Parameters
274
+
275
+ | Name | Type | Description |
276
+ | :------ | :------ | :------ |
277
+ | `account` | \`0x$\{string}\` | The player's account address. |
278
+
279
+ #### Returns
280
+
281
+ `Promise`\<`bigint`\>
282
+
283
+ ___
284
+
285
+ ### getProposalScoresList
286
+
287
+ ▸ **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`\>\>
288
+
289
+ Retrieves the list of proposal scores for a specific game.
290
+
291
+ #### Parameters
292
+
293
+ | Name | Type | Description |
294
+ | :------ | :------ | :------ |
295
+ | `gameId` | `bigint` | The ID of the game. |
296
+
297
+ #### Returns
298
+
299
+ `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`\>\>
300
+
301
+ A Promise that resolves to the list of proposal scores.
302
+
303
+ ___
304
+
305
+ ### getCurrentTurn
306
+
307
+ ▸ **getCurrentTurn**(`gameId`): `Promise`\<`bigint`\>
308
+
309
+ Retrieves the current turn of a game.
310
+
311
+ #### Parameters
312
+
313
+ | Name | Type | Description |
314
+ | :------ | :------ | :------ |
315
+ | `gameId` | `bigint` | The ID of the game. |
316
+
317
+ #### Returns
318
+
319
+ `Promise`\<`bigint`\>
320
+
321
+ A Promise that resolves to the current turn of the game.
322
+
323
+ ___
324
+
325
+ ### getGameState
326
+
327
+ ▸ **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) }\>
328
+
329
+ Retrieves the game state for a specific game.
330
+
331
+ #### Parameters
332
+
333
+ | Name | Type | Description |
334
+ | :------ | :------ | :------ |
335
+ | `gameId` | `bigint` | The ID of the game. |
336
+
337
+ #### Returns
338
+
339
+ `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) }\>
340
+
341
+ A promise that resolves to an object containing the game state.