Maximilian Schneider
|
dc0a13188e
|
publish audit
|
2022-08-31 14:18:03 +02:00 |
dafyddd
|
dcfe4cd60c
|
fix cargo fmt
|
2022-07-09 10:13:04 -07:00 |
dafyddd
|
83ccad448d
|
update deploy time
|
2022-07-09 10:09:43 -07:00 |
dafyddd
|
cb49442a47
|
update version and add changelog for v3.5.1
|
2022-07-08 16:08:23 -07:00 |
dafyddd
|
107c50c0ee
|
Merge pull request #198 from blockworks-foundation/deposit_fix
Deposit fix
|
2022-07-08 15:22:22 -07:00 |
dafyddd
|
ddfd41e13f
|
Merge branch 'main' into deposit_fix
|
2022-07-08 13:49:14 -07:00 |
dafyddd
|
d7d7946320
|
Merge pull request #197 from blockworks-foundation/pan/delist_market_fixes
Delist market fixes
|
2022-07-06 13:02:09 -07:00 |
Riordan Panayides
|
0c4afa9c79
|
Revert "Remove luna pyth oracle fix"
This reverts commit 07ea07a1e5 .
|
2022-07-06 12:16:14 +01:00 |
Riordan Panayides
|
e54b642689
|
Remove vault owner check
|
2022-07-04 14:17:07 +01:00 |
Riordan Panayides
|
41df91e6ed
|
Merge branch 'pan/delist_market_fixes' of github.com:blockworks-foundation/mango-v3 into pan/delist_market_fixes
|
2022-07-02 17:00:10 +01:00 |
Riordan Panayides
|
8f0512cc08
|
Fix node bank and vault loading
|
2022-07-02 17:00:07 +01:00 |
dafyddd
|
369bf4432c
|
don't allow redeemable pnl to go from negative to positive when settling dust in settle_fees
|
2022-06-30 13:24:24 -04:00 |
dafyddd
|
743e2f1cdc
|
fixed settle_fees so that dust only happens once when zeroing out at ForceCloseOnly
|
2022-06-30 12:32:16 -04:00 |
Riordan Panayides
|
07ea07a1e5
|
Remove luna pyth oracle fix
|
2022-06-30 17:18:52 +01:00 |
Riordan Panayides
|
5a371b77f6
|
Remove most luna references
|
2022-06-30 17:11:24 +01:00 |
Riordan Panayides
|
3e78651954
|
Don't settle dust fees unless necessary
|
2022-06-30 16:12:36 +01:00 |
Riordan Panayides
|
808bfa289b
|
Fix remove_perp_market
|
2022-06-30 15:59:01 +01:00 |
Riordan Panayides
|
f67ad991b8
|
Fix dust in settle_fees, borrows in remove_spot_market
|
2022-06-30 14:16:34 +01:00 |
dafyddd
|
dd7baa328f
|
update v3.5.0 deploy time
|
2022-06-27 14:33:33 -04:00 |
dafyddd
|
394259ee74
|
Update version and changelog
|
2022-06-24 15:56:35 +02:00 |
dafyddd
|
bbae354a67
|
prevent interest leaching in deposit
|
2022-06-24 13:43:38 +02:00 |
dafyddd
|
069d283ba5
|
Merge pull request #190 from blockworks-foundation/dd/delist_market
Delist Market
|
2022-06-24 12:30:29 +02:00 |
dafyddd
|
61225a83c5
|
Check allow_new_open_orders in execute_perp_trigger_order
|
2022-06-23 15:43:22 +02:00 |
dafyddd
|
5488ec0af3
|
let remove_advanced_order be called by anyone if ForceClose mode; ensure UserActiveAssets can't have inactive markets
|
2022-06-23 14:04:05 +02:00 |
dafyddd
|
8469710816
|
Remove has_no_spot_market and is_empty from TokenInfo
|
2022-06-23 12:46:48 +02:00 |
Riordan Panayides
|
dbf27fd791
|
Run linter
|
2022-06-23 01:52:59 +02:00 |
Riordan Panayides
|
c2ea2ae6b4
|
Completely disable doctest
|
2022-06-23 01:45:25 +02:00 |
Riordan Panayides
|
9f8579b121
|
Disable doctest
|
2022-06-23 01:44:12 +02:00 |
Riordan Panayides
|
37fa157081
|
Fix tests
|
2022-06-23 01:25:55 +02:00 |
dafyddd
|
15faf15db0
|
fixed bugs in liquidate_delisting_token; removed an asset in liquidate delisting tests
|
2022-06-22 19:34:38 +02:00 |
Riordan Panayides
|
1d0907cf72
|
Init dust account in tests
|
2022-06-22 11:57:15 +02:00 |
Riordan Panayides
|
aefb922547
|
Fix splitting oos, get tests running again
|
2022-06-21 18:02:07 +02:00 |
Riordan Panayides
|
519e75d3a6
|
Use packed open orders for liqee
|
2022-06-21 16:51:07 +02:00 |
dafyddd
|
45f1e02766
|
Disallow borrows in withdraw2 when mode is_reduce_only()
|
2022-06-21 11:58:02 +02:00 |
dafyddd
|
d1e0c2eaa1
|
Merge branch 'main' into dd/delist_market
# Conflicts:
# program/src/instruction.rs
# program/src/processor.rs
|
2022-06-21 11:18:20 +02:00 |
Maximilian Schneider
|
a44bee5998
|
add Withdraw2 instructio using compact OO layout
|
2022-06-21 11:12:36 +02:00 |
dafyddd
|
6c5cc3afcb
|
Added more logging and checks
|
2022-06-21 10:51:29 +02:00 |
dafyddd
|
23ebb4f8fa
|
Added checks to TokenAccount load
|
2022-06-20 18:31:27 +02:00 |
dafyddd
|
f943b6190c
|
Rearrange price band check for better compute efficiency
|
2022-06-20 15:32:22 +02:00 |
Riordan Panayides
|
a9ebac5ea7
|
Optimise withdrawable calc, fix liqor delist token transfer
|
2022-06-18 19:18:20 +02:00 |
Riordan Panayides
|
9751e2ab0c
|
Fix instruction docs
|
2022-06-18 18:35:19 +02:00 |
Riordan Panayides
|
73638830f4
|
Only borrow from perp_market_ai after all references are dropped
|
2022-06-18 18:33:36 +02:00 |
Riordan Panayides
|
e27d6d8793
|
remove_spot_market fixes
|
2022-06-18 17:58:40 +02:00 |
Riordan Panayides
|
685c4cab4e
|
Use MarketMode helpers, remove redundant self reference
|
2022-06-18 17:56:36 +02:00 |
Riordan Panayides
|
f869724a4b
|
Explicitly disallow opening orders for inactive markets
|
2022-06-18 17:53:21 +02:00 |
Riordan Panayides
|
9cd756c5e1
|
Set perp_market_mode to active on creation
|
2022-06-18 17:51:10 +02:00 |
Riordan Panayides
|
1ffd7ddf60
|
Use constructor for tokeninfo
|
2022-06-18 17:48:41 +02:00 |
Riordan Panayides
|
b54fdfa31d
|
Fix test compilation
|
2022-06-17 23:41:35 +02:00 |
Riordan Panayides
|
509a558627
|
Use packed open orders for liqor in liquidate_delisting_token
|
2022-06-17 23:25:12 +02:00 |
Riordan Panayides
|
b7347f376e
|
Fix bug when setting mode for perp-only markets
|
2022-06-17 21:46:32 +02:00 |