Repository for the Tokenomics postgraduate course. Each lesson adds a layer to the same Web3 services ecosystem.
Token: Pragma (PGM) — ERC-20, fixed supply 10,000,000 PGM
Network: Ethereum (Sepolia Testnet)
Stack: Solidity, Foundry
Three lesson folders. Each has reports (required deliverables) and contracts or dapp (bonus implementation).
| Folder | Reports | Bonus |
|---|---|---|
| 01-token-design/ | One-pager (PGM tokenomics), pitch script | PGM ERC-20 — utility token, 10M supply, 2% fee, premium access (Sepolia) |
| 02-eip1559-bme/ | EIP-1559 case study (burn, deflationary periods, investors) | BMEToken — adaptive burn rate, EIP-1559 style (Foundry) |
| 03-axie-autopsy/ | Axie Infinity tokenomics autopsy (dual-token, inflation, redesign) | DApp — Pragma Access Gate (marketplace, history, analytics, burn, approve) |
01 defines the base token (design, distribution, payment + access). 02 adds the economic model: BME adaptive burn inspired by EIP-1559. 03 analyses the Axie collapse and demonstrates PGM utility via a live DApp with tier gating and marketplace simulation.
bme-model/
├── README.md
├── index.html GitHub Pages hub (links to DApp)
├── 01-token-design/
│ ├── reports/ OnePager_PGM.md, Pitch_Roteiro.md (+ .docx/.pptx)
│ └── contracts/ PragmaToken.sol, tests, deploy script
├── 02-eip1559-bme/
│ ├── reports/ EIP1559_BME.md (+ .docx)
│ └── contracts/ BMEToken.sol, tests, deploy script
└── 03-axie-autopsy/
├── reports/ Axie_Autopsy.md (+ .docx, .pdf)
└── dapp/ Pragma Access Gate DApp (single-page, Sepolia)
The lesson 03 DApp is published on GitHub Pages:
- Hub: https://danielgorgonha.github.io/pragma-protocol/
- DApp (Pragma Access Gate): https://danielgorgonha.github.io/pragma-protocol/03-axie-autopsy/dapp/
Connect MetaMask on Sepolia to check your PGM tier, transfer tokens, use the marketplace simulation, view tx history, approve/allowance, and burn to the dead address.
| Contract | Address | Etherscan |
|---|---|---|
| PragmaToken (PGM) | 0xC7b1Fff31eC9ce8075C1fCE0339E751135e310eb |
View |
| BMEToken (BME) | 0xEBc255fC63aF6AFD115bEF3c7844460429726Dc8 |
View |
Deploy and on-chain reads were tested; contracts are verified on Etherscan.
Note: The codebase was updated to Solidity 0.8.33 to address compiler warnings. The contracts listed above were deployed with older compiler versions and may still show those warnings on Etherscan. A re-deploy and re-verify are required to clear them.
- Voshmgir, S. (2020). Token Economy. Token Kitchen.
- Ethereum Foundation. EIP-1559
- Ultrasound Money
- Snapshot
- Token Terminal