C# function/class to Return the "Unclaimed Fees" for a NFT Uniswap V3 position
$20-50 USD
I përfunduar
Postuar over 2 years ago
$20-50 USD
Paguhet në dorëzim
Dear Developer,
I am in search for a C# function/class[see 3) below] that I can use in my C# Winform Application which can return the "Unclaimed Fees" for a NFT Uniswap V3 position as they are shown on the below links for open positions on Uniswaps website. If below positions are closed when you try to open them. Try to change "140749" to any higher number below 145800.
[login to view URL]
[login to view URL]
[login to view URL]
(See the attached image with the red rectangle which shows what information that would be returned)
Functionality and information for the C# function/class:
1) Webscraping is not an option as it is very slow and unreliable as I will need to return thousands of fees for positions within for example: 30 minutes. So I beleive some kind of API would be needed to be used.
2) I have heard that calling the SmartContract directly is the way to go to get the accurate unclaimed fees, if that helps.
3) The C# function that I am after would look something like this:
void getUnclaimedFees(int tokenID, out double token0fees, out double token1fees, out bool positionIsClosed)
{
//- All code here that calls some kind of API just knowing the tokenID which is for example the above:
// 140749 or 140751or 140753 etc
//- token0fees is the decimal number of tokens for token0 (Unclaimed Fees)
//- token1fees is the decimal number of tokens for token1 (Unclaimed Fees)
//- If the NFT position is a closed position. token0fees and token1fees must then both return 0
and it must be confirmed by the Boolean positionIsClosed
}
Release of Payment:
4) Once the function is ready. I will need to test the function over 100 different positions to see that it accurately return the correct fees. I will then release your payment. There are functions that sometimes return correct fees and sometime it doesn't return the correct fees, so it is important.
If you have any questions I am very happy to describe and give any more information you need for the function.
Best Regards and Thank you!
Hi, after reading the task description, I made test application, that seems to work on your examples. If you are still interested, we can talk about details through chat.
$35 USD në 5 ditë
0,0 (0 përshtypje)
0,0
0,0
3 freelancers are bidding on average $30 USD for this job
Hi, I am a senior C# programmer with 4+ years experience.
I can complete your project before your deadline and offer you best quality code.
You can visit my profile and can see my previous work with this skill.
I can start working immediately and can work on your timezone.
please send me message so we can discuss further.
Best regards.
Pezhman