• Mark Tyneway's avatar
    op-chain-ops: configurable gov token · 83d4d553
    Mark Tyneway authored
    This adds the governance token config to the `DeployConfig`.
    The `name`, `symbol` and `_owner` can be set via new config options.
    We must set these values to be `Optimism`, `OP` and the address
    of the mint manager for the upgraded networks.
    
    This change allows new networks to easily configure the gov token.
    This is important so that other networks do not spin up a chain
    that has a gov token that looks exactly the same as `OP`. This
    will enable scammers.
    
    In my opinion, we should also make the `MintManager` a predeploy
    because it is the only L2 contract that we manage that is not
    a predeploy.
    83d4d553
Name
Last commit
Last update
..
contracts Loading commit data...
deploy Loading commit data...
deploy-config Loading commit data...
deployments Loading commit data...
scripts Loading commit data...
src Loading commit data...
tasks Loading commit data...
test-case-generator Loading commit data...
.env.example Loading commit data...
.eslintignore Loading commit data...
.eslintrc.js Loading commit data...
.gas-snapshot Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.prettierignore Loading commit data...
.prettierrc.js Loading commit data...
.solhint.json Loading commit data...
.solhintignore Loading commit data...
.storage-layout Loading commit data...
CHANGELOG.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
echidna.yaml Loading commit data...
foundry.toml Loading commit data...
hardhat.config.ts Loading commit data...
layout-lock.json Loading commit data...
package.json Loading commit data...
slither.config.json Loading commit data...
slither.db.json Loading commit data...
tsconfig.build.json Loading commit data...
tsconfig.json Loading commit data...