Class: Moonbirds

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

#alreadyMinted(to, nonce) ⇒ Object

function alreadyMinted(address to, bytes32 nonce) ⇒ (bool _) readonly



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

def alreadyMinted(to, nonce)
  do_call("alreadyMinted", to, nonce)
end

#balanceOf(owner) ⇒ Object

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



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

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

#baseTokenURIObject

function baseTokenURI() ⇒ (string _) readonly



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

def baseTokenURI()
  do_call("baseTokenURI")
end

#beneficiaryObject

function beneficiary() ⇒ (address payable _) readonly



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

def beneficiary()
  do_call("beneficiary")
end

#cost(n, arg1) ⇒ Object

function cost(uint256 n, uint256 _) ⇒ (uint256 _) readonly



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

def cost(n, arg1)
  do_call("cost", n, arg1)
end

#DEFAULT_ADMIN_ROLEObject

function DEFAULT_ADMIN_ROLE() ⇒ (bytes32 _) readonly



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

def DEFAULT_ADMIN_ROLE()
  do_call("DEFAULT_ADMIN_ROLE")
end

#EXPULSION_ROLEObject

function EXPULSION_ROLE() ⇒ (bytes32 _) readonly



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

def EXPULSION_ROLE()
  do_call("EXPULSION_ROLE")
end

#getApproved(tokenId) ⇒ Object

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



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

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

#getRoleAdmin(role) ⇒ Object

function getRoleAdmin(bytes32 role) ⇒ (bytes32 _) readonly



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

def getRoleAdmin(role)
  do_call("getRoleAdmin", role)
end

#getRoleMember(role, index) ⇒ Object

function getRoleMember(bytes32 role, uint256 index) ⇒ (address _) readonly



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

def getRoleMember(role, index)
  do_call("getRoleMember", role, index)
end

#getRoleMemberCount(role) ⇒ Object

function getRoleMemberCount(bytes32 role) ⇒ (uint256 _) readonly



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

def getRoleMemberCount(role)
  do_call("getRoleMemberCount", role)
end

#hasRole(role, account) ⇒ Object

function hasRole(bytes32 role, address account) ⇒ (bool _) readonly



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

def hasRole(role, )
  do_call("hasRole", role, )
end

#isApprovedForAll(owner, operator) ⇒ Object

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



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

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

#nameObject

function name() ⇒ (string _) readonly



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

def name()
  do_call("name")
end

#nestingOpenObject

function nestingOpen() ⇒ (bool _) readonly



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

def nestingOpen()
  do_call("nestingOpen")
end

#nestingPeriod(tokenId) ⇒ Object

function nestingPeriod(uint256 tokenId) ⇒ (bool nesting, uint256 current, uint256 total) readonly



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

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

#ownerObject

function owner() ⇒ (address _) readonly



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

def owner()
  do_call("owner")
end

#ownerOf(tokenId) ⇒ Object

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



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

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

#pausedObject

function paused() ⇒ (bool _) readonly



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

def paused()
  do_call("paused")
end

#priceObject

function price() ⇒ (uint256 _) readonly



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

def price()
  do_call("price")
end

#proofObject

function proof() ⇒ (contract IERC721 _) readonly



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

def proof()
  do_call("proof")
end

#proofClaimsRemaining(tokenId) ⇒ Object

function proofClaimsRemaining(uint256 tokenId) ⇒ (uint256 _) readonly



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

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

#proofMintingOpenObject

function proofMintingOpen() ⇒ (bool _) readonly



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

def proofMintingOpen()
  do_call("proofMintingOpen")
end

#proofPoolRemainingObject

function proofPoolRemaining() ⇒ (uint256 _) readonly



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

def proofPoolRemaining()
  do_call("proofPoolRemaining")
end

#renderingContractObject

function renderingContract() ⇒ (contract ITokenURIGenerator _) readonly



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

def renderingContract()
  do_call("renderingContract")
end

#royaltyInfo(_tokenId, _salePrice) ⇒ Object

function royaltyInfo(uint256 _tokenId, uint256 _salePrice) ⇒ (address _, uint256 _) readonly



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

def royaltyInfo(_tokenId, _salePrice)
  do_call("royaltyInfo", _tokenId, _salePrice)
end

#sellerConfigObject

function sellerConfig() ⇒ (uint256 totalInventory, uint256 maxPerAddress, uint256 maxPerTx, uint248 freeQuota, bool reserveFreeQuota, bool lockFreeQuota, bool lockTotalInventory) readonly



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

def sellerConfig()
  do_call("sellerConfig")
end

#supportsInterface(interfaceId) ⇒ Object

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



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

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

#symbolObject

function symbol() ⇒ (string _) readonly



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

def symbol()
  do_call("symbol")
end

#tokenURI(tokenId) ⇒ Object

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



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

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

#totalSoldObject

function totalSold() ⇒ (uint256 _) readonly



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

def totalSold()
  do_call("totalSold")
end

#totalSupplyObject

function totalSupply() ⇒ (uint256 _) readonly



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

def totalSupply()
  do_call("totalSupply")
end

#usedMessages(arg0) ⇒ Object

function usedMessages(bytes32 _) ⇒ (bool _) readonly



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

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