IReserveStabilizer
Functions
exchangeFei
function exchangeFei(
uint256 feiAmount
) external returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
feiAmount | uint256 |
setUsdPerFeiRate
function setUsdPerFeiRate(
uint256 exchangeRateBasisPoints
) external
Parameters
Name | Type | Description |
---|---|---|
exchangeRateBasisPoints | uint256 |
usdPerFeiBasisPoints
function usdPerFeiBasisPoints() external returns (uint256)
getAmountOut
function getAmountOut(
uint256 amountIn
) external returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
amountIn | uint256 |
Events
FeiExchange
event FeiExchange(
address to,
uint256 feiAmountIn,
uint256 amountOut
)
Parameters
Name | Type | Description |
---|---|---|
to | address | |
feiAmountIn | uint256 | |
amountOut | uint256 |
UsdPerFeiRateUpdate
event UsdPerFeiRateUpdate(
uint256 oldUsdPerFeiBasisPoints,
uint256 newUsdPerFeiBasisPoints
)
Parameters
Name | Type | Description |
---|---|---|
oldUsdPerFeiBasisPoints | uint256 | |
newUsdPerFeiBasisPoints | uint256 |