{"id":18542772,"url":"https://github.com/coinbase/eip-token-upgrade","last_synced_at":"2025-04-09T18:32:13.770Z","repository":{"id":43020310,"uuid":"468887308","full_name":"coinbase/eip-token-upgrade","owner":"coinbase","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-11T19:16:29.000Z","size":2052,"stargazers_count":12,"open_issues_count":5,"forks_count":5,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-24T10:38:47.389Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coinbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-03-11T20:13:45.000Z","updated_at":"2024-11-10T18:40:39.000Z","dependencies_parsed_at":"2024-11-06T20:10:40.422Z","dependency_job_id":"416b5a63-33d8-4339-ba2f-32ec4f792417","html_url":"https://github.com/coinbase/eip-token-upgrade","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Feip-token-upgrade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Feip-token-upgrade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Feip-token-upgrade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Feip-token-upgrade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coinbase","download_url":"https://codeload.github.com/coinbase/eip-token-upgrade/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248087860,"owners_count":21045602,"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-06T20:10:37.240Z","updated_at":"2025-04-09T18:32:08.758Z","avatar_url":"https://github.com/coinbase.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EIP-4931 - Generic Token Upgrade Standard Reference Implementation\n\nReference Implementation for [EIP-4931](https://github.com/ethereum/EIPs/pull/4931)\n\n## Summary\nToken contract upgrades typically require each asset holder to exchange their old tokens for new ones using a bespoke interface provided by the developers.\nEIP-4931 allows for the implementation of a standard API for ERC20 token upgrades. This standard specifies an interface that supports the conversion\nof tokens from one contract (called the \"source token\") to those from another (called the \"destination token\"), as well as several helper methods to provide basic\ninformation about the token upgrade. There is also an extension optionally available to provide downgrade functionality. Upgrade contract standardization will allow\ncentralized and decentralized exchanges to conduct token upgrades more efficiently while reducing security risks and enabling a frictionless user experience for\nanyone holding an ERC20 asset during an upgrade.\n\nThis repository serves as the main reference implementation for EIP-4931 while it is under review.\n\n## Installing Dependencies\n```\nnpm install\n```\n\n## Compilng the Example\n```\nnpx hardhat compile\n```\n\n## Running Tests\n```\nnpx hardhat test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoinbase%2Feip-token-upgrade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoinbase%2Feip-token-upgrade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoinbase%2Feip-token-upgrade/lists"}