{"id":19864404,"url":"https://github.com/balmy-protocol/permit2-adapter","last_synced_at":"2026-04-12T23:03:47.869Z","repository":{"id":178690428,"uuid":"657987834","full_name":"Balmy-protocol/permit2-adapter","owner":"Balmy-protocol","description":"This repository holds some adapter contracts that will allow to use Permit2 from contracts that don't support it natively","archived":false,"fork":false,"pushed_at":"2024-02-01T15:45:47.000Z","size":77,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T05:02:38.895Z","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":"mit","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.md","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}},"created_at":"2023-06-24T12:19:17.000Z","updated_at":"2023-09-01T06:54:16.000Z","dependencies_parsed_at":"2024-01-05T15:36:01.436Z","dependency_job_id":"7212d9a2-8d66-43e2-aa8e-6139203da059","html_url":"https://github.com/Balmy-protocol/permit2-adapter","commit_stats":null,"previous_names":["mean-finance/permit2-adapter","balmy-protocol/permit2-adapter"],"tags_count":0,"template":false,"template_full_name":"PaulRBerg/foundry-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Balmy-protocol%2Fpermit2-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Balmy-protocol%2Fpermit2-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Balmy-protocol%2Fpermit2-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Balmy-protocol%2Fpermit2-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Balmy-protocol","download_url":"https://codeload.github.com/Balmy-protocol/permit2-adapter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241273436,"owners_count":19937097,"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-12T15:18:34.220Z","updated_at":"2026-04-12T23:03:47.861Z","avatar_url":"https://github.com/Balmy-protocol.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Universal Permit2 Adapter\n\nPermit2 by Uniswap is an amazing development that will revolutionize the UX in Web3. However, it can be hard to migrate\nexisting contracts to use this new way of transferring tokens.\n\nTo help in those cases, we've built the Universal Permit2 Adapter. It's basically an adapter that can be used to give\nPermit2 capabilities to existing contracts, without having to to re-deploy.\n\nIf you'd like to interact with these contracts, we suggest you use our\n[SDK](https://github.com/Balmy-protocol/sdk/tree/main/src/services/permit2) that already handles most of the\ncomplexities around it.\n\n## Usage\n\nThis is a list of the most frequently needed commands.\n\n### Build\n\nBuild the contracts:\n\n```sh\n$ forge build\n```\n\n### Clean\n\nDelete the build artifacts and cache directories:\n\n```sh\n$ forge clean\n```\n\n### Compile\n\nCompile the contracts:\n\n```sh\n$ forge build\n```\n\n### Coverage\n\nGet a test coverage report:\n\n```sh\n$ forge coverage\n```\n\n### Format\n\nFormat the contracts:\n\n```sh\n$ forge fmt\n```\n\n### Gas Usage\n\nGet a gas report:\n\n```sh\n$ forge test --gas-report\n```\n\n### Lint\n\nLint the contracts:\n\n```sh\n$ pnpm lint\n```\n\n### Test\n\nRun the tests:\n\n```sh\n$ forge test\n```\n\n## Audit\n\nThis code has been audited by Omniscia.io. You can find the report\n[here](https://omniscia.io/reports/mean-finance-permit2-adapter-64ad40c224448c00148ee2f9/).\n\n## License\n\nThis project is licensed under MIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalmy-protocol%2Fpermit2-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbalmy-protocol%2Fpermit2-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalmy-protocol%2Fpermit2-adapter/lists"}