mango-v4/programs/mango-v4/src/instructions
Christian Kamm 8916c28b99
License: Mark instructions GPLv3 and everything else MIT (#454)
To do that, split up the Accounts objects and the instruction
implementations.

GPL code is only used when the "enable-gpl" feature is enabled. That
means compiling the program or running tests need explicit feature
activation now.
2023-02-15 08:42:07 +01:00
..
LICENSE License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01: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 License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +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 License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01: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 License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +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 License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
health_region.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
ix_gate_set.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
mod.rs remove perp zero out, was only added to cleanup testing perp market, can be re-added if needed (#430) 2023-02-06 11:59:12 +01: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 License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +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 License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
perp_liq_base_or_positive_pnl.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
perp_liq_force_cancel_orders.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
perp_liq_negative_pnl_or_bankruptcy.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
perp_place_order.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
perp_settle_fees.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
perp_settle_pnl.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
perp_update_funding.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01: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 License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
serum3_liq_force_cancel_orders.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
serum3_place_order.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
serum3_register_market.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
serum3_settle_funds.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +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 License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
token_deregister.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
token_edit.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
token_liq_bankruptcy.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
token_liq_with_token.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
token_register.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
token_register_trustless.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
token_update_index_and_rate.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00
token_withdraw.rs License: Mark instructions GPLv3 and everything else MIT (#454) 2023-02-15 08:42:07 +01:00