{"id":23200452,"url":"https://github.com/Balmy-protocol/transformers","last_synced_at":"2025-08-18T23:32:41.042Z","repository":{"id":41312997,"uuid":"506728058","full_name":"Balmy-protocol/transformers","owner":"Balmy-protocol","description":"This repository contains both all Mean's transformers, and the transformer registry","archived":false,"fork":false,"pushed_at":"2024-03-18T19:34:54.000Z","size":744,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-05T03:24:26.418Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Balmy-protocol.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":"2022-06-23T17:15:12.000Z","updated_at":"2024-10-15T16:42:41.000Z","dependencies_parsed_at":"2024-03-18T20:56:06.182Z","dependency_job_id":"9727228a-4672-4edd-b43e-aa6ec17b0d43","html_url":"https://github.com/Balmy-protocol/transformers","commit_stats":{"total_commits":84,"total_committers":4,"mean_commits":21.0,"dds":0.3571428571428571,"last_synced_commit":"6bf79be7b6bc8aa97cc9b3e71396977ec2bb06a9"},"previous_names":["balmy-protocol/transformers","mean-finance/transformers"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Balmy-protocol%2Ftransformers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Balmy-protocol%2Ftransformers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Balmy-protocol%2Ftransformers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Balmy-protocol%2Ftransformers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Balmy-protocol","download_url":"https://codeload.github.com/Balmy-protocol/transformers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230292806,"owners_count":18203649,"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-12-18T15:10:52.323Z","updated_at":"2025-08-18T23:32:41.033Z","avatar_url":"https://github.com/Balmy-protocol.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Balmy Transformers\n\n[![Lint](https://github.com/Balmy-protocol/mean-transformers/actions/workflows/lint.yml/badge.svg)](https://github.com/Balmy-protocol/mean-transformers/actions/workflows/lint.yml)\n[![Tests (unit, integration, e2e)](https://github.com/Balmy-protocol/mean-transformers/actions/workflows/tests.yml/badge.svg)](https://github.com/Balmy-protocol/mean-transformers/actions/workflows/tests.yml)\n[![npm version](https://img.shields.io/npm/v/@mean-finance/mean-transformers/latest.svg)](https://www.npmjs.com/package/@mean-finance/mean-transformers/v/latest)\n\nWith this repository, we are now defining the concept of **dependent tokens**. These are tokens that depend on one or more underlying tokens, they can't exist on their own. This concept can apply to some known types of tokens, such as:\n\n- Wrappers (WETH/WMATIC/WBNB)\n- ERC-4626 tokens\n- LP tokens\n\nIn this repository, we will build our `Transformers`. These are smart contract that knows how to map dependent tokens into their underlying counterparts, and vice-versa. We are doing this so that we can abstract the way tokens can be transformed between each other.\n\nFinally, this repository also contains Balmy's \"transformers registry\". All _transformers_ will be registered to this contract, so that all clients can interact with the registry directly, without having to know all existing _transformers_.\n\n## 🔒 Audits\n\nOracles has been audited by [Omniscia](https://omniscia.io/) and can be find [here](https://omniscia.io/reports/mean-finance-transformers-module/).\n\n## 📦 NPM/YARN Package\n\n- NPM Installation\n\n```bash\nnpm install @balmy/transformers\n```\n\n- Yarn installation\n\n```bash\nyarn add @balmy/transformers\n```\n\n## 👨‍💻 Development environment\n\n- Copy environment file\n\n```bash\ncp .env.example .env\n```\n\n- Fill environment file with your information\n\n```bash\nnano .env\n```\n\n## 🧪 Testing\n\n### Unit\n\n```bash\nyarn test:unit\n```\n\nWill run all tests under [test/unit](./test/unit)\n\n### E2E\n\n```bash\nyarn test:e2e\n```\n\nWill run all tests under [test/e2e](./test/e2e)\n\n### Integration\n\nYou will need to set up the development environment first, please refer to the [development environment](#-development-environment) section.\n\n```bash\nyarn test:integration\n```\n\nWill run all tests under [test/integration](./test/integration)\n\n## 🚢 Deployment\n\nYou will need to set up the development environment first, please refer to the [development environment](#-development-environment) section.\n\n```bash\nyarn deploy --network [network]\n```\n\nThe plugin `hardhat-deploy` is used to deploy contracts.\n\n## 📖 Deployment Registry\n\nContracts are deployed at the same address on all available networks via the [deterministic contract factory](https://github.com/Balmy-protocol/deterministic-factory)\n\n\u003e Available networks: Optimism, Arbitrum One, Polygon.\n\n- TransformerRegistry: `0xC0136591Df365611B1452B5F8823dEF69Ff3A685`\n- ERC4626Transformer: `0x7CbdcA3c992953bdd536BE234973686D758DAabc`\n- ProtocolTokenWrapperTransformer: `0xfd55b5A6F61f22c70f4A1d8e63d181c6D0a290c6`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBalmy-protocol%2Ftransformers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBalmy-protocol%2Ftransformers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBalmy-protocol%2Ftransformers/lists"}