Constructor
), in case you choose to use it:setactive
function is used to change the status of the Extension. The active status allows the Extension to perform contract operations. Init
functionaddress
setHost
setActive
setEntry
setEntry
of the contract to create/update a contract directly from the extensionreceiveTokens
amountsToMint []=0
), the function calls internally the safeTransfer
to transfer the tokens to the extension. If they are minted ( so amountsToMint [] >0
), the function calls internally the _mintAndTransfer
to mint the required amount and sends them to the contract.flushBack
address(es)
deactivationByFailure
_mintAndTransfer
IERC20 mint
method on the ERC20 token address
passed._burn
function. This function is used when a burn operation is performed (address receiver passed as address(0
) in the FixedInflationOperation
.IERC20 burn
method on the ERC20
input/output token address
passed.