Skip to content

Latest commit

 

History

History
262 lines (246 loc) · 9.12 KB

VestingRegistryStorage.md

File metadata and controls

262 lines (246 loc) · 9.12 KB

Vesting Registry Storage Contract.

  • (VestingRegistryStorage.sol)

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

↗ Extends: Initializable, AdminRole ↘ Derived Contracts: VestingRegistryLogic, VestingRegistryProxy

VestingRegistryStorage contract

This contract is just the storage required for vesting registry. It is parent of VestingRegistryProxy and VestingRegistryLogic. *

Enums

VestingType

enum VestingType {
 TeamVesting,
 Vesting
}

Structs

Vesting

struct Vesting {
 uint256 vestingType,
 uint256 vestingCreationType,
 address vestingAddress
}

VestingCreationAndTypeDetails

struct VestingCreationAndTypeDetails {
 bool isSet,
 uint32 vestingType,
 uint128 vestingCreationType
}

Contract Members

Constants & Variables

contract IVestingFactory public vestingFactory;
contract ILockedSOV public lockedSOV;
contract IVestingRegistry[] public vestingRegistries;
address public SOV;
address public staking;
address public feeSharingCollector;
address public vestingOwner;
mapping(uint256 => struct VestingRegistryStorage.Vesting) public vestings;
mapping(address => uint256[]) public vestingsOf;
mapping(address => bool) public isVesting;
mapping(address => struct VestingRegistryStorage.VestingCreationAndTypeDetails) public vestingCreationAndTypes;

Functions

Contracts