Function jet_margin::jet_margin::configure_liquidator
source · [−]pub fn configure_liquidator(
ctx: Context<'_, '_, '_, '_, ConfigureLiquidator<'_>>,
is_liquidator: bool
) -> Result<()>
Expand description
Set the configuration for a liquidator.
The configuration for a token only applies for the associated airspace, and changing any configuration requires the airspace authority to sign.
The account storing the configuration will be funded if not already. If a None
is provided as
the updated configuration, then the account will be defunded.