Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 840 Bytes

File metadata and controls

36 lines (23 loc) · 840 Bytes

ORE LST

ORE liquid staking token (stORE).

API

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

Instructions

  • Initialize - Initializes program variables.
  • Unwrap - Burn stORE and withdraw staked ORE.
  • Wrap - Stake ORE and mint new stORE.
  • Compound - Auto-compound yield.

State

  • Vault - The program authority for minting stORE.

Tests

To run the test suite, use the Solana toolchain:

cargo test-sbf

For line coverage, use llvm-cov:

cargo llvm-cov