SORA
subscan
Runtime Modules / DemeterFarmingPlatform
Spec Version:
Storage Functions
Name
Type
TokenInfos{"origin":"MapType","map_type":{"key":"AssetIdOf","hasher":"Identity","value":"TokenInfo<AccountIdOf>","isLinked":false}}
UserInfos{"origin":"MapType","map_type":{"key":"AccountIdOf","hasher":"Identity","value":"Vec<UserInfo<AssetIdOf>>","isLinked":false}}
Pools{"origin":"DoubleMapType","double_map_type":{"key":"AssetIdOf","key2":"AssetIdOf","hasher":"Identity","key2Hasher":"Identity","value":"Vec<PoolData>","isLinked":false}}
AuthorityAccount{"origin":"PlainType","plain_type":"AccountIdOf"}
FeeAccount{"origin":"PlainType","plain_type":"AccountIdOf"}
Error Types
Name
Docs
TokenAlreadyRegistered Token is already registered
TokenPerBlockCantBeZero Token per block can't be zero
InvalidAllocationParameters Invalid allocation parameters
InvalidMultiplier Multiplier must be greater or equal to 1
InvalidDepositFee Invalid deposit fee
RewardTokenIsNotRegistered Token is not registered
PoolAlreadyExists Pool already exists
InsufficientFunds Insufficient Funds
ZeroRewards Zero Rewards
PoolDoesNotExist Pool does not exist
InsufficientLPTokens Insufficient LP tokens
PoolDoesNotHaveRewards Pool does not have rewards,
Unauthorized Unauthorized