* Added validator stake account list storage, deprecated old tests * Added join and leave stake pool instructions, error messages refactoring * Stake pool tests refactoring, tests for join and leave pool added * Added validator stake account creation instruction, join/leave pool instructions renamed, version field added * Formatting fixes * Added update list/pool instructions (no tests yet), updated deposit instruction logic, claim instruction removed, refactoring * Updated deposit logic and tests, updated withdraw logic and added tests, refactoring * Stake pool CLI updated to work with new deposit/withdraw instructions, claim usage removed * Added validator stake account management and balance update commands to the stake pool CLI, updated dependency versions, updated devnet program address * Merge conflicts fixed * Removed deprecated tests * Fixes for review comments * Additional program id checks across the code * Formatting errors fixed * Changed minimum stake balance in CLI, removed deprecated tests, removed check for stake history id * Added TODO for stake account warmup status check * Cargo.lock conflict fix * Formatting fixed * Update Cargo lock file for CI * Pin themis version of subtle Co-authored-by: Yuriy Savchenko <yuriy.savchenko@gmail.com> |
||
---|---|---|
.. | ||
cli | ||
program | ||
README.md |
README.md
stake-pool program
A work-in-progress program for pooling together SOL to be staked by an off-chain agent running SoM (Stake-o-Matic).
Each SoM needs at least one pool. Users deposit stakes into the SoM pool and receives a pool token minus the fee. The SoM redistributes the stakes across the network and tries to maximize censorship resistance and rewards.
Full documentation is available at https://spl.solana.com/stake-pool
Javascript bindings are available in the ./js
directory.