Lendroid V2 - Deleuze

Lendroid V2 - Deleuze

  • Docs
  • API
  • UI

›Deep dive

Overview

  • Overview
  • Terminology
  • V2 Contracts
  • V2 Players

Deep dive

  • Deep Dive
  • ERC20Template1
  • LERC20Template1
  • ERC20PoolTokenTemplate1
  • MultiFungibleTokenTemplate1
  • ProtocolDAO
  • PoolNameRegistryTemplate1
  • CurrencyDAO
  • ERC20TokenPoolTemplate1
  • InterestPoolDAO
  • InterestPoolTemplate1
  • UnderwriterPoolDAO
  • UnderwriterPoolTemplate1
  • MarketDAO
  • PositionRegistryTemplate1
  • SimplePriceOracleTemplate1
  • SimpleCollateralAuctionGraph1
  • ShieldPayoutDAO
  • Sequence Diagrams

Examples

  • Library documentation
  • Wallet documentation

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

FunctionParamsDescription
initializeconstructor_paramsCalled only by the CurrencyDao when a new ERC20 Token is supported by the protocol. The LToken is then deployed and initialized.
References: CurrencyDao
Last updated on 2/14/2020
← ERC20Template1ERC20PoolTokenTemplate1 →
  • LERC20Template1 contract
    • Dao-only
Lendroid V2 - Deleuze
Docs
OverviewSmart contractsAPIUI
Community
Project ChatTwitter
More
BlogGitHub
Facebook Open Source
Copyright © 2020 Lendroid Foundation