Skip to content

BendDAO/bend-apestaking-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build pass codecov

######                       ######     #    #######
#     # ###### #    # #####  #     #   # #   #     #
#     # #      ##   # #    # #     #  #   #  #     #
######  #####  # #  # #    # #     # #     # #     #
#     # #      #  # # #    # #     # ####### #     #
#     # #      #   ## #    # #     # #     # #     #
######  ###### #    # #####  ######  #     # #######

BendDAO ApeCoin Staking V2

Description

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;

Documentation

Docs

Audits

Run tests

  • TypeScript tests are included in the test folder at the root of this repo.
  • Solidity tests are included in the test folder in the contracts folder.
yarn install
yarn test

Run static analysis

# install only once
pip3 install slither-analyzer

slither .