Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@bancor/contracts-solidity
Advanced tools
The solidity version of the Bancor smart contracts is composed of many different components that work together to create the Bancor Network deployment.
The solidity version of the Bancor smart contracts is composed of many different components that work together to create the Bancor Network deployment.
The main contracts are the BancorNetwork contract (entry point to the system) and the different converter contracts (implementation of liquidity pools and their reserves).
In order to use some plugins, API keys or custom network with secret config we need a config.json file. You can check hardhat.config.js
for more details.
{
"apiKeys": {
"etherscan": ""
},
"networks": {
"mainnet": {
"url": ""
}
}
}
All smart contract functions are public and all upgrades are opt-in. If significant improvements are made to the system a new version will be released. Token owners can choose between moving to the new system or staying in the old one. If possible, new versions will be backwards compatible and able to interact with the old versions.
The terms “reserves” and “connectors” have the same meaning throughout Bancor’s smart contract code and documentation. “Reserve ratio” and “connector weight” are also used interchangeably. “Connector balance” refers to the token inventories held in a liquidity pool's reserves.
Bancor is a work in progress. Make sure you understand the risks before using it.
yarn install
yarn test
(quick testing)yarn coverage
(full coverage)Bancor Protocol is open source and distributed under the Apache License v2.0
0.7.13
LiquidityProtection
FAQs
The solidity version of the Bancor smart contracts is composed of many different components that work together to create the Bancor Network deployment.
The npm package @bancor/contracts-solidity receives a total of 17 weekly downloads. As such, @bancor/contracts-solidity popularity was classified as not popular.
We found that @bancor/contracts-solidity demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.