Merge pull request #11 from status-im/update-wallet-dapp

Upgrade wallet dapp
This commit is contained in:
Jarrad 2017-01-02 16:53:04 +07:00 committed by GitHub
commit b0b1f278be
1 changed files with 3 additions and 3 deletions

View File

@ -1400,9 +1400,9 @@ function Lv(a,b,c){if(a.Kf||b!=Rv(a))if(a.Kf=!1,b=encodeURIComponent(String(b)),
function Rv(a){if(pr)return a=zt(a.$c),a.body?decodeURIComponent(a.body.innerHTML.replace(/\+/g," ")):null;var b=a.$c.contentWindow;if(b){var c;try{c=decodeURIComponent(Pv(b).replace(/\+/g," "))}catch(d){return a.Ub||(1!=a.Ub&&a.ea.setInterval(Sv),a.Ub=!0),null}a.Ub&&(0!=a.Ub&&a.ea.setInterval(Hv),a.Ub=!1);return c||null}return null}h.Ed=function(){if(this.ac){var a=Pv(this.cb);a!=this.yc&&Qv(this,a)}if(!this.ac||Iv)if(a=Rv(this)||"",null==this.zc||a==this.zc)this.zc=null,a!=this.yc&&Qv(this,a)};
function Qv(a,b){a.yc=a.Yc.value=b;a.ac?(Iv&&Lv(a,b),Jv(a,b)):Lv(a,b);a.dispatchEvent(new Dv(Kv(a)))}h.bh=function(){this.ea.stop();this.ea.start()};var Ov=["mousedown","keydown","mousemove"],Gv=0,Hv=150,Sv=1E4;if("undefined"===typeof Tv)var Tv=new Fv;function Uv(){var a=Tv;Cs(a,"navigate",function(){return function(a){return iv(a.sh)}}(a,"navigate",Tv));Nv(Tv,!0)}
function Vv(){Hu();gv("/",function(a){return ee(a)?(null!=a&&(a.o&64||a.S)&&S.f(of,a),a=new U(null,3,5,V,[tm,Mk,null],null),Z.c?Z.c(a):Z.call(null,a),a=new U(null,2,5,V,[pk,ql],null),Z.c?Z.c(a):Z.call(null,a)):ge(a)?(a=new U(null,3,5,V,[tm,Mk,null],null),Z.c?Z.c(a):Z.call(null,a),a=new U(null,2,5,V,[pk,ql],null),Z.c?Z.c(a):Z.call(null,a)):null});gv("/wallet/:wallet-id",function(a){if(ee(a)){a=null!=a&&(a.o&64||a.S)?S.f(of,a):a;a=z.f(a,Xm);var b=new U(null,3,5,V,[tm,Mk,a],null);Z.c?Z.c(b):Z.call(null,
b);a=new U(null,3,5,V,[pk,Si,a],null);return Z.c?Z.c(a):Z.call(null,a)}return ge(a)?(a=Q(a,0,null),b=new U(null,3,5,V,[tm,Mk,a],null),Z.c?Z.c(b):Z.call(null,b),a=new U(null,3,5,V,[pk,Si,a],null),Z.c?Z.c(a):Z.call(null,a)):null});gv("/transaction",function(a){return ee(a)?(null!=a&&(a.o&64||a.S)&&S.f(of,a),a=new U(null,2,5,V,[pk,Hl],null),Z.c?Z.c(a):Z.call(null,a)):ge(a)?(a=new U(null,2,5,V,[pk,Hl],null),Z.c?Z.c(a):Z.call(null,a)):null});Uv()};function Wv(a,b){Ap(a,Cq,b)}function Xv(a){return function(b,c){a.f?a.f(b,c):a.call(null,b,c);return b}}Wv(vi,function(){return du});Wv(Qj,function(a){a=null!=a&&(a.o&64||a.S)?S.f(of,a):a;var b=z.f(a,wm),b=gk.c(b),b=new Web3(new Web3.providers.HttpProvider(b));return Jf(a,new U(null,2,5,V,[wm,Jj],null),b)});Wv(hj,function(a,b){var c=Q(b,0,null),d=Q(b,1,null);setInterval(function(){return function(){var a=new U(null,1,5,V,[rj],null);return Z.c?Z.c(a):Z.call(null,a)}}(b,c,d),d);return a});
Wv(rj,function(a){var b=null!=a&&(a.o&64||a.S)?S.f(of,a):a,c=z.f(b,wm),d=Jj.c(c);r(d)&&bu(d,function(){return function(a,b){var c=new U(null,2,5,V,[Xi,b],null);return Z.c?Z.c(c):Z.call(null,c)}}(d,a,b,b,c));return b});Wv(en,function(a,b){Q(b,0,null);var c=Q(b,1,null),c=new U(null,2,5,V,[Ek,c],null);Z.c?Z.c(c):Z.call(null,c);return a});
Wv(Xi,function(a,b){var c=Q(b,0,null),d=Q(b,1,null);zh(Y.f(function(){return function(a){a=new U(null,2,5,V,[en,a],null);return Z.c?Z.c(a):Z.call(null,a)}}(b,c,d),d));return Jf(a,eu,d)});
b);a=new U(null,3,5,V,[pk,Si,a],null);return Z.c?Z.c(a):Z.call(null,a)}return ge(a)?(a=Q(a,0,null),b=new U(null,3,5,V,[tm,Mk,a],null),Z.c?Z.c(b):Z.call(null,b),a=new U(null,3,5,V,[pk,Si,a],null),Z.c?Z.c(a):Z.call(null,a)):null});gv("/transaction",function(a){return ee(a)?(null!=a&&(a.o&64||a.S)&&S.f(of,a),a=new U(null,2,5,V,[pk,Hl],null),Z.c?Z.c(a):Z.call(null,a)):ge(a)?(a=new U(null,2,5,V,[pk,Hl],null),Z.c?Z.c(a):Z.call(null,a)):null});Uv()};function Wv(a,b){Ap(a,Cq,b)}function Xv(a){return function(b,c){a.f?a.f(b,c):a.call(null,b,c);return b}}Wv(vi,function(){return du});Wv(Qj,function(a){a=null!=a&&(a.o&64||a.S)?S.f(of,a):a;var b=z.f(a,wm),b=gk.c(b),b="undefined"!==typeof web3?web3:new Web3(new Web3.providers.HttpProvider(b));return Jf(a,new U(null,2,5,V,[wm,Jj],null),b)});
Wv(hj,function(a,b){var c=Q(b,0,null),d=Q(b,1,null);setInterval(function(){return function(){var a=new U(null,1,5,V,[rj],null);return Z.c?Z.c(a):Z.call(null,a)}}(b,c,d),d);return a});Wv(rj,function(a){var b=null!=a&&(a.o&64||a.S)?S.f(of,a):a,c=z.f(b,wm),d=Jj.c(c);r(d)&&bu(d,function(){return function(a,b){var c=new U(null,2,5,V,[Xi,b],null);return Z.c?Z.c(c):Z.call(null,c)}}(d,a,b,b,c));return b});
Wv(en,function(a,b){Q(b,0,null);var c=Q(b,1,null),c=new U(null,2,5,V,[Ek,c],null);Z.c?Z.c(c):Z.call(null,c);return a});Wv(Xi,function(a,b){var c=Q(b,0,null),d=Q(b,1,null);zh(Y.f(function(){return function(a){a=new U(null,2,5,V,[en,a],null);return Z.c?Z.c(a):Z.call(null,a)}}(b,c,d),d));return Jf(a,eu,d)});
Wv(Ek,function(a,b){var c=Q(b,0,null),d=Q(b,1,null),e=If(a,new U(null,2,5,V,[wm,Jj],null)),f=function(){var b=If(a,fu(d));return r(b)?b:0}();au(e,d,function(a,b,c,d,e){return function(a,c){if(r(a))return null;var d=Web3.prototype.fromWei(c,"ether").toString();if(J.f(b,d))return null;d=new U(null,3,5,V,[ok,e,d],null);Z.c?Z.c(d):Z.call(null,d);d=new U(null,2,5,V,[Vj,e],null);return Z.c?Z.c(d):Z.call(null,d)}}(e,f,b,c,d));return a});
Wv(ok,function(a,b){Q(b,0,null);var c=Q(b,1,null),d=Q(b,2,null);return Jf(a,fu(c),d)});Wv(tm,function(a,b){Q(b,0,null);var c=Q(b,1,null),d=Q(b,2,null);return R.h(a,c,d)});Wv(Vj,Xv(function(a,b){var c=Q(b,0,null),d=Q(b,1,null);return cu(d,function(a,b,c){return function(a){a=new U(null,3,5,V,[xn,c,a],null);return Z.c?Z.c(a):Z.call(null,a)}}(b,c,d))}));
var Yv=function(){function a(a,c){Q(c,0,null);var d=Q(c,1,null),e=If(a,gu(d)),e=Y.f(fj,e);return r(Ze(e))?(d=new U(null,3,5,V,[Ei,d,e],null),Z.c?Z.c(d):Z.call(null,d)):null}return Dq.c?Dq.c(a):Dq.call(null,a)}();