Standard Pool
Steps to Integration
There are three steps in removing liquidity: 1) prepare input, 2) approve tokens, 3) conduct remove liquidity. You need to install PiperX sdk and import it to proceed.
Prepare Input
You need the following inputs before you can remove a liquidity
Note that, if you are add liquidity for $IP token, you should pass in the PiperX wrapped $IP token address, because the $IP token is not a ERC-20 token. For example, if you are remove from to $IP to $USDC pool, please use wrapped $IP address WIP_ADDRESS
Approve tokens
You need to approve the router contract to both your tokens to create this pool
Remove the liquidity
Last updated