The investor flow
The path of an investor's money into a fund and back out.
The path of an investor's money into a PolyETF fund and back out, step by step: what the investor does, what the site does for them, and what the contracts on Polygon do. ARCHITECTURE_FLOWS.md tells the same story for the manager as well; the component view is in the architecture document.
The map
flowchart LR
investor["Investor wallet<br/>USDC.e or pUSD"]:::actor
app["Frontend<br/>wallet UI"]:::offchain
quote["Backend quote signer<br/>NAV quote only<br/>no custody"]:::offchain
vault["FundVault<br/>custody + ERC-20 shares"]:::vault
onramp["CollateralOnramp<br/>USDC.e to pUSD"]:::poly
shares["Fund shares<br/>held by investor"]:::share
manager["Manager wallet<br/>authorized trade signer"]:::actor
clob["Polymarket CLOB<br/>order matching"]:::poly
exchange["Polymarket exchanges<br/>CTF / NegRisk settlement"]:::poly
positions["Vault assets<br/>pUSD + USDC.e + CTF positions"]:::vault
data["Polymarket Data API<br/>position values"]:::offchain
keeper["Anyone<br/>resolved-position keeper"]:::actor
cashout["Cash exit<br/>redeemCash"]:::exit
inkind["Trustless exit<br/>redeemInKind"]:::exit
offramp["CollateralOfframp<br/>pUSD to USDC.e"]:::poly
treasury["Protocol treasury<br/>fixed in the vault"]:::actor
investor -->|"1. Connect wallet"| app
app -->|"2. Request signed share-price quote"| quote
quote -.->|"price for this wallet, operation and amount,<br/>one-time number, expiry + signature"| app
investor -->|"3a. Approve pUSD or USDC.e"| vault
investor -->|"3b. depositPUSD"| vault
investor -->|"3b. depositUSDCe"| vault
vault -->|"Wrap USDC.e deposits"| onramp
onramp -->|"pUSD returns to vault"| vault
vault -->|"1% entry fee in pUSD,<br/>before the shares are minted"| treasury
vault -->|"4. Mint fund shares"| shares
shares --> investor
vault -->|"Custodied cash buying power"| positions
manager -->|"5. Sign CLOB order<br/>maker = vault, signer = vault"| app
app -->|"Build + relay order"| clob
clob -->|"Matched order settles on chain"| exchange
exchange <-->|"pUSD for outcome tokens<br/>using vault approvals"| vault
exchange -->|"Outcome tokens or pUSD"| positions
positions -.->|"Vault balances + positions determine NAV"| quote
data -.->|"Current position values"| quote
quote -.->|"NAV changes share price"| shares
keeper -->|"6. redeemResolvedCTF / redeemResolvedNegRisk"| vault
vault -->|"Redeem winning outcome tokens"| exchange
exchange -->|"pUSD or USDC.e proceeds<br/>to vault only"| vault
investor -->|"7a. redeemCash(shares, quote)"| cashout
cashout -->|"Burn shares"| vault
vault -->|"pUSD payout"| investor
vault -->|"Optional unwrap"| offramp
offramp -->|"USDC.e payout"| investor
investor -->|"7b. redeemInKind(shares)"| inkind
inkind -->|"Burn shares"| vault
vault -->|"Pro-rata pUSD + USDC.e<br/>+ every registered CTF position"| investor
investor -->|"Can sell or redeem outcome tokens directly"| clob
classDef actor fill:#eef7ff,stroke:#2563eb,color:#0f172a
classDef vault fill:#ecfdf5,stroke:#059669,color:#064e3b
classDef poly fill:#fff7ed,stroke:#ea580c,color:#7c2d12
classDef offchain fill:#f8fafc,stroke:#64748b,color:#0f172a
classDef share fill:#fef9c3,stroke:#ca8a04,color:#713f12
classDef exit fill:#fdf2f8,stroke:#db2777,color:#831843
Readout
- Investor deposits pUSD or USDC.e from their own wallet into the
FundVault. A 1% entry fee is paid on top of what buys shares and goes in pUSD to the protocol treasury; it never becomes part of the fund (PM-162). - USDC.e deposits are wrapped into pUSD, so the vault has Polymarket buying power.
- The vault mints ERC-20 fund shares back to the investor wallet. A yearly fee of 1.25% is charged by minting new shares: 1% to the manager, 0.25% to the protocol treasury.
- The manager can sign Polymarket orders for the vault, but cannot withdraw vault assets.
- Polymarket settlement moves value between vault pUSD and vault outcome tokens.
- NAV is computed from vault cash plus Polymarket position values, then signed as a short-lived quote for one wallet, operation and amount. The vault's factory checks it against a price envelope and the fund's budgets, which cap what a wrong price can take from holders who do not transact (current factory only). An investor who deposits or exits at a wrong price bears it.
- Investor exits either for cash with
redeemCashor unconditionally in kind withredeemInKind.
The rest of this document takes each step in turn.
Before anything: what the investor needs
- A wallet on Polygon with pUSD or USDC.e to invest and a few cents of POL for gas. The site works with a browser wallet (an injected provider); it switches the wallet to Polygon and never asks for anything but a signature or a transaction.
- An account on the site, which is the wallet. The investor signs in with the wallet
(Sign-In with Ethereum, EIP-4361); there is no password. The site issues a one-use message
naming this site's domain, Polygon, the wallet, a random nonce and a five-minute window; the
wallet signs it (
personal_sign, no transaction, no gas); the site checks the signature and signs in the wallet's account, made on its first sign-in. A signature cannot be used twice, for another wallet, after five minutes, or if it was obtained on a look-alike site: the page itself refuses to ask the wallet to sign a text that is not this site's template. The account holds nothing of value: funds live in the vaults, in the investor's own wallet. Sign-ins are limited to 10 a minute per address. - The wallet is what the site reads. It shows the account's holdings by reading the chain for the account's wallet, and only deposits made from that wallet are credited to the account. An account can link a different wallet with the same kind of one-use signature; relinking voids the earlier challenges.
- An email, if the investor wants one. It is optional, and becomes the account's contact only once the one-use link sent to it is opened.
Nothing in these steps touches a vault. An investor who never signs in can still read every fund page; they cannot deposit through the site.
Step 1: choosing a fund
The funds page lists every fund the platform knows, with its NAV, share price, change since launch and shares outstanding. A fund's page shows, for everyone, signed in or not:
- the vault's address on Polygon and the manager's wallet, both linked to Polygonscan;
- the live NAV, the share price and a chart of its history since the first deposit;
- the fund's cash in pUSD, the value of its positions, and each position: the market, the outcome held, the size, the average and current price, the value and the gain or loss since it was bought;
- how many positions are registered (at most 128), the fee rate and the fee shares accrued but not yet minted, and the manager's count of open orders as last read;
- the capacity notice: how much the fund can take in deposits and pay in cash exits right now at a fair price, from the factory's budgets (below).
The numbers are read from the chain and from Polymarket, not from a database: every on-chain figure of one NAV is read at one block, so cash and shares are never mixed from different moments. The display NAV values each position at the order book's midpoint; the price an investor actually transacts at is stricter (step 2).
Step 2: the deposit
2.1 Asking for a quote
The investor types an amount and chooses pUSD or USDC.e. The site asks the backend for a quote: the share price at which this wallet may deposit this amount, signed by the platform's quote key. The quote is bound to the investor's wallet, to the operation (deposit), to the maximum amount and to a single-use random nonce, and it expires 30 seconds after issue (at most 120). A leaked or old quote is useless to anyone else.
Before signing, the backend:
- reads the vault's cash, supply, pending fee shares and positions at one block;
- values each position at what buying this deposit's slice of it would cost on the order book now, taking the worse of that price and the median of the last ten minutes, so a market pushed for a moment does not set the price;
- compares that mark with Polymarket's own valuation of the same positions and refuses to sign if they disagree by more than 2%, if a position has no price, if Polymarket's data cannot be read, or if a book is too wide, moving, thin or stale;
- applies the factory's rules at the same block (the price floor and the issuance budget, below) and refuses, saying how much fits now, rather than sign a quote the vault would reject.
The quote names the net amount: the part of the deposit that buys shares after the entry fee. On a $101 deposit the quote prices $100 of shares and signs $100 as its maximum.
2.2 Reviewing the quote
The page shows the quoted price beside the current NAV per share before the wallet is asked for anything. The investor should compare them: the factory's budgets protect the holders who do not transact, not the investor transacting, so a deposit at a price far above NAV costs the depositor without limit. The page also shows how many shares the deposit will buy at the quoted price, the 1% entry fee, and the minimum number of shares it will accept (1% below the quote), which the wallet enforces on chain.
2.3 Signing
Two wallet transactions, both from the investor's wallet, both shown in full by the wallet:
- Approve. The investor allows the vault to take the deposit amount in pUSD or USDC.e. Before asking, the page checks with the factory, through the wallet's own connection to Polygon, that the vault is one the factory created; a backend that named another contract stops the deposit here. The token addresses are built into the pages, not read from the backend.
- Deposit.
depositPUSD(amount, quote, signature, minShares)ordepositUSDCe(...).
Inside the deposit transaction the vault, in order: collects the yearly fee accrued so far
(minting fee shares to the manager and the treasury, which keeps the price fair for the
depositor); hands the quote to the factory, which checks the signature, the binding to this
wallet and operation, the unused nonce, the deadline, the price floor (not below cash per
share) and the issuance budget; wraps USDC.e into pUSD if that is what was sent; sends the
1% entry fee to the protocol treasury; takes exactly what the whole shares cost at the quoted
price and leaves the rest with the depositor; and mints the shares to the investor's wallet.
If any check fails, or the shares fall below minShares, the whole transaction reverts and
nothing moves but the gas.
The first deposit into a new fund needs no quote: it sets the price at $1.00 a share, must be at least $1, and pays the entry fee like every other.
2.4 Budgets: what a wrong price can and cannot do
The factory cannot know what the fund's positions are worth, but it knows each outcome token is worth between $0 and $1. From that it bounds every signed price:
- a deposit's price may not be below the fund's cash per share;
- a cash exit's price may not be above cash plus every token counted at $1, per share;
- each deposit uses up part of an issuance budget (the most it could dilute the others if every token were worth $1) and each cash exit part of a cash budget (the most it could take if every token were worthless). Only time refills them: 2% at once, then 1% a day.
So a stolen or mistaken quote key can move at most about 4% of a quiet holder's value at once, about 6% in a day and about 10% in three days before it is revoked, and nothing at all from an all-cash fund. The site shows the remaining capacity on the fund page, and when a deposit does not fit it says how much does.
Step 3: holding
3.1 What the investor holds
Fund shares are an ERC-20 token in the investor's own wallet, with 6 decimals, visible in any wallet and on Polygonscan. They can be transferred like any token. The site's portfolio page lists, for the linked wallet, every fund held with its shares (read on chain), the last share price, the value, and the tracked basis: the cash deposited, less exits pro rata, with transferred shares carrying the sender's average cost. The basis is a tracking convention for the investor's information, not a gain-and-loss or tax figure, and it is hidden for a fund whose records are being re-checked against the chain.
3.2 How the value changes
- The manager trades. The manager's wallet signs Polymarket orders for the vault; the backend relays them to Polymarket's order book, and matched orders settle on chain between the vault's pUSD and outcome tokens. The manager cannot withdraw, transfer or approve anything: the vault accepts a manager's signature only for orders on Polymarket's two exchanges and for the order-book login.
- Markets move and resolve. The NAV follows the positions' prices. When a market resolves, anyone, the investor included, can press "Redeem resolved" on the fund page, which calls the vault's permissionless redemption; the proceeds can only land in the vault.
- The fee accrues. 1.25% a year of the share supply, minted as new shares at each deposit,
exit or
harvest()call: 1% to the manager, 0.25% to the protocol treasury. It dilutes the share price by that rate; no cash leaves the fund for it.
3.3 What the investor must not do
- Do not send tokens to the vault's address directly. A deposit is a call to the vault, not a transfer. Tokens sent directly are not deposits, mint no shares, and, for outcome tokens not in the registry, are not part of the in-kind basket (the manager can adopt them).
- Do not send native USDC (the one at
0x3c49…3359). The vault takes USDC.e and pUSD; native USDC is not a deposit token, nothing wraps it, and there is no rescue. - Do not send shares to the vault's own address. They would be stuck.
Step 4: leaving
An investor can leave at any time, in two ways. Neither needs the manager's permission, and the second needs nobody's.
4.1 Exit for cash
The investor types a number of shares. The site asks for a cash-exit quote, bound and
single-use like a deposit's, priced on what selling the slice of each position would fetch
(the bids, with the same ten-minute guard), and checked against the factory's ceiling and the
cash budget. The page shows the quoted price against the NAV and the minimum payout it will
accept, and the investor signs redeemCash(shares, quote, signature, minPayout, unwrapToUSDCe).
The vault collects the fee, has the factory check the quote, burns the shares and pays
shares × price in pUSD, or in USDC.e through Polymarket's offramp if asked. It pays only from
its spare pUSD: an exit that would leave no cash while other shares remain is refused, and the
cash budget bounds how much can leave at once, so the fund page says how many shares fit now.
Exits do not pay an entry fee.
4.2 Exit in kind: the exit nobody can block
redeemInKind(shares) needs no quote, no backend, no manager and no Polymarket. The vault
burns the shares and sends the investor their exact pro-rata slice of everything it holds:
pUSD, USDC.e and every registered outcome position, in one batch transfer. It works while the
platform is down, paused or gone, and nothing in the contracts can gate, queue or freeze it.
The page previews the basket before asking the wallet. What the investor receives is raw outcome tokens; they can hold them to resolution and redeem them for $1 or $0 with Polymarket's token contract, or sell them on Polymarket with their own access. A thin market may fetch less than the marked NAV. Tokens the vault holds outside its registry are not in the basket.
4.3 After an exit
The portfolio page shows the new balance on the next read, and the fund page's transactions table lists the exit with its Polygonscan link. A resting order of the manager may lose the cash behind it when a large exit leaves; the app cancels what it can.
What the investor trusts, and what they do not have to
| Trust in | Why | If it fails |
|---|---|---|
| The quote key, within the budgets | Signs the price of each deposit and cash exit | A wrong price moves value between holders, at most about 4% of a quiet holder at once, 6% a day, 10% in three days, and nothing in an all-cash fund; the investor transacting at a bad price is not covered, so compare the quote with the NAV. In-kind exits are untouched |
| The manager, for the trades | Chooses what the fund holds | Bad or self-dealing trades lose value; the investor can leave in kind at any time |
| Polymarket | Prices, matches, settles and resolves | Trading stops or a market resolves wrongly; deposits, cash exits and in-kind exits keep working |
| The vault code | Immutable, no owner, no upgrade | A bug cannot be patched; funds would exit in kind and re-form on a new vault |
The investor does not have to trust the platform with custody: the backend holds no fund keys and sends no transactions, and the manager's key cannot move assets. Both are true by construction of the contracts, not by policy.
Not yet
Trading is not live: Polymarket's order book rejects vaults it has not onboarded, and the project is asking Polymarket for a vault allowlist. Deposits, cash exits and in-kind exits do not depend on it. The product is in private testing and takes no outside money; pooling other people's money to trade event contracts very likely needs regulatory approval.
Source
This page is the project's own document, shown as it is: INVESTOR_FLOW.md, the whole document.