How Onepot works

Onepot is one contract on Base. You deposit USDC; it earns yield on Aave; only that yield buys entries in Megapot's daily draw. Your deposit is never spent on entries and you can take it back whenever you want. This page explains the mechanism precisely, including the parts that are unflattering.

The flow

  1. You deposit USDC. In the same transaction it is supplied to Aave V3. Your principal is recorded against your address.
  2. It earns yield. Sitting in Aave, your deposit accrues interest continuously. Nothing else happens to it.
  3. Once a day, the yield is harvested. Only the interest - never principal - is withdrawn and used to buy entries in that day's Megapot draw.
  4. The draw settles. Small wins are recycled into more entries. A jackpot is set aside for the depositors who funded that day's entries.
  5. You claim, or you leave. A reserved prize is yours to claim whenever. Your principal is withdrawable at any moment, prize or no prize.

Depositing

A deposit is one transaction from your wallet to the contract. The minimum is $1. There is no account, no signup, and no intermediary holding your funds at any point - the contract has no function that lets anyone move your principal except you.

The first time you deposit you also sign a short acknowledgment (free, no gas). See the signature below.

Your credited principal can be one unit (0.000001 USDC) below what you typed. Aave rounds the amount it credits down, and the contract records what Aave actually backed rather than what you asked for - so the vault never promises more than it holds.

How entries are funded

The contract computes its available yield as the Aave balance minus everyone's principal. That difference - and only that - buys entries. This is enforced by the code, not by policy: the buying path can never reach principal.

An entry costs about $1, so the vault only buys when accumulated yield crosses that. At small size this takes a while:

Total depositedRoughly one entry every
$1003 months
$1,0001 week
$10,0001 day
$100,00010 per day

Illustrative, at an Aave supply rate around 4–5%. The real rate moves, and Megapot sets the entry price.

Who wins what

When entries are bought, the contract takes a snapshot of who held principal at that moment. That group - the cohort - owns any jackpot those entries win, split in proportion to what each held.

The snapshot is taken from balances that had already matured, so a deposit made moments before a purchase does not qualify for it. This is deliberate: without it, someone could deposit a large amount seconds before a draw and dilute everyone who actually funded the entries.

Wins below the jackpot tier are not distributed. They go back into buying more entries for everyone. This is the single most important thing to understand about the product: you receive USDC only when a jackpot is hit while you are staked.

Claiming

A jackpot is claimed from Megapot into the contract, attributed to the cohort that funded it, and held in reserve. Your share then sits there until you take it - there is no deadline, and leaving the vault does not forfeit it. A prize you were owed in March is still claimable in December, from an address that withdrew everything in April.

Withdrawing

Withdrawing is one transaction and pays out immediately. There is no queue, no notice period, no approval, and no upper limit. Neither the contract owner nor anyone else can pause, delay, or block it - the withdraw path is deliberately exempt from every administrative control in the contract.

The one thing that can interfere is Aave itself: your USDC physically lives there, so if Aave were paused or fully drained of liquidity, the withdrawal would revert until that clears. That is a dependency you are taking on, not a discretion anyone holds.

The keeper

Someone has to trigger the daily cycle: harvest, buy, claim, finalise. That job is permissionless - every one of those functions can be called by anyone, and the address calling them has no privileges whatsoever. A bot does it hourly; if it stopped, any depositor could call the same functions and nothing would be lost.

One timing rule matters: a jackpot must be claimed within three days of the entries being bought. After that window the epoch can be finalised, and a late claim is recycled into future entries instead of paid to that cohort. The money stays in the vault either way.

The signature

Before your first deposit you sign an acknowledgment. The wording is served at onepot.app/terms.txt, and a hash of that exact file is stored inside the contract.

The interface fetches the document, hashes it, and compares it to what the contract holds. If they differ it refuses to let you sign. This means you cannot be shown one text and made to agree to another.

Your signature is carried inside the deposit transaction itself, so it becomes a permanent public record on Base of what you agreed to and when. Anyone can verify it later without trusting this website.

Honest economics

The contract charges no fee. There is no fee function in it at all. But "no fee" is not "no cost", and you should understand where value goes:

  • Your yield is spent on entries. Lottery entries are negative expected value. You are trading a small, steady return for a small chance at a large one.
  • Megapot pays a referral commission on every entry bought, including entries bought with recycled winnings, and takes a share of every prize claimed. Both go to the administrator address. Megapot sets these rates, not Onepot.
  • The realistic outcome is no payout. Jackpots are rare. Most depositors, most of the time, will withdraw exactly what they put in and nothing more.

What can go wrong

FailureWhat happens to you
A bug in this contractYou could lose everything. It has not been audited by a professional firm.
Aave is paused or illiquidWithdrawals revert until it recovers. Funds are not lost, but they are stuck.
Aave suffers a shortfallYour principal is reduced by whatever Aave fails to return.
Megapot pauses or failsEntries stop being bought. Deposits and withdrawals are unaffected.
Nobody runs the keeperThe cycle stalls. Anyone can restart it; withdrawals never depended on it.
A jackpot is claimed too lateIt is recycled into entries instead of paid to that cohort.

Read the full risks page before depositing. Treat this as experimental software and do not deposit money you cannot afford to lose entirely.

Reference

Network
Base mainnet · chain 8453
Asset
USDC (native Circle, 6 decimals)
Yield source
Aave V3
Draws
Megapot - independent third party
Minimum deposit
$1
Cycle
Once per day
Claim window
3 days after entries are bought
Protocol fee
None

Every number on this page can be checked against the contract itself. Nothing here is a promise - read the terms and the risks.