Set Protocol is a specification for tokenized asset management strategies on the ethereum blockchain written in the Solidity programming language. We use Hardhat as a development environment for compiling, testing, and deploying our contracts.
To use console.log during Solidity development, follow the guides.
yarn chain
yarn compile
To speed up compilation, install solc 0.6.10 natively with the following command.
brew install https://raw.githubusercontent.com/ethereum/homebrew-ethereum/06d13a8499801dc3ea4f19b2d24ed2eeb3072ebb/solidity.rb
yarn build
yarn test
to run compiled contracts
OR yarn test:clean
if contracts have been typings need to be updated
yarn coverage
We highly encourage participation from the community to help shape the development of Set. If you are interested in developing on top of Set Protocol or have any questions, please ping us on Telegram.
All smart contracts are tested and have 100% line and branch coverage.
The disclosure of security vulnerabilities helps us ensure the security of our users.
How to report a security vulnerability?
If you believe you’ve found a security vulnerability in one of our contracts or platforms, send it to us by emailing [email protected]. Please include the following details with your report:
-
A description of the location and potential impact of the vulnerability.
-
A detailed description of the steps required to reproduce the vulnerability.
Scope
Any vulnerability not previously disclosed by us or our independent auditors in their reports.
Guidelines
We require that all reporters:
-
Make every effort to avoid privacy violations, degradation of user experience, disruption to production systems, and destruction of data during security testing.
-
Use the identified communication channels to report vulnerability information to us.
-
Keep information about any vulnerabilities you’ve discovered confidential between yourself and Set until we’ve had 30 days to resolve the issue.
If you follow these guidelines when reporting an issue to us, we commit to:
-
Not pursue or support any legal action related to your findings.
-
Work with you to understand and resolve the issue quickly (including an initial confirmation of your report within 72 hours of submission).
-
Grant a monetary reward based on the OWASP risk assessment methodology.