HodlerAdded
4bda7a30
inputs | 0 | address | account | |
1 | uint64 | joinDate |
HodlerRemoved
683f0752
inputs | 0 | address | account |
OwnershipTransferred
8be0079c
inputs | 0 | address | previousOwner | |
1 | address | newOwner |
TokenSettled
20df4650
inputs | 0 | address | token | |
1 | uint256 | amount |
addHodler
716210d8
Adds new hodler to book
inputs | 0 | address | account | address Hodler's address |
1 | uint64 | joinDate | uint64 Hodler's joining timestamp |
calculateShares
3ec16194
Calculates proportional share in given amount
inputs | 0 | uint256 | amount | uint256 Amount to share between hodlers |
outputs | 0 | uint256[] |
getHodlers
cce356b5
Returns hodlers addresses with joining timestamps
outputs | 0 | address[] | ||
1 | uint64[] |
isHodler
52f37c40
inputs | 0 | address | account | address Hodler address |
outputs | 0 | bool |
owner
8da5cb5b
removeHodler
16511a67
Removes existing hodler from book
inputs | 0 | address | account | address Hodler's address whose should be removed |
settleToken
bee4b63a
Settles given token on hodlers addresses
inputs | 0 | address | token | BasicToken The token to settle |
transferOwnership
f2fde38b
Allows the current owner to transfer control of the contract to a newOwner.
inputs | 0 | address | newOwner | The address to transfer ownership to. |