@ballkidz/defifa 0.0.25 → 0.0.26

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 (52) hide show
  1. package/AUDIT_INSTRUCTIONS.md +6 -2
  2. package/README.md +11 -2
  3. package/RISKS.md +3 -1
  4. package/STYLE_GUIDE.md +14 -11
  5. package/package.json +31 -14
  6. package/script/Deploy.s.sol +4 -1
  7. package/src/DefifaDeployer.sol +74 -46
  8. package/src/DefifaGovernor.sol +53 -11
  9. package/src/DefifaHook.sol +79 -25
  10. package/src/DefifaTokenUriResolver.sol +111 -19
  11. package/src/interfaces/IDefifaDeployer.sol +5 -0
  12. package/src/interfaces/IDefifaGovernor.sol +4 -0
  13. package/src/interfaces/IDefifaHook.sol +5 -0
  14. package/src/libraries/DefifaHookLib.sol +9 -10
  15. package/src/structs/DefifaLaunchProjectData.sol +0 -3
  16. package/CRYPTO_ECON.pdf +0 -0
  17. package/CRYPTO_ECON.tex +0 -997
  18. package/foundry.lock +0 -17
  19. package/references/operations.md +0 -32
  20. package/references/runtime.md +0 -43
  21. package/slither-ci.config.json +0 -10
  22. package/sphinx.lock +0 -521
  23. package/test/BWAFunctionComparison.t.sol +0 -1320
  24. package/test/DefifaAdversarialQuorum.t.sol +0 -617
  25. package/test/DefifaAuditLowGuards.t.sol +0 -308
  26. package/test/DefifaFeeAccounting.t.sol +0 -581
  27. package/test/DefifaGovernanceHardening.t.sol +0 -1315
  28. package/test/DefifaGovernor.t.sol +0 -1378
  29. package/test/DefifaHookRegressions.t.sol +0 -415
  30. package/test/DefifaMintCostInvariant.t.sol +0 -319
  31. package/test/DefifaNoContest.t.sol +0 -941
  32. package/test/DefifaSecurity.t.sol +0 -741
  33. package/test/DefifaUSDC.t.sol +0 -480
  34. package/test/Fork.t.sol +0 -2388
  35. package/test/TestAuditGaps.sol +0 -984
  36. package/test/TestQALastMile.t.sol +0 -514
  37. package/test/audit/AttestationDoubleCount.t.sol +0 -218
  38. package/test/audit/CodexNemesisCurrencyMismatchBypass.t.sol +0 -112
  39. package/test/audit/CodexNemesisNoContestReserveDrain.t.sol +0 -238
  40. package/test/audit/CodexNemesisOneTierZeroTimeoutLockVerified.t.sol +0 -218
  41. package/test/audit/CodexNemesisSingleTierTimeoutLock.t.sol +0 -237
  42. package/test/audit/CodexRegistryMismatch.t.sol +0 -191
  43. package/test/audit/CodexTierCapMismatch.t.sol +0 -171
  44. package/test/audit/CurrencyMismatchFix.t.sol +0 -265
  45. package/test/audit/FixPendingReserveDilution.t.sol +0 -366
  46. package/test/audit/H5TierCapValidation.t.sol +0 -184
  47. package/test/audit/PendingReserveDilution.t.sol +0 -298
  48. package/test/audit/PendingReserveQuorumGrief.t.sol +0 -355
  49. package/test/audit/PendingReserveSnapshotBypass.t.sol +0 -319
  50. package/test/regression/AttestationDelegateBeneficiary.t.sol +0 -271
  51. package/test/regression/FulfillmentBlocksRatification.t.sol +0 -279
  52. package/test/regression/GracePeriodBypass.t.sol +0 -302
@@ -1,7 +1,6 @@
1
1
  // SPDX-License-Identifier: MIT
2
2
  pragma solidity ^0.8.0;
3
3
 
4
- import {IJB721TiersHookStore} from "@bananapus/721-hook-v6/src/interfaces/IJB721TiersHookStore.sol";
5
4
  import {IJB721TokenUriResolver} from "@bananapus/721-hook-v6/src/interfaces/IJB721TokenUriResolver.sol";
6
5
  import {IJBTerminal} from "@bananapus/core-v6/src/interfaces/IJBTerminal.sol";
7
6
  import {JBAccountingContext} from "@bananapus/core-v6/src/structs/JBAccountingContext.sol";
@@ -29,7 +28,6 @@ import {DefifaTierParams} from "./DefifaTierParams.sol";
29
28
  /// @custom:member defaultAttestationDelegate The address that'll be set as the attestation delegate by default.
30
29
  /// @custom:member defaultTokenUriResolver The contract used to resolve token URIs if not provided by a tier
31
30
  /// specifically. @custom:member terminal The payment terminal where the project will accept funds through.
32
- /// @custom:member store A contract to store standard JB721 data in.
33
31
  /// @custom:member minParticipation The minimum treasury balance required for the game to proceed to scoring. If the
34
32
  /// balance is below this when scoring would begin, the game enters NO_CONTEST. Set to 0 to disable. @custom:member
35
33
  /// scorecardTimeout The maximum time (in seconds) after the scoring phase begins for a scorecard to be ratified. If
@@ -51,7 +49,6 @@ struct DefifaLaunchProjectData {
51
49
  address defaultAttestationDelegate;
52
50
  IJB721TokenUriResolver defaultTokenUriResolver;
53
51
  IJBTerminal terminal;
54
- IJB721TiersHookStore store;
55
52
  uint256 minParticipation;
56
53
  uint32 scorecardTimeout;
57
54
  uint256 timelockDuration;
package/CRYPTO_ECON.pdf DELETED
Binary file