df63d6a0f0
* 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 |
||
---|---|---|
.. | ||
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
Javascript bindings are available in the ./js
directory.