Comments (2)
Thank you so much for your work. How can i handle the case of non-linear vesting?
For example, i have 3 months vesting. First month i want to release 25% the second month 25% and the third 50%.
How this can be achieve here? Thank you so much.
This can be done with 3 vesting schedules. One for each month with a one month period. You can create a vesting for the first month with 25%. Another vesting starting after one month and the third vesting starting after two months.
from token-vesting-contracts.
Thank you @abdelhamidbakhta
Another question:
If i want to create multiple vesting schedule in one transaction, would you recommend to use an array of _beneficiary
in the createVestingSchedule
and loop into it?
What would be the best approach? And gaz efficient?
Thank you!
from token-vesting-contracts.
Related Issues (13)
- ERC20 transfer use โpayableโ address is unnecessary
- Error: cannot create vesting schedule because not sufficient tokens HOT 2
- [NEED RECOMMENDATION] Main difference between OpenZeppelin VestingWallet and this project HOT 2
- is there any article/video explaining the development process? HOT 2
- Error with yarn test HOT 8
- Error with yarn coverage HOT 7
- Function/Mapping not updated HOT 2
- Decimal Issues.
- Question : what's the purpose of slicePeriodSeconds in struct VestingSchedule. HOT 1
- Erc20 in vesting HOT 2
- AutoDrop HOT 1
- for abdel.stark.eth about ru community (definatly not UA)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from token-vesting-contracts.