프로젝트
소개
디지털 시대의 하드머니.
기타 프로젝트측정된 스타 증가
- in 24h
- +2
- in 7 days
- +2
- in 15 days
- +4
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalORE
Hard Money for the Digital Age.
API
Consts– Program constants.Error– Custom program errors.Event– Custom program events.Instruction– Declared instructions and arguments.
Instructions
Mining
Automate- Configures a new automation.Checkpoint- Checkpoints rewards from an prior round.ClaimORE- Claims ORE mining rewards.ClaimSOL- Claims SOL mining rewards.Deploy– Deploys SOL to claim space on the board.Initialize- Initializes program variables.Log– Logs non-truncatable event data.Reset- Resets the board for a new round.
Admin
Bury- Executes a buy-and-bury transaction.Wrap- Wraps SOL in the treasury for swap transactions.SetAdmin- Re-assigns the admin authority.SetFeeCollector- Updates the fee collection address.SetFeeRate- Updates the fee charged per swap.
State
Automation- Tracks automation configs.Board- Tracks the current round number and timestamps.Config- Global program configs.Miner- Tracks a miner's game state.Round- Tracks the game state of a given round.Treasury- Mints, burns, and escrows ORE tokens.
Tests
To run the test suite, use the Solana toolchain:
cargo test-sbf
For line coverage, use llvm-cov:
cargo llvm-cov
관련 프로젝트 살펴보기
불러오는 중…