subscan
Runtime Modules / PoolFees
Spec Version:
Call Functions
Events
Name
Lookup
Attributes
Proposed7200["PoolId","FeeId","PoolFeeBucket","PoolFeeInfoOf"]
Added7201["PoolId","PoolFeeBucket","FeeId","PoolFeeInfoOf"]
Removed7202["PoolId","PoolFeeBucket","FeeId"]
Charged7203["PoolId","FeeId","Balance","Balance"]
Uncharged7204["PoolId","FeeId","Balance","Balance"]
Paid7205["PoolId","FeeId","Balance","AccountId"]
Accrued7206["PoolId","FeeId","Balance","Balance"]
PortfolioValuationUpdated7207["PoolId","Balance","PortfolioValuationUpdateType"]
Storage Functions
Name
Type
FeeIds{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U64","cfg_traits:fee:PoolFeeBucket"],"value":"Vec<U64>","keys_id":714,"value_id":715}}
LastFeeId{"origin":"PlainType","plain_type":"U64","PlainTypeValue":11}
FeeIdsToPoolBucket{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"Tuple:U64cfg_traits:fee:PoolFeeBucket","keys_id":11,"value_id":714}}
ActiveFees{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U64","cfg_traits:fee:PoolFeeBucket"],"value":"Vec<cfg_types:pools:PoolFee>","keys_id":714,"value_id":716}}
PortfolioValuation{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"cfg_types:portfolio:PortfolioValuation@721","keys_id":11,"value_id":721}}
AssetsUnderManagement{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"U128","keys_id":11,"value_id":6}}
Constants
Name
Type
Value
PalletId[U8; 8]6366672f706c6673
Error Types
Name
Docs
FeeIdAlreadyExistsAttempted to add a fee id which already exists.
FeeNotFoundA fee could not be found.
PoolNotFoundA pool could not be found.
NotPoolAdminOnly the PoolAdmin can execute a given operation.
MaxPoolFeesPerBucketThe pool bucket has reached the maximum fees size.
ChangeIdNotPoolFeesThe change id does not belong to a pool fees change.
UnauthorizedChargeThe fee can only be charged by the destination.
UnauthorizedEditThe fee can only be edited or removed by the editor.
CannotBeChargedAttempted to charge a fee of unchargeable type.
NothingChargedAttempted to charge with zero amount
NothingUnchargedAttempted to uncharge with zero amount