White paper, version 1.4, 10 November 2026.
Abstract
PolyETF lets a manager run a fund that trades on Polymarket with
other people's money, without ever holding that money. Each fund is one
contract on Polygon, a FundVault, which is at once the fund's custody
address and its share token. Investors deposit stablecoins into the vault
and receive shares at the fund's share price. The manager's key can do one
thing with the vault's assets: sign Polymarket orders in the vault's name.
It cannot withdraw, transfer, or approve anything else. That stops a
manager from taking the money out, not from losing it: through orders
alone, a manager can still trade badly, or on purpose against the fund
(section 9). Every investor can leave at any moment by burning shares for
their exact slice of what the vault holds. Neither the manager nor we can
gate that exit; it depends only on the tokens' own contracts working
(section 9).
The platform around the vault (a backend that prices the fund and signs short-lived share-price quotes, and a website) is a convenience, not a custodian. Where it does hold authority, over the price of a cash deposit or a cash exit, that authority is bounded on-chain: a wrong or stolen quoting key can move at most about 4.0% of a passive holder's value at once, 5.9% in a day and 9.6% in three days, before it is revoked.
One thing is not yet done: Polymarket's order book has not yet accepted an order from a vault. The cryptography is proven on-chain and against Polymarket's own exchange contracts; what remains is Polymarket's off-chain decision to onboard vaults as order makers. This paper is written to ask for that decision.
1. The problem
Polymarket is an open prediction market: anyone with a wallet can trade on the outcome of events, and the order books are public. Some traders are better at it than others, and some people would rather give their money to one of those traders than trade themselves. Today that arrangement needs trust. A manager who pools money from others holds it in an account they control; the investors trust the manager to trade honestly and to give the money back. Nothing enforces it.
On a public chain, that trust can be replaced by code. The question this project answers is: what is the smallest thing a manager needs to be able to do to run a fund on Polymarket, and can everything else be taken away?
The answer is that a manager needs exactly one power: to sign orders that Polymarket's exchange will settle against the fund's holdings. Everything else, holding the money, pricing the shares, letting investors in and out, can be done by a contract, or by a service whose worst case is bounded by that contract.
2. Who does what
| Actor | Can | Cannot |
|---|---|---|
| Manager | Create a fund; sign Polymarket orders for the vault; add and remove delegate trading keys; adopt a position someone sent to the vault; receive 1% a year in new shares, the manager's part of the management fee; hand the role to another address in two steps | Withdraw or transfer any asset out of the vault, other than by trading on Polymarket's exchange; change the vault's approvals, fee or treasury; pause, upgrade or close the vault |
| Investor | Deposit; exit for cash at the quoted price; exit in kind at any time, with no one's permission | Be gated or queued by the manager, the platform or the factory owner |
| The platform (our backend) | Compute the fund's value; sign short-lived share-price quotes for cash deposits and exits; index events; relay the manager's orders to Polymarket | Move vault assets; block an exit in kind; forge holdings; change a live vault's fee or treasury |
| The factory owner and a guardian | Instantly: revoke a quoting key, pause quoted deposits and cash exits, raise the number of signatures a quote needs, cut the budgets, cancel a pending change. After 72 hours, the owner only: add a quoting key, lower the threshold, raise the budgets (never above fixed maxima), unpause, replace the guardian | Move vault assets; block an exit in kind; exceed the fixed maxima; skip the delay |
| Anyone | Redeem a resolved position into cash, wrap idle USDC.e, prune a full registry, harvest the fee: proceeds always land in the vault | Anything else |
The exit in kind is the keystone. Whatever goes wrong above it, an investor can always take their exact share of the vault's cash and positions out, with one transaction, and the manager, the platform and the factory owner cannot stop it, not even while quoted flows are paused. What it relies on is the tokens' own contracts: a freeze in pUSD or USDC.e would stop that token's transfer (section 9).
3. How a fund lives
Creation. A manager calls the factory from their own wallet and pays the gas (cents on Polygon). The factory deploys a minimal-proxy clone of one reviewed implementation (section 8), records it as one of its vaults, and the clone grants, once and for ever, the token approvals that Polymarket's exchange contracts need to settle trades. No other approval can ever be added.
Deposit. An investor deposits pUSD (Polymarket's settlement stablecoin, redeemable one for one into USDC.e) or USDC.e, which the vault wraps into pUSD in the same transaction. The first deposit into an empty vault is priced at $1.00 a share. Every later deposit is priced by a quote (section 4) and mints whole shares; the vault takes from the depositor only what those shares cost, rounded up, and leaves the rest with them. Every deposit, the first included, also pays a 1% entry fee on that cost to the protocol treasury (section 5). The investor sets the minimum number of shares they will accept, which the contract enforces.
Trading. The manager builds an order on the website, signs it with their wallet, and the platform relays it to Polymarket's order book. The order names the vault as maker and as signer, and settles to the vault. When it fills, Polymarket's exchange contract moves pUSD out of the vault and outcome tokens in, or the reverse, under the approvals granted at creation. The vault records every outcome token it receives from a Polymarket contract, so that the in-kind basket always covers every held position.
Pricing. The fund's value is its pUSD and USDC.e plus each outcome position at a price read from Polymarket's order books. The share price is that value divided by the shares outstanding, with the accrued fee counted.
Exit for cash. An investor burns shares and receives pUSD, or USDC.e unwrapped in the same transaction, at the quoted share price, limited by the cash the vault holds. An exit that would leave the vault with no cash while other shares remain is refused.
Exit in kind. An investor burns shares and receives their pro-rata slice of the vault's pUSD, USDC.e and every registered outcome position, in one transaction, with no quote and no permission. They can then sell or redeem those positions themselves on Polymarket.
Resolution. When a market resolves, anyone can call the vault to redeem its winning tokens into collateral. The proceeds can only land in the vault.
End of life. When no shares are outstanding, anyone can sweep what is left (late fills, dust, donations) to the protocol treasury fixed at the vault's creation. While a single share exists, that is impossible.
4. The share price, and what a wrong price can do
A cash deposit or a cash exit must be priced, and that price must come from off-chain data: the order books. Someone has to read them and sign a number. In this design that is the platform's quoting key, and the design's main work is to bound what that key can do.
A quote is narrow. It is signed for one vault, one operation (deposit or cash exit), one account, one maximum amount and one single-use number, and it lives at most 120 seconds (30 by default). A quote for another vault, another account, or a second use is refused by the contract.
A quote is checked on-chain. The factory, which acts as every vault's quote guard, refuses a deposit priced below the vault's cash per share and a cash exit priced above its cash plus every registered position at $1 per share. Within that envelope, each quoted deposit and cash exit is charged its worst-case effect on the other holders against two per-vault budgets, one for issuance and one for cash, which only time refills (1% a day, to a ceiling of about 2%). Charges round up; budgets round down.
The bound. At the fixed maxima, a wrong or stolen quote can take from holders who do not transact at most about 4.0% of their value at once, 5.9% in a day, and 9.6% in three days, until the key is revoked or quoted flows are paused, both of which the owner and the guardian can do instantly. An investor who deposits or exits at a wrong quoted price bears that loss in full: the budgets protect the holders who stay, not the one who transacts.
How the platform prices, before it signs. Every on-chain figure (cash, positions, supply, pending fee) is read at one block, so the price cannot be assembled from inconsistent states. Each position is valued at what the transaction's own slice would trade for through the order book (the asks for a deposit, the bids for an exit), and at the worse of that price now and a ten-minute median, so that a brief push on a thin book cannot set the price. The platform refuses to quote on a wide, moving, thin, stale or unsampled book, when Polymarket's data is unavailable, or when its own two valuations of the fund disagree. Refusing is always safe: the exit in kind needs no quote.
Several keys. The factory can require signatures from several independent quoting keys. It starts with one. A second, independent key is a condition before any outside money is accepted.
5. The fees
A fixed management fee of 1.25% a year, accrued by minting new shares: 1% to the manager and 0.25% to a protocol treasury fixed at the vault's creation. It is harvested at the start of every deposit and exit, or by anyone at any time. No oracle and no dollar figure is involved: the fee is a slow dilution of the share count, visible on-chain. Fractions lost to rounding carry to the next harvest.
A fixed entry fee of 1% on every deposit, the first included: 1% of what the deposit's shares cost, rounded up, paid on top of that cost in pUSD to the same treasury before the shares are minted. Depositing $101 buys $100 of shares and pays a $1 fee. The fee never becomes part of the fund, so it does not move the share price, and the quote checks and budgets of section 4 see only the cost. There is no performance fee and no exit fee.
6. The contract's trust boundary
The vault accepts a signature as the vault's own only when all of these hold:
- the signature is wrapped in an ERC-7739 envelope that binds to the exact message being validated;
- the message belongs to one of exactly three domains: Polymarket's CTF Exchange V2, its Neg Risk CTF Exchange V2, or the ClobAuth domain used to log in to Polymarket's API (which can move nothing);
- the envelope binds the signature to this vault's own address and chain;
- the signer is the vault's current manager, or a delegate the current manager registered on-chain.
Anything else, for instance a token permit that would let a contract pull funds, is refused. This whitelist is the reason a manager's signing key cannot drain the vault. The quoting key has no trading authority at all, and the manager's key has no quoting authority.
The vault has no owner, no pause function, no upgrade path, and no function that transfers an asset to an address someone chose. Apart from exchange settlement, conversions whose proceeds return to the vault, and the entry fee of a USDC.e deposit, which is wrapped with the deposit and passed on to the protocol treasury in the same call, assets leave a vault only to an investor who burns shares, or in the final sweep when no share exists.
Handing over a fund. A manager can propose a new manager; nothing changes until the new address accepts. On acceptance the fee accrued so far goes to the outgoing manager, and the vault stops accepting the signature of every trading key the old manager registered, so a handover also cleans up after a stolen key. One exception: an order such a key signed that Polymarket's exchange operator has already preapproved settles without the exchange asking the vault again, until the operator withdraws the preapproval. Our brief asks Polymarket how it handles these. Nobody but the manager can start a handover, by design: a recovery address or a vote would be a key with authority over trading.
7. Trading on Polymarket: what we ask
Polymarket's order book is off-chain; its exchange contracts settle on-chain.
An order from a vault is an ordinary Exchange V2 order with maker = signer = vault, signature type 3 (ERC-1271), and the ERC-7739 envelope above. The
vault's signature validation has been tested against Polymarket's live
exchange contracts on Polygon: both exchanges accept a vault's order
signature, and reject a stranger's and a cross-exchange one.
What has not happened is acceptance by the order book, which takes orders only from makers Polymarket has onboarded. The missing piece is Polymarket's off-chain onboarding of external makers, which is their policy to set. We are asking Polymarket to onboard every vault of one verified factory as an order maker, with the vault as maker, signer and settlement address, and with API authentication either by the vault or by the manager's address. We are not asking for deposit-wallet execution, for a manager-controlled float, or for any arrangement in which assets leave the vault. The request, with the identifiers and the acceptance exercise, is in the project's onboarding brief.
Until Polymarket answers, the product's loop is incomplete: funds can be created, funded, priced and exited, but not traded. We will not represent on-chain validation as trading support.
8. What has been reviewed
The reviews below were made by an AI analyst independent of the developer, and by a second, outside AI-assisted analyst. None is a professional audit.
The contracts (30 September 2026): every line of the vault, the factory, their interfaces and the deployment script was read; proof-of-concept tests and read-only checks of the live Polymarket contracts were run. Four findings:
| Severity | Finding | Outcome |
|---|---|---|
| High | A fund shrunk to one share unit took part of a depositor's deposit through rounding | Fixed: a deposit takes only what its shares cost |
| Medium | The manager's key could not be replaced | Addressed: the two-step handover that stops every delegate |
| Low | The factory starts with one quoting key | Accepted for the own-money pilot, within the budgets; a second key before outside money |
| Low | The deployment script let the deployer become the owner | Fixed: the script requires an explicit owner, a guardian, and distinct roles |
The backend, the website and the keys (30 September 2026): eight findings, one High and five Medium, all fixed and re-reviewed: a vulnerable web framework and an open image service, a provider key shown in error messages, a way for a stranger to stop a fund's quotes, costly public routes, pages that signed whatever the backend sent (they now check every payload against what the manager asked for), and contract addresses taken from the backend (they are now built into the pages). The two Low findings (login throttling, dependency pinning) have been fixed since.
A further review by an outside analyst (30 September 2026) found seven more issues in the backend, five Medium and two Low, and none in the contracts: among them a consistency check that compares two different portfolios, so that a tiny unsolicited transfer can stop a fund's quotes (the exit in kind is unaffected); a reusable wallet-linking signature; a weak configured session secret; and outdated dependencies. All seven are fixed, as are the four from the same analyst's follow-up of 4 October 2026, among them a deposit quote that allowed about 1% more than it priced and public pages whose reads had no bound on their cost.
The reviews of 28 October 2026. A further independent review of the backend and the website found seven defects, none in the contracts. Two are fixed. The two that touch trading (a delegate's order signed past the manager's price limit, and, when the manager's address authenticates to the exchange, a cancellation that reaches another fund's orders) will be fixed before the acceptance exercise with Polymarket, and the other three before any outside money. A focused contract review the same day found no fault in the vault's code, but showed the exception of section 6: an order the exchange operator has preapproved settles without the vault's signature check, so it can outlive a removed key. Before the acceptance exercise the platform will cancel a vault's open orders whenever its trading keys or its manager change, and our brief asks Polymarket how preapproval works for these vaults.
The reviews of November 2026. A review of the platform's order and fund lifecycles (6 November) found eight gaps, none in the contracts; all eight are fixed. A review of the whole project (9 November) found no fault in the contracts. One of its findings is settled: the website now lists a fund only from a wallet the operator has approved. Two are open decisions: a treasury address separate from the owner's, and which exits cancel a fund's resting orders, since today every exit cancels all of them.
Tests. The contract tests cover the signature accept-and-reject matrix, the handover lifecycle, quote binding and budgets with fuzzed charges and random attack sequences, fees, the deposit cost, in-kind exits and reentrancy, and a further set runs read-only against the live Polygon contracts. The backend and the website have their own suites, and every change runs the contract, backend and website tests. Every fix above was reviewed with tests that fail on the code before it, and with a deliberate break of each rule that the tests catch. The counts for the frozen contract source are in the onboarding brief.
The contract source is frozen. Its files' hashes, and the commit, are in the onboarding brief, with the canonical factory's address: it was deployed on 2 November 2026, before Polymarket's answer, for a pilot with the owner's own money.
9. Risks and limits, plainly
- You can lose money. A fund's positions can lose value, to zero. The share price follows them. Nothing here protects against a manager's bad judgement.
- The manager can trade against the fund. On an open order book a manager can fill the fund's orders from a personal account. No access control prevents this. The contract protects against a direct withdrawal, not against harmful trades: a manager who means to can move the fund's value to a counterparty, themselves included, through orders alone. The defences are transparency (every position is on-chain), the price bands on orders the platform relays (which do not bind orders signed elsewhere), and the exit in kind.
- The manager's key. A thief who holds it can sign orders, and can start a handover; a lost key cannot be replaced by anyone. Managers are asked to keep the manager address on a hardware wallet and to trade through a delegate key, which can be removed. Investors' defence is the exit in kind.
- The quoting key. Bounded, not harmless: up to about 4.0% of a passive holder's value at once, 5.9% in a day, 9.6% in three days, until revoked. A single key today; two before outside money.
- Thin markets. A position's price is read from order books that may be thin. The platform refuses to quote on bad books, but the in-kind basket delivers raw outcome tokens, and selling them on an illiquid book can realise less than the marked value.
- Resting orders and exits. An exit in kind can remove collateral that a resting order counted on; the platform warns and cancels, fail-closed.
- Dependence on Polymarket. The vault trusts Polymarket's contracts with unlimited approvals granted at creation and never withdrawn. pUSD is an upgradeable contract, so whoever controls it can change how the fund's cash behaves; a freeze in pUSD or USDC.e would stop the transfers that pay that token, the exit in kind included. If Polymarket moves to a new exchange version, existing vaults cannot follow: funds exit in kind and re-form.
- Immutability. A flaw found in a deployed vault cannot be patched. Funds exit in kind and re-form on a new implementation.
- The platform's servers. The quoting key and the encrypted exchange credentials live on a server. A break-in could sign quotes (bounded as above) and, for a fund whose manager authorised a delegate key, sign orders for that fund until the manager removes the delegate. Nobody's deposits can be taken directly.
- Regulation. Pooling money to trade event contracts is likely to be regulated activity in many places, and geographic restrictions apply. This project takes no outside money until it has legal advice, and will follow Polymarket's geographic rules.
10. Where the project stands
| Status on 10 November 2026 | |
|---|---|
| Contracts | Frozen, reviewed, tested; deployed as the canonical release on 2 November 2026 |
| Custody, deposits, pricing, both exits | Built and tested, including against the live Polygon contracts; available on the deployed factory |
| Trading | Blocked on Polymarket's onboarding decision |
| Platform and website | Built and live. The website lists a fund only from a wallet the operator has approved |
| Funds and money | No fund is open yet. The first will be a pilot with the owner's own money; no outside money |
Before any outside money: Polymarket's onboarding of the factory and a live acceptance exercise on two vaults; a second independent quoting key; a professional audit of the contracts; legal advice.
11. Glossary
- Vault (
FundVault): one fund's contract: its custody address and its share token. - Factory (
FundVaultFactory): the contract that creates vaults, holds the quoting keys and enforces the price envelope and the budgets. - Share: an ERC-20 token, six decimals, representing a slice of a vault.
- NAV: the fund's value: cash plus positions at order-book prices.
- Quote: a signed share price for one deposit or cash exit, short-lived and single-use.
- Exit in kind (
redeemInKind): burning shares for a pro-rata slice of everything the vault holds, with no permission. - pUSD: Polymarket's settlement stablecoin, one for one with USDC.e.
- Outcome token: a Polymarket position, an ERC-1155 token that pays $1 if its outcome occurs.
- Delegate: a trading key the manager registers on-chain, removable, and stopped by a handover.
- Guardian: an address that can only stop things: revoke a quoting key, pause quoted flows, cut budgets, cancel a pending change.