Configuration
GET /wbr-config
Returns the Weight Breaking Reward (WBR) configuration. WBR incentivizes trades that rebalance pools toward target weights.
bash
curl https://mainnet.api.ryze.pro/api/wbr-configResponse
json
{
"bMaxWad": "5000000000000000000",
"weightThreshold055Wad": "550000000000000000",
"weightThreshold065Wad": "650000000000000000",
"wrrWeightMaxWad": "850000000000000000",
"fPowExponentWad": "1000000000000000000",
"fPowMultiplier": "5"
}Fields
| Field | Type | Description |
|---|---|---|
bMaxWad | string | Maximum reward basis points (WAD). 5e18 = 5 bps max |
weightThreshold055Wad | string | Lower weight threshold for WRR curve |
weightThreshold065Wad | string | Upper weight threshold for WRR curve |
wrrWeightMaxWad | string | Maximum weight for WRR calculation (0.85 = 85%) |
fPowExponentWad | string | Exponent for the F-power curve |
fPowMultiplier | string | Multiplier for the F-power curve |
All values are nullable (returned as null if not configured).
WBR Overview
The Weight Breaking Reward system has two components:
- Weight Breaking Fee (WBF): Penalizes trades that move pool weights further from targets
- Weight Breaking Reward (WBR): Incentivizes trades that restore pool balance
The fee/reward amount depends on:
- How far the current weight is from the target weight
- The size of the trade relative to pool liquidity
- The WBR configuration parameters (anchors, thresholds, multipliers)
Trades that improve pool balance can receive a reward (paid from the WBR treasury), while trades that worsen imbalance pay an extra fee.