Skip to main content

Withdrawing FIL for Liquidity

An SP can withdraw FIL by unstaking minted pFIL to obtain liquidity for their financial needs.

Behind the scenes, wrapped pFIL (wpFIL) and wrapped FIL (wFIL) are used in the liquidity pool to facilitate the exchange, ensuring that liquidity providers also receive pFIL rewards. Our frontend will automatically wrap your FIL or pFIL when entering into the liquidity pool (including both staking/unstaking and providing liquidity). Therefore, there might be multiple transactions that require user approval.

After pFIL is successfully minted, you can see your pFIL balance in your wallet. To unstake pFIL and withdraw FIL, go to the “Withdraw” section under the "Stake" page, and click “Withdraw”.

image

To unstake pFIL and withdraw FIL, go to the “Withdraw” section under the "Stake" page. Enter the amount of pFIL that you want to unstake. Click “Withdraw” to continue.

image

Click “Confirm” on the pop up window after you have checked the details. Then, approve the transactions with your wallet.

image

When unstaking pFIL to withdraw FIL, here are the following transaction approvals required:

  1. Approve pFIL spending
  2. Execute unstaking - “CONTRACT INTERACTION”
  3. Approve unwrap wFIL to FIL (“WITHDRAW”)

These transactions are necessary because the liquidity pool is made up of wrapped pFIL (wpFIL) and wrapped FIL (wFIL) to ensure that liquidity providers of the liquidity pool can receive pFIL rewards while providing liquidity. Your patience is appreciated during this multi-step process.

image

After seeing the success message, you will see an updated FIL and pFIL amount in your wallet.

image