RiceFarm
Search…
BscScan: RiceBusd to RiceBnb
How to call our liquidity swapper using bscscan
This contract allows users to swap their RICE-BUSD LP's to RICE-BNB LP's for a small fee.
Make sure that you unstake your RICE-BUSD LP's from RiceFarm first!!
Community created frontend can be found here: https://ricecake-finance.github.io/RiceBusd-to-RiceBnb-frontend/

Contracts

Swapper Contract:
1
0x05e1C36d279FBB893ABCFB6b3B1084CF27B8a644
Copied!
RICE-BUSD LP Contract:
1
0x089ea34C9b239F1c012f3a96C2B8987367B78dC4
Copied!

1. Give Allowance

    2.
    Click Connect to Web3 and connect your wallet with LPs
    3.
    Go to 1. Approve.
    spender: 0x05e1C36d279FBB893ABCFB6b3B1084CF27B8a644
    amount: 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
    4.
    Click the Write button and confirm the transaction in metamask
Approve

2. Swap from RICE-BUSD to RICE-BNB LPs

    2.
    Click Connect to Web3 and connect your wallet with RICE-BUSD LPs
    3.
    Go to SwapRiceBusdToBnb
    4.
    Put in the amount that you want to swap and click write. This amount needs to be in wei. See Getting Amount In Wei.
    5.
    Confirm the transaction.
    6.
    DONE!

Getting Amount In Wei

Method 1 - Unit Converter

    2.
    Put the amount of LP's you wish to swap in the BNB row.
    3.
    Copy the value in the top row (wei).
Unit Converter Tool

Method 2 - Balance of

    2.
    Scroll down to 5. balanceOf and enter your wallet address.
    3.
    Hit Query and you will get your balance in wei.
Get Balance Of LP in wei
Last modified 4d ago