{"id":26054849,"url":"https://github.com/morpho-org/legacy-morpho-token","last_synced_at":"2025-03-08T10:00:34.669Z","repository":{"id":37537530,"uuid":"503648434","full_name":"morpho-org/legacy-morpho-token","owner":"morpho-org","description":"Morpho token contracts.","archived":false,"fork":false,"pushed_at":"2024-12-06T09:46:28.000Z","size":829,"stargazers_count":14,"open_issues_count":1,"forks_count":1,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-12-06T10:31:15.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","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/Morpho_Omniscia.pdf","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-15T06:47:54.000Z","updated_at":"2024-12-06T10:11:11.000Z","dependencies_parsed_at":"2024-08-19T08:59:26.124Z","dependency_job_id":"70e34a00-d897-4618-a0ca-cdce736bd84b","html_url":"https://github.com/morpho-org/legacy-morpho-token","commit_stats":null,"previous_names":["morpho-org/legacy-morpho-token"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Flegacy-morpho-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Flegacy-morpho-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Flegacy-morpho-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Flegacy-morpho-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morpho-org","download_url":"https://codeload.github.com/morpho-org/legacy-morpho-token/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242532348,"owners_count":20144726,"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","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:23.501Z","updated_at":"2025-03-08T10:00:34.628Z","avatar_url":"https://github.com/morpho-org.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Legacy Morpho Token\n\n\u003e [!IMPORTANT]\n\u003e This token is now deprecated. The Morpho Token has been redeployed with new features allowing onchain governance (see https://github.com/morpho-org/morpho-token).\n\u003e \n\u003e Holders of the legacy token can wrap it for the new one (more information in [the docs](https://docs.morpho.org/governance/morpho-token/overview/#legacy-and-wrapped-morpho)). The legacy token will stay non-transferable forever to avoid mistakes. \n\n\n\nThe Morpho Token contract inherits the semi-transferable token pattern built by [@adhusson](https://github.com/adhusson), a contributor of Morpho DAO and a core contributor of Mangrove DAO. Please, refer to the [semi-transferable repository](https://github.com/morpho-dao/semitransferable-token) to learn more about its functionalities and specificities.\n\n## Morpho token’s lifecycle\n\nThe Morpho token’s lifecycle can be split into three main stages. Note that token holders can burn their tokens at any stage.\n\n### 1. Token deployment and minting\n\nThe Morpho Association (ADDMO) has deployed the Morpho Token and minted 200 million tokens. It then transferred the ownership of the Token Contract to the Morpho DAO, which minted 800 million tokens. At this point, the token is non-transferable by default.\n\n### 2. Transferability whitelisting\n\nThe DAO can decide on contracts that will be allowed to transfer tokens. For example, these allowed contracts could be handling Morpho token distributions like the `RewardsDistributor` and the `IncentivesVault` directly built in the [morpho-core-v1](https://github.com/morphodao/morpho-core-v1) repository.\n\n### 3. Fully transferable\n\nThe Morpho DAO can then decide to allow anyone to transfer freely their tokens by setting:\n```solidity\ntoken.setPublicCapability(Token.transfer.selector, true);\ntoken.setPublicCapability(Token.transferFrom.selector, true);\n```\n\n## Setup\n\nAfter cloning the repo, run:\n```bash\ngit submodule update --init --recursive\n```\n\nTests can be run using:\n```bash\nforge test\n```\n\n## Audits\n\nThe [semi-transferable repository](https://github.com/mangrovedao/semitransferable-token) has been audited by Omniscia. The audit report can be found [here](https://omniscia.io/morpho-specialized-token/) or in this file [Morpho_Omniscia](./audits/Morpho_Omniscia.pdf).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorpho-org%2Flegacy-morpho-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorpho-org%2Flegacy-morpho-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorpho-org%2Flegacy-morpho-token/lists"}