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(){vart=function(t){returnfunction(e){return0===e.indexOf(t)}},e=function(t){returnfunction(e){returne===t}},n=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)},r=function(t){returnweb3.fromAscii(t,32).substr(2)},o=function(t){return"000000000000000000000000000000000000000000000000000000000000000"+(t?"1":"0")};return[{type:t("uint"),format:n},{type:t("int"),format:n},{type:t("hash"),format:n},{type:t("string"),format:r},{type:t("real"),format:n},{type:t("ureal"),format:n},{type:e("address")},{type:e("bool"),format:o}]},s=a(),u=function(t,e,n){varr="",i=o(t,e);if(-1!==i){for(vara=t[i],u=0;u<a.inputs.length;u++){for(varc=!1,l=0;l<s.length&&!c;l++)c=s[l].type(a.inputs[u].type,n[u]);c||console.error("input parser does not support type: "+a.inputs[u].type);varh=s[l-1].format;r+=h?h(n[u]):n[u]}returnr}},c=function(){vart=function(t){returnfunction(e){varn=t;return0===e.indexOf(n)}},e=function(t){returnfunction(e){returnt===e}},r=function(t){returnt.length<=8?+parseInt(t,16):n(t)},o=function(t){return"0x"+t},i=function(t){return"0000000000000000000000000000000000000000000000000000000000000001"===t?!0:!1},a=function(t){returnweb3.toAscii(t)};return[{type:t("uint"),format:r},{type:t("int"),format:r},{type:t("hash"),format:o},{type:t("string"),format:a},{type:t("real"),format:r},{type:t("ureal"),format:r},{type:e("address")},{type:e("bool"),format:i}]},l=c(),h=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,h=0;h<l.length&&!c;h++)c=l[h].type(a.outputs[u].type);if(c){varf=n.slice(0,s),p=l[h-1].format;i.push(p?p(f):"0x"+f),n=n.slice(s)}elseconsole.error("output parser does not support type: "+a.outputs[u].type)}returni}},f=function(t){vare={};returnt.forEach(function(n){e[n.name]=function(){vare=Array.prototype.slice.call(arguments);returnu(t,n.name,e)}}),e},p=function(t){vare={};returnt.forEach(function(n){e[n.name]=function(e){returnh(t,n.name,e)}}),e},d=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:f,outputParser:p,methodSignature:d}},{}],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.n