solana-program-library/stake-pool
Yuriy Savchenko df63d6a0f0
Stake pool improvements and fixes (#665)
* Added address type in programm address generation for the stake pool, renamed nonce to bump seed

* Formatting fixed

* Bump seed calculation moved to the smart contract, test for fee > 1 added, state length public constant added

* Added claim method to stake pool, fixed program address generation in token mint and burn calls

* Refactored signers management when calling other contracts

* Signers formation put back into calling functions, deposit/withdraw/claim method reworked, state serialization bug fixed
2020-10-20 21:02:05 +02:00
..
cli Token stake pool (#493) 2020-10-16 19:38:12 +02:00
program Stake pool improvements and fixes (#665) 2020-10-20 21:02:05 +02: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.