/rio-vesting-escrow

Token vesting escrow with cliff, revocation, and governance capabilities

Primary LanguageSolidityGNU General Public License v3.0GPL-3.0

Rio Vesting Escrow

A modified version of Lido Vesting Escrow contracts with following changes:

  • Conversion to Solidity v0.8
  • Uses minimal proxies with immutable args
  • Adds support for OpenZeppelin governance contracts
  • Allows full revocation to be disabled after escrow deployment
  • Allows the escrow deployer to provide initial delegate information

Contract Development

This project uses Foundry. See the book for instructions on how to install and use Foundry.

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Anvil

$ anvil

Cast

$ cast <subcommand>

Help

$ forge --help
$ anvil --help
$ cast --help