require=functiont(e,n,r){functiono(a,s){if(!n[a]){if(!e[a]){varu="function"==typeofrequire&&require;if(!s&&u)returnu(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=function(t){returnparseInt(t,16).toString()},r=function(t,e){for(varn=!1,r=0;r<t.length&&!n;r++)n=e(t[r]);returnn?r-1:-1},o=function(t,e){returnr(t,function(t){returnt.name===e})},i=function(t,e){returnnewArray(e-t.length+1).join("0")+t},a=function(t){returnfunction(e){return0===e.indexOf(t)}},s=function(t){returnfunction(e){returnt===e}},u=function(){vart=function(t){vare=64;returnt="number"==typeoft?t.toString(16):0===t.indexOf("0x")?t.substr(2):"string"==typeoft?t.toHex(t):(+t).toString(16),i(t,e)},e=function(t){returnweb3.fromAscii(t,32).substr(2)},n=function(t){return"000000000000000000000000000000000000000000000000000000000000000"+(t?"1":"0")};return[{type:a("uint"),format:t},{type:a("int"),format:t},{type:a("hash"),format:t},{type:a("string"),format:e},{type:a("real"),format:t},{type:a("ureal"),format:t},{type:s("address"),format:t},{type:s("bool"),format:n}]},c=u(),l=function(t,e,n){varr="",i=o(t,e);if(-1!==i){for(vara=t[i],s=0;s<a.inputs.length;s++){for(varu=!1,l=0;l<c.length&&!u;l++)u=c[l].type(a.inputs[s].type,n[s]);u||console.error("input parser does not support type: "+a.inputs[s].type);varh=c[l-1].format;r+=h?h(n[s]):n[s]}returnr}},h=function(){vart=function(t){returnt.length<=8?+parseInt(t,16):n(t)},e=function(t){return"0x"+t},r=function(t){return"0000000000000000000000000000000000000000000000000000000000000001"===t?!0:!1},o=function(t){returnweb3.toAscii(t)},i=function(t){return"0x"+t.slice(t.length-40,t.length)};return[{type:a("uint"),format:t},{type:a("int"),format:t},{type:a("hash"),format:e},{type:a("string"),format:o},{type:a("real"),format:t},{type:a("ureal"),format:t},{type:s("address"),format:i},{type:s("bool"),format:r}]},p=h(),f=function(t,e,n){varr=o(t,e);if(-1!==r){n=n.slice(2);for(vari=[],a=t[r],s=64,u=0;u<a.outputs.length;u++){for(varc=!1,l=0;l<p.length&&!c;l++)c=p[l].type(a.outputs[u].type);if(c){varh=n.slice(0,s),f=p[l-1].format;i.push(f?f(h):"0x"+h),n=n.slice(s)}elseconsole.error("output parser does not support type: "+a.outputs[u].type)}returni}},d=function(t){vare={};returnt.forEach(function(n){e[n.name]=function(){vare=Array.prototype.slice.call(arguments);returnl(t,n.name,e)}}),e},v=function(t){vare={};returnt.forEach(function(n){e[n.name]=function(e){returnf(t,n.name,e)}}),e},g=function(t,e){varn=t[o(t,e)],r=e+"(",i=n.inputs.map(function(t){returnt.type});returnr+=i.join(","),r+=")",web3.sha3(web3.fromAscii(r))};e.exports={inputParser:d,outputParser:v,methodSignature:g}},{}],2:[function(t,e){varn=function(t){if(!web3.haveProvider()){if(this.sendQueue=[],this.onmessageQueue=[],navigator.qt)returnvoid(this.provider=newweb3.providers.QtProvider);t=t||{};vare={httprpc:t.httprpc||"http://localhost:8080",websockets:t.websockets||"ws://localhost:40404/eth"},n=this,r=function(t){o.close(),t?n.provider=newweb3.providers.WebSocketProvider(e.websockets):(n.provider=newweb3.providers.HttpRpcProvider(e.httprpc),n.poll=n.provider.poll.bind(n.provider)),n.sendQueue.forEach(function(t){n.provider(t)}),n.onmessageQueue.forEach(function(t){n.provider.onmessage=t})},o=newWebSocket(e.websockets);o.onopen=function(){r(!0)},o.onerror=function(){r(!1)}}};n.prototype.send=function(t){returnthis.provider?voidthis.provider.send(t):voidthis.sendQueue.push(t)},Object.defineProperty(n.prototype,"onmessage",{set:function(t){returnthis.provider?void(this.provider.onmessage=t):voidthis.onmessageQueue.push(t)}}),e.exports=n},{}],3:[function(t,e){varn=t("./abi"),r=4,o=function(t,e){varo=n.inputParser(e),i=n.outputParser(e),a={};returne.forEach(function(s){a[s.name]=function(){vara=Array.prototype.sli