Commit Graph

24 Commits

Author SHA1 Message Date
Armani Ferrante 6de9192766
cli, context: Add spl token faucet to init-mint command (#63) 2020-12-15 16:12:51 -08:00
Armani Ferrante 7261556aba
Migrateable lockups and misc fixes (#62) 2020-12-15 00:36:49 -08:00
Armani Ferrante aa1833abc5
Unified CLI (#60) 2020-12-11 17:49:57 -08:00
Armani Ferrante 9ee1aabc25
crank, registry/rewards: Add consume-events-rewards instruction (#57) 2020-12-11 11:56:38 -08:00
Armani Ferrante fa7abc7c9a
Crank rewards program (#56) 2020-12-11 11:50:01 -08:00
Gary Wang 6b293bdfbf pool: Add example admin-controlled pool 2020-12-08 07:39:31 +08:00
Gary Wang 49628a3f24 pool: Update dependencies 2020-12-08 00:59:52 +08:00
Gary Wang 7c76ef4650
pools: add fees (#54) 2020-12-08 00:30:33 +08:00
armaniferrante baf5fca5ef
Fix all deprecation warnings 2020-12-07 00:23:11 -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 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 991a86e93c
Alignment-independent account data (#47)
* Port Dex to solana-program 1.4.4 and spl-token 3.0.0-pre1
* Use packed structs for on-chain state representation


Co-authored-by: Michael Vines <mvines@gmail.com>
Co-authored-by: Sebastian Conybeare <sebastian@projectserum.com>
2020-11-16 19:06:30 +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 c3eab56384
Add simulate_transaction fn (#25) 2020-10-10 17:09:07 -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 eb131ef2c5 safe: Change tests to use linear unlock function 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