https://github.com/yearn/yeth
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yearn/yeth
- Owner: yearn
- License: agpl-3.0
- Created: 2023-02-23T08:59:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-07T14:24:17.000Z (almost 2 years ago)
- Last Synced: 2025-08-01T12:17:09.606Z (about 1 year ago)
- Language: Vyper
- Size: 1.14 MB
- Stars: 8
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Audit: audits/01-chainsecurity.pdf
Awesome Lists containing this project
README
# yETH contracts
Based on the weighted stableswap invariant, as derived in the [whitepaper](./whitepaper/derivation.pdf).
Pool and staking contract follow [specification](./SPECIFICATION.md).
### Install dependencies
```sh
# Install foundry
curl -L https://foundry.paradigm.xyz | bash
foundryup
# Install ape and mpmath
pip install eth-ape
pip install mpmath
# Install required ape plugins
ape plugins install .
```
### Run tests
```sh
ape test
```