Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

feat(argo-finance): added argo-finance to Zapper #652

Merged
merged 10 commits into from
Jun 21, 2022

Conversation

0xKratos
Copy link
Contributor

Description

Added tracking of CRO => bCRO staking, ARGO => xARGO staking and xARGO Pledging.

Checklist

  • [ x] I have followed the Contributing Guidelines
  • (optional) As a contributor, my Ethereum address/ENS is:
  • (optional) As a contributor, my Twitter handle is:

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]

Sorry, something went wrong.

0xKratos and others added 6 commits June 15, 2022 00:25

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: add balance fetcher for contract position
Copy link
Contributor

@immasandwich immasandwich left a 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:

  1. 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)
  2. Use the xARGO token in your pledging contract position fetcher using the positions you can retrieve using the appToolkit
  3. Restore the .env.sample file deleted in your PR.

0xoats and others added 4 commits June 18, 2022 18:08

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: add token fetcher

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@immasandwich immasandwich merged commit 84fa912 into Zapper-fi:main Jun 21, 2022
This was referenced Jun 21, 2022
@SamIam-0x
Copy link
Contributor

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!
Sam

@SamIam-0x
Copy link
Contributor

Gentle ping on the above @0xKratos ! Let me know if that is of interest!

@0xKratos
Copy link
Contributor Author

0xKratos commented Aug 24, 2022 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants