List of all items
Structs
- AssetId32
- AssetName
- AssetSymbol
- BalanceWrapper
- BoundedString
- ContentSource
- CrowdloanTag
- DEXInfo
- Description
- LiquiditySourceId
- PswapRemintInfo
- Rate
- SymbolName
- TradingPair
- cache_storage::cache_double_map::CacheStorageDoubleMap
- cache_storage::cache_map::CacheStorageMap
- prelude::AssetId32
- prelude::AssetName
- prelude::AssetSymbol
- prelude::BalanceUnit
- prelude::BalanceWrapper
- prelude::BoundedString
- prelude::ContentSource
- prelude::CrowdloanTag
- prelude::DEXInfo
- prelude::Description
- prelude::FixedWrapper
- prelude::LiquiditySourceId
- prelude::PswapRemintInfo
- prelude::Rate
- prelude::SwapOutcome
- prelude::SymbolName
- prelude::TradingPair
- prelude::TryFromQuoteAmountError
- prelude::TryFromSwapAmountError
- prelude::TryFromSwapOutcomeError
- utils::LiquiditySourceFilter
- weights::BlockLength
- weights::BlockWeights
- weights::PresetWeightInfo
- weights::TransactionByteFee
Enums
- AssetIdExtraAssetRecordArg
- DEXId
- FilterMode
- InvokeRPCError
- LiquiditySourceType
- ManagementMode
- Oracle
- PredefinedAssetId
- PriceVariant
- RewardReason
- TechAccountId
- TechAssetId
- TechPurpose
- prelude::AssetIdExtraAssetRecordArg
- prelude::DEXId
- prelude::FilterMode
- prelude::InvokeRPCError
- prelude::LiquiditySourceType
- prelude::ManagementMode
- prelude::Oracle
- prelude::PredefinedAssetId
- prelude::PriceVariant
- prelude::QuoteAmount
- prelude::RewardReason
- prelude::SwapAmount
- prelude::SwapVariant
- prelude::TechAccountId
- prelude::TechAssetId
- prelude::TechPurpose
- utils::IntervalEndpoints
Traits
- AssetInfoProvider
- BuyBackHandler
- Config
- DataFeed
- DemeterFarmingPallet
- DexInfoProvider
- EnsureDEXManager
- EnsureTradingPairExists
- FromGenericPair
- GetLstIdAndTradingPairFromTechAsset
- GetMarketInfo
- GetPoolReserves
- GetTechAssetWithLstTag
- IsRepresentable
- IsRepresentation
- IsValid
- LiquidityProxyTrait
- LiquidityRegistry
- LiquiditySource
- OnNewSymbolsRelayed
- OnPoolCreated
- OnPoolReservesChanged
- OnPswapBurned
- OnSymbolDisabled
- OnValBurned
- PoolXykPallet
- PriceToolsPallet
- PureOrWrapped
- ReferencePriceProvider
- ReferrerAccountProvider
- SwapAction
- SwapRulesValidation
- SyntheticInfoProvider
- ToFeeAccount
- ToMarkerAsset
- ToOrderTechUnitFromDEXAndTradingPair
- ToTechUnitFromDEXAndAsset
- ToXykTechUnitFromDEXAndTradingPair
- TradingPairSourceManager
- VestedRewardsPallet
- WrappedRepr
- prelude::AssetInfoProvider
- prelude::BuyBackHandler
- prelude::Config
- prelude::DataFeed
- prelude::DemeterFarmingPallet
- prelude::DexInfoProvider
- prelude::EnsureDEXManager
- prelude::EnsureTradingPairExists
- prelude::FromGenericPair
- prelude::GetLstIdAndTradingPairFromTechAsset
- prelude::GetMarketInfo
- prelude::GetPoolReserves
- prelude::GetTechAssetWithLstTag
- prelude::IsRepresentable
- prelude::IsRepresentation
- prelude::IsValid
- prelude::LiquidityProxyTrait
- prelude::LiquidityRegistry
- prelude::LiquiditySource
- prelude::OnNewSymbolsRelayed
- prelude::OnPoolCreated
- prelude::OnPoolReservesChanged
- prelude::OnPswapBurned
- prelude::OnSymbolDisabled
- prelude::OnValBurned
- prelude::PoolXykPallet
- prelude::PriceToolsPallet
- prelude::PureOrWrapped
- prelude::ReferencePriceProvider
- prelude::ReferrerAccountProvider
- prelude::SwapAction
- prelude::SwapRulesValidation
- prelude::SyntheticInfoProvider
- prelude::ToFeeAccount
- prelude::ToMarkerAsset
- prelude::ToOrderTechUnitFromDEXAndTradingPair
- prelude::ToTechUnitFromDEXAndAsset
- prelude::ToXykTechUnitFromDEXAndTradingPair
- prelude::TradingPairSourceManager
- prelude::VestedRewardsPallet
- prelude::WrappedRepr
Macros
- assert_approx_eq
- balance
- dbg
- fixed
- fixed_const
- fixed_wrapper
- generate_storage_instance
- location_stamp
- our_include
- our_include_bytes
- storage_remove_all
- vec_push
Functions
- comm_merkle_op
- convert_block_number_to_timestamp
- eth::prepare_message
- eth::public_key_to_eth_address
- eth::unwrap_balance
- eth::wrap_balance
- hash
- hash_to_u128_pair
- sort_with_hash_key
- utils::fixed_from_basis_points
- utils::in_basis_points_range
- utils::linspace
- utils::parse_hex_string
- utils::pow
- utils::string_serialization::deserialize
- utils::string_serialization::serialize
- utils::string_serialization_opt::deserialize
- utils::string_serialization_opt::serialize
- weights::check_accrue_n
- weights::err_pays_no
- weights::pays_no
- weights::pays_no_with_maybe_weight
- with_transaction
Type Definitions
- AccountIdOf
- Amount
- Asset
- AssetId32Code
- Balance
- BalancePrecision
- BasisPoints
- DexIdOf
- Fixed
- FixedInner
- Price
- eth::EthAddress
- prelude::AccountIdOf
- prelude::AssetId32Code
- prelude::Balance
- prelude::BalancePrecision
- prelude::DexIdOf
Constants
- ASSET_CONTENT_SOURCE_MAX_LENGTH
- ASSET_DESCRIPTION_MAX_LENGTH
- CERES_ASSET_ID
- DAI
- DEFAULT_BALANCE_PRECISION
- DEMETER_ASSET_ID
- DOT
- ETH
- FIXED_PRECISION
- HERMES_ASSET_ID
- KSM
- PSWAP
- TBCD
- TECH_ACCOUNT_MAGIC_PREFIX
- USDT
- VAL
- XOR
- XST
- XSTUSD
- prelude::ASSET_CONTENT_SOURCE_MAX_LENGTH
- prelude::ASSET_DESCRIPTION_MAX_LENGTH
- prelude::CERES_ASSET_ID
- prelude::DAI
- prelude::DEFAULT_BALANCE_PRECISION
- prelude::DEMETER_ASSET_ID
- prelude::DOT
- prelude::ETH
- prelude::HERMES_ASSET_ID
- prelude::KSM
- prelude::PSWAP
- prelude::TBCD
- prelude::USDT
- prelude::VAL
- prelude::XOR
- prelude::XST
- prelude::XSTUSD
- weights::ON_INITIALIZE_RATIO
- weights::constants::BIG_FEE
- weights::constants::EXTRINSIC_FIXED_WEIGHT
- weights::constants::SMALL_FEE