subscan
Runtime Modules / VaultRegistry
Spec Version:
Events
Name
Lookup
Attributes
RegisterVault3d00["DefaultVaultId","BalanceOf"]
IncreaseLockedCollateral3d01["DefaultVaultCurrencyPair","BalanceOf","BalanceOf"]
DecreaseLockedCollateral3d02["DefaultVaultCurrencyPair","BalanceOf","BalanceOf"]
UpdatePublicKey3d03["AccountId","BtcPublicKey"]
RegisterAddress3d04["DefaultVaultId","BtcAddress"]
IncreaseToBeIssuedTokens3d05["DefaultVaultId","BalanceOf"]
DecreaseToBeIssuedTokens3d06["DefaultVaultId","BalanceOf"]
IssueTokens3d07["DefaultVaultId","BalanceOf"]
IncreaseToBeRedeemedTokens3d08["DefaultVaultId","BalanceOf"]
DecreaseToBeRedeemedTokens3d09["DefaultVaultId","BalanceOf"]
IncreaseToBeReplacedTokens3d0a["DefaultVaultId","BalanceOf"]
DecreaseToBeReplacedTokens3d0b["DefaultVaultId","BalanceOf"]
DecreaseTokens3d0c["DefaultVaultId","AccountId","BalanceOf"]
RedeemTokens3d0d["DefaultVaultId","BalanceOf"]
RedeemTokensPremium3d0e["DefaultVaultId","BalanceOf","BalanceOf","AccountId"]
RedeemTokensLiquidatedVault3d0f["DefaultVaultId","BalanceOf","BalanceOf"]
RedeemTokensLiquidation3d10["AccountId","BalanceOf","BalanceOf"]
ReplaceTokens3d11["DefaultVaultId","DefaultVaultId","BalanceOf","BalanceOf"]
LiquidateVault3d12["DefaultVaultId","BalanceOf","BalanceOf","BalanceOf","BalanceOf","BalanceOf","VaultStatus","BalanceOf"]
BanVault3d13["DefaultVaultId","BlockNumber"]
SetAcceptNewIssues3d14["DefaultVaultId","bool"]
SetSecureCollateralThreshold3d15["DefaultVaultCurrencyPair","UnsignedFixedPoint"]
SetPremiumRedeemThreshold3d16["DefaultVaultCurrencyPair","UnsignedFixedPoint"]
SetLiquidationCollateralThreshold3d17["DefaultVaultCurrencyPair","UnsignedFixedPoint"]
SetCustomSecureThreshold3d18["DefaultVaultId","Option<UnsignedFixedPoint>"]
Storage Functions
Name
Type
MinimumCollateralVault{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["interbtc_primitives:CurrencyId"],"value":"U128","keys_id":51,"value_id":6}}
PunishmentDelay{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
SystemCollateralCeiling{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["interbtc_primitives:VaultCurrencyPair"],"value":"U128","keys_id":89,"value_id":6}}
SecureCollateralThreshold{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["interbtc_primitives:VaultCurrencyPair"],"value":"U128","keys_id":89,"value_id":104}}
PremiumRedeemThreshold{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["interbtc_primitives:VaultCurrencyPair"],"value":"U128","keys_id":89,"value_id":104}}
LiquidationCollateralThreshold{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["interbtc_primitives:VaultCurrencyPair"],"value":"U128","keys_id":89,"value_id":104}}
LiquidationVault{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["interbtc_primitives:VaultCurrencyPair"],"value":"vault_registry:types:SystemVault","keys_id":89,"value_id":491}}
Vaults{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["interbtc_primitives:VaultId"],"value":"vault_registry:types:Vault","keys_id":88,"value_id":492}}
VaultBitcoinPublicKey{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 32]"],"value":"[U8; 33]","keys_id":0,"value_id":98}}
ReservedAddresses{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bitcoin:address:Address"],"value":"interbtc_primitives:VaultId","keys_id":100,"value_id":88}}
TotalUserVaultCollateral{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["interbtc_primitives:VaultCurrencyPair"],"value":"U128","keys_id":89,"value_id":6}}
StorageVersion{"origin":"PlainType","plain_type":"vault_registry:types:Version","PlainTypeValue":493}
Constants
Name
Type
Value
PalletId[U8; 8]6d6f642f76726567
GetGriefingCollateralCurrencyIdinterbtc_primitives:CurrencyId000c
Error Types
Name
Docs
InsufficientCollateralNot enough free collateral available.
ExceedingVaultLimitThe amount of tokens to be issued is higher than the issuable amount by the vault
InsufficientTokensCommittedThe requested amount of tokens exceeds the amount available to this vault.
VaultBannedAction not allowed on banned vault.
InsufficientVaultCollateralAmountThe provided collateral was insufficient - it must be above ``MinimumCollateralVault``.
VaultAlreadyRegisteredReturned if a vault tries to register while already being registered
VaultNotFoundThe specified vault does not exist.
VaultNotBelowLiquidationThresholdAttempted to liquidate a vault that is not undercollateralized.
InvalidPublicKeyDeposit address could not be generated with the given public key.
CurrencyCeilingExceededThe collateral ceiling would be exceeded for the vault's currency.
VaultLiquidatedVault is no longer usable as it was liquidated due to undercollateralization.
VaultNotRecoverableVault must be liquidated.
NoBitcoinPublicKeyNo bitcoin public key is registered for the vault.
PublicKeyAlreadyRegisteredA bitcoin public key was already registered for this account.
NoTokensIssuedCollateralization is infinite if no tokens are issued
NoVaultWithSufficientCollateral
NoVaultWithSufficientTokens
NoVaultUnderThePremiumRedeemThreshold
InvalidCurrencyFailed attempt to modify vault's collateral because it was in the wrong currency
ThresholdNotSetThreshold was not found for the given currency
CeilingNotSetCeiling was not found for the given currency
ThresholdNotAboveGlobalThresholdVault attempted to set secure threshold below the global secure threshold
TryIntoIntErrorUnable to convert value
VaultNotAcceptingIssueRequestsVault is not accepting new issue requests.
MinimumCollateralNotSet