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

Add gloUSD and fix mappings for pol #185

Merged
merged 1 commit into from
Sep 13, 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
16 changes: 16 additions & 0 deletions updates/28/asset_collections_mappings_updates.sql
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,19 @@ INSERT INTO multiasset_mappings(collection_id, asset) VALUES (336, "eip155:1/erc
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (336, "eip155:8453/erc20:0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (337, "eip155:1/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (337, "eip155:10/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (337, "eip155:42161/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (337, "eip155:8453/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (337, "eip155:137/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (338, "eip155:42161/erc20:0xcb8b5CD20BdCaea9a010aC1F8d835824F5C87A04");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (338, "eip155:1/erc20:0xDEf1CA1fb7FBcDC777520aa7f396b4E015F497aB");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (338, "eip155:100/erc20:0x177127622c4A00F3d409B75571e12cB3c8973d3c");
*
6 changes: 6 additions & 0 deletions updates/28/asset_collections_updates.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ INSERT INTO asset_collections(id, name, symbol) VALUES (335, "Monerium GBPe", "G
*
INSERT INTO asset_collections(id, name, symbol) VALUES (336, "Coinbase Wrapped BTC", "cbBTC");
*
INSERT INTO asset_collections(id, name, symbol) VALUES (337, "Glo Dollar", "USDGLO");
*
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");
*
12 changes: 12 additions & 0 deletions updates/28/updates.sql
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,15 @@ INSERT INTO assets(identifier, name, type) VALUES("eip155:8453/erc20:0xcbB7C0000
*
UPDATE assets SET name="Polygon Ecosystem Token" WHERE identifier="eip155:137/erc20:0x0000000000000000000000000000000000001010"; UPDATE common_asset_details SET symbol="POL", coingecko="polygon-ecosystem-token", cryptocompare="POL" WHERE identifier="eip155:137/erc20:0x0000000000000000000000000000000000001010";
INSERT INTO assets(identifier, name, type) VALUES("eip155:137/erc20:0x0000000000000000000000000000000000001010", "Polygon Ecosystem Token", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:137/erc20:0x0000000000000000000000000000000000001010", "A", 137, "0x0000000000000000000000000000000000001010", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:137/erc20:0x0000000000000000000000000000000000001010", "POL", "polygon-ecosystem-token", "POL", NULL, NULL, NULL);
INSERT INTO assets(identifier, name, type) VALUES("eip155:1/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", "Glo Dollar", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:1/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", "A", 1, "0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", 18, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:1/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", "USDGLO", "glo-dollar", "USDGLO", NULL, 1667299487, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:10/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", "Glo Dollar", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:10/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", "A", 10, "0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", 18, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:10/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", "USDGLO", "glo-dollar", "USDGLO", NULL, 1690283423, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:137/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", "Glo Dollar", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:137/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", "A", 137, "0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", 18, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:137/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", "USDGLO", "glo-dollar", "USDGLO", NULL, 1667297263, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:42161/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", "Glo Dollar", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:42161/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", "A", 42161, "0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", 18, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:42161/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", "USDGLO", "glo-dollar", "USDGLO", NULL, 1699268164, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:8453/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", "Glo Dollar", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:8453/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", "A", 8453, "0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", 18, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:8453/erc20:0x4F604735c1cF31399C6E711D5962b2B3E0225AD3", "USDGLO", "glo-dollar", "USDGLO", NULL, 1692779483, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:42161/erc20:0xcb8b5CD20BdCaea9a010aC1F8d835824F5C87A04", "CoW Protocol Token", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:42161/erc20:0xcb8b5CD20BdCaea9a010aC1F8d835824F5C87A04", "A", 42161, "0xcb8b5CD20BdCaea9a010aC1F8d835824F5C87A04", 18, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:42161/erc20:0xcb8b5CD20BdCaea9a010aC1F8d835824F5C87A04", "COW", "cow-protocol", "COW", NULL, 1714747872, 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": 20, "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": 26, "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": 20,
"changes": 26,
"max_schema_version": 9,
"min_schema_version": 6
},
Expand Down
Loading