Reinvesting, and what it costs.

A cycle ends and stops. Starting the next one is always your transaction, and there are two ways to send it. They differ in what they spend, not in what they earn.

The short version

  • compoundRewards turns a claimable balance into a new position without an approval and without new USDT.
  • A fresh deposit is the other route and costs two transactions: the approval, then the deposit.
  • Both charge 6%, and in both cases the fee leaves the pool rather than the position, which is recorded in full.
  • The plan id runs 0 to 3, the minimum is 1 USDT, and an address can hold 400 positions.
  • The new term starts from scratch and has no early exit, so compounding locks money that was free.

Two routes into a new position

compoundRewards takes money that is already inside the contract, your claimable balance, and opens a new position with it. No USDT leaves your wallet and no approval is needed, because nothing is being transferred in.

deposit is the other route: new USDT from your wallet, which means an approval first and then the deposit itself. Two transactions instead of one.

Both charge the same 6% service fee, and in both cases the fee is taken from the liquidity pool rather than deducted from the position, which is recorded at the full amount. The real difference is gas and the approval step.

Compounding

The same balance the claim would pay out, pointed at a new plan instead.

  1. 01

    Check the balance

    getAvailableRewards gives the amount available to compound. It is the same figure a claim would pay, so the choice is between taking it out and putting it back to work.

  2. 02

    Pick the plan

    compoundRewards takes an amount and a plan id: 0 for Sprint, 1 for Accelerate, 2 for Power, 3 for Ultimate. The new position is independent of the one the money came from.

  3. 03

    Send one transaction

    Zero as the amount compounds the whole available balance. The contract settles your positions first, deducts nothing from the amount and opens the position at its full size.

  4. 04

    The term starts over

    The new position is locked for its own full duration from this moment. Compounding does not extend a plan. It starts another one, with its own maturity date.

The limits

  • Minimum compound 1 USDT
  • Compound everything amount = 0
  • Plan ids 0 to 3
  • Positions per address 400 maximum
Compounding locks money that was free a moment ago. The balance you compound is the one part of a Loop Plan you could have withdrawn, and the new term has no early exit either.

If the transaction reverts

The same named errors as a claim, plus the two that belong to opening a position.

NoRewards
The claimable balance is zero. A running plan accrues into the position, not into this balance.
BelowMinimum
The amount is under 1 USDT.
InvalidPlan
The plan id is outside 0 to 3.
MaxPositions
The address already holds 400 positions, which is the contract limit.