Skip to content

Lagoon Integration

Agama deploys as a curator on Lagoon. We do not write, audit, or maintain any vault smart contract. The entire on-chain vault infrastructure is Lagoon's responsibility. Agama focuses exclusively on what creates value: the NAV oracle, the asset strategy, and the investor relationship.

What Lagoon provides vs what Agama builds

ComponentLagoonAgama
Vault smart contractsERC-7540 shell. Written, deployed and maintained by Lagoon. Audited by Nethermind. 120+ vaults active on 18+ chainsNone. We deploy as a curator on existing contracts
Security auditAlready doneWe inherit Lagoon's security. No audit budget required
Deposit / withdrawalAsynchronous request-then-claim handled nativelyWe trigger settlement cycles based on the NAV update schedule
Fee managementManagement fee + performance fee with high-water mark, computed automatically on-chainWe configure the parameters. Lagoon enforces them
KYC / whitelistAccess control and investor whitelisting built into the vaultWe manage the investor whitelist. Lagoon enforces it on-chain
On-chain reportingFull NAV history, transaction log, share price evolution. all on-chainWe provide the NAV. Lagoon records and exposes it
NAV oracleLagoon accepts any valuation provider. The NAV feed is the curator's responsibilityWe build this. It is the critical piece: it reads invoice data, generates a ZK proof, and pushes the verified NAV on-chain
Asset strategyInfrastructure-agnostic. Does not decide what goes in the vaultWe decide. Which invoices to buy, at what discount, with what risk parameters
Investor interfaceapp.lagoon.finance lists all vaults automaticallyagama.finance is our branded frontend for institutional clients. Both channels coexist

Why this matters

By deploying on Lagoon, Agama inherits battle-tested infrastructure without the cost and timeline of building and auditing vault contracts from scratch. Time-to-market is reduced significantly. The security risk surface is limited to the NAV oracle, which is the only smart contract Agama writes.

Lagoon can activate a protocol fee up to 30% of curator fees. Currently no vault is subject to protocol fees.

Why ERC-7540 and not ERC-4626

ERC-4626 is the classic vault standard. Deposit and share minting happen in the same block. This works for liquid assets like ETH or USDC where the price is known instantly.

For invoices with 30 or 90-day maturities, synchronous pricing is impossible. The vault cannot price an asset whose maturity is a month away in a single block.

ERC-7540 introduces the request-then-claim pattern: the investor submits a deposit request, the vault processes it at the next NAV valuation cycle, and the investor claims their shares once settlement is complete. This mirrors exactly how traditional funds operate, reproduced on-chain in a fully verifiable way.