{"id":50708318,"url":"https://github.com/morpho-org/midnight","last_synced_at":"2026-06-09T13:30:37.096Z","repository":{"id":360934228,"uuid":"920535297","full_name":"morpho-org/midnight","owner":"morpho-org","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-05T13:47:08.000Z","size":7368,"stargazers_count":76,"open_issues_count":30,"forks_count":37,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-06-05T14:05:47.570Z","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":"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":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-01-22T10:22:17.000Z","updated_at":"2026-06-05T13:16:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/morpho-org/midnight","commit_stats":null,"previous_names":["morpho-org/midnight"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/morpho-org/midnight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Fmidnight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Fmidnight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Fmidnight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Fmidnight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morpho-org","download_url":"https://codeload.github.com/morpho-org/midnight/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Fmidnight/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34110009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":"2026-06-09T13:30:36.495Z","updated_at":"2026-06-09T13:30:37.090Z","avatar_url":"https://github.com/morpho-org.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Morpho Midnight\n\nMorpho Midnight is a non-custodial fixed-rate lending protocol implemented for the Ethereum Virtual Machine.\nIt is organized around isolated, immutable, permissionlessly created markets with fixed-maturity.\nLending and borrowing are implemented through the trading of credit and debt units, whose payoff structure is analogous to that of zero-coupon obligations, settling at the market's maturity.\nParticipants trade by posting or consuming offers that do not lock capital and source liquidity only at settlement, allowing makers to quote across multiple markets at once.\nMarkets can range from single to multi-collateral configurations, and gates can be used to implement access-control policies.\n\n## Whitepaper\n\nThe protocol is described in detail in the [Midnight Whitepaper](https://morpho.org/whitepapers/midnight-whitepaper.pdf).\n\n## Developers\n\nCompilation, testing and formatting are done with [forge](https://book.getfoundry.sh/getting-started/installation).\nIf of interest, [BaseTest.sol](https://github.com/morpho-org/midnight/blob/main/test/BaseTest.sol) contains a re-usable testing setup and useful helpers.\n\nThe repo contains some formal verification, done with [CVL](https://docs.certora.com/en/latest/docs/cvl/index.html).\n[This page](https://github.com/morpho-org/midnight/blob/main/certora/README.md) summarizes the proven properties.\n\n## Audits\n\nAudits can be found in the [audits](./audits/) folder.\n\n## Licences\n\nThe primary license is the Business Source License 1.1 (BUSL-1.1), see [LICENSE](./LICENSE).\nHowever, all files in the following folders can also be licensed under GPL-2.0-or-later (as indicated in their SPDX headers), see [LICENSE-SECONDARY](./LICENSE-SECONDARY): `src/interfaces`, `src/libraries`, `src/ratifiers`, `src/periphery`, `test`, `certora`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorpho-org%2Fmidnight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorpho-org%2Fmidnight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorpho-org%2Fmidnight/lists"}