assethub-westend
subscan
AssetHub Westend
Runtime Modules / Psm
Spec Version:
Events
Name
Lookup
Attributes
Minted4100["AccountId","AssetId","BalanceOf","BalanceOf","BalanceOf"]
Redeemed4101["AccountId","AssetId","BalanceOf","BalanceOf","BalanceOf"]
MintingFeeUpdated4102["AssetId","Permill","Permill"]
RedemptionFeeUpdated4103["AssetId","Permill","Permill"]
MaxPsmDebtOfTotalUpdated4104["Permill","Permill"]
AssetCeilingWeightUpdated4105["AssetId","Permill","Permill"]
AssetStatusUpdated4106["AssetId","CircuitBreakerLevel"]
ExternalAssetAdded4107["AssetId"]
ExternalAssetRemoved4108["AssetId"]
Storage Functions
Name
Type
PsmDebt{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["staging_xcm:v5:location:Location"],"value":"U128","keys_id":62,"value_id":6}}
MintingFee{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["staging_xcm:v5:location:Location"],"value":"U32","keys_id":62,"value_id":212}}
RedemptionFee{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["staging_xcm:v5:location:Location"],"value":"U32","keys_id":62,"value_id":212}}
MaxPsmDebtOfTotal{"origin":"PlainType","plain_type":"U32","PlainTypeValue":212}
AssetCeilingWeight{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["staging_xcm:v5:location:Location"],"value":"U32","keys_id":62,"value_id":212}}
ExternalAssets{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["staging_xcm:v5:location:Location"],"value":"pallet_psm:pallet:CircuitBreakerLevel","keys_id":62,"value_id":224}}
CounterForExternalAssets{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ExternalDecimals{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["staging_xcm:v5:location:Location"],"value":"U8","keys_id":62,"value_id":2}}
InternalDecimals{"origin":"PlainType","plain_type":"U8","PlainTypeValue":2}
Constants
Name
Type
Value
PalletId[U8; 8]70792f706567736d
MinSwapAmountU12840420f00000000000000000000000000
MaxExternalAssetsU3203000000
Error Types
Name
Docs
InsufficientReservePSM doesn't have enough external stablecoin for redemption.
ExceedsMaxPsmDebtSwap would exceed PSM debt ceiling.
BelowMinimumSwapSwap amount below minimum threshold.
MintingStoppedMinting operations are disabled (circuit breaker level >= 1).
AllSwapsStoppedAll swap operations are disabled (circuit breaker level = 2).
UnsupportedAssetAsset is not an approved external stablecoin.
ExceedsMaxIssuanceMint would exceed system-wide maximum internal issuance.
AssetAlreadyApprovedAsset is already in the approved list.
AssetDoesNotExistAsset does not exist.
AssetNotApprovedCannot remove asset: not in approved list.
AssetHasDebtCannot remove asset: has non-zero PSM debt.
InsufficientPrivilegeOperation requires Full manager level (GeneralAdmin), not Emergency.
TooManyAssetsMaximum number of approved external assets reached.
DecimalsMismatchLive decimals diverged from the snapshot taken at registration or genesis.
DecimalsRangeExceededThe asset's decimal precision is outside the supported range.
ConversionOverflowDecimal scaling produced an arithmetic overflow.
AmountTooSmallAfterConversionConversion to the counter-asset rounds to zero; swap would transfer nothing.
UnexpectedAn unexpected invariant violation occurred. This should be reported.