SORA
subscan
Runtime Modules / PswapDistribution
Spec Version:
Call Functions
Name
Lookup
Parameters
claim_incentive2000-
Events
Name
Lookup
Attributes
FeesExchanged2000["DexIdOf","AccountIdOf","AssetIdOf","Balance","AssetIdOf","Balance"]
FeesExchangeFailed2001["DexIdOf","AccountIdOf","AssetIdOf","Balance","AssetIdOf","DispatchError"]
IncentiveDistributed2002["DexIdOf","AccountIdOf","AssetIdOf","Balance","u128"]
IncentiveDistributionFailed2003["DexIdOf","AccountIdOf"]
BurnRateChanged2004["Fixed"]
NothingToExchange2005["DexIdOf","AccountIdOf"]
NothingToDistribute2006["DexIdOf","AccountIdOf"]
IncentivesBurnedAfterExchange2007["DexIdOf","AssetIdOf","Balance","Balance"]
Storage Functions
Name
Type
SubscribedAccounts{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Tuple:U32AccountIdU32U32","keys_id":0,"value_id":683}}
BurnRate{"origin":"PlainType","plain_type":"I128","PlainTypeValue":79}
BurnUpdateInfo{"origin":"PlainType","plain_type":"Tuple:I128I128","PlainTypeValue":684}
ShareholderAccounts{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"I128","keys_id":0,"value_id":79}}
ClaimableShares{"origin":"PlainType","plain_type":"I128","PlainTypeValue":79}
BuyBackTBCDFraction{"origin":"PlainType","plain_type":"I128","PlainTypeValue":79}
Error Types
Name
Docs
CalculationErrorError occurred during calculation, e.g. underflow/overflow of share amount.
SubscriptionActiveError while attempting to subscribe Account which is already subscribed.
UnknownSubscriptionError while attempting to unsubscribe Account which is not subscribed.
InvalidFrequencyError while setting frequency, subscription can only be invoked for frequency value >= 1.
ZeroClaimableIncentivesCan't claim incentives as none is available for account at the moment.
IncRefErrorIncrement account reference error.