Class: MadCamels

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

#allowListPriceObject

function allowListPrice() ⇒ (uint256 _) readonly



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

def allowListPrice()
  do_call("allowListPrice")
end

#balanceOf(owner) ⇒ Object

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



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

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

#baseURIObject

function baseURI() ⇒ (string _) readonly



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

def baseURI()
  do_call("baseURI")
end

#contractDataObject

function contractData() ⇒ (string name, string description, string image, string banner, string website, uint256 royalties, string royaltiesRecipient) readonly



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

def contractData()
  do_call("contractData")
end

#contractURIObject

function contractURI() ⇒ (string _) readonly



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

def contractURI()
  do_call("contractURI")
end

#getApproved(tokenId) ⇒ Object

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



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

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

#getLinkedTraits(_layerIndex, _traitIndex) ⇒ Object

function getLinkedTraits(uint256 _layerIndex, uint256 _traitIndex) ⇒ (uint256[] _) readonly



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

def getLinkedTraits(_layerIndex, _traitIndex)
  do_call("getLinkedTraits", _layerIndex, _traitIndex)
end

#hashToMetadata(_hash) ⇒ Object

function hashToMetadata(string _hash) ⇒ (string _) readonly



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

def (_hash)
  do_call("hashToMetadata", _hash)
end

#hashToSVG(_hash) ⇒ Object

function hashToSVG(string _hash) ⇒ (string _) readonly



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

def hashToSVG(_hash)
  do_call("hashToSVG", _hash)
end

#isAllowListActiveObject

function isAllowListActive() ⇒ (bool _) readonly



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

def isAllowListActive()
  do_call("isAllowListActive")
end

#isApprovedForAll(owner, operator) ⇒ Object

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



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

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

#isContractSealedObject

function isContractSealed() ⇒ (bool _) readonly



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

def isContractSealed()
  do_call("isContractSealed")
end

#isMintActiveObject

function isMintActive() ⇒ (bool _) readonly



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

def isMintActive()
  do_call("isMintActive")
end

#isPublicMintActiveObject

function isPublicMintActive() ⇒ (bool _) readonly



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

def isPublicMintActive()
  do_call("isPublicMintActive")
end

#maxPerAddressObject

function maxPerAddress() ⇒ (uint256 _) readonly



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

def maxPerAddress()
  do_call("maxPerAddress")
end

#maxPerAllowListObject

function maxPerAllowList() ⇒ (uint256 _) readonly



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

def maxPerAllowList()
  do_call("maxPerAllowList")
end

#maxSupplyObject

function maxSupply() ⇒ (uint256 _) readonly



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

def maxSupply()
  do_call("maxSupply")
end

#nameObject

function name() ⇒ (string _) readonly



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

def name()
  do_call("name")
end

#onAllowList(addr, merkleProof) ⇒ Object

function onAllowList(address addr, bytes32[] merkleProof) ⇒ (bool _) readonly



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

def onAllowList(addr, merkleProof)
  do_call("onAllowList", addr, merkleProof)
end

#ownerObject

function owner() ⇒ (address _) readonly



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

def owner()
  do_call("owner")
end

#ownerOf(tokenId) ⇒ Object

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



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

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

#publicMintPriceObject

function publicMintPrice() ⇒ (uint256 _) readonly



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

def publicMintPrice()
  do_call("publicMintPrice")
end

#supportsInterface(interfaceId) ⇒ Object

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



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

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

#symbolObject

function symbol() ⇒ (string _) readonly



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

def symbol()
  do_call("symbol")
end

#tokenIdToHash(_tokenId) ⇒ Object

function tokenIdToHash(uint256 _tokenId) ⇒ (string _) readonly



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

def tokenIdToHash(_tokenId)
  do_call("tokenIdToHash", _tokenId)
end

#tokenIdToSVG(_tokenId) ⇒ Object

function tokenIdToSVG(uint256 _tokenId) ⇒ (string _) readonly



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

def tokenIdToSVG(_tokenId)
  do_call("tokenIdToSVG", _tokenId)
end

#tokensAreDuplicates(tokenIdA, tokenIdB) ⇒ Object

function tokensAreDuplicates(uint256 tokenIdA, uint256 tokenIdB) ⇒ (bool _) readonly



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

def tokensAreDuplicates(tokenIdA, tokenIdB)
  do_call("tokensAreDuplicates", tokenIdA, tokenIdB)
end

#tokenURI(_tokenId) ⇒ Object

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



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

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

#totalSupplyObject

function totalSupply() ⇒ (uint256 _) readonly



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

def totalSupply()
  do_call("totalSupply")
end

#traitData(_layerIndex, _traitIndex) ⇒ Object

function traitData(uint256 _layerIndex, uint256 _traitIndex) ⇒ (string _) readonly



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

def traitData(_layerIndex, _traitIndex)
  do_call("traitData", _layerIndex, _traitIndex)
end

#traitDetails(_layerIndex, _traitIndex) ⇒ Object

function traitDetails(uint256 _layerIndex, uint256 _traitIndex) ⇒ (struct Indelible.Trait _) readonly



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

def traitDetails(_layerIndex, _traitIndex)
  do_call("traitDetails", _layerIndex, _traitIndex)
end