Class: NounsDescriptor
- Inherits:
-
Ethlite::Contract
- Object
- Ethlite::Contract
- NounsDescriptor
- Defined in:
- lib/ethlite/contracts/nouns_descriptor.rb
Instance Method Summary collapse
-
#accessories(arg0) ⇒ Object
function accessories(uint256 _) ⇒ (bytes _) readonly.
-
#accessoryCount ⇒ Object
function accessoryCount() ⇒ (uint256 _) readonly.
-
#arePartsLocked ⇒ Object
function arePartsLocked() ⇒ (bool _) readonly.
-
#backgroundCount ⇒ Object
function backgroundCount() ⇒ (uint256 _) readonly.
-
#backgrounds(arg0) ⇒ Object
function backgrounds(uint256 _) ⇒ (string _) readonly.
-
#baseURI ⇒ Object
function baseURI() ⇒ (string _) readonly.
-
#bodies(arg0) ⇒ Object
function bodies(uint256 _) ⇒ (bytes _) readonly.
-
#bodyCount ⇒ Object
function bodyCount() ⇒ (uint256 _) readonly.
-
#dataURI(tokenId, seed) ⇒ Object
function dataURI(uint256 tokenId, struct INounsSeeder.Seed seed) ⇒ (string _) readonly.
-
#generateSVGImage(seed) ⇒ Object
function generateSVGImage(struct INounsSeeder.Seed seed) ⇒ (string _) readonly.
-
#genericDataURI(name, description, seed) ⇒ Object
function genericDataURI(string name, string description, struct INounsSeeder.Seed seed) ⇒ (string _) readonly.
-
#glasses(arg0) ⇒ Object
function glasses(uint256 _) ⇒ (bytes _) readonly.
-
#glassesCount ⇒ Object
function glassesCount() ⇒ (uint256 _) readonly.
-
#headCount ⇒ Object
function headCount() ⇒ (uint256 _) readonly.
-
#heads(arg0) ⇒ Object
function heads(uint256 _) ⇒ (bytes _) readonly.
-
#isDataURIEnabled ⇒ Object
function isDataURIEnabled() ⇒ (bool _) readonly.
-
#owner ⇒ Object
function owner() ⇒ (address _) readonly.
-
#palettes(arg0, arg1) ⇒ Object
function palettes(uint8 _, uint256 _) ⇒ (string _) readonly.
-
#tokenURI(tokenId, seed) ⇒ Object
function tokenURI(uint256 tokenId, struct INounsSeeder.Seed seed) ⇒ (string _) 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
#accessories(arg0) ⇒ Object
function accessories(uint256 _) ⇒ (bytes _) readonly
13 14 15 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 13 def accessories(arg0) do_call("accessories", arg0) end |
#accessoryCount ⇒ Object
function accessoryCount() ⇒ (uint256 _) readonly
19 20 21 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 19 def accessoryCount() do_call("accessoryCount") end |
#arePartsLocked ⇒ Object
function arePartsLocked() ⇒ (bool _) readonly
25 26 27 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 25 def arePartsLocked() do_call("arePartsLocked") end |
#backgroundCount ⇒ Object
function backgroundCount() ⇒ (uint256 _) readonly
31 32 33 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 31 def backgroundCount() do_call("backgroundCount") end |
#backgrounds(arg0) ⇒ Object
function backgrounds(uint256 _) ⇒ (string _) readonly
37 38 39 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 37 def backgrounds(arg0) do_call("backgrounds", arg0) end |
#baseURI ⇒ Object
function baseURI() ⇒ (string _) readonly
43 44 45 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 43 def baseURI() do_call("baseURI") end |
#bodies(arg0) ⇒ Object
function bodies(uint256 _) ⇒ (bytes _) readonly
49 50 51 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 49 def bodies(arg0) do_call("bodies", arg0) end |
#bodyCount ⇒ Object
function bodyCount() ⇒ (uint256 _) readonly
55 56 57 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 55 def bodyCount() do_call("bodyCount") end |
#dataURI(tokenId, seed) ⇒ Object
function dataURI(uint256 tokenId, struct INounsSeeder.Seed seed) ⇒ (string _) readonly
61 62 63 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 61 def dataURI(tokenId, seed) do_call("dataURI", tokenId, seed) end |
#generateSVGImage(seed) ⇒ Object
function generateSVGImage(struct INounsSeeder.Seed seed) ⇒ (string _) readonly
67 68 69 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 67 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
73 74 75 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 73 def genericDataURI(name, description, seed) do_call("genericDataURI", name, description, seed) end |
#glasses(arg0) ⇒ Object
function glasses(uint256 _) ⇒ (bytes _) readonly
79 80 81 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 79 def glasses(arg0) do_call("glasses", arg0) end |
#glassesCount ⇒ Object
function glassesCount() ⇒ (uint256 _) readonly
85 86 87 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 85 def glassesCount() do_call("glassesCount") end |
#headCount ⇒ Object
function headCount() ⇒ (uint256 _) readonly
91 92 93 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 91 def headCount() do_call("headCount") end |
#heads(arg0) ⇒ Object
function heads(uint256 _) ⇒ (bytes _) readonly
97 98 99 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 97 def heads(arg0) do_call("heads", arg0) end |
#isDataURIEnabled ⇒ Object
function isDataURIEnabled() ⇒ (bool _) readonly
103 104 105 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 103 def isDataURIEnabled() do_call("isDataURIEnabled") end |
#owner ⇒ Object
function owner() ⇒ (address _) readonly
109 110 111 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 109 def owner() do_call("owner") end |
#palettes(arg0, arg1) ⇒ Object
function palettes(uint8 _, uint256 _) ⇒ (string _) readonly
115 116 117 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 115 def palettes(arg0, arg1) do_call("palettes", arg0, arg1) end |
#tokenURI(tokenId, seed) ⇒ Object
function tokenURI(uint256 tokenId, struct INounsSeeder.Seed seed) ⇒ (string _) readonly
121 122 123 |
# File 'lib/ethlite/contracts/nouns_descriptor.rb', line 121 def tokenURI(tokenId, seed) do_call("tokenURI", tokenId, seed) end |