
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
@backdfund/protocol
Advanced tools
This is the official repository for the [Backd protocol](https://backd.fund/) contracts.
This is the official repository for the Backd protocol contracts.
In addition to the code, check out the official Backd documentation.
The test suite repository is built with Pytest, which is used by Brownie.
The test suite relies on the following packages:
mainnet-fork
modeTo get started using this repository, install the requirements (presumably in a virtual enviroment):
pip install -r requirements.txt
To run the full test suite, run:
brownie test
For a more detailed overview of how the Backd protocol can be tested, please read the test suite documentation.
To compile all contracts, run:
brownie compile
For a detailed overview of how to use Brownie, please check out the official docs.
All Backd contracts are located within the contracts
directory.
The tests are located within the tests
directory. The different liquidity pools that exist are specified in the tests directory here.
The required environments variables that need to be set for running the test suite are listed here.
Note: The ETHERSCAN_TOKEN
environment variable may need to be specified when running tests in mainnet-fork
mode, as Etherscan is used to fetch the latest contract data and the API request limit may be reached.
Contract | Address |
---|---|
AddressProvider | 0x139c15e21b0f6e43Fc397faCe5De5b7D5ae6874a |
ChainlinkOracleProvider | 0x275bB4476eBe0f1d6847bE66C8b00129fB71Ea5c |
Controller | 0xf88864B5D747961EB1CAf88d395D13aCa8274C9F |
PoolFactory | 0x0B6A5F2EBc5e1BD38a4ec6a90844F45901E5B843 |
RoleManager | 0x83174c049116271f64a661b8371658792F62e363 |
VaultReserve | 0x07d142aBCCE99DEFA936e8E8c18595E5F30A109f |
ChainlinkUsdWrapper (LDO) | 0xC8988CEd1AE9Ba3019328108F35B76634d2c2D9E |
This contracts are used to deploy new pools but cannot not be used directly.
Contract | Address |
---|---|
Erc20Pool | 0xedB53B9b0D1dF560A1C15A8FC05EDEBFB97A27C5 |
EthPool | 0xCd283dFD87F5A5765AdCCBC9bE053e07f8d85505 |
StakerVault | 0xBc74FbE07E89b83399Dc1dD2Fb2C61EC7b94879e |
Erc20Vault | 0x00C3253d317ccA7Bf3F038288E61f14A9e3af8B2 |
EthVault | 0x76676E63C53f81938D5dD8FaFA8540Ca860aE926 |
LpToken | 0xa6c1d33837376F600e2f096D70356914255E29e6 |
FAQs
This is the official repository for the [Backd protocol](https://backd.fund/) contracts.
We found that @backdfund/protocol demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.