0.8.34, and OpenZeppelin v5 upgradeable contracts. Every contract is deployed behind a TransparentUpgradeableProxy.
What you get
One deposit, professionally managed. You deposit a supported asset into a fund. The fund operator allocates that capital across strategies on your behalf — you never juggle positions or chase yield across protocols. Yield-bearing shares you actually hold. Deposits mint you an ERC-20 share token unique to the fund. Your share count stays constant; the value of each share moves with the fund’s reported NAV. Shares are freely transferable. Fair, batched pricing. Red Potion does not use continuous AMM-style pricing. Deposits and redemptions collect into time-boxed batches, and every request in a batch settles at the same fair price once an operator submits and an operator accepts a NAV report. No one in a batch gets a better price than anyone else. Guardrails around every request. Each fund can enforce TVL caps, per-batch caps, minimum deposit and redemption sizes, a drawdown gate, a depositor whitelist, and an emergency pause — all configurable per fund.The core idea in one paragraph
A fund is a hub-and-spoke system. The Fund contract is the hub: it holds assets, orchestrates settlement, and acts as the single access-control registry. Around it sit spokes — a DepositQueue, a RedeemQueue, an Oracle (the batch clock and NAV reporter), a FeeManager, a RiskManager, and a FundShare token. Capital is deployed through Strategy wallets that can only make explicitly allowlisted calls. Time is divided into batches; an off-chain reporter submits a price after each batch closes; after a mandatory review delay the report is accepted, settling all deposits and redemptions at one fair price in a single transaction.How this documentation is organized
Overview
What Red Potion is and how batched fund shares work, in plain terms.
Using Red Potion
Depositing, redeeming, fees, and the risk controls that apply to you.
Developers
Contract architecture, a per-contract reference, the role model, and deployments.
Security
Risks, a glossary, and how to get help.