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

Update stuff that we found from the oracles group test #190

Merged
merged 2 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion updates/23/asset_collections_mappings_updates.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ INSERT INTO multiasset_mappings(collection_id, asset) VALUES (261, "STRK");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (217, "eip155:100/erc20:0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (248, "eip155:42161/erc20:0x1509706a6c66CA549ff0cB464de88231DDBe213B");
*
*
6 changes: 1 addition & 5 deletions updates/28/asset_collections_mappings_updates.sql
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,5 @@ INSERT INTO multiasset_mappings(collection_id, asset) VALUES (338, "eip155:1/erc
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (338, "eip155:100/erc20:0x177127622c4A00F3d409B75571e12cB3c8973d3c");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (339, "eip155:8453/erc20:0xDBFeFD2e8460a6Ee4955A68582F85708BAEA60A3");
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove superoeth group due to rebasing

*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (339, "eip155:8453/erc20:0x7FcD174E80f264448ebeE8c88a7C4476AAF58Ea6");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (84, "eip155:10/erc20:0x871f2F2ff935FD1eD867842FF2a7bfD051A5E527");
*
*
2 changes: 0 additions & 2 deletions updates/28/asset_collections_updates.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@ UPDATE asset_collections SET name='POL', symbol='POL' WHERE id=52;
INSERT INTO asset_collections(id, name, symbol) VALUES (52, 'POL', 'POL');
INSERT INTO asset_collections(id, name, symbol) VALUES (338, "CoW Protocol Token", "COW");
*
INSERT INTO asset_collections(id, name, symbol) VALUES (339, "Super OETH", "superOETHb");
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove superoeth group due to rebasing

*
16 changes: 16 additions & 0 deletions updates/28/updates.sql
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,19 @@ INSERT INTO assets(identifier, name, type) VALUES("eip155:8453/erc20:0xCb327b99f
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:100/erc20:0x5Cb9073902F2035222B9749F8fB0c9BFe5527108", "Monerium GBPe", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:100/erc20:0x5Cb9073902F2035222B9749F8fB0c9BFe5527108", "A", 100, "0x5Cb9073902F2035222B9749F8fB0c9BFe5527108", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:100/erc20:0x5Cb9073902F2035222B9749F8fB0c9BFe5527108", "GBPe", "monerium-gbp-emoney", "", NULL, 1669766840, NULL);
*
UPDATE common_asset_details SET cryptocompare="LINK" WHERE identifier="eip155:100/erc20:0xE2e73A1c69ecF83F464EFCE6A5be353a37cA09b2";
Copy link
Member Author

Choose a reason for hiding this comment

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

The Link assets had PLINK as an asset id for some reason in cryptocompare which is wrong.

Same for some USDC assets having USDBC.

INSERT INTO assets(identifier, name, type) VALUES("eip155:100/erc20:0xE2e73A1c69ecF83F464EFCE6A5be353a37cA09b2", "ChainLink Token on xDai", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:100/erc20:0xE2e73A1c69ecF83F464EFCE6A5be353a37cA09b2", "A", 100, "0xE2e73A1c69ecF83F464EFCE6A5be353a37cA09b2", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:100/erc20:0xE2e73A1c69ecF83F464EFCE6A5be353a37cA09b2", "LINK", "chainlink", "LINK", NULL, 1597866280, NULL);
UPDATE common_asset_details SET cryptocompare="LINK" WHERE identifier="eip155:10/erc20:0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6";
INSERT INTO assets(identifier, name, type) VALUES("eip155:10/erc20:0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6", "ChainLink Token", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:10/erc20:0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6", "A", 10, "0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6", 18, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:10/erc20:0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6", "LINK", "chainlink", "LINK", NULL, NULL, NULL);
UPDATE common_asset_details SET cryptocompare="LINK" WHERE identifier="eip155:137/erc20:0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39";
INSERT INTO assets(identifier, name, type) VALUES("eip155:137/erc20:0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39", "ChainLink Token", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:137/erc20:0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39", "A", 137, "0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39", 18, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:137/erc20:0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39", "LINK", "chainlink", "LINK", NULL, 1598767775, NULL);
UPDATE common_asset_details SET cryptocompare="LINK" WHERE identifier="eip155:42161/erc20:0xf97f4df75117a78c1A5a0DBb814Af92458539FB4";
INSERT INTO assets(identifier, name, type) VALUES("eip155:42161/erc20:0xf97f4df75117a78c1A5a0DBb814Af92458539FB4", "ChainLink Token", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:42161/erc20:0xf97f4df75117a78c1A5a0DBb814Af92458539FB4", "A", 42161, "0xf97f4df75117a78c1A5a0DBb814Af92458539FB4", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:42161/erc20:0xf97f4df75117a78c1A5a0DBb814Af92458539FB4", "LINK", "chainlink", "LINK", NULL, 1623867040, NULL);
UPDATE common_asset_details SET cryptocompare="LINK" WHERE identifier="eip155:43114/erc20:0x5947BB275c521040051D82396192181b413227A3";
INSERT INTO assets(identifier, name, type) VALUES("eip155:43114/erc20:0x5947BB275c521040051D82396192181b413227A3", "Chainlink Token", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:43114/erc20:0x5947BB275c521040051D82396192181b413227A3", "A", 43114, "0x5947BB275c521040051D82396192181b413227A3", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:43114/erc20:0x5947BB275c521040051D82396192181b413227A3", "LINK.e", "chainlink", "LINK", NULL, 1627052367, NULL);
UPDATE common_asset_details SET cryptocompare="USDC" WHERE identifier="eip155:43114/erc20:0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E";
INSERT INTO assets(identifier, name, type) VALUES("eip155:43114/erc20:0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E", "USD Coin", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:43114/erc20:0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E", "A", 43114, "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E", 6, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:43114/erc20:0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E", "USDC", "usd-coin", "USDC", NULL, 1637802339, NULL);
UPDATE common_asset_details SET cryptocompare="USDC" WHERE identifier="eip155:8453/erc20:0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA";
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, ""); 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);
UPDATE common_asset_details SET cryptocompare="USDC" WHERE identifier="eip155:534352/erc20:0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4";
INSERT INTO assets(identifier, name, type) VALUES("eip155:534352/erc20:0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4", "USD Coin", "C");INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:534352/erc20:0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4", "A", 534352, "0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4", 6, NULL);INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:534352/erc20:0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4", "USDC", "usdc", "USDC", NULL, 1696919085, NULL);
2 changes: 1 addition & 1 deletion updates/info.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"latest": 28, "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": 9, "min_schema_version": 4}, "17": {"changes": 137, "max_schema_version": 9, "min_schema_version": 4}, "18": {"changes": 189, "max_schema_version": 9, "min_schema_version": 4}, "19": {"changes": 183, "max_schema_version": 9, "min_schema_version": 4}, "2": {"changes": 27, "max_schema_version": 2, "min_schema_version": 2}, "20": {"changes": 105, "max_schema_version": 9, "min_schema_version": 4}, "21": {"changes": 47, "max_schema_version": 9, "min_schema_version": 6}, "22": {"changes": 145, "max_schema_version": 9, "min_schema_version": 6}, "23": {"changes": 4, "max_schema_version": 9, "min_schema_version": 6}, "24": {"changes": 534, "max_schema_version": 9, "min_schema_version": 6}, "25": {"changes": 407, "max_schema_version": 9, "min_schema_version": 6}, "26": {"changes": 349, "max_schema_version": 9, "min_schema_version": 6}, "27": {"changes": 1157, "max_schema_version": 9, "min_schema_version": 6}, "28": {"changes": 37, "max_schema_version": 9, "min_schema_version": 6}, "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}}}
{"latest": 28, "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": 9, "min_schema_version": 4}, "17": {"changes": 137, "max_schema_version": 9, "min_schema_version": 4}, "18": {"changes": 189, "max_schema_version": 9, "min_schema_version": 4}, "19": {"changes": 183, "max_schema_version": 9, "min_schema_version": 4}, "2": {"changes": 27, "max_schema_version": 2, "min_schema_version": 2}, "20": {"changes": 105, "max_schema_version": 9, "min_schema_version": 4}, "21": {"changes": 47, "max_schema_version": 9, "min_schema_version": 6}, "22": {"changes": 145, "max_schema_version": 9, "min_schema_version": 6}, "23": {"changes": 4, "max_schema_version": 9, "min_schema_version": 6}, "24": {"changes": 534, "max_schema_version": 9, "min_schema_version": 6}, "25": {"changes": 407, "max_schema_version": 9, "min_schema_version": 6}, "26": {"changes": 349, "max_schema_version": 9, "min_schema_version": 6}, "27": {"changes": 1157, "max_schema_version": 9, "min_schema_version": 6}, "28": {"changes": 45, "max_schema_version": 9, "min_schema_version": 6}, "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}}}
2 changes: 1 addition & 1 deletion updates/pretty_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"min_schema_version": 6
},
"28": {
"changes": 37,
"changes": 45,
"max_schema_version": 9,
"min_schema_version": 6
},
Expand Down
Loading