Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whitelist with nonexisting canonical domain #5935

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const MAINNET_PRODUCTION_INIT_CONFIG: InitConfig = {
"1635148152", // Avalanche
"1835101812", // Mantle
"1836016741", // Mode
"1935897199", // Scroll
// "1935897199", // Scroll
],
// NOTE: ENSURE LPTOKEN AND BRIDGETOKEN NAMES ARE GENERATED CORRECTLY BASED
// ON THE NAME GIVEN IN EACH ASSET ENTRY
Expand Down Expand Up @@ -345,28 +345,6 @@ export const MAINNET_PRODUCTION_INIT_CONFIG: InitConfig = {
},
},
},
{
// TODO: This is the old config, to be removed in execution layer upgrade
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep this for reference, just comment out.

name: "ALCX",
canonical: {
domain: "6648936",
address: "0xbd18f9be5675a9658335e6b7e79d9d9b394ac043",
decimals: 18,
cap: utils.parseUnits("10000000", 18).toString(),
},
representations: {
/// ARBITRUM
"1634886255": {
local: "0x27b58D226fe8f792730a795764945Cf146815AA7",
adopted: "0x27b58D226fe8f792730a795764945Cf146815AA7",
},
/// OPTIMISM
"1869640809": {
local: "0xE974B9b31dBFf4369b94a1bAB5e228f35ed44125",
adopted: "0xE974B9b31dBFf4369b94a1bAB5e228f35ed44125",
},
},
},
{
name: "ALCX",
canonical: {
Expand Down Expand Up @@ -395,29 +373,12 @@ export const MAINNET_PRODUCTION_INIT_CONFIG: InitConfig = {
},
{
name: "XOC",
// polygon
canonical: {
domain: "1886350457",
domain: "11111",
address: "0xa411c9Aa00E020e4f88Bc19996d29c5B7ADB4ACf",
decimals: 18,
cap: utils.parseUnits("25000", 18).toString(),
},
representations: {
// mainnet
"6648936": {
local: "0x0000000000000000000000000000000000000000",
adopted: "0x0000000000000000000000000000000000000000",
},
// optimism
"1869640809": {
local: "0x0000000000000000000000000000000000000000",
adopted: "0x0000000000000000000000000000000000000000",
},
// arbitrum one
"1634886255": {
local: "0x0000000000000000000000000000000000000000",
adopted: "0x0000000000000000000000000000000000000000",
},
// bsc
"6450786": {
local: "0xa411c9Aa00E020e4f88Bc19996d29c5B7ADB4ACf",
Expand All @@ -428,6 +389,11 @@ export const MAINNET_PRODUCTION_INIT_CONFIG: InitConfig = {
local: "0xa411c9Aa00E020e4f88Bc19996d29c5B7ADB4ACf",
adopted: "0xa411c9Aa00E020e4f88Bc19996d29c5B7ADB4ACf",
},
// polygon
"1886350457": {
local: "0xa411c9Aa00E020e4f88Bc19996d29c5B7ADB4ACf",
adopted: "0xa411c9Aa00E020e4f88Bc19996d29c5B7ADB4ACf",
},
},
},
{
Expand All @@ -446,22 +412,6 @@ export const MAINNET_PRODUCTION_INIT_CONFIG: InitConfig = {
},
},
},
{
name: "xRADAR",
canonical: {
domain: "6648936",
address: "0x202426c15a18a0e0fE3294415E66421891E2EB7C",
decimals: 18,
cap: utils.parseUnits("10000000", 18).toString(),
},
representations: {
/// BSC
"6450786": {
local: "0x489580eB70a50515296eF31E8179fF3e77E24965",
adopted: "0x489580eB70a50515296eF31E8179fF3e77E24965",
},
},
},
{
name: "NEXT",
canonical: {
Expand Down Expand Up @@ -498,6 +448,87 @@ export const MAINNET_PRODUCTION_INIT_CONFIG: InitConfig = {
},
},
},

{
name: "xRADAR",
canonical: {
domain: "11111",
address: "0x202426c15a18a0e0fE3294415E66421891E2EB7C",
decimals: 18,
},
representations: {
/// MAINNET
"6648936": {
local: "0x202426c15a18a0e0fE3294415E66421891E2EB7C",
adopted: "0x202426c15a18a0e0fE3294415E66421891E2EB7C",
},
/// BSC
"6450786": {
local: "0x489580eB70a50515296eF31E8179fF3e77E24965",
adopted: "0x489580eB70a50515296eF31E8179fF3e77E24965",
},
/// Polygon
"1886350457": {
local: "0xdCb72AE4d5dc6Ae274461d57E65dB8D50d0a33AD",
adopted: "0xdCb72AE4d5dc6Ae274461d57E65dB8D50d0a33AD",
},
},
},
{
name: "xoLIT",
canonical: {
domain: "11111",
address: "0x24F21b1864d4747a5c99045c96dA11DBFDa378f7",
decimals: 18,
},
representations: {
/// ETHEREUM
"6648936": {
local: "0x24F21b1864d4747a5c99045c96dA11DBFDa378f7",
adopted: "0x24F21b1864d4747a5c99045c96dA11DBFDa378f7",
},
/// ARBITRUM
"1634886255": {
local: "0x24F21b1864d4747a5c99045c96dA11DBFDa378f7",
adopted: "0x24F21b1864d4747a5c99045c96dA11DBFDa378f7",
},
},
},
{
name: "ezETH",
canonical: {
domain: "11111",
address: "0x2416092f143378750bb29b79eD961ab195CcEea5",
decimals: 18,
},
representations: {
/// ETHEREUM
"6648936": {
local: "0x2416092f143378750bb29b79eD961ab195CcEea5",
adopted: "0x2416092f143378750bb29b79eD961ab195CcEea5",
},
/// ARBITRUM
"1634886255": {
local: "0x2416092f143378750bb29b79eD961ab195CcEea5",
adopted: "0x2416092f143378750bb29b79eD961ab195CcEea5",
},
/// BNB
"6450786": {
local: "0x2416092f143378750bb29b79eD961ab195CcEea5",
adopted: "0x2416092f143378750bb29b79eD961ab195CcEea5",
},
/// MODE
"1836016741": {
local: "0x2416092f143378750bb29b79eD961ab195CcEea5",
adopted: "0x2416092f143378750bb29b79eD961ab195CcEea5",
},
/// LINEA
"1818848877": {
local: "0x2416092f143378750bb29b79eD961ab195CcEea5",
adopted: "0x2416092f143378750bb29b79eD961ab195CcEea5",
},
},
},
{
name: "URUS",
canonical: {
Expand Down Expand Up @@ -639,56 +670,6 @@ export const MAINNET_PRODUCTION_INIT_CONFIG: InitConfig = {
// BINANCE
},
},
{
name: "xoLIT",
canonical: {
domain: "11111",
address: "0x24F21b1864d4747a5c99045c96dA11DBFDa378f7",
decimals: 18,
},
representations: {
/// ETHEREUM
"6648936": {
local: "0x24F21b1864d4747a5c99045c96dA11DBFDa378f7",
adopted: "0x24F21b1864d4747a5c99045c96dA11DBFDa378f7",
},
/// ARBITRUM
"1634886255": {
local: "0x24F21b1864d4747a5c99045c96dA11DBFDa378f7",
adopted: "0x24F21b1864d4747a5c99045c96dA11DBFDa378f7",
},
},
},
{
name: "ezETH",
canonical: {
domain: "11111",
address: "0x2416092f143378750bb29b79eD961ab195CcEea5",
decimals: 18,
},
representations: {
/// ETHEREUM
"6648936": {
local: "0x2416092f143378750bb29b79eD961ab195CcEea5",
adopted: "0x2416092f143378750bb29b79eD961ab195CcEea5",
},
/// ARBITRUM
"1634886255": {
local: "0x2416092f143378750bb29b79eD961ab195CcEea5",
adopted: "0x2416092f143378750bb29b79eD961ab195CcEea5",
},
/// BNB
"6450786": {
local: "0x2416092f143378750bb29b79eD961ab195CcEea5",
adopted: "0x2416092f143378750bb29b79eD961ab195CcEea5",
},
/// MODE
"1836016741": {
local: "0x2416092f143378750bb29b79eD961ab195CcEea5",
adopted: "0x2416092f143378750bb29b79eD961ab195CcEea5",
},
},
},
],
agents: {
relayerFeeVaults: {
Expand Down
Loading
Loading