ApeSwap
Ask or search…
K
Comment on page
📃

Smart Contracts

Key Project Information

Token: ApeSwap.Finance Banana ($BANANA)
ApeFactory Contract Address: 0x0841BD0B734E4F5853f0dD8d7Ea041c241fb0Da6
ApeRouter Contract Address: 0xcF0feBd3f17CEf5b47b0cD257aCf6025c5BFf3b7

BNB Chain

DEX Contracts

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.
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.

Yield Farm & Token Contracts

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.
Golden Banana represents ApeSwap's governance token. Golden Banana can be unlocked through burning BananaTokens. Golden Banana can be used for voting at: https://vote.apeswap.finance/#/
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.

Vault Contracts

VaultApe: 0x5711a833C943AD1e8312A9c7E5403d48c717e1aa 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.

NFA 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.

Polygon

Token Contracts

DEX Contracts

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.

Yield Farm Contracts

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.
MiniComplexRewarderTime (wMATIC): 0x1F234B1b83e21Cb5e2b99b4E498fe70Ef2d6e3bf
This MiniComplexRewarderTime contract acts as a supplemental contract to the MiniApeV2 contract to handle multi-token rewards. This particular contract handles wMATIC rewards.

Vault Contracts

The VaultApe contract represents the main vault contract which is in charge of managing all the vaulting strategies utilized on ApeSwap's Polygon vaults.

Ethereum

Token Contracts

DEX Contracts

DEX Contracts

Arbitrum

Token Contracts

DEX Contracts

Bonds Contracts

Contracts for ApeSwap Bonds may change over time and can be found here: https://github.com/ApeSwapFinance/apeswap-lists

Deprecated Contracts

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.
Last modified 4mo ago