-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #131 from skellet0r/pool_reth
Pool reth
- Loading branch information
Showing
7 changed files
with
1,069 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: reth | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "tests/**/*.py" | ||
- "contracts/pools/reth/**.vy" | ||
push: | ||
paths: | ||
- "tests/**/*.py" | ||
- "contracts/pools/reth/**.vy" | ||
|
||
env: | ||
pool: "reth" | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NODE_OPTIONS: --max_old_space_size=4096 | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: [pools, zaps] | ||
type: [unitary, integration] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Cache Compiler Installations | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.solcx | ||
~/.vvm | ||
key: compiler-cache | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v1 | ||
|
||
- name: Install Ganache | ||
run: npm install | ||
|
||
- name: Setup Python 3.8 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install Requirements | ||
run: | | ||
pip install wheel | ||
pip install -r requirements.txt | ||
- name: Run Tests | ||
run: brownie test tests/${{ matrix.target }} --pool ${{ env.pool }} --${{ matrix.type }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# curve-contract/contracts/pools/reth | ||
|
||
[Curve rETH]() | ||
|
||
## Contracts | ||
|
||
- [`StableSwaprETH`](StableSwapRETH.vy): Curve stablecoin AMM contract | ||
|
||
## Deployments | ||
|
||
- [`CurveContractV3`](../../tokens/CurveTokenV3.vy): [0x53a901d48795C58f485cBB38df08FA96a24669D5](https://etherscan.io/address/0x53a901d48795C58f485cBB38df08FA96a24669D5) | ||
- [`LiquidityGaugeV3`](https://github.com/curvefi/curve-dao-contracts/blob/master/contracts/gauges/LiquidityGaugeV3.vy): [0x824F13f1a2F29cFEEa81154b46C0fc820677A637](https://etherscan.io/address/0x824F13f1a2F29cFEEa81154b46C0fc820677A637) | ||
- [`StableSwapRETH`](StableSwapRETH.vy): [0xF9440930043eb3997fc70e1339dBb11F341de7A8](https://etherscan.io/address/0xF9440930043eb3997fc70e1339dBb11F341de7A8) | ||
|
||
## Stablecoins | ||
|
||
Curve rETH pool supports swaps between ETH and [`rETH`](https://github.com/stafiprotocol/) staked ETH (rETH): | ||
|
||
- `ETH`: represented in the pool as `0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE` | ||
- `rETH`: [0x9559Aaa82d9649C7A7b220E7c461d2E74c9a3593](https://etherscan.io/token/0x9559aaa82d9649c7a7b220e7c461d2e74c9a3593#code) |
Oops, something went wrong.