The primary tea token.
Minting permissions controlled by the registry.owner() with a minter role being given to the TeaMasterChef contract by the factory.
A minting cap (not a supply cap due to burning) is hardcoded.
This repo uses PaulRBerg's foundry-template.
To write a new test contract, you start by importing PRBTest and inherit from
it in your test contract. PRBTest comes with a pre-instantiated cheatcodes
environment accessible via the vm property. If you would like to view the logs in the terminal output you can add the
-vvv flag and use console.log.
This is a list of the most frequently needed commands.
Build the contracts:
forge buildDelete the build artifacts and cache directories:
forge cleanCompile the contracts:
forge buildGet a test coverage report:
forge coverageFormat the contracts:
forge fmtGet a gas report:
forge test --gas-reportLint the contracts:
pnpm lintRun the tests:
forge test- Foundry uses git submodules to manage dependencies. For detailed instructions on working with dependencies, please refer to the guide in the book
- You don't have to create a
.envfile, but filling in the environment variables may be useful when debugging and testing against a fork.
This project is licensed under Apache License, Version 2.0.
See TEXT_VECTORS.md