Skip to main content

QuadraticTokenTimelock

Functions

constructor

function constructor(
address _beneficiary,
uint256 _duration,
address _lockedToken,
uint256 _cliffDuration,
address _clawbackAdmin,
uint256 _startTime
) public

Parameters

NameTypeDescription
_beneficiaryaddress
_durationuint256
_lockedTokenaddress
_cliffDurationuint256
_clawbackAdminaddress
_startTimeuint256

_proportionAvailable

function _proportionAvailable(
uint256 initialBalance,
uint256 elapsed,
uint256 duration
) internal returns (uint256)

Parameters

NameTypeDescription
initialBalanceuint256
elapseduint256
durationuint256