pragma solidity ^0.8.10;
import "./CTokenInterfaces.sol";
* Compound's CErc20Delegator Contract
* CTokens which wrap an EIP-20 underlying and delegate to an implementation
* Compound
contract CErc20Delegator is CTokenInterface, CErc20Interface, CDelegatorInterface {
* Construct a new money market
* underlying_ The address of the underlying asset
* comptroller_ The address of the Comptroller
* interestRateModel_ The address of the interest rate model
* initialExchangeRateMantissa_ The initial exchange rate, scaled by 1e18
* name_ ERC-20 name of this token
* symbol_ ERC-20 symbol of this token
* decimals_ ERC-20 decimal precision of this token
* admin_ Address of the administrator of this token
* implementation_ The address of the implementation the contract delegates to
* becomeImplementationData The encoded args for becomeImplementation
constructor(address underlying_,
ComptrollerInterface comptroller_,
InterestRateModel interestRateModel_,
uint initialExchangeRateMantissa_,
string memory name_,
string memory symbol_,
uint8 decimals_,
address payable admin_,
address implementation_,