Skip to content

Commit

Permalink
add morpho, walletconnect and cbtc assets
Browse files Browse the repository at this point in the history
  • Loading branch information
prettyirrelevant committed Nov 27, 2024
1 parent 29038ee commit 7918eba
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 2 deletions.
6 changes: 6 additions & 0 deletions updates/31/asset_collections_mappings_updates.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (40, "eip155:42161/erc20:0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (342, "eip155:8453/erc20:0xBAa5CC21fd487B8Fcc2F632f3F4E8D37262a0842");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (342, "eip155:1/erc20:0x58D97B57BB95320F9a05dC918Aef65434969c2B2");
*
2 changes: 2 additions & 0 deletions updates/31/asset_collections_updates.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INSERT INTO asset_collections(id, name, symbol) VALUES (342, "Morpho", "MORPHO");
*
8 changes: 8 additions & 0 deletions updates/31/updates.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
INSERT INTO assets(identifier, name, type) VALUES("eip155:10/erc20:0xeF4461891DfB3AC8572cCf7C794664A8DD927945", "WalletConnect Token", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:10/erc20:0xeF4461891DfB3AC8572cCf7C794664A8DD927945", "A", 10, "0xeF4461891DfB3AC8572cCf7C794664A8DD927945", 18, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:10/erc20:0xeF4461891DfB3AC8572cCf7C794664A8DD927945", "WCT", "connect-token-wct", "", NULL, 1730159521, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:42161/erc20:0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf", "Coinbase Wrapped BTC", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:42161/erc20:0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf", "A", 42161, "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf", 8, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:42161/erc20:0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf", "cbBTC", "coinbase-wrapped-btc", "", NULL, 1731094732, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:1/erc20:0x58D97B57BB95320F9a05dC918Aef65434969c2B2", "Morpho", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:1/erc20:0x58D97B57BB95320F9a05dC918Aef65434969c2B2", "A", 1, "0x58D97B57BB95320F9a05dC918Aef65434969c2B2", 8, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:1/erc20:0x58D97B57BB95320F9a05dC918Aef65434969c2B2", "MORPHO", "morpho", "MORPHO", NULL, 1731243119, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:8453/erc20:0xBAa5CC21fd487B8Fcc2F632f3F4E8D37262a0842", "Morpho", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:8453/erc20:0xBAa5CC21fd487B8Fcc2F632f3F4E8D37262a0842", "A", 8453, "0xBAa5CC21fd487B8Fcc2F632f3F4E8D37262a0842", 8, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:8453/erc20:0xBAa5CC21fd487B8Fcc2F632f3F4E8D37262a0842", "MORPHO", "morpho", "MORPHO", NULL, 1731249905, NULL);
*
2 changes: 1 addition & 1 deletion updates/info.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"latest": 30, "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": 47, "max_schema_version": 9, "min_schema_version": 9}, "29": {"changes": 8, "max_schema_version": 9, "min_schema_version": 9}, "3": {"changes": 64, "max_schema_version": 2, "min_schema_version": 2}, "30": {"changes": 85, "max_schema_version": 9, "min_schema_version": 9}, "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": 31, "updates": {"1": {"changes": 249, "max_schema_version": 2, "min_schema_version": 2}, "31": {"changes": 4, "max_schema_version": 9, "min_schema_version": 9}, "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": 47, "max_schema_version": 9, "min_schema_version": 9}, "29": {"changes": 8, "max_schema_version": 9, "min_schema_version": 9}, "3": {"changes": 64, "max_schema_version": 2, "min_schema_version": 2}, "30": {"changes": 85, "max_schema_version": 9, "min_schema_version": 9}, "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}}}
7 changes: 6 additions & 1 deletion updates/pretty_info.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
{
"latest": 30,
"latest": 31,
"updates": {
"1": {
"changes": 249,
"max_schema_version": 2,
"min_schema_version": 2
},
"31": {
"changes": 4,
"max_schema_version": 9,
"min_schema_version": 9
},
"10": {
"changes": 30,
"max_schema_version": 2,
Expand Down

0 comments on commit 7918eba

Please sign in to comment.