Skip to content

feat(script): add Arbitrum deploy and strategy-registration scripts#19

Merged
jayeshy14 merged 1 commit into
mainfrom
feat/compound-v3-strategy
Jun 14, 2026
Merged

feat(script): add Arbitrum deploy and strategy-registration scripts#19
jayeshy14 merged 1 commit into
mainfrom
feat/compound-v3-strategy

Conversation

@jayeshy14

Copy link
Copy Markdown
Owner

DeployArbitrum: deploys all 15 facets, assembles the Diamond + ERC-4626 Vault in one diamondCut, sets base risk policy (idle reserve, curator, optional fees), and wires strategies with stable Arbitrum defaults for Aave V3 and Compound III. Morpho and Pendle are opt-in via env so the script never reverts on a missing market address. Reads the deployer key from PRIVATE_KEY_ARB (falling back to PRIVATE_KEY) tolerating a missing 0x prefix. Two-step ownership handoff via FINAL_OWNER.

RegisterStrategies: registers Morpho and/or Pendle on an already-deployed vault (no redeploy), owner-gated, skips anything already registered so it is safe to re-run, and sets no allocation (left to the curator).

Both verified end-to-end against a live Arbitrum fork.

DeployArbitrum: deploys all 15 facets, assembles the Diamond + ERC-4626
Vault in one diamondCut, sets base risk policy (idle reserve, curator,
optional fees), and wires strategies with stable Arbitrum defaults for
Aave V3 and Compound III. Morpho and Pendle are opt-in via env so the
script never reverts on a missing market address. Reads the deployer key
from PRIVATE_KEY_ARB (falling back to PRIVATE_KEY) tolerating a missing
0x prefix. Two-step ownership handoff via FINAL_OWNER.

RegisterStrategies: registers Morpho and/or Pendle on an already-deployed
vault (no redeploy), owner-gated, skips anything already registered so it
is safe to re-run, and sets no allocation (left to the curator).

Both verified end-to-end against a live Arbitrum fork.
@jayeshy14 jayeshy14 merged commit 6a5bb0c into main Jun 14, 2026
3 checks passed
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