Periphery
Venus Protocol periphery contracts extend the lending markets with product workflows, swap execution, price-deviation monitoring, and emergency controls. They are separate contracts with their own upgrade, ownership, signer, or Access Control Manager (ACM) trust boundaries.
Version scope: These references follow the stable
venus-peripheryv1.2.0 release, except EBrake, which follows v1.3.0. Most deployed components are upgradeable proxies, whileSwapHelperand PositionAccount implementations use different deployment patterns. Use the deployed-contract registry to find an address, then verify its current implementation and configuration on the relevant explorer before integrating or granting approvals.
Overview
Section titled “Overview”The public references cover the following systems:
- RelativePositionManager — orchestrates Venus Trade positions and deterministic PositionAccount clones on BNB Chain.
- LeverageStrategiesManager — enters and exits leveraged positions using Core Pool flash loans on BNB Chain.
- SwapHelper — executes backend-signed batches of approvals, arbitrary calls, and token sweeps for BNB trading flows.
- SwapRouter — swaps an input token and supplies or repays through BNB Core Pool markets.
- DeviationSentinel — compares configured oracle and DEX prices and routes qualifying incidents to EBrake on the networks listed in the registry.
- EBrake — exposes selected tighten-only Comptroller actions, and from v1.3.0 Liquidity Hub pauses, to explicitly authorized incident-response callers.
Key Features
Section titled “Key Features”- Flash-loan-based atomic leverage execution
- EIP-712 authorization for SwapHelper call batches
- EIP-1153 transient callback state in LeverageStrategiesManager
- Post-operation account-liquidity validation
- Caller-selected output floors for quoted swap paths; full-repayment SwapRouter paths instead bound token input with
maxAmountInormsg.value - On-chain deviation checks and restricted emergency parameter tightening
Deployment
Section titled “Deployment”The trading contracts are deployed on BNB Chain. DeviationSentinel and EBrake also have deployments on selected additional networks. See Deployed Contracts for the current published network and address list; a contract’s presence in source does not establish that it is deployed on every Venus network.