bonedaddy
1f6d586701
Enable Loading Bids And Asks Via External Packages ( #121 )
2021-06-29 14:33:59 -07:00
comradekoval
576e5d2ef2
Fix instruction AccountInfo mutability ( #143 )
...
Fix order cancel instruction account mutability
2021-06-26 14:19:16 -07:00
Armani Ferrante
7d1d415384
v0.3.1 ( #129 )
2021-05-31 11:41:16 -07:00
Armani Ferrante
ec290344e4
Add instruction for open orders initialization ( #119 )
2021-05-31 15:39:00 +08:00
Armani Ferrante
2d4a7a94fe
dex: Close open orders accounts ( #112 )
...
* dex: Close open orders accounts
* Zero out open orders account data on close
* Fix length assertion
* Remove token account parsing
* Remove rent from close ix
* Add close open orders to whole shebang
* Add close open orders to fuzz test
* Fix fuzz
* Update u128
* Cancel orders in whole shebang
* Update docker iamge
* travis: Update solana cli
* json compact output
* Add error logging and move free slot bits check
* Add Closed AccountFlag
* Replace .bits() with as u64 cast
* Skip errors instead of removing owner from set
* Fix derive ordering
* Skip WrongOrdersAccount error if account is closed
Co-authored-by: Sebastian Conybeare <sebastian@alameda-research.com>
2021-05-31 14:36:17 +08:00
Nathaniel Parke
60f9a3260c
Add flags to crank less aggressively ( #128 )
...
* Wait for some time or sufficient events to crank
* Rust fmt
* Fixes
* Fix sign
2021-05-28 15:26:43 +08:00
Sebastian Conybeare
6f446cf300
Fix a bug preventing instant settlement after IOC orders. ( #126 )
...
* Update fuzz dependencies
* Atomically release unused funds from IOC bids
2021-05-25 00:03:24 +08:00
Dmitri Makarov
5420646709
dex: Fix compiler error triggered when compiling with rust 1.52 ( #123 )
2021-05-19 20:21:28 -07:00
Armani Ferrante
6690408859
dex: v0.3.0 ( #114 )
2021-04-29 23:37:05 -07:00
Sebastian Conybeare
19c8e37bf4
Revert "Mark Various Functions, And Enums Public For On-Chain Price Calculations ( #106 )" ( #108 )
...
This reverts commit 905aed67b5
.
2021-04-23 02:20:16 +08:00
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