ethereum 0.4.27 → 0.4.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e641cd1cb9790aef583dc1882187d8a672c8c578
4
- data.tar.gz: a05dd39b84cd16aab752ed894a199cadb7b2bc42
3
+ metadata.gz: 6a2f4ca32867f28291875a069ba16984eefcd0f2
4
+ data.tar.gz: ed22ad891f39c05c88c983479606545463b92eae
5
5
  SHA512:
6
- metadata.gz: 50cd3a78f1f8d93f7ce3df93bf06f48caac86757e6b8864804f873a14286a470663f39d086d6704f85232fe3ff6b3c4faac0e17e45b73af8f9199bd1dd2462f3
7
- data.tar.gz: 4bde129cefdfc9330287457bb8858174e8a5a5d438b50f1e028d52555113d4fe0ca48354d7f47e76e5c8b2f0086e99aff507b93f03e5526603ba9b6a67ec8645
6
+ metadata.gz: 4e90e79191c06f90491d1170bddecafbc1838b769a5c3cf252ad1fd50294bb406bbeb95e573da0b1a024a295cef9f8a42b87764f080159b6b36647dc70c14574
7
+ data.tar.gz: ca668e86465e5fef648c1245b1bf64f7adeb4641abedcc9f7862250c1be3222c86931cd2b2100db7520b087c5c234ffa5bbbb180e7883ae5f325ff8c06fcd810
@@ -95,6 +95,10 @@ module Ethereum
95
95
  self.to_int(bytes)
96
96
  end
97
97
 
98
+ def output_to_bool(bytes)
99
+ return bytes == "0x0000000000000000000000000000000000000000000000000000000000000001"
100
+ end
101
+
98
102
  def to_output(args)
99
103
  converter = "output_to_#{self.get_base_type(args[0])}".to_sym
100
104
  self.send(converter, args[1])
@@ -1,3 +1,3 @@
1
1
  module Ethereum
2
- VERSION = "0.4.27"
2
+ VERSION = "0.4.30"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ethereum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.27
4
+ version: 0.4.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - DigixGlobal Pte Ltd (https://dgx.io)