{"id":15427543,"url":"https://github.com/descent-collective/protocol-core","last_synced_at":"2025-04-14T21:51:48.633Z","repository":{"id":193478705,"uuid":"688871123","full_name":"Descent-Collective/protocol-core","owner":"Descent-Collective","description":"Multi Metastable \u0026 collateral lending protocol ","archived":false,"fork":false,"pushed_at":"2024-07-17T18:02:45.000Z","size":3334,"stargazers_count":17,"open_issues_count":12,"forks_count":6,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-28T09:51:34.641Z","etag":null,"topics":["ethereum","farcaster","frames","lending","nbn","stablecoin","token"],"latest_commit_sha":null,"homepage":"","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/Descent-Collective.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-09-08T09:26:21.000Z","updated_at":"2024-11-07T00:31:28.000Z","dependencies_parsed_at":"2023-09-27T13:16:26.477Z","dependency_job_id":"ea66a2a0-41cd-491f-8037-113fd327c6cc","html_url":"https://github.com/Descent-Collective/protocol-core","commit_stats":{"total_commits":204,"total_committers":4,"mean_commits":51.0,"dds":0.4901960784313726,"last_synced_commit":"ac7c26acf5a4b4f1682e036fa5e48603b12fe30d"},"previous_names":["descent-collective/protocol-mvp","descent-collective/protocol-v1","descent-collective/protocol-core"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Descent-Collective%2Fprotocol-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Descent-Collective%2Fprotocol-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Descent-Collective%2Fprotocol-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Descent-Collective%2Fprotocol-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Descent-Collective","download_url":"https://codeload.github.com/Descent-Collective/protocol-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248968741,"owners_count":21191158,"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":["ethereum","farcaster","frames","lending","nbn","stablecoin","token"],"created_at":"2024-10-01T18:00:46.082Z","updated_at":"2025-04-14T21:51:48.612Z","avatar_url":"https://github.com/Descent-Collective.png","language":"Solidity","readme":"## Protocol Core\n\n### Deployment address\n\n#### Base Georli\n\n| Contract Name            | Addresses                                  |\n| ------------------------ | ------------------------------------------ |\n| Vault Contract           | 0xE2386C5eF4deC9d5815C60168e36c7153ba00D0C |\n| Currency Contract (xNGN) | 0xee2bDAE7896910c49BeA25106B9f8e9f4B671c82 |\n| Feed Contract            | 0x970066EE55DF2134D1b52451afb49034AE5Fa29a |\n\n#### Base Sepolia\n\n| Contract Name            | Addresses                                  |\n| ------------------------ | ------------------------------------------ |\n| Vault Contract           | 0x3d35807343CbF4fDb16E42297F2214f62848D032 |\n| Currency Contract (xNGN) | 0xB8747e5cce01AA5a51021989BA11aE33097db485 |\n| Feed Contract            | 0xFBD26B871D55ba56B7a780eF1fF243Db7A3E81f4 |\n| Rate Contract            | 0x00A0BcB0e2099f4a0564c26e24eBfA866D3235D6 |\n\nTo install libraries needed, run:\n\n```zsh\nforge install\n```\n\nTo run tests, run:\n\n```zsh\nforge test -vvv --gas-report\n```\n\nTo run slither, run:\n\n```zsh\nslither .\n```\n\nTo start a local node, run:\n\n```zsh\nanvil\n```\n\nTo run deploy the deploy script, (be sure to have the parameters in `./deployConfigs/*.json/` needed for your script populated and also have an anvil instance running), run:\n\n```zsh\nforge script script/deploy.s.sol:DeployScript --fork-url http://localhost:8545 --broadcast\n```\n\n## Deploy Config\n\nMeaning of parameters of the deploy configs\n\n- baseRate: The base rate of the protocol, should be the per second rate, e.g 1.5% would be `((uint256(1.5e18) / uint256(100)) / uint256(365 days)`, i.e `475646879`.\n- collaterals: collateral types\n  - collateralAddress: contract address of the given collateral on the given chain.\n  - collateralRate: The collateral rate of the given collateral on the given chain, calculated same as baseRate.\n  - liquidationThreshold: liquidation threshold of the given collateral, denominated in wad, where `1e18 == 100%` and `0.5e18 == 50%`.\n  - liquidationBonus: liquidation bonus of the given collateral, denominated same as liquidationThreshold.\n  - debtCeiling: debt ceiling of the currency for the given collateral.\n  - collateralFloorPerPosition: minimum amount of collateral allowed to borrow against.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdescent-collective%2Fprotocol-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdescent-collective%2Fprotocol-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdescent-collective%2Fprotocol-core/lists"}