Skip to content

Latest commit

 

History

History
274 lines (248 loc) · 9.12 KB

IVesting.md

File metadata and controls

274 lines (248 loc) · 9.12 KB

Interface for Vesting contract. (IVesting.sol)

View Source: contracts/governance/Vesting/IVesting.sol

↘ Derived Contracts: VestingLogic

IVesting contract

Interfaces are used to cast a contract address into a callable instance. This interface is used by VestingLogic contract to implement stakeTokens function and on VestingRegistry contract to call IVesting(vesting).stakeTokens function at a vesting instance.

Functions


duration

function duration() external nonpayable
returns(uint256)
Source Code
function duration() external returns (uint256);

endDate

function endDate() external nonpayable
returns(uint256)
Source Code
function endDate() external returns (uint256);

stakeTokens

⤿ Overridden Implementation(s): VestingLogic.stakeTokens

function stakeTokens(uint256 amount) external nonpayable

Arguments

Name Type Description
amount uint256
Source Code
function stakeTokens(uint256 amount) external;

Contracts