/franchiser

Primary LanguageSolidityGNU General Public License v3.0GPL-3.0

Franchiser

Franchiser allows holders of checkpoint voting tokens to selectively sub-delegate voting power while retaining full custody over their funds, as described in the design document.

Running Locally

  • Ensure that foundry is installed on your machine
  • forge build
  • forge test --no-match-contract Integration
  • forge test --match-contract Integration --fork-url $FORK_URL

Deploying

  • Create and populate a .env file
  • source .env
  • forge script script/Deploy.s.sol:Deploy --broadcast --private-key $PRIVATE_KEY --rpc-url $RPC_URL [--etherscan-api-key $ETHERSCAN_API_KEY --verify --chain-id $CHAIN_ID]

Deployed Instance

See the v1 release.

Audit

This codebase was audited by Trail of Bits as of commit e652c7fe1716bc8e9ca1bb929238313eabb9ea52. All changes made since this commit may be viewed here. The audit findings are summarized in issues which may be viewed here.