Proportionally distribute contract's tokens to each registered hodler
/contracts/PragmaticHodlings.sol

Wojciech Harzowski, Dominik Kroliczek

event

HodlerAdded 4bda7a30

inputs0addressaccount
inputs1uint64joinDate
event

HodlerRemoved 683f0752

inputs0addressaccount
event

OwnershipTransferred 8be0079c

inputs0addresspreviousOwner
inputs1addressnewOwner
event

TokenSettled 20df4650

inputs0addresstoken
inputs1uint256amount
function

addHodler 716210d8

Adds new hodler to book

inputs0addressaccount

address Hodler's address

inputs1uint64joinDate

uint64 Hodler's joining timestamp

function, constant

calculateShares 3ec16194

Calculates proportional share in given amount

inputs0uint256amount

uint256 Amount to share between hodlers

outputs0uint256[]
function, constant

getHodlers cce356b5

Returns hodlers addresses with joining timestamps

outputs0address[]
outputs1uint64[]
function, constant

isHodler 52f37c40

inputs0addressaccount

address Hodler address

outputs0bool
function, constant

owner 8da5cb5b

function

removeHodler 16511a67

Removes existing hodler from book

inputs0addressaccount

address Hodler's address whose should be removed

function

settleToken bee4b63a

Settles given token on hodlers addresses

inputs0addresstoken

BasicToken The token to settle

function

transferOwnership f2fde38b

Allows the current owner to transfer control of the contract to a newOwner.

inputs0addressnewOwner

The address to transfer ownership to.