Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Collateral fees only should not get worse when you add more collateral #964

Open
wants to merge 30 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
f54bb6f
Serge/liquidator split tcs and liquidation (#914)
farnyser Mar 20, 2024
ceeac9d
service-mango-health: use jemalloc (#922)
farnyser Mar 27, 2024
e3a7ed9
liquidator: randomly select token/perps for rebalancing to avoid fail…
farnyser Mar 27, 2024
0b7e62e
liquidator: do not panic if token or perp rebalancing fails (#927)
farnyser Apr 1, 2024
2520c7d
liquidator: forcefully exit process if snapshot job die (#924)
farnyser Apr 1, 2024
e38798e
liquidator: add a sequence check in rebalancing (#926)
farnyser Apr 3, 2024
55105e0
rust client: add a CU estimate for token withdrawal (#934)
farnyser Apr 8, 2024
9df73a0
Audit: Remove unused fn, add comments (#935)
ckamm Apr 8, 2024
653cf9f
token_withdraw: avoid silencing errors with is_ok() (#936)
ckamm Apr 8, 2024
01d5237
Liquidator: add Sanctum swap (#919)
farnyser Apr 10, 2024
75a07e9
program: remove delegate account withdrawal limit (#939)
farnyser Apr 10, 2024
d0125e9
liquidator: rebalance with openbook (limit order) (#938)
farnyser Apr 10, 2024
fe86295
program; fix health check ix gate (#940)
farnyser Apr 11, 2024
ccc479b
add audit report for v0.24.0 (#941)
thibaultosec Apr 15, 2024
4c3814c
Changelog for v0.24.0 (#942)
farnyser Apr 15, 2024
c0b61b3
liquidator: add more LST for sanctum swap (#944)
farnyser Apr 18, 2024
2a6532f
Openbook V2 Integration (#836)
riordanp Apr 22, 2024
ec2d10a
Allow the insurance fund to be for any bank (#946)
ckamm Apr 23, 2024
8fd7a5c
Merge deploy into dev
ckamm Apr 23, 2024
1ea4528
Merge remote-tracking branch 'origin/dev' into dev
ckamm Apr 23, 2024
7e3a720
Program: fix openbook-v2 integration tests (stack overflow issue) (#950)
farnyser Apr 23, 2024
ed715ce
Changelog for v0.25.0
farnyser Apr 23, 2024
e4098b4
RustClient: propagate error in chain data fetcher instead of panickin…
farnyser Apr 25, 2024
d9c4f69
Fix alignment of ordertree nodes (#954)
ckamm Apr 29, 2024
98e6f14
Liquidator: do not try to settle/close open orders when not using lim…
farnyser May 6, 2024
2d9f248
liquidator: settle and close open orders in that order (#959)
farnyser May 6, 2024
fdb3e98
rust client: fix TransactionBuilder append to correctly handle CU (#960)
farnyser May 15, 2024
5d5e99f
Collateral fees only should not get worse when you add more collateral
brittcyr May 21, 2024
f0cbff4
Lint and comment cleanup and change use of token_balances
brittcyr May 22, 2024
951002c
Comment on cu estimates
brittcyr May 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-code-review-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ on:
env:
CARGO_TERM_COLOR: always
SOLANA_VERSION: '1.16.14'
RUST_TOOLCHAIN: '1.69.0'
RUST_TOOLCHAIN: '1.70.0'
LOG_PROGRAM: '4MangoMjqJ2firMokCjjGgoK8d4MXcrgL7XJaL3w6fVg'

jobs:
Expand Down
24 changes: 17 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,29 @@ Update this for each program release and mainnet deployment.

## not on mainnet

### v0.24.0, 2024-4-
### v0.25.0, 2024-4-

- Openbook-v2 integration (#836)

- Remove delegate to owner withdrawal limitation (#939)

- Allows the insurance fund to be any bank (#946)

## mainnet

### v0.24.0, 2024-4-18

Deployment: Apr 18, 2024 at 14:53:24 Central European Summer Time, https://explorer.solana.com/tx/2TFCGXQkUjRvkuuojxmiKefUtHPp6q6rM1frYvALByWMGfpWbiGH5hGq5suWEH7TUKoz4jb4KCGxu9DRw7YcXNdh

- Allow skipping banks and invalid oracles when computing health (#891)

This is only possible when we know for sure that the operation would not put the account into negative health zone.
This is only possible when we know for sure that the operation would not put the account into negative health zone.

- Add support for Raydium CLMM as oracle fallback (#856)

- Add a `TokenBalanceLog` when charging collateral fees (#894)

- Withdraw instruction: remove overflow error and return appropriate error message instead (#910)
- Withdraw instruction: remove overflow error and return appropriate error message instead (#910)

- Banks: add more safety checks (#895)

Expand All @@ -24,9 +36,7 @@ Update this for each program release and mainnet deployment.

- Add a sequence check instruction (#909)

Assert that a transaction was emitted and run with a correct view of the current mango state.

## mainnet
Assert that a transaction was emitted and run with a correct view of the current mango state.

### v0.23.0, 2024-3-8

Expand Down
Loading
Loading