Skip to content

docs: add ERC-4626 vault example with Multi-Agent Orchestrator integration#183

Open
consumeobeydie wants to merge 3 commits into
circlefin:mainfrom
consumeobeydie:docs/erc4626-vault-example
Open

docs: add ERC-4626 vault example with Multi-Agent Orchestrator integration#183
consumeobeydie wants to merge 3 commits into
circlefin:mainfrom
consumeobeydie:docs/erc4626-vault-example

Conversation

@consumeobeydie

Copy link
Copy Markdown

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

  • ArcUSDCVault.sol built on OpenZeppelin v5.6.1's ERC4626 base contract
  • Owner-injected yield mechanism (depositYield) that increases share value for all holders
  • Agent-tagged deposit function (depositForAgent) for orchestrator integration
  • 13 passing tests covering deposit, withdraw, redeem, yield distribution, and access control

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.

consumeobeydie and others added 3 commits June 20, 2026 18:28
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