-
Notifications
You must be signed in to change notification settings - Fork 1.6k
PuppyFun Connector Update #4443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
The puppyfun adapter exports:
|
The puppyfun adapter exports:
|
The puppyfun adapter exports:
|
@giantHound i've refactored the adapter code, we like to keep it clean, and we don't support totalvolume/fee/revenue dimensions, as it redundant metric(as we can directly do calculation from our db). for volume we get the 403 error can you check? |
Huge Thanks to you! I will check it. Hmm, this code runs with no errors (like 403) on my local machine |
check this run result |
The puppyfun adapter exports:
|
The puppyfun adapter exports:
|
Hello again! Could you please tell me, is it obligatory to use a Allium API key in my case here& (I want to query Native coin income too) using "getETHReceived" method. The error says: Ignore the error in github bot. Does it mean, that you can test it somehow on your end with the required API key? About the 403 issue The response locally is the following (before inserting the Allium query)
Thank you for help! |
@giantHound i believe puppy.fun is restricated for many regions, i tried using VPN |
Hmm. Okay I will try to figure out another solution (maybe using getLogs and etc) |
Perhaps there is an issue with fetchUrl method? The httpGet methow worker for that query just fine in the past (until todays morning) |
that's not a issue, can you use vpn and check different locations, you would get the error, just by visiting the puppy.fun, most regions are geo-blocked for your site. |
I guess the puppy.fun dapp is locked in several locations, however the Lama Connector with the same API route worked until the latest update (today) with no 403 issues. You can see that the URL is the same. It could not be possible with IP restrictions. Moreover the backend does not have any geo-locks at all (tried with VPN and without). |
Hello, DefiLama Team!
This PR is a fix/upgrade to the previous PuppyFun Connector. We now rely on in built function (addTokensReceived) in fees & revenue metic. The idea is that fees == all income to the fee wallet. Daily Fees are collected by specifying the fromBlock method in options manually (to collect all transfers from a specific block).
Thank you