Class: ABI::Address
Instance Method Summary collapse
- #==(another_type) ⇒ Object
- #format ⇒ Object
-
#size ⇒ Object
note: address is always 20 bytes; BUT uses 32 bytes (with padding).
Methods inherited from Type
Instance Method Details
#==(another_type) ⇒ Object
43 |
# File 'lib/abicoder/types.rb', line 43 def ==(another_type) another_type.kind_of?( Address ); end |
#format ⇒ Object
42 |
# File 'lib/abicoder/types.rb', line 42 def format() 'address'; end |
#size ⇒ Object
note: address is always 20 bytes; BUT uses 32 bytes (with padding)
41 |
# File 'lib/abicoder/types.rb', line 41 def size() 32; end |