Name | Lookup | Parameters | |
---|---|---|---|
place_storage_order | 1400 | 4 | |
add_prepaid | 1401 | 2 | |
calculate_reward | 1402 | 1 | |
reward_merchant | 1403 | - | |
set_enable_market | 1404 | 1 | |
set_base_fee | 1405 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
FileSuccess | 1400 | ||
RenewFileSuccess | 1401 | ||
AddPrepaidSuccess | 1402 | ||
CalculateSuccess | 1403 | ||
IllegalFileClosed | 1404 | ||
RewardMerchantSuccess | 1405 | ||
SetEnableMarketSuccess | 1406 | ||
SetBaseFeeSuccess | 1407 |
Name | Type | |
---|---|---|
OrdersCount | {"origin":"PlainType","plain_type":"u32"} | |
FileBaseFee | {"origin":"PlainType","plain_type":"BalanceOf"} | |
FileByteFee | {"origin":"PlainType","plain_type":"BalanceOf"} | |
FileKeysCount | {"origin":"PlainType","plain_type":"u32"} | |
FileKeysCountFee | {"origin":"PlainType","plain_type":"BalanceOf"} | |
Files | {"origin":"MapType","map_type":{"key":"MerkleRoot","hasher":"Twox64Concat","value":"FileInfo<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"} |
Name | Type | Value | |
---|---|---|---|
ModuleId | ModuleId | 0x63726d61726b6574 | |
FileDuration | BlockNumber | 0x008d2700 | |
FileReplica | u32 | 0x04000000 | |
InitFileByteFee | BalanceOf | 0x10270000000000000000000000000000 | |
StorageReferenceRatio | (u128, u128) | 0x3200000000000000000000000000000064000000000000000000000000000000 | |
StorageIncreaseRatio | Perbill | 0x60ea0000 | |
StorageDecreaseRatio | Perbill | 0x50c30000 | |
StakingRatio | Perbill | 0x0054ea2a | |
StorageRatio | Perbill | 0x0095ba0a | |
MaximumFileSize | u64 | 0x0000000008000000 | |
RenewRewardRatio | Perbill | 0x80f0fa02 |
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. |