Skip to main content

RateLimitedMinter

Functions

constructor

function constructor(
uint256 _feiLimitPerSecond,
uint256 _mintingBufferCap,
bool _doPartialMint
) internal

Parameters

NameTypeDescription
_feiLimitPerSeconduint256
_mintingBufferCapuint256
_doPartialMintbool

_mintFei

function _mintFei(
address to,
uint256 amount
) internal

override the FEI minting behavior to enforce a rate limit

Parameters

NameTypeDescription
toaddress
amountuint256