{"id":26054834,"url":"https://github.com/morpho-org/morpho-token","last_synced_at":"2025-09-06T08:41:29.508Z","repository":{"id":258153041,"uuid":"869632861","full_name":"morpho-org/morpho-token","owner":"morpho-org","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-17T11:02:50.000Z","size":1136,"stargazers_count":11,"open_issues_count":3,"forks_count":8,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-11T02:56:05.217Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/morpho-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"audits/2024-11-5-morpho-token-upgradeable-cantina-managed.pdf","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-08T16:12:18.000Z","updated_at":"2025-02-14T08:42:11.000Z","dependencies_parsed_at":"2025-01-14T12:47:42.774Z","dependency_job_id":"3bcfb9cc-c9f6-416a-849f-8860d587ead5","html_url":"https://github.com/morpho-org/morpho-token","commit_stats":null,"previous_names":["morpho-org/morpho-token-upgradeable","morpho-org/morpho-token"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/morpho-org/morpho-token","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Fmorpho-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Fmorpho-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Fmorpho-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Fmorpho-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morpho-org","download_url":"https://codeload.github.com/morpho-org/morpho-token/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Fmorpho-token/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273879203,"owners_count":25184427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-08T10:00:14.324Z","updated_at":"2025-09-06T08:41:29.470Z","avatar_url":"https://github.com/morpho-org.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Morpho token\n\nThis repository contains the Morpho protocol's ERC20 token.\nIt is designed to be upgradable and support onchain delegation.\nAdditionally, it ships a wrapper contract to simplify the migration of assets from the previous token contract to the new Morpho token contract.\n\n## Features\n\n### Upgradeability\n\nThe Morpho token complies with [EIP-1967](https://eips.ethereum.org/EIPS/eip-1967) to support upgradeability.\n\n### Delegation\n\nThe Morpho token supports onchain voting and voting power delegation.\n\n### Role-based permission\n\nThe new Morpho token does not have role-based permission of functions.\n\n### Burning tokens\n\nIn the legacy Morpho token, it was possible to transfer tokens to the zero address.\nThis is no longer possible in the new Morpho token, but it's possible for users to burn tokens by calling the `burn` function.\n\n## Migration\n\n### Wrapper contract\n\nThe `Wrapper` contract enables the migration of legacy tokens to the new token version at a one-to-one ratio.\nWith the functions `depositFor` and `withdrawTo`, this contract ensures compliance with `ERC20WrapperBundler` from the [Morpho bundler](https://github.com/morpho-org/morpho-blue-bundlers) contracts, enabling one-click migrations.\nThe `Wrapper` contract will hold the migrated legacy tokens.\n\n### Migration flow\n\nDuring contract initialization, 1 billion tokens will be minted for the `Wrapper` contract, which will initially hold the entire supply.\nAny legacy token holder will then be able to migrate their tokens provided that the migration amount is approved for the wrapper.\nMigrated legacy tokens may be recovered in order to revert a migration.\n\n## Audits\n\nAll audits are stored in the audits' folder.\n\n## Getting started\n\n### Install dependencies\n\n```shell\n$ forge install\n```\n\n### Test\n\n```shell\n$ forge test\n```\n\n## License\n\nThe Morpho token is licensed under `GPL-2.0-or-later`, see [`LICENSE`](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorpho-org%2Fmorpho-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorpho-org%2Fmorpho-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorpho-org%2Fmorpho-token/lists"}