LOCWallet | inputs | 0 | address | _store | |
| 1 | bytes32 | _crate |
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 53253d31deposit 8340f549Deposits some amount of tokens on wallet's account using ERC20 tokens
Allowed only for locManager
| inputs | 0 | address | _asset | an address of token |
| 1 | address | _from | an address of a sender who is willing to transfer her resources | |
| 2 | uint256 | _amount | an amount of tokens (resources) a sender wants to transfer | |
| outputs | 0 | bool |
destroy c6786e5aAllows contract owner to destroy a contract and withdraw all tokens associated with this address to a message sender
Allowed only for contract owner
| inputs | 0 | address[] | tokens | an array of ERC20-compatible assets |
| outputs | 0 | uint256 |
destroy 83197ef0Forbidden to invoke this implementation of destroy method. See another one which takes tokens' addresses
Reverts all actions when this method was invoked
fallbackAsset 306a547dDesigned to check if a wallet supports fallback interface. Should be simple and return true or false depending on wether a contract wants to support this interface or not.
| inputs | 0 | bytes32 | _symbol | asset's symbol |
| outputs | 0 | bool |
fallbackAssetInvoke 51ae07d9Defines main operation that will be performed throughout fallback interface. This method will be invoked only in case if fallbackAsset returns true. Purpose is to delegate invocation of any method that contract is allowed to call to a token extension.
| inputs | 0 | bytes32 | _symbol | asset's symbol |
| 1 | address | _from | destination of calling. Contract that will be proposed to be called with data | |
| 2 | bytes | _data | data passed to | |
| outputs | 0 | bool |
fallbackAssetPassOwnership 44fc19ccHelper method to provide a way to pass ownership of the platform after all operations are done to its real owner.
| inputs | 0 | bytes32 | _symbol | asset's symbol |
| 1 | address | _to | real platform owner | |
| outputs | 0 | bool |
init 19ab453cInitializes contract with its ready-to-use state
| inputs | 0 | address | _contractsManager | contracts manager address |
| 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 5aa77d3creissue b682da53Performs reissuing of an asset in provided platform for a specified amount.
Allowed only for LOCManager
| inputs | 0 | address | _platform | platform address |
| 1 | bytes32 | _symbol | asset that is registered in a platform and needed to be reissued | |
| 2 | uint256 | _amount | a number of tokens to reissue | |
| outputs | 0 | uint256 |
revoke 6d5aa458Performs revokation of an asset in provided platform for a specified amount.
Allowed only for LOCManager
| inputs | 0 | address | _platform | platform address |
| 1 | bytes32 | _symbol | asset that is registered in a platform and needed to be revoked | |
| 2 | uint256 | _amount | a number of tokens to revoke | |
| outputs | 0 | uint256 |
setContractsManager 71d3b573Setter for ContractsManager. Force overrides currect manager.
| inputs | 0 | address | _contractsManager | contracts manager. 0x0 is not allowed. |
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 |
withdraw d9caed12Withdraws some amount of tokens from wallet's account using ERC20 tokens
Allowed only for locManager
| inputs | 0 | address | _asset | an address of token |
| 1 | address | _to | an address of a receiver who is willing to get stored resources | |
| 2 | uint256 | _amount | an amount of tokens (resources) a receiver wants to get | |
| outputs | 0 | bool |
withdrawnTokens d8f9659b| inputs | 0 | address[] | tokens | |
| 1 | address | _to |