# The DeFi Ecosystem and Application Stack **Published by:** [CryptoNotes](https://paragraph.com/@cryptonotes-3/) **Published on:** 2022-05-31 **URL:** https://paragraph.com/@cryptonotes-3/the-defi-ecosystem-and-application-stack ## Content The DeFi stack layersSettlement Layer where transactions are ultimately settledDeFi’s Layer 1 (L1)the foundation for all activities in a decentralized ecosystemthe underlying blockchain, as well as its native asset (example: Ethereum/Ether)Store information, value, and ownership securely Ensure that status changes (balances, ownership, etc) follow the blockchain’s rules Enable trustless executionAsset Layer includes all tokens used in DeFi appsrefers to both the native (L1) & non-native assetsNative tokens • They are the lifeblood of the L1 blockchain, underpinning its basic functions and fueling all apps built on itNon-native tokens • All other tokens used in specific applications, serving different functions.Each L1 blockchain has its own rules for token issuance, encapsulated in standardsExample: Ethereum non-native token standards:ERC20 • The most widely used standard API for fungible tokens on the Ethereum blockchain. • All units of a fungible token are interchangeable and have the same value. ERC721 • The standard for non-fungible tokens (NFT) issued on the Ethereum blockchains. • Unlike their fungible counterparts, ERC721 tokens are unique and non-divisible. ERC1155 • A newer standard, supporting fungible, semi-fungible and non-fungible tokens under a single set of rules, aiming to minimize computational overhead and provide a gas-efficient token contract for developers.list of all Ethereum token standards: https://github.com/PhABC/ethereum-token-standards-list Governance Tokens Allowing collective ownership & decision making of DeFi protocols. Only governance token holders can submit and vote on protocol governance proposals. (in order: UNI, ENS, APE, CAKE, OP)Liquidity Provider (LP) Tokens LP tokens represent shares in liquidity pools, used in decentralized exchanges (and elsewhere).Protocol Layer where most DeFi apps lieincludes the core functionality of dAppsdApps are implemented as smart contracts These contracts are typically interacted with by users in a standard Web2 interface. This interface is part of the next layer (Application Layer).includes smart contracts for things like: • Decentralized exchanges • Lending and borrowing • Derivatives • and much moreApplication Layerfront-end layer that provides easy access to DeFi smart contracts. Important: Web front-ends are a way to access DeFi apps; they are not the apps themselves!Aggregation Layercombine several DeFi protocols for convenience, comparability and crossfunctionality, in a single accessis an extension of the application layerExamples • Zapper (DeFi portfolio management) • 1inch (decentralized exchange aggregator)Composability in DeFiComposability in Decentralized Finance is the ability of dApps to interact with each other in a permissionless manner.This is also known as the Money Lego aspect of DeFi.Web2 apps are not composable; DeFi apps are.Money legos allow for innovation & explosive growthThoughtsBitcoin Layer 1 does not support smart contracts so it is not suitable for DeFi. Future Layer 2 might add this funcionality.There is still a lot to be done around bridges between Blockchains. ## Publication Information - [CryptoNotes](https://paragraph.com/@cryptonotes-3/): Publication homepage - [All Posts](https://paragraph.com/@cryptonotes-3/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@cryptonotes-3): Subscribe to updates