Deep Dive
LERC20Template1 contract
ERC20 contract representing a Lendroid-wrapped Token. Implements the ERC20 standard interface and contains the same functions as the ERC20Template1 contract. The only differences are
- Token name is a string array of size 72 instead of 64. This is to accommodate the prefix
Wrapped
. Eg, Wrapped DAI. - Token symbol is a string array of size 33 instead of 32. This is to accommodate the prefix
L
. Eg, LDAI.
Dao-only
Function | Params | Description |
---|---|---|
initialize | constructor_params | Called only by the CurrencyDao when a new ERC20 Token is supported by the protocol. The LToken is then deployed and initialized. References: CurrencyDao |