Module: Tracker

Defined in:
lib/tracker.rb,
lib/tracker/version.rb

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject

Returns the value of attribute logger.



15
16
17
# File 'lib/tracker.rb', line 15

def logger
  @logger
end

Class Method Details

.get_erc1155_abiObject



22
23
24
25
# File 'lib/tracker.rb', line 22

def get_erc1155_abi
  file = File.join __dir__, "erc1155.json"
  File.open(file).read
end

.get_erc721_abiObject



17
18
19
20
# File 'lib/tracker.rb', line 17

def get_erc721_abi
  file = File.join __dir__, "erc721.json"
  File.open(file).read
end