Class: Nouns

Inherits:
Ethlite::Contract show all
Defined in:
lib/ethlite/contracts/nouns.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

#balanceOf(owner) ⇒ Object

function balanceOf(address owner) ⇒ (uint256 _) readonly



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

def balanceOf(owner)
  do_call("balanceOf", owner)
end

#checkpoints(arg0, arg1) ⇒ Object

function checkpoints(address _, uint32 _) ⇒ (uint32 fromBlock, uint96 votes) readonly



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

def checkpoints(arg0, arg1)
  do_call("checkpoints", arg0, arg1)
end

#contractURIObject

function contractURI() ⇒ (string _) readonly



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

def contractURI()
  do_call("contractURI")
end

#dataURI(tokenId) ⇒ Object

function dataURI(uint256 tokenId) ⇒ (string _) readonly



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

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

#decimalsObject

function decimals() ⇒ (uint8 _) readonly



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

def decimals()
  do_call("decimals")
end

#delegates(delegator) ⇒ Object

function delegates(address delegator) ⇒ (address _) readonly



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

def delegates(delegator)
  do_call("delegates", delegator)
end

#DELEGATION_TYPEHASHObject

function DELEGATION_TYPEHASH() ⇒ (bytes32 _) readonly



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

def DELEGATION_TYPEHASH()
  do_call("DELEGATION_TYPEHASH")
end

#descriptorObject

function descriptor() ⇒ (contract INounsDescriptor _) readonly



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

def descriptor()
  do_call("descriptor")
end

#DOMAIN_TYPEHASHObject

function DOMAIN_TYPEHASH() ⇒ (bytes32 _) readonly



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

def DOMAIN_TYPEHASH()
  do_call("DOMAIN_TYPEHASH")
end

#getApproved(tokenId) ⇒ Object

function getApproved(uint256 tokenId) ⇒ (address _) readonly



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

def getApproved(tokenId)
  do_call("getApproved", tokenId)
end

#getCurrentVotes(account) ⇒ Object

function getCurrentVotes(address account) ⇒ (uint96 _) readonly



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

def getCurrentVotes()
  do_call("getCurrentVotes", )
end

#getPriorVotes(account, blockNumber) ⇒ Object

function getPriorVotes(address account, uint256 blockNumber) ⇒ (uint96 _) readonly



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

def getPriorVotes(, blockNumber)
  do_call("getPriorVotes", , blockNumber)
end

#isApprovedForAll(owner, operator) ⇒ Object

function isApprovedForAll(address owner, address operator) ⇒ (bool _) readonly



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

def isApprovedForAll(owner, operator)
  do_call("isApprovedForAll", owner, operator)
end

#isDescriptorLockedObject

function isDescriptorLocked() ⇒ (bool _) readonly



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

def isDescriptorLocked()
  do_call("isDescriptorLocked")
end

#isMinterLockedObject

function isMinterLocked() ⇒ (bool _) readonly



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

def isMinterLocked()
  do_call("isMinterLocked")
end

#isSeederLockedObject

function isSeederLocked() ⇒ (bool _) readonly



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

def isSeederLocked()
  do_call("isSeederLocked")
end

#minterObject

function minter() ⇒ (address _) readonly



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

def minter()
  do_call("minter")
end

#nameObject

function name() ⇒ (string _) readonly



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

def name()
  do_call("name")
end

#nonces(arg0) ⇒ Object

function nonces(address _) ⇒ (uint256 _) readonly



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

def nonces(arg0)
  do_call("nonces", arg0)
end

#noundersDAOObject

function noundersDAO() ⇒ (address _) readonly



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

def noundersDAO()
  do_call("noundersDAO")
end

#numCheckpoints(arg0) ⇒ Object

function numCheckpoints(address _) ⇒ (uint32 _) readonly



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

def numCheckpoints(arg0)
  do_call("numCheckpoints", arg0)
end

#ownerObject

function owner() ⇒ (address _) readonly



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

def owner()
  do_call("owner")
end

#ownerOf(tokenId) ⇒ Object

function ownerOf(uint256 tokenId) ⇒ (address _) readonly



145
146
147
# File 'lib/ethlite/contracts/nouns.rb', line 145

def ownerOf(tokenId)
  do_call("ownerOf", tokenId)
end

#proxyRegistryObject

function proxyRegistry() ⇒ (contract IProxyRegistry _) readonly



151
152
153
# File 'lib/ethlite/contracts/nouns.rb', line 151

def proxyRegistry()
  do_call("proxyRegistry")
end

#seederObject

function seeder() ⇒ (contract INounsSeeder _) readonly



157
158
159
# File 'lib/ethlite/contracts/nouns.rb', line 157

def seeder()
  do_call("seeder")
end

#seeds(arg0) ⇒ Object

function seeds(uint256 _) ⇒ (uint48 background, uint48 body, uint48 accessory, uint48 head, uint48 glasses) readonly



163
164
165
# File 'lib/ethlite/contracts/nouns.rb', line 163

def seeds(arg0)
  do_call("seeds", arg0)
end

#supportsInterface(interfaceId) ⇒ Object

function supportsInterface(bytes4 interfaceId) ⇒ (bool _) readonly



169
170
171
# File 'lib/ethlite/contracts/nouns.rb', line 169

def supportsInterface(interfaceId)
  do_call("supportsInterface", interfaceId)
end

#symbolObject

function symbol() ⇒ (string _) readonly



175
176
177
# File 'lib/ethlite/contracts/nouns.rb', line 175

def symbol()
  do_call("symbol")
end

#tokenByIndex(index) ⇒ Object

function tokenByIndex(uint256 index) ⇒ (uint256 _) readonly



181
182
183
# File 'lib/ethlite/contracts/nouns.rb', line 181

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

#tokenOfOwnerByIndex(owner, index) ⇒ Object

function tokenOfOwnerByIndex(address owner, uint256 index) ⇒ (uint256 _) readonly



187
188
189
# File 'lib/ethlite/contracts/nouns.rb', line 187

def tokenOfOwnerByIndex(owner, index)
  do_call("tokenOfOwnerByIndex", owner, index)
end

#tokenURI(tokenId) ⇒ Object

function tokenURI(uint256 tokenId) ⇒ (string _) readonly



193
194
195
# File 'lib/ethlite/contracts/nouns.rb', line 193

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

#totalSupplyObject

function totalSupply() ⇒ (uint256 _) readonly



199
200
201
# File 'lib/ethlite/contracts/nouns.rb', line 199

def totalSupply()
  do_call("totalSupply")
end

#votesToDelegate(delegator) ⇒ Object

function votesToDelegate(address delegator) ⇒ (uint96 _) readonly



205
206
207
# File 'lib/ethlite/contracts/nouns.rb', line 205

def votesToDelegate(delegator)
  do_call("votesToDelegate", delegator)
end