Sha256: acfe21a10fc6f471b0bc255c3596d490a2ca29765f4f2767ad7272cb18d2511d

Contents?: true

Size: 344 Bytes

Versions: 25

Compression:

Stored size: 344 Bytes

Contents

module Etherlite::Contract
  class EventInput
    attr_reader :original_name, :type

    def initialize(_original_name, _type, _indexed)
      @original_name = _original_name
      @type = _type
      @indexed = _indexed
    end

    def name
      @name ||= @original_name.underscore
    end

    def indexed?
      @indexed
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
etherlite-0.6.0 lib/etherlite/contract/event_input.rb
etherlite-0.5.3 lib/etherlite/contract/event_input.rb
etherlite-0.5.2 lib/etherlite/contract/event_input.rb
etherlite-0.5.1 lib/etherlite/contract/event_input.rb
etherlite-0.5.0 lib/etherlite/contract/event_input.rb
etherlite-0.4.2 lib/etherlite/contract/event_input.rb
etherlite-0.4.1 lib/etherlite/contract/event_input.rb
etherlite-0.4.0 lib/etherlite/contract/event_input.rb
etherlite-0.3.0 lib/etherlite/contract/event_input.rb
etherlite-0.2.6 lib/etherlite/contract/event_input.rb
etherlite-0.2.5 lib/etherlite/contract/event_input.rb
etherlite-0.2.4 lib/etherlite/contract/event_input.rb
etherlite-0.2.3 lib/etherlite/contract/event_input.rb
etherlite-0.2.2 lib/etherlite/contract/event_input.rb
etherlite-0.2.1 lib/etherlite/contract/event_input.rb
etherlite-0.2.0 lib/etherlite/contract/event_input.rb
etherlite-0.1.8 lib/etherlite/contract/event_input.rb
etherlite-0.1.7 lib/etherlite/contract/event_input.rb
etherlite-0.1.6 lib/etherlite/contract/event_input.rb
etherlite-0.1.5 lib/etherlite/contract/event_input.rb