🌾 Harvest yield, 〽️ provide liquidity and 🤩 deposit into farm with single transaction.
LP yield compounder smart contract created for Wannaswap farm on Aurora blockchain.
Step 1 - Approve Compounder to transfer LP token from your account
Step 2 - Call depositLP
method to transfer LP token from your account to smart contract
Step 3 - Call depositLPtoFarm
method to transfer LP token from smart contract to dex's farm contract.
Step 1 - Call harvestAndCompound
method to harvest the yield and compound it.
Step 1 - Call withdrawLPfromFarm
method to withdraw the lp token from farm contract to this contract
Step 2 - Call withdrawLP
method to withdraw the lp token and other erc20 token involved from this contract to owner account
Brownie project
Token addresses can be configured in brownie-config.yaml file and WannaCompounder.sol file
Currently configured for wnear-aurora pair.
Deployed here - Dapp link Aurora Explorer
Do not deposit lp, only owner can withdraw
Tested on aurora fork