Testnet on Base Sepolia: 1 ZRO here is 0.0001 test ETH.
Docs · Staking

Docs · For traders

Staking

Stake the Submarine token on the Staking page and earn ZRO. The treasury pays it in, and each payment streams out to stakers over seven days. There is no lockup. Stake or hold enough of the token and your trades pay no terminal fee either.

How it works

WhatHow
What you stakeThe Submarine token, the platform token. Nothing else can be staked
What you earnZRO, paid in by the treasury, and by anyone else who sends some
How it is paidEach payment streams out second by second over the next seven days, to whoever is staking, by stake
LockupNone. Take any amount out at any time
ClaimingAny time. What you earned stays yours after you unstake
Fee-free tradingAt or above the threshold, staked and held together, your trades pay no Submarine cut
Staking opens when the Submarine token launches. The staking contract is deployed with the rest, and its token is set once the Submarine token is out. Until then the page says so, and there is nothing to stake.

Staking, step by step

  1. Open Staking with the Submarine token in your wallet.
  2. Enter an amount and press Stake. The first time, the site sends an approval for the staking contract first, then the stake.
  3. Watch Earned grow. The panel also says about how much your stake earns a day at the current rate.
  4. Press Claim whenever you like, and Unstake any amount at any time.

Where the rewards come from

The treasury, the BuybackVault, receives Submarine's whole cut of every trade. Besides buying the Submarine token back and burning it, the one other thing it can do with ZRO is send it to the staking contract. Each time is capped at a tenth of its balance, at most once an hour, counted apart from the buybacks. Submarine's keeper sends a twentieth of the treasury each hour, right after that hour's buyback. See The hourly round.

Anyone else may add to the rewards too, by calling fund with ZRO. It streams out the same way.

The seven-day stream

A payment doesn't land all at once. The contract adds it to whatever is still streaming and pays the total out evenly over the next seven days. Each second's share goes to the stakers of that second, by stake, so staking just before a payment earns no more than staking any other time.

  • 700 ZROPaid in on day 0: 100 ZRO a day for seven days
    • 10 ZROA day to a staker with 10% of everything staked
  • 700 ZROPaid in again on day 3, with 400 ZRO still to stream
    • 157.14ZRO a day from then on, 1,100 ZRO over the next seven days
Figure 1. Every payment restarts a seven-day stream that carries what was left of the last one.

While nobody stakes, the stream waits instead of running out: its end moves later by the time that passed, so no payment is lost. Rounding is always down, so what the contract owes never exceeds what was paid in.

The APR on the page

The page works an APR out from the last seven days: the ZRO paid in today and on the six days before, in UTC days, times 52, over what everything staked is worth at the Submarine token's price now. It moves with the treasury's income and the token's price, so it is a guide and not a promise. The page also shows how much is staked, what is streaming this week and until when, and what has been paid out of what was paid in.

Trading with no terminal fee

The staking contract also says who trades without Submarine's cut. A wallet is fee-free while what it has staked, or what it has staked and holds in the wallet together, is at least the threshold the owner sets. Holding enough without staking counts too. The router asks before every trade, so it applies from the moment you reach it and stops the moment you drop below.

  • A fee-free trade pays no Submarine cut on the curve, the pool, or other launchpads' venues through the router. The creator's 0.6% and own fee are still paid. See Fee-free wallets.
  • On a token with no own fee that is 0.6% a trade instead of 1%.
  • The threshold starts at zero, which means nobody is fee-free. The page says when it is switched on, and how many more tokens you need.
  • The owner can change the threshold at any time. That is the only setting staking has besides its token.

Rules

  • The token is set once and can never change.
  • The owner can't move anyone's stake or the ZRO waiting to be paid out. There is no function that would.
  • Claims always pay the staker. Anyone may call claimFor(staker) and pay the gas.
  • Staked coins sit in the staking contract, which never earns holder rewards and is exempt from any max wallet.
  • The figures are public: /api/v1/staking and /api/v1/staking/<wallet> in the API, and every function on the contract reference.