pub fn configure_adapter(
    ctx: Context<'_, '_, '_, '_, ConfigureAdapter<'_>>,
    is_adapter: bool
) -> Result<()>
Expand description

Set the configuration for an adapter.

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.