mErc20Immutable
Inherits: mErc20
Title: mErc20Immutable
Author: Merge Layers Inc.
Immutable mErc20 contract
Functions
constructor
Constructs the new money market
constructor(
address underlying_,
address operator_,
address interestRateModel_,
uint256 initialExchangeRateMantissa_,
string memory name_,
string memory symbol_,
uint8 decimals_,
address payable admin_
) ;
Parameters
| Name | Type | Description |
|---|---|---|
underlying_ | address | The address of the underlying asset |
operator_ | address | The address of the Operator |
interestRateModel_ | address | The address of the interest rate model |
initialExchangeRateMantissa_ | uint256 | The initial exchange rate, scaled by 1e18 |
name_ | string | ERC-20 name of this token |
symbol_ | string | ERC-20 symbol of this token |
decimals_ | uint8 | ERC-20 decimal precision of this token |
admin_ | address payable | Address of the administrator of this token |
Errors
mErc20Immutable_AdminNotValid
Error thrown when admin is not valid
error mErc20Immutable_AdminNotValid();