Updates the mint fee on pool.
function setMintFee(uint256 newFee) external;
Parameters
The new mint fee value. Uses 10 decimal precision (denominator = 10^10). Examples: 1e6 = 0.01%, 1e7 = 0.1%, 1e8 = 1%
Access: Only GOVERNOR_ROLE
Pause mint/swap/redeem actions
function pause() external;
Access: Only GUARDIAN_ROLE
Unpause mint/swap/redeem actions
function unpause() external;
Access: Only PROTOCOL_OWNER_ROLE
Updates the redeem fee on pool.
Parameters
The new redeem fee value. Uses 10 decimal precision (denominator = 10^10). Examples: 1e6 = 0.01%, 1e7 = 0.1%, 1e8 = 1%
Access: Only GOVERNOR_ROLE
setOffPegFeeMultiplier
Updates the off peg fee multiplier of pool.
Parameters
The new off peg fee multiplier value
Access: Only GOVERNOR_ROLE
setExchangeRateFeeFactor
Updates the exchange rate fee factor of pool.
Parameters
The new exchange rate fee factor value
Access: Only GOVERNOR_ROLE
setBufferPercent
Updates the buffer percent
Parameters
The new buffer percent value
Access: Only GOVERNOR_ROLE
Updates the token symbol
Parameters
Access: Only GOVERNOR_ROLE
Updates the decay period
Parameters
The new decay period value
Access: Only GOVERNOR_ROLE
setRateChangeSkipPeriod
Updates the rate change skip period of pool.
Parameters
The new rate change skip period value
Access: Only GOVERNOR_ROLE
updateFeeErrorMargin
Updates the fee error margin of pool.
Parameters
The new fee error margin value
Access: Only GOVERNOR_ROLE
updateYieldErrorMargin
Updates yield error margin of pool.
Parameters
The new yield error margin value
Access: Only GOVERNOR_ROLE
Distribute losses by rebasing negatively
Access: Only GOVERNOR_ROLE
Set treasury address for accumulated fees.
Parameters
Access: Only GOVERNOR_ROLE
withdrawAdminFee
Send newly-minted SPA tokens to Treasury
Parameters
Amount of tokens to withdraw (18-decimals)
Access: Only GOVERNOR_ROLE
Allows to gradually ramp the A coefficient within allowed bounds
Parameters
Timestamp when ramping should complete
Access: Only CURATOR_ROLE
Allows to set MinRampTime
Parameters
The new minimum ramp time value
Access: Only GOVERNOR_ROLE
Allows governor to set the swap fee within allowed bounds
Parameters
The new swap fee value. Uses 10 decimal precision (denominator = 10^10). Examples: 1e6 = 0.01%, 1e7 = 0.1%, 1e8 = 1%
Access: Only GOVERNOR_ROLE
Allows guardians to cancel an ongoing A ramp in emergencies
Access: Only GUARDIAN_ROLE
Returns the ParameterRegistry address used for bounds checking.
Returns
The parameter registry address
getRampAController
Returns the RampAController address being managed.
Returns
The RampAController address
Returns the SelfPeggingAsset address being managed.
Returns
The SelfPeggingAsset address
Returns the SPAToken address being managed.
Returns
Last updated