Class: AbiCoderRb::Address
Instance Method Summary collapse
- #==(other) ⇒ Object
- #format ⇒ Object
-
#size ⇒ Object
note: address is always 20 bytes; BUT uses 32 bytes (with padding).
Methods inherited from Type
Instance Method Details
#==(other) ⇒ Object
47 48 49 |
# File 'lib/abi_coder_rb/types.rb', line 47 def ==(other) other.is_a?(Address) end |
#format ⇒ Object
43 44 45 |
# File 'lib/abi_coder_rb/types.rb', line 43 def format "address" end |
#size ⇒ Object
note: address is always 20 bytes; BUT uses 32 bytes (with padding)
39 40 41 |
# File 'lib/abi_coder_rb/types.rb', line 39 def size 32 end |