{"id":19070839,"url":"https://github.com/mento-protocol/mento-core","last_synced_at":"2025-04-28T14:48:41.002Z","repository":{"id":59481685,"uuid":"526288016","full_name":"mento-protocol/mento-core","owner":"mento-protocol","description":"Core smart contracts of the Mento protocol.","archived":false,"fork":false,"pushed_at":"2025-04-23T08:34:34.000Z","size":2096,"stargazers_count":7,"open_issues_count":10,"forks_count":3,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-04-24T01:02:37.534Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mento.org","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mento-protocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-08-18T16:23:28.000Z","updated_at":"2025-04-19T01:23:47.000Z","dependencies_parsed_at":"2024-02-19T08:27:40.880Z","dependency_job_id":"20cfa974-403f-4c48-b95d-48c70916efa9","html_url":"https://github.com/mento-protocol/mento-core","commit_stats":{"total_commits":119,"total_committers":8,"mean_commits":14.875,"dds":0.6890756302521008,"last_synced_commit":"f430e91d2a3783242d10a9098c1bb4ed8f4e36f5"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mento-protocol%2Fmento-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mento-protocol%2Fmento-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mento-protocol%2Fmento-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mento-protocol%2Fmento-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mento-protocol","download_url":"https://codeload.github.com/mento-protocol/mento-core/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251334075,"owners_count":21572943,"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":"2024-11-09T01:20:52.512Z","updated_at":"2025-04-28T14:48:40.951Z","avatar_url":"https://github.com/mento-protocol.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Seaport](img/Mento-banner.png)\n\n[![Foundry][foundry-badge]][foundry]\n[![Mento Core CI][ci-badge]][ci-link]\n\n# Mento Core\n\nThis repo contains the source code of the core smart contracts for the Mento protocol. The repository is built with foundry which is used for the compilation and testing of the smart contracts.\n\n## What is Mento?\n\nThe Mento protocol is a smart contract platform built on the Celo blockchain that enables the creation of stable value digital assets. Stable assets created with Mento can be classified as 'Hybrid stable assets' as they are algorithmic, transparent and backed by a over-collateralized, diversified portfolio of exogenous crypto assets([Mento Reserve](https://reserve.mento.org/)).\n\n## Documentation\n\n- [Protocol Documentation](https://docs.mento.org/mento/mento-protocol/readme)\n- [Stability Whitepaper](https://celo.org/papers/stability)\n\n## Getting Started\n\n```bash\n# Get the latest code\ngit clone git@github.com:mento-protocol/mento-core.git\n\n# Change directory to the the newly cloned repo\ncd mento-core\n\n# Install dev dependencies with yarn\nyarn\n\n# Install submodule dependencies with forge\nforge install\n\n# Compile the smart contracts with forge\nforge build\n\n# Run all tests with forge\nforge test\n```\n\n#### Slither\n\nInstall slither, if not installed.\n\n```bash\npip3 install slither-analyzer\n```\n\nRunning slither locally requires you to build only a subset of packages:\n\n```bash\nforge clean\nforge build --build-info --skip tests\nslither . --foundry-ignore-compile\n```\n\nIf you want to ignore a slither warning run:\n\n```bash\nslither . --foundry-ignore-compile --triage-mode\n```\n\nFor triage mode, in which you can choose to ignore warnings which are added to `slither.db.json`.\n\n[ci-link]: https://github.com/mento-protocol/mento-core/actions/workflows/ci.yml\n[ci-badge]: https://github.com/mento-protocol/mento-core/actions/workflows/ci.yml/badge.svg\n[foundry]: https://getfoundry.sh/\n[foundry-badge]: https://img.shields.io/badge/Built%20with-Foundry-FFDB1C.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmento-protocol%2Fmento-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmento-protocol%2Fmento-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmento-protocol%2Fmento-core/lists"}