Trust
What the contract can and cannot do
Plain answers about admin powers, funds, the keeper, oracle risk and testing. If something here is unclear, ask us on X.
Summary
The owner can
- Set the keeper tip, up to 0.001 ETH a pulse
- Set the spawn fee, up to 0.01 ETH
- Pause new spawns and pulses
- Add markets, or switch one off for new pulses
- Withdraw collected spawn fees
The owner cannot
- Touch any polyp's fuel or any keeper's tips
- Change a genome, a name or a record
- Stop settling, draining, feeding or claiming
- Upgrade or replace the contract
- Move or burn anyone's polyp
- Give up ownership while paused or while spawn fees could be stranded
Owner powers
Ownership moves in two steps (the new owner has to accept), so it cannot be handed to a mistyped address. These are all of the owner's functions:
| Function | Limit | Effect |
|---|---|---|
setTip | At most 0.001 ETH | Changes what keepers earn per pulse from fuel. Starts at 0.00002 ETH. |
setSpawnFee | At most 0.01 ETH | Changes the fee per spawn. Starts at 0. |
setPaused | Spawn and pulse only | Settle, drain, feed and claims keep working while paused. |
addMarket | Append only | The pool must answer like a Uniswap V3 pool. Existing ids never change. |
setMarketActive | New pulses only | Open pulses on that market can still be settled. |
withdrawFees | Spawn fees only | Sends the accrued spawn fees. There is no function that reaches fuel or tips. |
renounceOwnership | Only when nothing would freeze | Refused with RenounceBlocked while paused, while a spawn fee is set or while fees wait to be withdrawn, so a pause can never become permanent and no fee is left stuck. |
Fuel, tips and fees
The contract keeps three kinds of ETH apart. Fuel belongs to each polyp and only its owner, or an address the owner approved, can drain it. Tips belong to the keepers who earned them and only they can claim them. Fees are spawn fees, the only ETH the owner can withdraw. Withdrawals follow checks, effects, interactions order behind a reentrancy guard, and the test suite includes reentrancy attacks on every path that sends ETH.
The keeper
Our keeper is a scheduled job that runs every five minutes. It settles every due pulse, fuelled or not, and pulses fuelled polyps that are ready. It has no special rights: pulse, settle and cycle are open to anyone, and anyone who pulses a fuelled polyp earns the same tip. If our keeper stops, polyps keep their records, owners can pulse their own for free, and anyone can settle.
Prompt settles matter. A score is fixed by the pulse's end window, so settling late cannot change it, but if nobody settles for long enough the oracle may stop reaching that window and the pulse voids. That is why ours settles every due pulse, and why settling is open to everyone.
Oracles and manipulation
Polyps read Uniswap V3 pools on Robinhood Chain. Known risks, plainly:
- Records follow liquidity. A hit only needs the 5 minute average to end one tick (about 0.01%) on the right side. On a thin pool, anyone willing to pay for the swaps can hold the price for a few minutes and farm hits, or nudge the inputs before a pulse. A record is only as strong as its market's liquidity, so weigh it with the market and the pulse count.
- Price pushing. Moving a time-weighted average means holding the price for the whole window while arbitrageurs trade against you. A price pushed and pulled back inside one block never reaches the oracle. Holding a price for minutes does, and a thin pool is cheaper to hold than a deep one.
- Short oracles. A pool remembers a fixed number of observations. With normal trading the shortest one we measured, ETH, reaches back about 14 hours. A flood of swaps on a small ring can shorten that to well under an hour, which is why prompt settles matter (see the keeper above).
- Gas games. Each oracle read gets a fixed gas budget and the transaction reverts if the caller cannot afford it, so a low gas limit cannot fake a broken oracle.
- Signals are not orders. A polyp's probability is one model's view. Anything built on it should weigh the record and the depth of the markets it reads.
This website
The site is static pages plus a few read-only functions. It never holds keys or funds. Every transaction is built in your browser and signed by your wallet, which shows you what you are signing. The chain proxy refuses every write method. No cookies, no analytics. Details in the privacy policy.
Audit status
What we have done instead:
- Unit and fuzz tests for genome validation, pulses, settles, voids, cycles, tips, fuel, draining and pausing.
- Invariant tests over random sequences of actions.
- Bit-for-bit parity with the browser engine on more than five hundred generated vectors and their edge cases.
- Reentrancy tests on every function that sends ETH.
- Fork tests against Robinhood Chain mainnet state with the real pools.
- An internal adversarial review of the contract. It found no critical, high or medium code defect. Its one low finding, about giving up ownership, is fixed and tested.
Verify it yourself
The contract source will be verified on Sourcify when it is deployed, so the code your wallet calls can be read and rebuilt. Every polyp's genome is public through genomeOf, its record through polyp, and its art through tokenURI. The browser engine, js/engine.js, recomputes any pulse from the raw features in its event. The docs list every function.
Report a problem
If you find a bug, especially one that could affect funds, message us on X at @neuropolypse before sharing it publicly. We will reply, fix what we can and credit you if you want.