Skip to content

Commit

Permalink
revision13
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebmikeb committed May 12, 2023
1 parent 5f345ad commit bc0711c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weightedpoolemergency.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ It should look like this
"0xC0c293ce456fF0ED870ADd98a0828Dd4d2903DBF"]`

## **Important note**
the addresss above must be sorted lowest to highest, it terms of leading hexadecimal digits. with 1 < 5< a < f. In this case 0xC02 is less than 0xC0c. If you get BAL#102 this is whats causing it.
the addresss above must be sorted lowest to highest, in terms of leading hexadecimal digits. with 1 < 5< a < f. In this case 0xC02 is less than 0xC0c. If you get BAL#102 this is whats causing it.

### **uint256[]** Amounts
is where we will be encoding our **amounts out**. You must be aware of the decimals on the token (can be found on the token page on etherscan) and adjust accordingly per asset. You can find out how much underlying assets your pool tokens are worth on the balancer ui, and wallet viewers like debank, zapper, etc. Note that you have have to apply slippage at this stage so if you have a slippage of 1% (remember if it goes outside this range before being executed the transaction will fail, wasting precious gas), subtract 1% from both assets.
Expand Down

0 comments on commit bc0711c

Please sign in to comment.