Skip to content

Latest commit

 

History

History

flexible-date-vesting-voucher

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

solv-v2-flexible-date-vesting-voucher

This repository contains smart contracts for the Flexible Date Vesting Voucher.

FlexibleDateVestingVoucher: The core implementation of the Flexible Date Vesting Voucher, inheriting from VoucherCore.

FlexibleDateVestingPool: The Vesting Pool is responsible for managing voucher slots, including creating slots when new offerings are issued, maintaining slot status for querying and updating. Besides, the Vesting Pool is also used as a vault of the underlying ERC20 asset, interacting with the Vesting Voucher contract so as to mint standard Vesting Vouchers to users when they claim.

IVNFTDescriptor: VNFTDescriptor is used as a tool to describe a Voucher in terms of three interfaces: contractURI, slotURI and tokenURI.