Commit Graph

15 Commits

Author SHA1 Message Date
Gary Wang 6b293bdfbf pool: Add example admin-controlled pool 2020-12-08 07:39:31 +08:00
Gary Wang 7c76ef4650
pools: add fees (#54) 2020-12-08 00:30:33 +08:00
armaniferrante f7651516fd
registry: Remove usage of pool crate 2020-12-07 00:16:48 -08:00
Armani Ferrante ea2bfbb62d
Registry, lockups, and staking (#51) 2020-12-01 09:48:26 -08:00
Armani Ferrante a166569c4b
Remove serum-pool-client crate (#49) 2020-11-24 11:03:41 -08:00
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 6138ca9828 Add assert-owner program 2020-10-26 18:27:47 +08:00
Armani Ferrante 319c1b2ea2
lockup: CLI, whitelist, and relay transfers (#23) 2020-10-10 22:36:32 -07:00
Armani Ferrante 086e2219de
Registry CLI (#22) 2020-10-08 11:42:45 -07:00
Armani Ferrante e65766dd00
Node scaffold (#16) 2020-10-08 11:32:23 -07:00
Armani Ferrante 43d1f8c44d
Node registry (#15) 2020-10-02 12:42:48 -07:00
Armani Ferrante a40952b950
Take solana programs out of workspace (#13) 2020-09-28 10:54:21 -07:00
armaniferrante 0e354a5465 Move dex and crank into workspace 2020-09-25 19:04:25 -07:00
armaniferrante ce2e10d0e9 Add serum-common crate 2020-09-25 19:04:25 -07:00
armaniferrante 61daba644c
Solana client proc macro 2020-09-23 23:42:40 -07:00