{"id":19121187,"url":"https://github.com/maticnetwork/eip-1559-burn","last_synced_at":"2026-06-18T03:32:41.986Z","repository":{"id":86782166,"uuid":"413812360","full_name":"maticnetwork/eip-1559-burn","owner":"maticnetwork","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-16T17:13:02.000Z","size":336,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-01-03T08:21:56.816Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/maticnetwork.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":"2021-10-05T12:39:49.000Z","updated_at":"2023-08-22T21:59:24.000Z","dependencies_parsed_at":"2023-03-03T00:00:25.902Z","dependency_job_id":null,"html_url":"https://github.com/maticnetwork/eip-1559-burn","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maticnetwork%2Feip-1559-burn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maticnetwork%2Feip-1559-burn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maticnetwork%2Feip-1559-burn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maticnetwork%2Feip-1559-burn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maticnetwork","download_url":"https://codeload.github.com/maticnetwork/eip-1559-burn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240177048,"owners_count":19760308,"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-09T05:16:21.552Z","updated_at":"2026-06-04T17:30:17.242Z","avatar_url":"https://github.com/maticnetwork.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EIP 1559 Burn\nThese contracts are for implementing the EIP-1559 burn mechanism on the Polygon mainnet and Mumbai testnet. It uses\nPolygon Plasma implementations to batch-transfer and batch-burn MATIC ERC-20 tokens on the Ethereum mainnet and\nGoerli testnet, respectively.\n\n## How does it work?\nThe same contract is deployed on both chains at the same address. This can be done using `CREATE` by having\nthe same nonce on an EOA, or using the `Deployer` contract to deploy deterministically using `CREATE2`.\n* Deposit native gas token (MRC20) to the contract on the chain child\n* Call the contract's `withdraw()` function to trigger a withdrawal to the root chain (the withdrawal is performed\nin the contract's context)\n* Submit the `withdraw()` transaction proof to the contract on the root chain, on the `initiateExit()` function with the\nappropriate plasma predicate\n* Wait for the exit period (7 days for mainnet)\n* Call the `exit()` function with enough gas (\u003e 370k) and the contract will perform the exit for the tokens and transfer\nthem to `0x...dead` (MATIC ERC-20 is not burnable).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaticnetwork%2Feip-1559-burn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaticnetwork%2Feip-1559-burn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaticnetwork%2Feip-1559-burn/lists"}