Name | Lookup | Parameters | |
---|---|---|---|
bond | 1400 | 1 | |
retrieve_old_collateral | 1401 | - | |
place_storage_order | 1402 | 3 | |
place_storage_order_with_memo | 1403 | 4 | |
add_prepaid | 1404 | 2 | |
calculate_reward | 1405 | 1 | |
reward_merchant | 1406 | - | |
set_market_switch | 1407 | 1 | |
set_base_fee | 1408 | 1 | |
recharge_free_order_pot | 1409 | 1 | |
add_into_free_order_accounts | 140a | 2 | |
remove_from_free_order_accounts | 140b | 1 | |
set_free_order_admin | 140c | 1 | |
set_free_fee | 140d | 1 | |
set_free_counts_limit | 140e | 1 | |
set_total_free_fee_limit | 140f | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
FileSuccess | 1400 | ||
RenewFileSuccess | 1401 | ||
AddPrepaidSuccess | 1402 | ||
RegisterSuccess | 1403 | ||
AddCollateralSuccess | 1404 | ||
CutCollateralSuccess | 1405 | ||
CalculateSuccess | 1406 | ||
IllegalFileClosed | 1407 | ||
RewardMerchantSuccess | 1408 | ||
SetMarketSwitchSuccess | 1409 | ||
SetBaseFeeSuccess | 140a | ||
SetFreeOrderAdminSuccess | 140b | ||
NewFreeAccount | 140c | ||
SetFreeFeeSuccess | 140d | ||
FreeAccountRemoved | 140e | ||
SetFreeCountsLimitSuccess | 140f | ||
SetTotalFreeFeeLimitSuccess | 1410 |
Name | Type | |
---|---|---|
FileBaseFee | {"origin":"PlainType","plain_type":"BalanceOf"} | |
MerchantLedgers | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Blake2_128Concat","value":"MerchantLedger<BalanceOf>","isLinked":false}} | |
Bonded | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Blake2_128Concat","value":"AccountId","isLinked":false}} | |
Files | {"origin":"MapType","map_type":{"key":"MerkleRoot","hasher":"Twox64Concat","value":"(FileInfo<AccountId, BalanceOf>, UsedInfo)","isLinked":false}} | |
FilesCount | {"origin":"PlainType","plain_type":"u32"} | |
FilePrice | {"origin":"PlainType","plain_type":"BalanceOf"} | |
FilesCountPrice | {"origin":"PlainType","plain_type":"BalanceOf"} | |
UsedTrashI | {"origin":"MapType","map_type":{"key":"MerkleRoot","hasher":"Twox64Concat","value":"UsedInfo","isLinked":false}} | |
UsedTrashII | {"origin":"MapType","map_type":{"key":"MerkleRoot","hasher":"Twox64Concat","value":"UsedInfo","isLinked":false}} | |
UsedTrashSizeI | {"origin":"PlainType","plain_type":"u128"} | |
UsedTrashSizeII | {"origin":"PlainType","plain_type":"u128"} | |
UsedTrashMappingI | {"origin":"MapType","map_type":{"key":"SworkerAnchor","hasher":"Blake2_128Concat","value":"u64","isLinked":false}} | |
UsedTrashMappingII | {"origin":"MapType","map_type":{"key":"SworkerAnchor","hasher":"Blake2_128Concat","value":"u64","isLinked":false}} | |
MarketSwitch | {"origin":"PlainType","plain_type":"bool"} | |
FreeOrderAccounts | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"u32","isLinked":false}} | |
FreeCountsLimit | {"origin":"PlainType","plain_type":"u32"} | |
TotalFreeFeeLimit | {"origin":"PlainType","plain_type":"BalanceOf"} | |
FreeFee | {"origin":"PlainType","plain_type":"BalanceOf"} | |
NewOrder | {"origin":"PlainType","plain_type":"bool"} | |
PendingFiles | {"origin":"PlainType","plain_type":"BTreeSet<MerkleRoot>"} | |
FreeOrderAdmin | {"origin":"PlainType","plain_type":"AccountId"} |
Name | Type | Value | |
---|---|---|---|
ModuleId | ModuleId | 0x63726d61726b6574 | |
FileDuration | BlockNumber | 0x008d2700 | |
FileReplica | u32 | 0x04000000 | |
FileInitPrice | BalanceOf | 0x10270000000000000000000000000000 | |
StorageReferenceRatio | (u128, u128) | 0x1900000000000000000000000000000064000000000000000000000000000000 | |
StorageIncreaseRatio | Perbill | 0x60ea0000 | |
StorageDecreaseRatio | Perbill | 0x50c30000 | |
StakingRatio | Perbill | 0x0054ea2a | |
RenewRewardRatio | Perbill | 0x80f0fa02 | |
StorageRatio | Perbill | 0x0095ba0a | |
UsedTrashMaxSize | u128 | 0xe8030000000000000000000000000000 | |
MaximumFileSize | u64 | 0x0000000020000000 |
Name | Docs |
---|---|
InsufficientCurrency | Don't have enough currency(CRU) to finish the extrinsic(transaction). Please transfer some CRU into this account. |
InsufficientValue | Can not choose the value less than the minimum balance. Please increase the value to be larger than the minimu balance. |
NotRegister | Didn't register as a merchant before and cannot finish the extrinsic(transaction). Please register as a merchant first. |
AlreadyRegistered | Already registered before and cannot register again. |
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. |
FileNotExist | The file does not exist. Please check the cid 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. |
IllegalFreeOrderAdmin | FreeOrderAdmin not exist or it's illegal. |
AlreadyInFreeAccounts | The account already in free accounts |
ExceedFreeCountsLimit | The free count exceed the upper limit |
ExceedTotalFreeFeeLimit | The total free fee limit is exceeded |
InvalidTip | Free account cannot assign tips |