---
title: TrustBonding
description: Lock WTRUST for veTRUST, compute each epoch's reward from voting power and utilization, and claim it in time.
url: https://docs.intuition.systems/docs/contracts/trust-bonding
markdown_url: https://docs.intuition.systems/docs/contracts/trust-bonding.md
version: V2
llms_index: https://docs.intuition.systems/llms.txt
kind: reference
reader:
  - app
  - agent
packages:
  - '@0xintuition/protocol@4.1.0'
  - '@0xintuition/sdk@4.1.0'
---

TrustBonding is where TRUST holders commit to the protocol. You lock WTRUST for a chosen period and receive **veTRUST**, a non-transferable, time-weighted voting balance. Each epoch, veTRUST earns a share of the newly [emitted TRUST](https://docs.intuition.systems/docs/contracts/emissions). Rewards are paid in native TRUST. On Intuition mainnet, TrustBonding lives at `0x635bBD1367B66E7B16a21D6E5A63C812fFC00617`.

## Lock and withdraw

TrustBonding is built on Curve's VotingEscrow. A lock's voting power starts at the locked amount scaled by the remaining time, then declines linearly toward zero as the unlock time approaches.

| Function | Notes |
| --- | --- |
| `create_lock(value, unlockTime)` | Locks `value` WTRUST, in 18-decimal base units, until a Unix timestamp. Approve TrustBonding to spend the WTRUST first. |
| `increase_amount(value)` | Adds WTRUST to an active lock. |
| `increase_unlock_time(unlockTime)` | Extends an active lock. |
| `deposit_for(account, value)` | Adds to another account's lock. The WTRUST is pulled from that account, not the caller. |
| `withdraw()` | Returns the whole principal after the lock expires. |

The unlock time is rounded down to a whole week. It must be at least `MINTIME`, which is 2 weeks, and at most `MAXTIME`, which is 730 days, from now. Read `getUserInfo(account)` for the lock end and bonded balance. A contract can lock only if the admin has added it to the whitelist. If the admin calls `unlock()`, every lock can be withdrawn immediately, and the change is permanent.

The SDK's claim-and-restake plan includes separate wrapping and allowance steps when needed. [Lock accounting](https://github.com/0xIntuition/intuition-contracts-v2/blob/82cfcdb832c100fd2e53ee3f474289ae14cc6020/src/external/curve/VotingEscrow.sol)

## How rewards are computed

Rewards for epoch `n` use four inputs.

1. **Epoch budget.** The scheduled emissions for the epoch, `maxE(n)`.
2. **System utilization ratio (SUR).** Net deposits into MultiVault across the network during epoch `n`, compared with the total rewards claimed for epoch `n − 1`. The budget actually available is `maxE(n) × SUR`.
3. **Your share.** Your veTRUST at the end of epoch `n`, divided by total veTRUST at that time.
4. **Personal utilization ratio (PUR).** Your own net deposits during epoch `n`, compared with the rewards you claimed for epoch `n − 1`.

```text
raw    = maxE(n) × SUR × yourVeTRUST(end of n) / totalVeTRUST(end of n)
reward = min(raw × PUR, epoch budget not yet claimed)
```

Both ratios work the same way. If net deposits are zero or negative, the ratio is its lower bound. If net deposits reach the target, meaning last epoch's claimed rewards, the ratio is 100%. In between, the ratio rises linearly from the lower bound to 100%. Both ratios are 100% in epochs 0 and 1. If your net deposits are positive but you claimed nothing for the previous epoch, PUR is 100% when you were not eligible for that epoch's rewards, and the lower bound when you were.

In practice, to keep your full reward, put at least what you claimed last epoch back into vaults during this epoch. [Reward calculation](https://github.com/0xIntuition/intuition-contracts-v2/blob/82cfcdb832c100fd2e53ee3f474289ae14cc6020/src/protocol/emissions/TrustBonding.sol)

| Mainnet parameter | Value |
| --- | --- |
| `systemUtilizationLowerBound` | 4,000 bps (40%) |
| `personalUtilizationLowerBound` | 2,500 bps (25%) |
| `epochLength` | 1,209,600 seconds (14 days) |
| `token()` | WTRUST, `0x81cFb09cb44f7184Ad934C09F82000701A4bF672` |

Values were read at Intuition mainnet block 12,026,592, during epoch 28. The Parameters TimelockController can change the lower bounds.

## Epochs and claims

| Question | Contract read |
| --- | --- |
| Which epoch is open? | `currentEpoch()` and `epochTimestampEnd(epoch)` identify the epoch and its closing timestamp. |
| What weight did this account contribute? | `userBondedBalanceAtEpochEnd(account, epoch)` gives the account's snapshot. Compare it with `totalBondedBalanceAtEpochEnd(epoch)`. |
| What can this account claim now? | `getUserCurrentClaimableRewards(account)` estimates the previous epoch's claim. `hasClaimedRewardsForEpoch(account, epoch)` checks claim history. |

`claimRewards(recipient)` claims for the caller and sends the reward to the specified nonzero recipient. **A claim always covers the previous epoch.** During epoch 8, for example, it can claim epoch 7 once. There is no claim during epoch 0 and no parameter to claim an older epoch. A reward not claimed during the following epoch is forfeited and becomes [unclaimed emissions](https://docs.intuition.systems/docs/contracts/emissions#unclaimed-emissions).

A successful claim emits `RewardsClaimed(user, recipient, amount)`. The SatelliteEmissionsController pays it in native TRUST. The SDK exposes `trustBondingGetClaimActionState` for applications deciding whether to show the claim action.

**Prompt for your agent:** Build a read-only reward status checker

```text
Goal: build a read-only checker that shows the reward status of a TrustBonding account.
Read https://docs.intuition.systems/docs/contracts/trust-bonding.md and https://docs.intuition.systems/docs/contracts/emissions.md.
Network: Intuition mainnet, chain 1155. Check the RPC chain ID first.
Input: an account address.
Show the current epoch and when it ends, the lock amount and end, the reward claimable now for the previous epoch, and whether it was already claimed.
Explain the system and personal utilization ratios that apply, using the lower bounds read from the contract.
Read only. Do not prepare or send a claim.
Report the checks you actually ran and anything you could not verify.
```

## Pausing

When TrustBonding is paused, new locks, lock changes and reward claims revert. `withdraw()` keeps working, so an expired lock can always be recovered.

## Governance voting power

On Intuition mainnet, veTRUST also gives holders veto weight in [governance](https://docs.intuition.systems/docs/contracts/governance). The weight is the holder's balance at the proposal snapshot, one second before creation. Adding a lock later does not change that proposal's weight. A veto blocks the DAO execution path. The admin multisig retains direct timelock execution.

[TrustBonding implementation](https://github.com/0xIntuition/intuition-contracts-v2/blob/82cfcdb832c100fd2e53ee3f474289ae14cc6020/src/protocol/emissions/TrustBonding.sol) · [Protocol wrappers](https://github.com/0xIntuition/packages/tree/ccae0f0d0277cddd8490b72c49d3771866e7ffea/packages/protocol/src/core/trustbonding) · [SDK actions](https://github.com/0xIntuition/packages/blob/ccae0f0d0277cddd8490b72c49d3771866e7ffea/packages/sdk/src/actions/trust-bonding.ts)

## Related

- [Emissions](https://docs.intuition.systems/docs/contracts/emissions) sets the epoch budget.
- [MultiVault](https://docs.intuition.systems/docs/contracts/multivault) records the utilization that drives both ratios.
- [TRUST token](https://docs.intuition.systems/docs/contracts/trust-token) explains how to wrap native TRUST into WTRUST.

Applies to V2 · `@0xintuition/protocol` 4.1.0 · `@0xintuition/sdk` 4.1.0
