Name | Lookup | Parameters | |
---|---|---|---|
create_portfolio | 2200 | 1 | |
delete_portfolio | 2201 | 1 | |
move_portfolio_funds | 2202 | 3 | |
rename_portfolio | 2203 | 2 | |
quit_portfolio_custody | 2204 | 1 | |
accept_portfolio_custody | 2205 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
PortfolioCreated | 2200 | ||
PortfolioDeleted | 2201 | ||
MovedBetweenPortfolios | 2202 | ||
PortfolioRenamed | 2203 | ||
UserPortfolios | 2204 | ||
PortfolioCustodianChanged | 2205 |
Name | Type | |
---|---|---|
NextPortfolioNumber | {"origin":"MapType","map_type":{"key":"IdentityId","hasher":"Identity","value":"PortfolioNumber","isLinked":false}} | |
Portfolios | {"origin":"DoubleMapType","double_map_type":{"key":"IdentityId","key2":"PortfolioNumber","hasher":"Identity","key2Hasher":"Twox64Concat","value":"PortfolioName","isLinked":false}} | |
NameToNumber | {"origin":"DoubleMapType","double_map_type":{"key":"IdentityId","key2":"PortfolioName","hasher":"Identity","key2Hasher":"Blake2_128Concat","value":"PortfolioNumber","isLinked":false}} | |
PortfolioAssetCount | {"origin":"MapType","map_type":{"key":"PortfolioId","hasher":"Twox64Concat","value":"u64","isLinked":false}} | |
PortfolioAssetBalances | {"origin":"DoubleMapType","double_map_type":{"key":"PortfolioId","key2":"Ticker","hasher":"Twox64Concat","key2Hasher":"Blake2_128Concat","value":"Balance","isLinked":false}} | |
PortfolioLockedAssets | {"origin":"DoubleMapType","double_map_type":{"key":"PortfolioId","key2":"Ticker","hasher":"Twox64Concat","key2Hasher":"Blake2_128Concat","value":"Balance","isLinked":false}} | |
PortfolioCustodian | {"origin":"MapType","map_type":{"key":"PortfolioId","hasher":"Twox64Concat","value":"IdentityId","isLinked":false}} | |
PortfoliosInCustody | {"origin":"DoubleMapType","double_map_type":{"key":"IdentityId","key2":"PortfolioId","hasher":"Identity","key2Hasher":"Twox64Concat","value":"bool","isLinked":false}} | |
StorageVersion | {"origin":"PlainType","plain_type":"Version"} |
Name | Docs |
---|---|
PortfolioDoesNotExist | The portfolio doesn't exist. |
InsufficientPortfolioBalance | Insufficient balance for a transaction. |
DestinationIsSamePortfolio | The source and destination portfolios should be different. |
PortfolioNameAlreadyInUse | The portfolio couldn't be renamed because the chosen name is already in use. |
SecondaryKeyNotAuthorizedForPortfolio | The secondary key is not authorized to access the portfolio(s). |
UnauthorizedCustodian | The porfolio's custody is with someone other than the caller. |
InsufficientTokensLocked | Can not unlock more tokens than what are locked |
PortfolioNotEmpty | The portfolio still has some asset balance left |
DifferentIdentityPortfolios | The portfolios belong to different identities |