![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@eth-optimism/contracts-governance
Advanced tools
The token and governance smart contracts for the Optimism DAO. Built using OpenZeppelin libraries with some customisations. The token is an ERC20 that is permissible and allows for delegate voting. The token is also burnable. See more in the Specification section.
Governance will initially be handled by Snapshot before moving to an on chain governance system like OpenZeppelins Governance contracts.
You will need the following dependancies installed:
nvm
node
yarn
npx
Instal the required packages by running:
nvm use
yarn
To compile the smart contracts run:
yarn build
To run the tests run:
yarn test
To run the linter run:
yarn lint
For coverage run:
yarn test:coverage
To deploy the contracts you will first need to set up the environment variables.
Duplicate the .env.example
file. Rename the duplicate to .env
.
Fill in the missing environment variables, take care with the specified required formatting of secrets.
Then run the command for your desired network:
# To deploy on Optimism Kovan
yarn deploy-op-kovan
# To deploy on Optimism
yarn deploy-op-main
Below we will cover the specifications for the various elements of this repository.
The GovernanceToken.sol
contract is a basic ERC20 token, with the following modifications:
OP
token is an inflationary token. We allow for up to 2% annual inflation supply to be minted by the token MintManager
.The MintManager.sol
contract is set as the owner
of the OP token and is responsible for the token inflation schedule. It acts as the token "mint manager" with permission to the mint
function only.
The current implementation allows minting once per year of up to 2% of the total token supply.
The contract is also upgradable to allow changes in the inflation schedule.
(WIP)
(WIP)
FAQs
Optimism Governance Contracts</h1
We found that @eth-optimism/contracts-governance demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.