Class: Solc

Inherits:
Base show all
Defined in:
lib/blocksdk_ruby/solc.rb

Instance Attribute Summary

Attributes inherited from Base

#api_token

Instance Method Summary collapse

Methods inherited from Base

#initialize, #request

Constructor Details

This class inherits a constructor from Base

Instance Method Details

#genContract(request = {}) ⇒ Object



4
5
6
# File 'lib/blocksdk_ruby/solc.rb', line 4

def genContract(request = {})
	return request("GET","/solc/" + (request['net']).to_s + "/" + (request['type']).to_s,request)
end

#getAssets(request = {}) ⇒ Object



8
9
10
# File 'lib/blocksdk_ruby/solc.rb', line 8

def getAssets(request = {})
	return request("GET","/solc/encodefunction",request)
end