etherscan 0.1.4 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +5 -5
  2. metadata +14 -243
  3. data/.gitignore +0 -13
  4. data/Gemfile +0 -5
  5. data/README.md +0 -17
  6. data/Rakefile +0 -10
  7. data/etherscan.gemspec +0 -33
  8. data/lib/etherscan/api.rb +0 -225
  9. data/lib/etherscan/call.rb +0 -102
  10. data/lib/etherscan.rb +0 -11
  11. data/spec/api/account/balance_spec.rb +0 -15
  12. data/spec/api/account/balancemulti_spec.rb +0 -21
  13. data/spec/api/account/getminedblocks_spec.rb +0 -24
  14. data/spec/api/account/txlist_internal_spec.rb +0 -28
  15. data/spec/api/account/txlist_spec.rb +0 -27
  16. data/spec/api/block_getblockreward_spec.rb +0 -13
  17. data/spec/api/contract_spec.rb +0 -13
  18. data/spec/api/transaction_getstatus_spec.rb +0 -13
  19. data/spec/etehrscanio_call_api_key_spec.rb +0 -14
  20. data/spec/etherscan_call_params_spec.rb +0 -94
  21. data/spec/etherscanio_call_spec.rb +0 -31
  22. data/spec/etherscanio_spec.rb +0 -12
  23. data/spec/fixtures/account/balance.json +0 -1
  24. data/spec/fixtures/account/balance_multiple.json +0 -1
  25. data/spec/fixtures/account/getminedblocks.json +0 -1
  26. data/spec/fixtures/account/txlist.json +0 -1
  27. data/spec/fixtures/account/txlist_internal.json +0 -1
  28. data/spec/fixtures/block_getblockreward.json +0 -1
  29. data/spec/fixtures/contract_getabi.json +0 -1
  30. data/spec/fixtures/proxy/eth_blocknumber.json +0 -1
  31. data/spec/fixtures/proxy/eth_call.json +0 -1
  32. data/spec/fixtures/proxy/eth_estimategas.json +0 -1
  33. data/spec/fixtures/proxy/eth_gasprice.json +0 -1
  34. data/spec/fixtures/proxy/eth_getblockbynumber.json +0 -1
  35. data/spec/fixtures/proxy/eth_getblocktransactioncountbynumber.json +0 -1
  36. data/spec/fixtures/proxy/eth_getcode.json +0 -1
  37. data/spec/fixtures/proxy/eth_getstorageat.json +0 -1
  38. data/spec/fixtures/proxy/eth_gettransactionbyhash.json +0 -1
  39. data/spec/fixtures/proxy/eth_gettransactionbynumberandindex.json +0 -1
  40. data/spec/fixtures/proxy/eth_gettransactioncount.json +0 -1
  41. data/spec/fixtures/proxy/eth_gettransactionreceipt.json +0 -1
  42. data/spec/fixtures/proxy/eth_getunclebyblockbynumberandindex.json +0 -1
  43. data/spec/fixtures/proxy/eth_sendrawtransaction.json +0 -1
  44. data/spec/fixtures/stats/ethprice.json +0 -1
  45. data/spec/fixtures/stats/ethsupply.json +0 -1
  46. data/spec/fixtures/stats/tokensupply.json +0 -1
  47. data/spec/fixtures/token/tokensupply.json +0 -1
  48. data/spec/fixtures/transaction_getstatus.json +0 -1
  49. data/spec/spec_helper.rb +0 -80
@@ -1 +0,0 @@
1
- {"status":"1","message":"OK","result":[{"blockNumber":"2535368","timeStamp":"1477837690","hash":"0x8a1a9989bda84f80143181a68bc137ecefa64d0d4ebde45dd94fc0cf49e70cb6","from":"0x20d42f2e99a421147acf198d775395cac2e8b03d","to":"","value":"0","contractAddress":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","input":"","type":"create","gas":"254791","gasUsed":"46750","isError":"0","errCode":""},{"blockNumber":"2535479","timeStamp":"1477839134","hash":"0x1a50f1dc0bc912745f7d09b988669f71d199719e2fb7592c2074ede9578032d0","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"100000000000000000","contractAddress":"","input":"","type":"call","gas":"235231","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2547590","timeStamp":"1478012596","hash":"0xee535e4016e766d9210d0bc47afeff48f12cd05f0b0b00aa0ed7019b4417f505","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"1000000000000000000","contractAddress":"","input":"","type":"call","gas":"174995","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2547594","timeStamp":"1478012642","hash":"0x020a2660579f12783e51bfde4c831006a963cea2e848648db083a03efb20bde6","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"70000000000000000","contractAddress":"","input":"","type":"call","gas":"855726","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2547606","timeStamp":"1478013049","hash":"0x2b13f565b5e29b792f2aaf8114da6ed904b0989fa86588a8f5c3cb39c0c594da","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"10000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2547606","timeStamp":"1478013049","hash":"0x32ae2f75d0b0f14c7b208f915e13331f69e0331d3310c409c7fabe918fbac2e1","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"1000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2547610","timeStamp":"1478013089","hash":"0x7ec728d9c71af608c89820a6ad8e34b572bc002a07242f0cd4e5fc826b176abc","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"26000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"1","errCode":"Bad jump destination"},{"blockNumber":"2547610","timeStamp":"1478013089","hash":"0x9c1e2e1c4e70c200c713838abcbd01047e293dc14bb3ad8e10c4a9b99f1a8e98","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"13000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"1","errCode":"Bad jump destination"},{"blockNumber":"2547613","timeStamp":"1478013103","hash":"0x31357abc9f0240385314f1778322e37df02761280d0bf4392e898b2605ab9841","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"26000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"1","errCode":"Bad jump destination"},{"blockNumber":"2547619","timeStamp":"1478013203","hash":"0x2896441f9d1f167b4a3f987d82233e7d238e6a50a227c4b612dbc82f34bb533d","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"71000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"1","errCode":"Bad jump destination"},{"blockNumber":"2547633","timeStamp":"1478013408","hash":"0xf8401fd64dfbabccbdf57df9388832d52e6edadff50a12f13a31061a84a5e7cc","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"26000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"1","errCode":"Bad jump destination"},{"blockNumber":"2547633","timeStamp":"1478013408","hash":"0x0092e552600d9d2cb330f062d00550acbefe9c6f2566e15a3d5c1a7e90043b62","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"10000000000000000000","contractAddress":"","input":"","type":"call","gas":"67878","gasUsed":"0","isError":"1","errCode":"Bad jump destination"},{"blockNumber":"2547642","timeStamp":"1478013543","hash":"0x9e4cbd04cada2a6e4a1e01f9f92a8f639b36875a23b441636a1ebfd4a2f9bfc1","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"2000000000000000000","contractAddress":"","input":"","type":"call","gas":"146878","gasUsed":"0","isError":"1","errCode":"Bad jump destination"},{"blockNumber":"2547659","timeStamp":"1478013797","hash":"0xe437e307676a6dbbc041ec2f3327ba545deef76314d31b378f3fe10c319dbd39","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"10000000000000000000","contractAddress":"","input":"","type":"call","gas":"67878","gasUsed":"0","isError":"1","errCode":"Bad jump destination"},{"blockNumber":"2547717","timeStamp":"1478014556","hash":"0xe407ccbd349a03dbdf7eb40bed16e2c96e0f7289c42fd65d2dc63e01c8c2e000","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"2000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"1","errCode":"Bad jump destination"},{"blockNumber":"2547938","timeStamp":"1478018381","hash":"0x16e288f3a0fe8e3cac2fc5f092648d00a6fd0b9ffa570329039bba6c29296ef5","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"30000000000000000000","contractAddress":"","input":"","type":"call","gas":"67878","gasUsed":"0","isError":"1","errCode":"Bad jump destination"},{"blockNumber":"2547998","timeStamp":"1478019059","hash":"0xec65561dc9d4d222d32444a795462bfb579b363ddf2d3e58d69128ddc08c83b1","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"500087832442000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2548082","timeStamp":"1478020364","hash":"0xe7ede29e0e14a89b2b4684af803f936a9d59f282b44492fcb507789496722f8d","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"490000000000000000","contractAddress":"","input":"","type":"call","gas":"280211","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2548425","timeStamp":"1478025208","hash":"0xab76ebf799e05f225331c17e8abb47dfcd83650fc399e223bd3c2ac7712ca3f4","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"20000000000000000000","contractAddress":"","input":"","type":"call","gas":"198861","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2548632","timeStamp":"1478027910","hash":"0x53716e0490d7158988b5b8e2488dd1bf7aa2128e20afe7d4266093e1b6c07f11","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"10000000000000000000","contractAddress":"","input":"","type":"call","gas":"67878","gasUsed":"0","isError":"1","errCode":"Bad jump destination"},{"blockNumber":"2550016","timeStamp":"1478048748","hash":"0xbfac8f3d98feea00b146df4bdc3d53d1d76bcc96cbb133df7724a0f8d12d1c9c","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"5000000000000000000","contractAddress":"","input":"","type":"call","gas":"1940461","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2551212","timeStamp":"1478066222","hash":"0x5397ecba8052623dae3bc502526e42d8625105ace5a148efc321f65bf1620a58","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"20100000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2551361","timeStamp":"1478068681","hash":"0x69bcc27e02b24dc2abd3c55a9ae94730f2bff4dca196f815f6fe80a5428f55d6","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"21100000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2551494","timeStamp":"1478070721","hash":"0x09b52bb3acef2a75bdb458670554f9914b39f54a251c5fa8f6f28db6ef0838b6","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"1500000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2552238","timeStamp":"1478081311","hash":"0x5e53f8918f37a5ad964de50935dde324eb88b2408cc0d8ffab586648c976d613","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"20000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2552474","timeStamp":"1478084629","hash":"0x4dc71830d41a2e921d5cac875f179ede1a71152088fcbf7c5da355039788c16c","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"10100000000000000000","contractAddress":"","input":"","type":"call","gas":"142925","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2552577","timeStamp":"1478086047","hash":"0xc144a767df5b8cc2e6f18bdf28d3b8e2c216443b2b5ee21d05aa969ce51df224","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"10100000000000000000","contractAddress":"","input":"","type":"call","gas":"142925","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2552619","timeStamp":"1478086749","hash":"0x15e899ce968a73d1c90eaf4e047e317c5de012951d3969afe9858d016aa42ab3","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"33030000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2552686","timeStamp":"1478087690","hash":"0xb0659459af88c2bda76fe6ce5eecff050b01ed901851cb06189d0326283a1532","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"49236038000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2553458","timeStamp":"1478098307","hash":"0x726f141afee1a247e2dec5fbf6955dbf384056b20f9402d752e0b575317d1673","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"5000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2553479","timeStamp":"1478098664","hash":"0xfd045b59b8c507ef9610773c8e86fbac156e81b406de8d886cd3381ade8480f5","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"14280333000000000000","contractAddress":"","input":"","type":"call","gas":"36878","gasUsed":"0","isError":"1","errCode":"Out of gas"},{"blockNumber":"2553530","timeStamp":"1478099452","hash":"0xa7656a6aea87f1ed6514b0a1e191345ef851620dff038693746dfc314699ee87","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"95000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2554070","timeStamp":"1478107604","hash":"0x123ab67974050fb6111ba41c028bcb0145f3e83f116ed3f8c929cc19ff31fea7","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"400000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2556148","timeStamp":"1478137120","hash":"0x421b3af4d935e6e2821316998f7fbbd913accc7c7a03ea8bf6c07d50b7550987","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"1000000000000000000","contractAddress":"","input":"","type":"call","gas":"1593361","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2556185","timeStamp":"1478137742","hash":"0x661c0a12cb003db1a6727694071ccaaa42821c42312fe318789a55126cbffab9","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"48000000000000000000","contractAddress":"","input":"","type":"call","gas":"1578595","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2556195","timeStamp":"1478137881","hash":"0xc5fcd6f513b540dd991116cfd3d4037df83c18c966e905dcde46ab279e7f92bf","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"900000000000000000","contractAddress":"","input":"","type":"call","gas":"1578595","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2556204","timeStamp":"1478137982","hash":"0xd8d4d7e8fb19d8dfd11f938c0027821d1397743233bb7bcc1f6219dfdda27b1f","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"10000000000000000","contractAddress":"","input":"","type":"call","gas":"1578595","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2556899","timeStamp":"1478148538","hash":"0xde2f0b1edec4698d7c21e58f0ac2d83ede8f87fc4baad17e94f82700dc8b97a2","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"2000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2558047","timeStamp":"1478165587","hash":"0xbbfac32af38852a670f717d591aac878a4e4913ca041a2013811dc3993d1958e","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"5000000000000000000","contractAddress":"","input":"","type":"call","gas":"198861","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2558139","timeStamp":"1478166933","hash":"0x2d98e12fd119ca797a56eb690388625e1ebd388ab516e75614c22091848a4d0a","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"2900000000000000","contractAddress":"","input":"","type":"call","gas":"46878","gasUsed":"0","isError":"1","errCode":"Bad jump destination"},{"blockNumber":"2558380","timeStamp":"1478170104","hash":"0x7fd45af2cdc1b011f94801d5e2e9e8c4981f73972dd361c3cffe36d6f5706b75","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"1000000000000000000","contractAddress":"","input":"","type":"call","gas":"98861","gasUsed":"0","isError":"1","errCode":"Out of gas"},{"blockNumber":"2558723","timeStamp":"1478174964","hash":"0xa92111e4d6edfc5ccaf50aecab42291a49084cb2d324b69200581d3c400732af","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"100000000000000000","contractAddress":"","input":"","type":"call","gas":"98861","gasUsed":"0","isError":"1","errCode":"Out of gas"},{"blockNumber":"2558775","timeStamp":"1478175772","hash":"0xd992748be021e453a58846684f2f4ba56b6327ec4ddbbc1cd08e3b43a6651adb","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"100000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2562774","timeStamp":"1478234334","hash":"0x47abb3e8bf179d44ce137f543055b031e3530e651ef54bc755a334b863d3b8e0","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"7000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2567272","timeStamp":"1478299387","hash":"0x6316eaaf3c138689d4d4e2bbf38f792376a319ee3643692296c52ed91a173298","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"10000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2575209","timeStamp":"1478414726","hash":"0x907bcd4dcb8bf7284c1b960169bf4bed53f28237264226679da119d2a599f00d","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"1000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2589129","timeStamp":"1478608247","hash":"0x11a800452437eeadf23099a87eec3ced9b49c7acdb3831f0da03f5fb9343c788","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"100000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2610381","timeStamp":"1478914499","hash":"0x77e92a6a34c4fb9b6022d40735df404e9bb60416957dfdce7b6d47490316a42a","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"44839850000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2618486","timeStamp":"1479028914","hash":"0x7868809f686a8b6220253351062ac5fdab7e93fff056aafa3d259e743856c7b3","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"1400000000000000000","contractAddress":"","input":"","type":"call","gas":"46878","gasUsed":"0","isError":"1","errCode":"Bad jump destination"},{"blockNumber":"2618706","timeStamp":"1479031936","hash":"0xff972e29084d32b31c4d4e5ac2386e72ec8e79e90772ae53184236d24834df56","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"1400000000000000000","contractAddress":"","input":"","type":"call","gas":"1940461","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2620112","timeStamp":"1479051695","hash":"0xd35a5f73d16dadddd55989be2a080a2a382cfd4db1987e4fcb218f4a3b8978d8","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"100000000000000000","contractAddress":"","input":"","type":"call","gas":"98861","gasUsed":"0","isError":"1","errCode":"Out of gas"},{"blockNumber":"2620132","timeStamp":"1479051981","hash":"0x2fde3601a44be5a20cb2e91184d0602d05db4d69579410f029a5d76d55977faf","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"100000000000000000","contractAddress":"","input":"","type":"call","gas":"98861","gasUsed":"0","isError":"1","errCode":"Out of gas"},{"blockNumber":"2622800","timeStamp":"1479089437","hash":"0x37fffa92a5f4f568405ba4316ffd66faf499307f44fdfaed0b7d84a4bbd34cac","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"240000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2631682","timeStamp":"1479215534","hash":"0x6334d117938937c7628685d12016cd4eee25a07c78f923af62e054655a66f16f","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"1000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2637830","timeStamp":"1479304224","hash":"0x12103d153a9b57f45b5c9ee9a1c18f529ef5b4b5a8a9088fd2385e78d0b9c58d","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"437000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2638536","timeStamp":"1479314271","hash":"0xf9e706f90beb5120cb89347f923dfea589370719f821b2b4052e15cdbb56cd03","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"100000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2642257","timeStamp":"1479366771","hash":"0xece03df474f62302c2b67ff8218bf9ee86b71d76ca0643bbaf34a4862667f34e","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"1000000000000000000","contractAddress":"","input":"","type":"call","gas":"99075","gasUsed":"0","isError":"1","errCode":"Out of gas"},{"blockNumber":"2654878","timeStamp":"1479547275","hash":"0x6a304bf1fc2c01fb5a7e0516ede44ce3c9182952d6a14feb19291a78b15db146","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"3000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2674799","timeStamp":"1479828861","hash":"0x033b7346f6e995757dcae9c51e657b9541848fb1d0568258c74f22619d7c5edb","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"15370000000000000000","contractAddress":"","input":"","type":"call","gas":"99075","gasUsed":"0","isError":"1","errCode":"Out of gas"},{"blockNumber":"2674843","timeStamp":"1479829364","hash":"0xe0065ad31c8d06f44a36390acbea16afe5c4c9f22877f4bd999d2561f4a871ac","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"15300000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2679550","timeStamp":"1479897556","hash":"0x993c62e6f2d4aa956f81c84d1d255829028045b61528e95f53d07c3d258927ce","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"224000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2679741","timeStamp":"1479900387","hash":"0x5bbdc832b0974f56bf86c7b0958013dd156f8a497dd9fc074d9e1a73138f8509","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"96750000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2685504","timeStamp":"1479985476","hash":"0x38f01153deb9c2c96b16b67a6583437afc6c0132c12dd390d369be4ba5399487","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"320000000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""},{"blockNumber":"2701177","timeStamp":"1480212453","hash":"0x7dd9cc6a3cf68472d3ae829a9cdc0221772295a5d374bb6b8da7cc843c90c738","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"5000000000000000000","contractAddress":"","input":"","type":"call","gas":"43819","gasUsed":"0","isError":"1","errCode":"Bad jump destination"},{"blockNumber":"2702525","timeStamp":"1480232053","hash":"0x68db44e9ebec402879ac18887901caaffc43d65bdaa7f9eca9a2ab0707841b1c","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"5140000000000000000","contractAddress":"","input":"","type":"call","gas":"99795","gasUsed":"0","isError":"1","errCode":"Out of gas"},{"blockNumber":"2702578","timeStamp":"1480232982","hash":"0x1b513dd971aad228eb31f54489803639de167309ac72de68ecdaeb022a7ab42b","from":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3","to":"0x20d42f2e99a421147acf198d775395cac2e8b03d","value":"5130000000000000000","contractAddress":"","input":"","type":"call","gas":"346878","gasUsed":"0","isError":"0","errCode":""}]}
@@ -1 +0,0 @@
1
- {"status":"1","message":"OK","result":{"blockNumber":"2165403","timeStamp":"1472533979","blockMiner":"0x13a06d3dfe21e0db5c016c03ea7d2509f7f8d1e3","blockReward":"5314181600000000000","uncles":[{"miner":"0xbcdfc35b86bedf72f0cda046a3c16829a2ef41d1","unclePosition":"0","blockreward":"3750000000000000000"},{"miner":"0x0d0c9855c722ff0c78f21e43aa275a5b8ea60dce","unclePosition":"1","blockreward":"3750000000000000000"}],"uncleInclusionReward":"312500000000000000"}}
@@ -1 +0,0 @@
1
- {"status":"1","message":"OK","result":"[{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"proposals\",\"outputs\":[{\"name\":\"recipient\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"},{\"name\":\"description\",\"type\":\"string\"},{\"name\":\"votingDeadline\",\"type\":\"uint256\"},{\"name\":\"open\",\"type\":\"bool\"},{\"name\":\"proposalPassed\",\"type\":\"bool\"},{\"name\":\"proposalHash\",\"type\":\"bytes32\"},{\"name\":\"proposalDeposit\",\"type\":\"uint256\"},{\"name\":\"newCurator\",\"type\":\"bool\"},{\"name\":\"yea\",\"type\":\"uint256\"},{\"name\":\"nay\",\"type\":\"uint256\"},{\"name\":\"creator\",\"type\":\"address\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"minTokensToCreate\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"rewardAccount\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"daoCreator\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"divisor\",\"outputs\":[{\"name\":\"divisor\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"extraBalance\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_proposalID\",\"type\":\"uint256\"},{\"name\":\"_transactionData\",\"type\":\"bytes\"}],\"name\":\"executeProposal\",\"outputs\":[{\"name\":\"_success\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"unblockMe\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalRewardToken\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"actualBalance\",\"outputs\":[{\"name\":\"_actualBalance\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"closingTime\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowedRecipients\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferWithoutReward\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"refund\",\"outputs\":[],\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_recipient\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_description\",\"type\":\"string\"},{\"name\":\"_transactionData\",\"type\":\"bytes\"},{\"name\":\"_debatingPeriod\",\"type\":\"uint256\"},{\"name\":\"_newCurator\",\"type\":\"bool\"}],\"name\":\"newProposal\",\"outputs\":[{\"name\":\"_proposalID\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"DAOpaidOut\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"minQuorumDivisor\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_newContract\",\"type\":\"address\"}],\"name\":\"newContract\",\"outputs\":[],\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_recipient\",\"type\":\"address\"},{\"name\":\"_allowed\",\"type\":\"bool\"}],\"name\":\"changeAllowedRecipients\",\"outputs\":[{\"name\":\"_success\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"halveMinQuorum\",\"outputs\":[{\"name\":\"_success\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"paidOut\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_proposalID\",\"type\":\"uint256\"},{\"name\":\"_newCurator\",\"type\":\"address\"}],\"name\":\"splitDAO\",\"outputs\":[{\"name\":\"_success\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"DAOrewardAccount\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"proposalDeposit\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"numberOfProposals\",\"outputs\":[{\"name\":\"_numberOfProposals\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lastTimeMinQuorumMet\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_toMembers\",\"type\":\"bool\"}],\"name\":\"retrieveDAOReward\",\"outputs\":[{\"name\":\"_success\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"receiveEther\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isFueled\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_tokenHolder\",\"type\":\"address\"}],\"name\":\"createTokenProxy\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_proposalID\",\"type\":\"uint256\"}],\"name\":\"getNewDAOAddress\",\"outputs\":[{\"name\":\"_newDAO\",\"type\":\"address\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_proposalID\",\"type\":\"uint256\"},{\"name\":\"_supportsProposal\",\"type\":\"bool\"}],\"name\":\"vote\",\"outputs\":[{\"name\":\"_voteID\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"getMyReward\",\"outputs\":[{\"name\":\"_success\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"rewardToken\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFromWithoutReward\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_proposalDeposit\",\"type\":\"uint256\"}],\"name\":\"changeProposalDeposit\",\"outputs\":[],\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"blocked\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"curator\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_proposalID\",\"type\":\"uint256\"},{\"name\":\"_recipient\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_transactionData\",\"type\":\"bytes\"}],\"name\":\"checkProposalCode\",\"outputs\":[{\"name\":\"_codeChecksOut\",\"type\":\"bool\"}],\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"privateCreation\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"type\":\"function\"},{\"inputs\":[{\"name\":\"_curator\",\"type\":\"address\"},{\"name\":\"_daoCreator\",\"type\":\"address\"},{\"name\":\"_proposalDeposit\",\"type\":\"uint256\"},{\"name\":\"_minTokensToCreate\",\"type\":\"uint256\"},{\"name\":\"_closingTime\",\"type\":\"uint256\"},{\"name\":\"_privateCreation\",\"type\":\"address\"}],\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"FuelingToDate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"CreatedToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Refund\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"proposalID\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"newCurator\",\"type\":\"bool\"},{\"indexed\":false,\"name\":\"description\",\"type\":\"string\"}],\"name\":\"ProposalAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"proposalID\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"position\",\"type\":\"bool\"},{\"indexed\":true,\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"Voted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"proposalID\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"result\",\"type\":\"bool\"},{\"indexed\":false,\"name\":\"quorum\",\"type\":\"uint256\"}],\"name\":\"ProposalTallied\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_newCurator\",\"type\":\"address\"}],\"name\":\"NewCurator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_recipient\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_allowed\",\"type\":\"bool\"}],\"name\":\"AllowedRecipientChanged\",\"type\":\"event\"}]"}
@@ -1 +0,0 @@
1
- {"jsonrpc":"2.0","result":"0x34adbe","id":83}
@@ -1 +0,0 @@
1
- {"jsonrpc":"2.0","result":"0x00000000000000000000000000000000000000000000000000601d8888141c00","id":1}
@@ -1 +0,0 @@
1
- {"jsonrpc":"2.0","error":{"code":-32015,"message":"Transaction execution error.","data":"Internal(\"Requires higher than upper limit of 1000000000000\")"},"id":1}
@@ -1 +0,0 @@
1
- {"jsonrpc":"2.0","result":"0x4a817c800","id":73}
@@ -1 +0,0 @@
1
- {"jsonrpc":"2.0","result":{"author":"0xf927a40c8b7f6e07c5af7fa2155b4864a4112b13","difficulty":"0x1d95715bd14","extraData":"0x","gasLimit":"0x2fefd8","gasUsed":"0x5208","hash":"0x7eb7c23a5ac2f2d70aa1ba4e5c56d89de5ac993590e5f6e79c394e290d998ba8","logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","miner":"0xf927a40c8b7f6e07c5af7fa2155b4864a4112b13","mixHash":"0x13dd2c8aec729f75aebcd79a916ecb0f7edc6493efcc6a4da8d7b0ab3ee88444","nonce":"0xc60a782e2e69ce22","number":"0x10d4f","parentHash":"0xf8d01370e6e274f8188954fbee435b40c35b2ad3d4ab671f6d086cd559e48f04","receiptsRoot":"0x0c44b7ed0fefb613ec256341aa0ffdb643e869e3a0ebc8f58e36b4e47efedd33","sealFields":["0xa013dd2c8aec729f75aebcd79a916ecb0f7edc6493efcc6a4da8d7b0ab3ee88444","0x88c60a782e2e69ce22"],"sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","size":"0x275","stateRoot":"0xd64a0f63e2c7f541e6e6f8548a10a5c4e49fda7ac1aa80f9dddef648c7b9e25f","timestamp":"0x55c9ea07","totalDifficulty":"0x120d56f6821b170","transactions":[{"blockHash":"0x7eb7c23a5ac2f2d70aa1ba4e5c56d89de5ac993590e5f6e79c394e290d998ba8","blockNumber":"0x10d4f","condition":null,"creates":null,"from":"0x4458f86353b4740fe9e09071c23a7437640063c9","gas":"0x5208","gasPrice":"0xba43b7400","hash":"0xa442249820de6be754da81eafbd44a865773e4b23d7c0522d31fd03977823008","input":"0x","networkId":null,"nonce":"0x1","publicKey":"0xcc1423c5c4831fec83d561a9c8508e1f9a33ae5f80648136e572e15c0bdb62abbf94fe3be5db1e9e19634b4ef047369350f044c531adf44b348e8ddcc913944a","r":"0x2c2789c6704ba2606e200e1ba4fd17ba4f0e0f94abe32a12733708c3d3442616","raw":"0xf86b01850ba43b740082520894bf3403210f9802205f426759947a80a9fda71b1e87aa9f075c200000801ba02c2789c6704ba2606e200e1ba4fd17ba4f0e0f94abe32a12733708c3d3442616a02946f47e3ece580b5b5ecb0f8c52604fa5f60aeb4103fc73adcbf6d620f9872b","s":"0x2946f47e3ece580b5b5ecb0f8c52604fa5f60aeb4103fc73adcbf6d620f9872b","standardV":"0x0","to":"0xbf3403210f9802205f426759947a80a9fda71b1e","transactionIndex":"0x0","v":"0x1b","value":"0xaa9f075c200000"}],"transactionsRoot":"0x4a5b78c13d11559c9541576834b5172fe8b18507c0f9f76454fcdddedd8dff7a","uncles":[]},"id":1}
@@ -1 +0,0 @@
1
- {"jsonrpc":"2.0","result":"0x3","id":1}
@@ -1 +0,0 @@
1
- {"jsonrpc":"2.0","result":"0x00000000000000000000000000000000000000000000000000601d8888141c00","id":1}
@@ -1 +0,0 @@
1
- {"jsonrpc":"2.0","result":"0x0000000000000000000000003d0768da09ce77d25e2d998e6a7b6ed4b9116c2d","id":1}
@@ -1 +0,0 @@
1
- {"jsonrpc":"2.0","result":{"blockHash":"0xf64a12502afc36db3d29931a2148e5d6ddaa883a2a3c968ca2fb293fa9258c68","blockNumber":"0x70839","condition":null,"creates":null,"from":"0xc80fb22930b303b55df9b89901889126400add38","gas":"0x30d40","gasPrice":"0xba43b7400","hash":"0x1e2910a262b1008d0616a0beb24c1a491d78771baa54a33e66065e03b1f46bc1","input":"0xfc36e15b0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a4861636b65726e65777300000000000000000000000000000000000000000000","networkId":null,"nonce":"0xa7","publicKey":"0xd6fa924758c881a8f5e97c34780cad4f0f0fc27def3a46b3363bc35d6c0414b2707be2b7ebfabf10d6051239614cbed99cff8863cca610c8245801583db1fb39","r":"0xe7ccdba116aa95ae8d9bdd02f619a0cdfc1f60c5740b3899865822a80cd70218","raw":"0xf8cb81a7850ba43b740083030d409403fca6077d38dd99d0ce14ba32078bd2cda72d7480b864fc36e15b0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a4861636b65726e657773000000000000000000000000000000000000000000001ca0e7ccdba116aa95ae8d9bdd02f619a0cdfc1f60c5740b3899865822a80cd70218a0f200df1921ea988d16280a0873b69cb782a54e8a596d15e700710c820c8d2a9e","s":"0xf200df1921ea988d16280a0873b69cb782a54e8a596d15e700710c820c8d2a9e","standardV":"0x1","to":"0x03fca6077d38dd99d0ce14ba32078bd2cda72d74","transactionIndex":"0x0","v":"0x1c","value":"0x0"},"id":1}
@@ -1 +0,0 @@
1
- {"jsonrpc":"2.0","result":{"blockHash":"0x7eb7c23a5ac2f2d70aa1ba4e5c56d89de5ac993590e5f6e79c394e290d998ba8","blockNumber":"0x10d4f","condition":null,"creates":null,"from":"0x4458f86353b4740fe9e09071c23a7437640063c9","gas":"0x5208","gasPrice":"0xba43b7400","hash":"0xa442249820de6be754da81eafbd44a865773e4b23d7c0522d31fd03977823008","input":"0x","networkId":null,"nonce":"0x1","publicKey":"0xcc1423c5c4831fec83d561a9c8508e1f9a33ae5f80648136e572e15c0bdb62abbf94fe3be5db1e9e19634b4ef047369350f044c531adf44b348e8ddcc913944a","r":"0x2c2789c6704ba2606e200e1ba4fd17ba4f0e0f94abe32a12733708c3d3442616","raw":"0xf86b01850ba43b740082520894bf3403210f9802205f426759947a80a9fda71b1e87aa9f075c200000801ba02c2789c6704ba2606e200e1ba4fd17ba4f0e0f94abe32a12733708c3d3442616a02946f47e3ece580b5b5ecb0f8c52604fa5f60aeb4103fc73adcbf6d620f9872b","s":"0x2946f47e3ece580b5b5ecb0f8c52604fa5f60aeb4103fc73adcbf6d620f9872b","standardV":"0x0","to":"0xbf3403210f9802205f426759947a80a9fda71b1e","transactionIndex":"0x0","v":"0x1b","value":"0xaa9f075c200000"},"id":1}
@@ -1 +0,0 @@
1
- {"jsonrpc":"2.0","result":"0xaf5d","id":1}
@@ -1 +0,0 @@
1
- {"jsonrpc":"2.0","result":{"blockHash":"0xf64a12502afc36db3d29931a2148e5d6ddaa883a2a3c968ca2fb293fa9258c68","blockNumber":"0x70839","contractAddress":null,"cumulativeGasUsed":"0x75d5","gasUsed":"0x75d5","logs":[{"address":"0x03fca6077d38dd99d0ce14ba32078bd2cda72d74","blockHash":"0xf64a12502afc36db3d29931a2148e5d6ddaa883a2a3c968ca2fb293fa9258c68","blockNumber":"0x70839","data":"0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a4861636b65726e65777300000000000000000000000000000000000000000000","logIndex":"0x0","topics":["0x24bcf19562365f6510754002f8d7b818d275886315d29c7aa04785570b97a363"],"transactionHash":"0x1e2910a262b1008d0616a0beb24c1a491d78771baa54a33e66065e03b1f46bc1","transactionIndex":"0x0","transactionLogIndex":"0x0","type":"mined"}],"logsBloom":"0x00000000000000000000000000000400000000020000000000000000400000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","root":"0xc659845f1ac4e899ff1b0666dbac5deeda33a4a5d85da71f617f352824146e40","transactionHash":"0x1e2910a262b1008d0616a0beb24c1a491d78771baa54a33e66065e03b1f46bc1","transactionIndex":"0x0"},"id":1}
@@ -1 +0,0 @@
1
- {"jsonrpc":"2.0","result":{"author":"0xf927a40c8b7f6e07c5af7fa2155b4864a4112b13","difficulty":"0x1d95715bd14","extraData":"0x","gasLimit":"0x2fefd8","gasUsed":"0x5208","hash":"0x7eb7c23a5ac2f2d70aa1ba4e5c56d89de5ac993590e5f6e79c394e290d998ba8","logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","miner":"0xf927a40c8b7f6e07c5af7fa2155b4864a4112b13","mixHash":"0x13dd2c8aec729f75aebcd79a916ecb0f7edc6493efcc6a4da8d7b0ab3ee88444","nonce":"0xc60a782e2e69ce22","number":"0x10d4f","parentHash":"0xf8d01370e6e274f8188954fbee435b40c35b2ad3d4ab671f6d086cd559e48f04","receiptsRoot":"0x0c44b7ed0fefb613ec256341aa0ffdb643e869e3a0ebc8f58e36b4e47efedd33","sealFields":["0xa013dd2c8aec729f75aebcd79a916ecb0f7edc6493efcc6a4da8d7b0ab3ee88444","0x88c60a782e2e69ce22"],"sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","size":"0x275","stateRoot":"0xd64a0f63e2c7f541e6e6f8548a10a5c4e49fda7ac1aa80f9dddef648c7b9e25f","timestamp":"0x55c9ea07","totalDifficulty":"0x120d56f6821b170","transactions":[{"blockHash":"0x7eb7c23a5ac2f2d70aa1ba4e5c56d89de5ac993590e5f6e79c394e290d998ba8","blockNumber":"0x10d4f","condition":null,"creates":null,"from":"0x4458f86353b4740fe9e09071c23a7437640063c9","gas":"0x5208","gasPrice":"0xba43b7400","hash":"0xa442249820de6be754da81eafbd44a865773e4b23d7c0522d31fd03977823008","input":"0x","networkId":null,"nonce":"0x1","publicKey":"0xcc1423c5c4831fec83d561a9c8508e1f9a33ae5f80648136e572e15c0bdb62abbf94fe3be5db1e9e19634b4ef047369350f044c531adf44b348e8ddcc913944a","r":"0x2c2789c6704ba2606e200e1ba4fd17ba4f0e0f94abe32a12733708c3d3442616","raw":"0xf86b01850ba43b740082520894bf3403210f9802205f426759947a80a9fda71b1e87aa9f075c200000801ba02c2789c6704ba2606e200e1ba4fd17ba4f0e0f94abe32a12733708c3d3442616a02946f47e3ece580b5b5ecb0f8c52604fa5f60aeb4103fc73adcbf6d620f9872b","s":"0x2946f47e3ece580b5b5ecb0f8c52604fa5f60aeb4103fc73adcbf6d620f9872b","standardV":"0x0","to":"0xbf3403210f9802205f426759947a80a9fda71b1e","transactionIndex":"0x0","v":"0x1b","value":"0xaa9f075c200000"}],"transactionsRoot":"0x4a5b78c13d11559c9541576834b5172fe8b18507c0f9f76454fcdddedd8dff7a","uncles":[]},"id":1}
@@ -1 +0,0 @@
1
- {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid RLP.","data":"RlpIncorrectListLen"},"id":1}
@@ -1 +0,0 @@
1
- {"status":"1","message":"OK","result":{"ethbtc":"0.04632","ethbtc_timestamp":"1490974262","ethusd":"49.02","ethusd_timestamp":"1490974259"}}
@@ -1 +0,0 @@
1
- {"status":"1","message":"OK","result":"90278439874100000000000000"}
@@ -1 +0,0 @@
1
- {"status":"1","message":"OK","result":"1984198153200000"}
@@ -1 +0,0 @@
1
- {"status":"1","message":"OK","result":"1984198153200000"}
@@ -1 +0,0 @@
1
- {"status":"1","message":"OK","result":{"isError":"1","errDescription":"Bad jump destination"}}
data/spec/spec_helper.rb DELETED
@@ -1,80 +0,0 @@
1
- require 'bundler/setup'
2
- require 'webmock/rspec'
3
- require './lib/etherscanio/api'
4
- require './lib/etherscanio/call'
5
-
6
- account_balance_response = File.read('./spec/fixtures/account/balance.json')
7
- account_balance_uri = 'http://api.etherscan.io/api?action=balance&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&module=account&tag=latest'
8
-
9
- multiple_account_balance_uri = 'http://api.etherscan.io/api?action=balancemulti&address=0xddbd2b932c763ba5b1b7ae3b362eac3e8d40121a,0x63a9975ba31b0b9626b34300f7f627147df1f526,0x198ef1ec325a96cc354c7266a038be8b5c558f67&module=account&tag=latest'
10
- multiple_account_balance_response = File.read('./spec/fixtures/account/balance_multiple.json')
11
-
12
- account_txlist_uri = 'http://api.etherscan.io/api?action=txlist&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&endblock=99999999&module=account&sort=desc&&startblock=0'
13
- account_txlist_response = File.read('./spec/fixtures/account/txlist.json')
14
-
15
- account_txlist_paging_uri = 'http://api.etherscan.io/api?action=txlist&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&endblock=99999999&module=account&page=1&sort=desc&startblock=0'
16
- account_txlist_paging_response = File.read('./spec/fixtures/account/txlist.json')
17
-
18
- account_txlist_internal_uri = 'http://api.etherscan.io/api?action=txlistinternal&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&endblock=99999999&module=account&sort=desc&startblock=0'
19
- account_txlist_internal_response = File.read('./spec/fixtures/account/txlist_internal.json')
20
-
21
- account_txlist_internal_paging_uri = 'http://api.etherscan.io/api?action=txlistinternal&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&endblock=99999999&module=account&offset=10&page=1&sort=desc&startblock=0'
22
- account_txlist_internal_response = File.read('./spec/fixtures/account/txlist_internal.json')
23
-
24
- account_getminedblocks_uri = 'http://api.etherscan.io/api?action=getminedblocks&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&blocktype=block&module=account'
25
- account_getminedblocks_response = File.read('./spec/fixtures/account/getminedblocks.json')
26
-
27
- account_getminedblocks_page_uri = 'http://api.etherscan.io/api?action=getminedblocks&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&blocktype=block&module=account&offset=10&page=1'
28
-
29
- contract_getabi_uri = 'http://api.etherscan.io/api?action=getabi&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&module=contract'
30
- contract_getabi_response = File.read('./spec/fixtures/contract_getabi.json')
31
-
32
- transaction_getstatus_uri = 'http://api.etherscan.io/api?action=getstatus&module=transaction&txhash=0x15f8e5ea1079d9a0bb04a4c58ae5fe7654b5b2b4463375ff7ffb490aa0032f3a'
33
- transaction_getstatus_response = File.read('./spec/fixtures/transaction_getstatus.json')
34
-
35
- block_getblockreward_uri = 'http://api.etherscan.io/api?action=getblockreward&blockno=2165403&module=block'
36
- block_getblockreward_response = File.read('./spec/fixtures/block_getblockreward.json')
37
-
38
- RSpec.configure do |config|
39
- # Enable flags like --only-failures and --next-failure
40
- config.example_status_persistence_file_path = '.rspec_status'
41
-
42
- config.before(:each) do
43
- stub_request(:get, account_balance_uri)
44
- .to_return(status: 200, body: account_balance_response, headers: {})
45
-
46
- stub_request(:get, multiple_account_balance_uri)
47
- .to_return(status: 200, body: multiple_account_balance_response, headers: {})
48
-
49
- stub_request(:get, account_txlist_uri)
50
- .to_return(status: 200, body: account_txlist_response, headers: {})
51
-
52
- stub_request(:get, account_txlist_paging_uri)
53
- .to_return(status: 200, body: account_txlist_paging_response, headers: {})
54
-
55
- stub_request(:get, account_txlist_internal_uri)
56
- .to_return(status: 200, body: account_txlist_internal_response, headers: {})
57
-
58
- stub_request(:get, account_txlist_internal_paging_uri)
59
- .to_return(status: 200, body: account_txlist_internal_response, headers: {})
60
-
61
- stub_request(:get, account_getminedblocks_uri)
62
- .to_return(status: 200, body: account_getminedblocks_response, headers: {})
63
-
64
- stub_request(:get, account_getminedblocks_page_uri)
65
- .to_return(status: 200, body: account_getminedblocks_response, headers: {})
66
-
67
- stub_request(:get, contract_getabi_uri)
68
- .to_return(status: 200, body: contract_getabi_response, headers: {})
69
-
70
- stub_request(:get, transaction_getstatus_uri)
71
- .to_return(status: 200, body: transaction_getstatus_response, headers: {})
72
-
73
- stub_request(:get, block_getblockreward_uri)
74
- .to_return(status: 200, body: block_getblockreward_response, headers: {})
75
- end
76
-
77
- config.expect_with :rspec do |c|
78
- c.syntax = :expect
79
- end
80
- end