diff --git a/packages/deployments/contracts/src/cli/init/config/mainnet/production.ts b/packages/deployments/contracts/src/cli/init/config/mainnet/production.ts index fa3a6fb129..93ae91407a 100644 --- a/packages/deployments/contracts/src/cli/init/config/mainnet/production.ts +++ b/packages/deployments/contracts/src/cli/init/config/mainnet/production.ts @@ -14,6 +14,7 @@ export const MAINNET_PRODUCTION_INIT_CONFIG: InitConfig = { ], // NOTE: ENSURE LPTOKEN AND BRIDGETOKEN NAMES ARE GENERATED CORRECTLY BASED // ON THE NAME GIVEN IN EACH ASSET ENTRY + assets: [ { name: "USDT", @@ -388,6 +389,41 @@ export const MAINNET_PRODUCTION_INIT_CONFIG: InitConfig = { }, }, }, + { + name: "FRACTION", + canonical: { + domain: "11111", + address: "0x4602e7CFE18d8b16ED13538603B00073F5c28bc8", + decimals: 18, + }, + representations: { + // gnosis + "6778479": { + local: "0x4602e7CFE18d8b16ED13538603B00073F5c28bc8", + adopted: "0x4602e7CFE18d8b16ED13538603B00073F5c28bc8", + }, + // optimism + "1869640809": { + local: "0xbD80CFA9d93A87D1bb895f810ea348E496611cD4", + adopted: "0xbD80CFA9d93A87D1bb895f810ea348E496611cD4", + }, + // bnb + "6450786": { + local: "0xbD80CFA9d93A87D1bb895f810ea348E496611cD4", + adopted: "0xbD80CFA9d93A87D1bb895f810ea348E496611cD4", + }, + // polygon + "1886350457": { + local: "0xbD80CFA9d93A87D1bb895f810ea348E496611cD4", + adopted: "0xbD80CFA9d93A87D1bb895f810ea348E496611cD4", + }, + // arbtirum-one + "1634886255": { + local: "0x2bF2ba13735160624a0fEaE98f6aC8F70885eA61", + adopted: "0x2bF2ba13735160624a0fEaE98f6aC8F70885eA61", + }, + }, + }, { name: "xIXT", canonical: { diff --git a/packages/deployments/contracts/src/cli/init/helpers/assets.ts b/packages/deployments/contracts/src/cli/init/helpers/assets.ts index 8d476efa79..14bb0ced8d 100644 --- a/packages/deployments/contracts/src/cli/init/helpers/assets.ts +++ b/packages/deployments/contracts/src/cli/init/helpers/assets.ts @@ -25,7 +25,7 @@ export const setupAsset = async (args: { [utils.defaultAbiCoder.encode(["bytes32", "uint32"], [canonical.id, canonical.domain])], ); console.log( - `\tVerifying asset setup for ${asset.name} (${asset.canonical.address}). Canonical ID: ${canonical.id}; Canonical Domain: ${canonical.domain}; Key: ${key}`, + `\n\tVerifying asset setup for ${asset.name} (${asset.canonical.address}). Canonical ID: ${canonical.id}; Canonical Domain: ${canonical.domain}; Key: ${key}`, ); // Set up the canonical asset on the canonical domain. diff --git a/packages/deployments/contracts/src/cli/init/init.ts b/packages/deployments/contracts/src/cli/init/init.ts index fffe3d1055..31b6500eb1 100644 --- a/packages/deployments/contracts/src/cli/init/init.ts +++ b/packages/deployments/contracts/src/cli/init/init.ts @@ -130,7 +130,7 @@ export const sanitizeAndInit = async () => { }; for (const domain of domains) { - if (domain === hubDomain) continue; + if (+domain === +asset.canonical.domain) continue; _extracted.representations[domain] = asset.representations[domain]; }