pendulum
subscan
Pendulum
Runtime Modules / VaultRegistry
Spec Version:
Events
Name
Lookup
Attributes
RegisterVault4500["DefaultVaultId","BalanceOf"]
DepositCollateral4501["DefaultVaultId","BalanceOf","BalanceOf","BalanceOf"]
WithdrawCollateral4502["DefaultVaultId","BalanceOf","BalanceOf"]
IncreaseLockedCollateral4503["DefaultVaultCurrencyPair","BalanceOf","BalanceOf"]
DecreaseLockedCollateral4504["DefaultVaultCurrencyPair","BalanceOf","BalanceOf"]
UpdatePublicKey4505["AccountId","StellarPublicKeyRaw"]
RegisterAddress4506["DefaultVaultId","StellarPublicKeyRaw"]
IncreaseToBeIssuedTokens4507["DefaultVaultId","BalanceOf"]
DecreaseToBeIssuedTokens4508["DefaultVaultId","BalanceOf"]
IssueTokens4509["DefaultVaultId","BalanceOf"]
IncreaseToBeRedeemedTokens450a["DefaultVaultId","BalanceOf"]
DecreaseToBeRedeemedTokens450b["DefaultVaultId","BalanceOf"]
IncreaseToBeReplacedTokens450c["DefaultVaultId","BalanceOf"]
DecreaseToBeReplacedTokens450d["DefaultVaultId","BalanceOf"]
DecreaseTokens450e["DefaultVaultId","AccountId","BalanceOf"]
RedeemTokens450f["DefaultVaultId","BalanceOf"]
RedeemTokensPremium4510["DefaultVaultId","BalanceOf","BalanceOf","AccountId"]
RedeemTokensLiquidatedVault4511["DefaultVaultId","BalanceOf","BalanceOf"]
RedeemTokensLiquidation4512["AccountId","BalanceOf","BalanceOf"]
ReplaceTokens4513["DefaultVaultId","DefaultVaultId","BalanceOf","BalanceOf"]
LiquidateVault4514["DefaultVaultId","BalanceOf","BalanceOf","BalanceOf","BalanceOf","BalanceOf","VaultStatus","BalanceOf"]
BanVault4515["DefaultVaultId","BlockNumberFor"]
Storage Functions
Name
Type
MinimumCollateralVault{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["spacewalk_primitives:CurrencyId"],"value":"U128","keys_id":121,"value_id":6}}
PunishmentDelay{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
SystemCollateralCeiling{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["spacewalk_primitives:VaultCurrencyPair"],"value":"U128","keys_id":144,"value_id":6}}
SecureCollateralThreshold{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["spacewalk_primitives:VaultCurrencyPair"],"value":"U128","keys_id":144,"value_id":151}}
PremiumRedeemThreshold{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["spacewalk_primitives:VaultCurrencyPair"],"value":"U128","keys_id":144,"value_id":151}}
LiquidationCollateralThreshold{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["spacewalk_primitives:VaultCurrencyPair"],"value":"U128","keys_id":144,"value_id":151}}
LiquidationVault{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["spacewalk_primitives:VaultCurrencyPair"],"value":"vault_registry:types:SystemVault","keys_id":144,"value_id":643}}
Vaults{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["spacewalk_primitives:VaultId"],"value":"vault_registry:types:Vault","keys_id":143,"value_id":644}}
VaultStellarPublicKey{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"[U8; 32]","keys_id":0,"value_id":1}}
TotalUserVaultCollateral{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["spacewalk_primitives:VaultCurrencyPair"],"value":"U128","keys_id":144,"value_id":6}}
Constants
Name
Type
Value
PalletId[U8; 8]6d6f642f76726567
GetGriefingCollateralCurrencyIdspacewalk_primitives:CurrencyId00
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.
MaxNominationRatioViolationThe Max Nomination Ratio would be exceeded.
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.
NoStellarPublicKeyNo Stellar public key is registered for the vault.
PublicKeyAlreadyRegisteredA Stellar 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
GlobalThresholdNotSetThreshold was not found for the given currency
LiquidationCollateralThresholdNotSetThreshold was not found for the given currency
PremiumRedeemThresholdNotSetThreshold was not found for the given currency
SecureCollateralThresholdNotSetThreshold 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