From 67a6b41715476e7a7cf34b2d31f0c765b5a73cb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wei=C3=9Fer=20Hase?= Date: Thu, 1 Aug 2024 22:44:40 +0200 Subject: [PATCH] fix: deployment readme (#188) --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7220b0ba..5de93bc2 100644 --- a/README.md +++ b/README.md @@ -50,8 +50,9 @@ yarn test # run the tests ## Creating a Pool - Create a new pool by calling the corresponding pool factory: - - `IBFactory.newBPool()` for regular Balancer `BPool`s - - `IBCoWFactory.newBPool()` for Balancer `BCoWPool`s, compatible with CoW Protocol + - `IBFactory.newBPool(name, symbol)` for regular Balancer `BPool`s + - `IBCoWFactory.newBPool(name, symbol)` for Balancer `BCoWPool`s, compatible with CoW Protocol + > Being `name` and `symbol` strings with the desired name and symbol of the pool's ERC20 LP token - Give ERC20 allowance to the pool by calling `IERC20.approve(pool, amount)` - Bind tokens one by one by calling `IBPool.bind(token, amount, weight)` - The amount represents the initial balance of the token in the pool (pulled from the caller's balance)