Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

api3dao/dcomp

Open more actions menu

Repository files navigation

dComp

ERC20 wrapper for COMP token that delegates voting power to another address.

Set the required environment variables before deploying:

  • INITIAL_DELEGATEE: address that receives COMP voting power delegated by the wrapper
  • WHITELISTED_DEPOSITOR: single address initially allowed to deposit/wrap COMP

Deploy on Ethereum:

INITIAL_DELEGATEE=0xDelegateeAddress WHITELISTED_DEPOSITOR=0xDepositorAddress pnpm deploy:dcomp:ethereum

Override initial owner:

INITIAL_DELEGATEE=0xDelegateeAddress WHITELISTED_DEPOSITOR=0xDepositorAddress OWNER=0xOwnerAddress pnpm run deploy:dcomp:ethereum

Deploy to a local mainnet fork (running on localhost) with:

INITIAL_DELEGATEE=0xDelegateeAddress WHITELISTED_DEPOSITOR=0xDepositorAddress pnpm deploy:dcomp:localhost

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.