This repository contains the Solidity Smart Contract code for ApeSwap pools along with a factory contract to easily deploy new pool contracts on chain.
Clone locally then run: yarn
Copy .env.example
as .env
and provide the environment variables to deploy and verify contracts (if needed).
Compile the smart contracts:
yarn compile
Migrate to BSC:
yarn migrate:bsc
Verify contracts:
verify:bsc
ApeSwap typically runs staking pools which allow BANANA or GNANA to be staked when used on BSC.
As GNANA
is a reflect token, the reflect fees which are sent to the pool cannot be allocated to stakers. The pool keeps track of the totalStaked
amount and allows the owner of the pool to skim excess reflect fees earned for burning or other purposes as per governance.