From 6ed4c8fba36180ec11c100d04db6a660ac91c424 Mon Sep 17 00:00:00 2001 From: Yabir Benchakhtir Date: Thu, 23 Nov 2023 17:10:50 +0100 Subject: [PATCH] Add missing USDC versions --- updates/21/asset_collections_mappings_updates.sql | 6 ++++++ updates/21/updates.sql | 2 ++ updates/info.json | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/updates/21/asset_collections_mappings_updates.sql b/updates/21/asset_collections_mappings_updates.sql index 5829b45..5ead948 100644 --- a/updates/21/asset_collections_mappings_updates.sql +++ b/updates/21/asset_collections_mappings_updates.sql @@ -31,4 +31,10 @@ INSERT INTO multiasset_mappings(collection_id, asset) VALUES (239, "eip155:10/er INSERT INTO multiasset_mappings(collection_id, asset) VALUES (36, "eip155:137/erc20:0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"); * INSERT INTO multiasset_mappings(collection_id, asset) VALUES (36, "eip155:8453/erc20:0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA"); +* +INSERT INTO multiasset_mappings(collection_id, asset) VALUES (36, "eip155:42161/erc20:0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8"); +* +INSERT INTO multiasset_mappings(collection_id, asset) VALUES (36, "eip155:10/erc20:0x7F5c764cBc14f9669B88837ca1490cCa17c31607"); +* +INSERT INTO multiasset_mappings(collection_id, asset) VALUES (36, "eip155:42161/erc20:0xaf88d065e77c8cC2239327C5EDb3A432268e5831"); * \ No newline at end of file diff --git a/updates/21/updates.sql b/updates/21/updates.sql index 6333b21..6f30af2 100644 --- a/updates/21/updates.sql +++ b/updates/21/updates.sql @@ -87,4 +87,6 @@ INSERT INTO assets(identifier, name, type) VALUES("eip155:1/erc20:0xBC6DA0FE9aD5 INSERT INTO assets(identifier, name, type) VALUES("eip155:10/erc20:0xCB8FA9a76b8e203D8C3797bF438d8FB81Ea3326A", "Alchemix USD", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:10/erc20:0xCB8FA9a76b8e203D8C3797bF438d8FB81Ea3326A", "A", 10, "0xCB8FA9a76b8e203D8C3797bF438d8FB81Ea3326A", 18, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:10/erc20:0xCB8FA9a76b8e203D8C3797bF438d8FB81Ea3326A", "alUSD", "alchemix-usd", "ALUSD", NULL, 1653955245, NULL); * INSERT INTO assets(identifier, name, type) VALUES("eip155:8453/erc20:0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA", "USD Base Coin", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:8453/erc20:0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA", "A", 8453, "0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA", 6, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:8453/erc20:0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA", "USDbC", "usd-coin", "USDC", NULL, 1690914161, NULL); +* +INSERT INTO assets(identifier, name, type) VALUES("eip155:42161/erc20:0xaf88d065e77c8cC2239327C5EDb3A432268e5831", "USD Coin", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:42161/erc20:0xaf88d065e77c8cC2239327C5EDb3A432268e5831", "A", 42161, "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", 6, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:42161/erc20:0xaf88d065e77c8cC2239327C5EDb3A432268e5831", "USDC", "usd-coin", "USDC", NULL, 1667248932, NULL); * \ No newline at end of file diff --git a/updates/info.json b/updates/info.json index 7f43884..cf1a8a7 100644 --- a/updates/info.json +++ b/updates/info.json @@ -1 +1 @@ -{"latest": 21, "updates": {"1": {"changes": 249, "max_schema_version": 2, "min_schema_version": 2}, "10": {"changes": 30, "max_schema_version": 2, "min_schema_version": 2}, "11": {"changes": 71, "max_schema_version": 2, "min_schema_version": 2}, "12": {"changes": 174, "max_schema_version": 2, "min_schema_version": 2}, "13": {"changes": 311, "max_schema_version": 2, "min_schema_version": 2}, "14": {"changes": 94, "max_schema_version": 2, "min_schema_version": 2}, "15": {"changes": 116, "max_schema_version": 4, "min_schema_version": 3}, "16": {"changes": 153, "max_schema_version": 6, "min_schema_version": 4}, "17": {"changes": 137, "max_schema_version": 6, "min_schema_version": 4}, "18": {"changes": 189, "max_schema_version": 6, "min_schema_version": 4}, "19": {"changes": 183, "max_schema_version": 6, "min_schema_version": 4}, "20": {"changes": 105, "max_schema_version": 6, "min_schema_version": 4}, "21": {"changes": 45, "max_schema_version": 6, "min_schema_version": 6}, "2": {"changes": 27, "max_schema_version": 2, "min_schema_version": 2}, "3": {"changes": 64, "max_schema_version": 2, "min_schema_version": 2}, "4": {"changes": 23, "max_schema_version": 2, "min_schema_version": 2}, "5": {"changes": 25, "max_schema_version": 2, "min_schema_version": 2}, "6": {"changes": 239, "max_schema_version": 2, "min_schema_version": 2}, "7": {"changes": 34, "max_schema_version": 2, "min_schema_version": 2}, "8": {"changes": 81, "max_schema_version": 2, "min_schema_version": 2}, "9": {"changes": 59, "max_schema_version": 2, "min_schema_version": 2}}} \ No newline at end of file +{"latest": 21, "updates": {"1": {"changes": 249, "max_schema_version": 2, "min_schema_version": 2}, "10": {"changes": 30, "max_schema_version": 2, "min_schema_version": 2}, "11": {"changes": 71, "max_schema_version": 2, "min_schema_version": 2}, "12": {"changes": 174, "max_schema_version": 2, "min_schema_version": 2}, "13": {"changes": 311, "max_schema_version": 2, "min_schema_version": 2}, "14": {"changes": 94, "max_schema_version": 2, "min_schema_version": 2}, "15": {"changes": 116, "max_schema_version": 4, "min_schema_version": 3}, "16": {"changes": 153, "max_schema_version": 6, "min_schema_version": 4}, "17": {"changes": 137, "max_schema_version": 6, "min_schema_version": 4}, "18": {"changes": 189, "max_schema_version": 6, "min_schema_version": 4}, "19": {"changes": 183, "max_schema_version": 6, "min_schema_version": 4}, "20": {"changes": 105, "max_schema_version": 6, "min_schema_version": 4}, "21": {"changes": 46, "max_schema_version": 6, "min_schema_version": 6}, "2": {"changes": 27, "max_schema_version": 2, "min_schema_version": 2}, "3": {"changes": 64, "max_schema_version": 2, "min_schema_version": 2}, "4": {"changes": 23, "max_schema_version": 2, "min_schema_version": 2}, "5": {"changes": 25, "max_schema_version": 2, "min_schema_version": 2}, "6": {"changes": 239, "max_schema_version": 2, "min_schema_version": 2}, "7": {"changes": 34, "max_schema_version": 2, "min_schema_version": 2}, "8": {"changes": 81, "max_schema_version": 2, "min_schema_version": 2}, "9": {"changes": 59, "max_schema_version": 2, "min_schema_version": 2}}} \ No newline at end of file