COURSE OVERVIEW
What this course covers
Explore DeFi primitives such as decentralised exchanges, lending pools, collateral, oracles and governance while examining smart-contract and liquidity risks. The course approaches the subject as a set of connected systems and decisions. Students are expected to distinguish verifiable facts from assumptions, identify where a model is incomplete and explain the operational or financial risks that follow.
This school starts with the technical and economic foundations needed to evaluate digital assets carefully. It connects protocol design, cryptography, custody and governance rather than treating cryptocurrency as a price chart.
Related topics
- DeFi explained for beginners
- decentralized finance protocols
- automated market makers
- decentralized exchanges
- DeFi lending and borrowing
- collateral and liquidation
- blockchain price oracles
- DeFi governance tokens
- smart contract risk
- DeFi liquidity risk
LEARNING OUTCOMES
What you should be able to explain
- Explain automated market makers and liquidity pools.
- Trace collateralised lending and liquidation mechanics.
- Assess oracle, composability, governance and smart-contract risks.
CURRICULUM
Course syllabus and module outline
DeFi architecture and composable protocols
Study the concepts, operating assumptions and failure cases behind defi architecture and composable protocols. Connect the topic to the wider decentralized finance fundamentals framework, then record the evidence and limitations that matter in practice.
Automated market makers and liquidity curves
Study the concepts, operating assumptions and failure cases behind automated market makers and liquidity curves. Connect the topic to the wider decentralized finance fundamentals framework, then record the evidence and limitations that matter in practice.
Lending pools, collateral and liquidation
Study the concepts, operating assumptions and failure cases behind lending pools, collateral and liquidation. Connect the topic to the wider decentralized finance fundamentals framework, then record the evidence and limitations that matter in practice.
Oracles, bridges and cross-protocol dependencies
Study the concepts, operating assumptions and failure cases behind oracles, bridges and cross-protocol dependencies. Connect the topic to the wider decentralized finance fundamentals framework, then record the evidence and limitations that matter in practice.
Governance, exploits and risk assessment
Study the concepts, operating assumptions and failure cases behind governance, exploits and risk assessment. Connect the topic to the wider decentralized finance fundamentals framework, then record the evidence and limitations that matter in practice.
LEARNING MATERIAL
Course lessons and learning activities
This is academic-draft teaching content published for curriculum review. It is not an approved or open course. Enrolment, assessment submissions and recording, completion tracking and certificates are inactive.
Estimated study time: 4 hours
MODULE 01
DeFi architecture and composable protocols
Module objective: DeFi architecture, smart-contract protocols and composability boundaries
LESSON 1.1
DeFi architecture, smart-contract protocols and composability boundaries
Learning objectives
Define decentralised finance (DeFi), identify common protocol components, and explain composability alongside its dependency and security risks.
1. DeFi as a system of protocols
DeFi describes financial functions implemented partly or substantially through blockchain-based smart contracts and open interfaces. Examples include token exchange, lending, collateral management, derivatives and asset management. A user typically interacts through a wallet and an application interface, while smart contracts enforce some of the protocol's rules.
“Decentralised” is not a binary property. A protocol may use public contracts but depend on a small development team, upgrade administrator, oracle provider, front end, validator set or multisignature committee. Assess the actual distribution of control rather than relying on a product label.
2. Core components
A DeFi application may include smart contracts holding assets and recording positions; a user interface for transaction preparation; wallet software for signing; price oracles; governance contracts; liquidity providers; and external networks or bridges. Each component has a different role and trust assumption.
The user interface may be unavailable while contracts remain accessible. Conversely, a website can display information that is stale or misleading. Users and operators need independent ways to verify contract addresses, network, permissions and transaction details.
3. Composability
Composability means protocols can call or build on other protocols. A lending application may accept a token issued by another protocol as collateral, or a vault may allocate assets across several markets. This can improve functionality and capital efficiency, but it creates dependency chains.
A failure in one component can propagate. A compromised collateral token, inaccurate oracle, broken bridge or exploit in an integrated protocol can affect applications that did not directly suffer a code defect. Dependency mapping should include direct contracts, tokens, price feeds, bridges and governance authorities.
4. Permissionless access and practical constraints
Public smart contracts may allow anyone to submit transactions, but practical access can still depend on wallet compatibility, network fees, liquidity, geographic restrictions, sanctions controls or front-end policies. Transaction execution is not equivalent to legal approval or consumer protection.
Applied case
A fictional lending protocol accepts a yield-bearing token from a separate vault as collateral. The vault invests in another lending market. Map the dependency chain and identify how a failure in the underlying market could affect the top-level lender.
Key takeaways
• DeFi financial functions are implemented through interacting applications, contracts and networks.
• Decentralisation must be assessed by actual control over upgrades, interfaces, oracles and assets.
• Composability creates both integration benefits and correlated failure risk.
• A public contract does not guarantee easy, lawful or safe access.
• Dependency mapping is essential to protocol risk assessment.
Exercise
Draw a component diagram for a fictional DeFi application. Mark contracts, wallet, interface, oracle, governance, external protocols and trust boundaries. Identify at least three ways a failure could propagate.
MODULE 02
Automated market makers and liquidity curves
Module objective: Automated market makers, liquidity pools, pricing curves and impermanent loss
LESSON 2.1
Automated market makers, liquidity pools, pricing curves and impermanent loss
Learning objectives
Explain how an automated market maker (AMM) uses pooled assets to quote trades, interpret a constant-product curve, and identify liquidity-provider risks.
1. Order books and pooled liquidity
An order-book exchange matches buyers and sellers using submitted orders. An AMM instead uses a smart contract and a pool of assets according to a pricing rule. Traders exchange against the pool, while liquidity providers contribute assets and receive a claim or accounting share under the protocol's rules.
A pool is not a bank deposit and a liquidity-provider token is not automatically a guaranteed claim at a fixed value. Withdrawals depend on pool balances, contract rules, fees, token behaviour and network execution.
2. Constant-product intuition
A simple two-asset AMM may use the invariant x × y = k, where x and y are pool reserves and k is intended to remain constant for a swap before fees and other mechanics. A trade that removes one asset adds the other, changing the reserve ratio and therefore the marginal price.
This curve means larger trades relative to pool depth generally cause greater price impact. Fees, concentrated liquidity, dynamic parameters and other AMM designs can change the details. The simple formula is an educational model, not a description of every pool.
3. Price impact, slippage and fees
Price impact is the effect a trade has on the pool's price as it executes. Slippage is the difference between an expected and executed price, which may reflect market movement, transaction ordering or insufficient liquidity. A minimum-received or maximum-spent parameter can limit execution outside a chosen tolerance, but does not guarantee a favourable price.
Transaction fees may be distributed to liquidity providers, protocol treasuries or other recipients according to the design. Fee income must be considered alongside asset-price movements, adverse selection and contract risk.
4. Liquidity-provider exposure
Providing liquidity exposes a participant to changes in the relative prices of pooled assets. In a simple volatile pair, the pool automatically rebalances as traders swap. The resulting token quantities may differ from simply holding the original assets. This difference is commonly called impermanent loss, although it can become realised when liquidity is withdrawn.
Other risks include smart-contract vulnerabilities, malicious tokens, oracle or pricing manipulation, low volume, governance changes and withdrawal congestion.
Applied case
A simulated pool begins with equal-value quantities of two assets. One asset's market price rises substantially while arbitrage traders rebalance the pool. Explain why the provider's final token mix can differ from holding both assets outside the pool.
Key takeaways
• AMMs quote trades against pooled assets using a programmed pricing rule.
• In a constant-product model, trades change reserve ratios and marginal prices.
• Larger trades relative to pool depth usually create greater price impact.
• Slippage controls limit execution bounds but do not guarantee a good market price.
• Liquidity providers face relative-price, smart-contract, token and market risks.
Exercise
Use hypothetical reserve balances to sketch a constant-product curve. Compare a small and large trade, and list the information a user should inspect before accepting a swap.
MODULE 03
Lending pools, collateral and liquidation
Module objective: Overcollateralised lending, health factors, liquidation thresholds and protocol shortfall
LESSON 3.1
Overcollateralised lending, health factors, liquidation thresholds and protocol shortfall
Learning objectives
Describe pooled lending, explain collateralisation and borrowing limits, and trace how falling collateral values can trigger liquidation or protocol losses.
1. Lending-pool model
A DeFi lending pool accepts assets from suppliers and allows eligible borrowers to draw from available liquidity under smart-contract rules. Interest rates may adjust according to utilisation: the proportion of supplied liquidity currently borrowed. High utilisation can make withdrawals difficult even when the protocol remains operational.
The protocol's accounting records supplied balances, debt, collateral and accrued interest. These records depend on contract correctness and the asset behaviours the protocol supports.
2. Collateral and borrowing limits
A borrower may deposit collateral worth more than the amount borrowed. The protocol applies collateral factors or loan-to-value limits to reduce exposure to price changes. A maximum borrowing amount is not a statement that the position is safe under all market conditions.
A health factor or similar metric compares collateral value adjusted by risk parameters with debt obligations. The precise formula differs by protocol. Users must understand which oracle prices, haircuts, thresholds and interest calculations are used.
3. Liquidation mechanics
If a position breaches its liquidation threshold, eligible liquidators may repay part of the debt and receive collateral plus an incentive, subject to protocol rules. Liquidation is intended to reduce bad debt, but it depends on accurate prices, network availability, liquidator participation and market liquidity.
During rapid price moves, collateral may be worth less by the time it is sold. Congestion or oracle delay can leave a position undercollateralised. A liquidation incentive does not guarantee that sufficient buyers or liquidity exist.
4. Protocol shortfall and risk controls
If collateral realisation does not cover debt, a protocol may record bad debt or use reserves, insurance funds, backstop mechanisms or governance-approved measures. These mechanisms vary and may be insufficient. Users should read the actual documentation rather than assuming losses are socialised in a particular way.
Risk controls can include conservative collateral factors, asset caps, borrow caps, liquidity buffers, oracle safeguards, concentration limits and monitoring. Changes to parameters should be governed and communicated.
Applied case
A borrower deposits a fictional asset valued at 20,000 units and borrows 10,000 units. The collateral price falls sharply and network congestion delays liquidation. Explain the sequence of risk events and identify which controls could reduce the shortfall.
Key takeaways
• Lending pools match supplied liquidity with borrowing under protocol rules.
• Collateral factors and liquidation thresholds limit but do not eliminate credit risk.
• Health metrics depend on oracle values and protocol-specific formulas.
• Liquidations can fail or realise insufficient value during volatile or congested conditions.
• Bad debt mechanisms and parameter governance must be understood before relying on a protocol.
Exercise
Create a collateralised-loan worksheet using hypothetical values. Model a collateral-price decline, accrued interest and liquidation threshold; identify when the position becomes eligible for liquidation.
MODULE 04
Oracles, bridges and cross-protocol dependencies
Module objective: Oracle design, bridge trust assumptions, wrapped assets and dependency risk
LESSON 4.1
Oracle design, bridge trust assumptions, wrapped assets and dependency risk
Learning objectives
Explain why DeFi contracts use external data, compare oracle delivery approaches, and identify the trust and security assumptions introduced by bridges.
1. Why smart contracts use oracles
A blockchain contract generally cannot independently observe every external fact. It may need market prices, interest-rate data, event outcomes or other information. An oracle supplies or attests to such data so that a contract can act on it.
Oracle quality depends on data sources, update frequency, aggregation, outlier handling, signer or validator security, network availability and governance. A value can be technically delivered on-chain yet still be stale, manipulated or unsuitable for the contract's purpose.
2. Oracle failure modes
Risks include thin-market price manipulation, delayed updates, faulty source data, compromised reporters, incorrect decimal handling and service outages. A protocol should consider stale-price checks, circuit breakers, multiple independent sources, deviation limits and emergency procedures. These controls have trade-offs: overly strict checks can halt a market, while loose checks can permit harmful execution.
3. Bridges and wrapped assets
A bridge transfers messages or representations between networks. A wrapped asset on one network may represent an asset locked or held on another. The security of the representation depends on the bridge's custody or locking mechanism, validator set, message verification, contract logic and recovery process.
A wrapped token is not automatically identical in risk to the original asset. If the bridge fails, the representation may lose backing or become difficult to redeem. Different bridges use different trust models, and none should be treated as risk-free.
4. Cross-protocol dependency analysis
An application can depend on an oracle, a bridge, a collateral token, a lending market and a governance system at the same time. A failure in one layer may create liquidations, frozen withdrawals, incorrect valuations or insolvency elsewhere.
A dependency register should record component owner, contract address, upgrade authority, data source, failure mode, exposure, monitoring signal and fallback. Review changes because integrations and permissions can evolve.
Applied case
A lending protocol accepts a bridged token as collateral and relies on a single price feed with infrequent updates. The bridge pauses withdrawals after a security incident. Identify how the bridge and oracle risks can interact and recommend protective controls.
Key takeaways
• Oracles connect smart contracts to external data and introduce source and delivery assumptions.
• Stale, manipulated or unavailable data can cause incorrect protocol actions.
• Bridges add message-verification, custody, validator and recovery risks.
• Wrapped assets depend on the integrity and availability of their bridge arrangements.
• Cross-protocol risk requires a maintained dependency register and monitoring.
Exercise
Build a dependency map for a hypothetical lending protocol using a price oracle and bridged collateral. For each dependency, record trust model, failure scenario, monitoring and fallback.
MODULE 05
Governance, exploits and risk assessment
Module objective: Protocol governance, upgrade authority, common exploit classes and structured risk review
LESSON 5.1
Protocol governance, upgrade authority, common exploit classes and structured risk review
Learning objectives
Describe governance mechanisms and privileged roles, recognise common DeFi exploit patterns, and produce a structured protocol risk assessment.
1. Governance and decision rights
Protocol governance determines how parameters, upgrades, treasury decisions and emergency actions are proposed and approved. Governance may use token voting, delegated voting, multisignature signers, foundations, committees or combinations of these arrangements.
A token vote does not automatically mean that control is decentralised. Examine voter concentration, quorum, delegation, proposal execution delay, emergency powers, admin keys and the ability to change contract logic. Low participation or concentrated holdings can allow a small group to control outcomes.
2. Upgrade and administrative authority
Upgradeable contracts may use proxy patterns or other mechanisms to change implementation logic. This can support bug fixes but creates trust in the upgrade authority and process. A pause role may reduce harm during an incident, while also allowing an administrator to interrupt user access.
Document who controls each role, how keys are protected, whether actions require multiple signers, whether changes are time-locked and how users are notified. Verify contract addresses and current implementation rather than relying on old documentation.
3. Common exploit patterns
DeFi incidents can involve re-entrancy, arithmetic or accounting errors, access-control failures, oracle manipulation, flash-loan-assisted attacks, bridge compromise, governance attacks, malicious token behaviour or economic design flaws. A flash loan is a transaction-level borrowing mechanism; it can amplify an attack when a protocol incorrectly trusts temporary balances or manipulable prices.
Audits and formal verification can reduce some risks but cannot prove that every economic assumption, dependency or operational process is safe. Bug bounties, monitoring, incident drills and careful change management provide additional layers.
4. Structured risk assessment
A useful review considers smart-contract code, economic design, liquidity, oracle quality, governance, custody, bridge dependencies, user interface, legal perimeter and operational resilience. Assess likelihood and impact, identify evidence, record assumptions and assign remediation owners.
Avoid reducing risk to a single score without explaining the underlying factors. A protocol can be technically audited and still carry material market, counterparty or governance risk.
Applied case
A DeFi protocol advertises multiple audits but one administrator can upgrade contracts immediately, a single oracle supplies collateral prices and a large share of voting power is concentrated. Prepare a risk register and prioritise mitigations.
Key takeaways
• Governance includes proposal, voting, execution, upgrade and emergency powers.
• Token voting does not guarantee broad or independent control.
• Exploits can target code, economic assumptions, oracles, bridges and governance.
• Audits are useful evidence but not a guarantee of safety.
• Risk reviews should document evidence, assumptions, owners and remediation priorities.
Exercise
Complete a DeFi protocol risk register covering contracts, economics, liquidity, oracles, bridges, governance, custody and operations. Rank risks by impact and explain the evidence behind each rating.
LEARNER ASSESSMENT
Decentralized Finance Fundamentals — Final Knowledge Assessment
Total: 100 marks. Pass threshold: proposed 70%, subject to academic approval. These questions are displayed for review only; learners cannot submit or record an assessment result on this page.
Multiple-choice knowledge assessment (100 marks)
Select one answer for each question. This assessment tests DeFi architecture, AMMs, lending, oracles, bridges, governance and risk. Use hypothetical examples only; this is educational content, not investment advice.
Question 1: Which statement best describes composability in DeFi?
- Protocols can integrate with and build on other protocols
- All protocols share one administrator
- Smart contracts cannot call other contracts
- Every integrated protocol has identical risk
Question 2: What is a key difference between an AMM and an order-book exchange?
- An AMM trades against pooled assets using a pricing rule
- An AMM guarantees no slippage
- An order book has no buyers or sellers
- An AMM always uses bank deposits
Question 3: In a simple constant-product AMM, what does x × y = k represent?
- A fixed market price
- A pool invariant relating the two asset reserves
- A guaranteed liquidity-provider return
- A rule that prevents all price impact
Question 4: What is impermanent loss commonly used to describe?
- A network transaction fee
- The difference between a liquidity provider's pool position and simply holding the assets as their relative prices change
- A guaranteed loss from every swap
- A protocol governance penalty
Question 5: What is the purpose of collateral in a DeFi lending pool?
- To guarantee that collateral prices never fall
- To provide assets that may be used to secure borrowing under protocol rules
- To eliminate oracle dependencies
- To make loans legally risk-free
Question 6: What can cause a liquidation to realise less than the debt owed?
- Rapid collateral price decline, thin liquidity or network congestion
- A wallet displaying a token logo
- A borrower reading the documentation
- A protocol having a website
Question 7: Why does a DeFi protocol use an oracle?
- To provide external information such as asset prices to smart contracts
- To guarantee the protocol's solvency
- To replace all governance
- To reverse confirmed blockchain transactions
Question 8: What is a principal risk of a wrapped asset issued through a bridge?
- It cannot be transferred
- Its backing or redemption may fail if the bridge's custody or message-verification system is compromised
- It is always more valuable than the original
- It removes cross-chain risk
Question 9: Which statement about token-based governance is most accurate?
- Token voting always distributes power equally
- Voting concentration, quorum and execution authority affect actual control
- Governance cannot change protocol parameters
- Every proposal is automatically safe after a vote
Question 10: What does an audit establish about a DeFi protocol?
- That no exploit is possible
- Evidence from a defined review, but not a guarantee against all technical, economic or operational risks
- That the token price cannot decline
- That all counterparties are solvent
COURSE COMPLETION
Learning completion requirements
- Review all five modules and their lessons.
- Complete the applied exercises using fictional or synthetic information.
- Review the final knowledge assessment; submissions and results are inactive.
- Complete academic review before this material is approved for enrolment.
Completion tracking and certificates are not active until the Academy learning platform is implemented and approved.
GLOSSARY
Key terminology
APPLIED LEARNING
Practical case exercise
Model a collateralised loan with changing collateral value and identify the conditions that could trigger a liquidation or protocol loss.
The exercise is educational and uses hypothetical or historical information. It does not connect to a live brokerage, exchange, customer wallet or payment account.
ASSESSMENT DESIGN
How learning will be assessed
Knowledge checks, applied case analysis and a final assessment aligned to the published learning outcomes. Assessment formats and pass requirements will be confirmed in the live course syllabus.
When the assessment system is released, the approved Academy policy will allow up to three attempts per final examination. The proposed pass threshold is 70%, subject to the published syllabus and academic controls. Results are intended to be marked automatically where answers have objectively verifiable keys; assignments requiring judgement may require instructor review.
ENTRY GUIDANCE
Who this course is for
This foundation-level course is intended for learners who want a structured understanding of decentralized finance fundamentals. It may be useful to students, analysts, fintech builders, operations teams and professionals who need to understand the subject's terminology and control environment.
Suggested preparation: No specialist trading experience is assumed. Familiarity with basic numeracy and reading explanatory diagrams is useful.
FURTHER READING
Primary and institutional references
Use original standards, technical documentation and institutional publications when checking details. Regulatory requirements vary by jurisdiction and may change.
COURSE QUESTIONS
Frequently asked questions
What is decentralized finance?
DeFi refers to financial applications built on programmable networks that use smart contracts and digital assets to provide functions such as exchange, lending or collateral management.
How does an automated market maker work?
An automated market maker uses a smart-contract-defined pool and pricing rule to quote exchanges. Pool composition, fees, arbitrage and trade size affect execution price.
What happens when DeFi collateral falls in value?
A protocol may trigger liquidation under its rules when collateralisation falls below a threshold. Liquidation can involve penalties, market impact and losses for participants.
Does decentralised mean risk-free or unregulated?
No. DeFi systems can have code, oracle, governance, liquidity, bridge, custody and legal risks. Decentralisation varies by protocol and does not remove applicable obligations.
Is this course currently open for enrolment?
This page contains academic-draft learning material for review, but the course is not approved or open for enrolment. Assessment questions are displayed for review only; submissions, assessment recording, completion tracking and certificates are inactive. Check the live education catalogue for courses explicitly published as available.
Does this course provide trading signals or promise profits?
No. It is an educational curriculum. It does not provide guaranteed outcomes, trading signals or personal investment recommendations.
Will I receive a NexaCrypto Academy certificate?
The approved Academy model distinguishes a Certificate of Completion from an examination-based Professional Certificate. Automated issuance will operate only after the learning, assessment and certificate systems are implemented and the learner meets the published eligibility rules.