Skip to content

Commit

Permalink
Merge pull request #131 from skellet0r/pool_reth
Browse files Browse the repository at this point in the history
Pool reth
  • Loading branch information
iamdefinitelyahuman authored May 19, 2021
2 parents 2c5c456 + 149dbe1 commit 5c079e4
Show file tree
Hide file tree
Showing 7 changed files with 1,069 additions and 3 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/reth.yaml
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 }}
20 changes: 20 additions & 0 deletions contracts/pools/reth/README.md
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)
Loading

0 comments on commit 5c079e4

Please sign in to comment.