Commit Graph

97 Commits

Author SHA1 Message Date
Armani Ferrante 7261556aba
Migrateable lockups and misc fixes (#62) 2020-12-15 00:36:49 -08:00
Gary Wang 911c63b52d pool: Update fee account 2020-12-14 07:07:48 +08:00
Armani Ferrante 7e11fa3d7b
registry: Expire reward drops (#61) 2020-12-12 00:14:57 -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
Armani Ferrante 0704adde56
registry: Use correct timelock and transition entity state on reward claim (#59) 2020-12-10 00:04:00 -08:00
Armani Ferrante d2d5e287d5
registry: Reward collection authorization (#58) 2020-12-09 21:31:39 -08:00
Gary Wang 855790b722 pool: Add tag for admin-controlled pools state 2020-12-09 05:22:10 +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 08acb76d3d
registry: Member balance isolation 2020-12-07 00:16:49 -08:00
armaniferrante f7651516fd
registry: Remove usage of pool crate 2020-12-07 00:16:48 -08:00
armaniferrante e6b21bf398
registry: Unlocked rewards vendor 2020-12-07 00:16:48 -08:00
armaniferrante e1d88669d3
lockup: Cleanup 2020-12-07 00:16:41 -08:00
schetterer 030037eeed
Allow cluster to specify a custom http url (#55)
* Allow cluster to specify a custom http url
2020-12-07 14:28:16 +08:00
Sam Schetterer 16f67135ef rustfmt 2020-12-07 12:20:26 +08:00
Sam Schetterer 5f53192a62 Use a basic runtime for queue monitoring instead of a full multithreaded one 2020-12-07 12:19:54 +08:00
dafyddd 7d7ce24d56
added as_leaf in AnyNode impl (#44)
Co-authored-by: Dafydd Durairaj <dafydd.durairaj@gmail.com>
2020-12-07 06:38:26 +08:00
Armani Ferrante cb43d3707f
retbuf: Remove (#52) 2020-12-01 13:08:05 -08:00
Armani Ferrante ea2bfbb62d
Registry, lockups, and staking (#51) 2020-12-01 09:48:26 -08:00
Armani Ferrante 937e26da94
travis: Cargo build worksace in CI (#50) 2020-11-24 12:01:03 -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 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
armaniferrante feebf9d3de
dex-fuzz: Update Solana SDK version 2020-10-31 11:02:45 -07:00
dafyddd 6da00d4719
Added no entrypoint feature (#41)
Co-authored-by: Dafydd Durairaj <dafydd.durairaj@gmail.com>
2020-10-30 22:44:22 +08:00
armaniferrante be3fb60bac
assert-owner: Cargo fmt to fix build 2020-10-26 09:50:38 -07:00
Sebastian Conybeare 6138ca9828 Add assert-owner program 2020-10-26 18:27:47 +08:00
Michael Vines 5adf8799ae
Employ RpcSendTransactionConfig::default() for better forward compatibility (#39) 2020-10-23 11:58:56 -07:00
armaniferrante 29d2c84e17
travis: Fix node version 2020-10-20 12:45:25 -07:00
armaniferrante 96ac9f10eb
docs: Registry draft design 2020-10-13 14:59:06 -07:00
Gary Wang 16c79ee06b Run cargo fix on crank 2020-10-12 22:43:49 -07:00
Gary Wang 05f4def2fd Only use extra cranking workers if the number of pending events is too much for one worker 2020-10-12 22:43:49 -07:00
Gary Wang 1575d8d8a9 Don't retry cranking instructions, just wait for the next iteration 2020-10-12 22:36:04 -07:00
Armani Ferrante fa3ac1f04f
lockup: Whitelist program-derived-addresses (#27) 2020-10-12 21:25:19 -07: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 50693e0a4c
Add badges and adjust readme headers (#19) 2020-10-03 17:50:42 -07:00
Armani Ferrante a729020018
Add license (#18) 2020-10-03 10:33:06 -07:00
Armani Ferrante 43d1f8c44d
Node registry (#15) 2020-10-02 12:42:48 -07:00
Sam Schetterer db82618863 cargo fmt 2020-09-29 13:21:23 +08:00
Sam Schetterer 77abc98f47 Better logging, don't cancel on exit 2020-09-29 13:00:32 +08:00
Armani Ferrante a40952b950
Take solana programs out of workspace (#13) 2020-09-28 10:54:21 -07:00
Armani Ferrante c884da206a
Merge pull request #5 from project-serum/armani/macro
Solana client proc macro and safe
2020-09-25 19:07:54 -07:00
armaniferrante 39fe274a99 Clippy changes 2020-09-25 19:04:25 -07:00