Skip to main content

IReserveStabilizer

Functions

exchangeFei

function exchangeFei(
uint256 feiAmount
) external returns (uint256)

Parameters

NameTypeDescription
feiAmountuint256

setUsdPerFeiRate

function setUsdPerFeiRate(
uint256 exchangeRateBasisPoints
) external

Parameters

NameTypeDescription
exchangeRateBasisPointsuint256

usdPerFeiBasisPoints

function usdPerFeiBasisPoints() external returns (uint256)

getAmountOut

function getAmountOut(
uint256 amountIn
) external returns (uint256)

Parameters

NameTypeDescription
amountInuint256

Events

FeiExchange

event FeiExchange(
address to,
uint256 feiAmountIn,
uint256 amountOut
)

Parameters

NameTypeDescription
toaddress
feiAmountInuint256
amountOutuint256

UsdPerFeiRateUpdate

event UsdPerFeiRateUpdate(
uint256 oldUsdPerFeiBasisPoints,
uint256 newUsdPerFeiBasisPoints
)

Parameters

NameTypeDescription
oldUsdPerFeiBasisPointsuint256
newUsdPerFeiBasisPointsuint256