-
Notifications
You must be signed in to change notification settings - Fork 383
feat(argo-finance): added argo-finance to Zapper #652
Conversation
feat: add balance fetcher for contract position
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're close, can you do the following:
- Create a token fetcher for the xARGO token (see src/apps/trader-joe/avalanche/trader-joe.x-joe.token-fetcher.ts for an example, and https://studio.zapper.fi/docs/recipes/vault-token for details)
- Use the xARGO token in your pledging contract position fetcher using the positions you can retrieve using the
appToolkit
- Restore the
.env.sample
file deleted in your PR.
This reverts commit 8d87626.
feat: add token fetcher
Hello @0xKratos ! Looks like you did not provide an address when submitting your PR. I recognize it may have seemed kind of random that we were asking for a wallet address with a PR submission, but we are actually looking for ways to reward Studio contributors in the future. Is there an address you’d want to provide? Could even be an empty address, if you do not have an doxxed address Let me know! Also, if you’d like to privately provide it, feel free to shoot me a TG https://t.me/SamIAm_0x or DM on the Zapper Discord. Thanks! |
Gentle ping on the above @0xKratos ! Let me know if that is of interest! |
Hi Sam!
Sorry for the late reply. That sounds great! You can use this address:
0x63425a866FA081818d6Fc22cc7c354f765Dc1E4d
Regards
Kratos
…On Tue, 23 Aug 2022 at 2:55 AM, Sam | Zapper ***@***.***> wrote:
Gentle ping on the above @0xKratos <https://github.com/0xKratos> ! Let me
know if that is of interest!
—
Reply to this email directly, view it on GitHub
<#652 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHY57H4LCJIWTWUPVD3ALN3V2PEJLANCNFSM5Y3VUKPQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Description
Added tracking of CRO => bCRO staking, ARGO => xARGO staking and xARGO Pledging.
Checklist
How to test?
run locally and test with this random address that has pledged
[http://localhost:5001/apps/argo-finance/balances?addresses[]=0x4c48e6c1c04ba2a6feccf11ed321ee539bed379b&network=crono](http://localhost:5001/apps/argo-finance/balances?addresses%5B%5D=0x4c48e6c1c04ba2a6feccf11ed321ee539bed379b&network=cronos]