subscan
Runtime Modules / Market
Spec Version:
Storage Functions
Name
Type
OrdersCount{"origin":"PlainType","plain_type":"u32"}
FileBaseFee{"origin":"PlainType","plain_type":"BalanceOf"}
MinFileBaseFee{"origin":"PlainType","plain_type":"BalanceOf"}
FileByteFee{"origin":"PlainType","plain_type":"BalanceOf"}
MinFileByteFee{"origin":"PlainType","plain_type":"BalanceOf"}
FileKeysCount{"origin":"PlainType","plain_type":"u32"}
FileKeysCountFee{"origin":"PlainType","plain_type":"BalanceOf"}
MinFileKeysCountFee{"origin":"PlainType","plain_type":"BalanceOf"}
FilesV2{"origin":"MapType","map_type":{"key":"MerkleRoot","hasher":"Twox64Concat","value":"FileInfoV2<AccountId, BalanceOf>","isLinked":false}}
HasNewOrder{"origin":"PlainType","plain_type":"bool"}
PendingFiles{"origin":"PlainType","plain_type":"BTreeSet<MerkleRoot>"}
EnableMarket{"origin":"PlainType","plain_type":"bool"}
SpowerReadyPeriod{"origin":"PlainType","plain_type":"BlockNumber"}
Constants
Name
Type
Value
ModuleIdModuleId0x63726d61726b6574
FileDurationBlockNumber0x008d2700
FileReplicau320x04000000
InitFileByteFeeBalanceOf0x10270000000000000000000000000000
StorageReferenceRatio(u128, u128)0x3200000000000000000000000000000064000000000000000000000000000000
StorageIncreaseRatioPerbill0xa05a3200
StorageDecreaseRatioPerbill0xc0c62d00
StakingRatioPerbill0x0054ea2a
StorageRatioPerbill0x0095ba0a
MaximumFileSizeu640x0000000002000000
RenewRewardRatioPerbill0x80f0fa02
Error Types
Name
Docs
InsufficientCurrency Don't have enough currency(CRU) to finish the extrinsic(transaction). Please transfer some CRU into this account.
FileSizeNotCorrect The file size is not correct. The same file is already on chain and the file size should be same. Please check the file size again.
NotInRewardPeriod The file is not in the reward period. Please wait until the file is expired.
NotEnoughReward The reward is not enough.
FileTooLarge The file is too large. Please check the MaximumFileSize value.
PlaceOrderNotAvailable Place order is not available right now. Please wait for a while.
FileNotExist The file does not exist. Please check the cid again.