PlatformsManagerDammyDeprecated | inputs | 0 | address | _store | |
| 1 | bytes32 | _crate |
Error 9cf38cf2| inputs | 0 | address | self | |
| 1 | uint256 | errorCode |
PlatformAttached cdc5b8b2| inputs | 0 | address | self | |
| 1 | address | platform | ||
| 2 | address | by |
PlatformDetached 91fa8213| inputs | 0 | address | self | |
| 1 | address | platform | ||
| 2 | address | by |
PlatformRequested 675ebf44| inputs | 0 | address | self | |
| 1 | address | platform | ||
| 2 | address | tokenExtension | ||
| 3 | address | by |
attachPlatform 19e77bafResponsible for registering an existed platform in the system. Could be performed only by owner of passed platform. It also reset platform's event history to system's one, so an owner should install PlatformsManager as eventsAdmin in its platform contract. * Attaching a new platform also leads to synchronyzing all assets hosted in a platform and their owners so it is possible in case when a platform has a lot of assets and managers that this process of registering a platform will end up with ERROR_PLATFORMS_REPEAT_SYNC_IS_NOT_COMPLETED error. It means that all goes right just keep calling this method until OK result code will be returned; synchronysation might take several attemtps before it will be finished.
| inputs | 0 | address | _platform | platform address |
| outputs | 0 | uint256 | resultCode | result code of an operation. ERROR_PLATFORMS_ATTACHING_PLATFORM_ALREADY_EXISTS, ERROR_PLATFORMS_CANNOT_UPDATE_EVENTS_HISTORY_NOT_EVENTS_ADMIN, ERROR_PLATFORMS_REPEAT_SYNC_IS_NOT_COMPLETED might be returned. |
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 |
contractOwner ce606ee0contractsManager 53253d31createPlatform 8c1ae7f5Creates a brand new platform. This method might take an additional fee in TIMEs.
| outputs | 0 | uint256 | resultCode | result code of an operation |
destroy 83197ef0detachPlatform 73583f98Responsible for removing a platform from the system. Could be performed only by owner of passed platform. It also reset platform's eventsHistory and set platform as a new eventsHistory; still PlatformsManager should be eventsAdmin in a platform. * Detaching process also includes removal of all assets and managers from system's registry, so as an opposite to a synchronization during attaching this process clean up all records about assets and their owners. It could take several attempts until all data will be removed. ERROR_PLATFORMS_REPEAT_SYNC_IS_NOT_COMPLETED will be returned in case if clean up process is not going to finish during this iteration so keep calling until OK will be a result.
| inputs | 0 | address | _platform | platform address |
| outputs | 0 | uint256 | resultCode | result code of an operation. ERROR_PLATFORMS_PLATFORM_DOES_NOT_EXIST, ERROR_PLATFORMS_CANNOT_UPDATE_EVENTS_HISTORY_NOT_EVENTS_ADMIN, ERROR_PLATFORMS_REPEAT_SYNC_IS_NOT_COMPLETED might be returned. |
emitError df26ca08| inputs | 0 | uint256 | _errorCode |
emitPlatformAttached 4ddeb7d5| inputs | 0 | address | _platform | |
| 1 | address | _by |
emitPlatformDetached 237932cf| inputs | 0 | address | _platform | |
| 1 | address | _by |
emitPlatformRequested 47ab61b4| inputs | 0 | address | _platform | |
| 1 | address | _tokenExtension | ||
| 2 | address | _by |
getEventsHistory fff10abainit f09a4016| inputs | 0 | address | _contractsManager | |
| 1 | address | _platformsFactory |
isAuthorized fe9fbb80| inputs | 0 | address | key |
isPlatformAttached c7eff32eChecks if passed platform is presented in the system
| inputs | 0 | address | _platform | platform address |
| outputs | 0 | bool |
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 5aa77d3csetContractsManager 71d3b573Setter for ContractsManager. Force overrides currect manager.
| inputs | 0 | address | _contractsManager | contracts manager. 0x0 is not allowed. |
setEventsHistory 6521afd7| inputs | 0 | address | _eventsHistory |
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 |
withdrawnTokens d8f9659b| inputs | 0 | address[] | tokens | |
| 1 | address | _to |