Smart Contracts
Find details related to the smart contracts ApeSwap runs on.

Binance Smart Chain

DEX Contracts

ApeFactory: 0x0841BD0B734E4F5853f0dD8d7Ea041c241fb0Da6 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: 0xcF0feBd3f17CEf5b47b0cD257aCf6025c5BFf3b7 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.

Farm & Token Contracts

MasterApe: 0x5c8D727b265DBAfaba67E050f2f739cAeEB4A6F9 The MasterApe contract represents the main farm contract which is in charge of distributing BANANA to farmers staking on the ApeSwap protocol.
BananaToken: 0x603c7f932ED1fc6575303D8Fb018fDCBb0f39a95 BananaToken represents the native token of the ApeSwap protocol. This token is distributed to farmers who stake tokens which are recognized by ApeSwap's 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/#/
Timelock: 0x2F07969090a2E9247C761747EA2358E5bB033460 The Timelock acts as the owner of the MasterApe 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 which updates a setting on the MasterApe. The Timelock is primarily used to manage the farm by adding new staking tokens and updating their reward weight.
MultiCall: 0x38ce767d81de3940CFa5020B55af1A400ED4F657 The MultiCall contract is a non-value holding contract which is used by the front-end 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 BSC vaults.

NFA Contracts

Non Fungible Apes: 0x6eca7754007d22d3f557740d06fed4a031befe1e 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

DEX Contracts

ApeFactoryV2: 0xCf083Be4164828f00cAE704EC15a36D711491284 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.
ApeRouterV2: 0xC0788A3aD43d79aa53B09c2EaCc313A787d1d607 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.

Farm Contracts

MiniApeV2: 0x54aff400858Dcac39797a81894D9920f16972D1D The MiniApeV2 contract represents the main farm contract which is in charge of distributing BANANA to 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

BananaSplitBar: 0x86Ef5e73EDB2Fea111909Fe35aFcC564572AcC06 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.
SupportApe: 0x54aff400858Dcac39797a81894D9920f16972D1D 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 11d ago