Class: NounsDescriptorV2

Inherits:
Ethlite::Contract show all
Defined in:
lib/ethlite/contracts/nouns_descriptor_v2.rb

Instance Method Summary collapse

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

#accessories(index) ⇒ Object

function accessories(uint256 index) ⇒ (bytes _) readonly



13
14
15
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 13

def accessories(index)
  do_call("accessories", index)
end

#accessoryCountObject

function accessoryCount() ⇒ (uint256 _) readonly



19
20
21
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 19

def accessoryCount()
  do_call("accessoryCount")
end

#arePartsLockedObject

function arePartsLocked() ⇒ (bool _) readonly



25
26
27
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 25

def arePartsLocked()
  do_call("arePartsLocked")
end

#artObject

function art() ⇒ (contract INounsArt _) readonly



31
32
33
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 31

def art()
  do_call("art")
end

#backgroundCountObject

function backgroundCount() ⇒ (uint256 _) readonly



37
38
39
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 37

def backgroundCount()
  do_call("backgroundCount")
end

#backgrounds(index) ⇒ Object

function backgrounds(uint256 index) ⇒ (string _) readonly



43
44
45
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 43

def backgrounds(index)
  do_call("backgrounds", index)
end

#baseURIObject

function baseURI() ⇒ (string _) readonly



49
50
51
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 49

def baseURI()
  do_call("baseURI")
end

#bodies(index) ⇒ Object

function bodies(uint256 index) ⇒ (bytes _) readonly



55
56
57
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 55

def bodies(index)
  do_call("bodies", index)
end

#bodyCountObject

function bodyCount() ⇒ (uint256 _) readonly



61
62
63
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 61

def bodyCount()
  do_call("bodyCount")
end

#dataURI(tokenId, seed) ⇒ Object

function dataURI(uint256 tokenId, struct INounsSeeder.Seed seed) ⇒ (string _) readonly



67
68
69
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 67

def dataURI(tokenId, seed)
  do_call("dataURI", tokenId, seed)
end

#generateSVGImage(seed) ⇒ Object

function generateSVGImage(struct INounsSeeder.Seed seed) ⇒ (string _) readonly



73
74
75
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 73

def generateSVGImage(seed)
  do_call("generateSVGImage", seed)
end

#genericDataURI(name, description, seed) ⇒ Object

function genericDataURI(string name, string description, struct INounsSeeder.Seed seed) ⇒ (string _) readonly



79
80
81
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 79

def genericDataURI(name, description, seed)
  do_call("genericDataURI", name, description, seed)
end

#getPartsForSeed(seed) ⇒ Object

function getPartsForSeed(struct INounsSeeder.Seed seed) ⇒ (struct ISVGRenderer.Part[] _) readonly



85
86
87
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 85

def getPartsForSeed(seed)
  do_call("getPartsForSeed", seed)
end

#glasses(index) ⇒ Object

function glasses(uint256 index) ⇒ (bytes _) readonly



91
92
93
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 91

def glasses(index)
  do_call("glasses", index)
end

#glassesCountObject

function glassesCount() ⇒ (uint256 _) readonly



97
98
99
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 97

def glassesCount()
  do_call("glassesCount")
end

#headCountObject

function headCount() ⇒ (uint256 _) readonly



103
104
105
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 103

def headCount()
  do_call("headCount")
end

#heads(index) ⇒ Object

function heads(uint256 index) ⇒ (bytes _) readonly



109
110
111
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 109

def heads(index)
  do_call("heads", index)
end

#isDataURIEnabledObject

function isDataURIEnabled() ⇒ (bool _) readonly



115
116
117
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 115

def isDataURIEnabled()
  do_call("isDataURIEnabled")
end

#ownerObject

function owner() ⇒ (address _) readonly



121
122
123
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 121

def owner()
  do_call("owner")
end

#palettes(index) ⇒ Object

function palettes(uint8 index) ⇒ (bytes _) readonly



127
128
129
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 127

def palettes(index)
  do_call("palettes", index)
end

#rendererObject

function renderer() ⇒ (contract ISVGRenderer _) readonly



133
134
135
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 133

def renderer()
  do_call("renderer")
end

#tokenURI(tokenId, seed) ⇒ Object

function tokenURI(uint256 tokenId, struct INounsSeeder.Seed seed) ⇒ (string _) readonly



139
140
141
# File 'lib/ethlite/contracts/nouns_descriptor_v2.rb', line 139

def tokenURI(tokenId, seed)
  do_call("tokenURI", tokenId, seed)
end