Skip to content

hats-finance/Velvet-Capital-0x0bb0c08fd9eeaf190064f4c66f11d18182961f77

 
 

Repository files navigation

Audit Competition for Velvet-Capital

This repository is for the audit competition for the Velvet-Capital. To participate, submit your findings only by using the on-chain submission process on https://app.hats.finance/vulnerability .

How to participate

Good luck!

We look forward to seeing your findings.


Running test cases

Install Dependencies:

$ npm i --legacy-peer-deps

To run the testcases, make sure that the .env file is updated (with the RPC URLs, ENSO_KEY ,CHAIN_ID and the wallet mnemonic value).

To run the testcases of Arbitrum(set CHAIN_ID="42161" in env), run the following command:

$ npx hardhat test test/Arbitrum/*test.*

To run the testcases of Bsc(set CHAIN_ID="56" in env), run the following command:

$ npx hardhat test test/Bsc/*test.*

To run the coverage of Arbitrum(set CHAIN_ID="42161" in env), run the following command:

$ npm run coverageArbitrum

To run the coverage of Bsc(set CHAIN_ID="56" in env), run the following command:

$ npm run coverageBsc

Note

Issue found by other auditor and out of scope issue https://docs.google.com/spreadsheets/d/18K7O1Mms9261mnS9OfDFelg4nSkwC34uUoDC3OS-GHE/edit#gid=76608452

About

Core smart contracts of Velvet Capital

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 60.4%
  • Solidity 39.6%