Skip to content
Open
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
4 changes: 2 additions & 2 deletions contracts/pool-templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Metapools also make use of the following variables:

- `___BASE_N_COINS___`: The number of coins within the base pool
- `___BASE_PRECISION_MUL___`: Array of integers that base coin balances are multiplied by to adjust their precision to 18 decimal places
- `___BASE_RATES___`: Array of integers indicating the relative walue of `1e18` tokens for each base pool stablecoin
- `___BASE_RATES___`: Array of integers indicating the relative value of `1e18` tokens for each base pool stablecoin

These variables are substituted out at compile-time. To set the values, edit the `pooldata.json` file within the template directory.

Expand All @@ -51,4 +51,4 @@ The layout of a template's `pooldata.json` is similar to that of an actual pool,

_Note_: For `y` and `a` pools, the implementor may have to remove/change some small parts in the template code which is specific to `yearn` and `aave` pools.

The `rate_calcultor_address` is used when adding a pool to the Curve Pool Registry.
The `rate_calculator_address` is used when adding a pool to the Curve Pool Registry.