Method: EverSdk::Abi::AbiEvent#to_h

Defined in:
lib/ever_sdk_client/abi.rb

#to_hObject



504
505
506
507
508
509
510
511
512
513
514
515
516
# File 'lib/ever_sdk_client/abi.rb', line 504

def to_h
  in_h_s = if !@inputs.nil?
    @inputs.compact.map(&:to_h)
  else
    []
  end

  {
    name: @name,
    inputs: in_h_s,
    id: @id_
  }
end