![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@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
The npm package @eth-optimism/contracts-governance receives a total of 2 weekly downloads. As such, @eth-optimism/contracts-governance popularity was classified as not popular.
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
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
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.