FollowTheChain asked on Telegram:
Is the code for Token Vesting production-ready? Any deployment on mainnet so far?
https://github.com/OpenZeppelin/openzeppelin-contracts-ethereum-package/blob/master/contracts/drafts/TokenVesting.sol
FollowTheChain asked on Telegram:
Is the code for Token Vesting production-ready? Any deployment on mainnet so far?
https://github.com/OpenZeppelin/openzeppelin-contracts-ethereum-package/blob/master/contracts/drafts/TokenVesting.sol
The drafts
directory was removed from OpenZeppelin Contracts 3.0.
From the documentation: https://docs.openzeppelin.com/contracts/3.x/drafts
TokenVesting
: removed. Pending a replacement that is being discussed in#1214
If you look at https://github.com/OpenZeppelin/openzeppelin-contracts/issues/1214 TokenVesting may not be aligned with traditional vesting.
I don't know what deployment there is on mainnet for this contract. You may want to look at what some of the token based projects used for vesting.
Any solution should be appropriately tested and audited.
As an aside, I noticed that you linked to the OpenZeppelin Contracts Ethereum Package version. This repository is for use with upgradeable projects rather than regular contracts.