@ballkidz/defifa 0.0.9 → 0.0.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ballkidz/defifa",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "license": "MIT",
5
5
  "engines": {
6
6
  "node": ">=20.0.0"
@@ -345,12 +345,14 @@ contract DefifaDeployer is IDefifaDeployer, IDefifaGamePhaseReporter, IDefifaGam
345
345
  // Payout failed — fee stays in pot. Reset to sentinel (1) so currentGamePotOf
346
346
  // doesn't double-count the fee, while preserving the reentrancy guard.
347
347
  fulfilledCommitmentsOf[gameId] = 1;
348
+ // slither-disable-next-line reentrancy-events
348
349
  emit CommitmentPayoutFailed({gameId: gameId, amount: _feeAmount, reason: reason});
349
350
  }
350
351
 
351
352
  // Queue the final ruleset and emit.
352
353
  _queueFinalRuleset({gameId: gameId, metadata: _metadata});
353
354
 
355
+ // slither-disable-next-line reentrancy-events
354
356
  emit FulfilledCommitments({gameId: gameId, pot: _pot, caller: msg.sender});
355
357
  }
356
358
 
@@ -543,6 +545,7 @@ contract DefifaDeployer is IDefifaDeployer, IDefifaGamePhaseReporter, IDefifaGam
543
545
  // Add the hook to the registry, contract nonce starts at 1
544
546
  REGISTRY.registerAddress({deployer: address(this), nonce: _currentNonce});
545
547
 
548
+ // slither-disable-next-line reentrancy-events
546
549
  emit LaunchGame(gameId, _hook, GOVERNOR, _uriResolver, msg.sender);
547
550
  }
548
551
 
@@ -619,6 +622,7 @@ contract DefifaDeployer is IDefifaDeployer, IDefifaGamePhaseReporter, IDefifaGam
619
622
  projectId: gameId, rulesetConfigurations: rulesetConfigs, memo: "Defifa game: no contest."
620
623
  });
621
624
 
625
+ // slither-disable-next-line reentrancy-events
622
626
  emit QueuedNoContest(gameId, msg.sender);
623
627
  }
624
628
 
@@ -174,6 +174,7 @@ contract DefifaGovernor is Ownable, IDefifaGovernor {
174
174
  // handles sendPayoutsOf failures, ensuring the final ruleset is always queued.
175
175
  IDefifaDeployer(CONTROLLER.PROJECTS().ownerOf(gameId)).fulfillCommitmentsOf(gameId);
176
176
 
177
+ // slither-disable-next-line reentrancy-events
177
178
  emit ScorecardRatified(gameId, scorecardId, msg.sender);
178
179
  }
179
180