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: 57.25%(+0.22%/24h)
ETH Dominance: 12.3%(+0.14%/24h)
Defi Market Cap: $113.94B(+1.60%/24h)
Total Market Cap: $3263.89B(-2.28%/24h)
Total Trading Volume 24h: $127.89B(+3.47%/24h)
ETH Market Cap: $401.43B
Defi to ETH Ratio: 28.38%
Defi Dominance: 3.32%
Altcoin Market Cap: $1395.19B
Altcoin Volume 24h: $76.73B
Total Cryptocurrencies: 33049
Active Cryptocurrencies: 10497
Active Market Pairs: 95012
Active Exchanges: 772
Total Exchanges: 9813
BTC: 94356.23$(0.13%/1H)
ETH: 3333.1$(0.17%/1H)
AVAX: 36.64$(0.77%/1H)
BNB: 696.05$(0.44%/1H)
MATIC: 0.48$(0.55%/1H)
FTM: 0.83$(0.35%/1H)
ADA: 0.87$(0.46%/1H)
DOT: 6.89$(0.81%/1H)
UNI: 13.22$(0.59%/1H)
CAKE: 2.47$(0.62%/1H)
SUSHI: 1.41$(1.1%/1H)
ONE: 0.03$(1.08%/1H)