Skip to content

priest671/smart-contracts

 
 

Repository files navigation

@rehold-io/smart-contracts

Crypto Boost for Everyone. https://rehold.io

Versions

The protocol has two versions of smart contracts:

  • V1 is already deployed on BNB Chain. We will not deploy these contracts anymore and will migrate BNB Chain to the new ones very soon.
  • V2 will be deployed on new blockchains (Polygon, Arbitrum, Optimism, etc). It's more effective and optimized contracts, it reduces users' costs on transactions.

Audit

Audited by PeckShield.

Contracts on Binance Smart Chain (BSC)

Contracts on Arbitrum (ARB)

Contracts on Polygon (MATIC)

Contracts on Optimism (OP)

Contracts on Avalanche (AVAX)

Contracts on Fantom (FTM)

NFTs on Binance Smart Chain (BSC)

Compile

$ npm run compile

Tests

All smart contracts are 100% covered by auto-tests.

$ npm run test:coverage
-----------------------|----------|----------|----------|----------|----------------|
File                   |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |
-----------------------|----------|----------|----------|----------|----------------|
 contracts/            |      100 |      100 |      100 |      100 |                |
  Dual.sol             |      100 |      100 |      100 |      100 |                |
  PriceFeed.sol        |      100 |      100 |      100 |      100 |                |
  Referral.sol         |      100 |      100 |      100 |      100 |                |
  Vault.sol            |      100 |      100 |      100 |      100 |                |

About

Core smart contracts of ReHold ⛓ ⛓

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 78.8%
  • Solidity 21.1%
  • JavaScript 0.1%