mango-v4/programs/mango-v4/src/instructions
Christian Kamm e57dcdc2a9
Add collateral fees (#868)
- New permissionless instruction to regularly charge collateral fees
- Bank and group configuration to set rate and interval
- Keeper addition to call the instruction
2024-02-13 12:39:28 +01:00
..
LICENSE License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
account_buyback_fees_with_mngo.rs Add an Orca oracle type (#813) 2024-01-04 11:29:54 -06:00
account_close.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
account_create.rs Allow account shrinking and migration (#692) 2023-09-04 09:30:57 +02:00
account_edit.rs Delegate with expiry (#663) 2023-08-09 12:05:16 +02:00
account_expand.rs Allow account shrinking and migration (#692) 2023-09-04 09:30:57 +02:00
account_size_migration.rs Allow account shrinking and migration (#692) 2023-09-04 09:30:57 +02:00
account_toggle_freeze.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
admin_perp_withdraw_fees.rs Fees to dao (#644) 2023-07-13 18:22:35 +02:00
admin_token_withdraw_fees.rs Fix rename 2023-07-13 18:41:01 +02:00
alt_extend.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
alt_set.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
benchmark.rs program-test improvements: performance, cu test output, warnings (#749) 2023-10-11 15:18:23 +02:00
compute_account_data.rs Log emissions: Serialize to buffer on stack instead of using heap (#787) 2023-11-22 16:00:47 +01:00
flash_loan.rs chore: fix typos (#854) 2024-01-29 13:39:33 +01:00
group_close.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
group_create.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
group_edit.rs Add collateral fees (#868) 2024-02-13 12:39:28 +01:00
group_withdraw_insurance_fund.rs insurance fund withdraw ix (#561) 2023-04-25 09:20:44 +02:00
health_region.rs Openbook token tracking and price bands (#805) 2023-12-05 15:39:24 +01:00
ix_gate_set.rs Openbook token tracking and price bands (#805) 2023-12-05 15:39:24 +01:00
mod.rs Add collateral fees (#868) 2024-02-13 12:39:28 +01:00
perp_cancel_all_orders.rs Perp: Always allow users to free perp open order slots (#817) 2023-12-20 11:15:10 +01:00
perp_cancel_all_orders_by_side.rs Perp: Always allow users to free perp open order slots (#817) 2023-12-20 11:15:10 +01:00
perp_cancel_order.rs Add a type to the perp cancel order instructions when not found (#833) 2024-01-04 16:00:54 +01:00
perp_cancel_order_by_client_order_id.rs Add a type to the perp cancel order instructions when not found (#833) 2024-01-04 16:00:54 +01:00
perp_close_market.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
perp_consume_events.rs fix perp settle limit materialization (#865) 2024-02-01 11:23:45 +01:00
perp_create_market.rs perp: Add platform liquidation fee for base (#858) 2024-01-26 10:24:20 +01:00
perp_deactivate_position.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
perp_edit_market.rs perp: Add platform liquidation fee for base (#858) 2024-01-26 10:24:20 +01:00
perp_force_close_position.rs Add an Orca oracle type (#813) 2024-01-04 11:29:54 -06:00
perp_liq_base_or_positive_pnl.rs fix perp settle limit materialization (#865) 2024-02-01 11:23:45 +01:00
perp_liq_force_cancel_orders.rs Perp: Always allow users to free perp open order slots (#817) 2023-12-20 11:15:10 +01:00
perp_liq_negative_pnl_or_bankruptcy.rs fix perp settle limit materialization (#865) 2024-02-01 11:23:45 +01:00
perp_place_order.rs Add an Orca oracle type (#813) 2024-01-04 11:29:54 -06:00
perp_settle_fees.rs fix perp settle limit materialization (#865) 2024-02-01 11:23:45 +01:00
perp_settle_pnl.rs fix perp settle limit materialization (#865) 2024-02-01 11:23:45 +01:00
perp_update_funding.rs Add an Orca oracle type (#813) 2024-01-04 11:29:54 -06:00
serum3_cancel_all_orders.rs Log emissions: Serialize to buffer on stack instead of using heap (#787) 2023-11-22 16:00:47 +01:00
serum3_cancel_order.rs Log emissions: Serialize to buffer on stack instead of using heap (#787) 2023-11-22 16:00:47 +01:00
serum3_cancel_order_by_client_order_id.rs Add serum3 cancel by client order id instruction (#798) 2023-12-01 13:36:29 +01:00
serum3_close_open_orders.rs Tcs: reserve token positions while tcs is open (#647) 2023-07-17 13:14:53 +02:00
serum3_create_open_orders.rs Tcs: reserve token positions while tcs is open (#647) 2023-07-17 13:14:53 +02:00
serum3_deregister_market.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
serum3_edit_market.rs Openbook token tracking and price bands (#805) 2023-12-05 15:39:24 +01:00
serum3_liq_force_cancel_orders.rs Log emissions: Serialize to buffer on stack instead of using heap (#787) 2023-11-22 16:00:47 +01:00
serum3_place_order.rs deposit limit: always allow obv1-selling deposits (#869) 2024-02-05 13:06:06 +01:00
serum3_register_market.rs Update openbook v1 fast listing default parameter (#841) 2024-01-09 15:14:52 +01:00
serum3_settle_funds.rs Add an Orca oracle type (#813) 2024-01-04 11:29:54 -06:00
stub_oracle_close.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
stub_oracle_create.rs FixedOrderAccountRetriever uses fallback oracles 2023-11-22 11:35:26 -06:00
stub_oracle_set.rs Allow token withdraws/deposits even with stale oracles (#646) 2023-08-07 16:15:45 +02:00
token_add_bank.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
token_charge_collateral_fees.rs Add collateral fees (#868) 2024-02-13 12:39:28 +01:00
token_conditional_swap_cancel.rs Log emissions: Serialize to buffer on stack instead of using heap (#787) 2023-11-22 16:00:47 +01:00
token_conditional_swap_create.rs Log emissions: Serialize to buffer on stack instead of using heap (#787) 2023-11-22 16:00:47 +01:00
token_conditional_swap_start.rs Deposit limits (#806) 2023-12-05 15:43:38 +01:00
token_conditional_swap_trigger.rs Deposit limits (#806) 2023-12-05 15:43:38 +01:00
token_deposit.rs Add an Orca oracle type (#813) 2024-01-04 11:29:54 -06:00
token_deregister.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
token_edit.rs Add collateral fees (#868) 2024-02-13 12:39:28 +01:00
token_force_close_borrows_with_token.rs Add a token-token platform liquidation fee (#849) 2024-01-19 16:34:55 +01:00
token_liq_bankruptcy.rs Log emissions: Serialize to buffer on stack instead of using heap (#787) 2023-11-22 16:00:47 +01:00
token_liq_with_token.rs liquidation: Add flag to disable asset liquidation (#867) 2024-02-07 12:52:01 +01:00
token_register.rs Add collateral fees (#868) 2024-02-13 12:39:28 +01:00
token_register_trustless.rs Add collateral fees (#868) 2024-02-13 12:39:28 +01:00
token_update_index_and_rate.rs Add an Orca oracle type (#813) 2024-01-04 11:29:54 -06:00
token_withdraw.rs delegate withdraw: require target to have expected owner 2024-01-29 15:13:29 +01:00