Skip to content

Latest commit

 

History

History
293 lines (269 loc) · 10.4 KB

IVestingFactory.md

File metadata and controls

293 lines (269 loc) · 10.4 KB

Interface for Vesting Factory contract. (IVestingFactory.sol)

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

↘ Derived Contracts: VestingFactory

IVestingFactory contract

Interfaces are used to cast a contract address into a callable instance. This interface is used by VestingFactory contract to override empty implemention of deployVesting and deployTeamVesting functions and on VestingRegistry contract to use an instance of VestingFactory.

Functions


deployVesting

⤿ Overridden Implementation(s): VestingFactory.deployVesting

function deployVesting(address _SOV, address _staking, address _tokenOwner, uint256 _cliff, uint256 _duration, address _feeSharing, address _owner) external nonpayable
returns(address)

Arguments

Name Type Description
_SOV address
_staking address
_tokenOwner address
_cliff uint256
_duration uint256
_feeSharing address
_owner address
Source Code
function deployVesting(
        address _SOV,
        address _staking,
        address _tokenOwner,
        uint256 _cliff,
        uint256 _duration,
        address _feeSharing,
        address _owner
    ) external returns (address);

deployTeamVesting

⤿ Overridden Implementation(s): VestingFactory.deployTeamVesting

function deployTeamVesting(address _SOV, address _staking, address _tokenOwner, uint256 _cliff, uint256 _duration, address _feeSharing, address _owner) external nonpayable
returns(address)

Arguments

Name Type Description
_SOV address
_staking address
_tokenOwner address
_cliff uint256
_duration uint256
_feeSharing address
_owner address
Source Code
function deployTeamVesting(
        address _SOV,
        address _staking,
        address _tokenOwner,
        uint256 _cliff,
        uint256 _duration,
        address _feeSharing,
        address _owner
    ) external returns (address);

Contracts