Language
Solidity
Total Length
1.3h
Part of Learning Track
Build on Ethereum + 1
What You’ll Learn
Implementation of setting token prices, minting stablecoins with preconditions, and defining functions for burning stablecoins
mint
burn
collateralization ratio
Syllabus
Price Oracle
Develop a function to inform the contract about the current price of the collateral.
Collateralization Ratio
Define and set up the collateralization ratio, a crucial metric for the stability of the contract.
MintStableCoin - Section 1
Begin the process of writing the 'mintStableCoin' function, focusing on its initial development.
MintStableCoin - Section 2
Finalize the 'mintStableCoin' function, ensuring its complete functionality for issuing stablecoins.
BurnStableCoin - Section 1
Start writing the 'burnStableCoin' function, laying the groundwork for coin destruction mechanisms.
burnStableCoin - 2
Complete the 'burnStableCoin' function, enabling the burning of StableCoins within the contract.
Language
Solidity
Total Length
1.3h
Part of Learning Track
Build on Ethereum + 1