Class: Marcs
- Inherits:
-
Ethlite::Contract
- Object
- Ethlite::Contract
- Marcs
- Defined in:
- lib/ethlite/contracts/marcs.rb
Instance Method Summary collapse
-
#allowListPrice ⇒ Object
function allowListPrice() ⇒ (uint256 _) readonly.
-
#balanceOf(owner) ⇒ Object
function balanceOf(address owner) ⇒ (uint256 _) readonly.
-
#baseURI ⇒ Object
function baseURI() ⇒ (string _) readonly.
-
#contractData ⇒ Object
function contractData() ⇒ (string name, string description, string image, string banner, string website, uint256 royalties, string royaltiesRecipient) readonly.
-
#contractURI ⇒ Object
function contractURI() ⇒ (string _) readonly.
-
#getApproved(tokenId) ⇒ Object
function getApproved(uint256 tokenId) ⇒ (address _) readonly.
-
#hashToMetadata(_hash) ⇒ Object
function hashToMetadata(string _hash) ⇒ (string _) readonly.
-
#hashToSVG(_hash) ⇒ Object
function hashToSVG(string _hash) ⇒ (string _) readonly.
-
#isAllowListActive ⇒ Object
function isAllowListActive() ⇒ (bool _) readonly.
-
#isApprovedForAll(owner, operator) ⇒ Object
function isApprovedForAll(address owner, address operator) ⇒ (bool _) readonly.
-
#isContractSealed ⇒ Object
function isContractSealed() ⇒ (bool _) readonly.
-
#isMintActive ⇒ Object
function isMintActive() ⇒ (bool _) readonly.
-
#isPublicMintActive ⇒ Object
function isPublicMintActive() ⇒ (bool _) readonly.
-
#maxPerAddress ⇒ Object
function maxPerAddress() ⇒ (uint256 _) readonly.
-
#maxPerAllowList ⇒ Object
function maxPerAllowList() ⇒ (uint256 _) readonly.
-
#maxSupply ⇒ Object
function maxSupply() ⇒ (uint256 _) readonly.
-
#name ⇒ Object
function name() ⇒ (string _) readonly.
-
#ockAddress ⇒ Object
function ockAddress() ⇒ (address _) readonly.
-
#onAllowList(addr, merkleProof) ⇒ Object
function onAllowList(address addr, bytes32[] merkleProof) ⇒ (bool _) readonly.
-
#owner ⇒ Object
function owner() ⇒ (address _) readonly.
-
#ownerOf(tokenId) ⇒ Object
function ownerOf(uint256 tokenId) ⇒ (address _) readonly.
-
#publicMintPrice ⇒ Object
function publicMintPrice() ⇒ (uint256 _) readonly.
-
#supportsInterface(interfaceId) ⇒ Object
function supportsInterface(bytes4 interfaceId) ⇒ (bool _) readonly.
-
#symbol ⇒ Object
function symbol() ⇒ (string _) readonly.
-
#tokenIdToHash(_tokenId) ⇒ Object
function tokenIdToHash(uint256 _tokenId) ⇒ (string _) readonly.
-
#tokenIdToSVG(_tokenId) ⇒ Object
function tokenIdToSVG(uint256 _tokenId) ⇒ (string _) readonly.
-
#tokensAreDuplicates(tokenId1, tokenId2) ⇒ Object
function tokensAreDuplicates(uint256 tokenId1, uint256 tokenId2) ⇒ (bool _) readonly.
-
#tokenURI(_tokenId) ⇒ Object
function tokenURI(uint256 _tokenId) ⇒ (string _) readonly.
-
#totalSupply ⇒ Object
function totalSupply() ⇒ (uint256 _) readonly.
-
#traitData(_layerIndex, _traitIndex) ⇒ Object
function traitData(uint256 _layerIndex, uint256 _traitIndex) ⇒ (string _) readonly.
-
#traitDetails(_layerIndex, _traitIndex) ⇒ Object
function traitDetails(uint256 _layerIndex, uint256 _traitIndex) ⇒ (struct IndelibleERC721A.Trait _) 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
#allowListPrice ⇒ Object
function allowListPrice() ⇒ (uint256 _) readonly
13 14 15 |
# File 'lib/ethlite/contracts/marcs.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/marcs.rb', line 19 def balanceOf(owner) do_call("balanceOf", owner) end |
#baseURI ⇒ Object
function baseURI() ⇒ (string _) readonly
25 26 27 |
# File 'lib/ethlite/contracts/marcs.rb', line 25 def baseURI() do_call("baseURI") end |
#contractData ⇒ Object
function contractData() ⇒ (string name, string description, string image, string banner, string website, uint256 royalties, string royaltiesRecipient) readonly
31 32 33 |
# File 'lib/ethlite/contracts/marcs.rb', line 31 def contractData() do_call("contractData") end |
#contractURI ⇒ Object
function contractURI() ⇒ (string _) readonly
37 38 39 |
# File 'lib/ethlite/contracts/marcs.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/marcs.rb', line 43 def getApproved(tokenId) do_call("getApproved", tokenId) end |
#hashToMetadata(_hash) ⇒ Object
function hashToMetadata(string _hash) ⇒ (string _) readonly
49 50 51 |
# File 'lib/ethlite/contracts/marcs.rb', line 49 def hashToMetadata(_hash) do_call("hashToMetadata", _hash) end |
#hashToSVG(_hash) ⇒ Object
function hashToSVG(string _hash) ⇒ (string _) readonly
55 56 57 |
# File 'lib/ethlite/contracts/marcs.rb', line 55 def hashToSVG(_hash) do_call("hashToSVG", _hash) end |
#isAllowListActive ⇒ Object
function isAllowListActive() ⇒ (bool _) readonly
61 62 63 |
# File 'lib/ethlite/contracts/marcs.rb', line 61 def isAllowListActive() do_call("isAllowListActive") end |
#isApprovedForAll(owner, operator) ⇒ Object
function isApprovedForAll(address owner, address operator) ⇒ (bool _) readonly
67 68 69 |
# File 'lib/ethlite/contracts/marcs.rb', line 67 def isApprovedForAll(owner, operator) do_call("isApprovedForAll", owner, operator) end |
#isContractSealed ⇒ Object
function isContractSealed() ⇒ (bool _) readonly
73 74 75 |
# File 'lib/ethlite/contracts/marcs.rb', line 73 def isContractSealed() do_call("isContractSealed") end |
#isMintActive ⇒ Object
function isMintActive() ⇒ (bool _) readonly
79 80 81 |
# File 'lib/ethlite/contracts/marcs.rb', line 79 def isMintActive() do_call("isMintActive") end |
#isPublicMintActive ⇒ Object
function isPublicMintActive() ⇒ (bool _) readonly
85 86 87 |
# File 'lib/ethlite/contracts/marcs.rb', line 85 def isPublicMintActive() do_call("isPublicMintActive") end |
#maxPerAddress ⇒ Object
function maxPerAddress() ⇒ (uint256 _) readonly
91 92 93 |
# File 'lib/ethlite/contracts/marcs.rb', line 91 def maxPerAddress() do_call("maxPerAddress") end |
#maxPerAllowList ⇒ Object
function maxPerAllowList() ⇒ (uint256 _) readonly
97 98 99 |
# File 'lib/ethlite/contracts/marcs.rb', line 97 def maxPerAllowList() do_call("maxPerAllowList") end |
#maxSupply ⇒ Object
function maxSupply() ⇒ (uint256 _) readonly
103 104 105 |
# File 'lib/ethlite/contracts/marcs.rb', line 103 def maxSupply() do_call("maxSupply") end |
#name ⇒ Object
function name() ⇒ (string _) readonly
109 110 111 |
# File 'lib/ethlite/contracts/marcs.rb', line 109 def name() do_call("name") end |
#ockAddress ⇒ Object
function ockAddress() ⇒ (address _) readonly
115 116 117 |
# File 'lib/ethlite/contracts/marcs.rb', line 115 def ockAddress() do_call("ockAddress") end |
#onAllowList(addr, merkleProof) ⇒ Object
function onAllowList(address addr, bytes32[] merkleProof) ⇒ (bool _) readonly
121 122 123 |
# File 'lib/ethlite/contracts/marcs.rb', line 121 def onAllowList(addr, merkleProof) do_call("onAllowList", addr, merkleProof) end |
#owner ⇒ Object
function owner() ⇒ (address _) readonly
127 128 129 |
# File 'lib/ethlite/contracts/marcs.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/marcs.rb', line 133 def ownerOf(tokenId) do_call("ownerOf", tokenId) end |
#publicMintPrice ⇒ Object
function publicMintPrice() ⇒ (uint256 _) readonly
139 140 141 |
# File 'lib/ethlite/contracts/marcs.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/marcs.rb', line 145 def supportsInterface(interfaceId) do_call("supportsInterface", interfaceId) end |
#symbol ⇒ Object
function symbol() ⇒ (string _) readonly
151 152 153 |
# File 'lib/ethlite/contracts/marcs.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/marcs.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/marcs.rb', line 163 def tokenIdToSVG(_tokenId) do_call("tokenIdToSVG", _tokenId) end |
#tokensAreDuplicates(tokenId1, tokenId2) ⇒ Object
function tokensAreDuplicates(uint256 tokenId1, uint256 tokenId2) ⇒ (bool _) readonly
175 176 177 |
# File 'lib/ethlite/contracts/marcs.rb', line 175 def tokensAreDuplicates(tokenId1, tokenId2) do_call("tokensAreDuplicates", tokenId1, tokenId2) end |
#tokenURI(_tokenId) ⇒ Object
function tokenURI(uint256 _tokenId) ⇒ (string _) readonly
169 170 171 |
# File 'lib/ethlite/contracts/marcs.rb', line 169 def tokenURI(_tokenId) do_call("tokenURI", _tokenId) end |
#totalSupply ⇒ Object
function totalSupply() ⇒ (uint256 _) readonly
181 182 183 |
# File 'lib/ethlite/contracts/marcs.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/marcs.rb', line 187 def traitData(_layerIndex, _traitIndex) do_call("traitData", _layerIndex, _traitIndex) end |
#traitDetails(_layerIndex, _traitIndex) ⇒ Object
function traitDetails(uint256 _layerIndex, uint256 _traitIndex) ⇒ (struct IndelibleERC721A.Trait _) readonly
193 194 195 |
# File 'lib/ethlite/contracts/marcs.rb', line 193 def traitDetails(_layerIndex, _traitIndex) do_call("traitDetails", _layerIndex, _traitIndex) end |