This project contains all smart contracts used for the current BendDAO ApeCoin Staking V2 features. This includes:
- Pool to Pool Service Model;
- Coin holders deposit ApeCoin;
- NFT holders deposit BAYC/MAYC/BAKC;
- Holders can withdraw assets at any time;
- Holder can borrow ETH after staking;
- The rewards share ratio are determined by strategy contract;
- Bot will automatically do the pairing for the Coin and NFT;
- Bot will automatically do the claim rewards and compounding;
- TypeScript tests are included in the
testfolder at the root of this repo. - Solidity tests are included in the
testfolder in thecontractsfolder.
yarn install
yarn test# install only once
pip3 install slither-analyzer
slither .