Skip to content

oil-protocol/oil

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OIL

OIL is a crypto mining protocol.

API

  • Consts – Program constants.
  • Error – Custom program errors.
  • Event – Custom program events.
  • Instruction – Declared instructions and arguments.

Instructions

Mining

Referrals

Auction

Staking

Admin

State

  • Automation - Tracks automation configs.
  • Auction - Tracks auction configuration and state.
  • Bid - Tracks individual auction bids.
  • Board - Tracks the current round number and timestamps.
  • Config - Global program configs.
  • Miner - Tracks a miner's game state.
  • Pool - Tracks staking pool state.
  • Referral - Tracks referral account state.
  • Round - Tracks the game state of a given round.
  • Seeker - Tracks whether a Seeker token has been claimed.
  • Stake - Manages a user's staking activity.
  • Treasury - Mints, burns, and escrows OIL tokens.
  • Well - Tracks auction well state.
  • Whitelist - Tracks whitelist entries.

Tests

To run the test suite, use the Solana toolchain:

cargo test-sbf

For line coverage, use llvm-cov:

cargo llvm-cov

About

It's time to drill.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 99.9%
  • Shell 0.1%