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,n){returnnewArray(e-t.length+1).join(n?n:"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;if("number"==typeoft){if(0>t)returnt=(t>>>0).toString(16),i(t,e,"f");t=t.toString(16)}elset=0===t.indexOf("0x")?t.substr(2):"string"==typeoft?t.toHex(t):(+t).toString(16);returni(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}]},f=h(),p=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<f.length&&!c;l++)c=f[l].type(a.outputs[u].type);if(c){varh=n.slice(0,s),p=f[l-1].format;i.push(p?p(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){returnp(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.f