Skip to content

BuildOnPolygon/usdc-e

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USDC

Description

  • USDC.e (zkEVM) - This contract will match the current USDC contract deployed on Ethereum, with all expected features. Its contract address will be different from the current "wrapped" USDC in use today, and will have the ability to issue and burn tokens as well as "blacklist" addresses.

Source Code of Contracts

  • FiatTokenProxy - USDC's proxy contract (effectively the token address that users interact with)
  • FiatTokenV2_1 - implementation of the USDC contract (can be modified through upgrades)

Ethereum FiatTokenProxy

Ethereum FiatTokenV2_1

Arbitrum FiatTokenProxy

Arbitrum FiatTokenV2_1

NOTE: contracts in usdc-proxy/ and usdc-impl/ are copies from Arbitrum, because they are more up to date.

Deployment

First, copy .env.example to .env and set the appropriate environment variables

Run the following command to simulate the FiatTokenV1_1.sol deployment locally using Foundry

forge script script/DeployInitUSDCE.s.sol:DeployInitUSDCE --fork-url ${RPC_URL} -vvvvv

To deploy to a particular chain, and verify the contract on Etherscan,

forge script script/DeployInitUSDCE.s.sol:DeployInitUSDCE --fork-url ${RPC_URL} --broadcast --verify -vvvv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published