Skip to content

Commit

Permalink
Fix not checksummed addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
yabirgb committed Nov 22, 2023
1 parent 92997bd commit cedbe2e
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 53 deletions.
21 changes: 20 additions & 1 deletion tests/test_correct_entries.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import argparse
import json
from pathlib import Path

import pytest
from eth_utils.address import to_checksum_address

from validator.checker import UpdateChecker
from validator.utils import get_latest_version
Expand Down Expand Up @@ -31,3 +31,22 @@ def test_valid_sql_sentences(version, schema_versions):
with open(upgrade) as f:
data = f.read()
updater.check_single_version_update(data, schema_versions[version])


@pytest.mark.parametrize('version', range(1, get_latest_version() + 1))
def test_valid_identifiers_mappings(version, schema_versions):
"""Test that identifiers have checksummed addresses in multiassets mappings"""
root_dir = Path(__file__).parents[1]
upgrade = root_dir / 'updates' / str(version) / 'asset_collections_mappings_updates.sql'

if upgrade.exists() is False:
return

with open(upgrade) as f:
for line in f.readlines():
if '*' in line:
continue
print('---', line)
eip_pos = line.index('eip155')
address = line[eip_pos:].split(':')[-1].strip().replace('");', '')
assert to_checksum_address(address) == address
76 changes: 38 additions & 38 deletions updates/18/asset_collections_mappings_updates.sql
Original file line number Diff line number Diff line change
@@ -1,78 +1,78 @@
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (216, "eip155:42161/erc20:0x912ce59144191c1204e64559fe8253a0e49e6548");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (216, "eip155:42161/erc20:0x912CE59144191C1204E64559FE8253a0e49E6548");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (216, "eip155:1/erc20:0xb50721bcf8d664c30412cfbc6cf7a15145234ad1");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (216, "eip155:1/erc20:0xB50721BCf8d664c30412Cfbc6cf7a15145234ad1");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (217, "eip155:1/erc20:0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (217, "eip155:1/erc20:0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (217, "eip155:42161/erc20:0x5979d7b546e38e414f7e9822514be443a4800529");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (217, "eip155:42161/erc20:0x5979D7b546E38E414F7E9822514be443A4800529");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (217, "eip155:10/erc20:0x1f32b1c2345538c0c6f582fcb022739c4a194ebb");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (217, "eip155:10/erc20:0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (218, "eip155:1/erc20:0x5e8422345238f34275888049021821e8e08caa1f");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (218, "eip155:1/erc20:0x5E8422345238F34275888049021821E8E08CAa1f");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (218, "eip155:42161/erc20:0x178412e79c25968a32e89b11f63b33f733770c2a");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (218, "eip155:42161/erc20:0x178412e79c25968a32e89b11f63B33F733770c2A");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (218, "eip155:10/erc20:0x6806411765af15bddd26f8f544a34cc40cb9838b");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (218, "eip155:10/erc20:0x6806411765Af15Bddd26f8f544A34cC40cb9838B");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (218, "eip155:56/erc20:0x64048a7eecf3a2f1ba9e144aac3d7db6e58f555e");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (218, "eip155:56/erc20:0x64048A7eEcF3a2F1BA9e144aAc3D7dB6e58F555e");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (218, "eip155:137/erc20:0xee327f889d5947c1dc1934bb208a1e792f953e96");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (218, "eip155:137/erc20:0xEe327F889d5947c1dc1934Bb208a1E792F953E96");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (218, "eip155:250/erc20:0x9e73f99ee061c8807f69f9c6ccc44ea3d8c373ee");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (218, "eip155:250/erc20:0x9E73F99EE061C8807F69f9c6CCc44ea3d8c373ee");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (219, "eip155:1/erc20:0xac3e018457b222d93114458476f3e3416abbe38f");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (219, "eip155:1/erc20:0xac3E018457B222d93114458476f3E3416Abbe38F");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (219, "eip155:42161/erc20:0x95ab45875cffdba1e5f451b950bc2e42c0053f39");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (219, "eip155:42161/erc20:0x95aB45875cFFdba1E5f451B950bC2E42c0053f39");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (219, "eip155:10/erc20:0x484c2d6e3cdd945a8b2df735e079178c1036578c");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (219, "eip155:10/erc20:0x484c2D6e3cDd945a8B2DF735e079178C1036578c");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (219, "eip155:56/erc20:0x3cd55356433c89e50dc51ab07ee0fa0a95623d53");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (219, "eip155:56/erc20:0x3Cd55356433C89E50DC51aB07EE0fa0A95623D53");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (219, "eip155:137/erc20:0x6d1fdbb266fcc09a16a22016369210a15bb95761");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (219, "eip155:137/erc20:0x6d1FdBB266fCc09A16a22016369210A15bb95761");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (219, "eip155:250/erc20:0xb90ccd563918ff900928dc529aa01046795ccb4a");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (219, "eip155:250/erc20:0xb90CCD563918fF900928dc529aA01046795ccb4A");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (128, "eip155:42161/erc20:0x93b346b6bc2548da6a1e7d98e9a421b42541425b");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (128, "eip155:42161/erc20:0x93b346b6BC2548dA6A1E7d98E9a421B42541425b");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (128, "eip155:10/erc20:0xc40f949f8a4e094d1b49a23ea9241d289b7b2819");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (128, "eip155:10/erc20:0xc40F949F8a4e094D1b49a23ea9241D289B7b2819");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (220, "eip155:1/erc20:0x5fab9761d60419c9eeebe3915a8fa1ed7e8d2e1b");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (220, "eip155:1/erc20:0x5fab9761d60419C9eeEbe3915A8FA1ed7e8d2E1B");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (220, "eip155:137/erc20:0xe261d618a959afffd53168cd07d12e37b26761db");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (220, "eip155:137/erc20:0xE261D618a959aFfFd53168Cd07D12E37B26761db");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (221, "eip155:1/erc20:0x808507121b80c02388fad14726482e061b8da827");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (221, "eip155:1/erc20:0x808507121B80c02388fAd14726482e061B8da827");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (221, "eip155:42161/erc20:0x0c880f6761f1af8d9aa9c466984b80dab9a8c9e8");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (221, "eip155:42161/erc20:0x0c880f6761F1af8d9Aa9C466984b80DAb9a8c9e8");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (221, "eip155:43114/erc20:0xfb98b335551a418cd0737375a2ea0ded62ea213b");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (221, "eip155:43114/erc20:0xfB98B335551a418cD0737375a2ea0ded62Ea213b");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (222, "eip155:1/erc20:0xae78736Cd615f374D3085123A210448E74Fc6393");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (222, "eip155:137/erc20:0x0266f4f08d82372cf0fcbccc0ff74309089c74d1");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (222, "eip155:137/erc20:0x0266F4F08D82372CF0FcbCCc0Ff74309089c74d1");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (222, "eip155:42161/erc20:0xec70dcb4a1efa46b8f2d97c310c9c4790ba5ffa8");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (222, "eip155:42161/erc20:0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (222, "eip155:10/erc20:0x9bcef72be871e61ed4fbbc7630889bee758eb81d");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (222, "eip155:10/erc20:0x9Bcef72be871e61ED4fBbc7630889beE758eb81D");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (193, "eip155:250/erc20:0x2f6f07cdcf3588944bf4c42ac74ff24bf56e7590");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (193, "eip155:250/erc20:0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (223, "eip155:1/erc20:0xa2e3356610840701bdf5611a53974510ae27e2e1");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (223, "eip155:1/erc20:0xa2E3356610840701BDf5611a53974510Ae27E2e1");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (223, "eip155:56/erc20:0xa2e3356610840701bdf5611a53974510ae27e2e1");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (223, "eip155:56/erc20:0xa2E3356610840701BDf5611a53974510Ae27E2e1");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (224, "eip155:1/erc20:0x993864e43caa7f7f12953ad6feb1d1ca635b875f");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (224, "eip155:1/erc20:0x993864E43Caa7F7F12953AD6fEb1d1Ca635B875F");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (224, "eip155:56/erc20:0x90ed8f1dc86388f14b64ba8fb4bbd23099f18240");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (224, "eip155:56/erc20:0x90Ed8F1dc86388f14b64ba8fb4bbd23099f18240");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (225, "eip155:1/erc20:0xeec2be5c91ae7f8a338e1e5f3b5de49d07afdc81");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (225, "eip155:1/erc20:0xEec2bE5c91ae7f8a338e1e5f3b5DE49d07AfdC81");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (225, "eip155:42161/erc20:0x6c2c06790b3e3e3c38e12ee22f8183b37a13ee55");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (225, "eip155:42161/erc20:0x6C2C06790b3E3E3c38e12Ee22F8183b37a13EE55");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (226, "eip155:1/erc20:0xe55d97a97ae6a17706ee281486e98a84095d8aaf");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (226, "eip155:1/erc20:0xE55d97A97ae6A17706ee281486E98A84095d8AAf");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (226, "eip155:56/erc20:0xe55d97a97ae6a17706ee281486e98a84095d8aaf");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (226, "eip155:56/erc20:0xE55d97A97ae6A17706ee281486E98A84095d8AAf");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (227, "eip155:1/erc20:0x12970e6868f88f6557b76120662c1b3e50a646bf");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (227, "eip155:1/erc20:0x12970E6868f88f6557B76120662c1B3E50A646bf");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (227, "eip155:42161/erc20:0x3b60ff35d3f7f62d636b067dd0dc0dfdad670e4e");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (227, "eip155:42161/erc20:0x3b60FF35D3f7F62d636b067dD0dC0dFdAd670E4E");
*
8 changes: 4 additions & 4 deletions updates/19/asset_collections_mappings_updates.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (228, "eip155:1/erc20:0xac3211a5025414af2866ff09c23fc18bc97e79b1");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (228, "eip155:1/erc20:0xac3211a5025414Af2866FF09c23FC18bc97e79b1");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (228, "eip155:56/erc20:0xc9457161320210d22f0d0d5fc1309acb383d4609");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (228, "eip155:56/erc20:0xc9457161320210D22F0D0d5fC1309Acb383d4609");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (229, "eip155:1/erc20:0x1c98b54d673c026c8286badca3e840aaf72931a3");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (229, "eip155:1/erc20:0x1C98B54d673C026C8286bADCa3E840aaf72931a3");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (229, "eip155:137/erc20:0xfc77cc32e570baec16f69dded556a35811b5a6ce");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (229, "eip155:137/erc20:0xFC77cC32e570bAeC16f69DDed556a35811b5A6ce");
*
12 changes: 6 additions & 6 deletions updates/20/asset_collections_mappings_updates.sql
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (231, "eip155:1/erc20:0x163f8c2467924be0ae7b5347228cabf260318753");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (231, "eip155:1/erc20:0x163f8C2467924be0ae7B5347228CABF260318753");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (231, "eip155:10/erc20:0xdc6ff44d5d932cbd77b52e5612ba0529dc6226f1");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (231, "eip155:10/erc20:0xdC6fF44d5d932Cbd77B52E5612Ba0529DC6226F1");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (232, "eip155:137/erc20:0x4b85a666dec7c959e88b97814e46113601b07e57");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (232, "eip155:137/erc20:0x4B85a666deC7C959e88b97814E46113601B07e57");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (232, "eip155:56/erc20:0x4b85a666dec7c959e88b97814e46113601b07e57");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (232, "eip155:56/erc20:0x4B85a666deC7C959e88b97814E46113601B07e57");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (233, "eip155:1/erc20:0x6731827cb6879a2091ce3ab3423f7bf20539b579");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (233, "eip155:1/erc20:0x6731827Cb6879a2091ce3ab3423f7bf20539b579");
*
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (233, "eip155:137/erc20:0x47c52f93a359db9f4509005cf982dfc440790561");
INSERT INTO multiasset_mappings(collection_id, asset) VALUES (233, "eip155:137/erc20:0x47C52F93A359dB9F4509005CF982DFc440790561");
*
4 changes: 1 addition & 3 deletions updates/21/updates.sql
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ INSERT INTO assets(identifier, name, type) VALUES("eip155:42161/erc20:0xD77B108d
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:42161/erc20:0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8", "Bridged USDC", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:42161/erc20:0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8", "A", 42161, "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8", 6, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:42161/erc20:0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8", "USDC.e", "usd-coin-ethereum-bridged", "USDC", NULL, 1623868379, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:10/erc20:0x7F5c764cBc14f9669B88837ca1490cCa17c31607", "USD Coin (Bridged from Ethereum)", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:10/erc20:0x7F5c764cBc14f9669B88837ca1490cCa17c31607", "A", 10, "0x7F5c764cBc14f9669B88837ca1490cCa17c31607", 6, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:10/erc20:0x7F5c764cBc14f9669B88837ca1490cCa17c31607", "USDC.e", "usd-coin-ethereum-bridged", "USDC", NULL, NULL, NULL);
INSERT INTO assets(identifier, name, type) VALUES("eip155:10/erc20:0x7F5c764cBc14f9669B88837ca1490cCa17c31607", "Bridged USDC Coin", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:10/erc20:0x7F5c764cBc14f9669B88837ca1490cCa17c31607", "A", 10, "0x7F5c764cBc14f9669B88837ca1490cCa17c31607", 6, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:10/erc20:0x7F5c764cBc14f9669B88837ca1490cCa17c31607", "USDC.e", "usd-coin-ethereum-bridged", "USDC", NULL, NULL, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:137/erc20:0x27842334C55c01DDFE81Bf687425F906816c5141", "Veloce", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:137/erc20:0x27842334C55c01DDFE81Bf687425F906816c5141", "A", 137, "0x27842334C55c01DDFE81Bf687425F906816c5141", 18, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:137/erc20:0x27842334C55c01DDFE81Bf687425F906816c5141", "VEXT", "veloce-vext", "VEXT", NULL, 1693065144, NULL);
*
Expand All @@ -66,8 +66,6 @@ INSERT INTO assets(identifier, name, type) VALUES("eip155:25/erc20:0x97749c9B61F
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:25/erc20:0x212331e1435A8df230715dB4C02B2a3A0abF8c61", "Mad Bucks", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:25/erc20:0x212331e1435A8df230715dB4C02B2a3A0abF8c61", "A", 25, "0x212331e1435A8df230715dB4C02B2a3A0abF8c61", 18, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:25/erc20:0x212331e1435A8df230715dB4C02B2a3A0abF8c61", "MAD", "mad-bucks", "", NULL, 1648011426, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:25/erc20:0x212331e1435A8df230715dB4C02B2a3A0abF8c61", "Mad Bucks", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:25/erc20:0x212331e1435A8df230715dB4C02B2a3A0abF8c61", "A", 25, "0x212331e1435A8df230715dB4C02B2a3A0abF8c61", 18, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:25/erc20:0x212331e1435A8df230715dB4C02B2a3A0abF8c61", "MAD", "mad-bucks", "", NULL, 1648011426, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:1/erc20:0xB49fa25978abf9a248b8212Ab4b87277682301c0", "Rai.Finance", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:1/erc20:0xB49fa25978abf9a248b8212Ab4b87277682301c0", "A", 1, "0xB49fa25978abf9a248b8212Ab4b87277682301c0", 18, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:1/erc20:0xB49fa25978abf9a248b8212Ab4b87277682301c0", "SOFI", "rai-finance", "SOFI", NULL, NULL, NULL);
*
INSERT INTO assets(identifier, name, type) VALUES("eip155:8453/erc20:0x703D57164CA270b0B330A87FD159CfEF1490c0a5", "Rai.Finance", "C"); INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:8453/erc20:0x703D57164CA270b0B330A87FD159CfEF1490c0a5", "A", 8453, "0x703D57164CA270b0B330A87FD159CfEF1490c0a5", 18, NULL); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:8453/erc20:0x703D57164CA270b0B330A87FD159CfEF1490c0a5", "SOFI", "rai-finance", "SOFI", NULL, 1692690317, NULL);
Expand Down
Loading

0 comments on commit cedbe2e

Please sign in to comment.