ERC20DepositStorage | 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 53253d31depositBalance 0e7ae6a2Gets token amount deposited by a particular shareholder.
| inputs | 0 | address | _token | token that was deposited |
| 1 | address | _depositor | shareholder address. | |
| outputs | 0 | uint256 | _balance |
depositFor b3db428bDeposits for a _target for provided _amount of specified tokens
Allowed only for TimeHolder call
| inputs | 0 | address | _token | token to deposit. Should be in a whitelist |
| 1 | address | _target | deposit destination | |
| 2 | uint256 | _amount | amount of deposited tokens |
destroy 83197ef0Only owner can call it
Destroy contract and scrub a data
getSharesContract c61f44b8Gets address of shares contract
init 19ab453cInit DepositStorage contract.
| inputs | 0 | address | _contractsManager |
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 5aa77d3csetContractsManager 71d3b573Setter for ContractsManager. Force overrides currect manager.
| inputs | 0 | address | _contractsManager | contracts manager. 0x0 is not allowed. |
setSharesContract 0a57ce3bSets shares token address as default token address. Used for supporting TIME tokens
Allowed only for TimeHolder call
| inputs | 0 | address | _sharesContract | TIME token address |
shareholdersCount 6ab3c700Number of shareholders for provided token
| inputs | 0 | address | _token | |
| outputs | 0 | uint256 |
totalShares bf6b874eGets total number of deposited tokens provided as parameter
| inputs | 0 | address | _token | token address to get info |
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 |
withdrawShares 64496475Withdraws tokens back to provided account
Allowed only for TimeHolder call
| inputs | 0 | address | _token | token address |
| 1 | address | _account | token recepient | |
| 2 | uint256 | _amount | number of tokens to withdraw | |
| 3 | uint256 | _totalBalance | total balance of shares |
withdrawnTokens d8f9659b| inputs | 0 | address[] | tokens | |
| 1 | address | _to |