{"id":26162479,"url":"https://github.com/balancer/metadata","last_synced_at":"2025-03-11T13:54:41.762Z","repository":{"id":213554807,"uuid":"707693826","full_name":"balancer/metadata","owner":"balancer","description":"Public metadata for the Balancer protocol.","archived":false,"fork":false,"pushed_at":"2025-03-04T16:16:05.000Z","size":475,"stargazers_count":2,"open_issues_count":1,"forks_count":16,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-04T17:26:23.130Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/balancer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-10-20T13:01:32.000Z","updated_at":"2025-03-04T16:16:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"d517c271-803e-4b8e-b8d0-29545319424d","html_url":"https://github.com/balancer/metadata","commit_stats":null,"previous_names":["balancer/metadata"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balancer%2Fmetadata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balancer%2Fmetadata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balancer%2Fmetadata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balancer%2Fmetadata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/balancer","download_url":"https://codeload.github.com/balancer/metadata/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243048125,"owners_count":20227592,"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":"2025-03-11T13:54:37.947Z","updated_at":"2025-03-11T13:54:41.730Z","avatar_url":"https://github.com/balancer.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Balancer Metadata\n\nPublic metadata for the Balancer protocol.\n\n## Tags\n\nTags are used to tag sets of pools in the [Balancer API](https://github.com/balancer/backend) and [frontend](https://github.com/balancer/frontend-monorepo).\n\n### Adding new tags\n\nTo add a new tag, update the [tag json](https://github.com/balancer/metadata/blob/main/pools/tag/index.json) with an object using the following schema:\n\n```ts\ntype Tag = {\n    id: string; // If it's a points tag, prepend id with `points_`, see existing tags for examples.\n    name: string;\n    description: string;\n    value?: string; // Arbitrary value that may be used by the frontend to provide more context, e.g. points multiples for points tags.\n    url?: string; // A link you want to associate with the tag.\n    icon?: string; // Icon to be used in frontend to represent the tag. Should be a relative path, see existing tags for examples.\n    pools: string[]; // A list of pool IDs that should receive the tag.\n};\n```\n\n#### Adding a tag icon\n\nTo add an icon to be used for a tag, add a new file to the /icons directory with\nthe ID of the tag as its name, e.g. my_tag_id.svg. Then add the\n`icon` property to the category object in `index.json`.\n\n#### Creating a points tag\n\nTags are generic pool \u003c\u003e metadata associations that are ingested by the API. We use these tags for specific use cases like 3rd party point programs. To add a new point program tag there are a couple of things to pay attention to.\n\n1. The `id` should include `points`, preferably as a prepend, e.g. `id: \"points_protocol_name\"`.\n2. If the points program has a multiple, you can use the `value` attribute to specify that multiple. If the multiple is 5x then `value: \"5\"`.\n\n## Pools\n\n### Adding pool metadata\n\nTo add new pool metadata, update the [pools\njson](https://github.com/balancer/metadata/blob/main/pools/index.json) with a\nobject using the following schema:\n\n```ts\ntype PoolMeta = {\n    name?: string\n    description?: string\n    iconUrl?: string\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalancer%2Fmetadata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbalancer%2Fmetadata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalancer%2Fmetadata/lists"}