Week 8 · Wednesday 18 November 2026 · 10:00–13:00
AI for Business and FinTech · European School of Economics, Florence
| 10:20–11:00 | wallet, transaction, block, fee, smart contract — what each actually is |
| 11:00–11:50 | x · y = k, and everything that follows from it |
| 12:00–12:30 | real protocol data, and an LLM summary you check |
| 12:30–13:00 | protocol risk, then MiCA |
No enthusiasm and no dismissal today. It is a database with unusual properties, and the properties have consequences you can compute.
A backtest lies four ways: the position earns the return that produced it, survivors only, a hundred tries, one regime.
A parameter search belongs inside walk-forward, and the number of attempts is reported with the result.
An LLM-derived signal is dated by when it was readable, not by what it is about.
Model risk: an owner, a limit, and a kill-switch that has been tested.
| ledger | a shared table everyone holds a copy of |
| wallet | the key that may edit certain rows |
| transaction | a signed edit |
| block | a batch of edits, chained to the last by a hash |
| fee | what you pay to have your edit included |
A smart contract is a row that owns money and runs code when called.
Which means the code is the counterparty. There is nobody to ring.
One is a promise that someone holds a euro for you. The other is a vote. Under MiCA they are not even the same category.
A pool holds 100 ETH and 6,000,000 USDC. You want to buy ETH. Nobody is selling — there is no counterparty, no bid, no ask.
Bet before we look
What determines the price you pay?
One rule, and only one:
x \cdot y = k
Take ETH out, the pool has less; put USDC in, it has more. The product must not change, and that alone fixes the price.
You moved the price by trading. That gap is slippage, and it is not a fee.
LAB · session.ipynb § B
Fee yield ≈ fee × (daily volume ÷ TVL) × 365. Compare the two, or you are not analysing anything.
| TVL | capital parked. Not revenue, not profit, and double-counted across layers |
| fees | what users paid |
| revenue | what the protocol kept |
| take rate | revenue ÷ fees — the one that behaves like a business metric |
The habit
TVL is the headline and the weakest of the four. The same collateral can be counted in three protocols at once. Ask what would happen to it if the token price halved.
LAB · session.ipynb § C
Step 3 is the exercise. Steps 1 and 2 are the setup for it.
| smart contract | the code is the counterparty; audits reduce, never remove |
| oracle | the price feed the contract trusts. Wrong for ten minutes is enough |
| governance | who can change the parameters, how fast, with what quorum |
| depeg | the backing trades below the token: a collateral problem becomes a liquidity problem |
| concentration | a top-three share that turns a withdrawal into an event |
| ART | asset-referenced token — references a basket |
| EMT | e-money token — references one currency; what most “stablecoins” are |
| other | everything else, with lighter obligations |
| CASP | providing services around them needs authorisation |
The question MiCA asks is not “is this crypto?” but “what is the holder owed, and by whom?” Answer that and the category follows.
Homework 8 — one protocol through three lenses: business model, data, risk. With at least one quantitative element: an LP simulation, a TVL and fee analysis, or a token-flow analysis.
Due Tuesday 24 November, 23:59.
AI for Business & FinTech · ESE Florence