Skip to content
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

Fee Claim Bot Updates #54

Open
efecarranza opened this issue Oct 10, 2024 · 1 comment
Open

Fee Claim Bot Updates #54

efecarranza opened this issue Oct 10, 2024 · 1 comment
Assignees

Comments

@efecarranza
Copy link
Collaborator

Task:

Create a bot on Gelato that claims the Paraswap derived revenue to the treasury.

Details:

TokenLogic is to create a bot that claims the revenue from the Paraswap integration across all relevant Networks.

Example:

Ethereum:
Paraswap Fee Claimer - 0xeF13101C5bbD737cFb2bF00Bbd38c626AD6952F7
Aave address to use as the _partner address - 0xEE56e2B3D491590B5b31738cC34d5232F378a8D5

The bot is to be integrated into ACI's Dolce Vita program which is funded by the DAO. TokenLogic builds the bot, make sure it works and then shares it with ACI.

Example Idea:

We want to claim all fees earned by the ParaSwap partnership of Aave in every network.
For this, we want to build a bot similar to the one linked below:

https://github.com/efecarranza/aave-treasury-automation/blob/main/aave-treasury-automation/main.py

We will have a Gelato TypeScript function that runs on the 1st of every month and checks on all chains, if there are funds to withdraw.

If the balance is over 500 units, then we want to claim to the collector. If it's lower, we will skip until a follow up month when it's claimable because the amount is worth it to claim.

Contract that claims: https://etherscan.io/address/0x9abf798f5314bfd793a9e57a654bed35af4a1d60#writeContract

This is the Aave contract that claims directly to the collector from ParaSwap.

Information on Gelato.

Gelato video: https://www.youtube.com/watch?v=QSPGlJ1B2hs

Gelato tutorial: https://docs.gelato.network/web3-services/web3-functions/quick-start/writing-typescript-functions

@LucasWongC LucasWongC self-assigned this Oct 10, 2024
@Matt-Graham-TL
Copy link
Collaborator

Matt-Graham-TL commented Feb 7, 2025

  • Deployed Ethereum
  • Configure for networks Polygon
  • Not yet configured for networks..
  • Operational
  • No Yet Shared with ACI

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

No branches or pull requests

3 participants