hydration
subscan
Runtime Modules / EmaOracle
Spec Version:
Call Functions
Name
Lookup
Parameters
add_oracleca002
remove_oracleca012
update_bifrost_oracleca023
Events
Name
Lookup
Attributes
AddedToWhitelistca00["Source","(AssetId, AssetId)"]
RemovedFromWhitelistca01["Source","(AssetId, AssetId)"]
Storage Functions
Name
Type
Accumulator{"origin":"PlainType","plain_type":"Vec<Tuple:Tuple:[U8; 8]Tuple:U32U32pallet_ema_oracle:types:OracleEntry>","PlainTypeValue":820}
Oracles{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat","Twox64Concat"],"key_vec":["[U8; 8]","Tuple:U32U32","hydradx_traits:oracle:OraclePeriod"],"value":"Tuple:pallet_ema_oracle:types:OracleEntryU32","keys_id":829,"value_id":830}}
WhitelistedAssets{"origin":"PlainType","plain_type":"Vec<Tuple:[U8; 8]Tuple:U32U32>","PlainTypeValue":831}
Constants
Name
Type
Value
MaxAllowedPriceDifferenceU32a0860100
MaxUniqueEntriesU3228000000
Error Types
Name
Docs
TooManyUniqueEntries
OnTradeValueZero
OracleNotFound
AssetNotFoundAsset not found
PriceOutsideAllowedRangeThe new price is outside the max allowed range