Integration Notes
Integration Notes
Section titled “Integration Notes”When extending the staking UI, preserve these protocol rules:
- Controller proxy is the stable controller address. Never direct normal frontend writes to the implementation address.
- Lens owns detailed read views.
accountView()andearnedWater()are Lens calls and take the controller address as an argument. - Flexible and Locked are independent. Never infer that adding to Locked means moving the entire Flexible balance.
- Normal withdrawal is Flexible-only. Locked early exit is a distinct path.
- Compounding requires an explicit destination. Do not silently choose Flexible or Locked for the user.
- BNB compound needs slippage/deadline protection. Do not submit zero minimum output.
- Production is Mainnet-only. Chain 97 data in source is development context, not a live network option.
- Do not turn RPC uncertainty into a false hard failure. Readiness should distinguish missing data from an actually failed invariant.