Skip to content

Commit

Permalink
add amoy USDC contract and chain id
Browse files Browse the repository at this point in the history
  • Loading branch information
amiecorso committed Apr 15, 2024
1 parent 747b974 commit 68d4504
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions constants/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const PROD_DEPLOYMENT_ADDRESS =
'0x582a885C03A0104Dc3053FAA8486c178e51E48Db';
export const STAGING_DEPLOYMENT_ADDRESS =
'0x677c15A51fbeA299679e6D824eb5c3dA0923b4ae';
export const AMOY_CHILD_CHAIN_MANAGER_PROXY =
export const MUMBAI_CHILD_CHAIN_MANAGER_PROXY =
'0xb5505a6d998549090530911180f38aC5130101c6';
export const POLYGON_CHILD_CHAIN_MANAGER_PROXY =
'0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa';
Expand All @@ -15,4 +15,4 @@ export const PROD_USDC_TOKEN_ADDRESS =
'0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359';
// https://developers.circle.com/developer/docs/usdc-on-testnet#bridged-usdc-on-polygon-testnet
export const STAGING_USDC_TOKEN_ADDRESS =
'0x9999f7Fea5938fD3b1E26A12c3f2fb024e194f97';
'0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582';
7 changes: 5 additions & 2 deletions deploy/deploy-bridged-polygon-nori.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,20 @@ import {
} from '@/utils/deploy';
import {
POLYGON_CHILD_CHAIN_MANAGER_PROXY,
AMOY_CHILD_CHAIN_MANAGER_PROXY,
MUMBAI_CHILD_CHAIN_MANAGER_PROXY,
} from '@/constants/addresses';

// TODO: we should remove this functionality, otherwise we have to set up
// another bridge contract for the new amoy network via the polygon team, which
// is wasted work until/unless the NORI token is back on the roadmap.
export const deploy: DeployFunction = async (environment) => {
const hre = environment as unknown as CustomHardHatRuntimeEnvironment;
Logger.setLogLevel(Logger.levels.DEBUG);
hre.trace(`deploy-bridged-polygon-nori`);
const childChainManagerProxyAddress =
hre.network.name === 'polygon'
? POLYGON_CHILD_CHAIN_MANAGER_PROXY
: AMOY_CHILD_CHAIN_MANAGER_PROXY;
: MUMBAI_CHILD_CHAIN_MANAGER_PROXY;
const contract = await deployBridgedPolygonNORIContract({
hre,
childChainManagerProxyAddress,
Expand Down
1 change: 1 addition & 0 deletions deployments/amoy/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
80002

0 comments on commit 68d4504

Please sign in to comment.