In this article, we will be explaining on the various functions in LP Restaking Farm contract. It's not encouraged for beginners to interact directly with the contract especially if you are not familiar. Head over to How to Use Farms to learn how to stake LP Token and earn PURSE rewards.
{% hint style="warning" %} Please note that PURSE-BUSD has been deprecated. {% endhint %}
In order to interact with the LP Restaking Farm contract, you will need the LP Token pair address.
Pair | Address | Provider |
---|---|---|
PURSE-USDT | 0xfc450e16016aF4e4197f5dB5Ca0d262fF8fD735a | PancakeSwap |
Address that you will also need:
- Go to PURSE-USDT LP Token contract Write Contract and under 1.approve, enter the following:
spender: 0x439ec8159740a9b9a579f286963ac1c050af31c8 (LP Restaking Farm address)
value:-1
(No need to approve for the subsequent deposit)
Approve LP Restaking Farm contract to spend your LP Token
2. Go to LP Restaking Farm contract Write as Proxy and under 4.deposit, enter the following:
_lpToken_:_ 0xfc450e16016aF4e4197f5dB5Ca0d262fF8fD735a (PURSE-USDT LP Token)
_amount: Amount in Wei
You can convert LP Token to Wei using BscScan Unit Converter
Depositing 5 LP Token to LP Restaking Farm
3. Click Write and confirm the transaction in your wallet.
4. You can check your transaction by clicking View your transaction.
- Go to LP Restaking Farm contract Write as Proxy and under 17.withdraw, enter the following:
_lpToken_:_ 0xfc450e16016aF4e4197f5dB5Ca0d262fF8fD735a (PURSE-USDT LP Token)
_amount: Amount in Wei
Withdrawing 5 LP Token from LP Restaking Farm
3. Click Write and confirm the transaction in your wallet.
4. You can check your transaction by clicking View your transaction.
Using the emergency withdraw function allows you to withdraw all your LP Token out from the farm but your PURSE rewards will be forfeited.
{% hint style="info" %} Using the emergency withdraw function will result in your PURSE rewards being forfeited! Do not use unless you have problem withdrawing LP Token. {% endhint %}
- Go to LP Restaking Farm contract Write as Proxy and under 5**.emergenctWithdraw**, enter the following:
_lpToken_:_ 0xfc450e16016aF4e4197f5dB5Ca0d262fF8fD735a (PURSE-USDT LP Token)\
3. Click Write and confirm the transaction in your wallet.
4. You can check your transaction by clicking View your transaction.