https://github.com/kaonone/aip-017-vesting-contracts
https://github.com/kaonone/aip-017-vesting-contracts
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kaonone/aip-017-vesting-contracts
- Owner: kaonone
- Created: 2024-07-04T11:47:10.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-26T08:20:36.000Z (9 months ago)
- Last Synced: 2025-01-24T06:12:47.262Z (4 months ago)
- Language: Solidity
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AIP-017 Vesting Contracts
This repository contains the contracts for [AIP-017 proposal](https://gov.akropolis.io/t/aip-017-akro-a-new-generation-tokenomics-phase-1-and-product-roadmap/624), based on the openzeppelin [VestingWallet](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v5.0.2/contracts/finance/VestingWallet.sol) contract.
Run test on the mainnet fork to check unlock amounts:
```shell
forge test --fork-url $MAINNET_RPC -vvv
```## Foundry Documentation
https://book.getfoundry.sh/
## Usage
### Build
```shell
$ forge build
```### Test
```shell
$ source .env
$ forge test --fork-url $MAINNET_RPC -vvv
```### Format
```shell
$ forge fmt
```### Gas Snapshots
```shell
$ forge snapshot
```### Anvil
```shell
$ anvil
```### Deploy
```shell
$ source .env
$ forge script script/DeployAIP_017.s.sol:DeployAIP_017Script --rpc-url $MAINNET_RPC --verify --broadcast -vvv
```### Cast
```shell
$ cast
```### Help
```shell
$ forge --help
$ anvil --help
$ cast --help
```