This repo contains various code snippets, concepts and course exercises. It's purpose is to try them out and get a better understanding.
Project | Location | Description |
---|---|---|
Gas usage for labels | src/SolidityLabels.sol |
Compares how labels affect gas usage. |
UniswapV3 Clone | src/uniswapv3-clone |
Simplified version of Uniswap V3, follows this guide. |
Assembly & Formal Verification | src/AssemblyFVCourse ; lib/2-math-master-audit |
Cyfrin Updraft course for learning Huff/Yul, EVM opcodes and formal verification. |
To run only a subset of the tests you can use the following commands:
forge test --mp test/uniswapv3-clone/*
run only tests in a folderforge test --mc SolidityLabelsTest
run a specific test contractforge test --mc HorseStore
runs HorseStore v1/v2 tests, check base contracts for more info. Yul/Huff course section.