๐Ÿ“ƒ
Smart Contracts

Key Project Information

Token: ApeSwap.Finance Banana ($BANANA)
BANANA Token Address: 0x603c7f932ED1fc6575303D8Fb018fDCBb0f39a95 โ€‹
GNANA Token Address: 0xddb3bd8645775f59496c821e4f55a7ea6a6dc299โ€‹
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 (GNANA): 0xddb3bd8645775f59496c821e4f55a7ea6a6dc299โ€‹
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 which manages the Non Fungible Apes tokens.
The contract used to manage all NFA auctions on ApeSwap.Finance.

Polygon

Token Contracts

Polygon BANANA Token: 0x5d47baba0d66083c52009271faf3f50dcc01023cโ€‹
โ€‹

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

VaultApe: 0x37ac7DE40A6fd71FD1559Aa00F154E8dcb72efdb The VaultApe contract represents the main vault contract which is in charge of managing all the vaulting strategies utilized on ApeSwap's Polygon vaults.
โ€‹
____________

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.