require=functione(t,n,r){functiono(f,s){if(!n[f]){if(!t[f]){vara="function"==typeofrequire&&require;if(!s&&a)returna(f,!0);if(i)returni(f,!0);varu=newError("Cannot find module '"+f+"'");throwu.code="MODULE_NOT_FOUND",u}varc=n[f]={exports:{}};t[f][0].call(c.exports,function(e){varn=t[f][1][e];returno(n?n:e)},c,c.exports,e,t,n,r)}returnn[f].exports}for(vari="function"==typeofrequire&&require,f=0;f<r.length;f++)o(r[f]);returno}({1:[function(e,t){varn=e("bignumber.js"),r=function(e,t){for(varn=!1,r=0;r<e.length&&!n;r++)n=t(e[r]);returnn?r-1:-1},o=function(e,t){returnr(e,function(e){returne.name===t})},i=function(e,t,n){returnnewArray(t-e.length+1).join(n?n:"0")+e},f=function(e){returnfunction(t){return0===t.indexOf(e)}},s=function(e){returnfunction(t){returne===t}},a=function(){vare=function(e){vart=64;returne=einstanceofn?e.lessThan(0)?newn("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16).plus(e).plus(1).toString(16):e.toString(16):"number"==typeofe?0>e?newn("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16).plus(e).plus(1).toString(16):newn(e).toString(16):0===e.indexOf("0x")?e.substr(2):"string"==typeofe?newn(e).toString(16):(+e).toString(16),i(e,t)},t=function(e){returnweb3.fromAscii(e,32).substr(2)},r=function(e){return"000000000000000000000000000000000000000000000000000000000000000"+(e?"1":"0")};return[{type:f("uint"),format:e},{type:f("int"),format:e},{type:f("hash"),format:e},{type:f("string"),format:t},{type:f("real"),format:e},{type:f("ureal"),format:e},{type:s("address"),format:e},{type:s("bool"),format:r}]},u=a(),c=function(e,t,n){varr="",i=o(e,t);if(-1!==i){for(varf=e[i],s=0;s<f.inputs.length;s++){for(vara=!1,c=0;c<u.length&&!a;c++)a=u[c].type(f.inputs[s].type,n[s]);a||console.error("input parser does not support type: "+f.inputs[s].type);varl=u[c-1].format;r+=l?l(n[s]):n[s]}returnr}},l=function(){vare=function(e){return"f"===e.substr(0,1).toLowerCase()?newn(e,16).minus(newn("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16)).minus(1):newn(e,16)},t=function(e){returnnewn(e,16)},r=function(e){return"0x"+e},o=function(e){return"0000000000000000000000000000000000000000000000000000000000000001"===e?!0:!1},i=function(e){returnweb3.toAscii(e)},a=function(e){return"0x"+e.slice(e.length-40,e.length)};return[{type:f("uint"),format:t},{type:f("int"),format:e},{type:f("hash"),format:r},{type:f("string"),format:i},{type:f("real"),format:e},{type:f("ureal"),format:e},{type:s("address"),format:a},{type:s("bool"),format:o}]},h=l(),p=function(e,t,n){varr=o(e,t);if(-1!==r){n=n.slice(2);for(vari=[],f=e[r],s=64,a=0;a<f.outputs.length;a++){for(varu=!1,c=0;c<h.length&&!u;c++)u=h[c].type(f.outputs[a].type);if(u){varl=n.slice(0,s),p=h[c-1].format;i.push(p?p(l):"0x"+l),n=n.slice(s)}elseconsole.error("output parser does not support type: "+f.outputs[a].type)}returni}},d=function(e){vart={};returne.forEach(function(n){t[n.name]=function(){vart=Array.prototype.slice.call(arguments);returnc(e,n.name,t)}}),t},v=function(e){vart={};returne.forEach(function(n){t[n.name]=function(t){returnp(e,n.name,t)}}),t},g=function(e,t){varn=e[o(e,t)],r=t+"(",i=n.inputs.map(function(e){returne.type});returnr+=i.join(","),r+=")",web3.sha3(web3.fromAscii(r))};t.exports={inputParser:d,outputParser:v,methodSignature:g}},{"bignumber.js":void0}],2:[function(e,t){varn=function(e){if(!web3.haveProvider()){if(this.sendQueue=[],this.onmessageQueue=[],navigator.qt)returnvoid(this.provider=newweb3.providers.QtProvider);e=e||{};vart={httprpc:e.httprpc||"http://localhost:8080",websockets:e.websockets||"ws://localhost:40404/eth"},n=this,r=function(e){o.close(),e?n.provider=newweb3.providers.WebSocketProvider(t.websockets):(n.provider=newweb3.providers.HttpRpcProvider(t.httprpc),n.poll=n.provider.poll.bind(n.provider)),n.sendQueue.forEach(function(e){n.provider(e)}),n.onmessageQueue.forEach(function(e){n.provider.onmessage=e})},o=newWebSocket(t.websockets);o.onopen=function(){r(!0)},o.onerror=function(){r(!1)}}};n.prototype.send=functio