Skip to main content

ITokenTimelock

Functions

release

function release(
address to,
uint256 amount
) external

Parameters

NameTypeDescription
toaddress
amountuint256

releaseMax

function releaseMax(
address to
) external

Parameters

NameTypeDescription
toaddress

setPendingBeneficiary

function setPendingBeneficiary(
address _pendingBeneficiary
) external

Parameters

NameTypeDescription
_pendingBeneficiaryaddress

acceptBeneficiary

function acceptBeneficiary() external

lockedToken

function lockedToken() external returns (contract IERC20)

beneficiary

function beneficiary() external returns (address)

pendingBeneficiary

function pendingBeneficiary() external returns (address)

initialBalance

function initialBalance() external returns (uint256)

availableForRelease

function availableForRelease() external returns (uint256)

totalToken

function totalToken() external returns (uint256)

alreadyReleasedAmount

function alreadyReleasedAmount() external returns (uint256)

Events

Release

event Release(
address _beneficiary,
address _recipient,
uint256 _amount
)

Parameters

NameTypeDescription
_beneficiaryaddress
_recipientaddress
_amountuint256

BeneficiaryUpdate

event BeneficiaryUpdate(
address _beneficiary
)

Parameters

NameTypeDescription
_beneficiaryaddress

PendingBeneficiaryUpdate

event PendingBeneficiaryUpdate(
address _pendingBeneficiary
)

Parameters

NameTypeDescription
_pendingBeneficiaryaddress