subscan
Runtime Modules / AssetRate
Spec Version:
Call Functions
Name
Lookup
Parameters
create56002
update56012
remove56021
Events
Name
Lookup
Attributes
AssetRateCreated5600["AssetKind","FixedU128"]
AssetRateRemoved5601["AssetKind"]
AssetRateUpdated5602["AssetKind","FixedU128","FixedU128"]
Storage Functions
Name
Type
ConversionRateToNative{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["NULL"],"value":"U128","keys_id":128,"value_id":94}}
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.