Skip to main content

MockRateLimitedMinter

Functions

constructor

function constructor(
address _core,
uint256 _feiLimitPerSecond,
uint256 _mintingBufferCap,
bool _doPartialMint
) public

Parameters

NameTypeDescription
_coreaddress
_feiLimitPerSeconduint256
_mintingBufferCapuint256
_doPartialMintbool

setDoPartialMint

function setDoPartialMint(
bool _doPartialMint
) public

Parameters

NameTypeDescription
_doPartialMintbool

mint

function mint(
address to,
uint256 amount
) public

Parameters

NameTypeDescription
toaddress
amountuint256