基于 Fantom 和 BNB 链的 Alpaca 金融智能合约
Leveraged yield farming on BNB Chain and Fantom chain
The following assumes the use of node@>=14.
.env.example file and change its name to .env in the project folderyarn to install all dependenciesyarn compile
Note: There will be a new folder called typechain generated in your project workspace. You will need to navigate to typechain/index.ts and delete duplicated lines inside this file in order to proceed.
yarn test
$ curl -L https://foundry.paradigm.xyz | bash # install foundryup
$ foundryup # install forge and cast$ forge testThe primary license for Alpaca Protocol is the MIT License, see MIT LICENSE.
Exceptions
solidity/contracts/6/protocol/workers/CakeMaxiWorker.sol and all files in solidity/contracts/6/protocol/strategies/pancakeswapV2-restricted-single-asset are licensed under Business Source License 1.1 (BUSL-1.1) (as indicated in their SPDX headers), see BUSL-1.1DeltaNeutral*.sol and solidity/contracts/8.13/protocol/AutomatedVaultController.sol, solidity/contracts/8.13/protocol/xALPACACreditor.sol are licensed under Business Source License 1.1 (BUSL-1.1) (as indicated in their SPDX headers), see BUSL-1.1tests remain unlicensed.暂无开放 Issues,或尚未同步最近议题。