Class: PunksData
- Inherits:
-
Ethlite::Contract
- Object
- Ethlite::Contract
- PunksData
- Defined in:
- lib/ethlite/contracts/punks_data.rb
Instance Method Summary collapse
-
#punkAttributes(index) ⇒ Object
function punkAttributes(uint16 index) ⇒ (string text) readonly.
-
#punkImage(index) ⇒ Object
function punkImage(uint16 index) ⇒ (bytes _) readonly.
-
#punkImageSvg(index) ⇒ Object
function punkImageSvg(uint16 index) ⇒ (string svg) readonly.
Methods inherited from Ethlite::Contract
address, at, default_address, #do_call, #initialize, methods, sig
Constructor Details
This class inherits a constructor from Ethlite::Contract
Instance Method Details
#punkAttributes(index) ⇒ Object
function punkAttributes(uint16 index) ⇒ (string text) readonly
13 14 15 |
# File 'lib/ethlite/contracts/punks_data.rb', line 13 def punkAttributes(index) do_call("punkAttributes", index) end |
#punkImage(index) ⇒ Object
function punkImage(uint16 index) ⇒ (bytes _) readonly
19 20 21 |
# File 'lib/ethlite/contracts/punks_data.rb', line 19 def punkImage(index) do_call("punkImage", index) end |
#punkImageSvg(index) ⇒ Object
function punkImageSvg(uint16 index) ⇒ (string svg) readonly
25 26 27 |
# File 'lib/ethlite/contracts/punks_data.rb', line 25 def punkImageSvg(index) do_call("punkImageSvg", index) end |