subscan
Runtime Modules / CdpTreasury
Spec Version:
Events
Name
Lookup
Attributes
ExpectedCollateralAuctionSizeUpdated6700
Storage Functions
Name
Type
ExpectedCollateralAuctionSize{"origin":"MapType","map_type":{"key":"CurrencyId","hasher":"Twox64Concat","value":"Balance","isLinked":false}}
DebitPool{"origin":"PlainType","plain_type":"Balance"}
Constants
Name
Type
Value
GetStableCurrencyIdCurrencyId0x0081
MaxAuctionsCountu320x64000000
TreasuryAccountAccountId0x6d6f646c6163612f687a74720000000000000000000000000000000000000000
PalletIdPalletId0x6163612f63647074
Error Types
Name
Docs
CollateralNotEnough The collateral amount of CDP treasury is not enough
SurplusPoolNotEnough The surplus pool of CDP treasury is not enough
DebitPoolNotEnough The debit pool of CDP treasury is not enough
InvalidSwapPath The swap path is invalid