{"id":19096738,"url":"https://github.com/makerdao/dss-interfaces","last_synced_at":"2025-04-15T01:28:49.874Z","repository":{"id":37898461,"uuid":"224534221","full_name":"makerdao/dss-interfaces","owner":"makerdao","description":"Abstract developer interfaces to the Dai Stablecoin System core contracts.","archived":false,"fork":false,"pushed_at":"2023-06-29T16:42:49.000Z","size":195,"stargazers_count":33,"open_issues_count":0,"forks_count":27,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-03T03:33:56.005Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/makerdao.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}},"created_at":"2019-11-27T23:30:13.000Z","updated_at":"2024-01-29T17:47:57.000Z","dependencies_parsed_at":"2024-06-18T18:40:41.364Z","dependency_job_id":"1f614134-ee28-4f33-b174-1eb7642a9fe7","html_url":"https://github.com/makerdao/dss-interfaces","commit_stats":{"total_commits":155,"total_committers":15,"mean_commits":"10.333333333333334","dds":"0.29032258064516125","last_synced_commit":"9bfd7afadd1f8c217ef05850b2555691786286cb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerdao%2Fdss-interfaces","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerdao%2Fdss-interfaces/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerdao%2Fdss-interfaces/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerdao%2Fdss-interfaces/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makerdao","download_url":"https://codeload.github.com/makerdao/dss-interfaces/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248794569,"owners_count":21162615,"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-09T03:37:37.416Z","updated_at":"2025-04-15T01:28:49.855Z","avatar_url":"https://github.com/makerdao.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"Provides programmatic interfaces for the Dai Stablecoin System core contracts.\n\nImport individual contracts\n\n```solidity\nimport { VatAbstract } from \"dss-interfaces/dss/VatAbstract.sol\";\n```\n\nImport all DSS abstract contracts (best used in tests)\n\n```solidity\nimport \"dss-interfaces/Interfaces.sol\";\n```\n\n\n## Example Usage\n\n\n```solidity\n// SPDX-License-Identifier: AGPL-3.0-or-later\npragma solidity \u003e=0.5.12;\n\nimport { VatAbstract } from \"dss-interfaces/dss/VatAbstract.sol\";\n\ncontract Testerface {\n\n    VatAbstract _vat;\n\n    constructor() public {\n        _vat = VatAbstract(0xbA987bDB501d131f766fEe8180Da5d81b34b69d9);\n    }\n\n    function viewDebt() public view returns (uint256) {\n        return _vat.debt();\n    }\n}\n```\n\n## Package Update\n\nUpdate the `version` field in `package.json` and from the command line run:\n\n```bash\n\u003e npm login\n\u003e npm publish\n```\n\nThe published package will include all the files inside `src`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakerdao%2Fdss-interfaces","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakerdao%2Fdss-interfaces","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakerdao%2Fdss-interfaces/lists"}