Dancebox
subscan
Runtime Modules / AssetRate
Spec Version:
Call Functions
Name
Lookup
Parameters
create38002
update38012
remove38021
Events
Name
Lookup
Attributes
AssetRateCreated3800["AssetKind","FixedU128"]
AssetRateRemoved3801["AssetKind"]
AssetRateUpdated3802["AssetKind","FixedU128","FixedU128"]
Storage Functions
Name
Type
ConversionRateToNative{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U16"],"value":"U128","keys_id":40,"value_id":158}}
Error Types
Name
Docs
UnknownAssetKindThe given asset ID is unknown.
AlreadyExistsThe given asset ID already has an assigned conversion rate and cannot be re-created.
OverflowOverflow ocurred when calculating the inverse rate.