@scuro/sdk 0.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +294 -0
- package/dist/client.d.ts +2 -0
- package/dist/contracts.d.ts +47 -0
- package/dist/contracts.js +22451 -0
- package/dist/coordinator.d.ts +108 -0
- package/dist/coordinator.js +22586 -0
- package/dist/flows.d.ts +2 -0
- package/dist/flows.js +22625 -0
- package/dist/generated/abis.d.ts +12879 -0
- package/dist/generated/index.d.ts +2 -0
- package/dist/generated/protocol.d.ts +13856 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +22863 -0
- package/dist/internal/enums.d.ts +11 -0
- package/dist/internal/errors.d.ts +23 -0
- package/dist/internal/types.d.ts +192 -0
- package/dist/internal/utils.d.ts +9 -0
- package/dist/manifest.d.ts +863 -0
- package/dist/manifest.js +18333 -0
- package/dist/registry.d.ts +12 -0
- package/dist/registry.js +21306 -0
- package/dist/types.d.ts +4 -0
- package/dist/types.js +18416 -0
- package/package.json +88 -0
|
@@ -0,0 +1,863 @@
|
|
|
1
|
+
import type { Abi } from "viem";
|
|
2
|
+
import { abis, eventSignatures } from "./generated/protocol";
|
|
3
|
+
import type { ContractMetadata } from "./internal/types";
|
|
4
|
+
export declare function getProtocolManifest(): {
|
|
5
|
+
readonly contracts: readonly [{
|
|
6
|
+
readonly name: "ProtocolSettlement";
|
|
7
|
+
readonly category: "core";
|
|
8
|
+
readonly source: "src/ProtocolSettlement.sol";
|
|
9
|
+
readonly artifact: "out/ProtocolSettlement.sol/ProtocolSettlement.json";
|
|
10
|
+
readonly reference_doc: "docs/reference/protocol-settlement.md";
|
|
11
|
+
readonly abi_path: "docs/generated/contracts/ProtocolSettlement.abi.json";
|
|
12
|
+
readonly functions: readonly ["accrueDeveloperForExpression", "burnPlayerWager", "catalog", "developerRewards", "expressionRegistry", "mintPlayerReward", "token"];
|
|
13
|
+
readonly events: readonly ["DeveloperAccrualRecorded", "PlayerRewardMinted", "PlayerWagerBurned"];
|
|
14
|
+
}, {
|
|
15
|
+
readonly name: "GameCatalog";
|
|
16
|
+
readonly category: "core";
|
|
17
|
+
readonly source: "src/GameCatalog.sol";
|
|
18
|
+
readonly artifact: "out/GameCatalog.sol/GameCatalog.json";
|
|
19
|
+
readonly reference_doc: "docs/reference/game-catalog.md";
|
|
20
|
+
readonly abi_path: "docs/generated/contracts/GameCatalog.abi.json";
|
|
21
|
+
readonly functions: readonly ["getModule", "getModuleByController", "getModuleByEngine", "isAuthorizedControllerForEngine", "isLaunchableController", "isLaunchableEngine", "isSettlableController", "isSettlableEngine", "registerModule", "setModuleStatus"];
|
|
22
|
+
readonly events: readonly ["ModuleRegistered", "ModuleStatusUpdated"];
|
|
23
|
+
}, {
|
|
24
|
+
readonly name: "GameDeploymentFactory";
|
|
25
|
+
readonly category: "core";
|
|
26
|
+
readonly source: "src/GameDeploymentFactory.sol";
|
|
27
|
+
readonly artifact: "out/GameDeploymentFactory.sol/GameDeploymentFactory.json";
|
|
28
|
+
readonly reference_doc: "docs/reference/game-deployment-factory.md";
|
|
29
|
+
readonly abi_path: "docs/generated/contracts/GameDeploymentFactory.abi.json";
|
|
30
|
+
readonly functions: readonly ["catalog", "deployPvPModule", "deploySoloModule", "deployTournamentModule", "settlement"];
|
|
31
|
+
readonly events: readonly ["ModuleDeployed"];
|
|
32
|
+
}, {
|
|
33
|
+
readonly name: "GameEngineRegistry";
|
|
34
|
+
readonly category: "core";
|
|
35
|
+
readonly source: "src/GameEngineRegistry.sol";
|
|
36
|
+
readonly artifact: "out/GameEngineRegistry.sol/GameEngineRegistry.json";
|
|
37
|
+
readonly reference_doc: "docs/reference/game-engine-registry.md";
|
|
38
|
+
readonly abi_path: "docs/generated/contracts/GameEngineRegistry.abi.json";
|
|
39
|
+
readonly functions: readonly ["getDeveloperRewardConfig", "getEngineMetadata", "isActive", "isRegisteredForPvP", "isRegisteredForSolo", "isRegisteredForTournament", "registerEngine", "setEngineActive"];
|
|
40
|
+
readonly events: readonly ["EngineDeactivated", "EngineRegistered"];
|
|
41
|
+
}, {
|
|
42
|
+
readonly name: "DeveloperExpressionRegistry";
|
|
43
|
+
readonly category: "economics";
|
|
44
|
+
readonly source: "src/DeveloperExpressionRegistry.sol";
|
|
45
|
+
readonly artifact: "out/DeveloperExpressionRegistry.sol/DeveloperExpressionRegistry.json";
|
|
46
|
+
readonly reference_doc: "docs/reference/developer-expression-registry.md";
|
|
47
|
+
readonly abi_path: "docs/generated/contracts/DeveloperExpressionRegistry.abi.json";
|
|
48
|
+
readonly functions: readonly ["getExpressionMetadata", "isExpressionCompatible", "mintExpression", "setExpressionActive", "supportsInterface"];
|
|
49
|
+
readonly events: readonly ["ExpressionActiveSet", "ExpressionMinted"];
|
|
50
|
+
}, {
|
|
51
|
+
readonly name: "DeveloperRewards";
|
|
52
|
+
readonly category: "economics";
|
|
53
|
+
readonly source: "src/DeveloperRewards.sol";
|
|
54
|
+
readonly artifact: "out/DeveloperRewards.sol/DeveloperRewards.json";
|
|
55
|
+
readonly reference_doc: "docs/reference/developer-rewards.md";
|
|
56
|
+
readonly abi_path: "docs/generated/contracts/DeveloperRewards.abi.json";
|
|
57
|
+
readonly functions: readonly ["accrue", "claim", "closeCurrentEpoch", "setEpochDuration", "token"];
|
|
58
|
+
readonly events: readonly ["DeveloperAccrued", "DeveloperClaimed", "EpochClosed"];
|
|
59
|
+
}, {
|
|
60
|
+
readonly name: "ScuroToken";
|
|
61
|
+
readonly category: "economics";
|
|
62
|
+
readonly source: "src/ScuroToken.sol";
|
|
63
|
+
readonly artifact: "out/ScuroToken.sol/ScuroToken.json";
|
|
64
|
+
readonly reference_doc: "docs/reference/scuro-token.md";
|
|
65
|
+
readonly abi_path: "docs/generated/contracts/ScuroToken.abi.json";
|
|
66
|
+
readonly functions: readonly ["mint", "nonces"];
|
|
67
|
+
readonly events: readonly [];
|
|
68
|
+
}, {
|
|
69
|
+
readonly name: "ScuroStakingToken";
|
|
70
|
+
readonly category: "economics";
|
|
71
|
+
readonly source: "src/ScuroStakingToken.sol";
|
|
72
|
+
readonly artifact: "out/ScuroStakingToken.sol/ScuroStakingToken.json";
|
|
73
|
+
readonly reference_doc: "docs/reference/scuro-staking-token.md";
|
|
74
|
+
readonly abi_path: "docs/generated/contracts/ScuroStakingToken.abi.json";
|
|
75
|
+
readonly functions: readonly ["asset", "nonces", "stake", "unstake"];
|
|
76
|
+
readonly events: readonly [];
|
|
77
|
+
}, {
|
|
78
|
+
readonly name: "ScuroGovernor";
|
|
79
|
+
readonly category: "governance";
|
|
80
|
+
readonly source: "src/ScuroGovernor.sol";
|
|
81
|
+
readonly artifact: "out/ScuroGovernor.sol/ScuroGovernor.json";
|
|
82
|
+
readonly reference_doc: "docs/reference/scuro-governor.md";
|
|
83
|
+
readonly abi_path: "docs/generated/contracts/ScuroGovernor.abi.json";
|
|
84
|
+
readonly functions: readonly ["proposalNeedsQueuing", "proposalThreshold", "quorum", "state", "votingDelay", "votingPeriod"];
|
|
85
|
+
readonly events: readonly [];
|
|
86
|
+
}, {
|
|
87
|
+
readonly name: "NumberPickerAdapter";
|
|
88
|
+
readonly category: "controller";
|
|
89
|
+
readonly source: "src/controllers/NumberPickerAdapter.sol";
|
|
90
|
+
readonly artifact: "out/NumberPickerAdapter.sol/NumberPickerAdapter.json";
|
|
91
|
+
readonly reference_doc: "docs/reference/number-picker-adapter.md";
|
|
92
|
+
readonly abi_path: "docs/generated/contracts/NumberPickerAdapter.abi.json";
|
|
93
|
+
readonly functions: readonly ["engine", "finalize", "play", "requestExpressionTokenId", "requestSettled"];
|
|
94
|
+
readonly events: readonly ["PlayFinalized"];
|
|
95
|
+
}, {
|
|
96
|
+
readonly name: "TournamentController";
|
|
97
|
+
readonly category: "controller";
|
|
98
|
+
readonly source: "src/controllers/TournamentController.sol";
|
|
99
|
+
readonly artifact: "out/TournamentController.sol/TournamentController.json";
|
|
100
|
+
readonly reference_doc: "docs/reference/tournament-controller.md";
|
|
101
|
+
readonly abi_path: "docs/generated/contracts/TournamentController.abi.json";
|
|
102
|
+
readonly functions: readonly ["catalog", "createTournament", "engine", "reportOutcome", "setTournamentActive", "settlement", "startGameForPlayers"];
|
|
103
|
+
readonly events: readonly ["GameSettled", "GameStarted", "TournamentActiveSet", "TournamentCreated"];
|
|
104
|
+
}, {
|
|
105
|
+
readonly name: "PvPController";
|
|
106
|
+
readonly category: "controller";
|
|
107
|
+
readonly source: "src/controllers/PvPController.sol";
|
|
108
|
+
readonly artifact: "out/PvPController.sol/PvPController.json";
|
|
109
|
+
readonly reference_doc: "docs/reference/pvp-controller.md";
|
|
110
|
+
readonly abi_path: "docs/generated/contracts/PvPController.abi.json";
|
|
111
|
+
readonly functions: readonly ["catalog", "createSession", "engine", "settleSession", "settlement"];
|
|
112
|
+
readonly events: readonly ["SessionCreated", "SessionSettled"];
|
|
113
|
+
}, {
|
|
114
|
+
readonly name: "BlackjackController";
|
|
115
|
+
readonly category: "controller";
|
|
116
|
+
readonly source: "src/controllers/BlackjackController.sol";
|
|
117
|
+
readonly artifact: "out/BlackjackController.sol/BlackjackController.json";
|
|
118
|
+
readonly reference_doc: "docs/reference/blackjack-controller.md";
|
|
119
|
+
readonly abi_path: "docs/generated/contracts/BlackjackController.abi.json";
|
|
120
|
+
readonly functions: readonly ["claimPlayerTimeout", "doubleDown", "engine", "hit", "sessionExpressionTokenId", "sessionSettled", "settle", "split", "stand", "startHand"];
|
|
121
|
+
readonly events: readonly ["HandStarted", "SessionSettled"];
|
|
122
|
+
}, {
|
|
123
|
+
readonly name: "NumberPickerEngine";
|
|
124
|
+
readonly category: "engine";
|
|
125
|
+
readonly source: "src/engines/NumberPickerEngine.sol";
|
|
126
|
+
readonly artifact: "out/NumberPickerEngine.sol/NumberPickerEngine.json";
|
|
127
|
+
readonly reference_doc: "docs/reference/number-picker-engine.md";
|
|
128
|
+
readonly abi_path: "docs/generated/contracts/NumberPickerEngine.abi.json";
|
|
129
|
+
readonly functions: readonly ["catalog", "engineType", "getOutcome", "getSettlementOutcome", "rawFulfillRandomWords", "requestPlay"];
|
|
130
|
+
readonly events: readonly ["PlayRequested", "PlayResolved"];
|
|
131
|
+
}, {
|
|
132
|
+
readonly name: "SingleDeckBlackjackEngine";
|
|
133
|
+
readonly category: "engine";
|
|
134
|
+
readonly source: "src/engines/SingleDeckBlackjackEngine.sol";
|
|
135
|
+
readonly artifact: "out/SingleDeckBlackjackEngine.sol/SingleDeckBlackjackEngine.json";
|
|
136
|
+
readonly reference_doc: "docs/reference/single-deck-blackjack-engine.md";
|
|
137
|
+
readonly abi_path: "docs/generated/contracts/SingleDeckBlackjackEngine.abi.json";
|
|
138
|
+
readonly functions: readonly ["catalog", "claimPlayerTimeout", "declareAction", "engineType", "getSession", "getSettlementOutcome", "openSession", "requiredAdditionalBurn", "submitActionProof", "submitInitialDealProof", "submitShowdownProof"];
|
|
139
|
+
readonly events: readonly ["ActionDeclared", "ActionResolved", "InitialDealResolved", "PlayerTimeoutClaimed", "SessionOpened", "ShowdownResolved"];
|
|
140
|
+
}, {
|
|
141
|
+
readonly name: "SingleDraw2To7Engine";
|
|
142
|
+
readonly category: "engine";
|
|
143
|
+
readonly source: "src/engines/SingleDraw2To7Engine.sol";
|
|
144
|
+
readonly artifact: "out/SingleDraw2To7Engine.sol/SingleDraw2To7Engine.json";
|
|
145
|
+
readonly reference_doc: "docs/reference/single-draw-2-7-engine.md";
|
|
146
|
+
readonly abi_path: "docs/generated/contracts/SingleDraw2To7Engine.abi.json";
|
|
147
|
+
readonly functions: readonly ["bet", "catalog", "claimTimeout", "declareDraw", "engineType", "fold", "getCurrentPhase", "getHandState", "getOutcomes", "getProofDeadline", "handleTimeout", "initializeGame", "isGameOver", "submitDrawProof", "submitInitialDealProof", "submitShowdownProof"];
|
|
148
|
+
readonly events: readonly ["DrawDeclared", "DrawResolved", "HandAwaitingInitialDeal", "PublicActionTaken", "ShowdownSubmitted"];
|
|
149
|
+
}, {
|
|
150
|
+
readonly name: "PokerVerifierBundle";
|
|
151
|
+
readonly category: "verifier";
|
|
152
|
+
readonly source: "src/verifiers/PokerVerifierBundle.sol";
|
|
153
|
+
readonly artifact: "out/PokerVerifierBundle.sol/PokerVerifierBundle.json";
|
|
154
|
+
readonly reference_doc: "docs/reference/poker-verifier-bundle.md";
|
|
155
|
+
readonly abi_path: "docs/generated/contracts/PokerVerifierBundle.abi.json";
|
|
156
|
+
readonly functions: readonly ["setVerifiers", "verifyDraw", "verifyInitialDeal", "verifyShowdown"];
|
|
157
|
+
readonly events: readonly [];
|
|
158
|
+
}, {
|
|
159
|
+
readonly name: "BlackjackVerifierBundle";
|
|
160
|
+
readonly category: "verifier";
|
|
161
|
+
readonly source: "src/verifiers/BlackjackVerifierBundle.sol";
|
|
162
|
+
readonly artifact: "out/BlackjackVerifierBundle.sol/BlackjackVerifierBundle.json";
|
|
163
|
+
readonly reference_doc: "docs/reference/blackjack-verifier-bundle.md";
|
|
164
|
+
readonly abi_path: "docs/generated/contracts/BlackjackVerifierBundle.abi.json";
|
|
165
|
+
readonly functions: readonly ["setVerifiers", "verifyAction", "verifyInitialDeal", "verifyShowdown"];
|
|
166
|
+
readonly events: readonly [];
|
|
167
|
+
}, {
|
|
168
|
+
readonly name: "IScuroGameEngine";
|
|
169
|
+
readonly category: "interface";
|
|
170
|
+
readonly source: "src/interfaces/IScuroGameEngine.sol";
|
|
171
|
+
readonly artifact: "out/IScuroGameEngine.sol/IScuroGameEngine.json";
|
|
172
|
+
readonly reference_doc: "docs/reference/gameplay-interfaces.md";
|
|
173
|
+
readonly abi_path: "docs/generated/contracts/IScuroGameEngine.abi.json";
|
|
174
|
+
readonly functions: readonly ["engineType"];
|
|
175
|
+
readonly events: readonly [];
|
|
176
|
+
}, {
|
|
177
|
+
readonly name: "ISoloLifecycleEngine";
|
|
178
|
+
readonly category: "interface";
|
|
179
|
+
readonly source: "src/interfaces/ISoloLifecycleEngine.sol";
|
|
180
|
+
readonly artifact: "out/ISoloLifecycleEngine.sol/ISoloLifecycleEngine.json";
|
|
181
|
+
readonly reference_doc: "docs/reference/gameplay-interfaces.md";
|
|
182
|
+
readonly abi_path: "docs/generated/contracts/ISoloLifecycleEngine.abi.json";
|
|
183
|
+
readonly functions: readonly ["getSettlementOutcome"];
|
|
184
|
+
readonly events: readonly [];
|
|
185
|
+
}, {
|
|
186
|
+
readonly name: "ITournamentGameEngine";
|
|
187
|
+
readonly category: "interface";
|
|
188
|
+
readonly source: "src/interfaces/ITournamentGameEngine.sol";
|
|
189
|
+
readonly artifact: "out/ITournamentGameEngine.sol/ITournamentGameEngine.json";
|
|
190
|
+
readonly reference_doc: "docs/reference/gameplay-interfaces.md";
|
|
191
|
+
readonly abi_path: "docs/generated/contracts/ITournamentGameEngine.abi.json";
|
|
192
|
+
readonly functions: readonly ["getOutcomes", "handleTimeout", "initializeGame", "isGameOver"];
|
|
193
|
+
readonly events: readonly [];
|
|
194
|
+
}, {
|
|
195
|
+
readonly name: "IPokerEngine";
|
|
196
|
+
readonly category: "interface";
|
|
197
|
+
readonly source: "src/interfaces/IPokerEngine.sol";
|
|
198
|
+
readonly artifact: "out/IPokerEngine.sol/IPokerEngine.json";
|
|
199
|
+
readonly reference_doc: "docs/reference/gameplay-interfaces.md";
|
|
200
|
+
readonly abi_path: "docs/generated/contracts/IPokerEngine.abi.json";
|
|
201
|
+
readonly functions: readonly ["declareDraw", "getCurrentPhase", "getHandState", "submitInitialDealProof"];
|
|
202
|
+
readonly events: readonly [];
|
|
203
|
+
}, {
|
|
204
|
+
readonly name: "IPokerZKEngine";
|
|
205
|
+
readonly category: "interface";
|
|
206
|
+
readonly source: "src/interfaces/IPokerZKEngine.sol";
|
|
207
|
+
readonly artifact: "out/IPokerZKEngine.sol/IPokerZKEngine.json";
|
|
208
|
+
readonly reference_doc: "docs/reference/gameplay-interfaces.md";
|
|
209
|
+
readonly abi_path: "docs/generated/contracts/IPokerZKEngine.abi.json";
|
|
210
|
+
readonly functions: readonly ["claimTimeout", "getProofDeadline", "submitDrawProof", "submitShowdownProof"];
|
|
211
|
+
readonly events: readonly [];
|
|
212
|
+
}, {
|
|
213
|
+
readonly name: "IPokerVerifierBundle";
|
|
214
|
+
readonly category: "interface";
|
|
215
|
+
readonly source: "src/interfaces/IPokerVerifierBundle.sol";
|
|
216
|
+
readonly artifact: "out/IPokerVerifierBundle.sol/IPokerVerifierBundle.json";
|
|
217
|
+
readonly reference_doc: "docs/reference/proof-interfaces.md";
|
|
218
|
+
readonly abi_path: "docs/generated/contracts/IPokerVerifierBundle.abi.json";
|
|
219
|
+
readonly functions: readonly ["verifyDraw", "verifyInitialDeal", "verifyShowdown"];
|
|
220
|
+
readonly events: readonly [];
|
|
221
|
+
}, {
|
|
222
|
+
readonly name: "IBlackjackVerifierBundle";
|
|
223
|
+
readonly category: "interface";
|
|
224
|
+
readonly source: "src/interfaces/IBlackjackVerifierBundle.sol";
|
|
225
|
+
readonly artifact: "out/IBlackjackVerifierBundle.sol/IBlackjackVerifierBundle.json";
|
|
226
|
+
readonly reference_doc: "docs/reference/proof-interfaces.md";
|
|
227
|
+
readonly abi_path: "docs/generated/contracts/IBlackjackVerifierBundle.abi.json";
|
|
228
|
+
readonly functions: readonly ["verifyAction", "verifyInitialDeal", "verifyShowdown"];
|
|
229
|
+
readonly events: readonly [];
|
|
230
|
+
}, {
|
|
231
|
+
readonly name: "SlotMachineController";
|
|
232
|
+
readonly category: "controller";
|
|
233
|
+
readonly source: "src/controllers/SlotMachineController.sol";
|
|
234
|
+
readonly artifact: "out/SlotMachineController.sol/SlotMachineController.json";
|
|
235
|
+
readonly reference_doc: "docs/reference/slot-machine-controller.md";
|
|
236
|
+
readonly abi_path: "out/SlotMachineController.sol/SlotMachineController.json";
|
|
237
|
+
readonly functions: readonly ["engine", "settle", "spin", "spinExpressionTokenId", "spinSettled"];
|
|
238
|
+
readonly events: readonly ["SpinFinalized"];
|
|
239
|
+
}, {
|
|
240
|
+
readonly name: "SuperBaccaratController";
|
|
241
|
+
readonly category: "controller";
|
|
242
|
+
readonly source: "src/controllers/SuperBaccaratController.sol";
|
|
243
|
+
readonly artifact: "out/SuperBaccaratController.sol/SuperBaccaratController.json";
|
|
244
|
+
readonly reference_doc: "docs/game-module-user-flows.md";
|
|
245
|
+
readonly abi_path: "out/SuperBaccaratController.sol/SuperBaccaratController.json";
|
|
246
|
+
readonly functions: readonly ["engine", "play", "sessionExpressionTokenId", "sessionSettled", "settle"];
|
|
247
|
+
readonly events: readonly ["PlayStarted", "SessionSettled"];
|
|
248
|
+
}, {
|
|
249
|
+
readonly name: "CheminDeFerController";
|
|
250
|
+
readonly category: "controller";
|
|
251
|
+
readonly source: "src/controllers/CheminDeFerController.sol";
|
|
252
|
+
readonly artifact: "out/CheminDeFerController.sol/CheminDeFerController.json";
|
|
253
|
+
readonly reference_doc: "docs/game-module-user-flows.md";
|
|
254
|
+
readonly abi_path: "out/CheminDeFerController.sol/CheminDeFerController.json";
|
|
255
|
+
readonly functions: readonly ["cancelTable", "catalog", "closeTable", "engine", "forceCloseTable", "getTakerAmount", "getTakers", "matchedBankerRisk", "openTable", "playerTakeCap", "settle", "settlement", "take"];
|
|
256
|
+
readonly events: readonly ["TableCanceled", "TableClosed", "TableOpened", "TableSettled", "TableTaken"];
|
|
257
|
+
}, {
|
|
258
|
+
readonly name: "SlotMachineEngine";
|
|
259
|
+
readonly category: "engine";
|
|
260
|
+
readonly source: "src/engines/SlotMachineEngine.sol";
|
|
261
|
+
readonly artifact: "out/SlotMachineEngine.sol/SlotMachineEngine.json";
|
|
262
|
+
readonly reference_doc: "docs/reference/slot-machine-engine.md";
|
|
263
|
+
readonly abi_path: "out/SlotMachineEngine.sol/SlotMachineEngine.json";
|
|
264
|
+
readonly functions: readonly ["catalog", "engineType", "getPreset", "getPresetSummary", "getSettlementOutcome", "getSpin", "getSpinResult", "rawFulfillRandomWords", "registerPreset", "requestSpin", "setPresetActive"];
|
|
265
|
+
readonly events: readonly ["BaseGameResolved", "FreeSpinsResolved", "HoldAndSpinResolved", "JackpotAwarded", "PickBonusResolved", "PresetActiveSet", "PresetRegistered", "SpinRequested", "SpinResolved"];
|
|
266
|
+
}, {
|
|
267
|
+
readonly name: "SuperBaccaratEngine";
|
|
268
|
+
readonly category: "engine";
|
|
269
|
+
readonly source: "src/engines/SuperBaccaratEngine.sol";
|
|
270
|
+
readonly artifact: "out/SuperBaccaratEngine.sol/SuperBaccaratEngine.json";
|
|
271
|
+
readonly reference_doc: "docs/game-module-user-flows.md";
|
|
272
|
+
readonly abi_path: "out/SuperBaccaratEngine.sol/SuperBaccaratEngine.json";
|
|
273
|
+
readonly functions: readonly ["catalog", "engineType", "getRound", "getSettlementOutcome", "payoutMultiplierWad", "rawFulfillRandomWords", "requestPlay"];
|
|
274
|
+
readonly events: readonly ["PlayRequested", "PlayResolved"];
|
|
275
|
+
}, {
|
|
276
|
+
readonly name: "CheminDeFerEngine";
|
|
277
|
+
readonly category: "engine";
|
|
278
|
+
readonly source: "src/engines/CheminDeFerEngine.sol";
|
|
279
|
+
readonly artifact: "out/CheminDeFerEngine.sol/CheminDeFerEngine.json";
|
|
280
|
+
readonly reference_doc: "docs/game-module-user-flows.md";
|
|
281
|
+
readonly abi_path: "out/CheminDeFerEngine.sol/CheminDeFerEngine.json";
|
|
282
|
+
readonly functions: readonly ["catalog", "engineType", "getRound", "isResolved", "rawFulfillRandomWords", "requestResolution"];
|
|
283
|
+
readonly events: readonly ["ResolutionCompleted", "ResolutionRequested"];
|
|
284
|
+
}, {
|
|
285
|
+
readonly name: "ICheminDeFerEngine";
|
|
286
|
+
readonly category: "interface";
|
|
287
|
+
readonly source: "src/interfaces/ICheminDeFerEngine.sol";
|
|
288
|
+
readonly artifact: "out/ICheminDeFerEngine.sol/ICheminDeFerEngine.json";
|
|
289
|
+
readonly reference_doc: "docs/reference/gameplay-interfaces.md";
|
|
290
|
+
readonly abi_path: "out/ICheminDeFerEngine.sol/ICheminDeFerEngine.json";
|
|
291
|
+
readonly functions: readonly ["getRound", "isResolved", "requestResolution"];
|
|
292
|
+
readonly events: readonly [];
|
|
293
|
+
}];
|
|
294
|
+
readonly enum_labels: {
|
|
295
|
+
readonly "GameCatalog.GameMode": {
|
|
296
|
+
readonly "0": "Solo";
|
|
297
|
+
readonly "1": "PvP";
|
|
298
|
+
readonly "2": "Tournament";
|
|
299
|
+
};
|
|
300
|
+
readonly "GameCatalog.ModuleStatus": {
|
|
301
|
+
readonly "0": "LIVE";
|
|
302
|
+
readonly "1": "RETIRED";
|
|
303
|
+
readonly "2": "DISABLED";
|
|
304
|
+
};
|
|
305
|
+
readonly "SingleDeckBlackjackEngine.SessionPhase": {
|
|
306
|
+
readonly "0": "Inactive";
|
|
307
|
+
readonly "1": "AwaitingInitialDeal";
|
|
308
|
+
readonly "2": "AwaitingPlayerAction";
|
|
309
|
+
readonly "3": "AwaitingCoordinator";
|
|
310
|
+
readonly "4": "Completed";
|
|
311
|
+
};
|
|
312
|
+
readonly "SingleDeckBlackjackEngine.Action": {
|
|
313
|
+
readonly "1": "ACTION_HIT";
|
|
314
|
+
readonly "2": "ACTION_STAND";
|
|
315
|
+
readonly "3": "ACTION_DOUBLE";
|
|
316
|
+
readonly "4": "ACTION_SPLIT";
|
|
317
|
+
};
|
|
318
|
+
readonly "SingleDeckBlackjackEngine.ActionMask": {
|
|
319
|
+
readonly "1": "ALLOW_HIT";
|
|
320
|
+
readonly "2": "ALLOW_STAND";
|
|
321
|
+
readonly "4": "ALLOW_DOUBLE";
|
|
322
|
+
readonly "8": "ALLOW_SPLIT";
|
|
323
|
+
};
|
|
324
|
+
readonly "SingleDraw2To7Engine.MatchState": {
|
|
325
|
+
readonly "0": "Inactive";
|
|
326
|
+
readonly "1": "Active";
|
|
327
|
+
readonly "2": "Completed";
|
|
328
|
+
};
|
|
329
|
+
readonly "SingleDraw2To7Engine.HandPhase": {
|
|
330
|
+
readonly "0": "None";
|
|
331
|
+
readonly "1": "AwaitingInitialDeal";
|
|
332
|
+
readonly "2": "PreDrawBetting";
|
|
333
|
+
readonly "3": "DrawDeclaration";
|
|
334
|
+
readonly "4": "DrawProofPending";
|
|
335
|
+
readonly "5": "PostDrawBetting";
|
|
336
|
+
readonly "6": "ShowdownProofPending";
|
|
337
|
+
readonly "7": "HandComplete";
|
|
338
|
+
};
|
|
339
|
+
readonly "BaccaratTypes.BaccaratSide": {
|
|
340
|
+
readonly "0": "Player";
|
|
341
|
+
readonly "1": "Banker";
|
|
342
|
+
readonly "2": "Tie";
|
|
343
|
+
};
|
|
344
|
+
readonly "BaccaratTypes.BaccaratOutcome": {
|
|
345
|
+
readonly "0": "PlayerWin";
|
|
346
|
+
readonly "1": "BankerWin";
|
|
347
|
+
readonly "2": "Tie";
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
readonly proof_inputs: {
|
|
351
|
+
readonly "IPokerVerifierBundle.InitialDealPublicInputs": readonly ["gameId", "handNumber", "handNonce", "deckCommitment", "handCommitments", "encryptionKeyCommitments", "ciphertextRefs"];
|
|
352
|
+
readonly "IPokerVerifierBundle.DrawPublicInputs": readonly ["gameId", "handNumber", "handNonce", "playerIndex", "deckCommitment", "oldCommitment", "newCommitment", "newEncryptionKeyCommitment", "newCiphertextRef", "discardMask", "proofSequence"];
|
|
353
|
+
readonly "IPokerVerifierBundle.ShowdownPublicInputs": readonly ["gameId", "handNumber", "handNonce", "handCommitments", "winnerIndex", "isTie"];
|
|
354
|
+
readonly "IBlackjackVerifierBundle.InitialDealPublicInputs": readonly ["sessionId", "handNonce", "deckCommitment", "playerStateCommitment", "dealerStateCommitment", "playerKeyCommitment", "playerCiphertextRef", "dealerCiphertextRef", "dealerUpValue", "handCount", "activeHandIndex", "payout", "immediateResultCode", "handValues", "softMask", "handStatuses", "allowedActionMasks"];
|
|
355
|
+
readonly "IBlackjackVerifierBundle.ActionPublicInputs": readonly ["sessionId", "proofSequence", "pendingAction", "oldPlayerStateCommitment", "newPlayerStateCommitment", "dealerStateCommitment", "playerKeyCommitment", "playerCiphertextRef", "dealerCiphertextRef", "dealerUpValue", "handCount", "activeHandIndex", "nextPhase", "handValues", "softMask", "handStatuses", "allowedActionMasks"];
|
|
356
|
+
readonly "IBlackjackVerifierBundle.ShowdownPublicInputs": readonly ["sessionId", "proofSequence", "playerStateCommitment", "dealerStateCommitment", "payout", "dealerFinalValue", "handCount", "activeHandIndex", "handStatuses"];
|
|
357
|
+
};
|
|
358
|
+
readonly local_defaults: {
|
|
359
|
+
readonly number_picker: {
|
|
360
|
+
readonly config_hash_label: "number-picker-auto";
|
|
361
|
+
readonly developer_reward_bps: 500;
|
|
362
|
+
readonly vrf_mode: "auto-callback mock";
|
|
363
|
+
};
|
|
364
|
+
readonly tournament_poker: {
|
|
365
|
+
readonly config_hash_label: "single-draw-2-7-tournament";
|
|
366
|
+
readonly small_blind: 10;
|
|
367
|
+
readonly big_blind: 20;
|
|
368
|
+
readonly blind_escalation_interval: 180;
|
|
369
|
+
readonly action_window: 60;
|
|
370
|
+
readonly developer_reward_bps: 1000;
|
|
371
|
+
};
|
|
372
|
+
readonly pvp_poker: {
|
|
373
|
+
readonly config_hash_label: "single-draw-2-7-pvp";
|
|
374
|
+
readonly small_blind: 10;
|
|
375
|
+
readonly big_blind: 20;
|
|
376
|
+
readonly blind_escalation_interval: 180;
|
|
377
|
+
readonly action_window: 60;
|
|
378
|
+
readonly developer_reward_bps: 1000;
|
|
379
|
+
};
|
|
380
|
+
readonly blackjack: {
|
|
381
|
+
readonly config_hash_label: "single-deck-blackjack-zk";
|
|
382
|
+
readonly default_action_window: 60;
|
|
383
|
+
readonly developer_reward_bps: 500;
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
readonly deployment_output_labels: {
|
|
387
|
+
readonly core: readonly ["ScuroToken", "ScuroStakingToken", "TimelockController", "ScuroGovernor", "GameCatalog", "GameDeploymentFactory", "DeveloperExpressionRegistry", "DeveloperRewards", "ProtocolSettlement", "GameEngineRegistry"];
|
|
388
|
+
readonly controllers: readonly ["NumberPickerAdapter", "TournamentController", "PvPController", "BlackjackController", "SlotMachineController", "SuperBaccaratController", "CheminDeFerController"];
|
|
389
|
+
readonly engines: readonly ["NumberPickerEngine", "TournamentPokerEngine", "PvPPokerEngine", "SingleDeckBlackjackEngine", "SlotMachineEngine", "SuperBaccaratEngine", "CheminDeFerEngine"];
|
|
390
|
+
readonly verifiers: readonly ["TournamentPokerVerifierBundle", "PvPPokerVerifierBundle", "BlackjackVerifierBundle"];
|
|
391
|
+
readonly module_ids: readonly ["NumberPickerModuleId", "TournamentPokerModuleId", "PvPPokerModuleId", "BlackjackModuleId"];
|
|
392
|
+
readonly actors: readonly ["Admin", "Player1", "Player2", "SoloDeveloper", "PokerDeveloper"];
|
|
393
|
+
readonly expressions: readonly ["NumberPickerExpressionTokenId", "PokerExpressionTokenId", "BlackjackExpressionTokenId"];
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
export declare function getContractMetadata(name: keyof typeof abis): ContractMetadata;
|
|
397
|
+
export declare function getAbi(name: keyof typeof abis): Abi;
|
|
398
|
+
export declare function listContractNames(): readonly ["ProtocolSettlement", "GameCatalog", "GameDeploymentFactory", "GameEngineRegistry", "DeveloperExpressionRegistry", "DeveloperRewards", "ScuroToken", "ScuroStakingToken", "ScuroGovernor", "NumberPickerAdapter", "TournamentController", "PvPController", "BlackjackController", "NumberPickerEngine", "SingleDeckBlackjackEngine", "SingleDraw2To7Engine", "PokerVerifierBundle", "BlackjackVerifierBundle", "IScuroGameEngine", "ISoloLifecycleEngine", "ITournamentGameEngine", "IPokerEngine", "IPokerZKEngine", "IPokerVerifierBundle", "IBlackjackVerifierBundle", "SlotMachineController", "SuperBaccaratController", "CheminDeFerController", "SlotMachineEngine", "SuperBaccaratEngine", "CheminDeFerEngine", "ICheminDeFerEngine"];
|
|
399
|
+
export declare function getEventMetadata(name: keyof typeof eventSignatures): readonly [] | readonly [{
|
|
400
|
+
readonly name: "DeveloperAccrualRecorded";
|
|
401
|
+
readonly signature: "DeveloperAccrualRecorded(address,uint256,address,uint256,uint256)";
|
|
402
|
+
readonly anonymous: false;
|
|
403
|
+
}, {
|
|
404
|
+
readonly name: "PlayerRewardMinted";
|
|
405
|
+
readonly signature: "PlayerRewardMinted(address,uint256,address)";
|
|
406
|
+
readonly anonymous: false;
|
|
407
|
+
}, {
|
|
408
|
+
readonly name: "PlayerWagerBurned";
|
|
409
|
+
readonly signature: "PlayerWagerBurned(address,uint256,address)";
|
|
410
|
+
readonly anonymous: false;
|
|
411
|
+
}] | readonly [{
|
|
412
|
+
readonly name: "ModuleRegistered";
|
|
413
|
+
readonly signature: "ModuleRegistered(uint256,uint8,address,address,bytes32,address,bytes32,uint16,uint8)";
|
|
414
|
+
readonly anonymous: false;
|
|
415
|
+
}, {
|
|
416
|
+
readonly name: "ModuleStatusUpdated";
|
|
417
|
+
readonly signature: "ModuleStatusUpdated(uint256,uint8)";
|
|
418
|
+
readonly anonymous: false;
|
|
419
|
+
}, {
|
|
420
|
+
readonly name: "RoleAdminChanged";
|
|
421
|
+
readonly signature: "RoleAdminChanged(bytes32,bytes32,bytes32)";
|
|
422
|
+
readonly anonymous: false;
|
|
423
|
+
}, {
|
|
424
|
+
readonly name: "RoleGranted";
|
|
425
|
+
readonly signature: "RoleGranted(bytes32,address,address)";
|
|
426
|
+
readonly anonymous: false;
|
|
427
|
+
}, {
|
|
428
|
+
readonly name: "RoleRevoked";
|
|
429
|
+
readonly signature: "RoleRevoked(bytes32,address,address)";
|
|
430
|
+
readonly anonymous: false;
|
|
431
|
+
}] | readonly [{
|
|
432
|
+
readonly name: "ModuleDeployed";
|
|
433
|
+
readonly signature: "ModuleDeployed(uint256,uint8,uint8,address,address,address,bytes32)";
|
|
434
|
+
readonly anonymous: false;
|
|
435
|
+
}, {
|
|
436
|
+
readonly name: "RoleAdminChanged";
|
|
437
|
+
readonly signature: "RoleAdminChanged(bytes32,bytes32,bytes32)";
|
|
438
|
+
readonly anonymous: false;
|
|
439
|
+
}, {
|
|
440
|
+
readonly name: "RoleGranted";
|
|
441
|
+
readonly signature: "RoleGranted(bytes32,address,address)";
|
|
442
|
+
readonly anonymous: false;
|
|
443
|
+
}, {
|
|
444
|
+
readonly name: "RoleRevoked";
|
|
445
|
+
readonly signature: "RoleRevoked(bytes32,address,address)";
|
|
446
|
+
readonly anonymous: false;
|
|
447
|
+
}] | readonly [{
|
|
448
|
+
readonly name: "EngineDeactivated";
|
|
449
|
+
readonly signature: "EngineDeactivated(address,bool)";
|
|
450
|
+
readonly anonymous: false;
|
|
451
|
+
}, {
|
|
452
|
+
readonly name: "EngineRegistered";
|
|
453
|
+
readonly signature: "EngineRegistered(address,bytes32,uint16)";
|
|
454
|
+
readonly anonymous: false;
|
|
455
|
+
}, {
|
|
456
|
+
readonly name: "RoleAdminChanged";
|
|
457
|
+
readonly signature: "RoleAdminChanged(bytes32,bytes32,bytes32)";
|
|
458
|
+
readonly anonymous: false;
|
|
459
|
+
}, {
|
|
460
|
+
readonly name: "RoleGranted";
|
|
461
|
+
readonly signature: "RoleGranted(bytes32,address,address)";
|
|
462
|
+
readonly anonymous: false;
|
|
463
|
+
}, {
|
|
464
|
+
readonly name: "RoleRevoked";
|
|
465
|
+
readonly signature: "RoleRevoked(bytes32,address,address)";
|
|
466
|
+
readonly anonymous: false;
|
|
467
|
+
}] | readonly [{
|
|
468
|
+
readonly name: "Approval";
|
|
469
|
+
readonly signature: "Approval(address,address,uint256)";
|
|
470
|
+
readonly anonymous: false;
|
|
471
|
+
}, {
|
|
472
|
+
readonly name: "ApprovalForAll";
|
|
473
|
+
readonly signature: "ApprovalForAll(address,address,bool)";
|
|
474
|
+
readonly anonymous: false;
|
|
475
|
+
}, {
|
|
476
|
+
readonly name: "BatchMetadataUpdate";
|
|
477
|
+
readonly signature: "BatchMetadataUpdate(uint256,uint256)";
|
|
478
|
+
readonly anonymous: false;
|
|
479
|
+
}, {
|
|
480
|
+
readonly name: "ExpressionActiveSet";
|
|
481
|
+
readonly signature: "ExpressionActiveSet(uint256,bool)";
|
|
482
|
+
readonly anonymous: false;
|
|
483
|
+
}, {
|
|
484
|
+
readonly name: "ExpressionMinted";
|
|
485
|
+
readonly signature: "ExpressionMinted(uint256,bytes32,address,bytes32,string)";
|
|
486
|
+
readonly anonymous: false;
|
|
487
|
+
}, {
|
|
488
|
+
readonly name: "MetadataUpdate";
|
|
489
|
+
readonly signature: "MetadataUpdate(uint256)";
|
|
490
|
+
readonly anonymous: false;
|
|
491
|
+
}, {
|
|
492
|
+
readonly name: "RoleAdminChanged";
|
|
493
|
+
readonly signature: "RoleAdminChanged(bytes32,bytes32,bytes32)";
|
|
494
|
+
readonly anonymous: false;
|
|
495
|
+
}, {
|
|
496
|
+
readonly name: "RoleGranted";
|
|
497
|
+
readonly signature: "RoleGranted(bytes32,address,address)";
|
|
498
|
+
readonly anonymous: false;
|
|
499
|
+
}, {
|
|
500
|
+
readonly name: "RoleRevoked";
|
|
501
|
+
readonly signature: "RoleRevoked(bytes32,address,address)";
|
|
502
|
+
readonly anonymous: false;
|
|
503
|
+
}, {
|
|
504
|
+
readonly name: "Transfer";
|
|
505
|
+
readonly signature: "Transfer(address,address,uint256)";
|
|
506
|
+
readonly anonymous: false;
|
|
507
|
+
}] | readonly [{
|
|
508
|
+
readonly name: "DeveloperAccrued";
|
|
509
|
+
readonly signature: "DeveloperAccrued(uint256,address,uint256)";
|
|
510
|
+
readonly anonymous: false;
|
|
511
|
+
}, {
|
|
512
|
+
readonly name: "DeveloperClaimed";
|
|
513
|
+
readonly signature: "DeveloperClaimed(uint256,address,uint256)";
|
|
514
|
+
readonly anonymous: false;
|
|
515
|
+
}, {
|
|
516
|
+
readonly name: "EpochClosed";
|
|
517
|
+
readonly signature: "EpochClosed(uint256,uint256,uint256)";
|
|
518
|
+
readonly anonymous: false;
|
|
519
|
+
}, {
|
|
520
|
+
readonly name: "RoleAdminChanged";
|
|
521
|
+
readonly signature: "RoleAdminChanged(bytes32,bytes32,bytes32)";
|
|
522
|
+
readonly anonymous: false;
|
|
523
|
+
}, {
|
|
524
|
+
readonly name: "RoleGranted";
|
|
525
|
+
readonly signature: "RoleGranted(bytes32,address,address)";
|
|
526
|
+
readonly anonymous: false;
|
|
527
|
+
}, {
|
|
528
|
+
readonly name: "RoleRevoked";
|
|
529
|
+
readonly signature: "RoleRevoked(bytes32,address,address)";
|
|
530
|
+
readonly anonymous: false;
|
|
531
|
+
}] | readonly [{
|
|
532
|
+
readonly name: "Approval";
|
|
533
|
+
readonly signature: "Approval(address,address,uint256)";
|
|
534
|
+
readonly anonymous: false;
|
|
535
|
+
}, {
|
|
536
|
+
readonly name: "DelegateChanged";
|
|
537
|
+
readonly signature: "DelegateChanged(address,address,address)";
|
|
538
|
+
readonly anonymous: false;
|
|
539
|
+
}, {
|
|
540
|
+
readonly name: "DelegateVotesChanged";
|
|
541
|
+
readonly signature: "DelegateVotesChanged(address,uint256,uint256)";
|
|
542
|
+
readonly anonymous: false;
|
|
543
|
+
}, {
|
|
544
|
+
readonly name: "EIP712DomainChanged";
|
|
545
|
+
readonly signature: "EIP712DomainChanged()";
|
|
546
|
+
readonly anonymous: false;
|
|
547
|
+
}, {
|
|
548
|
+
readonly name: "RoleAdminChanged";
|
|
549
|
+
readonly signature: "RoleAdminChanged(bytes32,bytes32,bytes32)";
|
|
550
|
+
readonly anonymous: false;
|
|
551
|
+
}, {
|
|
552
|
+
readonly name: "RoleGranted";
|
|
553
|
+
readonly signature: "RoleGranted(bytes32,address,address)";
|
|
554
|
+
readonly anonymous: false;
|
|
555
|
+
}, {
|
|
556
|
+
readonly name: "RoleRevoked";
|
|
557
|
+
readonly signature: "RoleRevoked(bytes32,address,address)";
|
|
558
|
+
readonly anonymous: false;
|
|
559
|
+
}, {
|
|
560
|
+
readonly name: "Transfer";
|
|
561
|
+
readonly signature: "Transfer(address,address,uint256)";
|
|
562
|
+
readonly anonymous: false;
|
|
563
|
+
}] | readonly [{
|
|
564
|
+
readonly name: "Approval";
|
|
565
|
+
readonly signature: "Approval(address,address,uint256)";
|
|
566
|
+
readonly anonymous: false;
|
|
567
|
+
}, {
|
|
568
|
+
readonly name: "DelegateChanged";
|
|
569
|
+
readonly signature: "DelegateChanged(address,address,address)";
|
|
570
|
+
readonly anonymous: false;
|
|
571
|
+
}, {
|
|
572
|
+
readonly name: "DelegateVotesChanged";
|
|
573
|
+
readonly signature: "DelegateVotesChanged(address,uint256,uint256)";
|
|
574
|
+
readonly anonymous: false;
|
|
575
|
+
}, {
|
|
576
|
+
readonly name: "EIP712DomainChanged";
|
|
577
|
+
readonly signature: "EIP712DomainChanged()";
|
|
578
|
+
readonly anonymous: false;
|
|
579
|
+
}, {
|
|
580
|
+
readonly name: "Transfer";
|
|
581
|
+
readonly signature: "Transfer(address,address,uint256)";
|
|
582
|
+
readonly anonymous: false;
|
|
583
|
+
}] | readonly [{
|
|
584
|
+
readonly name: "EIP712DomainChanged";
|
|
585
|
+
readonly signature: "EIP712DomainChanged()";
|
|
586
|
+
readonly anonymous: false;
|
|
587
|
+
}, {
|
|
588
|
+
readonly name: "ProposalCanceled";
|
|
589
|
+
readonly signature: "ProposalCanceled(uint256)";
|
|
590
|
+
readonly anonymous: false;
|
|
591
|
+
}, {
|
|
592
|
+
readonly name: "ProposalCreated";
|
|
593
|
+
readonly signature: "ProposalCreated(uint256,address,address[],uint256[],string[],bytes[],uint256,uint256,string)";
|
|
594
|
+
readonly anonymous: false;
|
|
595
|
+
}, {
|
|
596
|
+
readonly name: "ProposalExecuted";
|
|
597
|
+
readonly signature: "ProposalExecuted(uint256)";
|
|
598
|
+
readonly anonymous: false;
|
|
599
|
+
}, {
|
|
600
|
+
readonly name: "ProposalQueued";
|
|
601
|
+
readonly signature: "ProposalQueued(uint256,uint256)";
|
|
602
|
+
readonly anonymous: false;
|
|
603
|
+
}, {
|
|
604
|
+
readonly name: "ProposalThresholdSet";
|
|
605
|
+
readonly signature: "ProposalThresholdSet(uint256,uint256)";
|
|
606
|
+
readonly anonymous: false;
|
|
607
|
+
}, {
|
|
608
|
+
readonly name: "QuorumNumeratorUpdated";
|
|
609
|
+
readonly signature: "QuorumNumeratorUpdated(uint256,uint256)";
|
|
610
|
+
readonly anonymous: false;
|
|
611
|
+
}, {
|
|
612
|
+
readonly name: "TimelockChange";
|
|
613
|
+
readonly signature: "TimelockChange(address,address)";
|
|
614
|
+
readonly anonymous: false;
|
|
615
|
+
}, {
|
|
616
|
+
readonly name: "VoteCast";
|
|
617
|
+
readonly signature: "VoteCast(address,uint256,uint8,uint256,string)";
|
|
618
|
+
readonly anonymous: false;
|
|
619
|
+
}, {
|
|
620
|
+
readonly name: "VoteCastWithParams";
|
|
621
|
+
readonly signature: "VoteCastWithParams(address,uint256,uint8,uint256,string,bytes)";
|
|
622
|
+
readonly anonymous: false;
|
|
623
|
+
}, {
|
|
624
|
+
readonly name: "VotingDelaySet";
|
|
625
|
+
readonly signature: "VotingDelaySet(uint256,uint256)";
|
|
626
|
+
readonly anonymous: false;
|
|
627
|
+
}, {
|
|
628
|
+
readonly name: "VotingPeriodSet";
|
|
629
|
+
readonly signature: "VotingPeriodSet(uint256,uint256)";
|
|
630
|
+
readonly anonymous: false;
|
|
631
|
+
}] | readonly [{
|
|
632
|
+
readonly name: "PlayFinalized";
|
|
633
|
+
readonly signature: "PlayFinalized(uint256,address,uint256,uint256,uint256,bool)";
|
|
634
|
+
readonly anonymous: false;
|
|
635
|
+
}] | readonly [{
|
|
636
|
+
readonly name: "GameSettled";
|
|
637
|
+
readonly signature: "GameSettled(uint256,address,uint256)";
|
|
638
|
+
readonly anonymous: false;
|
|
639
|
+
}, {
|
|
640
|
+
readonly name: "GameStarted";
|
|
641
|
+
readonly signature: "GameStarted(uint256,uint256,address,address)";
|
|
642
|
+
readonly anonymous: false;
|
|
643
|
+
}, {
|
|
644
|
+
readonly name: "RoleAdminChanged";
|
|
645
|
+
readonly signature: "RoleAdminChanged(bytes32,bytes32,bytes32)";
|
|
646
|
+
readonly anonymous: false;
|
|
647
|
+
}, {
|
|
648
|
+
readonly name: "RoleGranted";
|
|
649
|
+
readonly signature: "RoleGranted(bytes32,address,address)";
|
|
650
|
+
readonly anonymous: false;
|
|
651
|
+
}, {
|
|
652
|
+
readonly name: "RoleRevoked";
|
|
653
|
+
readonly signature: "RoleRevoked(bytes32,address,address)";
|
|
654
|
+
readonly anonymous: false;
|
|
655
|
+
}, {
|
|
656
|
+
readonly name: "TournamentActiveSet";
|
|
657
|
+
readonly signature: "TournamentActiveSet(uint256,bool)";
|
|
658
|
+
readonly anonymous: false;
|
|
659
|
+
}, {
|
|
660
|
+
readonly name: "TournamentCreated";
|
|
661
|
+
readonly signature: "TournamentCreated(uint256,address,uint256,uint256,uint256)";
|
|
662
|
+
readonly anonymous: false;
|
|
663
|
+
}] | readonly [{
|
|
664
|
+
readonly name: "RoleAdminChanged";
|
|
665
|
+
readonly signature: "RoleAdminChanged(bytes32,bytes32,bytes32)";
|
|
666
|
+
readonly anonymous: false;
|
|
667
|
+
}, {
|
|
668
|
+
readonly name: "RoleGranted";
|
|
669
|
+
readonly signature: "RoleGranted(bytes32,address,address)";
|
|
670
|
+
readonly anonymous: false;
|
|
671
|
+
}, {
|
|
672
|
+
readonly name: "RoleRevoked";
|
|
673
|
+
readonly signature: "RoleRevoked(bytes32,address,address)";
|
|
674
|
+
readonly anonymous: false;
|
|
675
|
+
}, {
|
|
676
|
+
readonly name: "SessionCreated";
|
|
677
|
+
readonly signature: "SessionCreated(uint256,address,uint256,address,address)";
|
|
678
|
+
readonly anonymous: false;
|
|
679
|
+
}, {
|
|
680
|
+
readonly name: "SessionSettled";
|
|
681
|
+
readonly signature: "SessionSettled(uint256,address,uint256)";
|
|
682
|
+
readonly anonymous: false;
|
|
683
|
+
}] | readonly [{
|
|
684
|
+
readonly name: "HandStarted";
|
|
685
|
+
readonly signature: "HandStarted(uint256,address,uint256,uint256,bytes32)";
|
|
686
|
+
readonly anonymous: false;
|
|
687
|
+
}, {
|
|
688
|
+
readonly name: "SessionSettled";
|
|
689
|
+
readonly signature: "SessionSettled(uint256,address,uint256,uint256,uint256)";
|
|
690
|
+
readonly anonymous: false;
|
|
691
|
+
}] | readonly [{
|
|
692
|
+
readonly name: "PlayRequested";
|
|
693
|
+
readonly signature: "PlayRequested(uint256,address,bytes32,uint256,uint256)";
|
|
694
|
+
readonly anonymous: false;
|
|
695
|
+
}, {
|
|
696
|
+
readonly name: "PlayResolved";
|
|
697
|
+
readonly signature: "PlayResolved(uint256,address,uint256,uint256,bool)";
|
|
698
|
+
readonly anonymous: false;
|
|
699
|
+
}] | readonly [{
|
|
700
|
+
readonly name: "ActionDeclared";
|
|
701
|
+
readonly signature: "ActionDeclared(uint256,address,uint8,uint256)";
|
|
702
|
+
readonly anonymous: false;
|
|
703
|
+
}, {
|
|
704
|
+
readonly name: "ActionResolved";
|
|
705
|
+
readonly signature: "ActionResolved(uint256,uint8,uint8)";
|
|
706
|
+
readonly anonymous: false;
|
|
707
|
+
}, {
|
|
708
|
+
readonly name: "InitialDealResolved";
|
|
709
|
+
readonly signature: "InitialDealResolved(uint256,bytes32,uint256)";
|
|
710
|
+
readonly anonymous: false;
|
|
711
|
+
}, {
|
|
712
|
+
readonly name: "PlayerTimeoutClaimed";
|
|
713
|
+
readonly signature: "PlayerTimeoutClaimed(uint256)";
|
|
714
|
+
readonly anonymous: false;
|
|
715
|
+
}, {
|
|
716
|
+
readonly name: "SessionOpened";
|
|
717
|
+
readonly signature: "SessionOpened(uint256,address,uint256,bytes32)";
|
|
718
|
+
readonly anonymous: false;
|
|
719
|
+
}, {
|
|
720
|
+
readonly name: "ShowdownResolved";
|
|
721
|
+
readonly signature: "ShowdownResolved(uint256,uint256)";
|
|
722
|
+
readonly anonymous: false;
|
|
723
|
+
}] | readonly [{
|
|
724
|
+
readonly name: "DrawDeclared";
|
|
725
|
+
readonly signature: "DrawDeclared(uint256,address,uint8)";
|
|
726
|
+
readonly anonymous: false;
|
|
727
|
+
}, {
|
|
728
|
+
readonly name: "DrawResolved";
|
|
729
|
+
readonly signature: "DrawResolved(uint256,address,bytes32)";
|
|
730
|
+
readonly anonymous: false;
|
|
731
|
+
}, {
|
|
732
|
+
readonly name: "HandAwaitingInitialDeal";
|
|
733
|
+
readonly signature: "HandAwaitingInitialDeal(uint256,uint256)";
|
|
734
|
+
readonly anonymous: false;
|
|
735
|
+
}, {
|
|
736
|
+
readonly name: "PublicActionTaken";
|
|
737
|
+
readonly signature: "PublicActionTaken(uint256,address,uint8,uint256)";
|
|
738
|
+
readonly anonymous: false;
|
|
739
|
+
}, {
|
|
740
|
+
readonly name: "ShowdownSubmitted";
|
|
741
|
+
readonly signature: "ShowdownSubmitted(uint256,address,address,bool)";
|
|
742
|
+
readonly anonymous: false;
|
|
743
|
+
}] | readonly [{
|
|
744
|
+
readonly name: "RoleAdminChanged";
|
|
745
|
+
readonly signature: "RoleAdminChanged(bytes32,bytes32,bytes32)";
|
|
746
|
+
readonly anonymous: false;
|
|
747
|
+
}, {
|
|
748
|
+
readonly name: "RoleGranted";
|
|
749
|
+
readonly signature: "RoleGranted(bytes32,address,address)";
|
|
750
|
+
readonly anonymous: false;
|
|
751
|
+
}, {
|
|
752
|
+
readonly name: "RoleRevoked";
|
|
753
|
+
readonly signature: "RoleRevoked(bytes32,address,address)";
|
|
754
|
+
readonly anonymous: false;
|
|
755
|
+
}] | readonly [{
|
|
756
|
+
readonly name: "RoleAdminChanged";
|
|
757
|
+
readonly signature: "RoleAdminChanged(bytes32,bytes32,bytes32)";
|
|
758
|
+
readonly anonymous: false;
|
|
759
|
+
}, {
|
|
760
|
+
readonly name: "RoleGranted";
|
|
761
|
+
readonly signature: "RoleGranted(bytes32,address,address)";
|
|
762
|
+
readonly anonymous: false;
|
|
763
|
+
}, {
|
|
764
|
+
readonly name: "RoleRevoked";
|
|
765
|
+
readonly signature: "RoleRevoked(bytes32,address,address)";
|
|
766
|
+
readonly anonymous: false;
|
|
767
|
+
}] | readonly [{
|
|
768
|
+
readonly name: "SpinFinalized";
|
|
769
|
+
readonly signature: "SpinFinalized(uint256,address,uint256,uint256,uint256,uint256)";
|
|
770
|
+
readonly anonymous: false;
|
|
771
|
+
}] | readonly [{
|
|
772
|
+
readonly name: "PlayStarted";
|
|
773
|
+
readonly signature: "PlayStarted(uint256,address,uint256,uint256,uint8,bytes32)";
|
|
774
|
+
readonly anonymous: false;
|
|
775
|
+
}, {
|
|
776
|
+
readonly name: "SessionSettled";
|
|
777
|
+
readonly signature: "SessionSettled(uint256,address,uint256,uint256,uint8)";
|
|
778
|
+
readonly anonymous: false;
|
|
779
|
+
}] | readonly [{
|
|
780
|
+
readonly name: "TableCanceled";
|
|
781
|
+
readonly signature: "TableCanceled(uint256,address,uint256)";
|
|
782
|
+
readonly anonymous: false;
|
|
783
|
+
}, {
|
|
784
|
+
readonly name: "TableClosed";
|
|
785
|
+
readonly signature: "TableClosed(uint256,address,uint256)";
|
|
786
|
+
readonly anonymous: false;
|
|
787
|
+
}, {
|
|
788
|
+
readonly name: "TableOpened";
|
|
789
|
+
readonly signature: "TableOpened(uint256,address,uint256,uint256,uint256,bytes32)";
|
|
790
|
+
readonly anonymous: false;
|
|
791
|
+
}, {
|
|
792
|
+
readonly name: "TableSettled";
|
|
793
|
+
readonly signature: "TableSettled(uint256,address,uint256,uint8,uint256)";
|
|
794
|
+
readonly anonymous: false;
|
|
795
|
+
}, {
|
|
796
|
+
readonly name: "TableTaken";
|
|
797
|
+
readonly signature: "TableTaken(uint256,address,uint256,uint256)";
|
|
798
|
+
readonly anonymous: false;
|
|
799
|
+
}] | readonly [{
|
|
800
|
+
readonly name: "BaseGameResolved";
|
|
801
|
+
readonly signature: "BaseGameResolved(uint256,uint256,bool,bool,bool)";
|
|
802
|
+
readonly anonymous: false;
|
|
803
|
+
}, {
|
|
804
|
+
readonly name: "FreeSpinsResolved";
|
|
805
|
+
readonly signature: "FreeSpinsResolved(uint256,uint8,uint256,uint8)";
|
|
806
|
+
readonly anonymous: false;
|
|
807
|
+
}, {
|
|
808
|
+
readonly name: "HoldAndSpinResolved";
|
|
809
|
+
readonly signature: "HoldAndSpinResolved(uint256,uint8,uint8,uint256)";
|
|
810
|
+
readonly anonymous: false;
|
|
811
|
+
}, {
|
|
812
|
+
readonly name: "JackpotAwarded";
|
|
813
|
+
readonly signature: "JackpotAwarded(uint256,uint8,uint256)";
|
|
814
|
+
readonly anonymous: false;
|
|
815
|
+
}, {
|
|
816
|
+
readonly name: "PickBonusResolved";
|
|
817
|
+
readonly signature: "PickBonusResolved(uint256,uint8,uint256)";
|
|
818
|
+
readonly anonymous: false;
|
|
819
|
+
}, {
|
|
820
|
+
readonly name: "PresetActiveSet";
|
|
821
|
+
readonly signature: "PresetActiveSet(uint256,bool)";
|
|
822
|
+
readonly anonymous: false;
|
|
823
|
+
}, {
|
|
824
|
+
readonly name: "PresetRegistered";
|
|
825
|
+
readonly signature: "PresetRegistered(uint256,uint8,bytes32)";
|
|
826
|
+
readonly anonymous: false;
|
|
827
|
+
}, {
|
|
828
|
+
readonly name: "RoleAdminChanged";
|
|
829
|
+
readonly signature: "RoleAdminChanged(bytes32,bytes32,bytes32)";
|
|
830
|
+
readonly anonymous: false;
|
|
831
|
+
}, {
|
|
832
|
+
readonly name: "RoleGranted";
|
|
833
|
+
readonly signature: "RoleGranted(bytes32,address,address)";
|
|
834
|
+
readonly anonymous: false;
|
|
835
|
+
}, {
|
|
836
|
+
readonly name: "RoleRevoked";
|
|
837
|
+
readonly signature: "RoleRevoked(bytes32,address,address)";
|
|
838
|
+
readonly anonymous: false;
|
|
839
|
+
}, {
|
|
840
|
+
readonly name: "SpinRequested";
|
|
841
|
+
readonly signature: "SpinRequested(uint256,address,uint256,uint256,bytes32)";
|
|
842
|
+
readonly anonymous: false;
|
|
843
|
+
}, {
|
|
844
|
+
readonly name: "SpinResolved";
|
|
845
|
+
readonly signature: "SpinResolved(uint256,uint256,uint256)";
|
|
846
|
+
readonly anonymous: false;
|
|
847
|
+
}] | readonly [{
|
|
848
|
+
readonly name: "PlayRequested";
|
|
849
|
+
readonly signature: "PlayRequested(uint256,address,bytes32,uint256,uint8)";
|
|
850
|
+
readonly anonymous: false;
|
|
851
|
+
}, {
|
|
852
|
+
readonly name: "PlayResolved";
|
|
853
|
+
readonly signature: "PlayResolved(uint256,address,uint8,uint8,uint256)";
|
|
854
|
+
readonly anonymous: false;
|
|
855
|
+
}] | readonly [{
|
|
856
|
+
readonly name: "ResolutionCompleted";
|
|
857
|
+
readonly signature: "ResolutionCompleted(uint256,uint256,uint8)";
|
|
858
|
+
readonly anonymous: false;
|
|
859
|
+
}, {
|
|
860
|
+
readonly name: "ResolutionRequested";
|
|
861
|
+
readonly signature: "ResolutionRequested(uint256,uint256,bytes32)";
|
|
862
|
+
readonly anonymous: false;
|
|
863
|
+
}];
|