Skip to content

orbs-network/orbs-staking-contract

Repository files navigation

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

About

Orbs staking contract on EVM used for Orbs Proof-of-Stake

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published