SMART CONTRACTS
← Contract catalogCircuitBreakerAMM
A liquidity pool with controls responding to price movements.
Role and use
Use a pool for token-pair swaps with configurable movement-related controls.
Integration considerationsConfigure liquidity, fees and circuit conditions. These controls do not eliminate loss or liquidity risk.
Key contract operations
Key entry points for direct contract calls. Consult the linked implementation and matching ABI for parameters, types and access conditions.
| Operation | Purpose |
|---|---|
getReserves | Read pool reserves |
quoteOut | Quote swap output |
swapExactToken0ForToken1 | Swap token0 for token1 |
updateParams | Update pool control parameters |
Related contracts
Put it into practice
Payments & connected services
See the data model, processing sequence and SDK code for an application-level implementation.
Read the implementation patternSpecification and source
The Solidity source is pinned to the revision below. Match it with the SDK version and your network’s implementation address and ABI.
circuitbreaker-amm/contracts/CircuitBreakerAMM.solSource revision: b53a5b5