Skip to content

chore: Organize contracts folder#1308

Open
fusmanii wants to merge 7 commits intomasterfrom
faisal/acp-45-organize-contracts-folder
Open

chore: Organize contracts folder#1308
fusmanii wants to merge 7 commits intomasterfrom
faisal/acp-45-organize-contracts-folder

Conversation

@fusmanii
Copy link
Contributor

@fusmanii fusmanii commented Feb 10, 2026

Completed: Organize contracts folder (ACP-45)

Files moved (32 total):

  • contracts/spoke-pools/ (20 files): All spoke pool contracts + PolygonTokenBridger
  • contracts/hub-pool/ (7 files): HubPool, BondToken, LpTokenFactory, AcrossConfigStore, PermissionSplitterProxy, AdapterStore, Blast_DaiRetriever
  • contracts/libraries/ (2 files): MerkleLib.sol, Lockable.sol
  • contracts/periphery/ (3 files): SpokePoolPeriphery, SpokePoolVerifier, AcrossEventEmitter
  • script/chain-adapters/ (9 adapter deploy scripts)
  • script/spoke-pools/ (13 SpokePool deploy scripts)
  • script/hub-pool/ (2 hub pool deploy scripts)
  • script/periphery/ (5 periphery/handler deploy scripts)

Import updates across ~70+ files:

  • Moved files: ./interfaces/ → ../interfaces/, etc.
  • Test mocks (contracts/test/): Updated paths to spoke-pools/, hub-pool/, libraries/
  • Chain adapters: Updated Blast_DaiRetriever and Ovm_SpokePool references
  • ERC7683: Updated SpokePool import
  • Libraries: Updated AdapterStore reference in OFTTransportAdapterWithStore
  • Foundry tests (~27 files): Updated all import paths
  • Deployment scripts (~17 files): Updated all import paths

Config updates:

  • foundry.toml: zksync profile path updated

Signed-off-by: Faisal Usmani <faisal.of.usmani@gmail.com>
@linear
Copy link

linear bot commented Feb 10, 2026

Signed-off-by: Faisal Usmani <faisal.of.usmani@gmail.com>
Signed-off-by: Faisal Usmani <faisal.of.usmani@gmail.com>
@fusmanii fusmanii marked this pull request as ready for review February 21, 2026 01:27
fusmanii and others added 3 commits March 19, 2026 11:12
Signed-off-by: Faisal Usmani <faisal.of.usmani@gmail.com>
Move deploy scripts from the root of script/ into context-based subfolders
matching the contracts directory structure:
- script/chain-adapters/ (9 adapter deploy scripts)
- script/spoke-pools/ (13 SpokePool deploy scripts)
- script/hub-pool/ (2 hub pool deploy scripts)
- script/periphery/ (5 periphery/handler deploy scripts)

Updates all relative import paths and comment references accordingly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@fusmanii
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant