Skip to content

Latest commit

 

History

History
67 lines (45 loc) · 1 KB

README.md

File metadata and controls

67 lines (45 loc) · 1 KB

AIP-017 Vesting Contracts

This repository contains the contracts for AIP-017 proposal, based on the openzeppelin VestingWallet contract.

Run test on the mainnet fork to check unlock amounts:

forge test --fork-url $MAINNET_RPC -vvv

Foundry Documentation

https://book.getfoundry.sh/

Usage

Build

$ forge build

Test

$ source .env
$ forge test --fork-url $MAINNET_RPC -vvv

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Anvil

$ anvil

Deploy

$ source .env
$ forge script script/DeployAIP_017.s.sol:DeployAIP_017Script --rpc-url $MAINNET_RPC --verify --broadcast -vvv

Cast

$ cast <subcommand>

Help

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