Interactions
setBounds
Updates the bounds for a specific parameter. Only callable by the Keeper (Governor role).
function setBounds(ParamKey key, Bounds calldata newBounds) external;
Parameters
Name
Type
Description
key
ParamKey
The parameter key to update (A, SwapFee, MintFee, etc.)
newBounds
Bounds
The new bounds structure containing max, min, and percentage limits
aParams
Returns the bounds for the amplification coefficient - most commonly queried parameter.
function aParams() external view returns (Bounds memory);swapFeeParams / mintFeeParams / redeemFeeParams
Returns bounds for fee parameters - commonly needed for fee calculations.
function swapFeeParams() external view returns (Bounds memory);
function mintFeeParams() external view returns (Bounds memory);
function redeemFeeParams() external view returns (Bounds memory);Data Structures
Bounds Structure
ParamKey Enum
Last updated