TJAR Resources
Find the TJAR repository, security reviews, contract interfaces, and the upstream Uniswap protocol fee implementation.
Repository
Uniswap/tjar holds the contracts, tests, and deployment scripts. It is licensed AGPL-3.0-only.
TJAR derives from Uniswap/protocol-fees, pruned to the Token Jar and Releaser contracts and their supporting base and interface files. Everything specific to the Uniswap protocol fee and governance lives in that upstream repository.
Security Reviews
| Review | Scope |
|---|---|
| OpenZeppelin, TJAR | The TJAR-specific diff against upstream. All findings remediated. |
| OpenZeppelin, upstream (three reports) | The Uniswap protocol fee contracts TJAR derives from. |
| Cantina, upstream | The Uniswap protocol fee contracts TJAR derives from. |
All reports are in audit/.
Contracts
| Contract | Source |
|---|---|
| TokenJar | src/TokenJar.sol |
| ExchangeReleaser | src/releasers/ExchangeReleaser.sol |
| FeeController | src/FeeController.sol |
| Factory | src/Factory.sol |
Interfaces
| Interface | Source |
|---|---|
| ITokenJar | src/interfaces/ITokenJar.sol |
| IReleaser | src/interfaces/IReleaser.sol |
| IFeeController | src/interfaces/IFeeController.sol |
| IFactory | src/interfaces/IFactory.sol |
| IResourceManager | src/interfaces/base/IResourceManager.sol |
| INonce | src/interfaces/base/INonce.sol |
Related
- Uniswap Protocol Fees covers Uniswap's own deployment of this primitive, where fees are converted to UNI and burned.
- Deployments lists the Factory and Fee Controller addresses per chain.