Module: bindings-perp
This CosmosWasm module is a simple wrapper to allow other contracts (or using nibid tx wasm execute) to execute messages against the Nibiru perp module. There are no checks on any of the messages; they are simply passed through and handled by the custom Wasm executor (see for more details).
The entry points are
ExecuteMsg::OpenPosition— with controllable parameterssender,pair,is_long,quote_amount,leverage, andbase_amount_limitExecuteMsg::ClosePosition— with controllable parameterssenderandpairExecuteMsg::AddMargin— with controllable parameterssender,pair, andmarginExecuteMsg::RemoveMargin— with controllable parameterssender,pair, andmarginExecuteMsg::MultiLiquidate— with controllable parameterspairandliquidationsExecuteMsg::DonateToInsuranceFund— with controllable parameterssenderanddonationExecuteMsg::NoOp— with no parameters