Skip to content

Commit

Permalink
Drop stale prices (#4874)
Browse files Browse the repository at this point in the history
  • Loading branch information
aalan3 authored Nov 27, 2023
1 parent 004eacd commit 8faa118
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 42 deletions.
2 changes: 0 additions & 2 deletions models/prices/arbitrum/prices_arbitrum_tokens.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ FROM
('0xbtc-0xbitcoin','arbitrum','0xBTC',0x7cb16cb78ea464ad35c8a50abf95dff3c9e09d5d,8),
('aave-new','arbitrum','AAVE',0xba5ddd1f9d7f570dc94a51479a000e3bce967196,18),
('ageur-ageur','arbitrum','agEUR',0xfa5ed56a203466cbbc2430a43c66b9d8723528e7,18),
('ach-alchemy','arbitrum','ALCH',0x0e15258734300290a651fdbae8deb039a8e7a2fa,18),
('apex-apexit-finance','arbitrum','APEX',0x61a1ff55c5216b636a294a07d77c6f4df10d3b56,18),
('ata-automata','arbitrum','ATA',0xac9ac2c17cdfed4abc80a53c5553388575714d03,18),
('axlusdc-axelar-usd-coin','arbitrum','axlUSDC',0xeb466342c4d449bc9f53a865d5cb90586f405215,6),
('axlusdt-axelar-usd-tether','arbitrum','axlUSDT',0x7f5373ae26c3e8ffc4c77b7255df7ec1a9af52a6,6),
('axlatom-axelar-wrapped-atom','arbitrum','axlATOM',0x06bee9e7238a331b68d83df3b5b9b16d5dba83ff,6),
('badger-badger','arbitrum','BADGER',0xbfa641051ba0a0ad1b0acf549a89536a0d76472e,18),
Expand Down
5 changes: 2 additions & 3 deletions models/prices/avalanche_c/prices_avalanche_c_tokens.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
tags = ['static']
)
}}
SELECT
SELECT
token_id
, blockchain
, symbol
Expand All @@ -17,7 +17,6 @@ FROM
VALUES

('aave-new','avalanche_c','AAVE.e',0x63a72806098bd3d9520cc43356dd78afe5d386d9,18),
('axlusdc-axelar-usd-coin', 'avalanche_c', 'axlUSDC', 0xfab550568c688d5d8a52c7d794cb93edc26ec0ec, 6),
('axlusdt-axelar-usd-tether', 'avalanche_c', 'axlUSDT', 0xf976ba91b6bb3468c91e4f02e68b37bc64a57e66, 6),
('axlatom-axelar-wrapped-atom', 'avalanche_c', 'axlATOM', 0x80d18b1c9ab0c9b5d6a6d5173575417457d00a12, 6),
('frax-frax', 'avalanche_c', 'FRAX', 0xd24c2ad096400b6fbcd2ad8b24e7acbc21a1da64, 18),
Expand Down Expand Up @@ -51,5 +50,5 @@ FROM
('ico-axelar', 'avalanche_c', 'AXL', 0x44c784266cf024a60e8acf2427b9857ace194c5d, 6),
('grain-granary','avalanche_c','GRAIN',0x9df4ac62f9e435dbcd85e06c990a7f0ea32739a9,18),
('oath-oath','avalanche_c','OATH',0x2c69095d81305f1e3c6ed372336d407231624cea,18)

) as temp (token_id, blockchain, symbol, contract_address, decimals)
4 changes: 1 addition & 3 deletions models/prices/bnb/prices_bnb_tokens.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
tags = ['static']
)
}}
SELECT
SELECT
token_id
, blockchain
, symbol
Expand All @@ -25,7 +25,6 @@ FROM
('ankr-ankr-network', 'bnb', 'ANKR', 0xf307910a4c7bbc79691fd374889b36d8531b08e3, 18),
('atom-cosmos', 'bnb', 'ATOM', 0x0eb3a705fc54725037cc9e008bdede697f62f335, 18),
('auto-auto', 'bnb', 'AUTO', 0x1cff458b364d0d328d4c9d59d10be7d22d01953d, 18),
('axlusdc-axelar-usd-coin', 'bnb', 'axlUSDC', 0x4268b8f0b87b6eae5d897996e6b845ddbd99adf3, 6),
('axs-axie-infinity', 'bnb', 'AXS', 0x715d400f88c167884bbcc41c5fea407ed4d2f8a0, 18),
('banana-apeswap-finance', 'bnb', 'BANANA', 0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95, 18),
('bat-basic-attention-token', 'bnb', 'BAT', 0x101d82428437127bF1608F699CD651e6Abf9766E, 18),
Expand Down Expand Up @@ -153,7 +152,6 @@ FROM
('gst-gunstar-metaverse', 'bnb', 'GST', 0x4a2c860cec6471b9f5f5a336eb4f38bb21683c98, 18),
('bsw-biswap', 'bnb', 'BSW', 0x965f527d9159dce6288a2219db51fc6eef120dd1, 18),
('mines-of-dalarnia-dar','bnb', 'DAR', 0x23ce9e926048273ef83be0a3a8ba9cb6d45cd978, 6),
('chr-chroma', 'bnb', 'CHR', 0xf9cec8d50f6c8ad3fb6dccec577e05aa32b224fe,6),
('fgd-freedom-god-dao', 'bnb', 'FGD', 0x0566b9a8ffb8908682796751eed00722da967be0, 18),
('twt-trust-wallet-token','bnb', 'TWT', 0x4b0f1812e5df2a09796481ff14017e6005508003, 18),
('bfg-betfury', 'bnb' ,'BFG' ,0xbb46693ebbea1ac2070e59b4d043b47e2e095f86 ,18),
Expand Down
4 changes: 1 addition & 3 deletions models/prices/ethereum/prices_ethereum_tokens.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,6 @@ FROM
('collar-dog-collar', 'ethereum', 'COLLAR', 0x9783b81438c24848f85848f8df31845097341771, 18),
('cora-corrafinance', 'ethereum', 'CORA', 0x0077d27cb82ff12322987b225bfce0bb6e8931b4, 18),
('cxo-cargox', 'ethereum', 'CXO', 0xb6ee9668771a79be7967ee29a63d4184f8097143, 18),
('dar-dalarnia', 'ethereum', 'DAR', 0x081131434f93063751813c619ecca9c4dc7862a3, 6),
('ddos-disbalancer', 'ethereum', 'DDOS', 0x7fbec0bb6a7152e77c30d005b5d49cbc08a602c3, 18),
('epk-epik-protocol', 'ethereum', 'EPK', 0xdaf88906ac1de12ba2b1d2f7bfc94e9638ac40c4, 18),
('equad-quadrantprotocol', 'ethereum', 'EQUAD', 0xc28e931814725bbeb9e670676fabbcb694fe7df2, 18),
Expand Down Expand Up @@ -1548,7 +1547,6 @@ FROM
('fanc-fanc', 'ethereum', 'FANC', 0xbB126042235E6bD38B17744cb31a8bF4A206c045, 18),
('gob-goons-of-balatroon', 'ethereum', 'GOB', 0xd6929179D752d5D25c5efe2d9729eb77D7138A80, 18),
('jar-jarvis', 'ethereum', 'JAR', 0xa249DE6948022783765Fee4850d7b85E43118FCc, 18),
('oath-oath-token', 'ethereum', 'OATH', 0x6F9C26Fa731C7Ea4139Fa669962Cf8F1CE6C8b0B, 18),
('totm-totemfi', 'ethereum', 'TOTM', 0x6FF1BFa14A57594a5874B37ff6AC5efbD9F9599A, 18),
('bucc-buccaneer-v2', 'ethereum', 'BUCC', 0xd5a7d515Fb8B3337ACb9B053743E0BC18f50C855, 10),
('folo-follow', 'ethereum', 'FOLO', 0xB2a63A5Dd36C91eC2DA59B188ff047F66fac122a, 18),
Expand Down Expand Up @@ -1611,7 +1609,7 @@ FROM
('imgnai-imgnai', 'ethereum', 'IMGNAI', 0xA735A3AF76CC30791C61c10d585833829d36CBe0, 9),
('woxen-wrapped-oxen', 'ethereum', 'WOXEN', 0xd1e2d5085b39B80C9948AeB1b9aA83AF6756bcc5, 9),
('xrio-realio-network-utility-token-exchangable', 'ethereum', 'XRIO', 0x0B4AC2BA3D4924C9A06D9C1d08D7867059A39cC1, 18),
('weth-weth', 'ethereum', 'bpETH', 0x0000000000a39bb272e79075ade125fd351887ac, 18),
('weth-weth', 'ethereum', 'bpETH', 0x0000000000a39bb272e79075ade125fd351887ac, 18),
('grain-granary','ethereum','GRAIN',0xf88baf18fab7e330fa0c4f83949e23f52fececce,18),
('verse-verse-token', 'ethereum', 'VERSE', 0x249ca82617ec3dfb2589c4c17ab7ec9765350a18, 18),
('mc-merit-circle', 'ethereum', 'MC', 0x949d48eca67b17269629c7194f4b727d4ef9e5d6, 18),
Expand Down
59 changes: 29 additions & 30 deletions models/prices/fantom/prices_fantom_tokens.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
tags = ['static']
)
}}
SELECT
SELECT
token_id
, blockchain
, symbol
Expand All @@ -16,61 +16,60 @@ FROM
(
VALUES

('weth-weth', 'fantom', 'WETH', 0x74b23882a30290451A17c44f4F05243b6b58C76d, 18),
('weth-weth', 'fantom', 'WETH', 0x74b23882a30290451A17c44f4F05243b6b58C76d, 18),
('wbtc-wrapped-bitcoin', 'fantom', 'WBTC', 0x321162Cd933E2Be498Cd2267a90534A804051b11, 8),
('ftm-fantom', 'fantom', 'WFTM', 0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83, 18),
('aave-new', 'fantom', 'AAVE', 0x6a07A792ab2965C72a5B8088d3a069A7aC3a993B, 18),
('avax-avalanche', 'fantom', 'AVAX', 0x511D35c52a3C244E7b8bd92c0C297755FbD89212, 18),
('axlusdc-axelar-usd-coin', 'fantom', 'axlUSDC', 0x1b6382dbdea11d97f24495c9a90b7c88469134a4, 6),
('aave-new', 'fantom', 'AAVE', 0x6a07A792ab2965C72a5B8088d3a069A7aC3a993B, 18),
('avax-avalanche', 'fantom', 'AVAX', 0x511D35c52a3C244E7b8bd92c0C297755FbD89212, 18),
('axlusdt-axelar-usd-tether', 'fantom', 'axlUSDT', 0xd226392c23fb3476274ed6759d4a478db3197d82, 6),
('axlatom-axelar-wrapped-atom', 'fantom', 'axlATOM', 0x3bb68cb55fc9c22511467c18e42d14e8c959c4da, 6),
('crv-curve-dao-token', 'fantom', 'CRV', 0x1E4F97b9f9F913c46F1632781732927B9019C68b, 18),
('dai-dai', 'fantom', 'DAI', 0x8D11eC38a3EB5E956B052f67Da8Bdc9bef8Abf3E, 18),
('frax-frax', 'fantom', 'FRAX', 0xdc301622e621166BD8E82f2cA0A26c13Ad0BE355, 18),
('renbtc-renbtc', 'fantom', 'renBTC', 0xDBf31dF14B66535aF65AaC99C32e9eA844e14501, 8),
('usdc-usd-coin', 'fantom', 'USDC', 0x04068DA6C83AFCFA0e13ba15A6696662335D5B75, 6),
('tusd-trueusd', 'fantom', 'TUSD', 0x9879aBDea01a879644185341F7aF7d8343556B7a, 18),
('usdc-usd-coin', 'fantom', 'USDC', 0x04068DA6C83AFCFA0e13ba15A6696662335D5B75, 6),
('tusd-trueusd', 'fantom', 'TUSD', 0x9879aBDea01a879644185341F7aF7d8343556B7a, 18),
('fxs-frax-share', 'fantom', 'FXS', 0x7d016eec9c25232b01F23EF992D98ca97fc2AF5a, 18),
--('mcrt-magiccraft', 'fantom', 'MCRT', 0xE705aF5f63fcaBDCDF5016aA838EAaac35D12890, 9),
--('mcrt-magiccraft', 'fantom', 'MCRT', 0xE705aF5f63fcaBDCDF5016aA838EAaac35D12890, 9),
('tarot-tarot', 'fantom', 'TAROT', 0xC5e2B037D30a390e62180970B3aa4E91868764cD, 18),
('brush-brush', 'fantom', 'BRUSH', 0x85dec8c4B2680793661bCA91a8F129607571863d, 18),
('brush-brush', 'fantom', 'BRUSH', 0x85dec8c4B2680793661bCA91a8F129607571863d, 18),
-- ('tcs-timechain-swap-token', 'fantom', 'TCS', 0xFbfAE0DD49882e503982f8eb4b8B1e464ecA0b91, 18), -- inactive so commented out
('wbond-war-bond', 'fantom', 'WBOND', 0x59c6606ED2AF925F270733e378D6aF7829B5b3cf, 18),
('wbond-war-bond', 'fantom', 'WBOND', 0x59c6606ED2AF925F270733e378D6aF7829B5b3cf, 18),
('mimatic-mimatic', 'fantom', 'miMATIC', 0xfB98B335551a418cD0737375a2ea0ded62Ea213b, 18),
('fame-fantom-maker', 'fantom', 'FAME', 0x904f51a2E7eEaf76aaF0418cbAF0B71149686f4A, 18),
('boo-spookyswap', 'fantom', 'BOO', 0x841FAD6EAe12c286d1Fd18d1d525DFfA75C7EFFE, 18),
('fame-fantom-maker', 'fantom', 'FAME', 0x904f51a2E7eEaf76aaF0418cbAF0B71149686f4A, 18),
('boo-spookyswap', 'fantom', 'BOO', 0x841FAD6EAe12c286d1Fd18d1d525DFfA75C7EFFE, 18),
('hec-hector-dao', 'fantom', 'HEC', 0x5C4FDfc5233f935f20D2aDbA572F770c2E377Ab0, 9),
('geist-geist-finance', 'fantom', 'GEIST', 0xd8321AA83Fb0a4ECd6348D4577431310A6E0814d, 18),
('treeb-treeb', 'fantom', 'TREEB', 0xc60D7067dfBc6f2caf30523a064f416A5Af52963, 18),
('bsgg-betswapgg', 'fantom', 'BSGG', 0x5A33869045db8A6a16c9f351293501CFD92cf7ed, 18),
('treeb-treeb', 'fantom', 'TREEB', 0xc60D7067dfBc6f2caf30523a064f416A5Af52963, 18),
('bsgg-betswapgg', 'fantom', 'BSGG', 0x5A33869045db8A6a16c9f351293501CFD92cf7ed, 18),
('sex-solidex', 'fantom', 'SEX', 0xD31Fcd1f7Ba190dBc75354046F6024A9b86014d7, 18),
('tomb-tomb', 'fantom', 'TOMB', 0x6c021Ae822BEa943b2E66552bDe1D2696a53fbB7, 18),
('tomb-tomb', 'fantom', 'TOMB', 0x6c021Ae822BEa943b2E66552bDe1D2696a53fbB7, 18),
('tor-tor-ftm-token', 'fantom', 'TOR', 0x74E23dF9110Aa9eA0b6ff2fAEE01e740CA1c642e, 18),
('tshare-tomb-shares', 'fantom', 'TSHARE', 0x4cdF39285D7Ca8eB3f090fDA0C069ba5F4145B37, 18),
('lqdr-liquiddriver', 'fantom', 'LQDR', 0x10b620b2dbAC4Faa7D7FFD71Da486f5D44cd86f9, 18),
('weve-vedao', 'fantom', 'WeVE', 0x911da02C1232A3c3E1418B834A311921143B04d7, 18),
('beets-beethoven-x', 'fantom', 'BEETS', 0xF24Bcf4d1e507740041C9cFd2DddB29585aDCe1e, 18),
('beftm-beefy-escrowed-fantom', 'fantom', 'beFTM', 0x7381eD41F6dE418DdE5e84B55590422a57917886, 18),
('lqdr-liquiddriver', 'fantom', 'LQDR', 0x10b620b2dbAC4Faa7D7FFD71Da486f5D44cd86f9, 18),
('weve-vedao', 'fantom', 'WeVE', 0x911da02C1232A3c3E1418B834A311921143B04d7, 18),
('beets-beethoven-x', 'fantom', 'BEETS', 0xF24Bcf4d1e507740041C9cFd2DddB29585aDCe1e, 18),
('beftm-beefy-escrowed-fantom', 'fantom', 'beFTM', 0x7381eD41F6dE418DdE5e84B55590422a57917886, 18),
('bro-dexbrowser', 'fantom', 'BRO', 0x230576a0455d7Ae33c6dEfE64182C0BB68bAFAF3, 18),
('oath-oath', 'fantom', 'OATH', 0x21Ada0D2aC28C3A5Fa3cD2eE30882dA8812279B6, 18),
('scream-scream', 'fantom', 'SCREAM', 0xe0654C8e6fd4D733349ac7E09f6f23DA256bF475, 18),
('yoshi-yoshiexchange', 'fantom', 'YOSHI', 0x3dc57B391262e3aAe37a08D91241f9bA9d58b570, 18),
('sftmx-stader-sftmx', 'fantom', 'sFTMX', 0xd7028092c830b5C8FcE061Af2E593413EbbC1fc1, 18),
('pgk-penguin-kart', 'fantom', 'PGK', 0x188a168280589bC3E483d77aae6b4A1d26bD22dC, 18),
('wshec-wrapped-hec', 'fantom', 'wsHEC', 0x94CcF60f700146BeA8eF7832820800E2dFa92EdA, 18),
('flibero-fantom-libero-financial', 'fantom', 'FLIBERO', 0xC3f069D7439baf6D4D6E9478D9Cc77778E62D147, 18),
('imx-impermax', 'fantom', 'IMX', 0xeA38F1CCF77Bf43F352636241b05dd8f6F5f52B2, 18),
('solid-solidly', 'fantom', 'SOLID', 0x888EF71766ca594DED1F0FA3AE64eD2941740A20, 18),
('yoshi-yoshiexchange', 'fantom', 'YOSHI', 0x3dc57B391262e3aAe37a08D91241f9bA9d58b570, 18),
('sftmx-stader-sftmx', 'fantom', 'sFTMX', 0xd7028092c830b5C8FcE061Af2E593413EbbC1fc1, 18),
('pgk-penguin-kart', 'fantom', 'PGK', 0x188a168280589bC3E483d77aae6b4A1d26bD22dC, 18),
('wshec-wrapped-hec', 'fantom', 'wsHEC', 0x94CcF60f700146BeA8eF7832820800E2dFa92EdA, 18),
('flibero-fantom-libero-financial', 'fantom', 'FLIBERO', 0xC3f069D7439baf6D4D6E9478D9Cc77778E62D147, 18),
('imx-impermax', 'fantom', 'IMX', 0xeA38F1CCF77Bf43F352636241b05dd8f6F5f52B2, 18),
('solid-solidly', 'fantom', 'SOLID', 0x888EF71766ca594DED1F0FA3AE64eD2941740A20, 18),
('mst-metaland-gameverse', 'fantom', 'MST', 0x152888854378201e173490956085c711f1DeD565, 18),
('3omb-3omb-token', 'fantom', '3OMB', 0x14DEf7584A6c52f470Ca4F4b9671056b22f4FfDE, 18),
('gscarab-gscarab', 'fantom', 'GSCARAB', 0x6ab5660f0B1f174CFA84e9977c15645e4848F5D6, 18),
('3omb-3omb-token', 'fantom', '3OMB', 0x14DEf7584A6c52f470Ca4F4b9671056b22f4FfDE, 18),
('gscarab-gscarab', 'fantom', 'GSCARAB', 0x6ab5660f0B1f174CFA84e9977c15645e4848F5D6, 18),
('lif3-lif3', 'fantom', 'LIF3', 0xbf60e7414EF09026733c1E7de72E7393888C64DA, 18),
('oxd-0xdao', 'fantom', 'OXD', 0xc165d941481e68696f43EE6E99BFB2B23E0E3114, 18),
('ust-terrausd', 'fantom', 'USTC', 0xe2d27f06f63d98b8e11b38b5b08a75d0c8dd62b9, 6),
('luna-terra', 'fantom', 'LUNC', 0x95dd59343a893637be1c3228060ee6afbf6f0730, 6),
('2shares-2share', 'fantom', '2SHARES', 0xc54A1684fD1bef1f077a336E6be4Bd9a3096a6Ca, 18),
('2shares-2share', 'fantom', '2SHARES', 0xc54A1684fD1bef1f077a336E6be4Bd9a3096a6Ca, 18),
('3share-3share', 'fantom', '3SHARE', 0x6437adac543583c4b31bf0323a0870430f5cc2e7, 18),
('ico-axelar', 'fantom', 'AXL', 0x8b1f4432f943c465a973fedc6d7aa50fc96f1f65, 6),
('ico-axelar', 'fantom', 'AXL', 0x8b1f4432f943c465a973fedc6d7aa50fc96f1f65, 6),
('grain-granary', 'fantom', 'GRAIN', 0x02838746d9e1413e07ee064fcbada57055417f21, 18),
('mim-magic-internet-money', 'fantom', 'MIM', 0x82f0b8b456c1a451378467398982d4834b6829c1, 18)
) as temp (token_id, blockchain, symbol, contract_address, decimals)
1 change: 0 additions & 1 deletion models/prices/polygon/prices_polygon_tokens.sql
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ FROM
VALUES
('aave-new','polygon','AAVE',0xd6df932a45c0f255f85145f286ea0b292b21c90b,18),
('ageur-ageur','polygon','agEUR',0xe0b52e49357fd4daf2c15e02058dce6bc0057db4,18),
('axlusdc-axelar-usd-coin', 'polygon', 'axlUSDC', 0x750e4c4984a9e0f12978ea6742bc1c5d248f40ed, 6),
('axlusdt-axelar-usd-tether', 'polygon', 'axlUSDT', 0xceed2671d8634e3ee65000edbbee66139b132fbf, 6),
('axlatom-axelar-wrapped-atom', 'polygon', 'axlATOM', 0x33f8a5029264bcfb66e39157af3fea3e2a8a5067, 6),
('bal-balancer','polygon','BAL',0x9a71012b13ca4d3d0cdc72a177df3ef03b0e76a3,18),
Expand Down

0 comments on commit 8faa118

Please sign in to comment.