@peeramid-labs/sdk 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/docs/classes/ApiError.md +44 -0
  2. package/docs/classes/InstanceBase.md +341 -0
  3. package/docs/classes/InstancePlayer.md +568 -0
  4. package/docs/classes/MAODistributorClient.md +307 -0
  5. package/docs/classes/Multipass.md +276 -0
  6. package/docs/classes/MultipassBase.md +217 -0
  7. package/docs/docs/.nojekyll +1 -0
  8. package/docs/docs/classes/ApiError.md +44 -0
  9. package/docs/docs/classes/InstanceBase.md +341 -0
  10. package/docs/docs/classes/InstancePlayer.md +568 -0
  11. package/docs/docs/classes/MAODistributorClient.md +307 -0
  12. package/docs/docs/classes/Multipass.md +276 -0
  13. package/docs/docs/classes/MultipassBase.md +217 -0
  14. package/docs/docs/enums/SearchCriteria.md +29 -0
  15. package/docs/docs/enums/gameStatusEnum.md +71 -0
  16. package/docs/docs/index.md +367 -0
  17. package/docs/docs/interfaces/ApiErrorOptions.md +30 -0
  18. package/docs/docs/interfaces/MAOInstanceContracts.md +53 -0
  19. package/docs/docs/interfaces/MAOInstances.md +53 -0
  20. package/docs/docs/interfaces/RegisterMessage.md +53 -0
  21. package/docs/docs/interfaces/SignerIdentity.md +35 -0
  22. package/docs/enums/SearchCriteria.md +29 -0
  23. package/docs/enums/gameStatusEnum.md +71 -0
  24. package/docs/index.md +367 -0
  25. package/docs/interfaces/ApiErrorOptions.md +30 -0
  26. package/docs/interfaces/MAOInstanceContracts.md +53 -0
  27. package/docs/interfaces/MAOInstances.md +53 -0
  28. package/docs/interfaces/RegisterMessage.md +53 -0
  29. package/docs/interfaces/SignerIdentity.md +35 -0
  30. package/package.json +3 -3
  31. package/docs/assets/highlight.css +0 -64
  32. package/docs/assets/icons.js +0 -15
  33. package/docs/assets/icons.svg +0 -1
  34. package/docs/assets/main.js +0 -59
  35. package/docs/assets/navigation.js +0 -1
  36. package/docs/assets/search.js +0 -1
  37. package/docs/assets/style.css +0 -1412
  38. package/docs/index.html +0 -62
  39. package/docs/modules.html +0 -1
@@ -0,0 +1,568 @@
1
+ # Class: InstancePlayer
2
+
3
+ Base class for interacting with a Rankify game instance
4
+ Provides core functionality for managing game state and interactions
5
+
6
+ ## Hierarchy
7
+
8
+ - [`InstanceBase`](InstanceBase.md)
9
+
10
+ ↳ **`InstancePlayer`**
11
+
12
+ ## Table of contents
13
+
14
+ ### Constructors
15
+
16
+ - [constructor](InstancePlayer.md#constructor)
17
+
18
+ ### Properties
19
+
20
+ - [publicClient](InstancePlayer.md#publicclient)
21
+ - [chainId](InstancePlayer.md#chainid)
22
+ - [instanceAddress](InstancePlayer.md#instanceaddress)
23
+ - [walletClient](InstancePlayer.md#walletclient)
24
+ - [account](InstancePlayer.md#account)
25
+
26
+ ### Methods
27
+
28
+ - [getHistoricTurn](InstancePlayer.md#gethistoricturn)
29
+ - [getPreviousTurnStats](InstancePlayer.md#getpreviousturnstats)
30
+ - [getVoting](InstancePlayer.md#getvoting)
31
+ - [getOngoingVoting](InstancePlayer.md#getongoingvoting)
32
+ - [getOngoingProposals](InstancePlayer.md#getongoingproposals)
33
+ - [getRegistrationDeadline](InstancePlayer.md#getregistrationdeadline)
34
+ - [resolveTurnDeadline](InstancePlayer.md#resolveturndeadline)
35
+ - [getTurnDeadline](InstancePlayer.md#getturndeadline)
36
+ - [getContractState](InstancePlayer.md#getcontractstate)
37
+ - [getPlayersGame](InstancePlayer.md#getplayersgame)
38
+ - [getProposalScoresList](InstancePlayer.md#getproposalscoreslist)
39
+ - [getCurrentTurn](InstancePlayer.md#getcurrentturn)
40
+ - [getGameState](InstancePlayer.md#getgamestate)
41
+ - [approveTokensIfNeeded](InstancePlayer.md#approvetokensifneeded)
42
+ - [createGame](InstancePlayer.md#creategame)
43
+ - [joinGame](InstancePlayer.md#joingame)
44
+ - [startGame](InstancePlayer.md#startgame)
45
+ - [cancelGame](InstancePlayer.md#cancelgame)
46
+ - [leaveGame](InstancePlayer.md#leavegame)
47
+ - [openRegistration](InstancePlayer.md#openregistration)
48
+ - [setJoinRequirements](InstancePlayer.md#setjoinrequirements)
49
+
50
+ ## Constructors
51
+
52
+ ### constructor
53
+
54
+ • **new InstancePlayer**(`«destructured»`): [`InstancePlayer`](InstancePlayer.md)
55
+
56
+ #### Parameters
57
+
58
+ | Name | Type |
59
+ | :------ | :------ |
60
+ | `«destructured»` | `Object` |
61
+ | › `publicClient` | `Object` |
62
+ | › `walletClient` | `Object` |
63
+ | › `chainId` | `number` |
64
+ | › `instanceAddress` | \`0x$\{string}\` |
65
+ | › `account` | \`0x$\{string}\` |
66
+
67
+ #### Returns
68
+
69
+ [`InstancePlayer`](InstancePlayer.md)
70
+
71
+ #### Overrides
72
+
73
+ [InstanceBase](InstanceBase.md).[constructor](InstanceBase.md#constructor)
74
+
75
+ ## Properties
76
+
77
+ ### publicClient
78
+
79
+ • **publicClient**: `Object`
80
+
81
+ Public client for blockchain interactions
82
+
83
+ #### Inherited from
84
+
85
+ [InstanceBase](InstanceBase.md).[publicClient](InstanceBase.md#publicclient)
86
+
87
+ ___
88
+
89
+ ### chainId
90
+
91
+ • **chainId**: `number`
92
+
93
+ Chain ID of the network
94
+
95
+ #### Inherited from
96
+
97
+ [InstanceBase](InstanceBase.md).[chainId](InstanceBase.md#chainid)
98
+
99
+ ___
100
+
101
+ ### instanceAddress
102
+
103
+ • **instanceAddress**: \`0x$\{string}\`
104
+
105
+ Address of the Rankify instance contract
106
+
107
+ #### Inherited from
108
+
109
+ [InstanceBase](InstanceBase.md).[instanceAddress](InstanceBase.md#instanceaddress)
110
+
111
+ ___
112
+
113
+ ### walletClient
114
+
115
+ • **walletClient**: `Object`
116
+
117
+ ___
118
+
119
+ ### account
120
+
121
+ • **account**: \`0x$\{string}\`
122
+
123
+ ## Methods
124
+
125
+ ### getHistoricTurn
126
+
127
+ ▸ **getHistoricTurn**(`gameId`, `turnId`): `Promise`\<`Log`\<`bigint`, `number`, ``false``, `undefined`, `undefined`, readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxQuadraticPoints"`` = "maxQuadraticPoints"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minQuadraticPositions"`` = "minQuadraticPositions"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"TurnEnded"``\>\>
128
+
129
+ Retrieves the historic turn information for a specific game and turn ID.
130
+
131
+ #### Parameters
132
+
133
+ | Name | Type |
134
+ | :------ | :------ |
135
+ | `gameId` | `bigint` |
136
+ | `turnId` | `bigint` |
137
+
138
+ #### Returns
139
+
140
+ `Promise`\<`Log`\<`bigint`, `number`, ``false``, `undefined`, `undefined`, readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxQuadraticPoints"`` = "maxQuadraticPoints"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minQuadraticPositions"`` = "minQuadraticPositions"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"TurnEnded"``\>\>
141
+
142
+ The historic turn event object.
143
+
144
+ **`Throws`**
145
+
146
+ If the game or turn is not found.
147
+
148
+ #### Inherited from
149
+
150
+ [InstanceBase](InstanceBase.md).[getHistoricTurn](InstanceBase.md#gethistoricturn)
151
+
152
+ ___
153
+
154
+ ### getPreviousTurnStats
155
+
156
+ ▸ **getPreviousTurnStats**(`gameId`): `Promise`\<`Log`\<`bigint`, `number`, ``false``, `undefined`, `undefined`, readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "principalCost"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint96"; `name`: ... = "principalTimeConstant"; `type`: ... = "uint96" }, \{ `internalType`: ... = "address"; `name`: ... = "gamePaymentToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "rankTokenAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "beneficiary"; `type`: ... = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "voteCredits"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "maxQuadraticPoints"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "minQuadraticPositions"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"TurnEnded"``\> \| \{ `players`: `string` = "N/A"; `scores`: `string` = "N/A"; `turnSalt`: `string` = "N/A"; `voters`: `string`[] ; `votesRevealed`: `string`[] }\>
157
+
158
+ Retrieves the previous turn information for a specific game.
159
+
160
+ #### Parameters
161
+
162
+ | Name | Type | Description |
163
+ | :------ | :------ | :------ |
164
+ | `gameId` | `bigint` | The ID of the game. |
165
+
166
+ #### Returns
167
+
168
+ `Promise`\<`Log`\<`bigint`, `number`, ``false``, `undefined`, `undefined`, readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "principalCost"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint96"; `name`: ... = "principalTimeConstant"; `type`: ... = "uint96" }, \{ `internalType`: ... = "address"; `name`: ... = "gamePaymentToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "rankTokenAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "beneficiary"; `type`: ... = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "voteCredits"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "maxQuadraticPoints"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "minQuadraticPositions"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"TurnEnded"``\> \| \{ `players`: `string` = "N/A"; `scores`: `string` = "N/A"; `turnSalt`: `string` = "N/A"; `voters`: `string`[] ; `votesRevealed`: `string`[] }\>
169
+
170
+ The previous turn information for the specified game.
171
+
172
+ #### Inherited from
173
+
174
+ [InstanceBase](InstanceBase.md).[getPreviousTurnStats](InstanceBase.md#getpreviousturnstats)
175
+
176
+ ___
177
+
178
+ ### getVoting
179
+
180
+ ▸ **getVoting**(`gameId`, `turnId`): `Promise`\<\{ `voteEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "principalCost"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint96"; `name`: ... = "principalTimeConstant"; `type`: ... = "uint96" }, \{ `internalType`: ... = "address"; `name`: ... = "gamePaymentToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "rankTokenAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "beneficiary"; `type`: ... = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "voteCredits"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "maxQuadraticPoints"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "minQuadraticPositions"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"VoteSubmitted"``, `undefined`, `undefined`, `undefined`\> ; `proposalEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "principalCost"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint96"; `name`: ... = "principalTimeConstant"; `type`: ... = "uint96" }, \{ `internalType`: ... = "address"; `name`: ... = "gamePaymentToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "rankTokenAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "beneficiary"; `type`: ... = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "voteCredits"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "maxQuadraticPoints"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "minQuadraticPositions"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"ProposalSubmitted"``, `undefined`, `undefined`, `undefined`\> }\>
181
+
182
+ Retrieves the voting information for a specific game and turn.
183
+
184
+ #### Parameters
185
+
186
+ | Name | Type | Description |
187
+ | :------ | :------ | :------ |
188
+ | `gameId` | `bigint` | The ID of the game. |
189
+ | `turnId` | `bigint` | The ID of the turn. |
190
+
191
+ #### Returns
192
+
193
+ `Promise`\<\{ `voteEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "principalCost"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint96"; `name`: ... = "principalTimeConstant"; `type`: ... = "uint96" }, \{ `internalType`: ... = "address"; `name`: ... = "gamePaymentToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "rankTokenAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "beneficiary"; `type`: ... = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "voteCredits"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "maxQuadraticPoints"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "minQuadraticPositions"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"VoteSubmitted"``, `undefined`, `undefined`, `undefined`\> ; `proposalEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "principalCost"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint96"; `name`: ... = "principalTimeConstant"; `type`: ... = "uint96" }, \{ `internalType`: ... = "address"; `name`: ... = "gamePaymentToken"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "rankTokenAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "address"; `name`: ... = "beneficiary"; `type`: ... = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "voteCredits"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "maxQuadraticPoints"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "minQuadraticPositions"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "bytes"; `name`: ... = "data"; `type`: ... = "bytes" }, \{ `internalType`: ... = "uint256"; `name`: ... = "amount"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ... = "uint256"; `name`: ... = "have"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "lock"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "burn"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "pay"; `type`: ... = "uint256" }, \{ `internalType`: ... = "uint256"; `name`: ... = "bet"; `type`: ... = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ... = "address"; `name`: ... = "contractAddress"; `type`: ... = "address" }, \{ `internalType`: ... = "uint256"; `name`: ... = "contractId"; `type`: ... = "uint256" }, \{ `internalType`: ... = "enum LibCoinVending.ContractTypes"; `name`: ... = "contractType"; `type`: ... = "uint8" }, \{ `components`: ... ; `internalType`: ... = "struct LibCoinVending.ContractCondition"; `name`: ... = "contractRequirement"; `type`: ... = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"ProposalSubmitted"``, `undefined`, `undefined`, `undefined`\> }\>
194
+
195
+ The voting information for the specified game and turn.
196
+
197
+ #### Inherited from
198
+
199
+ [InstanceBase](InstanceBase.md).[getVoting](InstanceBase.md#getvoting)
200
+
201
+ ___
202
+
203
+ ### getOngoingVoting
204
+
205
+ ▸ **getOngoingVoting**(`gameId`): `Promise`\<`undefined` \| \{ `voteEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [..., ..., ...] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"VoteSubmitted"``, `undefined`, `undefined`, `undefined`\> ; `proposalEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [..., ..., ...] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"ProposalSubmitted"``, `undefined`, `undefined`, `undefined`\> }\>
206
+
207
+ Retrieves the ongoing voting for a specific game.
208
+
209
+ #### Parameters
210
+
211
+ | Name | Type | Description |
212
+ | :------ | :------ | :------ |
213
+ | `gameId` | `bigint` | The ID of the game. |
214
+
215
+ #### Returns
216
+
217
+ `Promise`\<`undefined` \| \{ `voteEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [..., ..., ...] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"VoteSubmitted"``, `undefined`, `undefined`, `undefined`\> ; `proposalEvents`: `GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [..., ..., ...] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ...] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"ProposalSubmitted"``, `undefined`, `undefined`, `undefined`\> }\>
218
+
219
+ #### Inherited from
220
+
221
+ [InstanceBase](InstanceBase.md).[getOngoingVoting](InstanceBase.md#getongoingvoting)
222
+
223
+ ___
224
+
225
+ ### getOngoingProposals
226
+
227
+ ▸ **getOngoingProposals**(`gameId`): `Promise`\<\{ `currentTurn`: `bigint` ; `proposals`: `unknown`[] = args.newProposals }\>
228
+
229
+ Retrieves the ongoing proposals for a specific game.
230
+
231
+ #### Parameters
232
+
233
+ | Name | Type | Description |
234
+ | :------ | :------ | :------ |
235
+ | `gameId` | `bigint` | The ID of the game. |
236
+
237
+ #### Returns
238
+
239
+ `Promise`\<\{ `currentTurn`: `bigint` ; `proposals`: `unknown`[] = args.newProposals }\>
240
+
241
+ The ongoing proposals for the specified game.
242
+
243
+ #### Inherited from
244
+
245
+ [InstanceBase](InstanceBase.md).[getOngoingProposals](InstanceBase.md#getongoingproposals)
246
+
247
+ ___
248
+
249
+ ### getRegistrationDeadline
250
+
251
+ ▸ **getRegistrationDeadline**(`gameId`, `timeToJoin?`): `Promise`\<`number`\>
252
+
253
+ Retrieves the registration deadline for a specific game.
254
+
255
+ #### Parameters
256
+
257
+ | Name | Type | Description |
258
+ | :------ | :------ | :------ |
259
+ | `gameId` | `bigint` | The ID of the game. |
260
+ | `timeToJoin?` | `number` | Optional. The additional time (in seconds) to join the game. |
261
+
262
+ #### Returns
263
+
264
+ `Promise`\<`number`\>
265
+
266
+ A Promise that resolves to the registration deadline timestamp.
267
+
268
+ #### Inherited from
269
+
270
+ [InstanceBase](InstanceBase.md).[getRegistrationDeadline](InstanceBase.md#getregistrationdeadline)
271
+
272
+ ___
273
+
274
+ ### resolveTurnDeadline
275
+
276
+ ▸ **resolveTurnDeadline**(`block`, `gameId`, `timePerTurn?`): `Promise`\<`number`\>
277
+
278
+ Resolves the deadline for the current turn.
279
+
280
+ #### Parameters
281
+
282
+ | Name | Type | Description |
283
+ | :------ | :------ | :------ |
284
+ | `block` | `Block` | The current block. |
285
+ | `gameId` | `bigint` | The ID of the game. |
286
+ | `timePerTurn?` | `number` | The time duration per turn (optional). |
287
+
288
+ #### Returns
289
+
290
+ `Promise`\<`number`\>
291
+
292
+ The deadline for the current turn.
293
+
294
+ #### Inherited from
295
+
296
+ [InstanceBase](InstanceBase.md).[resolveTurnDeadline](InstanceBase.md#resolveturndeadline)
297
+
298
+ ___
299
+
300
+ ### getTurnDeadline
301
+
302
+ ▸ **getTurnDeadline**(`gameId`, `timePerTurn?`): `Promise`\<`number`\>
303
+
304
+ Retrieves the deadline for the current turn in a game.
305
+
306
+ #### Parameters
307
+
308
+ | Name | Type | Description |
309
+ | :------ | :------ | :------ |
310
+ | `gameId` | `bigint` | The ID of the game. |
311
+ | `timePerTurn?` | `number` | Optional. The duration of each turn in seconds. |
312
+
313
+ #### Returns
314
+
315
+ `Promise`\<`number`\>
316
+
317
+ A Promise that resolves to the deadline for the current turn, or 0 if the turn has not started.
318
+
319
+ #### Inherited from
320
+
321
+ [InstanceBase](InstanceBase.md).[getTurnDeadline](InstanceBase.md#getturndeadline)
322
+
323
+ ___
324
+
325
+ ### getContractState
326
+
327
+ ▸ **getContractState**(): `Promise`\<\{ `numGames`: `bigint` ; `contractInitialized`: `boolean` ; `commonParams`: \{ `principalCost`: `bigint` ; `principalTimeConstant`: `bigint` ; `gamePaymentToken`: \`0x$\{string}\` ; `rankTokenAddress`: \`0x$\{string}\` ; `beneficiary`: \`0x$\{string}\` } }\>
328
+
329
+ Retrieves the contract state.
330
+
331
+ #### Returns
332
+
333
+ `Promise`\<\{ `numGames`: `bigint` ; `contractInitialized`: `boolean` ; `commonParams`: \{ `principalCost`: `bigint` ; `principalTimeConstant`: `bigint` ; `gamePaymentToken`: \`0x$\{string}\` ; `rankTokenAddress`: \`0x$\{string}\` ; `beneficiary`: \`0x$\{string}\` } }\>
334
+
335
+ #### Inherited from
336
+
337
+ [InstanceBase](InstanceBase.md).[getContractState](InstanceBase.md#getcontractstate)
338
+
339
+ ___
340
+
341
+ ### getPlayersGame
342
+
343
+ ▸ **getPlayersGame**(`account`): `Promise`\<`bigint`\>
344
+
345
+ Retrieves a player's game.
346
+
347
+ #### Parameters
348
+
349
+ | Name | Type | Description |
350
+ | :------ | :------ | :------ |
351
+ | `account` | \`0x$\{string}\` | The player's account address. |
352
+
353
+ #### Returns
354
+
355
+ `Promise`\<`bigint`\>
356
+
357
+ #### Inherited from
358
+
359
+ [InstanceBase](InstanceBase.md).[getPlayersGame](InstanceBase.md#getplayersgame)
360
+
361
+ ___
362
+
363
+ ### getProposalScoresList
364
+
365
+ ▸ **getProposalScoresList**(`gameId`): `Promise`\<`GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxQuadraticPoints"`` = "maxQuadraticPoints"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minQuadraticPositions"`` = "minQuadraticPositions"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"ProposalScore"``, `undefined`, `undefined`, `undefined`\>\>
366
+
367
+ Retrieves the list of proposal scores for a specific game.
368
+
369
+ #### Parameters
370
+
371
+ | Name | Type | Description |
372
+ | :------ | :------ | :------ |
373
+ | `gameId` | `bigint` | The ID of the game. |
374
+
375
+ #### Returns
376
+
377
+ `Promise`\<`GetContractEventsReturnType`\<readonly [\{ `inputs`: readonly [] = []; `name`: ``"currentChainId"`` = "currentChainId"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"inspectEIP712Hashes"`` = "inspectEIP712Hashes"; `outputs`: readonly [\{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_CACHED_DOMAIN_SEPARATOR"`` = "\_CACHED\_DOMAIN\_SEPARATOR"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"_CACHED_CHAIN_ID"`` = "\_CACHED\_CHAIN\_ID"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"_CACHED_THIS"`` = "\_CACHED\_THIS"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_NAME"`` = "\_HASHED\_NAME"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_HASHED_VERSION"`` = "\_HASHED\_VERSION"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"_TYPE_HASH"`` = "\_TYPE\_HASH"; `type`: ``"bytes32"`` = "bytes32" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"parameter"`` = "parameter"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg"`` = "arg"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"arg2"`` = "arg2"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"quadraticVotingError"`` = "quadraticVotingError"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"GameOver"`` = "GameOver"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"LastTurn"`` = "LastTurn"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"OverTime"`` = "OverTime"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"string"`` = "string"; `name`: ``"proposalHash"`` = "proposalHash"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposal"`` = "proposal"; `type`: ``"string"`` = "string" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"score"`` = "score"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"ProposalScore"`` = "ProposalScore"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"proposalEncryptedByGM"`` = "proposalEncryptedByGM"; `type`: ``"string"`` = "string" }] ; `name`: ``"ProposalSubmitted"`` = "ProposalSubmitted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address[]"`` = "address[]"; `name`: ``"players"`` = "players"; `type`: ``"address[]"`` = "address[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"scores"`` = "scores"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `indexed`: ``false`` = false; `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }] ; `name`: ``"TurnEnded"`` = "TurnEnded"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turn"`` = "turn"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``false`` = false; `internalType`: ``"string"`` = "string"; `name`: ``"votesHidden"`` = "votesHidden"; `type`: ``"string"`` = "string" }] ; `name`: ``"VoteSubmitted"`` = "VoteSubmitted"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256[][]"`` = "uint256[][]"; `name`: ``"votes"`` = "votes"; `type`: ``"uint256[][]"`` = "uint256[][]" }, \{ `internalType`: ``"string[]"`` = "string[]"; `name`: ``"newProposals"`` = "newProposals"; `type`: ``"string[]"`` = "string[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"proposerIndices"`` = "proposerIndices"; `type`: ``"uint256[]"`` = "uint256[]" }] ; `name`: ``"endTurn"`` = "endTurn"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedProposal"`` = "encryptedProposal"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"bytes32"`` = "bytes32"; `name`: ``"commitmentHash"`` = "commitmentHash"; `type`: ``"bytes32"`` = "bytes32" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"proposer"`` = "proposer"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct RankifyInstanceGameMastersFacet.ProposalParams"`` = "struct RankifyInstanceGameMastersFacet.ProposalParams"; `name`: ``"proposalData"`` = "proposalData"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"submitProposal"`` = "submitProposal"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"string"`` = "string"; `name`: ``"encryptedVotes"`` = "encryptedVotes"; `type`: ``"string"`` = "string" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"voter"`` = "voter"; `type`: ``"address"`` = "address" }] ; `name`: ``"submitVote"`` = "submitVote"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"MathOverflowedMulDiv"`` = "MathOverflowedMulDiv"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"a"`` = "a"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"b"`` = "b"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"NoDivisionReminderAllowed"`` = "NoDivisionReminderAllowed"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"RankNotSpecified"`` = "RankNotSpecified"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"string"`` = "string"; `name`: ``"message"`` = "message"; `type`: ``"string"`` = "string" }] ; `name`: ``"invalidConfiguration"`` = "invalidConfiguration"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"invalidTurnCount"`` = "invalidTurnCount"; `type`: ``"error"`` = "error" }, \{ `inputs`: readonly [] = []; `name`: ``"zeroValue"`` = "zeroValue"; `type`: ``"error"`` = "error" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameClosed"`` = "GameClosed"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"GameStarted"`` = "GameStarted"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``false`` = false; `internalType`: ``"address"`` = "address"; `name`: ``"participant"`` = "participant"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerJoined"`` = "PlayerJoined"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"PlayerLeft"`` = "PlayerLeft"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"RegistrationOpen"`` = "RegistrationOpen"; `type`: ``"event"`` = "event" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``false`` = false; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"gm"`` = "gm"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"creator"`` = "creator"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreated"`` = "gameCreated"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canEndTurn"`` = "canEndTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"canStartGame"`` = "canStartGame"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"cancelGame"`` = "cancelGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameRank"`` = "gameRank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"nTurns"`` = "nTurns"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint128"`` = "uint128" }, \{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint128"`` = "uint128" }] ; `internalType`: ``"struct IRankifyInstance.NewGameParamsInput"`` = "struct IRankifyInstance.NewGameParamsInput"; `name`: ``"params"`` = "params"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"createGame"`` = "createGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint128"`` = "uint128"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint128"`` = "uint128" }] ; `name`: ``"estimateGamePrice"`` = "estimateGamePrice"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"gameCreator"`` = "gameCreator"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"getContractState"`` = "getContractState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numGames"`` = "numGames"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"contractInitialized"`` = "contractInitialized"; `type`: ``"bool"`` = "bool" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"principalCost"`` = "principalCost"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint96"`` = "uint96"; `name`: ``"principalTimeConstant"`` = "principalTimeConstant"; `type`: ``"uint96"`` = "uint96" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gamePaymentToken"`` = "gamePaymentToken"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"rankTokenAddress"`` = "rankTokenAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"beneficiary"`` = "beneficiary"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct LibRankify.CommonParams"`` = "struct LibRankify.CommonParams"; `name`: ``"commonParams"`` = "commonParams"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibRankify.InstanceState"`` = "struct LibRankify.InstanceState"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"pure"`` = "pure"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGM"`` = "getGM"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameRank"`` = "getGameRank"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getGameState"`` = "getGameState"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"rank"`` = "rank"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minGameTime"`` = "minGameTime"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"createdBy"`` = "createdBy"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numOngoingProposals"`` = "numOngoingProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPrevProposals"`` = "numPrevProposals"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numCommitments"`` = "numCommitments"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesThisTurn"`` = "numVotesThisTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numVotesPrevTurn"`` = "numVotesPrevTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxQuadraticPoints"`` = "maxQuadraticPoints"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minQuadraticPositions"`` = "minQuadraticPositions"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibQuadraticVoting.qVotingStruct"`` = "struct LibQuadraticVoting.qVotingStruct"; `name`: ``"voting"`` = "voting"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"currentTurn"`` = "currentTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"turnStartedAt"`` = "turnStartedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"registrationOpenAt"`` = "registrationOpenAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"startedAt"`` = "startedAt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasStarted"`` = "hasStarted"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"hasEnded"`` = "hasEnded"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numPlayersMadeMove"`` = "numPlayersMadeMove"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"numActivePlayers"`` = "numActivePlayers"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"isOvertime"`` = "isOvertime"; `type`: ``"bool"`` = "bool" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timePerTurn"`` = "timePerTurn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxPlayerCnt"`` = "maxPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"minPlayerCnt"`` = "minPlayerCnt"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timeToJoin"`` = "timeToJoin"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"maxTurns"`` = "maxTurns"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"voteCredits"`` = "voteCredits"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"gameMaster"`` = "gameMaster"; `type`: ``"address"`` = "address" }] ; `internalType`: ``"struct IRankifyInstance.GameStateOutput"`` = "struct IRankifyInstance.GameStateOutput"; `name`: ``"state"`` = "state"; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayerVotedArray"`` = "getPlayerVotedArray"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayers"`` = "getPlayers"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"getPlayersGame"`` = "getPlayersGame"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getPlayersMoved"`` = "getPlayersMoved"; `outputs`: readonly [\{ `internalType`: ``"bool[]"`` = "bool[]"; `name`: ``""`` = ""; `type`: ``"bool[]"`` = "bool[]" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getScores"`` = "getScores"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``""`` = ""; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getTurn"`` = "getTurn"; `outputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isActive"`` = "isActive"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isGameOver"`` = "isGameOver"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isLastTurn"`` = "isLastTurn"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isOvertime"`` = "isOvertime"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"player"`` = "player"; `type`: ``"address"`` = "address" }] ; `name`: ``"isPlayerTurnComplete"`` = "isPlayerTurnComplete"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"isRegistrationOpen"`` = "isRegistrationOpen"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"joinGame"`` = "joinGame"; `outputs`: readonly [] = []; `stateMutability`: ``"payable"`` = "payable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"leaveGame"`` = "leaveGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``""`` = ""; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155BatchReceived"`` = "onERC1155BatchReceived"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC1155Received"`` = "onERC1155Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"operator"`` = "operator"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``""`` = ""; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``""`` = ""; `type`: ``"bytes"`` = "bytes" }] ; `name`: ``"onERC721Received"`` = "onERC721Received"; `outputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``""`` = ""; `type`: ``"bytes4"`` = "bytes4" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"openRegistration"`` = "openRegistration"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"startGame"`` = "startGame"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `indexed`: ``false`` = false; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"RequirementsConfigured"`` = "RequirementsConfigured"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }] ; `name`: ``"getJoinRequirements"`` = "getJoinRequirements"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesRefunded"`` = "timesRefunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesReleased"`` = "timesReleased"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"timesFunded"`` = "timesFunded"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"contractAddresses"`` = "contractAddresses"; `type`: ``"address[]"`` = "address[]" }, \{ `internalType`: ``"uint256[]"`` = "uint256[]"; `name`: ``"contractIds"`` = "contractIds"; `type`: ``"uint256[]"`` = "uint256[]" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes[]"`` = "enum LibCoinVending.ContractTypes[]"; `name`: ``"contractTypes"`` = "contractTypes"; `type`: ``"uint8[]"`` = "uint8[]" }, \{ `internalType`: ``"bool"`` = "bool"; `name`: ``"_isConfigured"`` = "\_isConfigured"; `type`: ``"bool"`` = "bool" }] ; `internalType`: ``"struct LibCoinVending.ConditionReturn"`` = "struct LibCoinVending.ConditionReturn"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }] ; `name`: ``"getJoinRequirementsByToken"`` = "getJoinRequirementsByToken"; `outputs`: readonly [\{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"have"`` = "have"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"lock"`` = "lock"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"burn"`` = "burn"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"pay"`` = "pay"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"bytes"`` = "bytes"; `name`: ``"data"`` = "data"; `type`: ``"bytes"`` = "bytes" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"amount"`` = "amount"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.TransactionProperties"`` = "struct LibCoinVending.TransactionProperties"; `name`: ``"bet"`` = "bet"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``""`` = ""; `type`: ``"tuple"`` = "tuple" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"gameId"`` = "gameId"; `type`: ``"uint256"`` = "uint256" }, \{ `components`: readonly [\{ `components`: readonly [\{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"have"`` = "have"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"lock"`` = "lock"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"burn"`` = "burn"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"pay"`` = "pay"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"bet"`` = "bet"; `type`: ``"uint256"`` = "uint256" }] ; `internalType`: ``"struct LibCoinVending.NumericCondition"`` = "struct LibCoinVending.NumericCondition"; `name`: ``"ethValues"`` = "ethValues"; `type`: ``"tuple"`` = "tuple" }, \{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"contractAddress"`` = "contractAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"uint256"`` = "uint256"; `name`: ``"contractId"`` = "contractId"; `type`: ``"uint256"`` = "uint256" }, \{ `internalType`: ``"enum LibCoinVending.ContractTypes"`` = "enum LibCoinVending.ContractTypes"; `name`: ``"contractType"`` = "contractType"; `type`: ``"uint8"`` = "uint8" }, \{ `components`: readonly [..., ..., ..., ..., ...] ; `internalType`: ``"struct LibCoinVending.ContractCondition"`` = "struct LibCoinVending.ContractCondition"; `name`: ``"contractRequirement"`` = "contractRequirement"; `type`: ``"tuple"`` = "tuple" }] ; `internalType`: ``"struct LibCoinVending.configSmartRequirement[]"`` = "struct LibCoinVending.configSmartRequirement[]"; `name`: ``"contracts"`` = "contracts"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `internalType`: ``"struct LibCoinVending.ConfigPosition"`` = "struct LibCoinVending.ConfigPosition"; `name`: ``"config"`` = "config"; `type`: ``"tuple"`` = "tuple" }] ; `name`: ``"setJoinRequirements"`` = "setJoinRequirements"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"_functionSelector"`` = "\_functionSelector"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"facetAddress"`` = "facetAddress"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress_"`` = "facetAddress\_"; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facetAddresses"`` = "facetAddresses"; `outputs`: readonly [\{ `internalType`: ``"address[]"`` = "address[]"; `name`: ``"facetAddresses_"`` = "facetAddresses\_"; `type`: ``"address[]"`` = "address[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_facet"`` = "\_facet"; `type`: ``"address"`` = "address" }] ; `name`: ``"facetFunctionSelectors"`` = "facetFunctionSelectors"; `outputs`: readonly [\{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"facetFunctionSelectors_"`` = "facetFunctionSelectors\_"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [] = []; `name`: ``"facets"`` = "facets"; `outputs`: readonly [\{ `components`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"facetAddress"`` = "facetAddress"; `type`: ``"address"`` = "address" }, \{ `internalType`: ``"bytes4[]"`` = "bytes4[]"; `name`: ``"functionSelectors"`` = "functionSelectors"; `type`: ``"bytes4[]"`` = "bytes4[]" }] ; `internalType`: ``"struct IDiamondLoupe.Facet[]"`` = "struct IDiamondLoupe.Facet[]"; `name`: ``"facets_"`` = "facets\_"; `type`: ``"tuple[]"`` = "tuple[]" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"bytes4"`` = "bytes4"; `name`: ``"interfaceId"`` = "interfaceId"; `type`: ``"bytes4"`` = "bytes4" }] ; `name`: ``"supportsInterface"`` = "supportsInterface"; `outputs`: readonly [\{ `internalType`: ``"bool"`` = "bool"; `name`: ``""`` = ""; `type`: ``"bool"`` = "bool" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `anonymous`: ``false`` = false; `inputs`: readonly [\{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"previousOwner"`` = "previousOwner"; `type`: ``"address"`` = "address" }, \{ `indexed`: ``true`` = true; `internalType`: ``"address"`` = "address"; `name`: ``"newOwner"`` = "newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"OwnershipTransferred"`` = "OwnershipTransferred"; `type`: ``"event"`` = "event" }, \{ `inputs`: readonly [] = []; `name`: ``"owner"`` = "owner"; `outputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``""`` = ""; `type`: ``"address"`` = "address" }] ; `stateMutability`: ``"view"`` = "view"; `type`: ``"function"`` = "function" }, \{ `inputs`: readonly [\{ `internalType`: ``"address"`` = "address"; `name`: ``"_newOwner"`` = "\_newOwner"; `type`: ``"address"`` = "address" }] ; `name`: ``"transferOwnership"`` = "transferOwnership"; `outputs`: readonly [] = []; `stateMutability`: ``"nonpayable"`` = "nonpayable"; `type`: ``"function"`` = "function" }], ``"ProposalScore"``, `undefined`, `undefined`, `undefined`\>\>
378
+
379
+ A Promise that resolves to the list of proposal scores.
380
+
381
+ #### Inherited from
382
+
383
+ [InstanceBase](InstanceBase.md).[getProposalScoresList](InstanceBase.md#getproposalscoreslist)
384
+
385
+ ___
386
+
387
+ ### getCurrentTurn
388
+
389
+ ▸ **getCurrentTurn**(`gameId`): `Promise`\<`bigint`\>
390
+
391
+ Retrieves the current turn of a game.
392
+
393
+ #### Parameters
394
+
395
+ | Name | Type | Description |
396
+ | :------ | :------ | :------ |
397
+ | `gameId` | `bigint` | The ID of the game. |
398
+
399
+ #### Returns
400
+
401
+ `Promise`\<`bigint`\>
402
+
403
+ A Promise that resolves to the current turn of the game.
404
+
405
+ #### Inherited from
406
+
407
+ [InstanceBase](InstanceBase.md).[getCurrentTurn](InstanceBase.md#getcurrentturn)
408
+
409
+ ___
410
+
411
+ ### getGameState
412
+
413
+ ▸ **getGameState**(`gameId`): `Promise`\<\{ `gameMaster`: \`0x$\{string}\` ; `joinRequirements`: \{ `ethValues`: \{ `have`: `bigint` ; `lock`: `bigint` ; `burn`: `bigint` ; `pay`: `bigint` ; `bet`: `bigint` } ; `timesRefunded`: `bigint` ; `timesReleased`: `bigint` ; `timesFunded`: `bigint` ; `contractAddresses`: readonly \`0x$\{string}\`[] ; `contractIds`: readonly `bigint`[] ; `contractTypes`: readonly `number`[] ; `_isConfigured`: `boolean` } ; `requirementsPerContract`: \{ `have`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `lock`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `burn`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `pay`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `bet`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } }[] ; `scores`: readonly [readonly \`0x$\{string}\`[], readonly `bigint`[]] ; `currentTurn`: `bigint` ; `isFinished`: `boolean` ; `isOvertime`: `boolean` ; `isLastTurn`: `boolean` ; `isOpen`: `boolean` ; `createdBy`: \`0x$\{string}\` ; `gameRank`: `bigint` ; `players`: readonly \`0x$\{string}\`[] ; `canStart`: `boolean` ; `gamePhase`: [`gameStatusEnum`](../enums/gameStatusEnum.md) }\>
414
+
415
+ Retrieves the game state for a specific game.
416
+
417
+ #### Parameters
418
+
419
+ | Name | Type | Description |
420
+ | :------ | :------ | :------ |
421
+ | `gameId` | `bigint` | The ID of the game. |
422
+
423
+ #### Returns
424
+
425
+ `Promise`\<\{ `gameMaster`: \`0x$\{string}\` ; `joinRequirements`: \{ `ethValues`: \{ `have`: `bigint` ; `lock`: `bigint` ; `burn`: `bigint` ; `pay`: `bigint` ; `bet`: `bigint` } ; `timesRefunded`: `bigint` ; `timesReleased`: `bigint` ; `timesFunded`: `bigint` ; `contractAddresses`: readonly \`0x$\{string}\`[] ; `contractIds`: readonly `bigint`[] ; `contractTypes`: readonly `number`[] ; `_isConfigured`: `boolean` } ; `requirementsPerContract`: \{ `have`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `lock`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `burn`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `pay`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `bet`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } }[] ; `scores`: readonly [readonly \`0x$\{string}\`[], readonly `bigint`[]] ; `currentTurn`: `bigint` ; `isFinished`: `boolean` ; `isOvertime`: `boolean` ; `isLastTurn`: `boolean` ; `isOpen`: `boolean` ; `createdBy`: \`0x$\{string}\` ; `gameRank`: `bigint` ; `players`: readonly \`0x$\{string}\`[] ; `canStart`: `boolean` ; `gamePhase`: [`gameStatusEnum`](../enums/gameStatusEnum.md) }\>
426
+
427
+ A promise that resolves to an object containing the game state.
428
+
429
+ #### Inherited from
430
+
431
+ [InstanceBase](InstanceBase.md).[getGameState](InstanceBase.md#getgamestate)
432
+
433
+ ___
434
+
435
+ ### approveTokensIfNeeded
436
+
437
+ ▸ **approveTokensIfNeeded**(`value`): `Promise`\<`void`\>
438
+
439
+ #### Parameters
440
+
441
+ | Name | Type |
442
+ | :------ | :------ |
443
+ | `value` | `bigint` |
444
+
445
+ #### Returns
446
+
447
+ `Promise`\<`void`\>
448
+
449
+ ___
450
+
451
+ ### createGame
452
+
453
+ ▸ **createGame**(`creationArgs`): `Promise`\<\{ `gameId`: `undefined` \| `bigint` ; `receipt`: `TransactionReceipt` }\>
454
+
455
+ #### Parameters
456
+
457
+ | Name | Type |
458
+ | :------ | :------ |
459
+ | `creationArgs` | `Object` |
460
+ | `creationArgs.gameRank` | `bigint` |
461
+ | `creationArgs.minPlayerCnt` | `bigint` |
462
+ | `creationArgs.maxPlayerCnt` | `bigint` |
463
+ | `creationArgs.nTurns` | `bigint` |
464
+ | `creationArgs.voteCredits` | `bigint` |
465
+ | `creationArgs.gameMaster` | \`0x$\{string}\` |
466
+ | `creationArgs.minGameTime` | `bigint` |
467
+ | `creationArgs.timePerTurn` | `bigint` |
468
+ | `creationArgs.timeToJoin` | `bigint` |
469
+
470
+ #### Returns
471
+
472
+ `Promise`\<\{ `gameId`: `undefined` \| `bigint` ; `receipt`: `TransactionReceipt` }\>
473
+
474
+ ___
475
+
476
+ ### joinGame
477
+
478
+ ▸ **joinGame**(`gameId`): `Promise`\<`TransactionReceipt`\>
479
+
480
+ #### Parameters
481
+
482
+ | Name | Type |
483
+ | :------ | :------ |
484
+ | `gameId` | `bigint` |
485
+
486
+ #### Returns
487
+
488
+ `Promise`\<`TransactionReceipt`\>
489
+
490
+ ___
491
+
492
+ ### startGame
493
+
494
+ ▸ **startGame**(`gameId`): `Promise`\<`TransactionReceipt`\>
495
+
496
+ #### Parameters
497
+
498
+ | Name | Type |
499
+ | :------ | :------ |
500
+ | `gameId` | `bigint` |
501
+
502
+ #### Returns
503
+
504
+ `Promise`\<`TransactionReceipt`\>
505
+
506
+ ___
507
+
508
+ ### cancelGame
509
+
510
+ ▸ **cancelGame**(`gameId`): `Promise`\<`TransactionReceipt`\>
511
+
512
+ #### Parameters
513
+
514
+ | Name | Type |
515
+ | :------ | :------ |
516
+ | `gameId` | `bigint` |
517
+
518
+ #### Returns
519
+
520
+ `Promise`\<`TransactionReceipt`\>
521
+
522
+ ___
523
+
524
+ ### leaveGame
525
+
526
+ ▸ **leaveGame**(`gameId`): `Promise`\<`TransactionReceipt`\>
527
+
528
+ #### Parameters
529
+
530
+ | Name | Type |
531
+ | :------ | :------ |
532
+ | `gameId` | `bigint` |
533
+
534
+ #### Returns
535
+
536
+ `Promise`\<`TransactionReceipt`\>
537
+
538
+ ___
539
+
540
+ ### openRegistration
541
+
542
+ ▸ **openRegistration**(`gameId`): `Promise`\<`TransactionReceipt`\>
543
+
544
+ #### Parameters
545
+
546
+ | Name | Type |
547
+ | :------ | :------ |
548
+ | `gameId` | `bigint` |
549
+
550
+ #### Returns
551
+
552
+ `Promise`\<`TransactionReceipt`\>
553
+
554
+ ___
555
+
556
+ ### setJoinRequirements
557
+
558
+ ▸ **setJoinRequirements**(`params`): `Promise`\<`TransactionReceipt`\>
559
+
560
+ #### Parameters
561
+
562
+ | Name | Type |
563
+ | :------ | :------ |
564
+ | `params` | `undefined` \| readonly [`bigint`, \{ `ethValues`: \{ `have`: `bigint` ; `lock`: `bigint` ; `burn`: `bigint` ; `pay`: `bigint` ; `bet`: `bigint` } ; `contracts`: readonly \{ `contractAddress`: \`0x$\{string}\` ; `contractId`: `bigint` ; `contractType`: `number` ; `contractRequirement`: \{ `have`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `lock`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `burn`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `pay`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `bet`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } } }[] }] \| readonly [`bigint`, \{ `ethValues`: \{ `have`: `bigint` ; `lock`: `bigint` ; `burn`: `bigint` ; `pay`: `bigint` ; `bet`: `bigint` } ; `contracts`: readonly \{ `contractAddress`: \`0x$\{string}\` ; `contractId`: `bigint` ; `contractType`: `number` ; `contractRequirement`: \{ `have`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `lock`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `burn`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `pay`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } ; `bet`: \{ `data`: \`0x$\{string}\` ; `amount`: `bigint` } } }[] }] |
565
+
566
+ #### Returns
567
+
568
+ `Promise`\<`TransactionReceipt`\>