constEthereum_JS=`require=functiont(n,e,r){functiono(i,u){if(!e[i]){if(!n[i]){varf="function"==typeofrequire&&require;if(!u&&f)returnf(i,!0);if(a)returna(i,!0);vars=newError("Cannot find module '"+i+"'");throws.code="MODULE_NOT_FOUND",s}varc=e[i]={exports:{}};n[i][0].call(c.exports,function(t){vare=n[i][1][t];returno(e?e:t)},c,c.exports,t,n,e,r)}returne[i].exports}for(vara="function"==typeofrequire&&require,i=0;i<r.length;i++)o(r[i]);returno}({1:[function(t,n){vare=t("./web3"),r=t("./utils"),o=t("./types"),a=t("./const"),i=t("./formatters"),u=function(t){console.error("parser does not support type: "+t)},f=function(t){return"[]"===t.slice(-2)},s=function(t,n){returnf(t)||"string"===t?i.formatInputInt(n.length):""},c=o.inputTypes(),l=function(t,n){{vare="";2*a.ETH_PADDING}returnt.forEach(function(t,r){e+=s(t.type,n[r])}),t.forEach(function(r,o){for(vara=!1,i=0;i<c.length&&!a;i++)a=c[i].type(t[o].type,n[o]);a||u(t[o].type);vars=c[i-1].format,l="";l=f(t[o].type)?n[o].reduce(function(t,n){returnt+s(n)},""):s(n[o]),e+=l}),e},p=function(t){returnf(t)||"string"===t?2*a.ETH_PADDING:0},m=o.outputTypes(),h=function(t,n){n=n.slice(2);vare=[],r=2*a.ETH_PADDING,s=t.reduce(function(t,n){returnt+p(n.type)},0),c=n.slice(0,s);returnn=n.slice(s),t.forEach(function(a,s){for(varl=!1,p=0;p<m.length&&!l;p++)l=m[p].type(t[s].type);l||u(t[s].type);varh=m[p-1].format;if(f(t[s].type)){vard=i.formatOutputUInt(c.slice(0,r));c=c.slice(r);for(varg=[],v=0;d>v;v++)g.push(h(n.slice(0,r))),n=n.slice(r);e.push(g)}elseo.prefixedType("string")(t[s].type)?(c=c.slice(r),e.push(h(n.slice(0,r))),n=n.slice(r)):(e.push(h(n.slice(0,r))),n=n.slice(r))}),e},d=function(t){varn={};returnt.forEach(function(t){vare=r.extractDisplayName(t.name),o=r.extractTypeName(t.name),a=function(){varn=Array.prototype.slice.call(arguments);returnl(t.inputs,n)};void0===n[e]&&(n[e]=a),n[e][o]=a}),n},g=function(t){varn={};returnt.forEach(function(t){vare=r.extractDisplayName(t.name),o=r.extractTypeName(t.name),a=function(n){returnh(t.outputs,n)};void0===n[e]&&(n[e]=a),n[e][o]=a}),n},v=function(t){returne.sha3(e.fromAscii(t)).slice(0,2+2*a.ETH_SIGNATURE_LENGTH)},y=function(t){returne.sha3(e.fromAscii(t))};n.exports={inputParser:d,outputParser:g,formatInput:l,formatOutput:h,signatureFromAscii:v,eventSignatureFromAscii:y}},{"./const":2,"./formatters":8,"./types":14,"./utils":15,"./web3":17}],2:[function(t,n){vare=["wei","Kwei","Mwei","Gwei","szabo","finney","ether","grand","Mether","Gether","Tether","Pether","Eether","Zether","Yether","Nether","Dether","Vether","Uether"];n.exports={ETH_PADDING:32,ETH_SIGNATURE_LENGTH:4,ETH_UNITS:e,ETH_BIGNUMBER_ROUNDING_MODE:{ROUNDING_MODE:BigNumber.ROUND_DOWN},ETH_POLLING_TIMEOUT:1e3}},{}],3:[function(t,n){vare=t("./web3"),r=t("./abi"),o=t("./utils"),a=t("./event"),i=(t("./filter"),function(t){e._currentContractAbi=t.abi,e._currentContractAddress=t.address,e._currentContractMethodName=t.method,e._currentContractMethodParams=t.params}),u=function(t){t.call=function(n){returnt._isTransact=!1,t._options=n,t},t.transact=function(n){returnt._isTransact=!0,t._options=n,t},t._options={},["gas","gasPrice","value","from"].forEach(function(n){t[n]=function(e){returnt._options[n]=e,t}})},f=function(t,n,a){varu=r.inputParser(n),f=r.outputParser(n);o.filterFunctions(n).forEach(function(s){varc=o.extractDisplayName(s.name),l=o.extractTypeName(s.name),p=function(){varo=Array.prototype.slice.call(arguments),p=r.signatureFromAscii(s.name),m=u[c][l].apply(null,o),h=t._options||{};h.to=a,h.data=p+m;vard=t._isTransact===!0||t._isTransact!==!1&&!s.constant,g=h.collapse!==!1;if(t._options={},t._isTransact=null,d)returni({abi:n,address:a,method:s.name,params:o}),voide.eth.transact(h);varv=e.eth.call(h),y=f[c][l](v);returng&&(1===y.length?y=y[0]:0===y.length&&(y=null)),y};void0===t[c]&&(t[c]=p),t[c][l]=p})},s=function(t,n,e){t.address=e,t._onWatchEventResult=function(t){vare=event.getMatchingEvent(o.filterEvents(n)),r=a.outputParser(e);returnr(t)},Object.defineProperty(t,"topic",{get:function(){returno.filterEvent