Skip to content

voteagora/ERC20VotesPartialDelegationUpgradeable

Repository files navigation

ERC20VotesPartialDelegationUpgradeable

Based on OZ's ERC20Votes, ERC20VotesPartiaDelegationUpgradeable is an ERC20 token implementation that allows token holders to delegate to multiple delegates instead of just one.

Build

$ forge build

Test

$ forge test

Deploy on testnet

# First, copy .env.example to .env and fill in the required values
$ forge script script/DeployAndMintToAdmin.s.sol --rpc-url YOUR_RPC_URL_HERE --broadcast