class Object
Public Instance Methods
loadAbiFile(path)
click to toggle source
# File abi_tools.rb, line 40 def loadAbiFile(path) lines = open(path, &:read).split("\n") abi = JSON.parse lines[2] model = ContractModel.new abi model.call("put(bytes32,string)",["0xAAAAAA","This is a test"]) end