microwavedcola1
|
03ae43017c
|
account, market and bank names
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-04-12 16:19:58 +02:00 |
microwavedcola1
|
1b1dd1a541
|
poc keeper
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-04-09 21:18:07 +02:00 |
microwavedcola1
|
257ccf76ad
|
multi legged interest rates + keeper ix
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-04-09 16:53:30 +02:00 |
Christian Kamm
|
56e3bd8740
|
Rearrange accounts to avoid padding bytes
|
2022-03-31 14:37:05 +02:00 |
Christian Kamm
|
9cf4f1a748
|
Rearrange MangoAccount to avoid padding bytes
|
2022-03-31 14:01:08 +02:00 |
Christian Kamm
|
d9ac178481
|
liq token: Adjust fee handling
Use the sum of the fees configured for the tokens.
|
2022-03-27 14:47:42 +02:00 |
Christian Kamm
|
82819720e0
|
liq token: progress
Change bank.deposit()/withdraw() to work with I80F48 values so we don't
need to round during liquidation.
|
2022-03-27 14:46:51 +02:00 |
Christian Kamm
|
75ac224b6e
|
Tests: Bank deposit/withdraw/active/dust tests
|
2022-03-21 07:01:25 +01:00 |
Christian Kamm
|
3bb94777f3
|
MangoAccount field renames
indexed_positions -> token_account_map
serum_open_orders_map -> serum_account_map
in the future we should add the perp_account_map
|
2022-03-15 15:08:53 +01:00 |
Christian Kamm
|
baa980c659
|
PlaceSerumOrder: Track vault balances before and after
|
2022-03-15 14:44:47 +01:00 |
Christian Kamm
|
449fe4dc6d
|
Add checked_math library for convenient overflow checking
Instead of
x.checked_add(y).ok_or(error!(MangoError::MathError))?
we can write
cm!(x + y)
|
2022-03-13 15:45:50 +01:00 |
Christian Kamm
|
f6d2df1ad4
|
Rename to Bank and Group
|
2022-03-07 16:16:34 +01:00 |