TrustBonding
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. 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
How rewards are computed
Rewards for epoch n use four inputs.
- Epoch budget. The scheduled emissions for the epoch,
maxE(n). - System utilization ratio (SUR). Net deposits into MultiVault across the network during epoch
n, compared with the total rewards claimed for epochn − 1. The budget actually available ismaxE(n) × SUR. - Your share. Your veTRUST at the end of epoch
n, divided by total veTRUST at that time. - Personal utilization ratio (PUR). Your own net deposits during epoch
n, compared with the rewards you claimed for epochn − 1.
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
| 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.
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 agentBuild a read-only reward status checker
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.
Paste this into your coding agent. It points the agent at the Markdown version of each page and leaves every signature to you.
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. 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 · Protocol wrappers · SDK actions
Related
- Emissions sets the epoch budget.
- MultiVault records the utilization that drives both ratios.
- TRUST token explains how to wrap native TRUST into WTRUST.
Applies to V2 · @0xintuition/protocol 4.1.0 · @0xintuition/sdk 4.1.0