https://github.com/morpho-org/morpho-transfervest
Transferable vesting contracts based on Maker DAO vesting contracts.
https://github.com/morpho-org/morpho-transfervest
Last synced: 8 months ago
JSON representation
Transferable vesting contracts based on Maker DAO vesting contracts.
- Host: GitHub
- URL: https://github.com/morpho-org/morpho-transfervest
- Owner: morpho-org
- Created: 2022-06-15T21:16:27.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-01T16:19:05.000Z (over 3 years ago)
- Last Synced: 2025-05-11T10:52:36.994Z (about 1 year ago)
- Language: Solidity
- Homepage:
- Size: 52.7 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Transferable Vestings
## Setup
After cloning the repo, run:
```bash
git submodule update --init --recursive
```
## Deploy Vester contract in local
Run in one terminal:
```bash
anvil
```
And in another one:
```bash
bash ./deploy_vester
```
## Create vestings' data
To create vesting data, you should import vesting params in [`vesting_params.csv`](./vesting_params.csv). The first column must be the address of the receiver and the second one is the total amount of tokens vested (with 18 decimals).
To create vestings' data, you first need to populate your `.env` file with the right parameters (check the `env.exmaple` file). You can do it by running:
```bash
cp .env.example .env
```
Then, you just need to run:
```bash
bash ./script/vestings_data.sh
```