Earn USDG

Energy

Stake ENERGY you are not using yet and earn a share of the USDG from every Energy purchase. Your ENERGY is never sold and comes back in full. 

Pool stats · live from the chain

// 01 · HOW IT WORKS

Stake once, earn on every purchase

01

Hold ENERGY

Stake STARDUST and claim, or buy with USDG. Either way ENERGY lands in your wallet.

02

Stake it in the pool

Deposit any amount. Each deposit locks your pool stake for 24 hours.

03

Earn USDG

Every Energy purchase sends a share of its USDG to the pool, split by how much each staker has in.

04

Claim or withdraw

Claim USDG any time. After the 24 hours, take your ENERGY back in full.

// 02 · ON-CHAIN FLOW

Where the USDG goes

The EnergyStore pays the pool in the same transaction as the purchase. The pool books it per staked ENERGY, so your earnings grow the moment someone buys.

Sequence · stake, earn, claimswipe →

You

staker

Liquidity pool

EnergyLiquidityPool

EnergyStore

buy()

Buyer

any wallet

1

deposit(amount)locked 24 h

2

buy(USDG)

3

stakers' share of the USDG1–10%

4

distribute()

5

add to USDG per staked ENERGYyour part = your stake ÷ total

6

claim()any time

7

your USDG

8

withdraw(amount)after the lock

9

your ENERGY, in full

call payout / reply you smart contract off-chain

Holds staked ENERGY and shares every USDG it receives from the EnergyStore between stakers, pro rata.

Functions

  • deposit(uint256 amount)

    Stake ENERGY (needs an allowance). Locks your stake for 24 hours.

  • withdraw(uint256 amount)

    Take ENERGY back after the lock, plus any USDG earned.

  • claim()

    Collect your USDG earnings, any time.

  • earned(address) · stakeOf(address) · unlockAt(address)

    What you can claim, what you staked and when it unlocks.

Guarantees

  • No owner and no admin functions: nobody can pause it or move your ENERGY.
  • Your ENERGY is never sold: you withdraw exactly what you staked.
  • Every USDG that arrives is booked to stakers; none is kept by the contract.
  • The lock is 24 hours, fixed in the code.

// 04 · FAQ

Questions

Is my ENERGY sold to buyers?

No. Buyers get newly minted ENERGY from the EnergyStore. The pool never sells, swaps or lends your ENERGY: the amount you staked is exactly the amount you withdraw.

How much do I earn?

For every purchase, the stakers' share (shown live above) of the USDG goes to the pool and is split by stake: your ENERGY ÷ all ENERGY staked. More purchases means more USDG; more stakers means each one gets a smaller part.

Can the share change?

The Stardust team can set it between 1% and 10% in the EnergyStore contract, never outside that range. A change only applies to purchases made after it, and this page always shows the current value read from the chain.

What happens if nobody stakes?

Then there is nobody to pay, so the whole purchase goes to the Stardust treasury and no USDG is left stuck in the pool.

Can I use pool ENERGY for the API?

Not while it is staked. Withdraw it to your wallet and deposit it in the Energy Vault to spend it on requests.

Who controls the pool?

Nobody. The pool contract has no owner and no admin functions: no one can pause it, move funds or change your stake.

How the Energy Vault works