TwoKeyCommunityTokenPool
contract TwoKeyCommunityTokenPool
is TokenPool
Index
Reference
Functions
checkInWhichYearIsTheTransfer
function checkInWhichYearIsTheTransfer() public view returns (uint)- Returns:
- uint
getUint
function getUint(string key) public view returns (uint)- Parameters:
key- string- Returns:
- uint
setInitialParams
function setInitialParams(address twoKeySingletonesRegistry, address _erc20Address, address _proxyStorage) external- Parameters:
twoKeySingletonesRegistry- address_erc20Address- address_proxyStorage- address
setUint
function setUint(string key, uint value) internal- Parameters:
key- stringvalue- uint
transferTokensToAddress
function transferTokensToAddress(address _receiver, uint _amount) publicOnly TwoKeyAdmin contract can issue this call, Function which does transfer with special requirements with annual limit.
- Modifiers:
- onlyTwoKeyAdmin
- Parameters:
_receiver- is the receiver of the tokens_amount- is the amount of tokens sent
validateRegistrationOfReceiver
function validateRegistrationOfReceiver(address _receiver) internal view returns (bool)Function to validate if the user is properly registered in TwoKeyRegistry.
- Parameters:
_receiver- address- Returns:
- bool