Name | Lookup | Parameters | |
---|---|---|---|
place_storage_order | 1a00 | 4 | |
add_prepaid | 1a01 | 2 | |
calculate_reward | 1a02 | 1 | |
reward_merchant | 1a03 | - | |
set_enable_market | 1a04 | 1 | |
set_base_fee | 1a05 | 1 | |
set_byte_fee | 1a06 | 1 | |
set_key_count_fee | 1a07 | 1 | |
set_min_base_fee | 1a08 | 1 | |
set_min_byte_fee | 1a09 | 1 | |
set_min_key_count_fee | 1a0a | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
FileSuccess | 1a00 | ||
RenewFileSuccess | 1a01 | ||
AddPrepaidSuccess | 1a02 | ||
CalculateSuccess | 1a03 | ||
IllegalFileClosed | 1a04 | ||
RewardMerchantSuccess | 1a05 | ||
SetEnableMarketSuccess | 1a06 | ||
SetBaseFeeSuccess | 1a07 |
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"} |
Name | Type | Value | |
---|---|---|---|
ModuleId | ModuleId | 0x63726d61726b6574 | |
FileDuration | BlockNumber | 0x008d2700 | |
FileReplica | u32 | 0x04000000 | |
InitFileByteFee | BalanceOf | 0x10270000000000000000000000000000 | |
StorageReferenceRatio | (u128, u128) | 0x3200000000000000000000000000000064000000000000000000000000000000 | |
StorageIncreaseRatio | Perbill | 0xa05a3200 | |
StorageDecreaseRatio | Perbill | 0xc0c62d00 | |
StakingRatio | Perbill | 0x0054ea2a | |
StorageRatio | Perbill | 0x0095ba0a | |
MaximumFileSize | u64 | 0x0000000002000000 | |
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. |