(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{2945:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}n.r(t);var a=n(6),s=n(0),d=n(195),o=n(380),i=n(182),c=n(181),l=n(2281),p=n(2405),u=a.default.div.withConfig({displayName:"ContractAddresses__StyledContent",componentId:"sc-1ppo1yn-0"})(["margin:0 auto;width:690px;","{padding:0 16px;width:auto;}"],i.mediaQueries.MOBILE),m=a.default.div.withConfig({displayName:"ContractAddresses__StyledHeader",componentId:"sc-1ppo1yn-1"})(["display:flex;flex-direction:row-reverse;justify-content:space-between;margin:0 0 36px;padding:43px 0 0;width:100%;","{display:block;margin:0 0 19px;padding:16px 0 0;}"],i.mediaQueries.MOBILE),g=a.default.h2.withConfig({displayName:"ContractAddresses__StyledHeaderText",componentId:"sc-1ppo1yn-2"})(["font-size:24px;font-weight:bold;letter-spacing:-0.17px;line-height:30px;margin:0;"]),f=a.default.div.withConfig({displayName:"ContractAddresses__StyledNetwork",componentId:"sc-1ppo1yn-3"})(["color:",";font-size:13px;font-weight:bold;letter-spacing:-0.14px;line-height:21px;padding-top:5px;text-align:right;","{margin:0 0 24px;}"],i.colors.accent.CIVIL_GRAY_1,i.mediaQueries.MOBILE),y=function(e){var t=e.address,n=r(e,["address"]);return t?s.createElement(i.EthAddressViewer,Object.assign({address:Object(c.getFormattedEthAddress)(t)},n)):null};t.default=Object(d.connect)(function(e){var t=e.networkDependent.contractAddresses;return{network:e.network,contractAddresses:t}})(function(e){var t=e.contractAddresses,n=[["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(c.getEtherscanBaseURL)(e.network);return s.createElement(i.StyledMainContainer,null,s.createElement(o.Helmet,{title:"Contract Addresses - The Civil Registry"}),s.createElement(u,null,s.createElement(m,null,s.createElement(f,null,l.a[e.network]),s.createElement(g,null,"Contract Addresses")),n.map(function(e){var n=t.get(e[1]);return s.createElement(y,{displayName:e[0],address:n,key:"".concat(e[0],"_").concat(n),etherscanBaseURL:r})})))})}}]);
//# sourceMappingURL=contract-addresses-page.f888ab44.chunk.js.map