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 monerium assets #181

Merged
merged 1 commit into from
Sep 9, 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
14 changes: 14 additions & 0 deletions updates/28/asset_collections_mappings_updates.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,17 @@ INSERT INTO multiasset_mappings(collection_id, asset) VALUES (334, "eip155:8453/
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (334, "eip155:8453/erc20:0xA88594D404727625A9437C3f886C7643872296AE");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (240, "eip155:100/erc20:0x420CA0f9B9b604cE0fd9C18EF134C705e5Fa3430");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (240, "eip155:137/erc20:0xE0aEa583266584DafBB3f9C3211d5588c73fEa8d");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (333, "eip155:100/erc20:0x8E34bfEC4f6Eb781f9743D9b4af99CD23F9b7053");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (333, "eip155:137/erc20:0x646BEea7a02FdAdA34c8e118949fE32350aB2206");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (333, "eip155:100/erc20:0x5Cb9073902F2035222B9749F8fB0c9BFe5527108");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (333, "eip155:137/erc20:0x75792CBDb361d80ba89271a079EfeE62c29FA324");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (333, "eip155:1/erc20:0x7ba92741Bf2A568abC6f1D3413c58c6e0244F8fD");
*
2 changes: 2 additions & 0 deletions updates/28/asset_collections_updates.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ INSERT INTO asset_collections(id, name, symbol) VALUES (333, "Extra Finance", "E
*
INSERT INTO asset_collections(id, name, symbol) VALUES (334, "Moonwell", "WELL");
*
INSERT INTO asset_collections(id, name, symbol) VALUES (333, "Monerium GBPe", "GBPe");
*
28 changes: 28 additions & 0 deletions updates/28/updates.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,31 @@ UPDATE common_asset_details SET coingecko="extra-finance", cryptocompare="EXTRA"
INSERT INTO assets(identifier, name, type) VALUES("eip155:8453/erc20:0x2dAD3a13ef0C6366220f989157009e501e7938F8", "Extra Finance", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:8453/erc20:0x2dAD3a13ef0C6366220f989157009e501e7938F8", "A", 8453, "0x2dAD3a13ef0C6366220f989157009e501e7938F8", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:8453/erc20:0x2dAD3a13ef0C6366220f989157009e501e7938F8", "EXTRA", "extra-finance", "EXTRA", NULL, 1690955247, NULL);
UPDATE common_asset_details SET cryptocompare="WELL" WHERE identifier="WELL";
INSERT INTO assets(identifier, name, type) VALUES("WELL", "Extra Finance", "W"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("WELL", "WELL", "moonwell-artemis", "WELL", NULL, 1652303490, NULL);
INSERT INTO assets(identifier, name, type) VALUES("eip155:100/erc20:0x420CA0f9B9b604cE0fd9C18EF134C705e5Fa3430", "Monerium EURe", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:100/erc20:0x420CA0f9B9b604cE0fd9C18EF134C705e5Fa3430", "A", 100, "0x420CA0f9B9b604cE0fd9C18EF134C705e5Fa3430", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:100/erc20:0x420CA0f9B9b604cE0fd9C18EF134C705e5Fa3430", "EURe", "monerium-eur-money", "EURE", NULL, 1724565650, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:100/erc20:0x8E34bfEC4f6Eb781f9743D9b4af99CD23F9b7053", "Monerium GBPe", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:100/erc20:0x8E34bfEC4f6Eb781f9743D9b4af99CD23F9b7053", "A", 100, "0x8E34bfEC4f6Eb781f9743D9b4af99CD23F9b7053", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:100/erc20:0x8E34bfEC4f6Eb781f9743D9b4af99CD23F9b7053", "GBPe", "monerium-gbp-emoney", "", NULL, 1724565650, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:100/erc20:0x50D1A74F4b6dcaCddD97fd442C0e22a4c97F2b7f", "Monerium USDe", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:100/erc20:0x50D1A74F4b6dcaCddD97fd442C0e22a4c97F2b7f", "A", 100, "0x50D1A74F4b6dcaCddD97fd442C0e22a4c97F2b7f", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:100/erc20:0x50D1A74F4b6dcaCddD97fd442C0e22a4c97F2b7f", "USDe", "", "", NULL, 1724565650, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:100/erc20:0x614Bd419D3735C9eb51542C06e5Acc09a9953f61", "Monerium ISKe", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:100/erc20:0x614Bd419D3735C9eb51542C06e5Acc09a9953f61", "A", 100, "0x614Bd419D3735C9eb51542C06e5Acc09a9953f61", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:100/erc20:0x614Bd419D3735C9eb51542C06e5Acc09a9953f61", "ISKe", "", "", NULL, 1724565650, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:100/erc20:0x20E694659536C6B46e4B8BE8f6303fFCD8d1dF69", "Monerium USD emoney", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:100/erc20:0x20E694659536C6B46e4B8BE8f6303fFCD8d1dF69", "A", 100, "0x20E694659536C6B46e4B8BE8f6303fFCD8d1dF69", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:100/erc20:0x20E694659536C6B46e4B8BE8f6303fFCD8d1dF69", "USDe", "", "", NULL, 1669766400, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:100/erc20:0xD8F84BF2E036A3c8E4c0e25ed2aAe0370F3CCca8", "Monerium ISK emoney", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:100/erc20:0xD8F84BF2E036A3c8E4c0e25ed2aAe0370F3CCca8", "A", 100, "0xD8F84BF2E036A3c8E4c0e25ed2aAe0370F3CCca8", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:100/erc20:0xD8F84BF2E036A3c8E4c0e25ed2aAe0370F3CCca8", "ISKe", "", "", NULL, 1669766540, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:137/erc20:0xE0aEa583266584DafBB3f9C3211d5588c73fEa8d", "Monerium EURe", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:137/erc20:0xE0aEa583266584DafBB3f9C3211d5588c73fEa8d", "A", 137, "0xE0aEa583266584DafBB3f9C3211d5588c73fEa8d", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:137/erc20:0xE0aEa583266584DafBB3f9C3211d5588c73fEa8d", "EURe", "monerium-eur-money", "EURE", NULL, 1723964166, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:137/erc20:0x646BEea7a02FdAdA34c8e118949fE32350aB2206", "Monerium GBPe", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:137/erc20:0x646BEea7a02FdAdA34c8e118949fE32350aB2206", "A", 137, "0x646BEea7a02FdAdA34c8e118949fE32350aB2206", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:137/erc20:0x646BEea7a02FdAdA34c8e118949fE32350aB2206", "GBPe", "monerium-gbp-emoney", "", NULL, 1723964170, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:137/erc20:0x75792CBDb361d80ba89271a079EfeE62c29FA324", "Monerium GBP emoney", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:137/erc20:0x75792CBDb361d80ba89271a079EfeE62c29FA324", "A", 137, "0x75792CBDb361d80ba89271a079EfeE62c29FA324", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:137/erc20:0x75792CBDb361d80ba89271a079EfeE62c29FA324", "GBPe", "monerium-gbp-emoney", "", NULL, 1648476518, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:137/erc20:0x91e2B584908C2807EFc9F846E0C2A1fe875C5141", "Monerium USDe", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:137/erc20:0x91e2B584908C2807EFc9F846E0C2A1fe875C5141", "A", 137, "0x91e2B584908C2807EFc9F846E0C2A1fe875C5141", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:137/erc20:0x91e2B584908C2807EFc9F846E0C2A1fe875C5141", "USDe", "", "", NULL, 1723964174, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:137/erc20:0x64E97c1a6535afD4a313eF46F88A64a34250B719", "Monerium USD emoney", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:137/erc20:0x64E97c1a6535afD4a313eF46F88A64a34250B719", "A", 137, "0x64E97c1a6535afD4a313eF46F88A64a34250B719", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:137/erc20:0x64E97c1a6535afD4a313eF46F88A64a34250B719", "USDe", "", "", NULL, 1648476976, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:137/erc20:0xd053fc09e8F05A43Da4ECC40a750559C938C8131", "Monerium ISKe", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:137/erc20:0xd053fc09e8F05A43Da4ECC40a750559C938C8131", "A", 137, "0xd053fc09e8F05A43Da4ECC40a750559C938C8131", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:137/erc20:0xd053fc09e8F05A43Da4ECC40a750559C938C8131", "ISKe", "", "", NULL, 1723964170, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:137/erc20:0xf1bBf27A9D659D326efBfa5D284EBaeFB803983D", "Monerium ISK emoney", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:137/erc20:0xf1bBf27A9D659D326efBfa5D284EBaeFB803983D", "A", 137, "0xf1bBf27A9D659D326efBfa5D284EBaeFB803983D", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:137/erc20:0xf1bBf27A9D659D326efBfa5D284EBaeFB803983D", "ISKe", "", "", NULL, 1648476792, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:1/erc20:0x7ba92741Bf2A568abC6f1D3413c58c6e0244F8fD", "Monerium GBP emoney", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:1/erc20:0x7ba92741Bf2A568abC6f1D3413c58c6e0244F8fD", "A", 1, "0x7ba92741Bf2A568abC6f1D3413c58c6e0244F8fD", 18, ""); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:1/erc20:0x7ba92741Bf2A568abC6f1D3413c58c6e0244F8fD", "GBPe", "monerium-gbp-emoney", "", NULL, 1573470141, 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": 8, "min_schema_version": 4}, "17": {"changes": 137, "max_schema_version": 8, "min_schema_version": 4}, "18": {"changes": 189, "max_schema_version": 8, "min_schema_version": 4}, "19": {"changes": 183, "max_schema_version": 8, "min_schema_version": 4}, "2": {"changes": 27, "max_schema_version": 2, "min_schema_version": 2}, "20": {"changes": 105, "max_schema_version": 8, "min_schema_version": 4}, "21": {"changes": 47, "max_schema_version": 8, "min_schema_version": 6}, "22": {"changes": 145, "max_schema_version": 8, "min_schema_version": 6}, "23": {"changes": 4, "max_schema_version": 8, "min_schema_version": 6}, "24": {"changes": 534, "max_schema_version": 8, "min_schema_version": 6}, "25": {"changes": 407, "max_schema_version": 8, "min_schema_version": 6}, "26": {"changes": 349, "max_schema_version": 8, "min_schema_version": 6}, "27": {"changes": 1157, "max_schema_version": 8, "min_schema_version": 6}, "28": {"changes": 3, "max_schema_version": 8, "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": 17, "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}}}
28 changes: 14 additions & 14 deletions updates/pretty_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,22 @@
},
"16": {
"changes": 153,
"max_schema_version": 8,
"max_schema_version": 9,
"min_schema_version": 4
},
"17": {
"changes": 137,
"max_schema_version": 8,
"max_schema_version": 9,
"min_schema_version": 4
},
"18": {
"changes": 189,
"max_schema_version": 8,
"max_schema_version": 9,
"min_schema_version": 4
},
"19": {
"changes": 183,
"max_schema_version": 8,
"max_schema_version": 9,
"min_schema_version": 4
},
"2": {
Expand All @@ -63,47 +63,47 @@
},
"20": {
"changes": 105,
"max_schema_version": 8,
"max_schema_version": 9,
"min_schema_version": 4
},
"21": {
"changes": 47,
"max_schema_version": 8,
"max_schema_version": 9,
"min_schema_version": 6
},
"22": {
"changes": 145,
"max_schema_version": 8,
"max_schema_version": 9,
"min_schema_version": 6
},
"23": {
"changes": 4,
"max_schema_version": 8,
"max_schema_version": 9,
"min_schema_version": 6
},
"24": {
"changes": 534,
"max_schema_version": 8,
"max_schema_version": 9,
"min_schema_version": 6
},
"25": {
"changes": 407,
"max_schema_version": 8,
"max_schema_version": 9,
"min_schema_version": 6
},
"26": {
"changes": 349,
"max_schema_version": 8,
"max_schema_version": 9,
"min_schema_version": 6
},
"27": {
"changes": 1157,
"max_schema_version": 8,
"max_schema_version": 9,
"min_schema_version": 6
},
"28": {
"changes": 3,
"max_schema_version": 8,
"changes": 17,
"max_schema_version": 9,
"min_schema_version": 6
},
"3": {
Expand Down
1 change: 1 addition & 0 deletions validator/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def __init__(self):
6: REGEX_ASSETS_V3,
7: REGEX_ASSETS_V3,
8: REGEX_ASSETS_V3,
9: REGEX_ASSETS_V3,
}
self.string_re = re.compile(r'.*"(.*?)".*')
self.test_version = 2
Expand Down
Loading