module Etherlite::Abi
Public Instance Methods
load_contract(_json)
click to toggle source
# File lib/etherlite/abi.rb, line 13 def load_contract(_json) LoadContract.for artifact: _json end
load_contract_at(_path)
click to toggle source
# File lib/etherlite/abi.rb, line 9 def load_contract_at(_path) load_contract JSON.parse File.read(_path) end
load_function(_signature)
click to toggle source
# File lib/etherlite/abi.rb, line 17 def load_function(_signature) LoadFunction.for signature: _signature end