Find details related to the smart contracts ApeSwap runs on.
Binance Smart Chain
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.
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.
The contract used to manage all NFA auctions on ApeSwap.Finance.
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 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.
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.