Commit Graph

175 Commits

Author SHA1 Message Date
armaniferrante 419a780fd4
Revert "Mark Various Functions, And Enums Public For On-Chain Price Calculations (#106)"
This reverts commit 905aed67b5.
2021-04-22 11:16:39 -07:00
bonedaddy 905aed67b5
Mark Various Functions, And Enums Public For On-Chain Price Calculations (#106) 2021-04-21 22:16:18 -07:00
Nathaniel Parke e264db2c9c
Update program ID to v3 (#101)
* Update program ID to v3

* Update README.md
2021-03-28 08:57:36 +08:00
Elliott Benisty 480cfefdbd
Update CPI instruction bindings to be compatible with v3 (#100) 2021-03-08 17:03:01 +08:00
Armani Ferrante aa85932deb
Remove regisry, lockup, and solana-client-gen (#95) 2021-03-01 16:09:49 +08:00
Sebastian Conybeare 868c6f1694
Dex V3 (#97)
* Dex V3

* Don't --use-deprecated-loader when deploying the dex

* travis: Use solana-test-validator

* travis: Install deps

* travis: Add libssl-dev

* travis: Use bionic

* travis: Set path

* docker: Update solana cli to 1.5.5

* travis: Create keypair before starting validator

* travis, scripts: Run validator within docker

* scripts: Use solana PascalCase for solana deploy 1.5.5 output

* Add sleep to wait for validator to start

Co-authored-by: Sebastian Conybeare <sebastian@projectserum.com>
Co-authored-by: Armani Ferrante <armaniferrante@gmail.com>
2021-03-01 09:37:36 +08:00
Elliott Benisty 1a9aee6e74
Fix writable spl token program account which should be readonly (#99) 2021-02-09 00:13:09 +08:00
Armani Ferrante 3469a83804
Update borsh version (#96) 2021-01-31 06:39:49 -08:00
Elliott Benisty d47058600c
Add helper functions to dex instrutions.rs to facilitate use in CPI (#92) 2021-01-24 19:42:31 -08:00
Armani Ferrante 8ec43f0d72
Use renamed serum-borsh package (#91) 2021-01-15 21:43:13 -08:00
Armani Ferrante 328fb4e0ba
Add initialization variables to whitelist and reward-q accounts (#89) 2021-01-15 15:51:33 -08:00
armaniferrante c211e0140c
docs: Install more dependencies 2021-01-07 19:19:23 -08:00
Armani Ferrante 9d52c61b09
docs: Add --locked flag to cargo install 2021-01-07 18:24:46 -08:00
Armani Ferrante f7a62ea1ad
docs: Add section for running a validator to node-setup (#87) 2021-01-02 09:34:42 -08:00
Armani Ferrante b7c522a4f7
Rename Makefile to common.mk (#81) 2020-12-27 20:44:32 -08:00
Armani Ferrante 8822404b83
readme: Update devnet and mainnet-beta addresses (#79) 2020-12-27 13:37:39 -08:00
Armani Ferrante a51d6e8d65
Add account creation to node setup tutorial (#78) 2020-12-27 12:29:03 -08:00
armaniferrante b202b8f8ee
Fix README links 2020-12-27 10:05:02 -08:00
Armani Ferrante 18f48b66f2
Monorepo organization (#73) 2020-12-27 09:47:31 -08:00
Armani Ferrante 54400763db
lockup, registry: Add zero address authorization check (#76) 2020-12-27 09:42:48 -08:00
Armani Ferrante 278f2d9be1
registry/rewards: Add set_fee_rate instruction for crank rewards (#75) 2020-12-22 19:23:48 -08:00
Armani Ferrante c848a82077
Staking Mainnet Beta test deployment (#72) 2020-12-20 17:34:01 -08:00
Armani Ferrante d47d9ae28c
Remove unused message-queue ring. (#71) 2020-12-20 14:25:46 -08:00
Armani Ferrante 689e382cd3
docs: Staking, lockup, and cranking rewards (#66) 2020-12-19 16:47:44 -08:00
Armani Ferrante e7bcee8ecf
registry: Add rewards q cursor safety check (#69) 2020-12-19 16:47:13 -08:00
Armani Ferrante 022daf02d1
crank: Remove unnecessary options for consume-event-rewards (#68) 2020-12-16 19:15:05 -08:00
Armani Ferrante 8e51bccb07
scripts: Gate faucet behind devnet (#67) 2020-12-16 18:59:54 -08:00
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
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