AssetsManager | inputs | 0 | address | _store | |
| 1 | bytes32 | _crate |
Error 9cf38cf2| inputs | 0 | address | self | |
| 1 | uint256 | errorCode |
TokenExtensionRegistered adaec20b| inputs | 0 | address | self | |
| 1 | address | platform | ||
| 2 | address | tokenExtension |
TokenExtensionRequested f149a753| inputs | 0 | address | self | |
| 1 | address | platform | ||
| 2 | address | tokenExtension |
TokenExtensionUnregistered 3f50f7da| inputs | 0 | address | self | |
| 1 | address | tokenExtension |
_getOwnedAssetsFromPlatforms 72c35564| inputs | 0 | address[] | _platforms | |
| 1 | address | _user |
assetOwnerAdded 660a333eThis method is deprecated and used only for backward compatibility with platforms
| inputs | 0 | bytes32 | ||
| 1 | address | |||
| 2 | address |
assetOwnerRemoved 26046743This method is deprecated and used only for backward compatibility with platforms
| inputs | 0 | bytes32 | ||
| 1 | address | |||
| 2 | address |
changeContractOwnership 557f4bc9Prepares ownership pass. * Can only be called by current owner.
| inputs | 0 | address | _to | address of the next owner. 0x0 is not allowed. |
| outputs | 0 | bool |
claimContractOwnership 4592cd1dFinalize ownership pass. * Can only be called by pending owner.
| outputs | 0 | bool |
containsTokenExtension 6bc8acf5Checks if a provided token extension address is a part of the system
| inputs | 0 | address | _tokenExtension | address of a token extension |
| outputs | 0 | bool |
contractOwner ce606ee0contractsManager 53253d31destroy 83197ef0emitError df26ca08Emitting events
| inputs | 0 | uint256 | errorCode |
emitTokenExtensionRegistered 8f8068bb| inputs | 0 | address | _platform | |
| 1 | address | _tokenExtension |
emitTokenExtensionRequested 9e6c2765| inputs | 0 | address | _platform | |
| 1 | address | _tokenExtension |
emitTokenExtensionUnregistered 2d305c82| inputs | 0 | address | _tokenExtension |
getAssetBySymbol 28aea08bGets token's address which is associated with a symbol
| inputs | 0 | bytes32 | _symbol | symbol associated with some token |
| outputs | 0 | address |
getAssetForOwnerAtIndex 2cd060ceReturns the exact asset symbol hosted in a platform with passed user as an owner by accessing it by index.
| inputs | 0 | address | _platform | hosting platform |
| 1 | address | _owner | user to be checked for ownership | |
| 2 | uint256 | _idx | index of a symbol. Should no more than number of assets for this owner minus 1 | |
| outputs | 0 | bytes32 |
getAssetsForOwnerCount 17db1071Gets a number of assets in a platform where passed user is an owner.
| inputs | 0 | address | _platform | hosting platform |
| 1 | address | _owner | user to be checked for ownership | |
| outputs | 0 | uint256 | count |
getEventsHistory fff10abagetManagersForAsset 406aa8fc| inputs | 0 | address | _asset |
getOwnedAssetsFromPlatforms f79d1877| inputs | 0 | address[] | _platforms |
getTokenExtension e5ebb7a5Gets an associated token extension address with provided platform. If no token extension was found then return 0x0.
| inputs | 0 | address | _platform | platform address for associated token extension |
| outputs | 0 | address |
getTokenExtensionFactory 44ef3ea5Gets an address of currenty used token extension factory
| outputs | 0 | address |
getTokenFactory 925d6ba2Gets an address of currenty used token and proxy factory
| outputs | 0 | address |
init 184b9559Initalizer. Used by contract owner to initialize and re-initialize contract after deploying new versions of related dependencies.
| inputs | 0 | address | _contractsManager | contracts manager |
| 1 | address | _tokenExtensionFactory | token extension factory address | |
| 2 | address | _tokenFactory | token and proxy factory address | |
| outputs | 0 | uint256 |
isAssetOwner 25742b46Checks if a user has access rights and an owner of a token with provided symbol
| inputs | 0 | bytes32 | _symbol | symbol associated with some token |
| 1 | address | _user | a user which should be tested for ownership | |
| outputs | 0 | bool |
isAssetSymbolExists d5ed0d17Checks if a token with such symbol is registered in the system
| inputs | 0 | bytes32 | _symbol | symbol associated with some token |
| outputs | 0 | bool |
isAuthorized fe9fbb80| inputs | 0 | address | key |
lookupManager 4fe59012Will crash if no manager in the system with given identifier.
Returns manager's address by its identifier (type).
| inputs | 0 | bytes32 | _identifier | is a manager's identifier. 0x0 is not allowed. |
pendingContractOwner 5aa77d3cregisterTokenExtension 89c165d0Registers and stores token extension of a platform into the system. Mostly this method should be used when platform's token extention was removed manually from AssetsManager or there was no token extension at all. It is preferred to create token extension by calling requestTokenExtension: this will ensure that the latest version of token extension contract will be used. There might be ONLY ONE token extension at a time associated with a platform and be registered in the system. Can be used only by platform's owner associated with this token extension.
| inputs | 0 | address | _tokenExtension | address of token extension |
| outputs | 0 | uint256 |
requestTokenExtension c97f5787Provides a way to "request" (meant check if a token extension exists for a passed platform and if it doesn't then create a new one).
| inputs | 0 | address | _platform | address of a platform for which token extension is requested |
| outputs | 0 | uint256 |
setContractsManager 71d3b573Setter for ContractsManager. Force overrides currect manager.
| inputs | 0 | address | _contractsManager | contracts manager. 0x0 is not allowed. |
setEventsHistory 6521afd7| inputs | 0 | address | _eventsHistory |
setTokenExtensionFactory b5fb8421Sets a new address of token extension factory contract as currently used in AssetsManager
| inputs | 0 | address | _tokenExtensionFactory | address of an updated token extension factory contract |
| outputs | 0 | uint256 |
setTokenFactory 2f73a9f8Sets a new address of token and proxy factory contract as currently used in AssetsManager
| inputs | 0 | address | _tokenFactory | address of an updated token and proxy factory contract |
| outputs | 0 | uint256 |
transferContractOwnership a843c51fDirect ownership pass without change/claim pattern. Can be invoked only by current contract owner
| inputs | 0 | address | _to | the next contract owner |
| outputs | 0 | bool |
unregisterTokenExtension db06471fUnregisters and removes token extension from the system. It should be used when you know what are you doing, because it will remove record of token extension for a platform and to continue using an associated token extension with platform you should register a new token extension address or request a brand new one (see requestTokenExtension method). Can be used only by platform's owner associated with this token extension.
| inputs | 0 | address | _tokenExtension | address of a token extension |
| outputs | 0 | uint256 |
withdrawnTokens d8f9659b| inputs | 0 | address[] | tokens | |
| 1 | address | _to |