diff --git a/src/app/data/pontusx-name-resolver.ts b/src/app/data/pontusx-name-resolver.ts new file mode 100644 index 0000000000..3d7401dc0b --- /dev/null +++ b/src/app/data/pontusx-name-resolver.ts @@ -0,0 +1,13 @@ +import data from './pontusx-participants.json' + +type Entry = { + name: string + address: string +} + +const names: Entry[] = data + +const resolveTable = new Map() +names.forEach(entry => resolveTable.set(entry.address.toLowerCase(), entry.name)) + +export const getPontusXParticipant = (address: string) => resolveTable.get(address.toLowerCase()) diff --git a/src/app/data/pontusx-participants.json b/src/app/data/pontusx-participants.json new file mode 100644 index 0000000000..92c5a2d965 --- /dev/null +++ b/src/app/data/pontusx-participants.json @@ -0,0 +1,767 @@ +[ + { + "name": "deltaDAO AG 22.10", + "address": "0x628677D9A9d93a913182fa04893Da0ce4E6570Ee" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xf8A493af0e72C2C62651Bf7b7d1a006806Fb646f" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xf5b1E6f9a566E20de35d0C240D47F9cc08f33c0F" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x50499814AE402563b5c34F6BD2F5C829A7693964" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x04863f1E29Ea1aBF006fB1ecB129cAD892db0C90" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xdA9ED09a94B1A2315e22157d75fd0b0bfC63B6Cc" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x7AF6c5F0950A37b7C25da4367E9B56C03dE8234D" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xC0E3B447c1e7B22769952E89389Ef2cD9B812Cc5" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xBf252dD5b3a31A50Db34113e12517b21D143AC52" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x0bd21cF4Da78f74c483a1109ac3A30794FBd556B" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x9c26685b6E8e2997d9aAf3f1a642f1b1b3dB9580" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xd0ea08826FA10eEaA3871a6AE680E5f15149F355" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x4C84a36fCDb7Bc750294A7f3B5ad5CA8F74C4A52" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x68C24FA5b2319C81b34f248d1f928601D2E5246B" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x2859d961a6dBa6e7d30b2d383Af468edb4E7F4f6" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xaBaf56FC1bB6b4FF9fA4378C3C8723d2B2444324" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x0a7B96885b28deDE4a6887CA1150E36edb385BeE" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xDF1c35c3d5178e9d98043b35a6737Bd861c191c9" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x01e66950353400E93AEe7F041C0303103E2ef5Ab" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x862E3fe199723945a38871dE4F736f1233589CE5" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xFDC7BEc0aED8a584577fd59CbF56805eE8c976B3" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x5f525cd29377DC2155C2AbCDaC0Ce45e630318b7" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x3a69B365769a9dAb67865Ca5530c4B1D5259bCb7" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x97870c129abc9877b66534e49f152585D6Ca3655" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x1Ad061ad839f82C05767dACd2B5ab384E72B45a5" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xFd4b5ae43f2aA446b02209098438890d3998cC9F" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x732BF4fA8E57200621b0e1acbe8855c238823016" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xa76Fa6837A6ffc9F123F2193717A5965c68B0cbA" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xFaeb57c16D5E9A9f06c8c5dB12796f5a432Eb7d6" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xb501FDaad0F0863C4c72f7EB9Abc23965DCa973d" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x3dB4E0b1fC6072271BF51e9a0CC17E3c7C4C99f5" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xe2DD09d719Da89e5a3D0F2549c7E24566e947260" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x1072D3287A5cC513F40b425735E04355487f5F57" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x26818079Ba707b2facFfcdc41445322f0e7e3042" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x18aa7C29527E71b9F295f1bfB63e57F5a0A97282" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x8d4198E9af22863d4269dDA6a41eF2BfA187AbAc" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xb4026ac3562245bB0DAb9205D698Ab0410e3d723" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x24D68bFBA0fB06ccFfD21dC3a5c0B65207Bd479a" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xFB7Cb9F2E15F3935B22FB9846d69b46bD31edf07" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xa51815143e6C578D3c27A7b6fA6E4C1Dfcac555C" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x6432956a98E522F1B8a73a45245a5C6ff2c7f8f1" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xD1Cb3E73a7bC632d2279114AA2783dcaD06517ca" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0xAEC291E9Eb4293d45a5B8aBE3549c0C7464e5C24" + }, + { + "name": "deltaDAO AG 22.10", + "address": "0x4c7BfE3D6278eb996FC13c5f748bC7b1dBe593D8" + }, + { + "name": "PTW - TU Darmstadt", + "address": "0x4A806a4851472F7cFd579d3FF5465F03c3c2B5d4" + }, + { + "name": "PTW - TU Darmstadt", + "address": "0x21CF19e1FaF3A62f82B432f82152e8c5C0FdBdaF" + }, + { + "name": "PTW - TU Darmstadt", + "address": "0x9f4ceE0eBD03a1e9E4DcffaF876873d7a3e9595c" + }, + { + "name": "PTW - TU Darmstadt", + "address": "0x6E7bec8715955B6Cc90A5A1767cd981b90C5a245" + }, + { + "name": "IONOS SE", + "address": "0x81336c245712DbF0E971de5463173bCaA9826d84" + }, + { + "name": "IONOS SE", + "address": "0x005d24698bF41c398ECF15a93455621932a6e19F" + }, + { + "name": "Exoscale", + "address": "0x56eA3Cc92144Db3bA2bdE25131F40c7B98F7eD32" + }, + { + "name": "Wobcom 22.10", + "address": "0x9Dc6aDA184fc98012D74F1C4f3f223183A4745D4" + }, + { + "name": "Arsys", + "address": "0x0337b320DEfAddd9aDbC518f8A9cee30b606d15b" + }, + { + "name": "Arsys", + "address": "0xD7b90d6476091F6bc4CAaC40180FB300351fAb9F" + }, + { + "name": "State Library of Berlin", + "address": "0xF20113edd04d98A64AD2A003B836677E1c9aACAD" + }, + { + "name": "State Library of Berlin", + "address": "0x0279F7D611e8745BA16A4F1e83B752f8fc173870" + }, + { + "name": "State Library of Berlin", + "address": "0x6B33b4Cc1CAa5b49bB2752D23B9B78e524e17654" + }, + { + "name": "State Library of Berlin", + "address": "0x23035d7E3cddc44b345eBF9DDDA2e1aaeCeeEeA1" + }, + { + "name": "State Library of Berlin", + "address": "0xb98B9304860Be2a90F86CFa738dbedEb6C6AdF98" + }, + { + "name": "State Library of Berlin", + "address": "0xE098a4DE67034a17b23CDfB7E81C49296361974F" + }, + { + "name": "State Library of Berlin", + "address": "0x67c39F79B1e5430104bCc4009A6210EAeB2672Bf" + }, + { + "name": "State Library of Berlin", + "address": "0xEF193A800e956b9fF1c379B7Ac3C55FCA38aDB15" + }, + { + "name": "State Library of Berlin", + "address": "0x8337649C1d86ab41d42ef91E303B814f9FfEC04d" + }, + { + "name": "State Library of Berlin", + "address": "0xC309b5Cd4833315D495F8616A1B957E6c3F0Cc0b" + }, + { + "name": "State Library of Berlin", + "address": "0x04707912117fb09c68F48BDC15Cf78F50501fF92" + }, + { + "name": "State Library of Berlin", + "address": "0x92DCe2e6b29863CF190c520B81CB4153f2642a49" + }, + { + "name": "State Library of Berlin", + "address": "0xD274318C312174eb7CCe872eE415b7398c8dA2be" + }, + { + "name": "State Library of Berlin", + "address": "0x2E32B0e4e20C7A4162A6455b4A12e01D09472556" + }, + { + "name": "State Library of Berlin", + "address": "0x4d7fE037831F077583a259B6437E542EffD6f2cD" + }, + { + "name": "State Library of Berlin", + "address": "0xdf89102cDd2ccA60E88e480C6D609FB3bfFD4d54" + }, + { + "name": "University of Lleida", + "address": "0x62078F05Eb4450272D7E492F3660835826906822" + }, + { + "name": "Software AG", + "address": "0xa702032E187E6A53EAddC28a735B414220712689" + }, + { + "name": "Software AG", + "address": "0x0a477f6297413f20C4fBc15F93e34dacE4136123" + }, + { + "name": "TU Wien", + "address": "0x586000e6DA330E140b11a4aeEbb81963d67F336b" + }, + { + "name": "Materna SE 22.10", + "address": "0xf596D17C4a3A5c92c4721627B9e5E5064651BF46" + }, + { + "name": "Materna SE 22.10", + "address": "0xE90e1f337cBBaeD2bf30dD66165246e477F59158" + }, + { + "name": "Airbus", + "address": "0x3CEA8fBCbD1c745E081fD3937C18eE0b6Cc3f1b1" + }, + { + "name": "OHB 22.10", + "address": "0xF8dB4a6d529a14e3E029e2b8A9279f408909Fa20" + }, + { + "name": "T-Systems Multimedia Solutions GmbH", + "address": "0x48535044200dAE3FD4f5b5C3f9b077fa5c230Ef3" + }, + { + "name": "IKS – Gesellschaft für Informations- und Kommunikationssysteme mbH", + "address": "0x212c355c3ce41a272606da61F661dDd2b7F8a4B1" + }, + { + "name": "msg David GmbH", + "address": "0x44C34FbBB727bDC648E65feCfF3FB9D4c85f1fe4" + }, + { + "name": "Detecon", + "address": "0x8fBF860883BB71D691053A4363030Dc1c65f7017" + }, + { + "name": "SINTEF", + "address": "0x7DF1674a1e3449778eEB324652d3FF3Cb5046753" + }, + { + "name": "Peaq", + "address": "0xe3Df4851c094f5F6F1AC9AbfA4FC2075276195Ec" + }, + { + "name": "Datarella 22.10", + "address": "0xB21282F443EB0D490819d98F2976758af5C979B3" + }, + { + "name": "Datarella 22.10", + "address": "0x0aec046a558F13Ff18aAEc5E6f76084185358cdf" + }, + { + "name": "Bosch", + "address": "0x6fE8aD445AD86b3d1325F79955Ef28d6e9cb2258" + }, + { + "name": "TU Dortmund", + "address": "0x51Decd187744bCfAD1BAb0A3E71dD68fAC0ba478" + }, + { + "name": "RWS", + "address": "0xa98A6eefbAE870b88a9C7A43f4b50066A01c93b6" + }, + { + "name": "Craftworks", + "address": "0x9dfbda23b65efB1c836828D74a96eB8528A60f3C" + }, + { + "name": "Concircle Österreich GmbH", + "address": "0xb2AF8b92bFaC5299Cb6EDEf16150BFD1d4d26a93" + }, + { + "name": "DENSO AUTOMOTIVE Deutschland GmbH", + "address": "0x2b92BF0496B7B41ea2d723325DDE96651795c784" + }, + { + "name": "DENSO AUTOMOTIVE Deutschland GmbH", + "address": "0xe761F8e33c71D08A9323Cb2c711aB4Fae2634276" + }, + { + "name": "Struggle Creative Oy", + "address": "0x895975869261A215813e33568a295F94A3F301ed" + }, + { + "name": "Sphereon", + "address": "0xDa4fc9E82Ac4E44207a1f74137493D3437D80761" + }, + { + "name": "Austrian Institute of Technology", + "address": "0xfc739f2F91921eb710878ad2Ca38C147a784C96f" + }, + { + "name": "acatech", + "address": "0xF62bF6371Ee020Cb2164Ac3C338514DBbb93A0D4" + }, + { + "name": "Spanish Ministry of Economic Affairs and Digital Transformation", + "address": "0x6E1cE3530A12F89cF567788C132454E5dC7D3cCE" + }, + { + "name": "Eviden Germany GmbH 22.10", + "address": "0x943CaA8afCAdd2F64a7cE9E53A91d5ea0BEb40c1" + }, + { + "name": "Eviden Germany GmbH 22.10", + "address": "0x7A6246e02B2aA276203469Cfb839a2666520D8b5" + }, + { + "name": "TU Delft", + "address": "0x9391291b0Df512B20810183744De8272774b6655" + }, + { + "name": "Perpetuum Progress GmbH", + "address": "0x2ee3c4F19f90237B7C45cfAD6B5dC4b5840563Ec" + }, + { + "name": "Mercedes-Benz Singapore Pte. Ltd.", + "address": "0x203C7AA993EED06932FA327a192de9A8370b5Ab4" + }, + { + "name": "Mercedes-Benz Singapore Pte. Ltd.", + "address": "0x4d6240C7Ef355a2E85c13B26A49A35908ce853E5" + }, + { + "name": "Mercedes-Benz Singapore Pte. Ltd.", + "address": "0x2E33C6014222A47585605F8379a1877eaaF0ec13" + }, + { + "name": "Höchstleistungsrechenzentrum Stuttgart (HLRS)", + "address": "0x6bF77769e84045a9EAC64573e70a5562457C52ad" + }, + { + "name": "Ruhr-Universität Bochum", + "address": "0x17c8D253443F9E7305A2539d7aF177B21aAD3355" + }, + { + "name": "north.io GmbH", + "address": "0xFDF411B7A23182e7F0a635bdF0d25f0fCb2aAf74" + }, + { + "name": "CONTACT Software GmbH", + "address": "0x3560626F234eD181E807E4e31ded56D9aca1ac58" + }, + { + "name": "Universität Siegen", + "address": "0xF0926FbE8e60E54aFB4fD296B2698230ab32799b" + }, + { + "name": "AWS-Institut für digitale Produkte und Prozesse gGmbH", + "address": "0xAA782a260Ad773bca5Ff0535356CB0F7B94Cd254" + }, + { + "name": "5D Institut GmbH", + "address": "0x2aC6802160A74677B7cEC1aaD7E41Ec968D57896" + }, + { + "name": "Accenture", + "address": "0xFd1BEC7E551fAeA6102045D720dD693c4e9C8E06" + }, + { + "name": "Airbus Defence and Space GmbH", + "address": "0xa2199E3f60fC244037Efd5A77714CC05F604F855" + }, + { + "name": "Bernard Technologies GmbH", + "address": "0x5101ea56E29f5dc03285809b6157f0588ff255D0" + }, + { + "name": "Deutsches Forschungszentrum für Künstliche Intelligenz GmbH 22.10", + "address": "0x8B7f2b75B7F87D3125C8B0eDB85639B441BBcE21" + }, + { + "name": "Hochschule für angewandte Wissenschaften Kempten", + "address": "0xb11124Dfa40E44b3283068fd07bf6FdE60caf06A" + }, + { + "name": "Fraunhofer-Institut für Graphische Datenverarbeitung IGD", + "address": "0x632460b14aDd90aD9430e381B4662779cC1ab7a6" + }, + { + "name": "52°North GmbH", + "address": "0x1f65110b63B6044f1E92543C09231842131798C7" + }, + { + "name": "TrueOcean GmbH", + "address": "0xDFa29AE20eac7f203DdDbe15E1830985e99143B8" + }, + { + "name": "Institute for Language and Speech Processing", + "address": "0xFfA05d656465568BE83B11bf274c5458AC8401AC" + }, + { + "name": "Vicomtech", + "address": "0xb500BfE3d89b5D6b0d2b91841c3A3aD568Cb0FdC" + }, + { + "name": "Fraunhofer IAIS", + "address": "0x8BF36BEFC22a7b9c1a546139bFd4ae8420bcFf0e" + }, + { + "name": "Berger Holding GmbH & Co. KG", + "address": "0x2dB30B996C0E2990F836685Cf1A2939b3299f8e5" + }, + { + "name": "Christoph Kroschke GmbH", + "address": "0x224482ebcf914b9FA9E312036B377e26B676E534" + }, + { + "name": "Brinkhaus GmbH", + "address": "0xD580c01E2f503287006138a94eBBc537Fe7eBD25" + }, + { + "name": "Gühring KG", + "address": "0x4B107057aB8278c7d9436bf76230d16e5F7BaD16" + }, + { + "name": "Fraunhofer-Institut für Werkzeugmaschinen und Umformtechnik IWU 22.10", + "address": "0x7bf493b142AB0bb37c7f766A1585245901891685" + }, + { + "name": "imc information multimedia communication AG", + "address": "0x1c0c9211E8Ec8E0253A53880D5481e4580B62125" + }, + { + "name": "SAP Fioneer GmbH", + "address": "0xEEe803bEFd2B4f229E57523Edb11CDE38DD1a23E" + }, + { + "name": "NT Neue Technologie AG", + "address": "0xb828bA1850aA11daA1890896573Aa6008221A671" + }, + { + "name": "IONOS SE", + "address": "0x005d24698bF41c398ECF15a93455621932a6e19F" + }, + { + "name": "ScopeSET GmbH 22.10", + "address": "0x746d4715c24fc4d26D02A558ACF98dC717C68E1e" + }, + { + "name": "RIB Software GmbH", + "address": "0x1Bf21DCb771Aba18B1D23AA6D8a619C1AB1811a4" + }, + { + "name": "msg DAVID GmbH", + "address": "0x04FEA446847c3539d35Cca0a74Cb82Da811BAfc3" + }, + { + "name": "Arvato Systems GmbH", + "address": "0x69bF63B2Bb6A93fc4ff434595A72a4ED313E5698" + }, + { + "name": "Fraunhofer-Institut für Produktionsanlagen und Konstruktionstechnik", + "address": "0xEdfd506dd449Cd06c91f51Fe9DfE4e3E57B2F8f5" + }, + { + "name": "OSISM GmbH", + "address": "0x0763BfBcBfA0126b5A5509fB1185b7b6476BdAd8" + }, + { + "name": "Netcompany-Intrasoft S.A.", + "address": "0x54d2946677CC16E06Efd6161A4abFA17fc98Afc3" + }, + { + "name": "Stackable GmbH", + "address": "0x5880C2C30C922FE700fc079e1b6BBa7e9E7DE577" + }, + { + "name": "FZI Forschungszentrum Informatik 22.10", + "address": "0xc2350eA5913511A95c1aBED51de377A0b92846Be" + }, + { + "name": "ProCarement GmbH", + "address": "0x0c85Cd08E6643Fa3E4B75268431d19CcFC99C916" + }, + { + "name": "Hochschule Furtwangen University (HFU)", + "address": "0x1153265057782e8C57292CA590E50acC36037204" + }, + { + "name": "Daten-Kompetenzzentrum Städte und Regionen DKSR GmbH", + "address": "0xF211efa0C51559e6730db3Ba6FE1f1D46A68BE14" + }, + { + "name": "GMN Paul Müller Industrie GmbH & Co. KG", + "address": "0x7209bd8fDd841358a3CF9E7DaD8D9dCe2E4BbBB8" + }, + { + "name": "Fraunhofer-Institut für Offene Kommunikationssysteme FOKUS", + "address": "0xDB5807EacA2937f6264c5725538f8Ec357b4d3b2" + }, + { + "name": "Bechtle Aktiengesellschaft", + "address": "0x8482256AC35fcA568a53CfD77Af9538FEC0691bb" + }, + { + "name": "Bundesdruckerei Gruppe GmbH", + "address": "0x985f314171DFc0Ec3443E32b262c3135E094eD72" + }, + { + "name": "Fraunhofer IOSB", + "address": "0x99c030936B5E7381E65B645d3762A93147EB15F7" + }, + { + "name": "embeteco GmbH & Co. KG", + "address": "0x7104a77Ca5FfC6D3f0840048C307d05EA3b529C0" + }, + { + "name": "T-Systems International GmbH", + "address": "0x9c373e9f125497281f37AeF603fa99572856Bc38" + }, + { + "name": "IPROconsult GmbH", + "address": "0x8FAF0702C51c94b5848774129047d75cEe49EE87" + }, + { + "name": "Elektra Solar GmbH", + "address": "0x3EAbA16E4Ac451D85839A42eb9e7C61F157C88b7" + }, + { + "name": "Setlabs Research", + "address": "0x1c99F7C29EE0e79CAAD8E4d0Cc0b95D5Ece62294" + }, + { + "name": "Schüßler-Plan Digital GmbH", + "address": "0xb9C596E9eC598a865b51f3F53ae7d122B7b7a937" + }, + { + "name": "Data Machine Intelligence Solutions GmbH", + "address": "0xb7cF56a08F2B6ccF250B431125850968b7f6a950" + }, + { + "name": "Deutsches Zentrum für Luft- und Raumfahrt e. V. (DLR)", + "address": "0x4476123c4B4706cf88CbfA055b72726Baa1e8041" + }, + { + "name": "OHB System AG", + "address": "0x9309Ce467475DbB0a9c549B988F6571EB024507C" + }, + { + "name": "C&S Computer und Software GmbH", + "address": "0xb51d556E910Dd1887602034bbB66DA63EaA80ce2" + }, + { + "name": "eco - Verband der Internetwirtschaft e.V.", + "address": "0x007dB3DC8De9ae0F8AfeeBf1f7C92CcbD1A75Fd7" + }, + { + "name": "Institut für Automation und Kommunikation e. V.", + "address": "0xe70bBA7bC033Bf1Ce6Fa3328eCFAAc8966E66966" + }, + { + "name": "Fujitsu Services GmbH", + "address": "0xE4EE92b3a6B661b7148305Fa3A8d96062CBFAFc5" + }, + { + "name": "RADIUSMEDIA KG 22.10", + "address": "0x37e01308d6A0E322dECc457a13E0B2b2086D84B1" + }, + { + "name": "ahu GmbH Wasser Boden Geomatik", + "address": "0x9Adf8e343ec1C7dB2B44e420bB8F4Cc51dEbFb7a" + }, + { + "name": "Hochschule Offenburg (HSO)", + "address": "0xE64872A181F0695DA0660fE0B809a89A3bA359AA" + }, + { + "name": "FeltLabs", + "address": "0x533d456D3D5c16E6390647E2167678b7a76A4840" + }, + { + "name": "FeltLabs", + "address": "0x56e194D46fF305560f51D06cE84649C1DD91d2F8" + }, + { + "name": "BigchainDB GmbH", + "address": "0x61DB12d8b636Cb49ea09eCa58a893dA9480E1F33" + }, + { + "name": "Deal ex Machina", + "address": "0xC8a08b33995594bfdB0ef9c18EB72da0469E396F" + }, + { + "name": "Deloitte", + "address": "0x289Ff19C1e544B6E9488d5E79966491A2bAa88C9" + }, + { + "name": "3D Mapping Solutions GmbH", + "address": "0x2650e382770A04bE0f7E362ed578FB261A60F4b3" + }, + { + "name": "Feuerwehr Braunschweig", + "address": "0xc21854fC5B997afa00c75b5098842a61F6E18e5B" + }, + { + "name": "Airbus Defense and Space GmbH 22.10", + "address": "0x3561F6126Ce77A98fdC09DA2815919d5E04879D5" + }, + { + "name": "Airbus Defense and Space GmbH 22.10", + "address": "0xaDD9344fc33530dE1F2fb338de4Cf25f7d8a6E92" + }, + { + "name": "Airbus Defense and Space GmbH 22.10", + "address": "0xD9d17aC4b23222D0F9055723127acCaeeE834AD7" + }, + { + "name": "ZARM Technik AG 22.10", + "address": "0x81c337F4a5113E30919F588F178a361ade1D1Be2" + }, + { + "name": "htw Saar 22.10", + "address": "0xA38E2b6fFf3d9c66270253c7fE4Dcb5B088020D5" + }, + { + "name": "Centre de Visió per Computador (CVC) 22.10", + "address": "0x3BB6944351d156fAF798f952C2838ef5bac68E40" + }, + { + "name": "Freie und Hansestadt Hamburg 22.10", + "address": "0xC09c6A1d5538E7ed135d6146241c8da11e92130B" + }, + { + "name": "IGH Infotec AG 22.10", + "address": "0xA933f297ca605434850419951685ACeEcE2Bc88e" + }, + { + "name": "itemis AG 22.10", + "address": "0xd1E02B17524C53B337C22BF9D414bc15f933C3f0" + }, + { + "name": "inovex GmbH 22.10", + "address": "0x4DdaE8989871DB4fAB65d62775e20c577340F8bE" + }, + { + "name": "neusta aerospace GmbH 22.10", + "address": "0xAaeA7A824cffffFFf9Dd6EC51D7D7B0abA3f205F" + }, + { + "name": "DLR GfR mbH 22.10", + "address": "0xf9eaebd346E9D414f4D4210CB12e43cc226038cF" + }, + { + "name": "Valispace GmbH 22.10", + "address": "0xdbe749D939ea958aC64A5bdf163B05096E260572" + }, + { + "name": "grandcentrix GmbH 22.10", + "address": "0xAE823B7a6ad5b79da6d180Dbe91E7C810abAcCA4" + }, + { + "name": "DIO 22.10", + "address": "0x2B9C7E0d7Be68ec6b519Dad050CD0A4bf130B6A4" + }, + { + "name": "Consorci Centre d'Estudis Porcins (CEP) 22.10", + "address": "0x38f8c44FFaa8bE015F2DCDcD258ceBBed911840d" + }, + { + "name": "Vodafone Group Services Limited", + "address": "0x172b3eB3BDa62e81c171d340eC4a8C70f3d044EF" + }, + { + "name": "Vodafone Group Services Limited", + "address": "0xf1F30d7048775F02139Be30067e984F2C2d1812a" + }, + { + "name": "Vodafone Group Services Limited", + "address": "0x55Bde3d09a51C023E0BC206d79b3B3C1F4e39a63" + } +] + diff --git a/src/app/hooks/useAccountName.ts b/src/app/hooks/useAccountName.ts index 4bc6b55810..9a9f9acabd 100644 --- a/src/app/hooks/useAccountName.ts +++ b/src/app/hooks/useAccountName.ts @@ -1,6 +1,7 @@ import { SearchScope } from '../../types/searchScope' import Chance from 'chance' import { Layer } from '../../oasis-nexus/api' +import { getPontusXParticipant } from '../data/pontusx-name-resolver' const NO_MATCH = '__no_match__' @@ -17,12 +18,12 @@ const DEBUG_MODE = true /** * Look up the name of an account. */ -const lookupName = (scope: SearchScope, _address: string): string | undefined => { +const lookupName = (scope: SearchScope, address: string): string | undefined => { switch (scope.layer) { // TODO: look up the data case Layer.pontusx: - // Return mock data for 50% of times - return Math.random() < 0.5 ? new Chance().name() : undefined + return getPontusXParticipant(address) + default: // If debug mode is on, return mock names in ~50% of the cases, no nome otherwise return DEBUG_MODE && Math.random() < 0.5 ? new Chance().name() : undefined