@bananapus/router-terminal-v6 0.0.19 → 0.0.20
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/CHANGE_LOG.md +1 -1
- package/STYLE_GUIDE.md +1 -1
- package/package.json +4 -3
- package/script/Deploy.s.sol +1 -1
- package/script/helpers/RouterTerminalDeploymentLib.sol +1 -1
- package/src/JBRouterTerminal.sol +1 -1
- package/src/JBRouterTerminalRegistry.sol +1 -1
- package/src/libraries/JBSwapLib.sol +1 -1
- package/test/RouterTerminal.t.sol +1 -1
- package/test/RouterTerminalCashOutFork.t.sol +1 -1
- package/test/RouterTerminalCreditCashout.t.sol +1 -1
- package/test/RouterTerminalERC2771.t.sol +1 -1
- package/test/RouterTerminalFeeCashOutFork.t.sol +1 -1
- package/test/RouterTerminalFork.t.sol +1 -1
- package/test/RouterTerminalMultihopFork.t.sol +1 -1
- package/test/RouterTerminalPreviewFork.t.sol +1 -1
- package/test/RouterTerminalReentrancy.t.sol +1 -1
- package/test/RouterTerminalRegistry.t.sol +1 -1
- package/test/RouterTerminalSandwichFork.t.sol +1 -1
- package/test/TestAuditGaps.sol +1 -1
- package/test/audit/CodexRegistryAddToBalancePartialFill.t.sol +1 -1
- package/test/audit/PayerTrackerRefund.t.sol +1 -1
- package/test/audit/Permit2AllowanceFailed.t.sol +1 -1
- package/test/fork/V4QuoteAndSettlementFork.t.sol +1 -1
- package/test/invariant/RouterTerminalInvariant.t.sol +1 -1
- package/test/regression/CashOutLoopLimit.t.sol +1 -1
- package/test/regression/LockTerminalRace.t.sol +1 -1
- package/test/regression/RouterTerminalEdgeCases.t.sol +1 -1
- package/test/regression/V4SpotPriceSlippage.t.sol +1 -1
package/AUDIT_INSTRUCTIONS.md
CHANGED
|
@@ -252,7 +252,7 @@ forge test
|
|
|
252
252
|
|
|
253
253
|
### Foundry Configuration
|
|
254
254
|
|
|
255
|
-
- Solidity
|
|
255
|
+
- Solidity 0.8.28 (0.8.28 for JBRouterTerminalRegistry), EVM target `cancun`, optimizer 200 runs
|
|
256
256
|
- Fuzz runs: 4,096 per test
|
|
257
257
|
- Invariant runs: 1,024 with depth 100
|
|
258
258
|
- Fork tests pinned to Ethereum mainnet block 21,700,000 (post-V4 deployment)
|
|
@@ -333,7 +333,7 @@ No prior formal audit with finding IDs has been conducted on this codebase. All
|
|
|
333
333
|
|
|
334
334
|
## Compiler and Version Info
|
|
335
335
|
|
|
336
|
-
- **Solidity**:
|
|
336
|
+
- **Solidity**: 0.8.28 (0.8.28 for JBRouterTerminalRegistry)
|
|
337
337
|
- **EVM target**: Cancun
|
|
338
338
|
- **Optimizer**: via-IR, 200 runs
|
|
339
339
|
- **Dependencies**: OpenZeppelin 5.x, Uniswap V3/V4, nana-core-v6
|
package/CHANGE_LOG.md
CHANGED
|
@@ -70,7 +70,7 @@ The `SLIPPAGE_DENOMINATOR` constant was kept but changed from `uint160` to `uint
|
|
|
70
70
|
|
|
71
71
|
### 1.11 Solidity Version
|
|
72
72
|
- **v5:** `pragma solidity 0.8.23`
|
|
73
|
-
- **v6:** `pragma solidity
|
|
73
|
+
- **v6:** `pragma solidity 0.8.28` (0.8.28 for JBRouterTerminalRegistry)
|
|
74
74
|
|
|
75
75
|
---
|
|
76
76
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bananapus/router-terminal-v6",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,8 +17,9 @@
|
|
|
17
17
|
"artifacts": "source ./.env && npx sphinx artifacts --org-id 'ea165b21-7cdc-4d7b-be59-ecdd4c26bee4' --project-name 'nana-router-terminal-v6'"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@bananapus/
|
|
21
|
-
"@bananapus/
|
|
20
|
+
"@bananapus/address-registry-v6": "^0.0.15",
|
|
21
|
+
"@bananapus/core-v6": "^0.0.27",
|
|
22
|
+
"@bananapus/permission-ids-v6": "^0.0.14",
|
|
22
23
|
"@openzeppelin/contracts": "^5.6.1",
|
|
23
24
|
"@uniswap/permit2": "github:Uniswap/permit2",
|
|
24
25
|
"@uniswap/v3-core": "github:Uniswap/v3-core#0.8",
|
package/script/Deploy.s.sol
CHANGED
package/src/JBRouterTerminal.sol
CHANGED
package/test/TestAuditGaps.sol
CHANGED