bancorprotocol / contracts-solidity

Bancor Protocol Contracts
Other
840 stars 391 forks source link

Fix the prototype of function `addLiquidityReturn` #567

Closed barakman closed 3 years ago

barakman commented 3 years ago
  1. Fix function 'addLiquidityReturn' to take all reserve tokens and their corresponding amounts instead of a single reserve token and its corresponding amount (in the V1-Pool-Converter contract and in the Standard-Pool-Converter contract).

  2. Fix all web3 calls to functions 'addLiquidity' and 'removeLiquidity' by stating the overloaded version of each function explicitly (in the test of the Standard-Pool-Converter contract and in the test of the Fixed-Rate-Pool-Converter contract).