solana-program-library/stake-pool
Yuriy Savchenko 480f6604b7
Added missing accounts to the interface to call stake account program (#763)
* Interface accounts added as read-only, fixed mint authority on deposit, fixed stake pool stake deserializing

* Unit test refactoring, added success tests for deposit, updated stake account program id

* Warnings fixed

* Removed random key generation, used Pubkey::new_unique instead

* Imports optimization

* Unit test architecture updated to remove separate invoke_signed declarations

* Added missing accounts (sysvar clock and stake account program id) to calls to stake account program

* Fixed formatting

* Fixed stake pool deposit unit test

* Temporarily removed stake-pool cli from main workspace

* Fixed warning in token program

* Fixed warning in token program v3

* Fixed warnings in token swap program

* Fixed warning in token cli

* Sysvar and program id params reordered
2020-11-02 22:03:54 +01:00
..
cli Added missing accounts to the interface to call stake account program (#763) 2020-11-02 22:03:54 +01:00
program Added missing accounts to the interface to call stake account program (#763) 2020-11-02 22:03:54 +01:00
README.md Token stake pool (#493) 2020-10-16 19:38:12 +02:00

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

Javascript bindings are available in the ./js directory.