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.86%(-0.93%/24h)
ETH Dominance: 12.3%(+0.17%/24h)
Defi Market Cap: $97.14B(+29.98%/24h)
Total Market Cap: $3352.98B(+0.65%/24h)
Total Trading Volume 24h: $217.11B(+1.12%/24h)
ETH Market Cap: $412.27B
Defi to ETH Ratio: 23.56%
Defi Dominance: 2.78%
Altcoin Market Cap: $1412.89B
Altcoin Volume 24h: $172.85B
Total Cryptocurrencies: 32384
Active Cryptocurrencies: 10187
Active Market Pairs: 90913
Active Exchanges: 762
Total Exchanges: 9613
BTC: 98044.47$(0.49%/1H)
ETH: 3423.5$(0.89%/1H)
AVAX: 42.68$(3.33%/1H)
BNB: 656.64$(1.09%/1H)
MATIC: 0.58$(2.15%/1H)
FTM: 0.89$(2.88%/1H)
ADA: 1.07$(0.42%/1H)
DOT: 9.89$(17.45%/1H)
UNI: 10.86$(1.7%/1H)
CAKE: 2.31$(2.04%/1H)
SUSHI: 1.08$(0.5%/1H)
ONE: 0.02$(1.64%/1H)