Launch app

Docs / Protocol

Staking

Staking is built into the venue. There is no separate rewards contract.

  • stake(amount) moves tokens in; unstake(amount) moves them out. No lockup, no cooldown.
  • Each distribution adds share × 1e18 / totalStaked to a running accumulator. Your reward is your stake times the growth of that accumulator since your last action.
  • claimRewards() moves what you have earned into your free USDG vault balance, from where you can withdraw it.

The token

The staking token is set once by the owner with setStakeToken and can never be changed. It cannot be USDG or a listed stock. The token is not launched yet; until it is set, every fee goes to the treasury.

A known property

Because rewards are paid per settlement to whoever is staked at that moment, a stake placed just before a large settlement earns its share of it. This is the usual behaviour of accumulator staking and is not prevented in version 1.