TimeHolderDeprecated
/contracts/helpers/legacy/TimeHolderDeprecated.sol

constructor

TimeHolderDeprecated

inputs0address_store
inputs1bytes32_crate
function

changeContractOwnership 557f4bc9

Prepares ownership pass. * Can only be called by current owner.

inputs0address_to

address of the next owner. 0x0 is not allowed.

outputs0bool
function

claimContractOwnership 4592cd1d

Finalize ownership pass. * Can only be called by pending owner.

outputs0bool
function, constant

contractOwner ce606ee0

function, constant

contractsManager 53253d31

function

deposit b6b55f25

Deposit shares and prove possession. Amount should be less than or equal to current allowance value. * Proof should be repeated for each active period. To prove possesion without depositing more shares, specify 0 amount.

inputs0uint256_amount

amount of shares to deposit, or 0 to just prove.

outputs0uint256
function, constant

depositBalance 956501bb

Returns shares amount deposited by a particular shareholder.

inputs0address_address

shareholder address.

outputs0uint256
function

depositFor 2f4f21e2

Deposit own shares and prove possession for arbitrary shareholder. Amount should be less than or equal to caller current allowance value. * Proof should be repeated for each active period. To prove possesion without depositing more shares, specify 0 amount. * This function meant to be used by some backend application to prove shares possesion of arbitrary shareholders.

inputs0address_address

to deposit and prove for.

inputs1uint256_amount

amount of shares to deposit, or 0 to just prove.

outputs0uint256
function

destroy 83197ef0

function, constant

feeWallet f25f4b56

Gets an associated fee wallet for the time holder

function, constant

getEventsHistory fff10aba

function, constant

getLimit b295a00e

Returns deposit/withdraw limit

outputs0uint256
function

init 06552ff3

Init TimeHolder contract. *

inputs0address_contractsManager

address.

inputs1address_sharesContract

ERC20 token address to act as shares.

inputs2address_wallet
inputs3address_feeWallet
outputs0uint256
function, constant

isAuthorized fe9fbb80

inputs0addresskey
function, constant

lookupManager 4fe59012

Will crash if no manager in the system with given identifier.

Returns manager's address by its identifier (type).

inputs0bytes32_identifier

is a manager's identifier. 0x0 is not allowed.

function, constant

pendingContractOwner 5aa77d3c

function

setContractsManager 71d3b573

Setter for ContractsManager. Force overrides currect manager.

inputs0address_contractsManager

contracts manager. 0x0 is not allowed.

function

setEventsHistory 6521afd7

inputs0address_eventsHistory
function

setFeeWallet 90d49b9d

Sets fee wallet address.

inputs0address_feeWallet
function

setLimit 27ea6f2b

Setter deposit/withdraw limit

inputs0uint256_limitAmount

is limit

function, constant

shareholdersCount 1638a3fb

Number of shareholders

outputs0uint256
function, constant

sharesContract 7bc1ed63

Contract address of shares

outputs0address
function

takeFeatureFee eca87918

Provides a way to support getting additional fee for using features of the system.

inputs0address_account

holder of deposits, will pay for using a features

inputs1uint256_amount

size of a fee

outputs0uint256resultCode

result code of the operation

function, constant

totalShares 3a98ef39

Total amount of shares

outputs0uint256
function, constant

totalSupply 18160ddd

function

transferContractOwnership a843c51f

Direct ownership pass without change/claim pattern. Can be invoked only by current contract owner

inputs0address_to

the next contract owner

outputs0bool
function, constant

wallet 521eb273

Gets an associated wallet for the time holder

function

withdrawShares 19810f3c

Withdraw shares from the contract, updating the possesion proof in active period.

inputs0uint256_amount

amount of shares to withdraw.

outputs0uint256resultCode
function

withdrawnTokens d8f9659b

inputs0address[]tokens
inputs1address_to