Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions .github/workflows/4pool.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: 4pool

on:
pull_request:
paths:
- 'tests/**/*.py'
- 'contracts/pools/4pool/**.vy'
push:
paths:
- 'tests/**/*.py'
- 'contracts/pools/4pool/**.vy'


env:
pool: '4pool'
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 }}
17 changes: 17 additions & 0 deletions contracts/pools/4pool/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# curve-contract/contracts/pools/4pool

## Contracts

* [`StableSwap4Pool`](StableSwap4Pool.vy): Curve stablecoin AMM contract

## Deployments
TBD

## Stablecoins

Curve four-pool supports swaps between the following stablecoins:

* `FRAX`: [0x853d955aCEf822Db058eb8505911ED77F175b99e](https://etherscan.io/token/0x853d955aCEf822Db058eb8505911ED77F175b99e)
* `USDC`: [0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48](https://etherscan.io/token/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48)
* `UST`: [0xa693B19d2931d498c5B318dF961919BB4aee87a5](https://etherscan.io/token/0xa693B19d2931d498c5B318dF961919BB4aee87a5)
* `USDT`: [0xdac17f958d2ee523a2206206994597c13d831ec7](https://etherscan.io/address/0xdac17f958d2ee523a2206206994597c13d831ec7)
Loading