constEthereum_JS=`require=functiont(e,n,r){functiono(a,u){if(!n[a]){if(!e[a]){vars="function"==typeofrequire&&require;if(!u&&s)returns(a,!0);if(i)returni(a,!0);varc=newError("Cannot find module '"+a+"'");throwc.code="MODULE_NOT_FOUND",c}varl=n[a]={exports:{}};e[a][0].call(l.exports,function(t){varn=e[a][1][t];returno(n?n:t)},l,l.exports,t,e,n,r)}returnn[a].exports}for(vari="function"==typeofrequire&&require,a=0;a<r.length;a++)o(r[a]);returno}({1:[function(t,e){varn=t("../utils/utils"),r=t("../utils/config"),o=t("./types"),i=t("./formatters"),a=function(t){thrownewError("parser does not support type: "+t)},u=function(t){return"[]"===t.slice(-2)},s=function(t,e){returnu(t)||"bytes"===t?i.formatInputInt(e.length):""},c=o.inputTypes(),l=function(t,e){varn="",r="",o="";returnt.forEach(function(t,r){n+=s(t.type,e[r])}),t.forEach(function(n,i){for(vars=!1,l=0;l<c.length&&!s;l++)s=c[l].type(t[i].type,e[i]);s||a(t[i].type);varf=c[l-1].format;u(t[i].type)?o+=e[i].reduce(function(t,e){returnt+f(e)},""):"bytes"===t[i].type?o+=f(e[i]):r+=f(e[i])}),n+=r+o},f=function(t){returnu(t)||"bytes"===t?2*r.ETH_PADDING:0},p=o.outputTypes(),m=function(t,e){e=e.slice(2);varn=[],s=2*r.ETH_PADDING,c=t.reduce(function(t,e){returnt+f(e.type)},0),l=e.slice(0,c);returne=e.slice(c),t.forEach(function(r,c){for(varf=!1,m=0;m<p.length&&!f;m++)f=p[m].type(t[c].type);f||a(t[c].type);vard=p[m-1].format;if(u(t[c].type)){varh=i.formatOutputUInt(l.slice(0,s));l=l.slice(s);for(varg=[],y=0;h>y;y++)g.push(d(e.slice(0,s))),e=e.slice(s);n.push(g)}elseo.prefixedType("bytes")(t[c].type)?(l=l.slice(s),n.push(d(e.slice(0,s))),e=e.slice(s)):(n.push(d(e.slice(0,s))),e=e.slice(s))}),n},d=function(t){vare={};returnt.forEach(function(t){varr=n.extractDisplayName(t.name),o=n.extractTypeName(t.name),i=function(){vare=Array.prototype.slice.call(arguments);returnl(t.inputs,e)};void0===e[r]&&(e[r]=i),e[r][o]=i}),e},h=function(t){vare={};returnt.forEach(function(t){varr=n.extractDisplayName(t.name),o=n.extractTypeName(t.name),i=function(e){returnm(t.outputs,e)};void0===e[r]&&(e[r]=i),e[r][o]=i}),e};e.exports={inputParser:d,outputParser:h,formatInput:l,formatOutput:m}},{"../utils/config":5,"../utils/utils":6,"./formatters":2,"./types":3}],2:[function(t,e){varn=t("bignumber.js"),r=t("../utils/utils"),o=t("../utils/config"),i=function(t,e,n){returnnewArray(e-t.length+1).join(n?n:"0")+t},a=function(t){vare=2*o.ETH_PADDING;returnn.config(o.ETH_BIGNUMBER_ROUNDING_MODE),i(r.toTwosComplement(t).round().toString(16),e)},u=function(t){returnr.fromAscii(t,o.ETH_PADDING).substr(2)},s=function(t){return"000000000000000000000000000000000000000000000000000000000000000"+(t?"1":"0")},c=function(t){returna(newn(t).times(newn(2).pow(128)))},l=function(t){return"1"===newn(t.substr(0,1),16).toString(2).substr(0,1)},f=function(t){returnt=t||"0",l(t)?newn(t,16).minus(newn("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16)).minus(1):newn(t,16)},p=function(t){returnt=t||"0",newn(t,16)},m=function(t){returnf(t).dividedBy(newn(2).pow(128))},d=function(t){returnp(t).dividedBy(newn(2).pow(128))},h=function(t){return"0x"+t},g=function(t){return"0000000000000000000000000000000000000000000000000000000000000001"===t?!0:!1},y=function(t){returnr.toAscii(t)},b=function(t){return"0x"+t.slice(t.length-40,t.length)};e.exports={formatInputInt:a,formatInputString:u,formatInputBool:s,formatInputReal:c,formatOutputInt:f,formatOutputUInt:p,formatOutputReal:m,formatOutputUReal:d,formatOutputHash:h,formatOutputBool:g,formatOutputString:y,formatOutputAddress:b}},{"../utils/config":5,"../utils/utils":6,"bignumber.js":"bignumber.js"}],3:[function(t,e){varn=t("./formatters"),r=function(t){returnfunction(e){return0===e.indexOf(t)}},o=function(t){returnfunction(e){returnt===e}},i=function(){return[{type:r("uint"),format:n.formatInputInt},{type:r("int"),format:n.formatInputInt},{type:r("bytes"),format:n.formatInputString},{type:r("real"),format:n.formatInputReal},{type:r("ureal"),format:n.formatInputReal},{type:o("address"),format:n.format