@ballkidz/defifa 0.0.11 → 0.0.12
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/AUDIT_INSTRUCTIONS.md +2 -2
- package/STYLE_GUIDE.md +2 -2
- package/foundry.toml +1 -1
- package/package.json +7 -7
- package/script/Deploy.s.sol +1 -1
- package/script/helpers/DefifaDeploymentLib.sol +1 -1
- package/src/DefifaDeployer.sol +1 -1
- package/src/DefifaGovernor.sol +1 -1
- package/src/DefifaHook.sol +1 -1
- package/src/DefifaProjectOwner.sol +1 -1
- package/src/DefifaTokenUriResolver.sol +1 -1
- package/src/libraries/DefifaFontImporter.sol +1 -1
- package/src/libraries/DefifaHookLib.sol +1 -1
- package/test/DefifaAdversarialQuorum.t.sol +1 -1
- package/test/DefifaAuditLowGuards.t.sol +1 -1
- package/test/DefifaFeeAccounting.t.sol +1 -1
- package/test/DefifaGovernor.t.sol +1 -1
- package/test/DefifaHookRegressions.t.sol +1 -1
- package/test/DefifaMintCostInvariant.t.sol +1 -1
- package/test/DefifaNoContest.t.sol +1 -1
- package/test/DefifaSecurity.t.sol +1 -1
- package/test/DefifaUSDC.t.sol +1 -1
- package/test/Fork.t.sol +1 -1
- package/test/SVG.t.sol +1 -1
- package/test/TestAuditGaps.sol +1 -1
- package/test/TestQALastMile.t.sol +1 -1
- package/test/audit/CodexAttestationDoubleCount.t.sol +1 -1
- package/test/deployScript.t.sol +1 -1
- package/test/regression/AttestationDelegateBeneficiary.t.sol +1 -1
- package/test/regression/FulfillmentBlocksRatification.t.sol +1 -1
- package/test/regression/GracePeriodBypass.t.sol +1 -1
package/AUDIT_INSTRUCTIONS.md
CHANGED
|
@@ -421,7 +421,7 @@ forge test --match-contract DefifaMintCostInvariant -vvv
|
|
|
421
421
|
| `initialSupply` per tier | 999,999,999 | `DefifaDeployer` |
|
|
422
422
|
| Max tiers per game | 128 | `DefifaHook` (`uint256[128]`) |
|
|
423
423
|
| Min grace period | 1 day | `DefifaGovernor` |
|
|
424
|
-
| Compiler | Solidity
|
|
424
|
+
| Compiler | Solidity 0.8.28 | All files |
|
|
425
425
|
|
|
426
426
|
---
|
|
427
427
|
|
|
@@ -489,7 +489,7 @@ No prior formal audit with finding IDs has been conducted for defifa-collection-
|
|
|
489
489
|
|
|
490
490
|
| Setting | Value | Source |
|
|
491
491
|
|---------|-------|--------|
|
|
492
|
-
| Solidity version |
|
|
492
|
+
| Solidity version | `0.8.28` | `foundry.toml` `solc` field; all `src/*.sol` files use `pragma solidity ^0.8.26` (library uses `0.8.28`) |
|
|
493
493
|
| EVM target | `cancun` | `foundry.toml` `evm_version` field |
|
|
494
494
|
| Optimizer | Enabled, 200 runs | `foundry.toml` `optimizer_runs = 200` |
|
|
495
495
|
| Via IR | `true` | `foundry.toml` `via_ir = true` -- uses the Yul-based compilation pipeline |
|
package/STYLE_GUIDE.md
CHANGED
|
@@ -21,7 +21,7 @@ One contract/interface/struct/enum per file. Name the file after the type it con
|
|
|
21
21
|
|
|
22
22
|
```solidity
|
|
23
23
|
// Contracts — pin to exact version
|
|
24
|
-
pragma solidity
|
|
24
|
+
pragma solidity 0.8.28;
|
|
25
25
|
|
|
26
26
|
// Interfaces, structs, enums — caret for forward compatibility
|
|
27
27
|
pragma solidity ^0.8.0;
|
|
@@ -326,7 +326,7 @@ Standard config across all repos:
|
|
|
326
326
|
|
|
327
327
|
```toml
|
|
328
328
|
[profile.default]
|
|
329
|
-
solc = '0.8.
|
|
329
|
+
solc = '0.8.28'
|
|
330
330
|
evm_version = 'cancun'
|
|
331
331
|
optimizer_runs = 200
|
|
332
332
|
libs = ["node_modules", "lib"]
|
package/foundry.toml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ballkidz/defifa",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.0.0"
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"url": "https://github.com/BallKidz/defifa-collection-deployer"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@bananapus/721-hook-v6": "^0.0.
|
|
17
|
-
"@bananapus/address-registry-v6": "^0.0.
|
|
18
|
-
"@bananapus/core-v6": "^0.0.
|
|
19
|
-
"@bananapus/permission-ids-v6": "^0.0.
|
|
20
|
-
"@croptop/core-v6": "^0.0.
|
|
16
|
+
"@bananapus/721-hook-v6": "^0.0.21",
|
|
17
|
+
"@bananapus/address-registry-v6": "^0.0.15",
|
|
18
|
+
"@bananapus/core-v6": "^0.0.27",
|
|
19
|
+
"@bananapus/permission-ids-v6": "^0.0.14",
|
|
20
|
+
"@croptop/core-v6": "^0.0.22",
|
|
21
21
|
"@openzeppelin/contracts": "^5.6.1",
|
|
22
22
|
"@prb/math": "^4.1.1",
|
|
23
|
-
"@rev-net/core-v6": "^0.0.
|
|
23
|
+
"@rev-net/core-v6": "^0.0.17",
|
|
24
24
|
"scripty.sol": "^2.1.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
package/script/Deploy.s.sol
CHANGED
package/src/DefifaDeployer.sol
CHANGED
package/src/DefifaGovernor.sol
CHANGED
package/src/DefifaHook.sol
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// SPDX-License-Identifier: MIT
|
|
2
|
-
pragma solidity
|
|
2
|
+
pragma solidity 0.8.28;
|
|
3
3
|
|
|
4
4
|
import {IJBPermissions, JBPermissionsData} from "@bananapus/core-v6/src/interfaces/IJBPermissions.sol";
|
|
5
5
|
import {IJBProjects} from "@bananapus/core-v6/src/interfaces/IJBProjects.sol";
|
package/test/DefifaUSDC.t.sol
CHANGED
package/test/Fork.t.sol
CHANGED
package/test/SVG.t.sol
CHANGED
package/test/TestAuditGaps.sol
CHANGED
package/test/deployScript.t.sol
CHANGED