docs: add ERC-4626 vault example with Multi-Agent Orchestrator integration#183
docs: add ERC-4626 vault example with Multi-Agent Orchestrator integration#183consumeobeydie wants to merge 3 commits into
Conversation
…ration-example docs: add Arc Transaction Memo integration example with Multi-Agent O…
|
Great additions — both examples cover territory that isn't well-documented yet for Arc Testnet. A few things worth flagging: 🔴 Critical — evmVersion: paris required for Arc Testnet deploymentOpenZeppelin v5.6.1 requires Solidity ^0.8.20. Solidity 0.8.20+ compiles with Shanghai EVM by default, which introduces the Without explicitly setting # foundry.toml
[profile.default]
evm_version = "paris"Or if using a per-contract pragma: // SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
// compile with: forge build --evm-version parisThe forge tests pass locally because they run against the default EVM (Shanghai/Cancun), not Arc. This only surfaces at deployment time. Can confirm — hit this exact issue deploying ERC-4337 Paymaster and GasRelayer contracts across Arc, Base Sepolia, and Fuji. It's also documented in the Arc EVM differences page but easy to miss when starting from an OZ template.
|
Summary
This PR adds an example showing how to build an ERC-4626 tokenized vault for native USDC on Arc Testnet, including an agent-yield deposit path that integrates with the Multi-Agent Orchestrator example from this series.
What's included
Live Verification
Deployed and tested with a real deposit on Arc Testnet:
Full implementation
https://github.com/consumeobeydie/arc-vault
Related PRs
This is the 10th example added to this series.