@peeramid-labs/sdk 3.10.4 → 3.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/cli/commands/blockchain/mine.js +1 -0
- package/cli/cli/commands/blockchain/mine.js.map +1 -1
- package/cli/cli/commands/distributions/add.js +7 -6
- package/cli/cli/commands/distributions/add.js.map +1 -1
- package/cli/cli/commands/distributions/list.js +7 -0
- package/cli/cli/commands/distributions/list.js.map +1 -1
- package/cli/cli/commands/distributions/remove.js +5 -0
- package/cli/cli/commands/distributions/remove.js.map +1 -1
- package/cli/cli/commands/distributions/state.js +5 -0
- package/cli/cli/commands/distributions/state.js.map +1 -1
- package/cli/cli/commands/fellowship/create.js +7 -1
- package/cli/cli/commands/fellowship/create.js.map +1 -1
- package/cli/cli/commands/fellowship/eip712.js +5 -0
- package/cli/cli/commands/fellowship/eip712.js.map +1 -1
- package/cli/cli/commands/fellowship/game/cancel.js +6 -0
- package/cli/cli/commands/fellowship/game/cancel.js.map +1 -1
- package/cli/cli/commands/fellowship/game/create.js +8 -1
- package/cli/cli/commands/fellowship/game/create.js.map +1 -1
- package/cli/cli/commands/fellowship/game/end-turn.js +12 -5
- package/cli/cli/commands/fellowship/game/end-turn.js.map +1 -1
- package/cli/cli/commands/fellowship/game/join.js +9 -1
- package/cli/cli/commands/fellowship/game/join.js.map +1 -1
- package/cli/cli/commands/fellowship/game/list.js +6 -0
- package/cli/cli/commands/fellowship/game/list.js.map +1 -1
- package/cli/cli/commands/fellowship/game/propose.js +10 -1
- package/cli/cli/commands/fellowship/game/propose.js.map +1 -1
- package/cli/cli/commands/fellowship/game/start.js +10 -1
- package/cli/cli/commands/fellowship/game/start.js.map +1 -1
- package/cli/cli/commands/fellowship/game/vote.js +10 -1
- package/cli/cli/commands/fellowship/game/vote.js.map +1 -1
- package/cli/cli/commands/fellowship/list.js +5 -0
- package/cli/cli/commands/fellowship/list.js.map +1 -1
- package/cli/cli/commands/fellowship/params.js +5 -0
- package/cli/cli/commands/fellowship/params.js.map +1 -1
- package/cli/cli/commands/instances/list.js +5 -0
- package/cli/cli/commands/instances/list.js.map +1 -1
- package/cli/cli/commands/rankify/games.js +5 -0
- package/cli/cli/commands/rankify/games.js.map +1 -1
- package/cli/cli/utils.js +3 -3
- package/cli/cli/utils.js.map +1 -1
- package/cli/eds/Distributor.js +18 -29
- package/cli/eds/Distributor.js.map +1 -1
- package/cli/rankify/GameMaster.js +42 -39
- package/cli/rankify/GameMaster.js.map +1 -1
- package/cli/rankify/InstanceBase.js +99 -127
- package/cli/rankify/InstanceBase.js.map +1 -1
- package/cli/rankify/MAODistributor.js +45 -54
- package/cli/rankify/MAODistributor.js.map +1 -1
- package/cli/rankify/Player.js +4 -6
- package/cli/rankify/Player.js.map +1 -1
- package/cli/utils/EnvioGraphQLClient.js +728 -0
- package/cli/utils/EnvioGraphQLClient.js.map +1 -0
- package/cli/utils/index.js.map +1 -1
- package/cli/utils/logger.js +12 -0
- package/cli/utils/logger.js.map +1 -0
- package/docs/classes/EnvioGraphQLClient.md +309 -0
- package/docs/classes/GameMaster.md +8 -0
- package/docs/classes/InstanceBase.md +16 -8
- package/docs/classes/InstancePlayer.md +22 -10
- package/docs/classes/MAODistributorClient.md +36 -27
- package/docs/docs/classes/EnvioGraphQLClient.md +309 -0
- package/docs/docs/classes/GameMaster.md +8 -0
- package/docs/docs/classes/InstanceBase.md +16 -8
- package/docs/docs/classes/InstancePlayer.md +22 -10
- package/docs/docs/classes/MAODistributorClient.md +36 -27
- package/docs/docs/index.md +5 -2
- package/docs/docs/interfaces/EnvioGraphQLClientConfig.md +41 -0
- package/docs/docs/interfaces/MAOInstanceArgs.md +29 -0
- package/docs/index.md +5 -2
- package/docs/interfaces/EnvioGraphQLClientConfig.md +41 -0
- package/docs/interfaces/MAOInstanceArgs.md +29 -0
- package/lib.commonjs/eds/Distributor.d.ts +5 -3
- package/lib.commonjs/eds/Distributor.d.ts.map +1 -1
- package/lib.commonjs/eds/Distributor.js +19 -29
- package/lib.commonjs/eds/Distributor.js.map +1 -1
- package/lib.commonjs/index.d.ts +1 -0
- package/lib.commonjs/index.d.ts.map +1 -1
- package/lib.commonjs/index.js +4 -1
- package/lib.commonjs/index.js.map +1 -1
- package/lib.commonjs/rankify/GameMaster.d.ts +6 -2
- package/lib.commonjs/rankify/GameMaster.d.ts.map +1 -1
- package/lib.commonjs/rankify/GameMaster.js +43 -39
- package/lib.commonjs/rankify/GameMaster.js.map +1 -1
- package/lib.commonjs/rankify/InstanceBase.d.ts +46 -9442
- package/lib.commonjs/rankify/InstanceBase.d.ts.map +1 -1
- package/lib.commonjs/rankify/InstanceBase.js +100 -127
- package/lib.commonjs/rankify/InstanceBase.js.map +1 -1
- package/lib.commonjs/rankify/MAODistributor.d.ts +24 -16
- package/lib.commonjs/rankify/MAODistributor.d.ts.map +1 -1
- package/lib.commonjs/rankify/MAODistributor.js +45 -54
- package/lib.commonjs/rankify/MAODistributor.js.map +1 -1
- package/lib.commonjs/rankify/Player.d.ts +4 -2
- package/lib.commonjs/rankify/Player.d.ts.map +1 -1
- package/lib.commonjs/rankify/Player.js +4 -6
- package/lib.commonjs/rankify/Player.js.map +1 -1
- package/lib.commonjs/utils/EnvioGraphQLClient.d.ts +273 -0
- package/lib.commonjs/utils/EnvioGraphQLClient.d.ts.map +1 -0
- package/lib.commonjs/utils/EnvioGraphQLClient.js +730 -0
- package/lib.commonjs/utils/EnvioGraphQLClient.js.map +1 -0
- package/lib.commonjs/utils/index.d.ts +1 -1
- package/lib.commonjs/utils/index.d.ts.map +1 -1
- package/lib.commonjs/utils/index.js.map +1 -1
- package/lib.commonjs/utils/logger.d.ts +12 -0
- package/lib.commonjs/utils/logger.d.ts.map +1 -0
- package/lib.commonjs/utils/logger.js +12 -0
- package/lib.commonjs/utils/logger.js.map +1 -0
- package/lib.commonjs/utils/mockUtils.d.ts +39 -0
- package/lib.commonjs/utils/mockUtils.d.ts.map +1 -0
- package/lib.commonjs/utils/mockUtils.js +103 -0
- package/lib.commonjs/utils/mockUtils.js.map +1 -0
- package/lib.esm/eds/Distributor.d.ts +5 -3
- package/lib.esm/eds/Distributor.d.ts.map +1 -1
- package/lib.esm/eds/Distributor.js +20 -30
- package/lib.esm/eds/Distributor.js.map +1 -1
- package/lib.esm/index.d.ts +1 -0
- package/lib.esm/index.d.ts.map +1 -1
- package/lib.esm/index.js +2 -0
- package/lib.esm/index.js.map +1 -1
- package/lib.esm/rankify/GameMaster.d.ts +6 -2
- package/lib.esm/rankify/GameMaster.d.ts.map +1 -1
- package/lib.esm/rankify/GameMaster.js +43 -39
- package/lib.esm/rankify/GameMaster.js.map +1 -1
- package/lib.esm/rankify/InstanceBase.d.ts +46 -9442
- package/lib.esm/rankify/InstanceBase.d.ts.map +1 -1
- package/lib.esm/rankify/InstanceBase.js +100 -127
- package/lib.esm/rankify/InstanceBase.js.map +1 -1
- package/lib.esm/rankify/MAODistributor.d.ts +24 -16
- package/lib.esm/rankify/MAODistributor.d.ts.map +1 -1
- package/lib.esm/rankify/MAODistributor.js +37 -46
- package/lib.esm/rankify/MAODistributor.js.map +1 -1
- package/lib.esm/rankify/Player.d.ts +4 -2
- package/lib.esm/rankify/Player.d.ts.map +1 -1
- package/lib.esm/rankify/Player.js +5 -7
- package/lib.esm/rankify/Player.js.map +1 -1
- package/lib.esm/utils/EnvioGraphQLClient.d.ts +273 -0
- package/lib.esm/utils/EnvioGraphQLClient.d.ts.map +1 -0
- package/lib.esm/utils/EnvioGraphQLClient.js +726 -0
- package/lib.esm/utils/EnvioGraphQLClient.js.map +1 -0
- package/lib.esm/utils/index.d.ts +1 -1
- package/lib.esm/utils/index.d.ts.map +1 -1
- package/lib.esm/utils/index.js.map +1 -1
- package/lib.esm/utils/logger.d.ts +12 -0
- package/lib.esm/utils/logger.d.ts.map +1 -0
- package/lib.esm/utils/logger.js +12 -0
- package/lib.esm/utils/logger.js.map +1 -0
- package/lib.esm/utils/mockUtils.d.ts +39 -0
- package/lib.esm/utils/mockUtils.d.ts.map +1 -0
- package/lib.esm/utils/mockUtils.js +96 -0
- package/lib.esm/utils/mockUtils.js.map +1 -0
- package/package.json +3 -1
- package/cli/cli/helpers.js +0 -64
- package/cli/cli/helpers.js.map +0 -1
|
@@ -22,6 +22,7 @@ Provides core functionality for managing game state and interactions
|
|
|
22
22
|
- [instanceAddress](InstanceBase.md#instanceaddress)
|
|
23
23
|
- [creationBlock](InstanceBase.md#creationblock)
|
|
24
24
|
- [instanceContracts](InstanceBase.md#instancecontracts)
|
|
25
|
+
- [envioClient](InstanceBase.md#envioclient)
|
|
25
26
|
|
|
26
27
|
### Methods
|
|
27
28
|
|
|
@@ -67,6 +68,7 @@ Creates a new InstanceBase
|
|
|
67
68
|
| `params.chainId` | `number` | Chain ID of the network |
|
|
68
69
|
| `params.instanceAddress` | \`0x$\{string}\` | Address of the Rankify instance contract |
|
|
69
70
|
| `params.creationBlock?` | `bigint` | - |
|
|
71
|
+
| `params.envioClient` | [`EnvioGraphQLClient`](EnvioGraphQLClient.md) | Optional Envio GraphQL client |
|
|
70
72
|
|
|
71
73
|
#### Returns
|
|
72
74
|
|
|
@@ -108,6 +110,12 @@ ___
|
|
|
108
110
|
|
|
109
111
|
• `Optional` **instanceContracts**: [`MAOInstanceContracts`](../interfaces/MAOInstanceContracts.md)
|
|
110
112
|
|
|
113
|
+
___
|
|
114
|
+
|
|
115
|
+
### envioClient
|
|
116
|
+
|
|
117
|
+
• **envioClient**: [`EnvioGraphQLClient`](EnvioGraphQLClient.md)
|
|
118
|
+
|
|
111
119
|
## Methods
|
|
112
120
|
|
|
113
121
|
### getHistoricTurn
|
|
@@ -188,7 +196,7 @@ ___
|
|
|
188
196
|
|
|
189
197
|
### getVoting
|
|
190
198
|
|
|
191
|
-
▸ **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" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_NAME"`` = "\_NAME"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_VERSION"`` = "\_VERSION"; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[2]"`` = "bytes32[2]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[2]"`` = "bytes32[2]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[5]"`` = "bytes32[5]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[5]"`` = "bytes32[5]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[6]"`` = "bytes32[6]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[6]"`` = "bytes32[6]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHashFromVotes"`` = "ballotHashFromVotes"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ballotIntegrityCheckFailed"`` = "ballotIntegrityCheckFailed"; `type`: ``"error"`` = "error" }, \{ `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `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[][]" }, \{ `components`: readonly [\{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"proposals"`` = "proposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"a"`` = "a"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256[2][2]"`` = "uint256[2][2]"; `name`: ``"b"`` = "b"; `type`: ``"uint256[2][2]"`` = "uint256[2][2]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"c"`` = "c"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.BatchProposalReveal"`` = "struct RankifyInstanceGameMastersFacet.BatchProposalReveal"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"permutation"`` = "permutation"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"shuffleSalt"`` = "shuffleSalt"; `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"params"`` = "params"; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"ECDSAInvalidSignature"`` = "ECDSAInvalidSignature"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"length"`` = "length"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ECDSAInvalidSignatureLength"`` = "ECDSAInvalidSignatureLength"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"s"`` = "s"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ECDSAInvalidSignatureS"`` = "ECDSAInvalidSignatureS"; `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`: ``"bytes32"`` = "bytes32"; `name`: ``"digest"`` = "digest"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidECDSARecoverSigner"`` = "invalidECDSARecoverSigner"; `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`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_toMint"`` = "\_toMint"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RankTokenExited"`` = "RankTokenExited"; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"exitRankToken"`` = "exitRankToken"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `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 [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameWinner"`` = "gameWinner"; `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`: ... = "uint256"; `name`: ... = "minimumParticipantsInCircle"; `type`: ... = "uint256" }, \{ `internalType`: ... = "address"; `name`: ... = "derivedToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "proposalIntegrityVerifier"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon5"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon6"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon2"; `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`: ``"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" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gameMasterSignature"`` = "gameMasterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"deadline"`` = "deadline"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `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 [] = []; `name`: ``"getCommonParams"`` = "getCommonParams"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minimumParticipantsInCircle"`` = "minimumParticipantsInCircle"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"derivedToken"`` = "derivedToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposalIntegrityVerifier"`` = "proposalIntegrityVerifier"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon5"`` = "poseidon5"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon6"`` = "poseidon6"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon2"`` = "poseidon2"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"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" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_NAME"`` = "\_NAME"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_VERSION"`` = "\_VERSION"; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[2]"`` = "bytes32[2]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[2]"`` = "bytes32[2]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[5]"`` = "bytes32[5]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[5]"`` = "bytes32[5]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[6]"`` = "bytes32[6]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[6]"`` = "bytes32[6]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHashFromVotes"`` = "ballotHashFromVotes"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ballotIntegrityCheckFailed"`` = "ballotIntegrityCheckFailed"; `type`: ``"error"`` = "error" }, \{ `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `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[][]" }, \{ `components`: readonly [\{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"proposals"`` = "proposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"a"`` = "a"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256[2][2]"`` = "uint256[2][2]"; `name`: ``"b"`` = "b"; `type`: ``"uint256[2][2]"`` = "uint256[2][2]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"c"`` = "c"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.BatchProposalReveal"`` = "struct RankifyInstanceGameMastersFacet.BatchProposalReveal"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"permutation"`` = "permutation"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"shuffleSalt"`` = "shuffleSalt"; `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"params"`` = "params"; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"ECDSAInvalidSignature"`` = "ECDSAInvalidSignature"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"length"`` = "length"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ECDSAInvalidSignatureLength"`` = "ECDSAInvalidSignatureLength"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"s"`` = "s"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ECDSAInvalidSignatureS"`` = "ECDSAInvalidSignatureS"; `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`: ``"bytes32"`` = "bytes32"; `name`: ``"digest"`` = "digest"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidECDSARecoverSigner"`` = "invalidECDSARecoverSigner"; `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`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_toMint"`` = "\_toMint"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RankTokenExited"`` = "RankTokenExited"; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"exitRankToken"`` = "exitRankToken"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `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 [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameWinner"`` = "gameWinner"; `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`: ... = "uint256"; `name`: ... = "minimumParticipantsInCircle"; `type`: ... = "uint256" }, \{ `internalType`: ... = "address"; `name`: ... = "derivedToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "proposalIntegrityVerifier"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon5"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon6"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon2"; `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`: ``"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" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gameMasterSignature"`` = "gameMasterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"deadline"`` = "deadline"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `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 [] = []; `name`: ``"getCommonParams"`` = "getCommonParams"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minimumParticipantsInCircle"`` = "minimumParticipantsInCircle"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"derivedToken"`` = "derivedToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposalIntegrityVerifier"`` = "proposalIntegrityVerifier"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon5"`` = "poseidon5"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon6"`` = "poseidon6"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon2"`` = "poseidon2"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"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`\> }\>
|
|
199
|
+
▸ **getVoting**(`gameId`, `turnId`): `Promise`\<\{ `voteEvents`: \{ `player`: \`0x$\{string}\` ; `sealedBallotId`: `string` = event.sealedBallotId; `gmSignature`: `string` = event.gmSignature; `voterSignature`: `string` = event.voterSignature; `ballotHash`: `string` = event.ballotHash }[] ; `proposalEvents`: \{ `proposer`: \`0x$\{string}\` = event.proposer; `encryptedProposal`: `string` = event.encryptedProposal; `commitment`: `bigint` = event.commitment; `gmSignature`: `string` = event.gmSignature; `proposerSignature`: `string` = event.proposerSignature }[] }\>
|
|
192
200
|
|
|
193
201
|
Retrieves the voting information for a specific game and turn.
|
|
194
202
|
|
|
@@ -201,7 +209,7 @@ Retrieves the voting information for a specific game and turn.
|
|
|
201
209
|
|
|
202
210
|
#### Returns
|
|
203
211
|
|
|
204
|
-
`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" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_NAME"`` = "\_NAME"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_VERSION"`` = "\_VERSION"; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[2]"`` = "bytes32[2]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[2]"`` = "bytes32[2]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[5]"`` = "bytes32[5]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[5]"`` = "bytes32[5]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[6]"`` = "bytes32[6]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[6]"`` = "bytes32[6]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHashFromVotes"`` = "ballotHashFromVotes"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ballotIntegrityCheckFailed"`` = "ballotIntegrityCheckFailed"; `type`: ``"error"`` = "error" }, \{ `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `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[][]" }, \{ `components`: readonly [\{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"proposals"`` = "proposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"a"`` = "a"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256[2][2]"`` = "uint256[2][2]"; `name`: ``"b"`` = "b"; `type`: ``"uint256[2][2]"`` = "uint256[2][2]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"c"`` = "c"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.BatchProposalReveal"`` = "struct RankifyInstanceGameMastersFacet.BatchProposalReveal"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"permutation"`` = "permutation"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"shuffleSalt"`` = "shuffleSalt"; `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"params"`` = "params"; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"ECDSAInvalidSignature"`` = "ECDSAInvalidSignature"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"length"`` = "length"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ECDSAInvalidSignatureLength"`` = "ECDSAInvalidSignatureLength"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"s"`` = "s"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ECDSAInvalidSignatureS"`` = "ECDSAInvalidSignatureS"; `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`: ``"bytes32"`` = "bytes32"; `name`: ``"digest"`` = "digest"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidECDSARecoverSigner"`` = "invalidECDSARecoverSigner"; `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`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_toMint"`` = "\_toMint"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RankTokenExited"`` = "RankTokenExited"; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"exitRankToken"`` = "exitRankToken"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `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 [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameWinner"`` = "gameWinner"; `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`: ... = "uint256"; `name`: ... = "minimumParticipantsInCircle"; `type`: ... = "uint256" }, \{ `internalType`: ... = "address"; `name`: ... = "derivedToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "proposalIntegrityVerifier"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon5"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon6"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon2"; `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`: ``"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" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gameMasterSignature"`` = "gameMasterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"deadline"`` = "deadline"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `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 [] = []; `name`: ``"getCommonParams"`` = "getCommonParams"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minimumParticipantsInCircle"`` = "minimumParticipantsInCircle"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"derivedToken"`` = "derivedToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposalIntegrityVerifier"`` = "proposalIntegrityVerifier"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon5"`` = "poseidon5"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon6"`` = "poseidon6"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon2"`` = "poseidon2"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"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" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_NAME"`` = "\_NAME"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_VERSION"`` = "\_VERSION"; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[2]"`` = "bytes32[2]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[2]"`` = "bytes32[2]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[5]"`` = "bytes32[5]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[5]"`` = "bytes32[5]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[6]"`` = "bytes32[6]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[6]"`` = "bytes32[6]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHashFromVotes"`` = "ballotHashFromVotes"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ballotIntegrityCheckFailed"`` = "ballotIntegrityCheckFailed"; `type`: ``"error"`` = "error" }, \{ `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `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[][]" }, \{ `components`: readonly [\{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"proposals"`` = "proposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"a"`` = "a"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256[2][2]"`` = "uint256[2][2]"; `name`: ``"b"`` = "b"; `type`: ``"uint256[2][2]"`` = "uint256[2][2]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"c"`` = "c"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.BatchProposalReveal"`` = "struct RankifyInstanceGameMastersFacet.BatchProposalReveal"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"permutation"`` = "permutation"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"shuffleSalt"`` = "shuffleSalt"; `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"params"`` = "params"; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"ECDSAInvalidSignature"`` = "ECDSAInvalidSignature"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"length"`` = "length"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ECDSAInvalidSignatureLength"`` = "ECDSAInvalidSignatureLength"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"s"`` = "s"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ECDSAInvalidSignatureS"`` = "ECDSAInvalidSignatureS"; `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`: ``"bytes32"`` = "bytes32"; `name`: ``"digest"`` = "digest"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidECDSARecoverSigner"`` = "invalidECDSARecoverSigner"; `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`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_toMint"`` = "\_toMint"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RankTokenExited"`` = "RankTokenExited"; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"exitRankToken"`` = "exitRankToken"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `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 [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameWinner"`` = "gameWinner"; `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`: ... = "uint256"; `name`: ... = "minimumParticipantsInCircle"; `type`: ... = "uint256" }, \{ `internalType`: ... = "address"; `name`: ... = "derivedToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "proposalIntegrityVerifier"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon5"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon6"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon2"; `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`: ``"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" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gameMasterSignature"`` = "gameMasterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"deadline"`` = "deadline"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `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 [] = []; `name`: ``"getCommonParams"`` = "getCommonParams"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minimumParticipantsInCircle"`` = "minimumParticipantsInCircle"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"derivedToken"`` = "derivedToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposalIntegrityVerifier"`` = "proposalIntegrityVerifier"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon5"`` = "poseidon5"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon6"`` = "poseidon6"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon2"`` = "poseidon2"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"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`\> }\>
|
|
212
|
+
`Promise`\<\{ `voteEvents`: \{ `player`: \`0x$\{string}\` ; `sealedBallotId`: `string` = event.sealedBallotId; `gmSignature`: `string` = event.gmSignature; `voterSignature`: `string` = event.voterSignature; `ballotHash`: `string` = event.ballotHash }[] ; `proposalEvents`: \{ `proposer`: \`0x$\{string}\` = event.proposer; `encryptedProposal`: `string` = event.encryptedProposal; `commitment`: `bigint` = event.commitment; `gmSignature`: `string` = event.gmSignature; `proposerSignature`: `string` = event.proposerSignature }[] }\>
|
|
205
213
|
|
|
206
214
|
The voting information for the specified game and turn.
|
|
207
215
|
|
|
@@ -209,7 +217,7 @@ ___
|
|
|
209
217
|
|
|
210
218
|
### getOngoingVoting
|
|
211
219
|
|
|
212
|
-
▸ **getOngoingVoting**(`gameId`): `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" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_NAME"`` = "\_NAME"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_VERSION"`` = "\_VERSION"; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[2]"`` = "bytes32[2]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[2]"`` = "bytes32[2]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[5]"`` = "bytes32[5]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[5]"`` = "bytes32[5]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[6]"`` = "bytes32[6]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[6]"`` = "bytes32[6]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHashFromVotes"`` = "ballotHashFromVotes"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ballotIntegrityCheckFailed"`` = "ballotIntegrityCheckFailed"; `type`: ``"error"`` = "error" }, \{ `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `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[][]" }, \{ `components`: readonly [\{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"proposals"`` = "proposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"a"`` = "a"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256[2][2]"`` = "uint256[2][2]"; `name`: ``"b"`` = "b"; `type`: ``"uint256[2][2]"`` = "uint256[2][2]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"c"`` = "c"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.BatchProposalReveal"`` = "struct RankifyInstanceGameMastersFacet.BatchProposalReveal"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"permutation"`` = "permutation"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"shuffleSalt"`` = "shuffleSalt"; `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"params"`` = "params"; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"ECDSAInvalidSignature"`` = "ECDSAInvalidSignature"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"length"`` = "length"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ECDSAInvalidSignatureLength"`` = "ECDSAInvalidSignatureLength"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"s"`` = "s"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ECDSAInvalidSignatureS"`` = "ECDSAInvalidSignatureS"; `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`: ``"bytes32"`` = "bytes32"; `name`: ``"digest"`` = "digest"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidECDSARecoverSigner"`` = "invalidECDSARecoverSigner"; `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`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_toMint"`` = "\_toMint"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RankTokenExited"`` = "RankTokenExited"; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"exitRankToken"`` = "exitRankToken"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `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 [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameWinner"`` = "gameWinner"; `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`: ... = "uint256"; `name`: ... = "minimumParticipantsInCircle"; `type`: ... = "uint256" }, \{ `internalType`: ... = "address"; `name`: ... = "derivedToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "proposalIntegrityVerifier"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon5"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon6"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon2"; `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`: ``"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" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gameMasterSignature"`` = "gameMasterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"deadline"`` = "deadline"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `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 [] = []; `name`: ``"getCommonParams"`` = "getCommonParams"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minimumParticipantsInCircle"`` = "minimumParticipantsInCircle"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"derivedToken"`` = "derivedToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposalIntegrityVerifier"`` = "proposalIntegrityVerifier"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon5"`` = "poseidon5"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon6"`` = "poseidon6"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon2"`` = "poseidon2"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"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" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_NAME"`` = "\_NAME"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_VERSION"`` = "\_VERSION"; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[2]"`` = "bytes32[2]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[2]"`` = "bytes32[2]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[5]"`` = "bytes32[5]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[5]"`` = "bytes32[5]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[6]"`` = "bytes32[6]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[6]"`` = "bytes32[6]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHashFromVotes"`` = "ballotHashFromVotes"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ballotIntegrityCheckFailed"`` = "ballotIntegrityCheckFailed"; `type`: ``"error"`` = "error" }, \{ `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `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[][]" }, \{ `components`: readonly [\{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"proposals"`` = "proposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"a"`` = "a"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256[2][2]"`` = "uint256[2][2]"; `name`: ``"b"`` = "b"; `type`: ``"uint256[2][2]"`` = "uint256[2][2]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"c"`` = "c"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.BatchProposalReveal"`` = "struct RankifyInstanceGameMastersFacet.BatchProposalReveal"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"permutation"`` = "permutation"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"shuffleSalt"`` = "shuffleSalt"; `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"params"`` = "params"; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"ECDSAInvalidSignature"`` = "ECDSAInvalidSignature"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"length"`` = "length"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ECDSAInvalidSignatureLength"`` = "ECDSAInvalidSignatureLength"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"s"`` = "s"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ECDSAInvalidSignatureS"`` = "ECDSAInvalidSignatureS"; `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`: ``"bytes32"`` = "bytes32"; `name`: ``"digest"`` = "digest"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidECDSARecoverSigner"`` = "invalidECDSARecoverSigner"; `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`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_toMint"`` = "\_toMint"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RankTokenExited"`` = "RankTokenExited"; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"exitRankToken"`` = "exitRankToken"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `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 [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameWinner"`` = "gameWinner"; `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`: ... = "uint256"; `name`: ... = "minimumParticipantsInCircle"; `type`: ... = "uint256" }, \{ `internalType`: ... = "address"; `name`: ... = "derivedToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "proposalIntegrityVerifier"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon5"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon6"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon2"; `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`: ``"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" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gameMasterSignature"`` = "gameMasterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"deadline"`` = "deadline"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `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 [] = []; `name`: ``"getCommonParams"`` = "getCommonParams"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minimumParticipantsInCircle"`` = "minimumParticipantsInCircle"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"derivedToken"`` = "derivedToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposalIntegrityVerifier"`` = "proposalIntegrityVerifier"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon5"`` = "poseidon5"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon6"`` = "poseidon6"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon2"`` = "poseidon2"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"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`\> }\>
|
|
220
|
+
▸ **getOngoingVoting**(`gameId`): `Promise`\<\{ `voteEvents`: \{ `player`: \`0x$\{string}\` ; `sealedBallotId`: `string` = event.sealedBallotId; `gmSignature`: `string` = event.gmSignature; `voterSignature`: `string` = event.voterSignature; `ballotHash`: `string` = event.ballotHash }[] ; `proposalEvents`: \{ `proposer`: \`0x$\{string}\` = event.proposer; `encryptedProposal`: `string` = event.encryptedProposal; `commitment`: `bigint` = event.commitment; `gmSignature`: `string` = event.gmSignature; `proposerSignature`: `string` = event.proposerSignature }[] }\>
|
|
213
221
|
|
|
214
222
|
Retrieves the ongoing voting for a specific game.
|
|
215
223
|
|
|
@@ -221,7 +229,7 @@ Retrieves the ongoing voting for a specific game.
|
|
|
221
229
|
|
|
222
230
|
#### Returns
|
|
223
231
|
|
|
224
|
-
`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" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_NAME"`` = "\_NAME"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_VERSION"`` = "\_VERSION"; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[2]"`` = "bytes32[2]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[2]"`` = "bytes32[2]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[5]"`` = "bytes32[5]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[5]"`` = "bytes32[5]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[6]"`` = "bytes32[6]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[6]"`` = "bytes32[6]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHashFromVotes"`` = "ballotHashFromVotes"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ballotIntegrityCheckFailed"`` = "ballotIntegrityCheckFailed"; `type`: ``"error"`` = "error" }, \{ `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `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[][]" }, \{ `components`: readonly [\{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"proposals"`` = "proposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"a"`` = "a"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256[2][2]"`` = "uint256[2][2]"; `name`: ``"b"`` = "b"; `type`: ``"uint256[2][2]"`` = "uint256[2][2]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"c"`` = "c"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.BatchProposalReveal"`` = "struct RankifyInstanceGameMastersFacet.BatchProposalReveal"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"permutation"`` = "permutation"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"shuffleSalt"`` = "shuffleSalt"; `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"params"`` = "params"; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"ECDSAInvalidSignature"`` = "ECDSAInvalidSignature"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"length"`` = "length"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ECDSAInvalidSignatureLength"`` = "ECDSAInvalidSignatureLength"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"s"`` = "s"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ECDSAInvalidSignatureS"`` = "ECDSAInvalidSignatureS"; `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`: ``"bytes32"`` = "bytes32"; `name`: ``"digest"`` = "digest"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidECDSARecoverSigner"`` = "invalidECDSARecoverSigner"; `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`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_toMint"`` = "\_toMint"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RankTokenExited"`` = "RankTokenExited"; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"exitRankToken"`` = "exitRankToken"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `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 [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameWinner"`` = "gameWinner"; `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`: ... = "uint256"; `name`: ... = "minimumParticipantsInCircle"; `type`: ... = "uint256" }, \{ `internalType`: ... = "address"; `name`: ... = "derivedToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "proposalIntegrityVerifier"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon5"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon6"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon2"; `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`: ``"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" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gameMasterSignature"`` = "gameMasterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"deadline"`` = "deadline"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `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 [] = []; `name`: ``"getCommonParams"`` = "getCommonParams"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minimumParticipantsInCircle"`` = "minimumParticipantsInCircle"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"derivedToken"`` = "derivedToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposalIntegrityVerifier"`` = "proposalIntegrityVerifier"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon5"`` = "poseidon5"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon6"`` = "poseidon6"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon2"`` = "poseidon2"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"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" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_NAME"`` = "\_NAME"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_VERSION"`` = "\_VERSION"; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[2]"`` = "bytes32[2]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[2]"`` = "bytes32[2]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[5]"`` = "bytes32[5]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[5]"`` = "bytes32[5]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[6]"`` = "bytes32[6]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[6]"`` = "bytes32[6]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHashFromVotes"`` = "ballotHashFromVotes"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ballotIntegrityCheckFailed"`` = "ballotIntegrityCheckFailed"; `type`: ``"error"`` = "error" }, \{ `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `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[][]" }, \{ `components`: readonly [\{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"proposals"`` = "proposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"a"`` = "a"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256[2][2]"`` = "uint256[2][2]"; `name`: ``"b"`` = "b"; `type`: ``"uint256[2][2]"`` = "uint256[2][2]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"c"`` = "c"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.BatchProposalReveal"`` = "struct RankifyInstanceGameMastersFacet.BatchProposalReveal"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"permutation"`` = "permutation"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"shuffleSalt"`` = "shuffleSalt"; `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"params"`` = "params"; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"ECDSAInvalidSignature"`` = "ECDSAInvalidSignature"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"length"`` = "length"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ECDSAInvalidSignatureLength"`` = "ECDSAInvalidSignatureLength"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"s"`` = "s"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ECDSAInvalidSignatureS"`` = "ECDSAInvalidSignatureS"; `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`: ``"bytes32"`` = "bytes32"; `name`: ``"digest"`` = "digest"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidECDSARecoverSigner"`` = "invalidECDSARecoverSigner"; `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`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_toMint"`` = "\_toMint"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RankTokenExited"`` = "RankTokenExited"; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"exitRankToken"`` = "exitRankToken"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `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 [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameWinner"`` = "gameWinner"; `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`: ... = "uint256"; `name`: ... = "minimumParticipantsInCircle"; `type`: ... = "uint256" }, \{ `internalType`: ... = "address"; `name`: ... = "derivedToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "proposalIntegrityVerifier"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon5"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon6"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "poseidon2"; `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`: ``"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" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gameMasterSignature"`` = "gameMasterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"deadline"`` = "deadline"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `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 [] = []; `name`: ``"getCommonParams"`` = "getCommonParams"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minimumParticipantsInCircle"`` = "minimumParticipantsInCircle"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"derivedToken"`` = "derivedToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposalIntegrityVerifier"`` = "proposalIntegrityVerifier"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon5"`` = "poseidon5"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon6"`` = "poseidon6"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon2"`` = "poseidon2"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"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`\> }\>
|
|
232
|
+
`Promise`\<\{ `voteEvents`: \{ `player`: \`0x$\{string}\` ; `sealedBallotId`: `string` = event.sealedBallotId; `gmSignature`: `string` = event.gmSignature; `voterSignature`: `string` = event.voterSignature; `ballotHash`: `string` = event.ballotHash }[] ; `proposalEvents`: \{ `proposer`: \`0x$\{string}\` = event.proposer; `encryptedProposal`: `string` = event.encryptedProposal; `commitment`: `bigint` = event.commitment; `gmSignature`: `string` = event.gmSignature; `proposerSignature`: `string` = event.proposerSignature }[] }\>
|
|
225
233
|
|
|
226
234
|
___
|
|
227
235
|
|
|
@@ -247,7 +255,7 @@ ___
|
|
|
247
255
|
|
|
248
256
|
### getRegistrationDeadline
|
|
249
257
|
|
|
250
|
-
▸ **getRegistrationDeadline**(`gameId`, `timeToJoin?`): `Promise`\<`number`\>
|
|
258
|
+
▸ **getRegistrationDeadline**(`gameId`, `timeToJoin?`): `Promise`\<`undefined` \| `number`\>
|
|
251
259
|
|
|
252
260
|
Retrieves the registration deadline for a specific game.
|
|
253
261
|
|
|
@@ -260,7 +268,7 @@ Retrieves the registration deadline for a specific game.
|
|
|
260
268
|
|
|
261
269
|
#### Returns
|
|
262
270
|
|
|
263
|
-
`Promise`\<`number`\>
|
|
271
|
+
`Promise`\<`undefined` \| `number`\>
|
|
264
272
|
|
|
265
273
|
A Promise that resolves to the registration deadline timestamp.
|
|
266
274
|
|
|
@@ -341,7 +349,7 @@ ___
|
|
|
341
349
|
|
|
342
350
|
### getProposalScoresList
|
|
343
351
|
|
|
344
|
-
▸ **getProposalScoresList**(`gameId`): `Promise`\<`GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_NAME"`` = "\_NAME"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_VERSION"`` = "\_VERSION"; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[2]"`` = "bytes32[2]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[2]"`` = "bytes32[2]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[5]"`` = "bytes32[5]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[5]"`` = "bytes32[5]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[6]"`` = "bytes32[6]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[6]"`` = "bytes32[6]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHashFromVotes"`` = "ballotHashFromVotes"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ballotIntegrityCheckFailed"`` = "ballotIntegrityCheckFailed"; `type`: ``"error"`` = "error" }, \{ `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `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[][]" }, \{ `components`: readonly [\{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"proposals"`` = "proposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"a"`` = "a"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256[2][2]"`` = "uint256[2][2]"; `name`: ``"b"`` = "b"; `type`: ``"uint256[2][2]"`` = "uint256[2][2]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"c"`` = "c"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.BatchProposalReveal"`` = "struct RankifyInstanceGameMastersFacet.BatchProposalReveal"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"permutation"`` = "permutation"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"shuffleSalt"`` = "shuffleSalt"; `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"params"`` = "params"; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"ECDSAInvalidSignature"`` = "ECDSAInvalidSignature"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"length"`` = "length"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ECDSAInvalidSignatureLength"`` = "ECDSAInvalidSignatureLength"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"s"`` = "s"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ECDSAInvalidSignatureS"`` = "ECDSAInvalidSignatureS"; `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`: ``"bytes32"`` = "bytes32"; `name`: ``"digest"`` = "digest"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidECDSARecoverSigner"`` = "invalidECDSARecoverSigner"; `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`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_toMint"`` = "\_toMint"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RankTokenExited"`` = "RankTokenExited"; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"exitRankToken"`` = "exitRankToken"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `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 [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameWinner"`` = "gameWinner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minimumParticipantsInCircle"`` = "minimumParticipantsInCircle"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"derivedToken"`` = "derivedToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposalIntegrityVerifier"`` = "proposalIntegrityVerifier"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon5"`` = "poseidon5"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon6"`` = "poseidon6"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon2"`` = "poseidon2"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"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" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gameMasterSignature"`` = "gameMasterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"deadline"`` = "deadline"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"getCommonParams"`` = "getCommonParams"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minimumParticipantsInCircle"`` = "minimumParticipantsInCircle"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"derivedToken"`` = "derivedToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposalIntegrityVerifier"`` = "proposalIntegrityVerifier"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon5"`` = "poseidon5"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon6"`` = "poseidon6"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon2"`` = "poseidon2"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxQuadraticPoints"`` = "maxQuadraticPoints"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minQuadraticPositions"`` = "minQuadraticPositions"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"ProposalScore"``, `undefined`, `bigint`, `undefined`\>\>
|
|
352
|
+
▸ **getProposalScoresList**(`gameId`): `Promise`\<\{ `id`: `string` ; `proposalHash`: `string` ; `proposal`: `string` ; `blockTimestamp`: `string` ; `srcAddress`: `string` ; `gameId`: `bigint` ; `turn`: `bigint` ; `score`: `bigint` ; `blockNumber`: `bigint` ; `contractAddress`: \`0x$\{string}\` }[]\>
|
|
345
353
|
|
|
346
354
|
Retrieves the list of proposal scores for a specific game.
|
|
347
355
|
|
|
@@ -353,7 +361,7 @@ Retrieves the list of proposal scores for a specific game.
|
|
|
353
361
|
|
|
354
362
|
#### Returns
|
|
355
363
|
|
|
356
|
-
`Promise`\<`GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_NAME"`` = "\_NAME"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"_VERSION"`` = "\_VERSION"; `type`: ``"string"`` = "string" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[2]"`` = "bytes32[2]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[2]"`` = "bytes32[2]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[5]"`` = "bytes32[5]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[5]"`` = "bytes32[5]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32[6]"`` = "bytes32[6]"; `name`: ``"inputs"`` = "inputs"; `type`: ``"bytes32[6]"`` = "bytes32[6]" }] ; `name`: ``"poseidon"`` = "poseidon"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``""`` = ""; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHashFromVotes"`` = "ballotHashFromVotes"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ballotIntegrityCheckFailed"`` = "ballotIntegrityCheckFailed"; `type`: ``"error"`` = "error" }, \{ `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `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[][]" }, \{ `components`: readonly [\{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"proposals"`` = "proposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"a"`` = "a"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256[2][2]"`` = "uint256[2][2]"; `name`: ``"b"`` = "b"; `type`: ``"uint256[2][2]"`` = "uint256[2][2]" }, \{ `internalType`: ``"uint256[2]"`` = "uint256[2]"; `name`: ``"c"`` = "c"; `type`: ``"uint256[2]"`` = "uint256[2]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.BatchProposalReveal"`` = "struct RankifyInstanceGameMastersFacet.BatchProposalReveal"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"permutation"`` = "permutation"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"shuffleSalt"`` = "shuffleSalt"; `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`: ``"uint256"`` = "uint256"; `name`: ``"commitment"`` = "commitment"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"proposerSignature"`` = "proposerSignature"; `type`: ``"bytes"`` = "bytes" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"params"`` = "params"; `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`: ``"sealedBallotId"`` = "sealedBallotId"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gmSignature"`` = "gmSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"voterSignature"`` = "voterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"ballotHash"`` = "ballotHash"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"ECDSAInvalidSignature"`` = "ECDSAInvalidSignature"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"length"`` = "length"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ECDSAInvalidSignatureLength"`` = "ECDSAInvalidSignatureLength"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"s"`` = "s"; `type`: ``"bytes32"`` = "bytes32" }] ; `name`: ``"ECDSAInvalidSignatureS"`` = "ECDSAInvalidSignatureS"; `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`: ``"bytes32"`` = "bytes32"; `name`: ``"digest"`` = "digest"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidECDSARecoverSigner"`` = "invalidECDSARecoverSigner"; `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`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_toMint"`` = "\_toMint"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RankTokenExited"`` = "RankTokenExited"; `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`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"rankId"`` = "rankId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"exitRankToken"`` = "exitRankToken"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `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 [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameWinner"`` = "gameWinner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minimumParticipantsInCircle"`` = "minimumParticipantsInCircle"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"derivedToken"`` = "derivedToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposalIntegrityVerifier"`` = "proposalIntegrityVerifier"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon5"`` = "poseidon5"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon6"`` = "poseidon6"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon2"`` = "poseidon2"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"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" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"gameMasterSignature"`` = "gameMasterSignature"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"gmCommitment"`` = "gmCommitment"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"deadline"`` = "deadline"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"voterPubKey"`` = "voterPubKey"; `type`: ``"string"`` = "string" }] ; `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" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"permutationCommitment"`` = "permutationCommitment"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"getCommonParams"`` = "getCommonParams"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minimumParticipantsInCircle"`` = "minimumParticipantsInCircle"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"derivedToken"`` = "derivedToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposalIntegrityVerifier"`` = "proposalIntegrityVerifier"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon5"`` = "poseidon5"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon6"`` = "poseidon6"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"poseidon2"`` = "poseidon2"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxQuadraticPoints"`` = "maxQuadraticPoints"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minQuadraticPositions"`` = "minQuadraticPositions"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"metadata"`` = "metadata"; `type`: ``"string"`` = "string" }] ; `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`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"ProposalScore"``, `undefined`, `bigint`, `undefined`\>\>
|
|
364
|
+
`Promise`\<\{ `id`: `string` ; `proposalHash`: `string` ; `proposal`: `string` ; `blockTimestamp`: `string` ; `srcAddress`: `string` ; `gameId`: `bigint` ; `turn`: `bigint` ; `score`: `bigint` ; `blockNumber`: `bigint` ; `contractAddress`: \`0x$\{string}\` }[]\>
|
|
357
365
|
|
|
358
366
|
A Promise that resolves to the list of proposal scores.
|
|
359
367
|
|