Commit Graph

5 Commits

Author SHA1 Message Date
Michael Vines 80e29ef6b9 Port SPL to solana-program and `cargo build-bpf` 2020-10-24 19:21:38 -07:00
Yuriy Savchenko 100e930f2c
Interface accounts added as read-only, fixed mint authority on deposit, fixed stake pool stake deserializing (#702) 2020-10-23 14:25:53 +02:00
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
ysavchenko b5b3c56226
Changes to stake pool program address generation (#647)
* Added address type in programm address generation for the stake pool, renamed nonce to bump seed

* Formatting fixed
2020-10-19 13:26:05 +02:00
anatoly yakovenko 44b95aecdb
Token stake pool (#493)
* init

* instructions

* instruction progress

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* update

* wip

* update

* wip

* clippy

* builds

* builds

* wip test

* init testcargo fmt

* update

* wip stake instructions

* wip

* comment

* update

* update

* update

* init cli

* Address review comments

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2020-10-16 19:38:12 +02:00