Name | Lookup | Parameters | |
|---|---|---|---|
| propose_new_fee | 7600 | 3 | |
| apply_new_fee | 7601 | 2 | |
| remove_fee | 7602 | 1 | |
| charge_fee | 7603 | 2 | |
| uncharge_fee | 7604 | 2 | |
| update_portfolio_valuation | 7605 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Proposed | 7600 | ["PoolId","FeeId","PoolFeeBucket","PoolFeeInfoOf"] | |
| Added | 7601 | ["PoolId","PoolFeeBucket","FeeId","PoolFeeInfoOf"] | |
| Removed | 7602 | ["PoolId","PoolFeeBucket","FeeId"] | |
| Charged | 7603 | ["PoolId","FeeId","Balance","Balance"] | |
| Uncharged | 7604 | ["PoolId","FeeId","Balance","Balance"] | |
| Paid | 7605 | ["PoolId","FeeId","Balance","AccountId"] | |
| Accrued | 7606 | ["PoolId","FeeId","Balance","Balance"] | |
| PortfolioValuationUpdated | 7607 | ["PoolId","Balance","PortfolioValuationUpdateType"] |
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":914,"value_id":915}} | |
| 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":914}} | |
| 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":914,"value_id":916}} | |
| PortfolioValuation | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"cfg_types:portfolio:PortfolioValuation@921","keys_id":11,"value_id":921}} | |
| AssetsUnderManagement | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"U128","keys_id":11,"value_id":6}} |
Name | Type | Value | |
|---|---|---|---|
| PalletId | [U8; 8] | 6366672f706c6673 |
Name | Docs |
|---|---|
| FeeIdAlreadyExists | Attempted to add a fee id which already exists. |
| FeeNotFound | A fee could not be found. |
| PoolNotFound | A pool could not be found. |
| NotPoolAdmin | Only the PoolAdmin can execute a given operation. |
| MaxPoolFeesPerBucket | The pool bucket has reached the maximum fees size. |
| ChangeIdNotPoolFees | The change id does not belong to a pool fees change. |
| UnauthorizedCharge | The fee can only be charged by the destination. |
| UnauthorizedEdit | The fee can only be edited or removed by the editor. |
| CannotBeCharged | Attempted to charge a fee of unchargeable type. |
| NothingCharged | Attempted to charge with zero amount |
| NothingUncharged | Attempted to uncharge with zero amount |