ApeSwap Integration with Chainlink Keepers

Published on: 06.08.2022

ApeSwap Integration with Chainlink Keepers, simplifying vault compounding and improving efficiency for users and the protocol.

BANANA Maximizer vaults are auto-compounding vaults that operate on top of BANANA Farms to take BANANA rewards and compound them automatically. Moreover, this saves users the trouble of needing to manually compound their BANANA. As a result of ApeSwap announced its integration with Chainlink Keepers.

How ApeSwap integrated Chainlink Keepers

Once they deployed their “Keepers-compatible” contract, they registered it via the Chainlink Keepers dashboard.

After pasting in the address of the Keeper contract, the Chainlink Keepers Network verified that the contract is Keepers-compatible  and it brought them to the “Register new Upkeep” page.

  • Gas limit: It’s important to set this value accurately, or Keeper transactions may not be sent. On the extreme side, if this value is too high, your Keeper may unnecessarily consume a large amount of LINK.

  • Check data: This is important to set if you need to pass data into the checkUpkeep function, otherwise it should be left blank.

Creating your Keepers-Compatible Contract

Furthermore, they decided that a simple way to integrate Keepers into the Maximizer Vault contracts would be to create a new contract that extends the original Vault contract.

This approach has several benefits:

  1. The original MaximizerVaultApe contract can be deployed without the Keeper extension if desired.
  2. The new KeeperMaximizerVaultApe contract can access the internal functions from MaximizerVaultApe to be able to provide compound functionality.
  3. The @chainlink KeeperCompatible contract can be imported into this new contract separating concerns from the main vault contract.

Integration results

Moreover, Chainlink Keepers removed the requirement for ApeSwap to run and manage a centralized server to send compound transactions.

As a result of integrating Chainlink Keepers, they are saving hundreds of hours of time for their users.

Moreover, they chose Chainlink Keepers as they are fairly easy to implement with well supported documentation and code examples. Furthermore, they created a smooth UX with their Keepers interface on both BNB Chain mainnet and testnet to set up and manage Keepers. As a result, Chainlink also has a very nice testnet faucet for obtaining LINK to test Keepers. Furthermore, this is a very useful and overlooked developer feature!

­

About ApeSwap

ApeSwap is a decentralized finance (DeFi) platform offering a full suite of tools to explore and engage with the future of wealth management, overseen by the ApeSwap Decentralized Autonomous Organization (DAO).

Website | Twitter

­

About Chainlink Keepers

Automate your smart contracts using Chainlink Keepers, the decentralized and highly reliable smart contract automation service.

Website | Twitter

­

SOURCE

https://ape-swap.medium.com/how-apeswap-integrated-chainlink-keepers-for-banana-maximizer-vaults-2e88abb34eca

REQUEST AN ARTICLE

Market Stats:
BTC Dominance: 54.26%(+0.35%/24h)
ETH Dominance: 16.02%(-0.15%/24h)
Defi Market Cap: $86.4B(-20.64%/24h)
Total Market Cap: $2319.07B(+0.68%/24h)
Total Trading Volume 24h: $104.91B(-12.65%/24h)
ETH Market Cap: $371.72B
Defi to ETH Ratio: 23.24%
Defi Dominance: 3.56%
Altcoin Market Cap: $1060.69B
Altcoin Volume 24h: $61.61B
Total Cryptocurrencies: 29213
Active Cryptocurrencies: 9718
Active Market Pairs: 81237
Active Exchanges: 749
Total Exchanges: 8335
BTC: 63912.5$(1.06%/1H)
ETH: 3092.82$(0.45%/1H)
AVAX: 34.92$(1.25%/1H)
BNB: 542.27$(0.61%/1H)
MATIC: 0.7$(0.95%/1H)
FTM: 0.69$(1.11%/1H)
ADA: 0.46$(1.15%/1H)
DOT: 6.73$(0.91%/1H)
UNI: 7.21$(0.89%/1H)
CAKE: 2.74$(1.15%/1H)
SUSHI: 0.98$(0.88%/1H)
ONE: 0.02$(1.18%/1H)