Commit Graph

3 Commits

Author SHA1 Message Date
Armani Ferrante c908b890ac
Pool wip (#48)
* pool protocol WIP

* remove cruft, update gitignore

* Add draft pool schema and optimized retbuf implementation

* Checkpoint pool stuff

* Add test pool client

* Move pool-client to pool/client and add to workspace

* Switch from capnproto to borsh

* Move pool-schema to pool/schema

* Update client to use new schema, fix deserialization

* Simplify schema

* Update request format

* Add pool traits

* Pool WIP

* Finish merging

* Be explicit about evaluation order

* Plug the Pool trait into PoolProcessor

* Document the current state of pools

* pool: Implementable by registry

* pool: Use token account mint on init

* pool: Remove unecessary lifetimes

* Provide default create/redeem implementations

* Use the shmem param

* pool: Fix rounding, add error logging

* pool: Don't require setting delegate on accounts from which funds will not be pulled

* pool: Add simple pool program

* pool: Rename Trasact to Execute

* pool: Add a name field to PoolState

* Bump solana-sdk and remove feature to fix build

Co-authored-by: Sebastian Conybeare <sebastian@alameda-research.com>
Co-authored-by: Sebastian Conybeare <sebastian@projectserum.com>
Co-authored-by: Gary Wang <gary@garywang.net>
2020-11-24 00:29:28 -08:00
Sebastian Conybeare afbe8e3ebb Use https to install bpf sdk 2020-09-22 17:58:57 +00:00
Sebastian 276b2c655a Initial release 2020-09-09 12:14:15 +00:00