Interact: PLP
Step 1: Before proceed to buy PLP, please make sure that
Step 2: Search for the request called “addLiquidity”
Step 3: Input the following parameters:
- `token` = The token address to be used to buy PLP
- `amount` = The token amount of `token` in that token decimals
- `receiver` = The receiver address of PLP
- `minLiquidity` = The minimum amount of PLP to be received. If the returned PLP amount is less than this value, the transaction will revert.
Step 4: Click “Send” button
To sell PLP back into token, you will need to unstake PLP from Perp88 staking pool first and then sell the PLP token.
Step 1: Search the request called “withdraw”
Step 2: Input the following parameters:
- `token` = PLP token address which is “0x6A69561199E01E5E76eA53A59aD804d919e30BA8”
- `amount` = The amount of PLP token to be unstaked in 18 decimal places
Step 3: Click “Send” button and after the transaction is confirmed, you should see PLP balance in your wallet.
Step 4: Search the request called “removeLiquidity”
Step 5: Input the following parameters:
- `tokenOut` = The token address to be received from selling PLP
- `liquidity` = The amount of PLP token to be sold in 18 decimal places
- `receiver` = The receiver address of `tokenOut`
- `mintAmountOut` = The minimum amount of `tokenOut` to be expected. If the returned amount from the selling is less than this value, the transaction will revert.
Step 6: Click “Send” button
Last modified 3mo ago