@peeramid-labs/sdk 3.0.2 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/eds/Distributor.js +2 -0
- package/cli/eds/Distributor.js.map +1 -1
- package/cli/multipass/MultipassBase.js +14 -7
- package/cli/multipass/MultipassBase.js.map +1 -1
- package/cli/utils/artifacts.js +30 -1
- package/cli/utils/artifacts.js.map +1 -1
- package/docs/classes/GameMaster.md +30 -4
- package/docs/classes/InstanceBase.md +23 -4
- package/docs/classes/InstancePlayer.md +30 -4
- package/docs/classes/Multipass.md +11 -0
- package/docs/classes/MultipassBase.md +7 -0
- package/docs/docs/classes/GameMaster.md +30 -4
- package/docs/docs/classes/InstanceBase.md +23 -4
- package/docs/docs/classes/InstancePlayer.md +30 -4
- package/docs/docs/classes/Multipass.md +11 -0
- package/docs/docs/classes/MultipassBase.md +7 -0
- package/docs/docs/index.md +25 -1
- package/docs/index.md +25 -1
- package/lib.commonjs/eds/Distributor.d.ts.map +1 -1
- package/lib.commonjs/eds/Distributor.js +2 -0
- package/lib.commonjs/eds/Distributor.js.map +1 -1
- package/lib.commonjs/multipass/MultipassBase.d.ts +1 -0
- package/lib.commonjs/multipass/MultipassBase.d.ts.map +1 -1
- package/lib.commonjs/multipass/MultipassBase.js +15 -7
- package/lib.commonjs/multipass/MultipassBase.js.map +1 -1
- package/lib.commonjs/rankify/InstanceBase.d.ts +8 -5
- package/lib.commonjs/rankify/InstanceBase.d.ts.map +1 -1
- package/lib.commonjs/rankify/InstanceBase.js +14 -1
- package/lib.commonjs/rankify/InstanceBase.js.map +1 -1
- package/lib.commonjs/utils/artifacts.d.ts +9 -0
- package/lib.commonjs/utils/artifacts.d.ts.map +1 -1
- package/lib.commonjs/utils/artifacts.js +30 -1
- package/lib.commonjs/utils/artifacts.js.map +1 -1
- package/lib.esm/eds/Distributor.d.ts.map +1 -1
- package/lib.esm/eds/Distributor.js +2 -0
- package/lib.esm/eds/Distributor.js.map +1 -1
- package/lib.esm/multipass/MultipassBase.d.ts +1 -0
- package/lib.esm/multipass/MultipassBase.d.ts.map +1 -1
- package/lib.esm/multipass/MultipassBase.js +15 -7
- package/lib.esm/multipass/MultipassBase.js.map +1 -1
- package/lib.esm/rankify/InstanceBase.d.ts +8 -5
- package/lib.esm/rankify/InstanceBase.d.ts.map +1 -1
- package/lib.esm/rankify/InstanceBase.js +15 -2
- package/lib.esm/rankify/InstanceBase.js.map +1 -1
- package/lib.esm/utils/artifacts.d.ts +9 -0
- package/lib.esm/utils/artifacts.d.ts.map +1 -1
- package/lib.esm/utils/artifacts.js +28 -0
- package/lib.esm/utils/artifacts.js.map +1 -1
- package/package.json +2 -2
|
@@ -22,10 +22,12 @@ Provides core functionality for managing game state and interactions
|
|
|
22
22
|
- [publicClient](InstanceBase.md#publicclient)
|
|
23
23
|
- [chainId](InstanceBase.md#chainid)
|
|
24
24
|
- [instanceAddress](InstanceBase.md#instanceaddress)
|
|
25
|
+
- [creationBlock](InstanceBase.md#creationblock)
|
|
25
26
|
|
|
26
27
|
### Methods
|
|
27
28
|
|
|
28
29
|
- [getHistoricTurn](InstanceBase.md#gethistoricturn)
|
|
30
|
+
- [getCreationBlock](InstanceBase.md#getcreationblock)
|
|
29
31
|
- [getPreviousTurnStats](InstanceBase.md#getpreviousturnstats)
|
|
30
32
|
- [getVoting](InstanceBase.md#getvoting)
|
|
31
33
|
- [getOngoingVoting](InstanceBase.md#getongoingvoting)
|
|
@@ -55,6 +57,7 @@ Creates a new InstanceBase
|
|
|
55
57
|
| `params.publicClient` | `Object` | Public client for blockchain interactions |
|
|
56
58
|
| `params.chainId` | `number` | Chain ID of the network |
|
|
57
59
|
| `params.instanceAddress` | \`0x$\{string}\` | Address of the Rankify instance contract |
|
|
60
|
+
| `params.creationBlock?` | `bigint` | - |
|
|
58
61
|
|
|
59
62
|
#### Returns
|
|
60
63
|
|
|
@@ -84,6 +87,12 @@ ___
|
|
|
84
87
|
|
|
85
88
|
Address of the Rankify instance contract
|
|
86
89
|
|
|
90
|
+
___
|
|
91
|
+
|
|
92
|
+
### creationBlock
|
|
93
|
+
|
|
94
|
+
• **creationBlock**: `bigint`
|
|
95
|
+
|
|
87
96
|
## Methods
|
|
88
97
|
|
|
89
98
|
### getHistoricTurn
|
|
@@ -111,6 +120,16 @@ If the game or turn is not found.
|
|
|
111
120
|
|
|
112
121
|
___
|
|
113
122
|
|
|
123
|
+
### getCreationBlock
|
|
124
|
+
|
|
125
|
+
▸ **getCreationBlock**(): `Promise`\<`bigint`\>
|
|
126
|
+
|
|
127
|
+
#### Returns
|
|
128
|
+
|
|
129
|
+
`Promise`\<`bigint`\>
|
|
130
|
+
|
|
131
|
+
___
|
|
132
|
+
|
|
114
133
|
### getPreviousTurnStats
|
|
115
134
|
|
|
116
135
|
▸ **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`[] }\>
|
|
@@ -133,7 +152,7 @@ ___
|
|
|
133
152
|
|
|
134
153
|
### getVoting
|
|
135
154
|
|
|
136
|
-
▸ **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`\> }\>
|
|
155
|
+
▸ **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`, `bigint`, `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`, `bigint`, `undefined`\> }\>
|
|
137
156
|
|
|
138
157
|
Retrieves the voting information for a specific game and turn.
|
|
139
158
|
|
|
@@ -146,7 +165,7 @@ Retrieves the voting information for a specific game and turn.
|
|
|
146
165
|
|
|
147
166
|
#### Returns
|
|
148
167
|
|
|
149
|
-
`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`\> }\>
|
|
168
|
+
`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`, `bigint`, `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`, `bigint`, `undefined`\> }\>
|
|
150
169
|
|
|
151
170
|
The voting information for the specified game and turn.
|
|
152
171
|
|
|
@@ -154,7 +173,7 @@ ___
|
|
|
154
173
|
|
|
155
174
|
### getOngoingVoting
|
|
156
175
|
|
|
157
|
-
▸ **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`\> }\>
|
|
176
|
+
▸ **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`, `bigint`, `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`, `bigint`, `undefined`\> }\>
|
|
158
177
|
|
|
159
178
|
Retrieves the ongoing voting for a specific game.
|
|
160
179
|
|
|
@@ -166,7 +185,7 @@ Retrieves the ongoing voting for a specific game.
|
|
|
166
185
|
|
|
167
186
|
#### Returns
|
|
168
187
|
|
|
169
|
-
`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`\> }\>
|
|
188
|
+
`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`, `bigint`, `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`, `bigint`, `undefined`\> }\>
|
|
170
189
|
|
|
171
190
|
___
|
|
172
191
|
|