pub fn register_vault<T: Config>(
    currency_pair: DefaultVaultCurrencyPair<T>,
    collateral: <T as Config>::Balance
)
Expand description

Initiates the registration procedure for a new Vault. The Vault locks up collateral, which is to be used in the issuing process.

Errors

  • InsufficientVaultCollateralAmount - if the collateral is below the minimum threshold
  • VaultAlreadyRegistered - if a vault is already registered for the origin account
  • InsufficientCollateralAvailable - if the vault does not own enough collateral

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::register_vault.