Skip to content

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-config

Response

json
{
  "bMaxWad": "5000000000000000000",
  "weightThreshold055Wad": "550000000000000000",
  "weightThreshold065Wad": "650000000000000000",
  "wrrWeightMaxWad": "850000000000000000",
  "fPowExponentWad": "1000000000000000000",
  "fPowMultiplier": "5"
}

Fields

FieldTypeDescription
bMaxWadstringMaximum reward basis points (WAD). 5e18 = 5 bps max
weightThreshold055WadstringLower weight threshold for WRR curve
weightThreshold065WadstringUpper weight threshold for WRR curve
wrrWeightMaxWadstringMaximum weight for WRR calculation (0.85 = 85%)
fPowExponentWadstringExponent for the F-power curve
fPowMultiplierstringMultiplier 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:

  1. Weight Breaking Fee (WBF): Penalizes trades that move pool weights further from targets
  2. 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.