Class: SynthNouns
- Inherits:
-
Ethlite::Contract
- Object
- Ethlite::Contract
- SynthNouns
- Defined in:
- lib/ethlite/contracts/synth_nouns.rb
Instance Method Summary collapse
-
#addressPreview(_address) ⇒ Object
function addressPreview(address _address) ⇒ (string _) readonly.
-
#balanceOf(owner) ⇒ Object
function balanceOf(address owner) ⇒ (uint256 _) readonly.
-
#claimed(arg0) ⇒ Object
function claimed(address _) ⇒ (bool _) readonly.
-
#claimerOf(arg0) ⇒ Object
function claimerOf(uint256 _) ⇒ (address _) readonly.
-
#descriptor ⇒ Object
function descriptor() ⇒ (contract INounsDescriptor _) readonly.
-
#getApproved(tokenId) ⇒ Object
function getApproved(uint256 tokenId) ⇒ (address _) readonly.
-
#getSeedInput(_address) ⇒ Object
function getSeedInput(address _address) ⇒ (uint256 _) readonly.
-
#isApprovedForAll(owner, operator) ⇒ Object
function isApprovedForAll(address owner, address operator) ⇒ (bool _) readonly.
-
#name ⇒ Object
function name() ⇒ (string _) readonly.
-
#ownerOf(tokenId) ⇒ Object
function ownerOf(uint256 tokenId) ⇒ (address _) readonly.
-
#reverseRecords ⇒ Object
function reverseRecords() ⇒ (contract IENSReverseRecords _) readonly.
-
#seeds(arg0) ⇒ Object
function seeds(uint256 _) ⇒ (uint48 background, uint48 body, uint48 accessory, uint48 head, uint48 glasses) readonly.
-
#supportsInterface(interfaceId) ⇒ Object
function supportsInterface(bytes4 interfaceId) ⇒ (bool _) readonly.
-
#symbol ⇒ Object
function symbol() ⇒ (string _) readonly.
-
#tokenURI(_tokenId) ⇒ Object
function tokenURI(uint256 _tokenId) ⇒ (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
#addressPreview(_address) ⇒ Object
function addressPreview(address _address) ⇒ (string _) readonly
13 14 15 |
# File 'lib/ethlite/contracts/synth_nouns.rb', line 13 def addressPreview(_address) do_call("addressPreview", _address) end |
#balanceOf(owner) ⇒ Object
function balanceOf(address owner) ⇒ (uint256 _) readonly
19 20 21 |
# File 'lib/ethlite/contracts/synth_nouns.rb', line 19 def balanceOf(owner) do_call("balanceOf", owner) end |
#claimed(arg0) ⇒ Object
function claimed(address _) ⇒ (bool _) readonly
25 26 27 |
# File 'lib/ethlite/contracts/synth_nouns.rb', line 25 def claimed(arg0) do_call("claimed", arg0) end |
#claimerOf(arg0) ⇒ Object
function claimerOf(uint256 _) ⇒ (address _) readonly
31 32 33 |
# File 'lib/ethlite/contracts/synth_nouns.rb', line 31 def claimerOf(arg0) do_call("claimerOf", arg0) end |
#descriptor ⇒ Object
function descriptor() ⇒ (contract INounsDescriptor _) readonly
37 38 39 |
# File 'lib/ethlite/contracts/synth_nouns.rb', line 37 def descriptor() do_call("descriptor") end |
#getApproved(tokenId) ⇒ Object
function getApproved(uint256 tokenId) ⇒ (address _) readonly
43 44 45 |
# File 'lib/ethlite/contracts/synth_nouns.rb', line 43 def getApproved(tokenId) do_call("getApproved", tokenId) end |
#getSeedInput(_address) ⇒ Object
function getSeedInput(address _address) ⇒ (uint256 _) readonly
98 99 100 |
# File 'lib/ethlite/contracts/synth_nouns.rb', line 98 def getSeedInput(_address) do_call("getSeedInput", _address) end |
#isApprovedForAll(owner, operator) ⇒ Object
function isApprovedForAll(address owner, address operator) ⇒ (bool _) readonly
49 50 51 |
# File 'lib/ethlite/contracts/synth_nouns.rb', line 49 def isApprovedForAll(owner, operator) do_call("isApprovedForAll", owner, operator) end |
#name ⇒ Object
function name() ⇒ (string _) readonly
55 56 57 |
# File 'lib/ethlite/contracts/synth_nouns.rb', line 55 def name() do_call("name") end |
#ownerOf(tokenId) ⇒ Object
function ownerOf(uint256 tokenId) ⇒ (address _) readonly
61 62 63 |
# File 'lib/ethlite/contracts/synth_nouns.rb', line 61 def ownerOf(tokenId) do_call("ownerOf", tokenId) end |
#reverseRecords ⇒ Object
function reverseRecords() ⇒ (contract IENSReverseRecords _) readonly
67 68 69 |
# File 'lib/ethlite/contracts/synth_nouns.rb', line 67 def reverseRecords() do_call("reverseRecords") end |
#seeds(arg0) ⇒ Object
function seeds(uint256 _) ⇒ (uint48 background, uint48 body, uint48 accessory, uint48 head, uint48 glasses) readonly
73 74 75 |
# File 'lib/ethlite/contracts/synth_nouns.rb', line 73 def seeds(arg0) do_call("seeds", arg0) end |
#supportsInterface(interfaceId) ⇒ Object
function supportsInterface(bytes4 interfaceId) ⇒ (bool _) readonly
79 80 81 |
# File 'lib/ethlite/contracts/synth_nouns.rb', line 79 def supportsInterface(interfaceId) do_call("supportsInterface", interfaceId) end |
#symbol ⇒ Object
function symbol() ⇒ (string _) readonly
85 86 87 |
# File 'lib/ethlite/contracts/synth_nouns.rb', line 85 def symbol() do_call("symbol") end |
#tokenURI(_tokenId) ⇒ Object
function tokenURI(uint256 _tokenId) ⇒ (string _) readonly
91 92 93 |
# File 'lib/ethlite/contracts/synth_nouns.rb', line 91 def tokenURI(_tokenId) do_call("tokenURI", _tokenId) end |