(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{2846:function(e,n,t){"use strict";function r(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}t.r(n);var a=t(35),i=t(0),c=t(183),o=t(7),s=t(356),d=t(161),l=t(160),u=t(2137),p=t(2271);function f(){var e=Object(a.a)(["\n  color: ",";\n  font-size: 13px;\n  font-weight: bold;\n  letter-spacing: -0.14px;\n  line-height: 21px;\n  padding-top: 5px;\n  text-align: right;\n\n  "," {\n    margin: 0 0 24px;\n  }\n"]);return f=function(){return e},e}function g(){var e=Object(a.a)(["\n  font-size: 24px;\n  font-weight: bold;\n  letter-spacing: -0.17px;\n  line-height: 30px;\n  margin: 0;\n"]);return g=function(){return e},e}function m(){var e=Object(a.a)(["\n  display: flex;\n  flex-direction: row-reverse;\n  justify-content: space-between;\n  margin: 0 0 36px;\n  padding: 43px 0 0;\n  width: 100%;\n\n  "," {\n    display: block;\n    margin: 0 0 19px;\n    padding: 16px 0 0;\n  }\n"]);return m=function(){return e},e}function E(){var e=Object(a.a)(["\n  margin: 0 auto;\n  width: 690px;\n\n  "," {\n    padding: 0 16px;\n    width: auto;\n  }\n"]);return E=function(){return e},e}var b=o.default.div(E(),d.mediaQueries.MOBILE),w=o.default.div(m(),d.mediaQueries.MOBILE),v=o.default.h2(g()),O=o.default.div(f(),d.colors.accent.CIVIL_GRAY_1,d.mediaQueries.MOBILE),h=function(e){var n=e.address,t=r(e,["address"]);return n?i.createElement(d.EthAddressViewer,Object.assign({address:Object(l.getFormattedEthAddress)(n)},t)):null};n.default=Object(c.connect)(function(e){var n=e.networkDependent.contractAddresses;return{network:e.network,contractAddresses:n}})(function(e){var n=e.contractAddresses,t=[["CVL Token Contract Address",p.a.TOKEN_ADDRESS],["Civil Registry Contract Address",p.a.TCR_ADDRESS],["Partial Lock Commit Reveal (PLCR) Voting Contract Address",p.a.PLCR_ADDRESS],["Registry Parameters Contract Address",p.a.PARAMETERIZER_ADDRESS]],r=Object(l.getEtherscanBaseURL)(e.network);return i.createElement(d.StyledMainContainer,null,i.createElement(s.Helmet,{title:"Contract Addresses - The Civil Registry"}),i.createElement(b,null,i.createElement(w,null,i.createElement(O,null,u.a[e.network]),i.createElement(v,null,"Contract Addresses")),t.map(function(e){var t=n.get(e[1]);return i.createElement(h,{displayName:e[0],address:t,key:"".concat(e[0],"_").concat(t),etherscanBaseURL:r})})))})}}]);