Back
Project

DAI - Part 3

In Part 3 of the DAI course, we will wrap up the stablecoin series with an explanation of how liquidation works in the DeFi context. After this series of lessons, we challenge you to build an even better stablecoin than DAI!

Languagesolidity
Skill LevelBeginner
Total Length1.5h

Intended Learners

Who’s This Course For

  • For developers who are interested in blockchain finance
  • For developers who are interested in decentralized stablecoins, especially DAI
  • For developers who are looking to learn Solidity programming applications

Requirements

  • Familiar with the ERC20 standard
  • Basic Solidity programming skills, with a recommendation to first complete Solidity foundational courses (at least Solidity 101 to 104)
  • Possess an Ethereum account, connected to both Mantle and a wallet, holding either Mantle tokens or test tokens (for those wishing to perform real on-chain operations, though deployment can also be done directly in a local environment if test tokens are not available)
  • Completed the content for courses DAI - collateral - 1 and DAI - collateral - 2

What You’ll Learn

  • Implementation of the liquidate function with condition checks to execute the liquidation process.
liquidate

Syllabus

  • Liquidate - Section 1

    Begin the development of the 'liquidate' function, initiating the key structure.


  • Liquidate - Section 2

    Continue the development of the 'liquidate' function, further refining its features and capabilities.


  • Liquidate - Section 3

    Complete the 'liquidate' function.

practice

DAI - Part 3

16 lessons
Access on mobile and desktop