require=functiont(e,n,r){functiono(s,a){if(!n[s]){if(!e[s]){varf="function"==typeofrequire&&require;if(!a&&f)returnf(s,!0);if(i)returni(s,!0);varu=newError("Cannot find module '"+s+"'");throwu.code="MODULE_NOT_FOUND",u}varc=n[s]={exports:{}};e[s][0].call(c.exports,function(t){varn=e[s][1][t];returno(n?n:t)},c,c.exports,t,e,n,r)}returnn[s].exports}for(vari="function"==typeofrequire&&require,s=0;s<r.length;s++)o(r[s]);returno}({1:[function(t,e){varn=t("bignumber.js"),r=function(t){returnparseInt(t,16).toString()},o=function(t,e){for(varn=!1,r=0;r<t.length&&!n;r++)n=e(t[r]);returnn?r-1:-1},i=function(t,e){returno(t,function(t){returnt.name===e})},s=function(t,e,n){returnnewArray(e-t.length+1).join(n?n:"0")+t},a=function(t){returnfunction(e){return0===e.indexOf(t)}},f=function(t){returnfunction(e){returnt===e}},u=function(){vart=function(t){vare=64;returnt=tinstanceofn?t.lessThan(0)?newn("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16).plus(t).plus(1).toString(16):t.toString(16):"number"==typeoft?0>t?newn("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16).plus(t).plus(1).toString(16):newn(t).toString(16):0===t.indexOf("0x")?t.substr(2):"string"==typeoft?newn(t).toString(16):(+t).toString(16),s(t,e)},e=function(t){returnweb3.fromAscii(t,32).substr(2)},r=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:f("address"),format:t},{type:f("bool"),format:r}]},c=u(),l=function(t,e,n){varr="",o=i(t,e);if(-1!==o){for(vars=t[o],a=0;a<s.inputs.length;a++){for(varf=!1,u=0;u<c.length&&!f;u++)f=c[u].type(s.inputs[a].type,n[a]);f||console.error("input parser does not support type: "+s.inputs[a].type);varl=c[u-1].format;r+=l?l(n[a]):n[a]}returnr}},h=function(){vart=function(t){returnt.length<=8?+parseInt(t,16):r(t)},e=function(t){return"0x"+t},n=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:f("address"),format:i},{type:f("bool"),format:n}]},p=h(),d=function(t,e,n){varr=i(t,e);if(-1!==r){n=n.slice(2);for(varo=[],s=t[r],a=64,f=0;f<s.outputs.length;f++){for(varu=!1,c=0;c<p.length&&!u;c++)u=p[c].type(s.outputs[f].type);if(u){varl=n.slice(0,a),h=p[c-1].format;o.push(h?h(l):"0x"+l),n=n.slice(a)}elseconsole.error("output parser does not support type: "+s.outputs[f].type)}returno}},v=function(t){vare={};returnt.forEach(function(n){e[n.name]=function(){vare=Array.prototype.slice.call(arguments);returnl(t,n.name,e)}}),e},g=function(t){vare={};returnt.forEach(function(n){e[n.name]=function(e){returnd(t,n.name,e)}}),e},m=function(t,e){varn=t[i(t,e)],r=e+"(",o=n.inputs.map(function(t){returnt.type});returnr+=o.join(","),r+=")",web3.sha3(web3.fromAscii(r))};e.exports={inputParser:v,outputParser:g,methodSignature:m}},{"bignumber.js":void0}],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