From 7f68bab804dc5c70c900413d5d3eedfecd20cb33 Mon Sep 17 00:00:00 2001 From: Zong-Dao Hu Date: Tue, 26 May 2020 15:32:06 +0800 Subject: [PATCH] Update README.md for sellAllAmountPayEth() The second parameter of sellAllAmountPayEth() should be wethToken address. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e61f305..029ad69 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ The purpose of this function is to withdraw the locked up `ETH` from the `WETH t **Parameters:** - [OtcInterface](https://github.com/makerdao/maker-otc-support-methods/blob/master/src/MakerOtcSupportMethods.sol#L5) `otc` - An address of the contract that represents the OTC market contract. -- [TokenInterface](https://github.com/makerdao/oasis-direct-proxy/blob/master/src/OasisDirectProxy.sol#L11) `payToken` - An address of any `ERC-20 token` or token that implements the interface. +- [TokenInterface](https://github.com/makerdao/oasis-direct-proxy/blob/master/src/OasisDirectProxy.sol#L11) `wethToken` - The address of the `WETH token` - [TokenInterface](https://github.com/makerdao/oasis-direct-proxy/blob/master/src/OasisDirectProxy.sol#L11) `buyToken` - An address of any `ERC-20 token.` - `uint minBuyAmt` - Reference **threshold**.