Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.6 KB

README.md

File metadata and controls

50 lines (31 loc) · 1.6 KB

Orbs Staking Contract

Orbs staking contract on Ethereum (Solidity)

The Orbs staking contract is a very lean and concise Ethereum contract with a single purpose - to hold the locked ORBS tokens staked by delegators. The contract supports staking (locking) and unstaking after cooldown of 2 weeks (unlocking). The contract was designed to be lean, simple and remain immutable because it holds a significant amount of money (all locked ORBS tokens).

The rest of the Orbs PoS contract ecosystem (about 16 more Ethereum contracts involving complex actions from elections to rewards) depends on this contract by reading information from it.

Official contract instances

Specification

High-level specification

Security Audit

In February-March 2020, Orbs received security audits from SmartDEC and Bok Consulting Pty Ltd.

Build

To build the project, please run:

yarn compile

Tests

To run the tests, please run:

yarn test

To run the tests coverage suite, please run:

yarn coverage

To run the tests with a gas profiler, please run:

yarn profile