Smart Contracts
Last updated
Was this helpful?
Last updated
Was this helpful?
Token: ApeSwap.Finance Banana ($BANANA)
BANANA Token Address:
GNANA Token Address:
ApeFactory Contract Address:
ApeRouter Contract Address:
ApeFactory:
The ApeFactory is the primary DEX contract which is used to create and track all pairs created on the ApeSwap protocol. When a new pair needs to be created, this contract deploys a completely new pair contract specifically for these tokens and notes the address for future lookup.
ApeRouter:
The ApeRouter is an external, non-value holding, contract which manages different sets of interactions with the ApeFactory related to adding/removing liquidity and swapping tokens. Because this contract holds no value it can be upgraded without needing to redeploy the ApeFactory.
BNB Chain Zap Contract:
The MasterApe contract represents the main yield farm contract which is in charge of distributing BANANA to yield farmers staking on the ApeSwap protocol.
The MasterApeAdmin contract is an admin proxy contract to the MasterApe which adds features to the MasterApe regarding farm management. It also adds a layer of security by separating roles by security concern.
This is the owner of the MasterApeAdmin. This contract limits how fast owner functions can be called on the protocol. A transaction must first be queued in this contract which emits an event that users can evaluate. After a set delay, this tx can be executed.
This contract has the farmAdmin role on the MasterApeAdmin contract. This role is used to make farm allocation adjustments to the MasterApe.
BananaToken represents the native token of the ApeSwap protocol. This token is distributed to yield farmers who stake tokens which are recognized by ApeSwap's yield farm.
The Timelock acts to limit how fast owner functions can be called on the protocol. A transaction must first be queued in this contract which emits an event that users can evaluate. After a set delay, this tx can be executed. The Timelock is primarily used to manage contracts which require time-sensitive transactions.
The MultiCall contract is a non-value holding contract which is used by the frontend to batch calls to contracts.
A standard ERC721/BEP721 smart contract that manages the Non Fungible Apes tokens.
The contract used to manage all NFA auctions on ApeSwap.Finance.
The smart contract that manages the Non Fungible Banana tokens.
The ApeFactoryV2 is the primary DEX contract which is used to create and track all pairs created on the ApeSwap protocol. V2 is currently being used on Polygon which has an updated fee model to help support BANANA buy backs.
The ApeRouterV2 is an external, non-value holding, contract which manages different sets of interactions with the ApeFactoryV2 related to adding/removing liquidity and swapping tokens. Because this contract holds no value it can be upgraded without needing to redeploy the ApeFactoryV2.
The MiniApeV2 contract represents the main yield farm contract which is in charge of distributing BANANA to yield farmers staking on the Polygon ApeSwap protocol. This contract can be linked to external reward contracts to handle multi-token rewards.
This MiniComplexRewarderTime contract acts as a supplemental contract to the MiniApeV2 contract to handle multi-token rewards. This particular contract handles wMATIC rewards.
The VaultApe contract represents the main vault contract which is in charge of managing all the vaulting strategies utilized on ApeSwap's Polygon vaults.
The BananaSplitBar is a token contract for the BananaSplit token. The BananaSplit token is deprecated because there is a known vulnerability in the MasterApe contract that allows unlimited BananaSplit tokens to be generated. As such, the BananaSplit token is not acknowledged on the ApeSwap protocol.
The SupportApe contract is meant to be used as a staking contract for BananaSplit tokens. As BananaSplit tokens are not used on the ApeSwap protocol, this contract has been deprecated.
MasterApev2: MasterApe:
MasterApeAdmin:
TimelockV2 Secure:
TimelockV2 General:
BananaToken:
Golden Banana (GNANA):
Golden Banana represents ApeSwap's governance token. Golden Banana can be unlocked through burning BananaTokens. Golden Banana can be used for voting at:
TimelockV1:
MultiCall:
VaultApe: The VaultApe contract represents the main vault contract, which is in charge of managing all the vaulting strategies utilized on ApeSwap's BNB Chain vaults.
Non Fungible Apes:
NFA Auction:
Non Fungible Bananas:
Polygon BANANA Token:
ApeFactoryV2:
ApeRouterV2:
Polygon Zap Contract:
MiniApeV2:
MiniComplexRewarderTime (wMATIC):
VaultApe:
Ethereum BANANA Token:
ApeFactory:
ApeRouter:
ApeFactory:
ApeRouter:
Telos Zap Contract:
Arbitrum BANANA Token:
ApeFactory:
ApeRouter:
Arbitrum Zap Contract:
ApeFactory:
ApeRouter:
Telos Zap Contract:
Contracts for ApeSwap Bonds may change over time and can be found here:
BananaSplitBar:
SupportApe:
Timelock v1: