Class in Python to analyze details about farm specific contract on BSCscan
Budget: $250 – $750 USD
I'm looking for somebody who is able to prepare for my a class in Python (or anything else but it's preferred to have it as class in Python) that is able to analyze given farm contract and get from it informations like:
1) Is this contract an LP farm?
2) How much are daily emmisions of farm contract and how much is currently staked in farm (in the best case in dollars or in number of tokens staked)
3) Somehow detect if farm is active (if it emit daily emmisions) if it's possible
4) Get the farm LP token contract address (base token or LP token even in case there is no LP provided in the farm currently)
5) A website of farm (if it's anywhere mentioned - I know this is something more manul but if the website will be present in the contract code then it could be great to return it too)
I'm not sure what from this list is doable so it would be great to have also some feedback on it. I don't need it as an application or something - preffered way is some simple Python class with function that outputs above data in form of dictionary.
Few examples of the farm contracts to analyze:
https://bscscan.com/address/0x046A9B3A9b743340eE2Bc4C6dDD35543E237C6c2
https://bscscan.com/address/0xB8986Df56802e9E1182F2f5B8e847E1cbAbE3E35#code
https://bscscan.com/address/0x1cba970a6e06d4bcc0c4717be677d1a8aa0211da
https://bscscan.com/address/0xf1de708fa8d963f5213ea5f1ebedee59d81ef9b9
Few examples of contracts that are not the farm (to check if code detect farms correctly):
https://bscscan.com/address/0x0255af6c9f86f6b0543357bacefa262a2664f80f
https://bscscan.com/token/0xb63a911ae7dc40510e7bb552b7fcb94c198bbe2d
Description of input/output for class:
Input:
- Contract address
Output:
- is_it_farm (boolean)
- is_active (boolean)
- daily_emissions (float)
- daily_emissions_token (string)
- creator_address (string)
- lp_or_token_contract_address (if it's possible)
- website (optional)
I know there is a lot of different way how to write farm contract so if it supports only the main ways (like Solidity etc.) then it would be ok to support just the most used of them.
1) Is this contract an LP farm?
2) How much are daily emmisions of farm contract and how much is currently staked in farm (in the best case in dollars or in number of tokens staked)
3) Somehow detect if farm is active (if it emit daily emmisions) if it's possible
4) Get the farm LP token contract address (base token or LP token even in case there is no LP provided in the farm currently)
5) A website of farm (if it's anywhere mentioned - I know this is something more manul but if the website will be present in the contract code then it could be great to return it too)
I'm not sure what from this list is doable so it would be great to have also some feedback on it. I don't need it as an application or something - preffered way is some simple Python class with function that outputs above data in form of dictionary.
Few examples of the farm contracts to analyze:
https://bscscan.com/address/0x046A9B3A9b743340eE2Bc4C6dDD35543E237C6c2
https://bscscan.com/address/0xB8986Df56802e9E1182F2f5B8e847E1cbAbE3E35#code
https://bscscan.com/address/0x1cba970a6e06d4bcc0c4717be677d1a8aa0211da
https://bscscan.com/address/0xf1de708fa8d963f5213ea5f1ebedee59d81ef9b9
Few examples of contracts that are not the farm (to check if code detect farms correctly):
https://bscscan.com/address/0x0255af6c9f86f6b0543357bacefa262a2664f80f
https://bscscan.com/token/0xb63a911ae7dc40510e7bb552b7fcb94c198bbe2d
Description of input/output for class:
Input:
- Contract address
Output:
- is_it_farm (boolean)
- is_active (boolean)
- daily_emissions (float)
- daily_emissions_token (string)
- creator_address (string)
- lp_or_token_contract_address (if it's possible)
- website (optional)
I know there is a lot of different way how to write farm contract so if it supports only the main ways (like Solidity etc.) then it would be ok to support just the most used of them.