Skip to content

Chicook/apeswap-pool-factory

 
 

Repository files navigation

ApeSwap

ApeSwap Pools & Pool Factory

This repository contains the Solidity Smart Contract code for ApeSwap pools along with a factory contract to easily deploy new pool contracts on chain.

Installation

Clone locally then run: yarn

.env

Copy .env.example as .env and provide the environment variables to deploy and verify contracts (if needed).

Deploy Contracts

Compile the smart contracts:
yarn compile

Migrate to BSC:
yarn migrate:bsc

Verify contracts:
verify:bsc

Reflect Staking Tokens

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.

About

Factory contract to generate new pools.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 67.5%
  • JavaScript 23.1%
  • TypeScript 9.3%
  • Shell 0.1%