From 880d661df0a1e88d0bdfed6278226c0a7a314861 Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 19 Aug 2021 23:30:36 +0300 Subject: [PATCH] Update contractUseGuide.md --- docs/contractUseGuide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contractUseGuide.md b/docs/contractUseGuide.md index 28479962e..d3cc8ca18 100644 --- a/docs/contractUseGuide.md +++ b/docs/contractUseGuide.md @@ -76,7 +76,7 @@ Use `buyShares` to inject liquidity into the pool. User needs to construct a tra ) external returns (uint256 baseAmount, uint256 quoteAmount) ``` -Use `sellShares` to remove liquidity from the pool. User can directly call the corresponding function of the pool to execute the transaction. The reqeust parameters include the amount of shares removed, the receiving address, baseMinAmount used for slippage protection (the minimum received base amount), quoteMinAmount (the minimum received quote amount), data is generally set to empty, if it's not, the external contract call will be executed at the end to achieve additional functions such as the conversion from WETH to ETH, and deadline is the effective time after the transaction is sent, it will automatically fail when overtime aiming to protect the safe execution of the transaction. +Use `sellShares` to remove liquidity from the pool. User can directly call the corresponding function of the pool to execute the transaction. The request parameters include the amount of shares removed, the receiving address, baseMinAmount used for slippage protection (the minimum received base amount), quoteMinAmount (the minimum received quote amount), data is generally set to empty, if it's not, the external contract call will be executed at the end to achieve additional functions such as the conversion from WETH to ETH, and deadline is the effective time after the transaction is sent, it will automatically fail when overtime aiming to protect the safe execution of the transaction. ### DODO Private Pool