Function vault_registry::pallet::dispatchables::set_custom_secure_threshold
source · pub fn set_custom_secure_threshold<T: Config>(
currency_pair: DefaultVaultCurrencyPair<T>,
custom_threshold: Option<UnsignedFixedPoint<T>>
)
Expand description
Configures a custom, higher secure collateral threshold for the vault.
Arguments
origin
- sender of the transaction (i.e. the vault)custom_threshold
- either the threshold, or None to use the systemwide default
Weight: O(1)
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::set_custom_secure_threshold
.