class EthereumContractABI::ContractInterface::AbiTypes::Address

Public Class Methods

from_string(string_type) click to toggle source
# File lib/ethereum-contract-abi/contract/abi_types/address.rb, line 23
def self.from_string(string_type)
  string_type === 'address' ? self.new : nil
end
new() click to toggle source
Calls superclass method
# File lib/ethereum-contract-abi/contract/abi_types/address.rb, line 11
def initialize
  super(160)
end

Public Instance Methods

is_dynamic() click to toggle source
# File lib/ethereum-contract-abi/contract/abi_types/address.rb, line 15
def is_dynamic
  false
end
to_s() click to toggle source
# File lib/ethereum-contract-abi/contract/abi_types/address.rb, line 19
def to_s
  "address"
end