diff --git a/build/index.js b/build/index.js index edd4f60..15acc00 100644 --- a/build/index.js +++ b/build/index.js @@ -1 +1 @@ -!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("react"),require("deepmerge"),require("react-blockies"),require("web3"),require("react-cookies"),require("leap-core"),require("query-string"),require("react-motion"),require("rc-progress"),require("web3-utils"),require("md5"),require("prop-types"));else if("function"==typeof define&&define.amd)define(["react","deepmerge","react-blockies","web3","react-cookies","leap-core","query-string","react-motion","rc-progress","web3-utils","md5","prop-types"],e);else{var n="object"==typeof exports?e(require("react"),require("deepmerge"),require("react-blockies"),require("web3"),require("react-cookies"),require("leap-core"),require("query-string"),require("react-motion"),require("rc-progress"),require("web3-utils"),require("md5"),require("prop-types")):e(t.react,t.deepmerge,t["react-blockies"],t.web3,t["react-cookies"],t["leap-core"],t["query-string"],t["react-motion"],t["rc-progress"],t["web3-utils"],t.md5,t["prop-types"]);for(var o in n)("object"==typeof exports?exports:t)[o]=n[o]}}(window,function(t,e,n,o,r,a,s,i,c,l,u,f){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=9)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n=0?t="xDai":window.web3&&window.web3.currentProvider&&window.web3.currentProvider.host&&window.web3.currentProvider.host.indexOf("poa.network")>=0&&(t="POA"),this.state.config.DEBUG&&console.log("DAPPARATUS - translated network",t);try{this.state.config.DEBUG&&console.log("DAPPARATUS - getting accounts..."),window.web3.eth.getAccounts(function(n,o){if(!o||o.length<=0||e.state.web3Fellback){if(!e.state.hasRequestedAccess){e.state.config.DEBUG&&console.log("METAMASK - requesting access from user..."),e.setState({hasRequestedAccess:!0},function(){e.props.onUpdate(Object.assign({},e.state))});try{window.ethereum.enable().then(function(){e.props.onUpdate(Object.assign({},e.state))})}catch(n){console.log(n),e.setState({status:"private",network:t},function(){e.props.onUpdate(Object.assign({},e.state))})}}if(e.state.config.DEBUG&&console.log("DAPPARATUS - no inject accounts - generate? "),e.state.metaAccount&&e.state.metaAccount.address){var r=[];r.push(e.state.metaAccount.address),e.inspectAccounts(r,t)}else e.setState({status:"noaccount"},function(){if(e.state.config.metatxAccountGenerator)console.log("Connecting to "+e.state.config.metatxAccountGenerator+"..."),window.location=e.state.config.metatxAccountGenerator;else{console.log("Generating account...");try{var t=window.web3.eth.accounts.create();if(localStorage&&"function"==typeof localStorage.setItem)localStorage.setItem("metaPrivateKey",t.privateKey);else{var n=new Date;n.setDate(n.getDate()+365),i.default.save("metaPrivateKey",t.privateKey,{path:"/",expires:n})}var o=t.privateKey;(new d.default).eth.accounts.privateKeyToAccount(o).address.toLowerCase();e.setState({metaAccount:t,account:t.address.toLowerCase(),burnMetaAccount:y},function(){e.props.onUpdate(Object.assign({},e.state))})}catch(t){console.log(t)}}});e.state.metaAccount&&e.loadBlockBalanceAndName(e.state.metaAccount.address,t)}else e.state.config.DEBUG&&console.log("DAPPARATUS - injected account: ",o),y(!0),e.inspectAccounts(o,t),e.setState({metaAccount:!1})})}catch(e){console.log(e),-1!=this.state.metamask&&this.setState({metamask:-1,network:t,web3:web3})}}},{key:"inspectAccounts",value:function(t,e){var n=this;this.state.config.DEBUG&&console.log("DAPPARATUS - accounts:",t,this.state.account),t&&this.state.account&&(t.length<=0?console.log("RELOAD BECAUSE LOST ACCOUNTS?"):this.state.metaAccount||this.state.account==t[0].toLowerCase()||(window.location.reload(!0),console.log("RELOAD BECAUSE DIFFERENT ACCOUNTS?"))),t?t.length<=0?"locked"!=this.state.status&&this.setState({status:"locked",network:e},function(){n.props.onUpdate(Object.assign({},n.state))}):this.loadBlockBalanceAndName(t[0].toLowerCase(),e):"error"!=this.state.status&&this.setState({status:"error",network:e},function(){n.props.onUpdate(Object.assign({},n.state))})}},{key:"loadBlockBalanceAndName",value:function(t,e){var n=this;this.state.config.DEBUG&&console.log("LOADING BALANCE...");var o=void 0;(o="LeapTestnet"===e||"LeapMainet"===e?h.helpers.extendWeb3(new d.default(this.props.xdaiProvider)):window.web3).eth.getBlockNumber(function(r,a){n.state.config.DEBUG&&console.log("BLOCK",r,a),o.eth.getBalance(""+t,function(r,s,i){n.state.config.DEBUG&&console.log("BALANCE",r,s,i),"string"==typeof s?s=parseFloat(s)/1e18:s&&(s=s.toNumber()/1e18);var c="https://etherscan.io/";if(e&&("Unknown"==e||"private"==e?c="http://localhost:8000/#/":"POA"==e?c="https://blockscout.com/poa/core/":"xDai"==e?c="https://blockscout.com/poa/dai/":"Mainnet"!=e&&(c="https://"+e.toLowerCase()+".etherscan.io/")),n.state.config.DEBUG&&console.log("DAPPARATUS - etherscan",c),"ready"!=n.state.status||n.state.block!=a||n.state.balance!=s){o=new d.default(window.web3.currentProvider);-1===["Unknown","Private"].indexOf(e)&&n.state.config.DEBUG&&console.log("attempting to ens reverse account....");var l={status:"ready",block:a,balance:s,network:e,web3Provider:window.web3.currentProvider,etherscan:c,account:t.toLowerCase(),metaAccount:n.state.metaAccount};if("LeapTestnet"===e||"LeapMainnet"===e){var u=h.helpers.extendWeb3(new d.default(n.props.xdaiProvider));l.xdaiweb3=u}if(a!=n.state.block){if(n.state.lastBlockTime){var f=Date.now()-n.state.lastBlockTime;l.avgBlockTime=Math.round(4*n.state.avgBlockTime/5+f/5)}l.lastBlockTime=Date.now()}n.setState(l,function(){n.props.onUpdate(Object.assign({},n.state))})}})})}},{key:"render",value:function(){var t="loading.";if(this.props.config.hide)t=[];else if("loading"==this.state.status)t=s.default.createElement("a",{target:"_blank",href:"https://metamask.io/"},s.default.createElement("span",{style:this.state.config.textStyle},"loading..."),s.default.createElement("img",{style:{maxHeight:45,padding:5,verticalAlign:"middle"},src:l.default}));else if("noweb3"==this.state.status)t=s.default.createElement("a",{target:"_blank",href:"https://metamask.io/"},s.default.createElement("span",{style:this.state.config.textStyle},"No Web3 Connection"),s.default.createElement("img",{style:{maxHeight:45,padding:5,verticalAlign:"middle"},src:l.default}));else if("noaccount"==this.state.status){t="Generating Account..."}else if("locked"==this.state.status)t=s.default.createElement("div",{style:this.state.config.boxStyleBefore},s.default.createElement("span",{style:this.state.config.warningStyle},"Please Unlock MetaMask"),s.default.createElement("img",{style:{maxHeight:45,padding:5,verticalAlign:"middle"},src:l.default}));else if("error"==this.state.status)t=s.default.createElement("div",null,s.default.createElement("span",{style:this.state.config.warningStyle},"Error Connecting"),s.default.createElement("img",{style:{maxHeight:45,padding:5,verticalAlign:"middle"},src:"metamaskhah.png"}));else if("ready"==this.state.status){var e="";for(var n in this.state.config.requiredNetwork)"Unknown"!=this.state.config.requiredNetwork[n]&&""!=this.state.config.requiredNetwork[n]&&(""!=e&&(e+="or "),e+=this.state.config.requiredNetwork[n]+" ");if(!this.state.metaAccount&&this.state.config.requiredNetwork&&this.state.config.requiredNetwork.indexOf(this.state.network)<0)t=s.default.createElement("div",null,s.default.createElement("span",{style:this.state.config.warningStyle},"Please switch network to ",e),s.default.createElement("img",{style:{maxHeight:45,padding:5,verticalAlign:"middle"},src:l.default}));else{var o=this.state.network;this.state.config.hideNetworks.indexOf(o)>=0&&(o="");var r="";this.state.config.showBalance&&(r=Math.round(this.state.balance*this.state.config.ETHPRECISION)/this.state.config.ETHPRECISION);var a=this.state.account.substr(0,this.state.config.accountCutoff);this.props.replaceName?a=this.props.replaceName:this.state.ens&&(a=this.state.ens);var i=s.default.createElement("div",null,s.default.createElement("div",null,s.default.createElement("span",{style:this.state.config.textStyle},a)),s.default.createElement("div",null,s.default.createElement("span",{style:this.state.config.textStyle},o," ",s.default.createElement("img",{style:{maxHeight:24,padding:2,verticalAlign:"middle",marginTop:-4},src:u.default}),r)));this.props.customContent&&(i=this.props.customContent()),this.state.config.onlyShowBlockie&&(i=s.default.createElement("div",{style:{height:60}})),t=s.default.createElement("div",{style:this.state.config.boxStyle},s.default.createElement("a",{target:"_blank",href:this.state.etherscan+"address/"+this.state.account},i,s.default.createElement("div",{style:{position:"absolute",right:this.state.config.blockieStyle.right,top:this.state.config.blockieStyle.top},onClick:this.clickBlockie},s.default.createElement(p.default,{seed:this.state.account,scale:this.state.config.blockieStyle.size}))))}}else t="error unknown state: "+this.state.status;return s.default.createElement("div",{style:this.state.config.outerBoxStyle},s.default.createElement(f.default,{config:{origin:"top right",adjustedZoom:1.5}},t))}}]),e}();e.default=k},function(t,e){t.exports=r},function(t,e,n){var o=n(14);"string"==typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:void 0};n(16)(o,r);o.locals&&(t.exports=o.locals)},function(t,e,n){(t.exports=n(15)(!1)).push([t.i,".grow { transition: all .1s ease-in-out; outline: none;}\n.grow:hover { transform: scale(1.1); outline: none;}\n.grow:active { transform: scale(0.95); filter:grayscale(100%); outline: none;}\n",""])},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"==typeof btoa){var r=(s=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),a=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[n].concat(a).concat([r]).join("\n")}var s;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r=0&&u.splice(e,1)}function v(t){var e=document.createElement("style");return t.attrs.type="text/css",m(e,t.attrs),h(t,e),e}function m(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function b(t,e){var n,o,r,a;if(e.transform&&t.css){if(!(a=e.transform(t.css)))return function(){};t.css=a}if(e.singleton){var s=l++;n=c||(c=v(e)),o=k.bind(null,n,s,!1),r=k.bind(null,n,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",m(e,t.attrs),h(t,e),e}(e),o=function(t,e,n){var o=n.css,r=n.sourceMap,a=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||a)&&(o=f(o));r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var s=new Blob([o],{type:"text/css"}),i=t.href;t.href=URL.createObjectURL(s),i&&URL.revokeObjectURL(i)}.bind(null,n,e),r=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(e),o=function(t,e){var n=e.css,o=e.media;o&&t.setAttribute("media",o);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){g(n)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=s()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=d(t,e);return p(n,e),function(t){for(var o=[],r=0;r0&&e.average<200){e.average=e.average+.05*e.average;var n=Math.round(100*e.average)/1e3;if(t.state.gwei!==n){var o={gwei:n};t.setState(o),t.props.onUpdate(o)}}})}},{key:"render",value:function(){return!this.state.config.hide&&a.default.createElement("div",{style:{padding:10}},a.default.createElement("b",null,"Gas"),a.default.createElement("div",null,a.default.createElement("i",null,this.state.gwei," wei")))}}]),e}();e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n=0&&(o="");var r="";this.state.config.showBalance&&(r=Math.round(this.state.balance*this.state.config.ETHPRECISION)/this.state.config.ETHPRECISION);var a=this.state.account.substr(0,this.state.config.accountCutoff);this.state.ens&&(a=this.state.ens),t=s.default.createElement("div",{style:this.state.config.boxStyle},s.default.createElement("a",{target:"_blank",href:this.state.etherscan+"address/"+this.state.account},s.default.createElement("div",null,s.default.createElement("span",{style:this.state.config.textStyle},a)),s.default.createElement("div",null,s.default.createElement("span",{style:this.state.config.textStyle},o," ",s.default.createElement("img",{style:{maxHeight:24,padding:2,verticalAlign:"middle",marginTop:-4},src:l.default}),r)),s.default.createElement("div",{style:{position:"absolute",right:this.state.config.blockieStyle.right,top:this.state.config.blockieStyle.top},onClick:this.clickBlockie},s.default.createElement(f.default,{seed:this.state.account,scale:this.state.config.blockieStyle.size}))))}}else t="error unknown state: "+this.state.status;return s.default.createElement("div",{style:this.state.config.outerBoxStyle},s.default.createElement(u.default,{config:{origin:"top right",adjustedZoom:1.5}},t))}}]),e}();e.default=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n0&&(o[r].errorCode=1)}t.setState({transactions:o})}).on("transactionHash",function(e){t.state.config.DEBUG&&console.log("TX HASH",e);var n=t.state.transactions,o=!1;for(var r in n)n[r].hash==e&&(o=!0);if(!o){t.state.config.DEBUG&&console.log("Adding tx to list...");var a=t.state.transactions;a.push({hash:e,time:Date.now(),addedFromTxHash:1}),t.setState({transactions:a})}}).on("receipt",function(e){t.state.config.DEBUG&&console.log("TX RECEIPT",e);var n=t.state.transactions;for(var o in n)n[o].hash==e.transactionHash&&(n[o].receipt=1);t.setState({transactions:n})}).on("confirmation",function(e,n){t.state.config.DEBUG&&console.log("TX CONFIRM",e,n);var o=t.state.transactions;for(var r in o)o[r].hash==n.transactionHash&&(o[r].confirmations?o[r].confirmations=o[r].confirmations+1:o[r].confirmations=1);t.setState({transactions:o})}).then(function(e){t.state.config.DEBUG&&console.log("TX THEN",e);var n=t.state.transactions;for(var o in n)n[o].hash==e.transactionHash&&(n[o].then=1);t.setState({transactions:n})}));case 28:case"end":return e.stop()}},e,t,[[8,18]])}));return function(t,n,o,r,a){return e.apply(this,arguments)}}(),send:function(){var e=d(regeneratorRuntime.mark(function e(n,o,r,a,s){var i,c,l,u,f,p,d,h,g;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=t.props,i.metaContract,c=i.account,i.web3,l=t.props.web3.utils.toWei(""+o,"ether"),u=3e4,"function"==typeof r?s=r:r&&(u=r),f=!1,"function"==typeof a?s=a:f=a,console.log("DAPPARATUS SENDING WITH GAS LIMIT",u),p=void 0,!t.props.metaAccount){e.next=16;break}console.log("sending with meta account:",t.props.metaAccount.address),d={to:n,value:l,gas:u,gasPrice:Math.round(1e9*t.props.gwei)},f&&(d.data=f),console.log("TX SIGNED TO METAMASK:",d),t.props.web3.eth.accounts.signTransaction(d,t.props.metaAccount.privateKey).then(function(e){console.log("SIGNED:",e),t.props.web3.eth.sendSignedTransaction(e.rawTransaction).on("receipt",function(t){console.log("META RECEIPT",t),s(t)})}),e.next=24;break;case 16:return h=!1,"function"==typeof a?s=a:h=a,g={from:c,to:n,value:l,gas:u,gasPrice:Math.round(1e9*t.props.gwei)},h&&(g.data=h),console.log("sending with injected web3 account"),e.next=23,t.props.web3.eth.sendTransaction(g);case 23:p=e.sent;case 24:console.log("RESULT:",p),s(p);case 26:case"end":return e.stop()}},e,t)}));return function(t,n,o,r,a){return e.apply(this,arguments)}}(),pTx:function(){for(var t=arguments.length,n=Array(t),o=0;ot.state.config.TIMETOKEEPTXSAROUND&&(a[e].closed=!0,t.state.config.DEBUG&&console.log("CLOSING TX",a[e]),t.setState({transactions:a}))}};for(var l in a)c(l);if(s)if(s!=o+1){var u=this.state.transactions;u.push({block:o+1,time:Date.now()}),this.setState({transactions:u,currentBlock:o+1})}else this.setState({currentTime:Date.now()});else{s=o+1;var f=this.state.transactions;f.push({block:o+1,time:Date.now()}),this.setState({transactions:f,currentBlock:o+1})}}},{key:"render",value:function(){var t=this;if(this.state&&this.state.config&&this.state.config.hide)return a.default.createElement("div",null);var e=[];this.state.transactions.map(function(n){if(n.hash){var o=n.hash.substring(0,14),r=Date.now()-n.time,s=Math.min(100,Math.round(100*r/(t.props.avgBlockTime*t.state.config.EXPECTEDPROGRESSBARVSAVGBLOCKTIME*1.5))),u=10,f=0,p="#2db7f5";n.fullReceipt?(p="#4ee426",f=1,s=100):s<15?p="#c8e3f0":s<30?p="#9bd6f0":s<60&&(p="#7ccbef"),n.closed&&(u=-250),s>=100&&!f&&(p="#e4d426"),1==n.errorCode?p="#e93636":2==n.errorCode&&(p="#e9a336"),e.push(a.default.createElement(i.Motion,{key:"tx"+n.hash,defaultStyle:{outAmount:-250},style:{outAmount:(0,i.spring)(u,{stiffness:80,damping:8})}},function(e){return a.default.createElement("div",{style:{position:"relative",width:200,height:31,marginTop:5,right:e.outAmount}},a.default.createElement("a",{target:"_blank",href:t.props.etherscan+"tx/"+n.hash},a.default.createElement(c.Line,{percent:s,width:50,strokeWidth:"20",strokeColor:p})," ",o))}))}else if(n.block){var d=Date.now()-n.time,h=Math.min(100,Math.round(100*d/(t.props.avgBlockTime*t.state.config.EXPECTEDPROGRESSBARVSAVGBLOCKTIME))),g=0,v=10,m="#2db7f5";t.state.currentBlock!=n.block?(g=1,h=100,m="#4ee426"):h<15?m="#c8e3f0":h<30?m="#9bd6f0":h<60&&(m="#7ccbef"),n.closed&&(v=-200),h>=100&&!g&&(m="#e4d426"),e.push(a.default.createElement(l.default,{config:{origin:"bottom right",adjustedZoom:1.2},key:"block"+n.block},a.default.createElement(i.Motion,{defaultStyle:{outAmount:-200},style:{outAmount:(0,i.spring)(v,{stiffness:80,damping:8})}},function(e){return a.default.createElement("div",{style:{position:"relative",width:200,height:31,margin:10,right:e.outAmount}},a.default.createElement("a",{target:"_blank",href:t.props.etherscan+"block/"+n.block},a.default.createElement(c.Line,{width:100,percent:h,strokeWidth:"10",strokeColor:m})," #",n.block," "))})))}});var n=40*e.length;return a.default.createElement("div",{style:{fontSize:16,zIndex:10,position:"fixed",paddingTop:30,marginBottom:0,textAlign:"right",bottom:100,right:0,opacity:1,height:n,width:220,paddingLeft:10}},e)}}]),e}();e.default=m},function(t,e){t.exports=i},function(t,e){t.exports=c},function(t,e){t.exports=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}(t,["tokenAddress","size"]);return o.default.createElement("img",{style:{width:n,height:n},onError:function(t){return t.target.src=a.default},size:n,src:e?"https://raw.githubusercontent.com/TrustWallet/tokens/master/images/"+e+".png":a.default,alt:e})};i.propTypes={tokenAddress:r.default.string,size:r.default.number},i.defaultProps={tokenAddress:null,size:20},e.default=i},function(t,e){t.exports=f},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAABRtJREFUWAnFV1lInVcQnnvrHq271EtBNFKTqEXBpaBBK6JSUakgInkQ8UlQEUEQRAWhEl9c8EEEQR8affChYi2+iC3iBoqgYlwQtzS3RtG470vnm/jfXPW/V22T9sD5z/ln5sw3/5w5c+bX0D2bv7+/1fHx8fcXFxfJGo3m2eXlpY5HHZbzXM9zPY+vtVptp7W19e9TU1Mn91GtuUuIgb86PDwsY4AXDPDlXfLgs+wOy76ytbWtYENWza0xaYCvr681KynhXsgKHplTYoa3z8ZUc/9pfn7+WE1O1QB89dHR0S8M/p3aoofS2IBhGxubH9W8ccsAPz+/b8/Ozn5j8K8fCmROno34k3X+sLCwMGksd82Aqy8f+dTgCiCMYE+EGnvCYMDVnv/xqdyugN4csR3co5WY0CoCDIyAU93zsrIyGh4eNnRvb28aGhqS3tnZSTExMaImNDSUenp6aHJykhobG4m/VlFvGIEBLIUgBsD1TES0qzYHBweamJiglJQU6Ts7O+Th4UElJSU0MDBA1dXVsq6yspIGBwcpPj6ewsLCKCkpSVUfsIAJphiAc85zs0fNysqKnJ2dydLSkjgZieKNjQ3ioKLz83OhwzO9vb2k1+spOTlZvCGCtx+PrjBJy5ZY8Z68uC1znRIUFCRfmp2djcwnzJaWFnr58iXV1dXJO+uhk5MPCfDNmzf0/v3760qM3oAJbAukV1Z4Z4br6+uj/Px8UeHk5CRjQUEBBQQEEMbW1lbxhJ2dnfCwBe/evaPl5WUj2I9TYAJbi9z+kWx65uLiQiEhIdKxHWhbW1vickdHR3J1dSU+XpSamkrh4eHU1NREgYGBphUyB9hadsUzs1LMXFpakj0uKioidET36Ogo7e/vy35j7ubmRoWFhSJXXl5O7e3t1N3dbVY1sDU+Pj6zLPWNWcnPx5yzYCt0SlCZw4mLi6OMjAxyd3en6elpqq2tpbdv3xqWPH/+nDIzM8UTIyMjVFNTQwcHBwa+2gTYmsePH++yAfZqAgoN5xmAULi9vU2enp7iepx30CIjI6m5uVlOAALPy8tLtig9PV1RoTqyAbtaBterco2IOTk58lZcXExRUVFy9nU6HUVERAg9Ly+PuBCRxBQbG0uLi4sSrArfSNW1KWP/hSC80wCk4ba2Nurv75ejhkSDhpOB9uTJExkRjEhSY2Nj8v706VMZTT2AbcFWvGaBaFNCoFdUVBjYyAFISmjj4+PE5RfZ23/YwfX1daErI06GuQZs9py205zQTR62AYBdXV00MzNzk/2gd2BrUUCyK3buszIxMZHS0tJoZWWFSktL77PEpAwwga3l7HXCrnhlUvKKwZUSVVVV0enpKeXm5hJuRDTkfiX/KxkSFxba3t6ejGoPYAJbbkNUryy0ryYIGq7jhoYGYjmqr6+XlKvIsiLxCN75SAtZGZFBTbT9K0z6AgIcNHsc0ageotQW4MuR3wGGGw5JKSEhgbiKIiQdHMHo6Gg5ejgR2Kq1tTVCIYOr+mZj91fNzs7+CroYgAlfJoM8xHK/VYxmZWVJhoMyTt0CDHBWRB0dHVIBwf1ISMHBwTQ3NyfbtLp6+5eA16Aky97c3BTLDDUhjECVwuX4Py5KYRBOyO7uLtTdasw3XZQq0v91WS5BqIBj5L2ZQOkMVxnT/80cuqDz5j8BdBpiwBgAQckx8TPTUHuFcLcy5j9gjl+zKu7Z/GHbauuuxYCaAOLif/k5vWkMCsjP8Xv+N2Xvb3iUfI9yAAAAAElFTkSuQmCC"}])}); \ No newline at end of file +!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("react"),require("deepmerge"),require("react-blockies"),require("web3"),require("react-cookies"),require("leap-core"),require("query-string"),require("react-motion"),require("rc-progress"),require("web3-utils"),require("md5"),require("prop-types"));else if("function"==typeof define&&define.amd)define(["react","deepmerge","react-blockies","web3","react-cookies","leap-core","query-string","react-motion","rc-progress","web3-utils","md5","prop-types"],e);else{var n="object"==typeof exports?e(require("react"),require("deepmerge"),require("react-blockies"),require("web3"),require("react-cookies"),require("leap-core"),require("query-string"),require("react-motion"),require("rc-progress"),require("web3-utils"),require("md5"),require("prop-types")):e(t.react,t.deepmerge,t["react-blockies"],t.web3,t["react-cookies"],t["leap-core"],t["query-string"],t["react-motion"],t["rc-progress"],t["web3-utils"],t.md5,t["prop-types"]);for(var o in n)("object"==typeof exports?exports:t)[o]=n[o]}}(window,function(t,e,n,o,r,a,s,i,c,l,u,f){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=9)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n=0?t="xDai":window.web3&&window.web3.currentProvider&&window.web3.currentProvider.host&&window.web3.currentProvider.host.indexOf("poa.network")>=0&&(t="POA"),this.state.config.DEBUG&&console.log("DAPPARATUS - translated network",t);try{this.state.config.DEBUG&&console.log("DAPPARATUS - getting accounts..."),window.web3.eth.getAccounts(function(n,o){if(!o||o.length<=0||e.state.web3Fellback){if(!e.state.hasRequestedAccess){e.state.config.DEBUG&&console.log("METAMASK - requesting access from user..."),e.setState({hasRequestedAccess:!0},function(){e.props.onUpdate(Object.assign({},e.state))});try{window.ethereum.enable().then(function(){e.props.onUpdate(Object.assign({},e.state))})}catch(n){console.log(n),e.setState({status:"private",network:t},function(){e.props.onUpdate(Object.assign({},e.state))})}}if(e.state.config.DEBUG&&console.log("DAPPARATUS - no inject accounts - generate? "),e.state.metaAccount&&e.state.metaAccount.address){var r=[];r.push(e.state.metaAccount.address),e.inspectAccounts(r,t)}else e.setState({status:"noaccount"},function(){if(e.state.config.metatxAccountGenerator)console.log("Connecting to "+e.state.config.metatxAccountGenerator+"..."),window.location=e.state.config.metatxAccountGenerator;else{console.log("Generating account...");try{var t=window.web3.eth.accounts.create();if(localStorage&&"function"==typeof localStorage.setItem)localStorage.setItem("metaPrivateKey",t.privateKey);else{var n=new Date;n.setDate(n.getDate()+365),i.default.save("metaPrivateKey",t.privateKey,{path:"/",expires:n})}var o=t.privateKey;(new d.default).eth.accounts.privateKeyToAccount(o).address.toLowerCase();e.setState({metaAccount:t,account:t.address.toLowerCase(),burnMetaAccount:y},function(){e.props.onUpdate(Object.assign({},e.state))})}catch(t){console.log(t)}}});e.state.metaAccount&&e.loadBlockBalanceAndName(e.state.metaAccount.address,t)}else e.state.config.DEBUG&&console.log("DAPPARATUS - injected account: ",o),y(!0),e.inspectAccounts(o,t),e.setState({metaAccount:!1})})}catch(e){console.log(e),-1!=this.state.metamask&&this.setState({metamask:-1,network:t,web3:web3})}}},{key:"inspectAccounts",value:function(t,e){var n=this;this.state.config.DEBUG&&console.log("DAPPARATUS - accounts:",t,this.state.account),t&&this.state.account&&(t.length<=0?console.log("RELOAD BECAUSE LOST ACCOUNTS?"):this.state.metaAccount||this.state.account==t[0].toLowerCase()||(window.location.reload(!0),console.log("RELOAD BECAUSE DIFFERENT ACCOUNTS?"))),t?t.length<=0?"locked"!=this.state.status&&this.setState({status:"locked",network:e},function(){n.props.onUpdate(Object.assign({},n.state))}):this.loadBlockBalanceAndName(t[0].toLowerCase(),e):"error"!=this.state.status&&this.setState({status:"error",network:e},function(){n.props.onUpdate(Object.assign({},n.state))})}},{key:"loadBlockBalanceAndName",value:function(t,e){var n=this;this.state.config.DEBUG&&console.log("LOADING BALANCE...");var o=void 0;(o="LeapTestnet"===e||"LeapMainet"===e?h.helpers.extendWeb3(new d.default(this.props.xdaiProvider)):window.web3).eth.getBlockNumber(function(r,a){n.state.config.DEBUG&&console.log("BLOCK",r,a),o.eth.getBalance(""+t,function(r,s,i){n.state.config.DEBUG&&console.log("BALANCE",r,s,i),"string"==typeof s?s=parseFloat(s)/1e18:s&&(s=s.toNumber()/1e18);var c="https://etherscan.io/";if(e&&("Unknown"==e||"private"==e?c="http://localhost:8000/#/":"POA"==e?c="https://blockscout.com/poa/core/":"xDai"==e?c="https://blockscout.com/poa/dai/":"Mainnet"!=e&&(c="https://"+e.toLowerCase()+".etherscan.io/")),n.state.config.DEBUG&&console.log("DAPPARATUS - etherscan",c),"ready"!=n.state.status||n.state.block!=a||n.state.balance!=s){o=new d.default(window.web3.currentProvider);-1===["Unknown","Private"].indexOf(e)&&n.state.config.DEBUG&&console.log("attempting to ens reverse account....");var l={status:"ready",block:a,balance:s,network:e,web3Provider:window.web3.currentProvider,etherscan:c,account:t.toLowerCase(),metaAccount:n.state.metaAccount};if("LeapTestnet"===e||"LeapMainnet"===e){var u=h.helpers.extendWeb3(new d.default(n.props.xdaiProvider));l.xdaiweb3=u}if(a!=n.state.block){if(n.state.lastBlockTime){var f=Date.now()-n.state.lastBlockTime;l.avgBlockTime=Math.round(4*n.state.avgBlockTime/5+f/5)}l.lastBlockTime=Date.now()}n.setState(l,function(){n.props.onUpdate(Object.assign({},n.state))})}})})}},{key:"render",value:function(){var t="loading.";if(this.props.config.hide)t=[];else if("loading"==this.state.status)t=s.default.createElement("a",{target:"_blank",href:"https://metamask.io/"},s.default.createElement("span",{style:this.state.config.textStyle},"loading..."),s.default.createElement("img",{style:{maxHeight:45,padding:5,verticalAlign:"middle"},src:l.default}));else if("noweb3"==this.state.status)t=s.default.createElement("a",{target:"_blank",href:"https://metamask.io/"},s.default.createElement("span",{style:this.state.config.textStyle},"No Web3 Connection"),s.default.createElement("img",{style:{maxHeight:45,padding:5,verticalAlign:"middle"},src:l.default}));else if("noaccount"==this.state.status){t="Generating Account..."}else if("locked"==this.state.status)t=s.default.createElement("div",{style:this.state.config.boxStyleBefore},s.default.createElement("span",{style:this.state.config.warningStyle},"Please Unlock MetaMask"),s.default.createElement("img",{style:{maxHeight:45,padding:5,verticalAlign:"middle"},src:l.default}));else if("error"==this.state.status)t=s.default.createElement("div",null,s.default.createElement("span",{style:this.state.config.warningStyle},"Error Connecting"),s.default.createElement("img",{style:{maxHeight:45,padding:5,verticalAlign:"middle"},src:"metamaskhah.png"}));else if("ready"==this.state.status){var e="";for(var n in this.state.config.requiredNetwork)"Unknown"!=this.state.config.requiredNetwork[n]&&""!=this.state.config.requiredNetwork[n]&&(""!=e&&(e+="or "),e+=this.state.config.requiredNetwork[n]+" ");if(!this.state.metaAccount&&this.state.config.requiredNetwork&&this.state.config.requiredNetwork.indexOf(this.state.network)<0)t=s.default.createElement("div",null,s.default.createElement("span",{style:this.state.config.warningStyle},"Please switch network to ",e),s.default.createElement("img",{style:{maxHeight:45,padding:5,verticalAlign:"middle"},src:l.default}));else{var o=this.state.network;this.state.config.hideNetworks.indexOf(o)>=0&&(o="");var r="";this.state.config.showBalance&&(r=Math.round(this.state.balance*this.state.config.ETHPRECISION)/this.state.config.ETHPRECISION);var a=this.state.account.substr(0,this.state.config.accountCutoff);this.props.replaceName?a=this.props.replaceName:this.state.ens&&(a=this.state.ens);var i=s.default.createElement("div",null,s.default.createElement("div",null,s.default.createElement("span",{style:this.state.config.textStyle},a)),s.default.createElement("div",null,s.default.createElement("span",{style:this.state.config.textStyle},o," ",s.default.createElement("img",{style:{maxHeight:24,padding:2,verticalAlign:"middle",marginTop:-4},src:u.default}),r)));this.props.customContent&&(i=this.props.customContent()),this.state.config.onlyShowBlockie&&(i=s.default.createElement("div",{style:{height:60}})),t=s.default.createElement("div",{style:this.state.config.boxStyle},s.default.createElement("a",{target:"_blank",href:this.state.etherscan+"address/"+this.state.account},i,s.default.createElement("div",{style:{position:"absolute",right:this.state.config.blockieStyle.right,top:this.state.config.blockieStyle.top},onClick:this.clickBlockie},s.default.createElement(p.default,{seed:this.state.account,scale:this.state.config.blockieStyle.size}))))}}else t="error unknown state: "+this.state.status;return s.default.createElement("div",{style:this.state.config.outerBoxStyle},s.default.createElement(f.default,{config:{origin:"top right",adjustedZoom:1.5}},t))}}]),e}();e.default=k},function(t,e){t.exports=r},function(t,e,n){var o=n(14);"string"==typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0,transform:void 0};n(16)(o,r);o.locals&&(t.exports=o.locals)},function(t,e,n){(t.exports=n(15)(!1)).push([t.i,".grow { transition: all .1s ease-in-out; outline: none;}\n.grow:hover { transform: scale(1.1); outline: none;}\n.grow:active { transform: scale(0.95); filter:grayscale(100%); outline: none;}\n",""])},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"==typeof btoa){var r=(s=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),a=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[n].concat(a).concat([r]).join("\n")}var s;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r=0&&u.splice(e,1)}function v(t){var e=document.createElement("style");return t.attrs.type="text/css",m(e,t.attrs),h(t,e),e}function m(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function b(t,e){var n,o,r,a;if(e.transform&&t.css){if(!(a=e.transform(t.css)))return function(){};t.css=a}if(e.singleton){var s=l++;n=c||(c=v(e)),o=k.bind(null,n,s,!1),r=k.bind(null,n,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",m(e,t.attrs),h(t,e),e}(e),o=function(t,e,n){var o=n.css,r=n.sourceMap,a=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||a)&&(o=f(o));r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var s=new Blob([o],{type:"text/css"}),i=t.href;t.href=URL.createObjectURL(s),i&&URL.revokeObjectURL(i)}.bind(null,n,e),r=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(e),o=function(t,e){var n=e.css,o=e.media;o&&t.setAttribute("media",o);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){g(n)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=s()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=d(t,e);return p(n,e),function(t){for(var o=[],r=0;r0&&e.average<200){e.average=e.average+.05*e.average;var n=Math.round(100*e.average)/1e3;if(t.state.gwei!==n){var o={gwei:n};t.setState(o),t.props.onUpdate(o)}}})}},{key:"render",value:function(){return!this.state.config.hide&&a.default.createElement("div",{style:{padding:10}},a.default.createElement("b",null,"Gas"),a.default.createElement("div",null,a.default.createElement("i",null,this.state.gwei," wei")))}}]),e}();e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o,r=function(){function t(t,e){for(var n=0;n=0&&(o="");var r="";this.state.config.showBalance&&(r=Math.round(this.state.balance*this.state.config.ETHPRECISION)/this.state.config.ETHPRECISION);var a=this.state.account.substr(0,this.state.config.accountCutoff);this.state.ens&&(a=this.state.ens),t=s.default.createElement("div",{style:this.state.config.boxStyle},s.default.createElement("a",{target:"_blank",href:this.state.etherscan+"address/"+this.state.account},s.default.createElement("div",null,s.default.createElement("span",{style:this.state.config.textStyle},a)),s.default.createElement("div",null,s.default.createElement("span",{style:this.state.config.textStyle},o," ",s.default.createElement("img",{style:{maxHeight:24,padding:2,verticalAlign:"middle",marginTop:-4},src:l.default}),r)),s.default.createElement("div",{style:{position:"absolute",right:this.state.config.blockieStyle.right,top:this.state.config.blockieStyle.top},onClick:this.clickBlockie},s.default.createElement(f.default,{seed:this.state.account,scale:this.state.config.blockieStyle.size}))))}}else t="error unknown state: "+this.state.status;return s.default.createElement("div",{style:this.state.config.outerBoxStyle},s.default.createElement(u.default,{config:{origin:"top right",adjustedZoom:1.5}},t))}}]),e}();e.default=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n0&&(o[r].errorCode=1)}t.setState({transactions:o})}).on("transactionHash",function(e){t.state.config.DEBUG&&console.log("TX HASH",e);var n=t.state.transactions,o=!1;for(var r in n)n[r].hash==e&&(o=!0);if(!o){t.state.config.DEBUG&&console.log("Adding tx to list...");var a=t.state.transactions;a.push({hash:e,time:Date.now(),addedFromTxHash:1}),t.setState({transactions:a})}}).on("receipt",function(e){t.state.config.DEBUG&&console.log("TX RECEIPT",e);var n=t.state.transactions;for(var o in n)n[o].hash==e.transactionHash&&(n[o].receipt=1);t.setState({transactions:n})}).on("confirmation",function(e,n){t.state.config.DEBUG&&console.log("TX CONFIRM",e,n);var o=t.state.transactions;for(var r in o)o[r].hash==n.transactionHash&&(o[r].confirmations?o[r].confirmations=o[r].confirmations+1:o[r].confirmations=1);t.setState({transactions:o})}).then(function(e){t.state.config.DEBUG&&console.log("TX THEN",e);var n=t.state.transactions;for(var o in n)n[o].hash==e.transactionHash&&(n[o].then=1);t.setState({transactions:n})}));case 28:case"end":return e.stop()}},e,t,[[8,18]])}));return function(t,n,o,r,a){return e.apply(this,arguments)}}(),send:function(){var e=d(regeneratorRuntime.mark(function e(n,o,r,a,s){var i,c,l,u,f,p,d,h,g;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=t.props,i.metaContract,c=i.account,i.web3,l=t.props.web3.utils.toWei(""+o,"ether"),u=3e4,"function"==typeof r?s=r:r&&(u=r),f=!1,"function"==typeof a?s=a:f=a,console.log("DAPPARATUS SENDING WITH GAS LIMIT",u),p=void 0,!t.props.metaAccount){e.next=16;break}console.log("sending with meta account:",t.props.metaAccount.address),d={to:n,value:l,gas:u,gasPrice:Math.round(1e9*t.props.gwei)},f&&(d.data=f),console.log("TX SIGNED TO METAMASK:",d),t.props.web3.eth.accounts.signTransaction(d,t.props.metaAccount.privateKey).then(function(e){console.log("SIGNED:",e),t.props.web3.eth.sendSignedTransaction(e.rawTransaction).on("receipt",function(t){console.log("META RECEIPT",t),s(t)})}),e.next=24;break;case 16:return h=!1,"function"==typeof a?s=a:h=a,g={from:c,to:n,value:l,gas:u,gasPrice:Math.round(1e9*t.props.gwei)},h&&(g.data=h),console.log("sending with injected web3 account"),e.next=23,t.props.web3.eth.sendTransaction(g);case 23:p=e.sent;case 24:console.log("RESULT:",p),s(p);case 26:case"end":return e.stop()}},e,t)}));return function(t,n,o,r,a){return e.apply(this,arguments)}}(),pTx:function(){for(var t=arguments.length,n=Array(t),o=0;ot.state.config.TIMETOKEEPTXSAROUND&&(a[e].closed=!0,t.state.config.DEBUG&&console.log("CLOSING TX",a[e]),t.setState({transactions:a}))}};for(var l in a)c(l);if(s)if(s!=o+1){var u=this.state.transactions;u.push({block:o+1,time:Date.now()}),this.setState({transactions:u,currentBlock:o+1})}else this.setState({currentTime:Date.now()});else{s=o+1;var f=this.state.transactions;f.push({block:o+1,time:Date.now()}),this.setState({transactions:f,currentBlock:o+1})}}},{key:"render",value:function(){var t=this;if(this.state&&this.state.config&&this.state.config.hide)return a.default.createElement("div",null);var e=[];this.state.transactions.map(function(n){if(n.hash){var o=n.hash.substring(0,14),r=Date.now()-n.time,s=Math.min(100,Math.round(100*r/(t.props.avgBlockTime*t.state.config.EXPECTEDPROGRESSBARVSAVGBLOCKTIME*1.5))),u=10,f=0,p="#2db7f5";n.fullReceipt?(p="#4ee426",f=1,s=100):s<15?p="#c8e3f0":s<30?p="#9bd6f0":s<60&&(p="#7ccbef"),n.closed&&(u=-250),s>=100&&!f&&(p="#e4d426"),1==n.errorCode?p="#e93636":2==n.errorCode&&(p="#e9a336"),e.push(a.default.createElement(i.Motion,{key:"tx"+n.hash,defaultStyle:{outAmount:-250},style:{outAmount:(0,i.spring)(u,{stiffness:80,damping:8})}},function(e){return a.default.createElement("div",{style:{position:"relative",width:200,height:31,marginTop:5,right:e.outAmount}},a.default.createElement("a",{target:"_blank",href:t.props.etherscan+"tx/"+n.hash},a.default.createElement(c.Line,{percent:s,width:50,strokeWidth:"20",strokeColor:p})," ",o))}))}else if(n.block){var d=Date.now()-n.time,h=Math.min(100,Math.round(100*d/(t.props.avgBlockTime*t.state.config.EXPECTEDPROGRESSBARVSAVGBLOCKTIME))),g=0,v=10,m="#2db7f5";t.state.currentBlock!=n.block?(g=1,h=100,m="#4ee426"):h<15?m="#c8e3f0":h<30?m="#9bd6f0":h<60&&(m="#7ccbef"),n.closed&&(v=-200),h>=100&&!g&&(m="#e4d426"),e.push(a.default.createElement(l.default,{config:{origin:"bottom right",adjustedZoom:1.2},key:"block"+n.block},a.default.createElement(i.Motion,{defaultStyle:{outAmount:-200},style:{outAmount:(0,i.spring)(v,{stiffness:80,damping:8})}},function(e){return a.default.createElement("div",{style:{position:"relative",width:200,height:31,margin:10,right:e.outAmount}},a.default.createElement("a",{target:"_blank",href:t.props.etherscan+"block/"+n.block},a.default.createElement(c.Line,{width:100,percent:h,strokeWidth:"10",strokeColor:m})," #",n.block," "))})))}});var n=40*e.length;return a.default.createElement("div",{style:{fontSize:16,zIndex:10,position:"fixed",paddingTop:30,marginBottom:0,textAlign:"right",bottom:100,right:0,opacity:1,height:n,width:220,paddingLeft:10}},e)}}]),e}();e.default=m},function(t,e){t.exports=i},function(t,e){t.exports=c},function(t,e){t.exports=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}(t,["tokenAddress","size"]);return o.default.createElement("img",{style:{width:n,height:n},onError:function(t){return t.target.src=a.default},size:n,src:e?"https://raw.githubusercontent.com/TrustWallet/tokens/master/images/"+e+".png":a.default,alt:e})};i.propTypes={tokenAddress:r.default.string,size:r.default.number},i.defaultProps={tokenAddress:null,size:20},e.default=i},function(t,e){t.exports=f},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAABRtJREFUWAnFV1lInVcQnnvrHq271EtBNFKTqEXBpaBBK6JSUakgInkQ8UlQEUEQRAWhEl9c8EEEQR8affChYi2+iC3iBoqgYlwQtzS3RtG470vnm/jfXPW/V22T9sD5z/ln5sw3/5w5c+bX0D2bv7+/1fHx8fcXFxfJGo3m2eXlpY5HHZbzXM9zPY+vtVptp7W19e9TU1Mn91GtuUuIgb86PDwsY4AXDPDlXfLgs+wOy76ytbWtYENWza0xaYCvr681KynhXsgKHplTYoa3z8ZUc/9pfn7+WE1O1QB89dHR0S8M/p3aoofS2IBhGxubH9W8ccsAPz+/b8/Ozn5j8K8fCmROno34k3X+sLCwMGksd82Aqy8f+dTgCiCMYE+EGnvCYMDVnv/xqdyugN4csR3co5WY0CoCDIyAU93zsrIyGh4eNnRvb28aGhqS3tnZSTExMaImNDSUenp6aHJykhobG4m/VlFvGIEBLIUgBsD1TES0qzYHBweamJiglJQU6Ts7O+Th4UElJSU0MDBA1dXVsq6yspIGBwcpPj6ewsLCKCkpSVUfsIAJphiAc85zs0fNysqKnJ2dydLSkjgZieKNjQ3ioKLz83OhwzO9vb2k1+spOTlZvCGCtx+PrjBJy5ZY8Z68uC1znRIUFCRfmp2djcwnzJaWFnr58iXV1dXJO+uhk5MPCfDNmzf0/v3760qM3oAJbAukV1Z4Z4br6+uj/Px8UeHk5CRjQUEBBQQEEMbW1lbxhJ2dnfCwBe/evaPl5WUj2I9TYAJbi9z+kWx65uLiQiEhIdKxHWhbW1vickdHR3J1dSU+XpSamkrh4eHU1NREgYGBphUyB9hadsUzs1LMXFpakj0uKioidET36Ogo7e/vy35j7ubmRoWFhSJXXl5O7e3t1N3dbVY1sDU+Pj6zLPWNWcnPx5yzYCt0SlCZw4mLi6OMjAxyd3en6elpqq2tpbdv3xqWPH/+nDIzM8UTIyMjVFNTQwcHBwa+2gTYmsePH++yAfZqAgoN5xmAULi9vU2enp7iepx30CIjI6m5uVlOAALPy8tLtig9PV1RoTqyAbtaBterco2IOTk58lZcXExRUVFy9nU6HUVERAg9Ly+PuBCRxBQbG0uLi4sSrArfSNW1KWP/hSC80wCk4ba2Nurv75ejhkSDhpOB9uTJExkRjEhSY2Nj8v706VMZTT2AbcFWvGaBaFNCoFdUVBjYyAFISmjj4+PE5RfZ23/YwfX1daErI06GuQZs9py205zQTR62AYBdXV00MzNzk/2gd2BrUUCyK3buszIxMZHS0tJoZWWFSktL77PEpAwwga3l7HXCrnhlUvKKwZUSVVVV0enpKeXm5hJuRDTkfiX/KxkSFxba3t6ejGoPYAJbbkNUryy0ryYIGq7jhoYGYjmqr6+XlKvIsiLxCN75SAtZGZFBTbT9K0z6AgIcNHsc0ageotQW4MuR3wGGGw5JKSEhgbiKIiQdHMHo6Gg5ejgR2Kq1tTVCIYOr+mZj91fNzs7+CroYgAlfJoM8xHK/VYxmZWVJhoMyTt0CDHBWRB0dHVIBwf1ISMHBwTQ3NyfbtLp6+5eA16Aky97c3BTLDDUhjECVwuX4Py5KYRBOyO7uLtTdasw3XZQq0v91WS5BqIBj5L2ZQOkMVxnT/80cuqDz5j8BdBpiwBgAQckx8TPTUHuFcLcy5j9gjl+zKu7Z/GHbauuuxYCaAOLif/k5vWkMCsjP8Xv+N2Xvb3iUfI9yAAAAAElFTkSuQmCC"}])}); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 2b99644..b326688 100644 --- a/package-lock.json +++ b/package-lock.json @@ -937,6 +937,23 @@ } } }, + "@babel/runtime": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.4.4.tgz", + "integrity": "sha512-w0+uT71b6Yi7i5SE0co4NioIpSYS6lLiXvCzWzGSKvpK5vdQtCbICHMj+gbAKAOtxiV6HsVh/MBdaF9EQ6faSg==", + "dev": true, + "requires": { + "regenerator-runtime": "^0.13.2" + }, + "dependencies": { + "regenerator-runtime": { + "version": "0.13.2", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.2.tgz", + "integrity": "sha512-S/TQAZJO+D3m9xeN1WTI8dLKBBiRgXBlTJvbWjCThHWZj9EvHK70Ff50/tYj2J/fvBY6JtFVwRuazHN2E7M9BA==", + "dev": true + } + } + }, "@babel/template": { "version": "7.2.2", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.2.2.tgz", @@ -1011,6 +1028,7 @@ "version": "4.11.5", "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.5.tgz", "integrity": "sha512-AEAZcIZga0JgVMHNtl1CprA/hXX7/wPt79AgR4XqaDt7jyj3QWYw6LPoOiznPtugDmlubUnAahMs2PFxGcQrng==", + "dev": true, "requires": { "@types/node": "*" } @@ -1031,7 +1049,8 @@ "@types/node": { "version": "11.13.5", "resolved": "https://registry.npmjs.org/@types/node/-/node-11.13.5.tgz", - "integrity": "sha512-/OMMBnjVtDuwX1tg2pkYVSqRIDSmNTnvVvmvP/2xiMAAWf4a5+JozrApCrO4WCAILmXVxfNoQ3E+0HJbNpFVGg==" + "integrity": "sha512-/OMMBnjVtDuwX1tg2pkYVSqRIDSmNTnvVvmvP/2xiMAAWf4a5+JozrApCrO4WCAILmXVxfNoQ3E+0HJbNpFVGg==", + "dev": true }, "@types/object-assign": { "version": "4.0.30", @@ -1055,12 +1074,14 @@ "@types/underscore": { "version": "1.8.14", "resolved": "https://registry.npmjs.org/@types/underscore/-/underscore-1.8.14.tgz", - "integrity": "sha512-xbzi6UaATVKupInG3D65/EPQ3qkJCvG2ZAzmlIYt6x93ACOEX2Y0fHW4/e8TF3G7q5KB2l7wTZgzfNjyYDMuZw==" + "integrity": "sha512-xbzi6UaATVKupInG3D65/EPQ3qkJCvG2ZAzmlIYt6x93ACOEX2Y0fHW4/e8TF3G7q5KB2l7wTZgzfNjyYDMuZw==", + "dev": true }, "@types/web3": { "version": "1.0.18", "resolved": "https://registry.npmjs.org/@types/web3/-/web3-1.0.18.tgz", "integrity": "sha512-uXQL0LDszt2f476LEmYM6AvSv9F4vU4hWQvlUhwfLHNlIB6OyBXoYsCzWAIhhnc5U0HA7ZBcPybxRJ/yfA6THg==", + "dev": true, "requires": { "@types/bn.js": "*", "@types/underscore": "*" @@ -1322,7 +1343,8 @@ "aes-js": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", - "integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0=" + "integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0=", + "dev": true }, "ajv": { "version": "5.5.2", @@ -1395,7 +1417,8 @@ "any-promise": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", - "integrity": "sha1-q8av7tzqUugJzcA3au0845Y10X8=" + "integrity": "sha1-q8av7tzqUugJzcA3au0845Y10X8=", + "dev": true }, "anymatch": { "version": "1.3.2", @@ -1600,7 +1623,8 @@ "async-limiter": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz", - "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==" + "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==", + "dev": true }, "asynckit": { "version": "0.4.0", @@ -1635,15 +1659,6 @@ "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" }, - "axios": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.0.tgz", - "integrity": "sha1-MtU+SFHv3AoRmTts0AB4nXDAUQI=", - "requires": { - "follow-redirects": "^1.3.0", - "is-buffer": "^1.1.5" - } - }, "axobject-query": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-0.1.0.tgz", @@ -2330,6 +2345,7 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz", "integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=", + "dev": true, "requires": { "babel-runtime": "^6.26.0", "core-js": "^2.5.0", @@ -2339,7 +2355,8 @@ "regenerator-runtime": { "version": "0.10.5", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", - "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=" + "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=", + "dev": true } } }, @@ -2653,11 +2670,6 @@ "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==" }, - "bignumber.js": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-4.1.0.tgz", - "integrity": "sha512-eJzYkFYy9L4JzXsbymsFn3p54D+llV27oTQ+ziJG7WFRheJcNZilgVXMG0LoZtlQSKBsJdWtLFqOD0u+U0jZKA==" - }, "binary-extensions": { "version": "1.13.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.0.tgz", @@ -2667,6 +2679,7 @@ "version": "1.5.0", "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "dev": true, "requires": { "file-uri-to-path": "1.0.0" } @@ -2675,6 +2688,7 @@ "version": "1.1.5", "resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", "integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", + "dev": true, "requires": { "safe-buffer": "^5.0.1" } @@ -2683,6 +2697,7 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz", "integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==", + "dev": true, "requires": { "readable-stream": "^2.3.5", "safe-buffer": "^5.1.1" @@ -2692,6 +2707,7 @@ "version": "0.0.9", "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", + "dev": true, "requires": { "inherits": "~2.0.0" } @@ -2876,16 +2892,10 @@ "version": "0.0.4", "resolved": "https://registry.npmjs.org/browserify-sha3/-/browserify-sha3-0.0.4.tgz", "integrity": "sha1-CGxHuMgjFsnUcCLCYYWVRXbdjiY=", + "dev": true, "requires": { "js-sha3": "^0.6.1", "safe-buffer": "^5.1.1" - }, - "dependencies": { - "js-sha3": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.6.1.tgz", - "integrity": "sha1-W4n3enR3Z5h39YxKB1JAk0sflcA=" - } } }, "browserify-sign": { @@ -2941,6 +2951,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", + "dev": true, "requires": { "buffer-alloc-unsafe": "^1.1.0", "buffer-fill": "^1.0.0" @@ -2949,17 +2960,20 @@ "buffer-alloc-unsafe": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", - "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==" + "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==", + "dev": true }, "buffer-crc32": { "version": "0.2.13", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=" + "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=", + "dev": true }, "buffer-fill": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", - "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=" + "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=", + "dev": true }, "buffer-from": { "version": "1.1.1", @@ -2974,7 +2988,8 @@ "buffer-to-arraybuffer": { "version": "0.0.5", "resolved": "https://registry.npmjs.org/buffer-to-arraybuffer/-/buffer-to-arraybuffer-0.0.5.tgz", - "integrity": "sha1-YGSkD6dutDxyOrqe+PbhIW0QURo=" + "integrity": "sha1-YGSkD6dutDxyOrqe+PbhIW0QURo=", + "dev": true }, "buffer-xor": { "version": "1.0.3", @@ -3878,7 +3893,8 @@ "cookiejar": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.2.tgz", - "integrity": "sha512-Mw+adcfzPxcPeI+0WlvRrr/3lGVO0bD75SxX6811cxSh1Wbxx7xZBGK1eVtDf6si8rg2lhnUjsVLMFMfbRIuwA==" + "integrity": "sha512-Mw+adcfzPxcPeI+0WlvRrr/3lGVO0bD75SxX6811cxSh1Wbxx7xZBGK1eVtDf6si8rg2lhnUjsVLMFMfbRIuwA==", + "dev": true }, "copy-concurrently": { "version": "1.0.5", @@ -3913,6 +3929,7 @@ "version": "2.8.5", "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", + "dev": true, "requires": { "object-assign": "^4", "vary": "^1" @@ -4014,11 +4031,6 @@ "randomfill": "^1.0.3" } }, - "crypto-js": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-3.1.8.tgz", - "integrity": "sha1-cV8HC/YBTyrpkqmLOSkli3E/CNU=" - }, "crypto-random-string": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz", @@ -4280,6 +4292,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/decompress/-/decompress-4.2.0.tgz", "integrity": "sha1-eu3YVCflqS2s/lVnSnxQXpbQH50=", + "dev": true, "requires": { "decompress-tar": "^4.0.0", "decompress-tarbz2": "^4.0.0", @@ -4295,6 +4308,7 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", + "dev": true, "requires": { "mimic-response": "^1.0.0" } @@ -4303,6 +4317,7 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/decompress-tar/-/decompress-tar-4.1.1.tgz", "integrity": "sha512-JdJMaCrGpB5fESVyxwpCx4Jdj2AagLmv3y58Qy4GE6HMVjWz1FeVQk1Ct4Kye7PftcdOo/7U7UKzYBJgqnGeUQ==", + "dev": true, "requires": { "file-type": "^5.2.0", "is-stream": "^1.1.0", @@ -4313,6 +4328,7 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/decompress-tarbz2/-/decompress-tarbz2-4.1.1.tgz", "integrity": "sha512-s88xLzf1r81ICXLAVQVzaN6ZmX4A6U4z2nMbOwobxkLoIIfjVMBg7TeguTUXkKeXni795B6y5rnvDw7rxhAq9A==", + "dev": true, "requires": { "decompress-tar": "^4.1.0", "file-type": "^6.1.0", @@ -4324,7 +4340,8 @@ "file-type": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/file-type/-/file-type-6.2.0.tgz", - "integrity": "sha512-YPcTBDV+2Tm0VqjybVd32MHdlEGAtuxS3VAYsumFokDSMG+ROT5wawGlnHDoz7bfMcMDt9hxuXvXwoKUx2fkOg==" + "integrity": "sha512-YPcTBDV+2Tm0VqjybVd32MHdlEGAtuxS3VAYsumFokDSMG+ROT5wawGlnHDoz7bfMcMDt9hxuXvXwoKUx2fkOg==", + "dev": true } } }, @@ -4332,6 +4349,7 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/decompress-targz/-/decompress-targz-4.1.1.tgz", "integrity": "sha512-4z81Znfr6chWnRDNfFNqLwPvm4db3WuZkqV+UgXQzSngG3CEKdBkw5jrv3axjjL96glyiiKjsxJG3X6WBZwX3w==", + "dev": true, "requires": { "decompress-tar": "^4.1.1", "file-type": "^5.2.0", @@ -4342,6 +4360,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/decompress-unzip/-/decompress-unzip-4.0.1.tgz", "integrity": "sha1-3qrM39FK6vhVePczroIQ+bSEj2k=", + "dev": true, "requires": { "file-type": "^3.8.0", "get-stream": "^2.2.0", @@ -4352,12 +4371,14 @@ "file-type": { "version": "3.9.0", "resolved": "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz", - "integrity": "sha1-JXoHg4TR24CHvESdEH1SpSZyuek=" + "integrity": "sha1-JXoHg4TR24CHvESdEH1SpSZyuek=", + "dev": true }, "get-stream": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-2.3.1.tgz", "integrity": "sha1-Xzj5PzRgCWZu4BUKBUFn+Rvdld4=", + "dev": true, "requires": { "object-assign": "^4.0.1", "pinkie-promise": "^2.0.0" @@ -4609,7 +4630,8 @@ "dom-walk": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz", - "integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg=" + "integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg=", + "dev": true }, "domain-browser": { "version": "1.2.0", @@ -4660,6 +4682,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", "integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", + "dev": true, "requires": { "browserify-aes": "^1.0.6", "create-hash": "^1.1.2", @@ -4740,6 +4763,7 @@ "version": "1.4.1", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", + "dev": true, "requires": { "once": "^1.4.0" } @@ -5495,15 +5519,25 @@ "version": "2.0.8", "resolved": "https://registry.npmjs.org/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz", "integrity": "sha1-IprEbsqG1S4MmR58sq74P/D2i88=", + "dev": true, "requires": { "idna-uts46-hx": "^2.3.1", "js-sha3": "^0.5.7" + }, + "dependencies": { + "js-sha3": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", + "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=", + "dev": true + } } }, "eth-lib": { "version": "0.1.27", "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.1.27.tgz", "integrity": "sha512-B8czsfkJYzn2UIEMwjc7Mbj+Cy72V+/OXH/tb44LV8jhrjizQJJ325xMOMyk3+ETa6r6oi0jsUY14+om8mQMWA==", + "dev": true, "requires": { "bn.js": "^4.11.6", "elliptic": "^6.4.0", @@ -5514,38 +5548,11 @@ "xhr-request-promise": "^0.1.2" } }, - "ethereum-ens": { - "version": "0.7.4", - "resolved": "https://registry.npmjs.org/ethereum-ens/-/ethereum-ens-0.7.4.tgz", - "integrity": "sha512-oY3vFgr/ZUGJwB2xCjDhe/97Ir3GNVBdELIlz0fHz2tPYprATgoXck7kcW1cZfAE3XQfoojmxUQG6yOT/trjfg==", - "requires": { - "bluebird": "^3.4.7", - "eth-ens-namehash": "^2.0.0", - "js-sha3": "^0.5.7", - "pako": "^1.0.4", - "text-encoding": "^0.6.4", - "underscore": "^1.8.3", - "web3": "^0.19.1" - }, - "dependencies": { - "web3": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/web3/-/web3-0.19.1.tgz", - "integrity": "sha1-52PVsRB8S8JKvU+MvuG6Nlnm6zE=", - "requires": { - "bignumber.js": "^4.0.2", - "crypto-js": "^3.1.4", - "utf8": "^2.1.1", - "xhr2": "*", - "xmlhttprequest": "*" - } - } - } - }, "ethereumjs-util": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.0.0.tgz", "integrity": "sha512-E3yKUyl0Fs95nvTFQZe/ZSNcofhDzUsDlA5y2uoRmf1+Ec7gpGhNCsgKkZBRh7Br5op8mJcYF/jFbmjj909+nQ==", + "dev": true, "requires": { "bn.js": "^4.11.0", "create-hash": "^1.1.2", @@ -5560,6 +5567,7 @@ "version": "4.0.0-beta.1", "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.0-beta.1.tgz", "integrity": "sha512-SoYhktEbLxf+fiux5SfCEwdzWENMvgIbMZD90I62s4GZD9nEjgEWy8ZboI3hck193Vs0bDoTohDISx84f2H2tw==", + "dev": true, "requires": { "@types/node": "^10.3.2", "aes-js": "3.0.0", @@ -5574,14 +5582,16 @@ }, "dependencies": { "@types/node": { - "version": "10.14.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.4.tgz", - "integrity": "sha512-DT25xX/YgyPKiHFOpNuANIQIVvYEwCWXgK2jYYwqgaMrYE6+tq+DtmMwlD3drl6DJbUwtlIDnn0d7tIn/EbXBg==" + "version": "10.14.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.7.tgz", + "integrity": "sha512-on4MmIDgHXiuJDELPk1NFaKVUxxCFr37tm8E9yN6rAiF5Pzp/9bBfBHkoexqRiY+hk/Z04EJU9kKEb59YqJ82A==", + "dev": true }, "elliptic": { "version": "6.3.3", "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.3.3.tgz", "integrity": "sha1-VILZZG1UvLif19mU/J4ulWiHbj8=", + "dev": true, "requires": { "bn.js": "^4.4.0", "brorand": "^1.0.1", @@ -5593,20 +5603,29 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", + "dev": true, "requires": { "inherits": "^2.0.3", "minimalistic-assert": "^1.0.0" } }, + "js-sha3": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", + "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=", + "dev": true + }, "setimmediate": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.4.tgz", - "integrity": "sha1-IOgd5iLUoCWIzgyNqJc8vPHTE48=" + "integrity": "sha1-IOgd5iLUoCWIzgyNqJc8vPHTE48=", + "dev": true }, "uuid": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz", - "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w=" + "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w=", + "dev": true } } }, @@ -5614,6 +5633,7 @@ "version": "0.1.6", "resolved": "https://registry.npmjs.org/ethjs-unit/-/ethjs-unit-0.1.6.tgz", "integrity": "sha1-xmWSHkduh7ziqdWIpv4EBbLEFpk=", + "dev": true, "requires": { "bn.js": "4.11.6", "number-to-bn": "1.7.0" @@ -5622,7 +5642,8 @@ "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true } } }, @@ -5630,6 +5651,7 @@ "version": "0.1.6", "resolved": "https://registry.npmjs.org/ethjs-util/-/ethjs-util-0.1.6.tgz", "integrity": "sha512-CUnVOQq7gSpDHZVVrQW8ExxUETWrnrvXYvYz55wOU8Uj4VCgw56XC2B/fVqQN+f7gmrnRHSLVnFAwsCuNwji8w==", + "dev": true, "requires": { "is-hex-prefixed": "1.0.0", "strip-hex-prefix": "1.0.0" @@ -5872,6 +5894,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", + "dev": true, "requires": { "pend": "~1.2.0" } @@ -5911,12 +5934,14 @@ "file-type": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/file-type/-/file-type-5.2.0.tgz", - "integrity": "sha1-LdvqfHP/42No365J3DOMBYwritY=" + "integrity": "sha1-LdvqfHP/42No365J3DOMBYwritY=", + "dev": true }, "file-uri-to-path": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" + "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", + "dev": true }, "filename-regex": { "version": "2.0.1", @@ -6341,6 +6366,7 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, "requires": { "is-callable": "^1.1.3" } @@ -6404,7 +6430,8 @@ "fs-constants": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", - "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "dev": true }, "fs-extra": { "version": "3.0.1", @@ -6420,6 +6447,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/fs-promise/-/fs-promise-2.0.3.tgz", "integrity": "sha1-9k5PhUvPaJqovdy6JokW2z20aFQ=", + "dev": true, "requires": { "any-promise": "^1.3.0", "fs-extra": "^2.0.0", @@ -6431,6 +6459,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-2.1.2.tgz", "integrity": "sha1-BGxwFjzvmq1GsOSn+kZ/si1x3jU=", + "dev": true, "requires": { "graceful-fs": "^4.1.2", "jsonfile": "^2.1.0" @@ -6440,6 +6469,7 @@ "version": "2.4.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "dev": true, "requires": { "graceful-fs": "^4.1.6" } @@ -6932,9 +6962,10 @@ } }, "fstream": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz", - "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz", + "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==", + "dev": true, "requires": { "graceful-fs": "^4.1.2", "inherits": "~2.0.0", @@ -7014,6 +7045,7 @@ "version": "4.3.2", "resolved": "https://registry.npmjs.org/global/-/global-4.3.2.tgz", "integrity": "sha1-52mJJopsdMOJCLEwWxD8DjlOnQ8=", + "dev": true, "requires": { "min-document": "^2.19.0", "process": "~0.5.1" @@ -7022,7 +7054,8 @@ "process": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/process/-/process-0.5.2.tgz", - "integrity": "sha1-FjjYqONML0QKkduVq5rrZ3/Bhc8=" + "integrity": "sha1-FjjYqONML0QKkduVq5rrZ3/Bhc8=", + "dev": true } } }, @@ -7106,7 +7139,8 @@ "graceful-readlink": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", - "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=" + "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=", + "dev": true }, "growly": { "version": "1.3.0", @@ -7198,7 +7232,8 @@ "has-symbol-support-x": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz", - "integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw==" + "integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw==", + "dev": true }, "has-symbols": { "version": "1.0.0", @@ -7209,6 +7244,7 @@ "version": "1.4.1", "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz", "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==", + "dev": true, "requires": { "has-symbol-support-x": "^1.4.1" } @@ -7472,7 +7508,8 @@ "http-https": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/http-https/-/http-https-1.0.0.tgz", - "integrity": "sha1-L5CN1fHbQGjAWM1ubUzjkskTOJs=" + "integrity": "sha1-L5CN1fHbQGjAWM1ubUzjkskTOJs=", + "dev": true }, "http-parser-js": { "version": "0.5.0", @@ -7563,6 +7600,7 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz", "integrity": "sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA==", + "dev": true, "requires": { "punycode": "2.1.0" } @@ -7865,7 +7903,8 @@ "is-function": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-function/-/is-function-1.0.1.tgz", - "integrity": "sha1-Es+5i2W1fdPRk6MSH19uL0N2ArU=" + "integrity": "sha1-Es+5i2W1fdPRk6MSH19uL0N2ArU=", + "dev": true }, "is-glob": { "version": "2.0.1", @@ -7878,7 +7917,8 @@ "is-hex-prefixed": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz", - "integrity": "sha1-fY035q135dEnFIkTxXPggtd39VQ=" + "integrity": "sha1-fY035q135dEnFIkTxXPggtd39VQ=", + "dev": true }, "is-installed-globally": { "version": "0.1.0", @@ -7892,7 +7932,8 @@ "is-natural-number": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/is-natural-number/-/is-natural-number-4.0.1.tgz", - "integrity": "sha1-q5124dtM7VHjXeDHLr7PCfc0zeg=" + "integrity": "sha1-q5124dtM7VHjXeDHLr7PCfc0zeg=", + "dev": true }, "is-npm": { "version": "1.0.0", @@ -7915,7 +7956,8 @@ "is-object": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-object/-/is-object-1.0.1.tgz", - "integrity": "sha1-iVJojF7C/9awPsyF52ngKQMINHA=" + "integrity": "sha1-iVJojF7C/9awPsyF52ngKQMINHA=", + "dev": true }, "is-path-cwd": { "version": "1.0.0", @@ -8167,6 +8209,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz", "integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==", + "dev": true, "requires": { "has-to-string-tag-x": "^1.2.0", "is-object": "^1.0.1" @@ -8452,9 +8495,10 @@ "dev": true }, "js-sha3": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", - "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=" + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.6.1.tgz", + "integrity": "sha1-W4n3enR3Z5h39YxKB1JAk0sflcA=", + "dev": true }, "js-tokens": { "version": "4.0.0", @@ -8473,12 +8517,14 @@ "jsbi": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/jsbi/-/jsbi-2.0.5.tgz", - "integrity": "sha512-TzO/62Hxeb26QMb4IGlI/5X+QLr9Uqp1FPkwp2+KOICW+Q+vSuFj61c8pkT6wAns4WcK56X7CmSHhJeDGWOqxQ==" + "integrity": "sha512-TzO/62Hxeb26QMb4IGlI/5X+QLr9Uqp1FPkwp2+KOICW+Q+vSuFj61c8pkT6wAns4WcK56X7CmSHhJeDGWOqxQ==", + "dev": true }, "jsbi-utils": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/jsbi-utils/-/jsbi-utils-1.0.1.tgz", "integrity": "sha512-WfKCFGRRBJGjln99Cukvrvp6KJFqXNTOMwlMs4cImf9C7/65K6u8bOFK25rVVTY3piWU6eAb6gjj5568u6SrnA==", + "dev": true, "requires": { "jsbi": "^2.0.5" } @@ -8614,6 +8660,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/keccak/-/keccak-1.4.0.tgz", "integrity": "sha512-eZVaCpblK5formjPjeTBik7TAg+pqnDrMHIffSvi9Lh7PQgM1+hSzakUeZFCk9DVVG0dacZJuaz2ntwlzZUIBw==", + "dev": true, "requires": { "bindings": "^1.2.1", "inherits": "^2.0.3", @@ -8625,6 +8672,7 @@ "version": "0.2.3", "resolved": "https://registry.npmjs.org/keccakjs/-/keccakjs-0.2.3.tgz", "integrity": "sha512-BjLkNDcfaZ6l8HBG9tH0tpmDv3sS2mA7FNQxFHpCdzP3Gb2MVruXBSuoM66SnVxKJpAr5dKGdkHD+bDokt8fTg==", + "dev": true, "requires": { "browserify-sha3": "^0.0.4", "sha3": "^1.2.2" @@ -8676,6 +8724,7 @@ "version": "0.29.0", "resolved": "https://registry.npmjs.org/leap-core/-/leap-core-0.29.0.tgz", "integrity": "sha512-uSAfMLUvTU2m6BM1vYG9e5G8Tpm1o7PlhEec2IlGSK1I5r8YW/uaLI6GS/itb7aTw5h+y4gpVp7sPPEK41LO3A==", + "dev": true, "requires": { "@types/web3": "^1.0.18", "babel-polyfill": "^6.26.0", @@ -9100,12 +9149,14 @@ "mimic-response": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==" + "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", + "dev": true }, "min-document": { "version": "2.19.0", "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", + "dev": true, "requires": { "dom-walk": "^0.1.0" } @@ -9182,19 +9233,22 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz", "integrity": "sha1-6bj2jlUsaKnBcTuEiD96HdA5uKE=", + "dev": true, "requires": { "mkdirp": "*" } }, "mock-fs": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-4.8.0.tgz", - "integrity": "sha512-Gwj4KnJOW15YeTJKO5frFd/WDO5Mc0zxXqL9oHx3+e9rBqW8EVARqQHSaIXznUdljrD6pvbNGW2ZGXKPEfYJfw==" + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-4.10.0.tgz", + "integrity": "sha512-eBpLEjI6tK4RKK44BbUBQu89lrNh+5WeX3wf2U6Uwo6RtRGAQ77qvKeuuQh3lVXHF1aPndVww9VcjqmLThIdtA==", + "dev": true }, "mout": { "version": "0.11.1", "resolved": "https://registry.npmjs.org/mout/-/mout-0.11.1.tgz", - "integrity": "sha1-ujYR318OWx/7/QEWa48C0fX6K5k=" + "integrity": "sha1-ujYR318OWx/7/QEWa48C0fX6K5k=", + "dev": true }, "move-concurrently": { "version": "1.0.1", @@ -9238,6 +9292,7 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, "requires": { "any-promise": "^1.0.0", "object-assign": "^4.0.1", @@ -9252,7 +9307,8 @@ "nano-json-stream-parser": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/nano-json-stream-parser/-/nano-json-stream-parser-0.1.2.tgz", - "integrity": "sha1-DMj20OK2IrR5xA1JnEbWS3Vcb18=" + "integrity": "sha1-DMj20OK2IrR5xA1JnEbWS3Vcb18=", + "dev": true }, "nanomatch": { "version": "1.2.13", @@ -9326,7 +9382,8 @@ "node-fetch": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.3.0.tgz", - "integrity": "sha512-MOd8pV3fxENbryESLgVIeaGKrdl+uaYhCSSVkjeOb/31/njTpcis5aWfdqgNlHIrKOLRbMnfPINPOML2CIFeXA==" + "integrity": "sha512-MOd8pV3fxENbryESLgVIeaGKrdl+uaYhCSSVkjeOb/31/njTpcis5aWfdqgNlHIrKOLRbMnfPINPOML2CIFeXA==", + "dev": true }, "node-forge": { "version": "0.7.5", @@ -9467,6 +9524,7 @@ "version": "1.7.0", "resolved": "https://registry.npmjs.org/number-to-bn/-/number-to-bn-1.7.0.tgz", "integrity": "sha1-uzYjWS9+X54AMLGXe9QaDFP+HqA=", + "dev": true, "requires": { "bn.js": "4.11.6", "strip-hex-prefix": "1.0.0" @@ -9475,7 +9533,8 @@ "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true } } }, @@ -9579,6 +9638,7 @@ "version": "2.1.3", "resolved": "https://registry.npmjs.org/oboe/-/oboe-2.1.3.tgz", "integrity": "sha1-K0hl29Rr6BIlcT9Om/5Lz09oCk8=", + "dev": true, "requires": { "http-https": "^1.0.0" } @@ -9699,7 +9759,8 @@ "p-cancelable": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.3.0.tgz", - "integrity": "sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw==" + "integrity": "sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw==", + "dev": true }, "p-defer": { "version": "1.0.0", @@ -9743,6 +9804,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-1.2.1.tgz", "integrity": "sha1-XrOzU7f86Z8QGhA4iAuwVOu+o4Y=", + "dev": true, "requires": { "p-finally": "^1.0.0" } @@ -9829,12 +9891,13 @@ } }, "parse-headers": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.1.tgz", - "integrity": "sha1-aug6eqJanZtwCswoaYzR8e1+lTY=", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.2.tgz", + "integrity": "sha512-/LypJhzFmyBIDYP9aDVgeyEb5sQfbfY5mnDq4hVhlQ69js87wXfmEI5V3xI6vvXasqebp0oCytYFLxsBVfCzSg==", + "dev": true, "requires": { - "for-each": "^0.3.2", - "trim": "0.0.1" + "for-each": "^0.3.3", + "string.prototype.trim": "^1.1.2" } }, "parse-json": { @@ -9940,7 +10003,8 @@ "pend": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", - "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=", + "dev": true }, "performance-now": { "version": "0.2.0", @@ -11413,7 +11477,8 @@ "randomhex": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/randomhex/-/randomhex-0.1.5.tgz", - "integrity": "sha1-us7vmCMpCRQA8qKRLGzQLxCU9YU=" + "integrity": "sha1-us7vmCMpCRQA8qKRLGzQLxCU9YU=", + "dev": true }, "range-parser": { "version": "1.2.0", @@ -11472,6 +11537,7 @@ "version": "16.7.0", "resolved": "https://registry.npmjs.org/react/-/react-16.7.0.tgz", "integrity": "sha512-StCz3QY8lxTb5cl2HJxjwLFOXPIFQp+p+hxQfc8WE0QiLfCtIlKj8/+5tjjKm8uSTlAW+fCPaavGFS06V9Ar3A==", + "dev": true, "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", @@ -11535,6 +11601,7 @@ "version": "16.7.0", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.7.0.tgz", "integrity": "sha512-D0Ufv1ExCAmF38P2Uh1lwpminZFRXEINJe53zRAbm4KPwSyd6DY/uDoS0Blj9jvPpn1+wivKpZYc8aAAN/nAkg==", + "dev": true, "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", @@ -12912,6 +12979,7 @@ "version": "2.2.3", "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.3.tgz", "integrity": "sha512-l6YVrI7+d2vpW6D6rS05x2Xrmq8oW7v3pieZOJKBEdjuTF4Kz/iwk55Zyh1Zaz+KOB2kC8+2jZlp2u9L4tTzCQ==", + "dev": true, "requires": { "bn.js": "^4.11.1", "safe-buffer": "^5.1.1" @@ -13028,6 +13096,7 @@ "version": "0.12.0", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.12.0.tgz", "integrity": "sha512-t7MBR28Akcp4Jm+QoR63XgAi9YgCUmgvDHqf5otgAj4QvdoBE4ImCX0ffehefePPG+aitiYHp0g/mW6s4Tp+dw==", + "dev": true, "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1" @@ -13045,6 +13114,7 @@ "version": "6.0.3", "resolved": "https://registry.npmjs.org/scrypt/-/scrypt-6.0.3.tgz", "integrity": "sha1-BOAUpWgrU/pQwtXM4WfXGcBthw0=", + "dev": true, "requires": { "nan": "^2.0.8" } @@ -13052,12 +13122,14 @@ "scrypt-js": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-2.0.3.tgz", - "integrity": "sha1-uwBAvgMEPamgEqLOqfyfhSz8h9Q=" + "integrity": "sha1-uwBAvgMEPamgEqLOqfyfhSz8h9Q=", + "dev": true }, "scrypt.js": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/scrypt.js/-/scrypt.js-0.2.0.tgz", "integrity": "sha1-r40UZbcemZARC+38WTuUeeA6ito=", + "dev": true, "requires": { "scrypt": "^6.0.2", "scryptsy": "^1.2.1" @@ -13067,6 +13139,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-1.2.1.tgz", "integrity": "sha1-oyJfpLJST4AnAHYeKFW987LZIWM=", + "dev": true, "requires": { "pbkdf2": "^3.0.3" } @@ -13080,6 +13153,7 @@ "version": "3.6.2", "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.6.2.tgz", "integrity": "sha512-90nYt7yb0LmI4A2jJs1grglkTAXrBwxYAjP9bpeKjvJKOjG2fOeH/YI/lchDMIvjrOasd5QXwvV2jwN168xNng==", + "dev": true, "requires": { "bindings": "^1.2.1", "bip66": "^1.1.3", @@ -13095,6 +13169,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.5.tgz", "integrity": "sha1-z+kXyz0nS8/6x5J1ivUxc+sfq9w=", + "dev": true, "requires": { "commander": "~2.8.1" }, @@ -13103,6 +13178,7 @@ "version": "2.8.1", "resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz", "integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=", + "dev": true, "requires": { "graceful-readlink": ">= 1.0.0" } @@ -13220,6 +13296,7 @@ "version": "0.1.12", "resolved": "https://registry.npmjs.org/servify/-/servify-0.1.12.tgz", "integrity": "sha512-/xE6GvsKKqyo1BAY+KxOWXcLpPsUUyji7Qg3bVD7hh1eRze5bR1uYiuDA/k3Gof1s9BTzQZEJK8sNcNGFIzeWw==", + "dev": true, "requires": { "body-parser": "^1.16.0", "cors": "^2.8.1", @@ -13274,17 +13351,19 @@ } }, "sha3": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/sha3/-/sha3-1.2.2.tgz", - "integrity": "sha1-pmxQmN5MJbyIM27ItIF9AFvKe6k=", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/sha3/-/sha3-1.2.3.tgz", + "integrity": "sha512-sOWDZi8cDBRkLfWOw18wvJyNblXDHzwMGnRWut8zNNeIeLnmMRO17bjpLc7OzMuj1ASUgx2IyohzUCAl+Kx5vA==", + "dev": true, "requires": { - "nan": "2.10.0" + "nan": "2.13.2" }, "dependencies": { "nan": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.10.0.tgz", - "integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==" + "version": "2.13.2", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.13.2.tgz", + "integrity": "sha512-TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw==", + "dev": true } } }, @@ -13325,12 +13404,14 @@ "simple-concat": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.0.tgz", - "integrity": "sha1-c0TLuLbib7J9ZrL8hvn21Zl1IcY=" + "integrity": "sha1-c0TLuLbib7J9ZrL8hvn21Zl1IcY=", + "dev": true }, "simple-get": { "version": "2.8.1", "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-2.8.1.tgz", "integrity": "sha512-lSSHRSw3mQNUGPAYRqo7xy9dhKmxFXIjLjp4KHpf99GEH2VH7C3AM+Qfx6du6jhfUi6Vm7XnbEVEf7Wb6N8jRw==", + "dev": true, "requires": { "decompress-response": "^3.3.0", "once": "^1.3.1", @@ -13768,6 +13849,17 @@ } } }, + "string.prototype.trim": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz", + "integrity": "sha1-0E3iyJ4Tf019IG8Ia17S+ua+jOo=", + "dev": true, + "requires": { + "define-properties": "^1.1.2", + "es-abstract": "^1.5.0", + "function-bind": "^1.0.2" + } + }, "string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", @@ -13796,6 +13888,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/strip-dirs/-/strip-dirs-2.1.0.tgz", "integrity": "sha512-JOCxOeKLm2CAS73y/U4ZeZPTkE+gNVCzKt7Eox84Iej1LT/2pTWYpZKJuxwQpvX1LiZb1xokNR7RLfuBAa7T3g==", + "dev": true, "requires": { "is-natural-number": "^4.0.1" } @@ -13809,6 +13902,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz", "integrity": "sha1-DF8VX+8RUTczd96du1iNoFUA428=", + "dev": true, "requires": { "is-hex-prefixed": "1.0.0" } @@ -13897,6 +13991,7 @@ "version": "0.1.37", "resolved": "https://registry.npmjs.org/swarm-js/-/swarm-js-0.1.37.tgz", "integrity": "sha512-G8gi5fcXP/2upwiuOShJ258sIufBVztekgobr3cVgYXObZwJ5AXLqZn52AI+/ffft29pJexF9WNdUxjlkVehoQ==", + "dev": true, "requires": { "bluebird": "^3.5.0", "buffer": "^5.0.5", @@ -13917,6 +14012,7 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz", "integrity": "sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==", + "dev": true, "requires": { "base64-js": "^1.0.2", "ieee754": "^1.1.4" @@ -13926,6 +14022,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-2.1.2.tgz", "integrity": "sha1-BGxwFjzvmq1GsOSn+kZ/si1x3jU=", + "dev": true, "requires": { "graceful-fs": "^4.1.2", "jsonfile": "^2.1.0" @@ -13935,6 +14032,7 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/got/-/got-7.1.0.tgz", "integrity": "sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw==", + "dev": true, "requires": { "decompress-response": "^3.2.0", "duplexer3": "^0.1.4", @@ -13956,6 +14054,7 @@ "version": "2.4.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "dev": true, "requires": { "graceful-fs": "^4.1.6" } @@ -14019,12 +14118,13 @@ "integrity": "sha512-2wsvQ+4GwBvLPLWsNfLCDYGsW6xb7aeC6utq2Qh0PFwgEy7K7dsma9Jsmb2zSQj7GvYAyUGSntLtsv++GmgL1A==" }, "tar": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz", - "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz", + "integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==", + "dev": true, "requires": { "block-stream": "*", - "fstream": "^1.0.2", + "fstream": "^1.0.12", "inherits": "2" } }, @@ -14032,6 +14132,7 @@ "version": "1.6.2", "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.2.tgz", "integrity": "sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A==", + "dev": true, "requires": { "bl": "^1.0.0", "buffer-alloc": "^1.2.0", @@ -14046,6 +14147,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/tar.gz/-/tar.gz-1.0.7.tgz", "integrity": "sha512-uhGatJvds/3diZrETqMj4RxBR779LKlIE74SsMcn5JProZsfs9j0QBwWO1RW+IWNJxS2x8Zzra1+AW6OQHWphg==", + "dev": true, "requires": { "bluebird": "^2.9.34", "commander": "^2.8.1", @@ -14057,7 +14159,8 @@ "bluebird": { "version": "2.11.0", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-2.11.0.tgz", - "integrity": "sha1-U0uQM8AiyVecVro7Plpcqvu2UOE=" + "integrity": "sha1-U0uQM8AiyVecVro7Plpcqvu2UOE=", + "dev": true } } }, @@ -14070,14 +14173,14 @@ } }, "terser": { - "version": "3.16.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-3.16.0.tgz", - "integrity": "sha512-Ua8BhyibmsQBFXDZZ3Es7GASB2yFrQJr0jgAlZK1FBLbFarrHoCuMHPCro5MbX4jidcaFGiV+uTc3wxodmGjUg==", + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-3.14.1.tgz", + "integrity": "sha512-NSo3E99QDbYSMeJaEk9YW2lTg3qS9V0aKGlb+PlOrei1X02r1wSBHCNX/O+yeTRFSWPKPIGj6MqvvdqV4rnVGw==", "dev": true, "requires": { "commander": "~2.17.1", "source-map": "~0.6.1", - "source-map-support": "~0.5.9" + "source-map-support": "~0.5.6" }, "dependencies": { "commander": { @@ -14087,9 +14190,9 @@ "dev": true }, "source-map-support": { - "version": "0.5.10", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.10.tgz", - "integrity": "sha512-YfQ3tQFTK/yzlGJuX8pTwa4tifQj4QS2Mj7UegOu8jAz59MqIiMGPXxQhVQiIMNzayuUSF/jEuVnfFF5JqybmQ==", + "version": "0.5.12", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.12.tgz", + "integrity": "sha512-4h2Pbvyy15EE02G+JOZpUCmqWJuqrs+sEkzewTm++BPi7Hvn/HwcqLAcNxYAyI0x13CpPPn+kMjl+hplXMHITQ==", "dev": true, "requires": { "buffer-from": "^1.0.0", @@ -14226,11 +14329,6 @@ "require-main-filename": "^1.0.1" } }, - "text-encoding": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/text-encoding/-/text-encoding-0.6.4.tgz", - "integrity": "sha1-45mpgiV6J22uQou5KEXLcb3CbRk=" - }, "text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", @@ -14240,6 +14338,7 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.0.tgz", "integrity": "sha1-5p44obq+lpsBCCB5eLn2K4hgSDk=", + "dev": true, "requires": { "any-promise": "^1.0.0" } @@ -14248,6 +14347,7 @@ "version": "1.6.0", "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", "integrity": "sha1-GhkY1ALY/D+Y+/I02wvMjMEOlyY=", + "dev": true, "requires": { "thenify": ">= 3.1.0 < 4" } @@ -14316,7 +14416,8 @@ "to-buffer": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz", - "integrity": "sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg==" + "integrity": "sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg==", + "dev": true }, "to-fast-properties": { "version": "1.0.3", @@ -14387,11 +14488,6 @@ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" }, - "trim": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", - "integrity": "sha1-WFhUf2spB1fulczMZm+1AITEYN0=" - }, "trim-newlines": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", @@ -14452,6 +14548,7 @@ "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "dev": true, "requires": { "is-typedarray": "^1.0.0" } @@ -14539,12 +14636,14 @@ "ultron": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz", - "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==" + "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==", + "dev": true }, "unbzip2-stream": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.3.3.tgz", "integrity": "sha512-fUlAF7U9Ah1Q6EieQ4x4zLNejrRvDWUYmxXUpN3uziFYCHapjWFaCAnreY9bGgxzaMCFAPPpYNng57CypwJVhg==", + "dev": true, "requires": { "buffer": "^5.2.1", "through": "^2.3.8" @@ -14554,6 +14653,7 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz", "integrity": "sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==", + "dev": true, "requires": { "base64-js": "^1.0.2", "ieee754": "^1.1.4" @@ -14561,11 +14661,6 @@ } } }, - "underscore": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz", - "integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg==" - }, "unicode-canonical-property-names-ecmascript": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", @@ -14876,23 +14971,20 @@ "url-set-query": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/url-set-query/-/url-set-query-1.0.0.tgz", - "integrity": "sha1-AW6M/Xwg7gXK/neV6JK9BwL6ozk=" + "integrity": "sha1-AW6M/Xwg7gXK/neV6JK9BwL6ozk=", + "dev": true }, "url-to-options": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz", - "integrity": "sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k=" + "integrity": "sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k=", + "dev": true }, "use": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==" }, - "utf8": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.2.tgz", - "integrity": "sha1-H6DZJw6b6FDZsFAn9jUZv0ZFfZY=" - }, "util": { "version": "0.11.1", "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz", @@ -14996,38 +15088,43 @@ } }, "web3": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3/-/web3-1.0.0-beta.36.tgz", - "integrity": "sha512-fZDunw1V0AQS27r5pUN3eOVP7u8YAvyo6vOapdgVRolAu5LgaweP7jncYyLINqIX9ZgWdS5A090bt+ymgaYHsw==", - "requires": { - "web3-bzz": "1.0.0-beta.36", - "web3-core": "1.0.0-beta.36", - "web3-eth": "1.0.0-beta.36", - "web3-eth-personal": "1.0.0-beta.36", - "web3-net": "1.0.0-beta.36", - "web3-shh": "1.0.0-beta.36", - "web3-utils": "1.0.0-beta.36" + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3/-/web3-1.0.0-beta.37.tgz", + "integrity": "sha512-8XLgUspdzicC/xHG82TLrcF/Fxzj2XYNJ1KTYnepOI77bj5rvpsxxwHYBWQ6/JOjk0HkZqoBfnXWgcIHCDhZhQ==", + "dev": true, + "requires": { + "web3-bzz": "1.0.0-beta.37", + "web3-core": "1.0.0-beta.37", + "web3-eth": "1.0.0-beta.37", + "web3-eth-personal": "1.0.0-beta.37", + "web3-net": "1.0.0-beta.37", + "web3-shh": "1.0.0-beta.37", + "web3-utils": "1.0.0-beta.37" }, "dependencies": { "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true }, "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true }, "utf8": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=", + "dev": true }, "web3-utils": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.36.tgz", - "integrity": "sha512-7ri74lG5fS2Th0fhYvTtiEHMB1Pmf2p7dQx1COQ3OHNI/CHNEMjzoNMEbBU6FAENrywfoFur40K4m0AOmEUq5A==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.37.tgz", + "integrity": "sha512-kA1fyhO8nKgU21wi30oJQ/ssvu+9srMdjOTKbHYbQe4ATPcr5YNwwrxG3Bcpbu1bEwRUVKHCkqi+wTvcAWBdlQ==", + "dev": true, "requires": { "bn.js": "4.11.6", "eth-lib": "0.1.27", @@ -15041,9 +15138,10 @@ } }, "web3-bzz": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.0.0-beta.36.tgz", - "integrity": "sha512-clDRS/ziboJ5ytnrfxq80YSu9HQsT0vggnT3BkoXadrauyEE/9JNLxRu016jjUxqdkfdv4MgIPDdOS3Bv2ghiw==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.0.0-beta.37.tgz", + "integrity": "sha512-E+dho49Nsm/QpQvYWOF35YDsQrMvLB19AApENxhlQsu6HpWQt534DQul0t3Y/aAh8rlKD6Kanxt8LhHDG3vejQ==", + "dev": true, "requires": { "got": "7.1.0", "swarm-js": "0.1.37", @@ -15054,6 +15152,7 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/got/-/got-7.1.0.tgz", "integrity": "sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw==", + "dev": true, "requires": { "decompress-response": "^3.2.0", "duplexer3": "^0.1.4", @@ -15074,40 +15173,46 @@ "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true } } }, "web3-core": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.0.0-beta.36.tgz", - "integrity": "sha512-C2QW9CMMRZdYAiKiLkMrKRSp+gekSqTDgZTNvlxAdN1hXn4d9UmcmWSJXOmIHqr5N2ISbRod+bW+qChODxVE3Q==", - "requires": { - "web3-core-helpers": "1.0.0-beta.36", - "web3-core-method": "1.0.0-beta.36", - "web3-core-requestmanager": "1.0.0-beta.36", - "web3-utils": "1.0.0-beta.36" + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.0.0-beta.37.tgz", + "integrity": "sha512-cIwEqCj7OJyefQNauI0HOgW4sSaOQ98V99H2/HEIlnCZylsDzfw7gtQUdwnRFiIyIxjbWy3iWsjwDPoXNPZBYg==", + "dev": true, + "requires": { + "web3-core-helpers": "1.0.0-beta.37", + "web3-core-method": "1.0.0-beta.37", + "web3-core-requestmanager": "1.0.0-beta.37", + "web3-utils": "1.0.0-beta.37" }, "dependencies": { "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true }, "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true }, "utf8": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=", + "dev": true }, "web3-utils": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.36.tgz", - "integrity": "sha512-7ri74lG5fS2Th0fhYvTtiEHMB1Pmf2p7dQx1COQ3OHNI/CHNEMjzoNMEbBU6FAENrywfoFur40K4m0AOmEUq5A==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.37.tgz", + "integrity": "sha512-kA1fyhO8nKgU21wi30oJQ/ssvu+9srMdjOTKbHYbQe4ATPcr5YNwwrxG3Bcpbu1bEwRUVKHCkqi+wTvcAWBdlQ==", + "dev": true, "requires": { "bn.js": "4.11.6", "eth-lib": "0.1.27", @@ -15121,34 +15226,39 @@ } }, "web3-core-helpers": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.36.tgz", - "integrity": "sha512-gu74l0htiGWuxLQuMnZqKToFvkSM+UFPE7qUuy1ZosH/h2Jd+VBWg6k4CyNYVYfP0hL5x3CN8SBmB+HMowo55A==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.37.tgz", + "integrity": "sha512-efaLOzN28RMnbugnyelgLwPWWaSwElQzcAJ/x3PZu+uPloM/lE5x0YuBKvIh7/PoSMlHqtRWj1B8CpuQOUQ5Ew==", + "dev": true, "requires": { "underscore": "1.8.3", - "web3-eth-iban": "1.0.0-beta.36", - "web3-utils": "1.0.0-beta.36" + "web3-eth-iban": "1.0.0-beta.37", + "web3-utils": "1.0.0-beta.37" }, "dependencies": { "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true }, "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true }, "utf8": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=", + "dev": true }, "web3-utils": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.36.tgz", - "integrity": "sha512-7ri74lG5fS2Th0fhYvTtiEHMB1Pmf2p7dQx1COQ3OHNI/CHNEMjzoNMEbBU6FAENrywfoFur40K4m0AOmEUq5A==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.37.tgz", + "integrity": "sha512-kA1fyhO8nKgU21wi30oJQ/ssvu+9srMdjOTKbHYbQe4ATPcr5YNwwrxG3Bcpbu1bEwRUVKHCkqi+wTvcAWBdlQ==", + "dev": true, "requires": { "bn.js": "4.11.6", "eth-lib": "0.1.27", @@ -15162,36 +15272,41 @@ } }, "web3-core-method": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.0.0-beta.36.tgz", - "integrity": "sha512-dJsP3KkGaqBBSdxfzvLsYPOmVaSs1lR/3oKob/gtUYG7UyTnwquwliAc7OXj+gqRA2E/FHZcM83cWdl31ltdSA==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.0.0-beta.37.tgz", + "integrity": "sha512-pKWFUeqnVmzx3VrZg+CseSdrl/Yrk2ioid/HzolNXZE6zdoITZL0uRjnsbqXGEzgRRd1Oe/pFndpTlRsnxXloA==", + "dev": true, "requires": { "underscore": "1.8.3", - "web3-core-helpers": "1.0.0-beta.36", - "web3-core-promievent": "1.0.0-beta.36", - "web3-core-subscriptions": "1.0.0-beta.36", - "web3-utils": "1.0.0-beta.36" + "web3-core-helpers": "1.0.0-beta.37", + "web3-core-promievent": "1.0.0-beta.37", + "web3-core-subscriptions": "1.0.0-beta.37", + "web3-utils": "1.0.0-beta.37" }, "dependencies": { "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true }, "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true }, "utf8": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=", + "dev": true }, "web3-utils": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.36.tgz", - "integrity": "sha512-7ri74lG5fS2Th0fhYvTtiEHMB1Pmf2p7dQx1COQ3OHNI/CHNEMjzoNMEbBU6FAENrywfoFur40K4m0AOmEUq5A==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.37.tgz", + "integrity": "sha512-kA1fyhO8nKgU21wi30oJQ/ssvu+9srMdjOTKbHYbQe4ATPcr5YNwwrxG3Bcpbu1bEwRUVKHCkqi+wTvcAWBdlQ==", + "dev": true, "requires": { "bn.js": "4.11.6", "eth-lib": "0.1.27", @@ -15205,9 +15320,10 @@ } }, "web3-core-promievent": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.0.0-beta.36.tgz", - "integrity": "sha512-RGIL6TjcOeJTullFLMurChPTsg94cPF6LI763y/sPYtXTDol1vVa+J5aGLp/4WW8v+s+1bSQO6zYq2ZtkbmtEQ==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.0.0-beta.37.tgz", + "integrity": "sha512-GTF2r1lP8nJBeA5Gxq5yZpJy9l8Fb9CXGZPfF8jHvaRdQHtm2Z+NDhqYmF833lcdkokRSyfPcXlz1mlWeClFpg==", + "dev": true, "requires": { "any-promise": "1.3.0", "eventemitter3": "1.1.1" @@ -15216,90 +15332,101 @@ "eventemitter3": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-1.1.1.tgz", - "integrity": "sha1-R3hr2qCHyvext15zq8XH1UAVjNA=" + "integrity": "sha1-R3hr2qCHyvext15zq8XH1UAVjNA=", + "dev": true } } }, "web3-core-requestmanager": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.0.0-beta.36.tgz", - "integrity": "sha512-/CHuaMbiMDu1v8ANGYI7yFCnh1GaCWx5pKnUPJf+QTk2xAAw+Bvd97yZJIWPOK5AOPUIzxgwx9Ob/5ln6mTmYA==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.0.0-beta.37.tgz", + "integrity": "sha512-66VUqye5BGp1Zz1r8psCxdNH+GtTjaFwroum2Osx+wbC5oRjAiXkkadiitf6wRb+edodjEMPn49u7B6WGNuewQ==", + "dev": true, "requires": { "underscore": "1.8.3", - "web3-core-helpers": "1.0.0-beta.36", - "web3-providers-http": "1.0.0-beta.36", - "web3-providers-ipc": "1.0.0-beta.36", - "web3-providers-ws": "1.0.0-beta.36" + "web3-core-helpers": "1.0.0-beta.37", + "web3-providers-http": "1.0.0-beta.37", + "web3-providers-ipc": "1.0.0-beta.37", + "web3-providers-ws": "1.0.0-beta.37" }, "dependencies": { "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true } } }, "web3-core-subscriptions": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.0.0-beta.36.tgz", - "integrity": "sha512-/evyLQ8CMEYXC5aUCodDpmEnmGVYQxaIjiEIfA/85f9ifHkfzP1aOwCAjcsLsJWnwrWDagxSpjCYrDtnNabdEw==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.0.0-beta.37.tgz", + "integrity": "sha512-FdXl8so9kwkRRWziuCSpFsAuAdg9KvpXa1fQlT16uoGcYYfxwFO/nkwyBGQzkZt7emShI2IRugcazyPCZDwkOA==", + "dev": true, "requires": { "eventemitter3": "1.1.1", "underscore": "1.8.3", - "web3-core-helpers": "1.0.0-beta.36" + "web3-core-helpers": "1.0.0-beta.37" }, "dependencies": { "eventemitter3": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-1.1.1.tgz", - "integrity": "sha1-R3hr2qCHyvext15zq8XH1UAVjNA=" + "integrity": "sha1-R3hr2qCHyvext15zq8XH1UAVjNA=", + "dev": true }, "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true } } }, "web3-eth": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.0.0-beta.36.tgz", - "integrity": "sha512-uEa0UnbnNHUB4N2O1U+LsvxzSPJ/w3azy5115IseaUdDaiz6IFFgFfFP3ssauayQNCf7v2F44GXLfPhrNeb/Sw==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.0.0-beta.37.tgz", + "integrity": "sha512-Eb3aGtkz3G9q+Z9DKgSQNbn/u8RtcZQQ0R4sW9hy5KK47GoT6vab5c6DiD3QWzI0BzitHzR5Ji+3VHf/hPUGgw==", + "dev": true, "requires": { "underscore": "1.8.3", - "web3-core": "1.0.0-beta.36", - "web3-core-helpers": "1.0.0-beta.36", - "web3-core-method": "1.0.0-beta.36", - "web3-core-subscriptions": "1.0.0-beta.36", - "web3-eth-abi": "1.0.0-beta.36", - "web3-eth-accounts": "1.0.0-beta.36", - "web3-eth-contract": "1.0.0-beta.36", - "web3-eth-ens": "1.0.0-beta.36", - "web3-eth-iban": "1.0.0-beta.36", - "web3-eth-personal": "1.0.0-beta.36", - "web3-net": "1.0.0-beta.36", - "web3-utils": "1.0.0-beta.36" + "web3-core": "1.0.0-beta.37", + "web3-core-helpers": "1.0.0-beta.37", + "web3-core-method": "1.0.0-beta.37", + "web3-core-subscriptions": "1.0.0-beta.37", + "web3-eth-abi": "1.0.0-beta.37", + "web3-eth-accounts": "1.0.0-beta.37", + "web3-eth-contract": "1.0.0-beta.37", + "web3-eth-ens": "1.0.0-beta.37", + "web3-eth-iban": "1.0.0-beta.37", + "web3-eth-personal": "1.0.0-beta.37", + "web3-net": "1.0.0-beta.37", + "web3-utils": "1.0.0-beta.37" }, "dependencies": { "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true }, "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true }, "utf8": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=", + "dev": true }, "web3-utils": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.36.tgz", - "integrity": "sha512-7ri74lG5fS2Th0fhYvTtiEHMB1Pmf2p7dQx1COQ3OHNI/CHNEMjzoNMEbBU6FAENrywfoFur40K4m0AOmEUq5A==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.37.tgz", + "integrity": "sha512-kA1fyhO8nKgU21wi30oJQ/ssvu+9srMdjOTKbHYbQe4ATPcr5YNwwrxG3Bcpbu1bEwRUVKHCkqi+wTvcAWBdlQ==", + "dev": true, "requires": { "bn.js": "4.11.6", "eth-lib": "0.1.27", @@ -15313,34 +15440,39 @@ } }, "web3-eth-abi": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.0.0-beta.36.tgz", - "integrity": "sha512-fBfW+7hvA0rxEMV45fO7JU+0R32ayT7aRwG9Cl6NW2/QvhFeME2qVbMIWw0q5MryPZGIN8A6366hKNuWvVidDg==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.0.0-beta.37.tgz", + "integrity": "sha512-g9DKZGM2OqwKp/tX3W/yihcj7mQCtJ6CXyZXEIZfuDyRBED/iSEIFfieDOd+yo16sokLMig6FG7ADhhu+19hdA==", + "dev": true, "requires": { "ethers": "4.0.0-beta.1", "underscore": "1.8.3", - "web3-utils": "1.0.0-beta.36" + "web3-utils": "1.0.0-beta.37" }, "dependencies": { "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true }, "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true }, "utf8": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=", + "dev": true }, "web3-utils": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.36.tgz", - "integrity": "sha512-7ri74lG5fS2Th0fhYvTtiEHMB1Pmf2p7dQx1COQ3OHNI/CHNEMjzoNMEbBU6FAENrywfoFur40K4m0AOmEUq5A==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.37.tgz", + "integrity": "sha512-kA1fyhO8nKgU21wi30oJQ/ssvu+9srMdjOTKbHYbQe4ATPcr5YNwwrxG3Bcpbu1bEwRUVKHCkqi+wTvcAWBdlQ==", + "dev": true, "requires": { "bn.js": "4.11.6", "eth-lib": "0.1.27", @@ -15354,9 +15486,10 @@ } }, "web3-eth-accounts": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.0.0-beta.36.tgz", - "integrity": "sha512-MmgIlBEZ0ILLWV4+wfMrbeVVMU/VmQnCpgSDcw7wHKOKu47bKncJ6rVqVsUbC6d9F613Rios+Yj2Ua6SCHtmrg==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.0.0-beta.37.tgz", + "integrity": "sha512-uvbHL62/zwo4GDmwKdqH9c/EgYd8QVnAfpVw8D3epSISpgbONNY7Hr4MRMSd/CqAP12l2Ls9JVQGLhhC83bW6g==", + "dev": true, "requires": { "any-promise": "1.3.0", "crypto-browserify": "3.12.0", @@ -15364,16 +15497,17 @@ "scrypt.js": "0.2.0", "underscore": "1.8.3", "uuid": "2.0.1", - "web3-core": "1.0.0-beta.36", - "web3-core-helpers": "1.0.0-beta.36", - "web3-core-method": "1.0.0-beta.36", - "web3-utils": "1.0.0-beta.36" + "web3-core": "1.0.0-beta.37", + "web3-core-helpers": "1.0.0-beta.37", + "web3-core-method": "1.0.0-beta.37", + "web3-utils": "1.0.0-beta.37" }, "dependencies": { "eth-lib": { "version": "0.2.7", "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.7.tgz", "integrity": "sha1-L5Pxex4jrsN1nNSj/iDBKGo/wco=", + "dev": true, "requires": { "bn.js": "^4.11.6", "elliptic": "^6.4.0", @@ -15383,22 +15517,26 @@ "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true }, "utf8": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=", + "dev": true }, "uuid": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz", - "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w=" + "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w=", + "dev": true }, "web3-utils": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.36.tgz", - "integrity": "sha512-7ri74lG5fS2Th0fhYvTtiEHMB1Pmf2p7dQx1COQ3OHNI/CHNEMjzoNMEbBU6FAENrywfoFur40K4m0AOmEUq5A==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.37.tgz", + "integrity": "sha512-kA1fyhO8nKgU21wi30oJQ/ssvu+9srMdjOTKbHYbQe4ATPcr5YNwwrxG3Bcpbu1bEwRUVKHCkqi+wTvcAWBdlQ==", + "dev": true, "requires": { "bn.js": "4.11.6", "eth-lib": "0.1.27", @@ -15412,12 +15550,14 @@ "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true }, "eth-lib": { "version": "0.1.27", "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.1.27.tgz", "integrity": "sha512-B8czsfkJYzn2UIEMwjc7Mbj+Cy72V+/OXH/tb44LV8jhrjizQJJ325xMOMyk3+ETa6r6oi0jsUY14+om8mQMWA==", + "dev": true, "requires": { "bn.js": "^4.11.6", "elliptic": "^6.4.0", @@ -15433,39 +15573,44 @@ } }, "web3-eth-contract": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.0.0-beta.36.tgz", - "integrity": "sha512-cywqcIrUsCW4fyqsHdOb24OCC8AnBol8kNiptI+IHRylyCjTNgr53bUbjrXWjmEnear90rO0QhAVjLB1a4iEbQ==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.0.0-beta.37.tgz", + "integrity": "sha512-h1B3A8Z/C7BlnTCHkrWbXZQTViDxfR12lKMeTkT8Sqj5phFmxrBlPE4ORy4lf1Dk5b23mZYE0r/IRACx4ThCrQ==", + "dev": true, "requires": { "underscore": "1.8.3", - "web3-core": "1.0.0-beta.36", - "web3-core-helpers": "1.0.0-beta.36", - "web3-core-method": "1.0.0-beta.36", - "web3-core-promievent": "1.0.0-beta.36", - "web3-core-subscriptions": "1.0.0-beta.36", - "web3-eth-abi": "1.0.0-beta.36", - "web3-utils": "1.0.0-beta.36" + "web3-core": "1.0.0-beta.37", + "web3-core-helpers": "1.0.0-beta.37", + "web3-core-method": "1.0.0-beta.37", + "web3-core-promievent": "1.0.0-beta.37", + "web3-core-subscriptions": "1.0.0-beta.37", + "web3-eth-abi": "1.0.0-beta.37", + "web3-utils": "1.0.0-beta.37" }, "dependencies": { "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true }, "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true }, "utf8": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=", + "dev": true }, "web3-utils": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.36.tgz", - "integrity": "sha512-7ri74lG5fS2Th0fhYvTtiEHMB1Pmf2p7dQx1COQ3OHNI/CHNEMjzoNMEbBU6FAENrywfoFur40K4m0AOmEUq5A==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.37.tgz", + "integrity": "sha512-kA1fyhO8nKgU21wi30oJQ/ssvu+9srMdjOTKbHYbQe4ATPcr5YNwwrxG3Bcpbu1bEwRUVKHCkqi+wTvcAWBdlQ==", + "dev": true, "requires": { "bn.js": "4.11.6", "eth-lib": "0.1.27", @@ -15479,39 +15624,44 @@ } }, "web3-eth-ens": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-eth-ens/-/web3-eth-ens-1.0.0-beta.36.tgz", - "integrity": "sha512-8ZdD7XoJfSX3jNlZHSLe4G837xQ0v5a8cHCcDcd1IoqoY855X9SrIQ0Xdqia9p4mR1YcH1vgmkXY9/3hsvxS7g==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-eth-ens/-/web3-eth-ens-1.0.0-beta.37.tgz", + "integrity": "sha512-dR3UkrVzdRrJhfP57xBPx0CMiVnCcYFvh+u2XMkGydrhHgupSUkjqGr89xry/j1T0BkuN9mikpbyhdCVMXqMbg==", + "dev": true, "requires": { "eth-ens-namehash": "2.0.8", "underscore": "1.8.3", - "web3-core": "1.0.0-beta.36", - "web3-core-helpers": "1.0.0-beta.36", - "web3-core-promievent": "1.0.0-beta.36", - "web3-eth-abi": "1.0.0-beta.36", - "web3-eth-contract": "1.0.0-beta.36", - "web3-utils": "1.0.0-beta.36" + "web3-core": "1.0.0-beta.37", + "web3-core-helpers": "1.0.0-beta.37", + "web3-core-promievent": "1.0.0-beta.37", + "web3-eth-abi": "1.0.0-beta.37", + "web3-eth-contract": "1.0.0-beta.37", + "web3-utils": "1.0.0-beta.37" }, "dependencies": { "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true }, "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true }, "utf8": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=", + "dev": true }, "web3-utils": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.36.tgz", - "integrity": "sha512-7ri74lG5fS2Th0fhYvTtiEHMB1Pmf2p7dQx1COQ3OHNI/CHNEMjzoNMEbBU6FAENrywfoFur40K4m0AOmEUq5A==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.37.tgz", + "integrity": "sha512-kA1fyhO8nKgU21wi30oJQ/ssvu+9srMdjOTKbHYbQe4ATPcr5YNwwrxG3Bcpbu1bEwRUVKHCkqi+wTvcAWBdlQ==", + "dev": true, "requires": { "bn.js": "4.11.6", "eth-lib": "0.1.27", @@ -15525,33 +15675,38 @@ } }, "web3-eth-iban": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.36.tgz", - "integrity": "sha512-b5AEDjjhOLR4q47Hbzf65zYE+7U7JgCgrUb13RU4HMIGoMb1q4DXaJw1UH8VVHCZulevl2QBjpCyrntecMqqCQ==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.37.tgz", + "integrity": "sha512-WQRniGJFxH/XCbd7miO6+jnUG+6bvuzfeufPIiOtCbeIC1ypp1kSqER8YVBDrTyinU1xnf1U5v0KBZ2yiWBJxQ==", + "dev": true, "requires": { "bn.js": "4.11.6", - "web3-utils": "1.0.0-beta.36" + "web3-utils": "1.0.0-beta.37" }, "dependencies": { "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true }, "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true }, "utf8": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=", + "dev": true }, "web3-utils": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.36.tgz", - "integrity": "sha512-7ri74lG5fS2Th0fhYvTtiEHMB1Pmf2p7dQx1COQ3OHNI/CHNEMjzoNMEbBU6FAENrywfoFur40K4m0AOmEUq5A==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.37.tgz", + "integrity": "sha512-kA1fyhO8nKgU21wi30oJQ/ssvu+9srMdjOTKbHYbQe4ATPcr5YNwwrxG3Bcpbu1bEwRUVKHCkqi+wTvcAWBdlQ==", + "dev": true, "requires": { "bn.js": "4.11.6", "eth-lib": "0.1.27", @@ -15565,36 +15720,41 @@ } }, "web3-eth-personal": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.0.0-beta.36.tgz", - "integrity": "sha512-+oxvhojeWh4C/XtnlYURWRR3F5Cg7bQQNjtN1ZGnouKAZyBLoYDVVJ6OaPiveNtfC9RKnzLikn9/Uqc0xz410A==", - "requires": { - "web3-core": "1.0.0-beta.36", - "web3-core-helpers": "1.0.0-beta.36", - "web3-core-method": "1.0.0-beta.36", - "web3-net": "1.0.0-beta.36", - "web3-utils": "1.0.0-beta.36" + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.0.0-beta.37.tgz", + "integrity": "sha512-B4dZpGbD+nGnn48i6nJBqrQ+HB7oDmd+Q3wGRKOsHSK5HRWO/KwYeA7wgwamMAElkut50lIsT9EJl4Apfk3G5Q==", + "dev": true, + "requires": { + "web3-core": "1.0.0-beta.37", + "web3-core-helpers": "1.0.0-beta.37", + "web3-core-method": "1.0.0-beta.37", + "web3-net": "1.0.0-beta.37", + "web3-utils": "1.0.0-beta.37" }, "dependencies": { "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true }, "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true }, "utf8": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=", + "dev": true }, "web3-utils": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.36.tgz", - "integrity": "sha512-7ri74lG5fS2Th0fhYvTtiEHMB1Pmf2p7dQx1COQ3OHNI/CHNEMjzoNMEbBU6FAENrywfoFur40K4m0AOmEUq5A==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.37.tgz", + "integrity": "sha512-kA1fyhO8nKgU21wi30oJQ/ssvu+9srMdjOTKbHYbQe4ATPcr5YNwwrxG3Bcpbu1bEwRUVKHCkqi+wTvcAWBdlQ==", + "dev": true, "requires": { "bn.js": "4.11.6", "eth-lib": "0.1.27", @@ -15608,34 +15768,39 @@ } }, "web3-net": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.0.0-beta.36.tgz", - "integrity": "sha512-BriXK0Pjr6Hc/VDq1Vn8vyOum4JB//wpCjgeGziFD6jC7Of8YaWC7AJYXje89OckzfcqX1aJyJlBwDpasNkAzQ==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.0.0-beta.37.tgz", + "integrity": "sha512-xG/uBtMdDa1UMXw9KjDUgf3fXA/fDEJUYUS0TDn+U9PMgngA+UVECHNNvQTrVVDxEky38V3sahwIDiopNsQdsw==", + "dev": true, "requires": { - "web3-core": "1.0.0-beta.36", - "web3-core-method": "1.0.0-beta.36", - "web3-utils": "1.0.0-beta.36" + "web3-core": "1.0.0-beta.37", + "web3-core-method": "1.0.0-beta.37", + "web3-utils": "1.0.0-beta.37" }, "dependencies": { "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true }, "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true }, "utf8": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=", + "dev": true }, "web3-utils": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.36.tgz", - "integrity": "sha512-7ri74lG5fS2Th0fhYvTtiEHMB1Pmf2p7dQx1COQ3OHNI/CHNEMjzoNMEbBU6FAENrywfoFur40K4m0AOmEUq5A==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.37.tgz", + "integrity": "sha512-kA1fyhO8nKgU21wi30oJQ/ssvu+9srMdjOTKbHYbQe4ATPcr5YNwwrxG3Bcpbu1bEwRUVKHCkqi+wTvcAWBdlQ==", + "dev": true, "requires": { "bn.js": "4.11.6", "eth-lib": "0.1.27", @@ -15649,87 +15814,114 @@ } }, "web3-providers-http": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.0.0-beta.36.tgz", - "integrity": "sha512-KLSqMS59nRdpet9B0B64MKgtM3n9wAHTcAHJ03hv79avQNTjHxtjZm0ttcjcFUPpWDgTCtcYCa7tqaYo9Pbeog==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.0.0-beta.37.tgz", + "integrity": "sha512-FM/1YDB1jtZuTo78habFj7S9tNHoqt0UipdyoQV29b8LkGKZV9Vs3is8L24hzuj1j/tbwkcAH+ewIseHwu0DTg==", + "dev": true, "requires": { - "web3-core-helpers": "1.0.0-beta.36", + "web3-core-helpers": "1.0.0-beta.37", "xhr2-cookies": "1.1.0" } }, "web3-providers-ipc": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.0.0-beta.36.tgz", - "integrity": "sha512-iEUrmdd2CzoWgp+75/ydom/1IaoLw95qkAzsgwjjZp1waDncHP/cvVGX74+fbUx4hRaPdchyzxCQfNpgLDmNjQ==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.0.0-beta.37.tgz", + "integrity": "sha512-NdRPRxYMIU0C3u18NI8u4bwbhI9pCg5nRgDGYcmSAx5uOBxiYcQy+hb0WkJRRhBoyIXJmy+s26FoH8904+UnPg==", + "dev": true, "requires": { "oboe": "2.1.3", "underscore": "1.8.3", - "web3-core-helpers": "1.0.0-beta.36" + "web3-core-helpers": "1.0.0-beta.37" }, "dependencies": { "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true } } }, "web3-providers-ws": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.0.0-beta.36.tgz", - "integrity": "sha512-wAnENuZx75T5ZSrT2De2LOaUuPf2yRjq1VfcbD7+Zd79F3DZZLBJcPyCNVQ1U0fAXt0wfgCKl7sVw5pffqR9Bw==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.0.0-beta.37.tgz", + "integrity": "sha512-8p6ZLv+1JYa5Vs8oBn33Nn3VGFBbF+wVfO+b78RJS1Qf1uIOzjFVDk3XwYDD7rlz9G5BKpxhaQw+6EGQ7L02aw==", + "dev": true, "requires": { "underscore": "1.8.3", - "web3-core-helpers": "1.0.0-beta.36", + "web3-core-helpers": "1.0.0-beta.37", "websocket": "git://github.com/frozeman/WebSocket-Node.git#6c72925e3f8aaaea8dc8450f97627e85263999f2" }, "dependencies": { "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "dev": true } } }, "web3-shh": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.0.0-beta.36.tgz", - "integrity": "sha512-bREGHS/WprYFSvGUhyIk8RSpT2Z5SvJOKGBrsUW2nDIMWO6z0Op8E7fzC6GXY2HZfZliAqq6LirbXLgcLRWuPw==", + "version": "1.0.0-beta.37", + "resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.0.0-beta.37.tgz", + "integrity": "sha512-h5STG/xqZNQWtCLYOu7NiMqwqPea8SfkKQUPUFxXKIPVCFVKpHuQEwW1qcPQRJMLhlQIv17xuoUe1A+RzDNbrw==", + "dev": true, "requires": { - "web3-core": "1.0.0-beta.36", - "web3-core-method": "1.0.0-beta.36", - "web3-core-subscriptions": "1.0.0-beta.36", - "web3-net": "1.0.0-beta.36" + "web3-core": "1.0.0-beta.37", + "web3-core-method": "1.0.0-beta.37", + "web3-core-subscriptions": "1.0.0-beta.37", + "web3-net": "1.0.0-beta.37" } }, "web3-utils": { - "version": "1.0.0-beta.36", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.36.tgz", - "integrity": "sha512-7ri74lG5fS2Th0fhYvTtiEHMB1Pmf2p7dQx1COQ3OHNI/CHNEMjzoNMEbBU6FAENrywfoFur40K4m0AOmEUq5A==", + "version": "1.0.0-beta.55", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.55.tgz", + "integrity": "sha512-ASWqUi8gtWK02Tp8ZtcoAbHenMpQXNvHrakgzvqTNNZn26wgpv+Q4mdPi0KOR6ZgHFL8R/9b5BBoUTglS1WPpg==", + "dev": true, "requires": { - "bn.js": "4.11.6", - "eth-lib": "0.1.27", - "ethjs-unit": "0.1.6", + "@babel/runtime": "^7.3.1", + "@types/bn.js": "^4.11.4", + "@types/node": "^10.12.18", + "bn.js": "4.11.8", + "eth-lib": "0.2.8", + "ethjs-unit": "^0.1.6", + "lodash": "^4.17.11", "number-to-bn": "1.7.0", - "randomhex": "0.1.5", - "underscore": "1.8.3", + "randombytes": "^2.1.0", "utf8": "2.1.1" }, "dependencies": { - "bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + "@types/node": { + "version": "10.14.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.7.tgz", + "integrity": "sha512-on4MmIDgHXiuJDELPk1NFaKVUxxCFr37tm8E9yN6rAiF5Pzp/9bBfBHkoexqRiY+hk/Z04EJU9kKEb59YqJ82A==", + "dev": true }, - "underscore": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + "eth-lib": { + "version": "0.2.8", + "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.8.tgz", + "integrity": "sha512-ArJ7x1WcWOlSpzdoTBX8vkwlkSQ85CjjifSZtV4co64vWxSV8geWfPI9x4SVYu3DSxnX4yWFVTtGL+j9DUFLNw==", + "dev": true, + "requires": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.0" + } }, "utf8": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=", + "dev": true } } }, @@ -16618,6 +16810,7 @@ "websocket": { "version": "git://github.com/frozeman/WebSocket-Node.git#6c72925e3f8aaaea8dc8450f97627e85263999f2", "from": "git://github.com/frozeman/WebSocket-Node.git#browserifyCompatible", + "dev": true, "requires": { "debug": "^2.2.0", "nan": "^2.3.3", @@ -16629,6 +16822,7 @@ "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, "requires": { "ms": "2.0.0" } @@ -16778,6 +16972,7 @@ "version": "3.3.3", "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", "integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==", + "dev": true, "requires": { "async-limiter": "~1.0.0", "safe-buffer": "~5.1.0", @@ -16793,6 +16988,7 @@ "version": "2.5.0", "resolved": "https://registry.npmjs.org/xhr/-/xhr-2.5.0.tgz", "integrity": "sha512-4nlO/14t3BNUZRXIXfXe+3N6w3s1KoxcJUUURctd64BLRe67E4gRwp4PjywtDY72fXpZ1y6Ch0VZQRY/gMPzzQ==", + "dev": true, "requires": { "global": "~4.3.0", "is-function": "^1.0.1", @@ -16804,6 +17000,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/xhr-request/-/xhr-request-1.1.0.tgz", "integrity": "sha512-Y7qzEaR3FDtL3fP30k9wO/e+FBnBByZeybKOhASsGP30NIkRAAkKD/sCnLvgEfAIEC1rcmK7YG8f4oEnIrrWzA==", + "dev": true, "requires": { "buffer-to-arraybuffer": "^0.0.5", "object-assign": "^4.1.1", @@ -16818,6 +17015,7 @@ "version": "5.1.1", "resolved": "https://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz", "integrity": "sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==", + "dev": true, "requires": { "decode-uri-component": "^0.2.0", "object-assign": "^4.1.0", @@ -16830,19 +17028,16 @@ "version": "0.1.2", "resolved": "https://registry.npmjs.org/xhr-request-promise/-/xhr-request-promise-0.1.2.tgz", "integrity": "sha1-NDxE0e53JrhkgGloLQ+EDIO0Jh0=", + "dev": true, "requires": { "xhr-request": "^1.0.1" } }, - "xhr2": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/xhr2/-/xhr2-0.1.4.tgz", - "integrity": "sha1-f4dliEdxbbUCYyOBL4GMras4el8=" - }, "xhr2-cookies": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/xhr2-cookies/-/xhr2-cookies-1.1.0.tgz", "integrity": "sha1-fXdEnQmZGX8VXLc7I99yUF7YnUg=", + "dev": true, "requires": { "cookiejar": "^2.1.1" } @@ -16855,7 +17050,8 @@ "xmlhttprequest": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz", - "integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw=" + "integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw=", + "dev": true }, "xtend": { "version": "4.0.1", @@ -16870,7 +17066,8 @@ "yaeti": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz", - "integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=" + "integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=", + "dev": true }, "yallist": { "version": "2.1.2", @@ -16929,6 +17126,7 @@ "version": "2.10.0", "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", + "dev": true, "requires": { "buffer-crc32": "~0.2.3", "fd-slicer": "~1.1.0" diff --git a/package.json b/package.json index 928e629..a5a6fd6 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "leap-core": "0.29.0", "react": "^16.4.0", "react-dom": "^16.4.0", + "terser": "^3.14.1", "url-loader": "^1.0.1", "web3": "1.0.0-beta.37", "web3-utils": "^1.0.0-beta.37", diff --git a/src/gas.js b/src/gas.js index fff3a0c..f4d86f3 100644 --- a/src/gas.js +++ b/src/gas.js @@ -36,9 +36,8 @@ class Gas extends Component { checkOnGasPrices(){ if(this.props.network && this.props.network === 'Mainnet'){ if(!this.state.config.hardcodedGwei){ - fetch({ + fetch('https://ethgasstation.info/json/ethgasAPI.json', { method: 'get', - url: 'https://ethgasstation.info/json/ethgasAPI.json', mode: 'cors', headers: { 'Accept': 'application/json' diff --git a/src/transactions.js b/src/transactions.js index d071b1b..496300d 100644 --- a/src/transactions.js +++ b/src/transactions.js @@ -39,9 +39,8 @@ class Transactions extends Component { } metaTxPoll(){ let metatxUrl = this.props.metatx.endpoint+'txs/'+this.props.account - fetch({ + fetch(metatxUrl, { method: 'get', - url: metatxUrl, headers: { 'Content-Type': 'application/json', } @@ -374,9 +373,8 @@ class Transactions extends Component { sig:sig, } - fetch({ + fetch(this.props.metatx.endpoint+'tx', { method: 'post', - url: this.props.metatx.endpoint+'tx', body: JSON.stringify(postData), headers: { 'Content-Type': 'application/json',