Smart Contract modification and code clean up for Defi project (Solidity) -- 2

Job ID: 31178212

Budget: €30 – €250 EUR

2 smart contracts already coded for a Defi Project (Farm contract and token contract). It is a normal Defi farm, with a token that people can farm by staking in liquidity pools.

The main tasks are the following :

1- Add a function in the contracts that will distribute lineraly a portion of the Transaction fees to Liquidity Providers and make sure that it is working properly (tests required)
i.e. : let's call X the amount of transactions fees we get per day
We distribute 10% of X on day +1 (next day) to all LP stakers, based on their share of the Liquidity pool.
example: TODAY, transaction fees generated 100$. so 10$ will be for LP stakers as additional rewards. You distribute 10$ to all LP staker (based on the share of the pool) TOMORROW

2- Clean up the code and adapt it exclusively to Polygon (currently with many BSC BEP20 references, and I would want it with ERC20 references only).

Please reach out only if you have good experience developping smart contracts in solidity, and ideally you have released previous Yield farms on Polygon.

Looking forward to talking to you,
Related categories: Blockchain Solidity Smart Contracts