LocalCDN-Firefox-Chrome-Brave/resources/ethjs/0.3.4/ethjs.min.jsm

13 lines
104 KiB
JavaScript
Raw Normal View History

2020-06-25 18:38:52 +02:00
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("Eth",[],r):"object"==typeof exports?exports.Eth=r():t.Eth=r()}(this,function(){return function(t){function r(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}var e={};return r.m=t,r.c=e,r.i=function(t){return t},r.d=function(t,r,e){Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:e})},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p="",r(r.s=26)}([function(t,r,e){"use strict";(function(t,i){function n(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(r){return!1}}function o(){return t.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(r,e){if(o()<e)throw new RangeError("Invalid typed array length");return t.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(e),r.__proto__=t.prototype):(null===r&&(r=new t(e)),r.length=e),r}function t(r,e,i){if(!(t.TYPED_ARRAY_SUPPORT||this instanceof t))return new t(r,e,i);if("number"==typeof r){if("string"==typeof e)throw Error("If encoding is specified then the first argument must be a string");return f(this,r)}return h(this,r,e,i)}function h(t,r,e,i){if("number"==typeof r)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&r instanceof ArrayBuffer?p(t,r,e,i):"string"==typeof r?l(t,r,e):d(t,r)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(0>t)throw new RangeError('"size" argument must not be negative')}function a(t,r,e,i){return u(r),r>0&&void 0!==e?"string"==typeof i?s(t,r).fill(e,i):s(t,r).fill(e):s(t,r)}function f(r,e){if(u(e),r=s(r,0>e?0:0|m(e)),!t.TYPED_ARRAY_SUPPORT)for(var i=0;e>i;++i)r[i]=0;return r}function l(r,e,i){if("string"==typeof i&&""!==i||(i="utf8"),!t.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var n=0|v(e,i);r=s(r,n);var o=r.write(e,i);return o!==n&&(r=r.slice(0,o)),r}function c(t,r){var e=0>r.length?0:0|m(r.length);t=s(t,e);for(var i=0;e>i;i+=1)t[i]=255&r[i];return t}function p(r,e,i,n){if(0>i||i>e.byteLength)throw new RangeError("'offset' is out of bounds");if(i+(n||0)>e.byteLength)throw new RangeError("'length' is out of bounds");return e=void 0===i&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,i):new Uint8Array(e,i,n),t.TYPED_ARRAY_SUPPORT?(r=e,r.__proto__=t.prototype):r=c(r,e),r}function d(r,e){if(t.isBuffer(e)){var i=0|m(e.length);return r=s(r,i),0===r.length?r:(e.copy(r,0,0,i),r)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||W(e.length)?s(r,0):c(r,e);if("Buffer"===e.type&&X(e.data))return c(r,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function m(t){if(t>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function g(r){return+r!=r&&(r=0),t.alloc(+r)}function v(r,e){if(t.isBuffer(r))return r.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(r)||r instanceof ArrayBuffer))return r.byteLength;"string"!=typeof r&&(r=""+r);var i=r.length;if(0===i)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return z(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return K(r).length;default:if(n)return z(r).length;e=(""+e).toLowerCase(),n=!0}}function y(t,r,e){var i=!1;if((void 0===r||0>r)&&(r=0),r>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),0>=e)return"";if(e>>>=0,r>>>=0,r>=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return R(this,r,e);case"utf8":case"utf-8":return k(this,r,e);case"ascii":return D(this,r,e);case"latin1":case"binary":return P(this,r,e);case"
this.words[o]=67108863&r,n=r>>>26;for(;0!==n&&e.length>o;o++)r=(0|e.words[o])+n,this.words[o]=67108863&r,n=r>>>26;if(this.length=e.length,0!==n)this.words[this.length]=n,this.length++;else if(e!==this)for(;e.length>o;o++)this.words[o]=e.words[o];return this},o.prototype.add=function(t){var r;return 0!==t.negative&&0===this.negative?(t.negative=0,r=this.sub(t),t.negative^=1,r):0===t.negative&&0!==this.negative?(this.negative=0,r=t.sub(this),this.negative=1,r):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var r=this.iadd(t);return t.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var e=this.cmp(t);if(0===e)return this.negative=0,this.length=1,this.words[0]=0,this;var i,n;e>0?(i=this,n=t):(i=t,n=this);for(var o=0,s=0;n.length>s;s++)r=(0|i.words[s])-(0|n.words[s])+o,o=r>>26,this.words[s]=67108863&r;for(;0!==o&&i.length>s;s++)r=(0|i.words[s])+o,o=r>>26,this.words[s]=67108863&r;if(0===o&&i.length>s&&i!==this)for(;i.length>s;s++)this.words[s]=i.words[s];return this.length=Math.max(this.length,s),i!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var x=function(t,r,e){var i,n,o,s=t.words,h=r.words,u=e.words,a=0,f=0|s[0],l=8191&f,c=f>>>13,p=0|s[1],d=8191&p,m=p>>>13,g=0|s[2],v=8191&g,y=g>>>13,w=0|s[3],M=8191&w,b=w>>>13,_=0|s[4],E=8191&_,A=_>>>13,x=0|s[5],S=8191&x,B=x>>>13,T=0|s[6],k=8191&T,j=T>>>13,D=0|s[7],P=8191&D,R=D>>>13,O=0|s[8],C=8191&O,I=O>>>13,Q=0|s[9],N=8191&Q,U=Q>>>13,q=0|h[0],L=8191&q,F=q>>>13,H=0|h[1],Y=8191&H,z=H>>>13,Z=0|h[2],J=8191&Z,K=Z>>>13,$=0|h[3],W=8191&$,V=$>>>13,G=0|h[4],X=8191&G,tt=G>>>13,rt=0|h[5],et=8191&rt,it=rt>>>13,nt=0|h[6],ot=8191&nt,st=nt>>>13,ht=0|h[7],ut=8191&ht,at=ht>>>13,ft=0|h[8],lt=8191&ft,ct=ft>>>13,pt=0|h[9],dt=8191&pt,mt=pt>>>13;e.negative=t.negative^r.negative,e.length=19,i=Math.imul(l,L),n=Math.imul(l,F),n=n+Math.imul(c,L)|0,o=Math.imul(c,F);var gt=(a+i|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(gt>>>26)|0,gt&=67108863,i=Math.imul(d,L),n=Math.imul(d,F),n=n+Math.imul(m,L)|0,o=Math.imul(m,F),i=i+Math.imul(l,Y)|0,n=n+Math.imul(l,z)|0,n=n+Math.imul(c,Y)|0,o=o+Math.imul(c,z)|0;var vt=(a+i|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(vt>>>26)|0,vt&=67108863,i=Math.imul(v,L),n=Math.imul(v,F),n=n+Math.imul(y,L)|0,o=Math.imul(y,F),i=i+Math.imul(d,Y)|0,n=n+Math.imul(d,z)|0,n=n+Math.imul(m,Y)|0,o=o+Math.imul(m,z)|0,i=i+Math.imul(l,J)|0,n=n+Math.imul(l,K)|0,n=n+Math.imul(c,J)|0,o=o+Math.imul(c,K)|0;var yt=(a+i|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(yt>>>26)|0,yt&=67108863,i=Math.imul(M,L),n=Math.imul(M,F),n=n+Math.imul(b,L)|0,o=Math.imul(b,F),i=i+Math.imul(v,Y)|0,n=n+Math.imul(v,z)|0,n=n+Math.imul(y,Y)|0,o=o+Math.imul(y,z)|0,i=i+Math.imul(d,J)|0,n=n+Math.imul(d,K)|0,n=n+Math.imul(m,J)|0,o=o+Math.imul(m,K)|0,i=i+Math.imul(l,W)|0,n=n+Math.imul(l,V)|0,n=n+Math.imul(c,W)|0,o=o+Math.imul(c,V)|0;var wt=(a+i|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(wt>>>26)|0,wt&=67108863,i=Math.imul(E,L),n=Math.imul(E,F),n=n+Math.imul(A,L)|0,o=Math.imul(A,F),i=i+Math.imul(M,Y)|0,n=n+Math.imul(M,z)|0,n=n+Math.imul(b,Y)|0,o=o+Math.imul(b,z)|0,i=i+Math.imul(v,J)|0,n=n+Math.imul(v,K)|0,n=n+Math.imul(y,J)|0,o=o+Math.imul(y,K)|0,i=i+Math.imul(d,W)|0,n=n+Math.imul(d,V)|0,n=n+Math.imul(m,W)|0,o=o+Math.imul(m,V)|0,i=i+Math.imul(l,X)|0,n=n+Math.imul(l,tt)|0,n=n+Math.imul(c,X)|0,o=o+Math.imul(c,tt)|0;var Mt=(a+i|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,i=Math.imul(S,L),n=Math.imul(S,F),n=n+Math.imul(B,L)|0,o=Math.imul(B,F),i=i+Math.imul(E,Y)|0,n=n+Math.imul(E,z)|0,n=n+Math.imul(A,Y)|0,o=o+Math.imul(A,z)|0,i=i+Math.imul(M,J)|0,n=n+Math.imul(M,K)|0,n=n+Math.imul(b,J)|0,o=o+Math.imul(b,K)|0,i=i+Math.imul(v,W)|0,n=n+Math.imul(v,V)|0,n=n+Math.imul(y,W)|0,o=o+Math.imul(y,V)|0,i=i+Math.imul(d,X)|0,n=n+Math.imul(d,tt)|0,n=n+Math.imul(m,X)|0,o=o+Math.imul(m,tt)|0,i=i+Math.imul(l,et)|0,n=n+Math.imul(l,it)|0,n=n+Math.imul(c,et)|0,o=o+Math.imul(c,it)|0;var bt=(a+i|0)+((8191&n)<<13)|0;a=(o+(n>>>13)|0)+(bt>>>26)|0,bt&=67108863,i=Math.imul(k,L),n=Math.i
if(Array.isArray(r)!==!0)throw Error("[ethjs-util] method arrayContainsArray requires input 'subset' to be an array got type '"+typeof r+"'");return r[!!e&&"some"||"every"](function(r){return t.indexOf(r)>=0})}function u(t){var e=new r(i(m(t).replace(/^0+|0+$/g,"")),"hex");return e.toString("utf8")}function a(t){var r="",e=0,i=t.length;for("0x"===t.substring(0,2)&&(e=2);i>e;e+=2){var n=parseInt(t.substr(e,2),16);r+=String.fromCharCode(n)}return r}function f(t){var e=new r(t,"utf8");return"0x"+i(e.toString("hex")).replace(/^0+|0+$/g,"")}function l(t){for(var r="",e=0;t.length>e;e++){var i=t.charCodeAt(e),n=i.toString(16);r+=2>n.length?"0"+n:n}return"0x"+r}function c(t,r,e){if(!Array.isArray(t))throw Error("[ethjs-util] method getKeys expecting type Array as 'params' input, got '"+typeof t+"'");if("string"!=typeof r)throw Error("[ethjs-util] method getKeys expecting type String for input 'key' got '"+typeof r+"'.");for(var i=[],n=0;t.length>n;n++){var o=t[n][r];if(e&&!o)o="";else if("string"!=typeof o)throw Error("invalid abi");i.push(o)}return i}function p(t,r){return!("string"!=typeof t||!t.match(/^0x[0-9A-Fa-f]*$/))&&(!r||t.length===2+2*r)}var d=e(8),m=e(5);t.exports={arrayContainsArray:h,intToBuffer:o,getBinarySize:s,isHexPrefixed:d,stripHexPrefix:m,padToEven:i,intToHex:n,fromAscii:l,fromUtf8:f,toAscii:a,toUtf8:u,getKeys:c,isHexString:p}}).call(r,e(0).Buffer)},function(t,r,e){var i=e(1),n=e(5);t.exports=function(t){if("string"==typeof t||"number"==typeof t){var r=new i(1),e=(t+"").toLowerCase().trim(),o="0x"===e.substr(0,2)||"-0x"===e.substr(0,3),s=n(e);if("-"===s.substr(0,1)&&(s=n(s.slice(1)),r=new i((-1),10)),s=""===s?"0":s,!s.match(/^-?[0-9]+$/)&&s.match(/^[0-9A-Fa-f]+$/)||s.match(/^[a-fA-F]+$/)||o===!0&&s.match(/^[0-9A-Fa-f]+$/))return new i(s,16).mul(r);if((s.match(/^-?[0-9]+$/)||""===s)&&o===!1)return new i(s,10).mul(r)}else if("object"==typeof t&&t.toString&&!t.pop&&!t.push&&t.toString(10).match(/^-?[0-9]+$/)&&(t.mul||t.dividedToIntegerBy))return new i(t.toString(10),10);throw Error("[number-to-bn] while converting number "+JSON.stringify(t)+" to BN.js instance, error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported.")}},function(t,r,e){(function(r,e){/**
* [js-sha3]{@link https://github.com/emn178/js-sha3}
*
* @version 0.5.5
* @author Chen, Yi-Cyuan [emn178@gmail.com]
* @copyright Chen, Yi-Cyuan 2015-2016
* @license MIT
*/
!function(i){"use strict";function n(t,r,e){this.blocks=[],this.s=[],this.padding=r,this.outputBits=e,this.reset=!0,this.block=0,this.start=0,this.blockCount=1600-(t<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=e>>5,this.extraBytes=(31&e)>>3;for(var i=0;50>i;++i)this.s[i]=0}var o="object"==typeof r&&r.versions&&r.versions.node;o&&(i=e);for(var s=!i.JS_SHA3_TEST&&"object"==typeof t&&t.exports,h="0123456789abcdef".split(""),u=[31,7936,2031616,520093696],a=[1,256,65536,16777216],f=[6,1536,393216,100663296],l=[0,8,16,24],c=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],p=[224,256,384,512],d=[128,256],m=["hex","buffer","arrayBuffer","array"],g=function(t,r,e){return function(i){return new n(t,r,t).update(i)[e]()}},v=function(t,r,e){return function(i,o){return new n(t,r,o).update(i)[e]()}},y=function(t,r){var e=g(t,r,"hex");e.create=function(){return new n(t,r,t)},e.update=function(t){return e.create().update(t)};for(var i=0;m.length>i;++i){var o=m[i];e[o]=g(t,r,o)}return e},w=function(t,r){var e=v(t,r,"hex");e.create=function(e){return new n(t,r,e)},e.update=function(t,r){return e.create(r).update(t)};for(var i=0;m.length>i;++i){var o=m[i];e[o]=v(t,r,o)}return e},M=[{name:"keccak",padding:a,bits:p,createMethod:y},{name:"sha3",padding:f,bits:p,createMethod:y},{name:"shake",padding:u,bits:d,createMethod:w}],b={},_=0;M.length>_;++_)for(var E=M[_],A=E.bits,x=0;A.length>x;++x)b[E.name+"_"+A[x]]=E.createMethod(A[x],E.padding);n.prototype.update=function(t){var r="string"!=typeof t;r&&t.constructor==i.ArrayBuffer&&(t=new Uint8Array(t));for(var e,n,o=t.length,s=this.blocks,h=this.byteCount,u=this.blockCount,a=0,f=this.s;o>a;){if(this.reset)for(this.reset=!1,s[0]=this.block,e=1;u+1>e;++e)s[e]=0;if(r)for(e=this.start;o>a&&h>e;++a)s[e>>2]|=t[a]<<l[3&e++];else for(e=this.start;o>a&&h>e;++a)n=t.charCodeAt(a),128>n?s[e>>2]|=n<<l[3&e++]:2048>n?(s[e>>2]|=(192|n>>6)<<l[3&e++],s[e>>2]|=(128|63&n)<<l[3&e++]):55296>n||n>=57344?(s[e>>2]|=(224|n>>12)<<l[3&e++],s[e>>2]|=(128|n>>6&63)<<l[3&e++],s[e>>2]|=(128|63&n)<<l[3&e++]):(n=65536+((1023&n)<<10|1023&t.charCodeAt(++a)),s[e>>2]|=(240|n>>18)<<l[3&e++],s[e>>2]|=(128|n>>12&63)<<l[3&e++],s[e>>2]|=(128|n>>6&63)<<l[3&e++],s[e>>2]|=(128|63&n)<<l[3&e++]);if(this.lastByteIndex=e,h>e)this.start=e;else{for(this.start=e-h,this.block=s[u],e=0;u>e;++e)f[e]^=s[e];S(f),this.reset=!0}}return this},n.prototype.finalize=function(){var t=this.blocks,r=this.lastByteIndex,e=this.blockCount,i=this.s;if(t[r>>2]|=this.padding[3&r],this.lastByteIndex==this.byteCount)for(t[0]=t[e],r=1;e+1>r;++r)t[r]=0;for(t[e-1]|=2147483648,r=0;e>r;++r)i[r]^=t[r];S(i)},n.prototype.toString=n.prototype.hex=function(){this.finalize();for(var t,r=this.blockCount,e=this.s,i=this.outputBlocks,n=this.extraBytes,o=0,s=0,u="";i>s;){for(o=0;r>o&&i>s;++o,++s)t=e[o],u+=h[t>>4&15]+h[15&t]+h[t>>12&15]+h[t>>8&15]+h[t>>20&15]+h[t>>16&15]+h[t>>28&15]+h[t>>24&15];s%r==0&&(S(e),o=0)}return n&&(t=e[o],n>0&&(u+=h[t>>4&15]+h[15&t]),n>1&&(u+=h[t>>12&15]+h[t>>8&15]),n>2&&(u+=h[t>>20&15]+h[t>>16&15])),u},n.prototype.arrayBuffer=function(){this.finalize();var t,r=this.blockCount,e=this.s,i=this.outputBlocks,n=this.extraBytes,o=0,s=0,h=this.outputBits>>3;t=n?new ArrayBuffer(i+1<<2):new ArrayBuffer(h);for(var u=new Uint32Array(t);i>s;){for(o=0;r>o&&i>s;++o,++s)u[s]=e[o];s%r==0&&S(e)}return n&&(u[o]=e[o],t=t.slice(0,h)),t},n.prototype.buffer=n.prototype.arrayBuffer,n.prototype.digest=n.prototype.array=function(){this.finalize();for(var t,r,e=this.blockCount,i=this.s,n=this.outputBlocks,o=this.extraBytes,s=0,h=0,u=[];n>h;){for(s=0;e>s&&n>h;++s,++h)t=h<<2,r=i[s],u[t]=255&r,u[t+1]=r>>8&255,u[t+2]=r>>16&255,u[t+3]=r>>24&255;h%e==0&&S(i)}return o&&(t=h<<2,r=i[s],o>0&&(u[t]=255&r),o>1&&(u[t+1]=r>>8&255),o>2&&(u[t+2]=r>>16&255)),u};var S=function(t){var r,e,i,n,o,s
Mwei:"1000000",lovelace:"1000000",picoether:"1000000",gwei:"1000000000",Gwei:"1000000000",shannon:"1000000000",nanoether:"1000000000",nano:"1000000000",szabo:"1000000000000",microether:"1000000000000",micro:"1000000000000",finney:"1000000000000000",milliether:"1000000000000000",milli:"1000000000000000",ether:"1000000000000000000",kether:"1000000000000000000000",grand:"1000000000000000000000",mether:"1000000000000000000000000",gether:"1000000000000000000000000000",tether:"1000000000000000000000000000000"};t.exports={unitMap:l,numberToString:n,getValueOfUnit:i,fromWei:o,toWei:s}},function(t,r){r.read=function(t,r,e,i,n){var o,s,h=8*n-i-1,u=(1<<h)-1,a=u>>1,f=-7,l=e?n-1:0,c=e?-1:1,p=t[r+l];for(l+=c,o=p&(1<<-f)-1,p>>=-f,f+=h;f>0;o=256*o+t[r+l],l+=c,f-=8);for(s=o&(1<<-f)-1,o>>=-f,f+=i;f>0;s=256*s+t[r+l],l+=c,f-=8);if(0===o)o=1-a;else{if(o===u)return s?NaN:(p?-1:1)*(1/0);s+=Math.pow(2,i),o-=a}return(p?-1:1)*s*Math.pow(2,o-i)},r.write=function(t,r,e,i,n,o){var s,h,u,a=8*o-n-1,f=(1<<a)-1,l=f>>1,c=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:o-1,d=i?1:-1,m=0>r||0===r&&0>1/r?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,s=f):(s=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-s))<1&&(s--,u*=2),r+=1>s+l?c*Math.pow(2,1-l):c/u,2>r*u||(s++,u/=2),f>s+l?1>s+l?(h=r*Math.pow(2,l-1)*Math.pow(2,n),s=0):(h=(r*u-1)*Math.pow(2,n),s+=l):(h=0,s=f));n>=8;t[e+p]=255&h,p+=d,h/=256,n-=8);for(s=s<<n|h,a+=n;a>0;t[e+p]=255&s,p+=d,s/=256,a-=8);t[e+p-d]|=128*m}},function(t,r){var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},function(t,r){t.exports={methods:{web3_clientVersion:[[],"S"],web3_sha3:[["S"],"D",1],net_version:[[],"S"],net_peerCount:[[],"Q"],net_listening:[[],"B"],personal_sign:[["D","D20","S"],"D",2],personal_ecRecover:[["D","D"],"D20",2],eth_protocolVersion:[[],"S"],eth_syncing:[[],"B|EthSyncing"],eth_coinbase:[[],"D20"],eth_mining:[[],"B"],eth_hashrate:[[],"Q"],eth_gasPrice:[[],"Q"],eth_accounts:[[],["D20"]],eth_blockNumber:[[],"Q"],eth_getBalance:[["D20","Q|T"],"Q",1,2],eth_getStorageAt:[["D20","Q","Q|T"],"D",2,2],eth_getTransactionCount:[["D20","Q|T"],"Q",1,2],eth_getBlockTransactionCountByHash:[["D32"],"Q",1],eth_getBlockTransactionCountByNumber:[["Q|T"],"Q",1],eth_getUncleCountByBlockHash:[["D32"],"Q",1],eth_getUncleCountByBlockNumber:[["Q"],"Q",1],eth_getCode:[["D20","Q|T"],"D",1,2],eth_sign:[["D20","D"],"D",2],eth_signTypedData:[["Array|DATA","D20"],"D",1],eth_sendTransaction:[["SendTransaction"],"D",1],eth_sendRawTransaction:[["D"],"D32",1],eth_call:[["CallTransaction","Q|T"],"D",1,2],eth_estimateGas:[["EstimateTransaction","Q|T"],"Q",1],eth_getBlockByHash:[["D32","B"],"Block",2],eth_getBlockByNumber:[["Q|T","B"],"Block",2],eth_getTransactionByHash:[["D32"],"Transaction",1],eth_getTransactionByBlockHashAndIndex:[["D32","Q"],"Transaction",2],eth_getTransactionByBlockNumberAndIndex:[["Q|T","Q"],"Transaction",2],eth_getTransactionReceipt:[["D32"],"Receipt",1],eth_getUncleByBlockHashAndIndex:[["D32","Q"],"Block",1],eth_getUncleByBlockNumberAndIndex:[["Q|T","Q"],"Block",2],eth_getCompilers:[[],["S"]],eth_compileLLL:[["S"],"D",1],eth_compileSolidity:[["S"],"D",1],eth_compileSerpent:[["S"],"D",1],eth_newFilter:[["Filter"],"Q",1],eth_newBlockFilter:[[],"Q"],eth_newPendingTransactionFilter:[[],"Q"],eth_uninstallFilter:[["Q"],"B",1],eth_getFilterChanges:[["Q"],["FilterChange"],1],eth_getFilterLogs:[["Q"],["FilterChange"],1],eth_getLogs:[["Filter"],["FilterChange"],1],eth_getWork:[[],["D"]],eth_submitWork:[["D","D32","D32"],"B",3],eth_submitHashrate:[["D","D"],"B",2],db_putString:[["S","S","S"],"B",2],db_getString:[["S","S"],"S",2],db_putHex:[["S","S","D"],"B",2],db_getHex:[["S","S"],"D",2],shh_post:[["SHHPost"],"B",1],shh_version:[[],"S"],shh_newIdentity:[[],"D"],shh_hasIdentity:[["D"],"B"],shh_newGroup:[[],"D"],shh_addToGroup:[["D"],"B",1],shh_newFilter:[["SHHFilter"],"Q",1],shh_uninstallFilter:[["Q"],"B",1],shh_getFilterChanges:[["Q"],["SHHFilterChange"],1],shh_getMessages:[["Q"],["SHHFilterChange"],1]},tags:["latest","earliest","pending"],objects:{EthSyncing:{__required:[],startingBlock: