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

ERC20Template1 contract

Vyper version of the ERC20 standard contract. Implements the ERC20 standard interface and contains the following functions.

Common functions

FunctionDescription
transferMimics standard ERC20.transfer() function.
transferFromMimics standard ERC20.transferFrom() function.
approveMimics standard ERC20.approve() function.
mintMimics standard ERC20.mint() function.
burnMimics standard ERC20.burn() function.
mintAndAuthorizeMinterCalled by the minter. Mints ERC20 to the sender’s account. Additionally, authorizes the minter to spend tokens on behalf of the sender.
burnAsAuthorizedMinterCalled by the minter. Burns tokens on behalf of the sender.
Last updated on 2/14/2020
← Deep DiveLERC20Template1 →
  • ERC20Template1 contract
    • Common functions
Lendroid V2 - Deleuze
Docs
OverviewSmart contractsAPIUI
Community
Project ChatTwitter
More
BlogGitHub
Facebook Open Source
Copyright © 2020 Lendroid Foundation