{"id":13795213,"url":"https://github.com/makerdao/ilk-registry","last_synced_at":"2025-04-18T16:31:01.255Z","repository":{"id":37951026,"uuid":"270812346","full_name":"makerdao/ilk-registry","owner":"makerdao","description":"A publicly-modifiable registry of ilks in the Dai Stablecoin System.","archived":false,"fork":false,"pushed_at":"2023-03-07T16:17:33.000Z","size":93,"stargazers_count":22,"open_issues_count":4,"forks_count":18,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-08-03T23:04:49.881Z","etag":null,"topics":["ethereum","makerdao","solidity"],"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/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}},"created_at":"2020-06-08T20:11:52.000Z","updated_at":"2023-02-11T20:48:41.000Z","dependencies_parsed_at":"2024-01-07T06:23:16.553Z","dependency_job_id":"421c2792-3e2b-47c1-b16e-c69c47e64914","html_url":"https://github.com/makerdao/ilk-registry","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerdao%2Filk-registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerdao%2Filk-registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerdao%2Filk-registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerdao%2Filk-registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makerdao","download_url":"https://codeload.github.com/makerdao/ilk-registry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223783334,"owners_count":17201901,"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","makerdao","solidity"],"created_at":"2024-08-03T23:00:53.346Z","updated_at":"2024-11-09T03:37:47.070Z","avatar_url":"https://github.com/makerdao.png","language":"Solidity","readme":"# Ilk Registry\n![Build Status](https://github.com/makerdao/ilk-registry/actions/workflows/.github/workflows/tests.yaml/badge.svg?branch=master)\n\nA publicly-modifiable registry of `ilk`'s in the Dai Stablecoin System.\n\n## Public addresses\n\nKovan: [0xc3F42deABc0C506e8Ae9356F2d4fc1505196DCDB](https://kovan.etherscan.io/address/0xc3F42deABc0C506e8Ae9356F2d4fc1505196DCDB)\n\nGoerli: [0x525FaC4CEc48a4eF2FBb0A72355B6255f8D5f79e](https://goerli.etherscan.io/address/0x525FaC4CEc48a4eF2FBb0A72355B6255f8D5f79e)\n\nMainnet: [0x5a464C28D19848f44199D003BeF5ecc87d090F87](https://etherscan.io/address/0x5a464C28D19848f44199D003BeF5ecc87d090F87)\n\n## Requirements\n\n* [Dapptools](https://github.com/dapphub/dapptools)\n\n## About\n\nProvides an on-chain list of `ilk` types in the DSS system.\n\nUseful for external contracts or web frontends which need to iterate over the on-chain ilk types and/or access information about a particular ilk.\n\n* Modify the registry\n\n    * `add(address joinAdapter)`: Add a new ilk to the registry by passing the Join Adapter address. The adapter must be live on mainnet and can not already be included in the registry.\n    * `remove(bytes32 ilk)`: Remove an ilk from the registry if it's adapter has been caged.\n    * `update(bytes32 ilk)`: Update the `flip` and `pip` contracts in storage for a given `ilk`.\n\n* Get information from the registry\n\n    * `list()`: return a `bytes32[]` of available ilk types.\n    * `list(uint256 start, uint256 end)`: returns a `bytes32[]` of a portion of the complete list.\n    * `get(uint256 pos)`: get the `bytes32` ilk type from an indexed position in the array.\n    * `info(bytes32 ilk)`: return information about an ilk\n        * `name`: token name (`string`)\n        * `symbol`: token symbol (`string`)\n        * `class`: classification code of the ilk (`uint256`)\n        * `dec`: token decimals (`uint256`)\n        * `gem`: token address\n        * `pip`: price feed\n        * `join`: token join adapter\n        * `flip`: ilk flipper\n    * `count()`: return number of ilks as `uint256`\n    * `pos(bytes32 ilk)`: the location in the `ilks` array for this `ilk`\n    * `gem(bytes32 ilk)`: the `address` of the ilk's token contract\n    * `pip(bytes32 ilk)`: the `address` of the ilk's pip contract\n    * `join(bytes32 ilk)`: the `address` of the ilk's join adapter\n    * `flip(bytes32 ilk)`: the `address` of the ilk's flipper contract\n    * `dec(bytes32 ilk)`: the number of decimals for an `ilk` as `uint256`\n    * `name(bytes32 ilk)`: the name of the token (if available) as `string`\n    * `symbol(bytes32 ilk)`: the token symbol (if available) as `string`\n\n* `auth` functions (available to MakerDAO governance)\n\n    * `file(bytes32 what, address)`: Update core contract values\n    * `file(bytes32 ilk, bytes32 what, address)`: Update ilk data values\n    * `file(bytes32 ilk, bytes32 what, uint256)`: Update ilk data values\n    * `file(bytes32 ilk, bytes32 what, string calldata)`: Update ilk data values\n    * `rely(address)` and `deny(address)`: configure `auth` users\n    * `removeAuth(bytes32 ilk)`: remove an uncaged ilk adapter\n\n\n## Testing\n\n```\n$ dapp update\n$ make test\n```\n","funding_links":[],"categories":["Projects","Projects Using Dapp"],"sub_categories":["DappTools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakerdao%2Filk-registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakerdao%2Filk-registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakerdao%2Filk-registry/lists"}