mango-v4/programs/mango-v4/src/instructions
Maximilian Schneider c006948319
Enable self-trading protection (#533)
Co-authored-by: Christian Kamm <mail@ckamm.de>
2023-05-15 10:40:41 +02: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 Net borrow limit: Separate out tracking and checking (#534) 2023-04-13 08:56:33 +02:00
account_close.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
account_create.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
account_edit.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
account_expand.rs Use the overflow-checks=true equivalent with the fixed crate (#476) 2023-02-24 11:56:33 +01:00
account_toggle_freeze.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01: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 Make clippy happy (#580) 2023-05-09 21:08:55 +02:00
compute_account_data.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
flash_loan.rs Fix bug in flash loan for delegates where compute budget program was not allowed, also improved logging (#572) 2023-05-04 14:46:09 +02: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 Buyback fees: Add staggered expiry (#478) 2023-02-27 16:36:27 +01:00
group_withdraw_insurance_fund.rs insurance fund withdraw ix (#561) 2023-04-25 09:20:44 +02:00
health_region.rs HealthRegion: Whitelist allowed instruction types (#508) 2023-03-20 14:02:35 +01:00
ix_gate_set.rs document unused (#581) 2023-05-13 10:03:28 +02:00
mod.rs insurance fund withdraw ix (#561) 2023-04-25 09:20:44 +02:00
perp_cancel_all_orders.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
perp_cancel_all_orders_by_side.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
perp_cancel_order.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
perp_cancel_order_by_client_order_id.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +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 License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
perp_create_market.rs Perp force close positions in a market (#525) 2023-04-19 17:42:01 +02: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 force close positions in a market (#525) 2023-04-19 17:42:01 +02:00
perp_force_close_position.rs Add PerpForceClosePositionLog and TokenForceCloseBorrowsWithTokenLog (#555) 2023-04-25 13:38:08 +02:00
perp_liq_base_or_positive_pnl.rs Fix settle limit accounting for positive pnl takeover (#562) 2023-04-25 13:37:34 +02:00
perp_liq_force_cancel_orders.rs Fix account borrow issue in perp_liq_force_cancel_orders (#557) 2023-04-24 09:52:33 +02:00
perp_liq_negative_pnl_or_bankruptcy.rs Force close for serum3 market (#551) 2023-04-20 10:19:23 +02:00
perp_place_order.rs Enable self-trading protection (#533) 2023-05-15 10:40:41 +02:00
perp_settle_fees.rs Net borrow limit: Separate out tracking and checking (#534) 2023-04-13 08:56:33 +02:00
perp_settle_pnl.rs Net borrow limit: Separate out tracking and checking (#534) 2023-04-13 08:56:33 +02:00
perp_update_funding.rs Clarkeni/oracle confidence (#568) 2023-05-05 23:44:14 -07:00
serum3_cancel_all_orders.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
serum3_cancel_order.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
serum3_close_open_orders.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
serum3_create_open_orders.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01: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 Compile fix and idl update 2023-04-26 09:07:05 +02:00
serum3_liq_force_cancel_orders.rs Force close for serum3 market (#551) 2023-04-20 10:19:23 +02:00
serum3_place_order.rs OpenBook place order: respect bank reduce_only flags (#569) 2023-05-04 08:02:28 +02:00
serum3_register_market.rs Force close for serum3 market (#551) 2023-04-20 10:19:23 +02:00
serum3_settle_funds.rs Fee buyback: Respect USDC oracle (#504) 2023-03-20 11:18:11 +01: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 License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
stub_oracle_set.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
token_add_bank.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
token_deposit.rs force close tokens program part (#518) 2023-04-13 12:44:12 +02:00
token_deregister.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
token_edit.rs force close tokens program part (#518) 2023-04-13 12:44:12 +02:00
token_force_close_borrows_with_token.rs Add PerpForceClosePositionLog and TokenForceCloseBorrowsWithTokenLog (#555) 2023-04-25 13:38:08 +02:00
token_liq_bankruptcy.rs Net borrow limit: Separate out tracking and checking (#534) 2023-04-13 08:56:33 +02:00
token_liq_with_token.rs Force close for serum3 market (#551) 2023-04-20 10:19:23 +02:00
token_register.rs force close tokens program part (#518) 2023-04-13 12:44:12 +02:00
token_register_trustless.rs token_register_trustless: Disable borrowing by default (#567) 2023-05-04 07:59:39 +02:00
token_update_index_and_rate.rs Limit funding and interest accrual during downtimes (#529) 2023-03-31 12:48:34 +02:00
token_withdraw.rs force close tokens program part (#518) 2023-04-13 12:44:12 +02:00