ethlite-contracts 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a198b63a1148a0e8e36cc2d5ab99f30857ca3a9c70d6e53199c97b33601ce547
4
- data.tar.gz: a7446a701fbe7e7b84af8d51042f97c05a40389ca410e3b3222070c1a5e1b5ea
3
+ metadata.gz: 90a5da8f2e9e8abbfc97d576c29c7e17f8215df0dc1900182dc18235931ef89e
4
+ data.tar.gz: 4951c60b51a16136b2dbb0e73c01dd2a8a47ea69c34e59f4d411660ae58ccec7
5
5
  SHA512:
6
- metadata.gz: 022d69134a5f510655876772b81351715bbc1fb67fadeb6cbf025a8e535f3f848af74cb4d9da19e3ab0188ff7f6bdebdef0e8cd883d9a9489bf585c19914b41c
7
- data.tar.gz: 7a6f8b1eee2674d998fab9b19e4f4c9c5100942b23eaf844a12e4d2011213833ba1534d2149ecc8b776d504484045e944ffa1b643782f8903b0725208e5bcd7d
6
+ metadata.gz: 6ff8e3aa22de5f85f2569199813499c78f02731d66c8d0e4813ea546fea402d808ac97ca4bb7e5bf3e7804e0c63751d6909b5b3230e994319e8894b9e152edda
7
+ data.tar.gz: 0bdc6e1f5e5d7065676e97041f067f8ce58624567daf14b0f5e3a4272dc93964b3e934041962408c8bfba21bdece4431aec6c7902e3eb0e8da694e400ec9e6d7
data/Manifest.txt CHANGED
@@ -5,5 +5,13 @@ Rakefile
5
5
  lib/ethlite-contracts.rb
6
6
  lib/ethlite/contract.rb
7
7
  lib/ethlite/contracts.rb
8
+ lib/ethlite/contracts/mad_camels.rb
9
+ lib/ethlite/contracts/marcs.rb
10
+ lib/ethlite/contracts/moonbirds.rb
11
+ lib/ethlite/contracts/mooncats.rb
12
+ lib/ethlite/contracts/phunks_v2.rb
8
13
  lib/ethlite/contracts/punk_blocks.rb
14
+ lib/ethlite/contracts/punks_data.rb
15
+ lib/ethlite/contracts/punks_meta.rb
9
16
  lib/ethlite/contracts/punks_v1.rb
17
+ lib/ethlite/contracts/synth_punks.rb
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'hoe'
3
3
 
4
4
  Hoe.spec 'ethlite-contracts' do
5
5
 
6
- self.version = '0.1.0'
6
+ self.version = '0.1.2'
7
7
  self.summary = "ethlite-contracts - ready-to-use (blockchain) contract services / function calls for ethereum & co."
8
8
  self.description = summary
9
9
 
@@ -0,0 +1,199 @@
1
+ # MadCamels contract / (blockchain) services / function calls
2
+ #
3
+ # auto-generated via abigen (see https://rubygems.org/gems/abigen) on 2023-01-15 16:36:56 UTC
4
+ # - 31 query functions(s)
5
+ # - 0 helper functions(s)
6
+
7
+
8
+ class MadCamels < Ethlite::Contract
9
+
10
+ address "0xad8474ba5a7f6abc52708f171f57fefc5cdc8c1c"
11
+
12
+ # function **allowListPrice**() ⇒ (uint256 _) _readonly_
13
+ def allowListPrice()
14
+ do_call("allowListPrice")
15
+ end
16
+ sig "allowListPrice", outputs: ["uint256"]
17
+
18
+ # function **balanceOf**(address owner) ⇒ (uint256 _) _readonly_
19
+ def balanceOf(owner)
20
+ do_call("balanceOf", owner)
21
+ end
22
+ sig "balanceOf", inputs: ["address"], outputs: ["uint256"]
23
+
24
+ # function **baseURI**() ⇒ (string _) _readonly_
25
+ def baseURI()
26
+ do_call("baseURI")
27
+ end
28
+ sig "baseURI", outputs: ["string"]
29
+
30
+ # function **contractData**() ⇒ (string name, string description, string image, string banner, string website, uint256 royalties, string royaltiesRecipient) _readonly_
31
+ def contractData()
32
+ do_call("contractData")
33
+ end
34
+ sig "contractData", outputs: ["string","string","string","string","string","uint256","string"]
35
+
36
+ # function **contractURI**() ⇒ (string _) _readonly_
37
+ def contractURI()
38
+ do_call("contractURI")
39
+ end
40
+ sig "contractURI", outputs: ["string"]
41
+
42
+ # function **getApproved**(uint256 tokenId) ⇒ (address _) _readonly_
43
+ def getApproved(tokenId)
44
+ do_call("getApproved", tokenId)
45
+ end
46
+ sig "getApproved", inputs: ["uint256"], outputs: ["address"]
47
+
48
+ # function **getLinkedTraits**(uint256 _layerIndex, uint256 _traitIndex) ⇒ (uint256[] _) _readonly_
49
+ def getLinkedTraits(_layerIndex, _traitIndex)
50
+ do_call("getLinkedTraits", _layerIndex, _traitIndex)
51
+ end
52
+ sig "getLinkedTraits", inputs: ["uint256","uint256"], outputs: ["uint256[]"]
53
+
54
+ # function **hashToMetadata**(string _hash) ⇒ (string _) _readonly_
55
+ def hashToMetadata(_hash)
56
+ do_call("hashToMetadata", _hash)
57
+ end
58
+ sig "hashToMetadata", inputs: ["string"], outputs: ["string"]
59
+
60
+ # function **hashToSVG**(string _hash) ⇒ (string _) _readonly_
61
+ def hashToSVG(_hash)
62
+ do_call("hashToSVG", _hash)
63
+ end
64
+ sig "hashToSVG", inputs: ["string"], outputs: ["string"]
65
+
66
+ # function **isAllowListActive**() ⇒ (bool _) _readonly_
67
+ def isAllowListActive()
68
+ do_call("isAllowListActive")
69
+ end
70
+ sig "isAllowListActive", outputs: ["bool"]
71
+
72
+ # function **isApprovedForAll**(address owner, address operator) ⇒ (bool _) _readonly_
73
+ def isApprovedForAll(owner, operator)
74
+ do_call("isApprovedForAll", owner, operator)
75
+ end
76
+ sig "isApprovedForAll", inputs: ["address","address"], outputs: ["bool"]
77
+
78
+ # function **isContractSealed**() ⇒ (bool _) _readonly_
79
+ def isContractSealed()
80
+ do_call("isContractSealed")
81
+ end
82
+ sig "isContractSealed", outputs: ["bool"]
83
+
84
+ # function **isMintActive**() ⇒ (bool _) _readonly_
85
+ def isMintActive()
86
+ do_call("isMintActive")
87
+ end
88
+ sig "isMintActive", outputs: ["bool"]
89
+
90
+ # function **isPublicMintActive**() ⇒ (bool _) _readonly_
91
+ def isPublicMintActive()
92
+ do_call("isPublicMintActive")
93
+ end
94
+ sig "isPublicMintActive", outputs: ["bool"]
95
+
96
+ # function **maxPerAddress**() ⇒ (uint256 _) _readonly_
97
+ def maxPerAddress()
98
+ do_call("maxPerAddress")
99
+ end
100
+ sig "maxPerAddress", outputs: ["uint256"]
101
+
102
+ # function **maxPerAllowList**() ⇒ (uint256 _) _readonly_
103
+ def maxPerAllowList()
104
+ do_call("maxPerAllowList")
105
+ end
106
+ sig "maxPerAllowList", outputs: ["uint256"]
107
+
108
+ # function **maxSupply**() ⇒ (uint256 _) _readonly_
109
+ def maxSupply()
110
+ do_call("maxSupply")
111
+ end
112
+ sig "maxSupply", outputs: ["uint256"]
113
+
114
+ # function **name**() ⇒ (string _) _readonly_
115
+ def name()
116
+ do_call("name")
117
+ end
118
+ sig "name", outputs: ["string"]
119
+
120
+ # function **onAllowList**(address addr, bytes32[] merkleProof) ⇒ (bool _) _readonly_
121
+ def onAllowList(addr, merkleProof)
122
+ do_call("onAllowList", addr, merkleProof)
123
+ end
124
+ sig "onAllowList", inputs: ["address","bytes32[]"], outputs: ["bool"]
125
+
126
+ # function **owner**() ⇒ (address _) _readonly_
127
+ def owner()
128
+ do_call("owner")
129
+ end
130
+ sig "owner", outputs: ["address"]
131
+
132
+ # function **ownerOf**(uint256 tokenId) ⇒ (address _) _readonly_
133
+ def ownerOf(tokenId)
134
+ do_call("ownerOf", tokenId)
135
+ end
136
+ sig "ownerOf", inputs: ["uint256"], outputs: ["address"]
137
+
138
+ # function **publicMintPrice**() ⇒ (uint256 _) _readonly_
139
+ def publicMintPrice()
140
+ do_call("publicMintPrice")
141
+ end
142
+ sig "publicMintPrice", outputs: ["uint256"]
143
+
144
+ # function **supportsInterface**(bytes4 interfaceId) ⇒ (bool _) _readonly_
145
+ def supportsInterface(interfaceId)
146
+ do_call("supportsInterface", interfaceId)
147
+ end
148
+ sig "supportsInterface", inputs: ["bytes4"], outputs: ["bool"]
149
+
150
+ # function **symbol**() ⇒ (string _) _readonly_
151
+ def symbol()
152
+ do_call("symbol")
153
+ end
154
+ sig "symbol", outputs: ["string"]
155
+
156
+ # function **tokenIdToHash**(uint256 _tokenId) ⇒ (string _) _readonly_
157
+ def tokenIdToHash(_tokenId)
158
+ do_call("tokenIdToHash", _tokenId)
159
+ end
160
+ sig "tokenIdToHash", inputs: ["uint256"], outputs: ["string"]
161
+
162
+ # function **tokenIdToSVG**(uint256 _tokenId) ⇒ (string _) _readonly_
163
+ def tokenIdToSVG(_tokenId)
164
+ do_call("tokenIdToSVG", _tokenId)
165
+ end
166
+ sig "tokenIdToSVG", inputs: ["uint256"], outputs: ["string"]
167
+
168
+ # function **tokenURI**(uint256 _tokenId) ⇒ (string _) _readonly_
169
+ def tokenURI(_tokenId)
170
+ do_call("tokenURI", _tokenId)
171
+ end
172
+ sig "tokenURI", inputs: ["uint256"], outputs: ["string"]
173
+
174
+ # function **tokensAreDuplicates**(uint256 tokenIdA, uint256 tokenIdB) ⇒ (bool _) _readonly_
175
+ def tokensAreDuplicates(tokenIdA, tokenIdB)
176
+ do_call("tokensAreDuplicates", tokenIdA, tokenIdB)
177
+ end
178
+ sig "tokensAreDuplicates", inputs: ["uint256","uint256"], outputs: ["bool"]
179
+
180
+ # function **totalSupply**() ⇒ (uint256 _) _readonly_
181
+ def totalSupply()
182
+ do_call("totalSupply")
183
+ end
184
+ sig "totalSupply", outputs: ["uint256"]
185
+
186
+ # function **traitData**(uint256 _layerIndex, uint256 _traitIndex) ⇒ (string _) _readonly_
187
+ def traitData(_layerIndex, _traitIndex)
188
+ do_call("traitData", _layerIndex, _traitIndex)
189
+ end
190
+ sig "traitData", inputs: ["uint256","uint256"], outputs: ["string"]
191
+
192
+ # function **traitDetails**(uint256 _layerIndex, uint256 _traitIndex) ⇒ (struct Indelible.Trait _) _readonly_
193
+ def traitDetails(_layerIndex, _traitIndex)
194
+ do_call("traitDetails", _layerIndex, _traitIndex)
195
+ end
196
+ sig "traitDetails", inputs: ["uint256","uint256"], outputs: ["(string,string)"]
197
+
198
+ end ## class MadCamels
199
+
@@ -0,0 +1,199 @@
1
+ # Marcs contract / (blockchain) services / function calls
2
+ #
3
+ # auto-generated via abigen (see https://rubygems.org/gems/abigen) on 2023-01-15 16:36:53 UTC
4
+ # - 31 query functions(s)
5
+ # - 0 helper functions(s)
6
+
7
+
8
+ class Marcs < Ethlite::Contract
9
+
10
+ address "0xe9b91d537c3aa5a3fa87275fbd2e4feaaed69bd0"
11
+
12
+ # function **allowListPrice**() ⇒ (uint256 _) _readonly_
13
+ def allowListPrice()
14
+ do_call("allowListPrice")
15
+ end
16
+ sig "allowListPrice", outputs: ["uint256"]
17
+
18
+ # function **balanceOf**(address owner) ⇒ (uint256 _) _readonly_
19
+ def balanceOf(owner)
20
+ do_call("balanceOf", owner)
21
+ end
22
+ sig "balanceOf", inputs: ["address"], outputs: ["uint256"]
23
+
24
+ # function **baseURI**() ⇒ (string _) _readonly_
25
+ def baseURI()
26
+ do_call("baseURI")
27
+ end
28
+ sig "baseURI", outputs: ["string"]
29
+
30
+ # function **contractData**() ⇒ (string name, string description, string image, string banner, string website, uint256 royalties, string royaltiesRecipient) _readonly_
31
+ def contractData()
32
+ do_call("contractData")
33
+ end
34
+ sig "contractData", outputs: ["string","string","string","string","string","uint256","string"]
35
+
36
+ # function **contractURI**() ⇒ (string _) _readonly_
37
+ def contractURI()
38
+ do_call("contractURI")
39
+ end
40
+ sig "contractURI", outputs: ["string"]
41
+
42
+ # function **getApproved**(uint256 tokenId) ⇒ (address _) _readonly_
43
+ def getApproved(tokenId)
44
+ do_call("getApproved", tokenId)
45
+ end
46
+ sig "getApproved", inputs: ["uint256"], outputs: ["address"]
47
+
48
+ # function **hashToMetadata**(string _hash) ⇒ (string _) _readonly_
49
+ def hashToMetadata(_hash)
50
+ do_call("hashToMetadata", _hash)
51
+ end
52
+ sig "hashToMetadata", inputs: ["string"], outputs: ["string"]
53
+
54
+ # function **hashToSVG**(string _hash) ⇒ (string _) _readonly_
55
+ def hashToSVG(_hash)
56
+ do_call("hashToSVG", _hash)
57
+ end
58
+ sig "hashToSVG", inputs: ["string"], outputs: ["string"]
59
+
60
+ # function **isAllowListActive**() ⇒ (bool _) _readonly_
61
+ def isAllowListActive()
62
+ do_call("isAllowListActive")
63
+ end
64
+ sig "isAllowListActive", outputs: ["bool"]
65
+
66
+ # function **isApprovedForAll**(address owner, address operator) ⇒ (bool _) _readonly_
67
+ def isApprovedForAll(owner, operator)
68
+ do_call("isApprovedForAll", owner, operator)
69
+ end
70
+ sig "isApprovedForAll", inputs: ["address","address"], outputs: ["bool"]
71
+
72
+ # function **isContractSealed**() ⇒ (bool _) _readonly_
73
+ def isContractSealed()
74
+ do_call("isContractSealed")
75
+ end
76
+ sig "isContractSealed", outputs: ["bool"]
77
+
78
+ # function **isMintActive**() ⇒ (bool _) _readonly_
79
+ def isMintActive()
80
+ do_call("isMintActive")
81
+ end
82
+ sig "isMintActive", outputs: ["bool"]
83
+
84
+ # function **isPublicMintActive**() ⇒ (bool _) _readonly_
85
+ def isPublicMintActive()
86
+ do_call("isPublicMintActive")
87
+ end
88
+ sig "isPublicMintActive", outputs: ["bool"]
89
+
90
+ # function **maxPerAddress**() ⇒ (uint256 _) _readonly_
91
+ def maxPerAddress()
92
+ do_call("maxPerAddress")
93
+ end
94
+ sig "maxPerAddress", outputs: ["uint256"]
95
+
96
+ # function **maxPerAllowList**() ⇒ (uint256 _) _readonly_
97
+ def maxPerAllowList()
98
+ do_call("maxPerAllowList")
99
+ end
100
+ sig "maxPerAllowList", outputs: ["uint256"]
101
+
102
+ # function **maxSupply**() ⇒ (uint256 _) _readonly_
103
+ def maxSupply()
104
+ do_call("maxSupply")
105
+ end
106
+ sig "maxSupply", outputs: ["uint256"]
107
+
108
+ # function **name**() ⇒ (string _) _readonly_
109
+ def name()
110
+ do_call("name")
111
+ end
112
+ sig "name", outputs: ["string"]
113
+
114
+ # function **ockAddress**() ⇒ (address _) _readonly_
115
+ def ockAddress()
116
+ do_call("ockAddress")
117
+ end
118
+ sig "ockAddress", outputs: ["address"]
119
+
120
+ # function **onAllowList**(address addr, bytes32[] merkleProof) ⇒ (bool _) _readonly_
121
+ def onAllowList(addr, merkleProof)
122
+ do_call("onAllowList", addr, merkleProof)
123
+ end
124
+ sig "onAllowList", inputs: ["address","bytes32[]"], outputs: ["bool"]
125
+
126
+ # function **owner**() ⇒ (address _) _readonly_
127
+ def owner()
128
+ do_call("owner")
129
+ end
130
+ sig "owner", outputs: ["address"]
131
+
132
+ # function **ownerOf**(uint256 tokenId) ⇒ (address _) _readonly_
133
+ def ownerOf(tokenId)
134
+ do_call("ownerOf", tokenId)
135
+ end
136
+ sig "ownerOf", inputs: ["uint256"], outputs: ["address"]
137
+
138
+ # function **publicMintPrice**() ⇒ (uint256 _) _readonly_
139
+ def publicMintPrice()
140
+ do_call("publicMintPrice")
141
+ end
142
+ sig "publicMintPrice", outputs: ["uint256"]
143
+
144
+ # function **supportsInterface**(bytes4 interfaceId) ⇒ (bool _) _readonly_
145
+ def supportsInterface(interfaceId)
146
+ do_call("supportsInterface", interfaceId)
147
+ end
148
+ sig "supportsInterface", inputs: ["bytes4"], outputs: ["bool"]
149
+
150
+ # function **symbol**() ⇒ (string _) _readonly_
151
+ def symbol()
152
+ do_call("symbol")
153
+ end
154
+ sig "symbol", outputs: ["string"]
155
+
156
+ # function **tokenIdToHash**(uint256 _tokenId) ⇒ (string _) _readonly_
157
+ def tokenIdToHash(_tokenId)
158
+ do_call("tokenIdToHash", _tokenId)
159
+ end
160
+ sig "tokenIdToHash", inputs: ["uint256"], outputs: ["string"]
161
+
162
+ # function **tokenIdToSVG**(uint256 _tokenId) ⇒ (string _) _readonly_
163
+ def tokenIdToSVG(_tokenId)
164
+ do_call("tokenIdToSVG", _tokenId)
165
+ end
166
+ sig "tokenIdToSVG", inputs: ["uint256"], outputs: ["string"]
167
+
168
+ # function **tokenURI**(uint256 _tokenId) ⇒ (string _) _readonly_
169
+ def tokenURI(_tokenId)
170
+ do_call("tokenURI", _tokenId)
171
+ end
172
+ sig "tokenURI", inputs: ["uint256"], outputs: ["string"]
173
+
174
+ # function **tokensAreDuplicates**(uint256 tokenId1, uint256 tokenId2) ⇒ (bool _) _readonly_
175
+ def tokensAreDuplicates(tokenId1, tokenId2)
176
+ do_call("tokensAreDuplicates", tokenId1, tokenId2)
177
+ end
178
+ sig "tokensAreDuplicates", inputs: ["uint256","uint256"], outputs: ["bool"]
179
+
180
+ # function **totalSupply**() ⇒ (uint256 _) _readonly_
181
+ def totalSupply()
182
+ do_call("totalSupply")
183
+ end
184
+ sig "totalSupply", outputs: ["uint256"]
185
+
186
+ # function **traitData**(uint256 _layerIndex, uint256 _traitIndex) ⇒ (string _) _readonly_
187
+ def traitData(_layerIndex, _traitIndex)
188
+ do_call("traitData", _layerIndex, _traitIndex)
189
+ end
190
+ sig "traitData", inputs: ["uint256","uint256"], outputs: ["string"]
191
+
192
+ # function **traitDetails**(uint256 _layerIndex, uint256 _traitIndex) ⇒ (struct IndelibleERC721A.Trait _) _readonly_
193
+ def traitDetails(_layerIndex, _traitIndex)
194
+ do_call("traitDetails", _layerIndex, _traitIndex)
195
+ end
196
+ sig "traitDetails", inputs: ["uint256","uint256"], outputs: ["(string,string)"]
197
+
198
+ end ## class Marcs
199
+
@@ -0,0 +1,211 @@
1
+ # Moonbirds contract / (blockchain) services / function calls
2
+ #
3
+ # auto-generated via abigen (see https://rubygems.org/gems/abigen) on 2023-01-15 16:36:51 UTC
4
+ # - 33 query functions(s)
5
+ # - 0 helper functions(s)
6
+
7
+
8
+ class Moonbirds < Ethlite::Contract
9
+
10
+ address "0x23581767a106ae21c074b2276d25e5c3e136a68b"
11
+
12
+ # function **DEFAULT_ADMIN_ROLE**() ⇒ (bytes32 _) _readonly_
13
+ def DEFAULT_ADMIN_ROLE()
14
+ do_call("DEFAULT_ADMIN_ROLE")
15
+ end
16
+ sig "DEFAULT_ADMIN_ROLE", outputs: ["bytes32"]
17
+
18
+ # function **EXPULSION_ROLE**() ⇒ (bytes32 _) _readonly_
19
+ def EXPULSION_ROLE()
20
+ do_call("EXPULSION_ROLE")
21
+ end
22
+ sig "EXPULSION_ROLE", outputs: ["bytes32"]
23
+
24
+ # function **alreadyMinted**(address to, bytes32 nonce) ⇒ (bool _) _readonly_
25
+ def alreadyMinted(to, nonce)
26
+ do_call("alreadyMinted", to, nonce)
27
+ end
28
+ sig "alreadyMinted", inputs: ["address","bytes32"], outputs: ["bool"]
29
+
30
+ # function **balanceOf**(address owner) ⇒ (uint256 _) _readonly_
31
+ def balanceOf(owner)
32
+ do_call("balanceOf", owner)
33
+ end
34
+ sig "balanceOf", inputs: ["address"], outputs: ["uint256"]
35
+
36
+ # function **baseTokenURI**() ⇒ (string _) _readonly_
37
+ def baseTokenURI()
38
+ do_call("baseTokenURI")
39
+ end
40
+ sig "baseTokenURI", outputs: ["string"]
41
+
42
+ # function **beneficiary**() ⇒ (address payable _) _readonly_
43
+ def beneficiary()
44
+ do_call("beneficiary")
45
+ end
46
+ sig "beneficiary", outputs: ["address"]
47
+
48
+ # function **cost**(uint256 n, uint256 _) ⇒ (uint256 _) _readonly_
49
+ def cost(n, arg1)
50
+ do_call("cost", n, arg1)
51
+ end
52
+ sig "cost", inputs: ["uint256","uint256"], outputs: ["uint256"]
53
+
54
+ # function **getApproved**(uint256 tokenId) ⇒ (address _) _readonly_
55
+ def getApproved(tokenId)
56
+ do_call("getApproved", tokenId)
57
+ end
58
+ sig "getApproved", inputs: ["uint256"], outputs: ["address"]
59
+
60
+ # function **getRoleAdmin**(bytes32 role) ⇒ (bytes32 _) _readonly_
61
+ def getRoleAdmin(role)
62
+ do_call("getRoleAdmin", role)
63
+ end
64
+ sig "getRoleAdmin", inputs: ["bytes32"], outputs: ["bytes32"]
65
+
66
+ # function **getRoleMember**(bytes32 role, uint256 index) ⇒ (address _) _readonly_
67
+ def getRoleMember(role, index)
68
+ do_call("getRoleMember", role, index)
69
+ end
70
+ sig "getRoleMember", inputs: ["bytes32","uint256"], outputs: ["address"]
71
+
72
+ # function **getRoleMemberCount**(bytes32 role) ⇒ (uint256 _) _readonly_
73
+ def getRoleMemberCount(role)
74
+ do_call("getRoleMemberCount", role)
75
+ end
76
+ sig "getRoleMemberCount", inputs: ["bytes32"], outputs: ["uint256"]
77
+
78
+ # function **hasRole**(bytes32 role, address account) ⇒ (bool _) _readonly_
79
+ def hasRole(role, account)
80
+ do_call("hasRole", role, account)
81
+ end
82
+ sig "hasRole", inputs: ["bytes32","address"], outputs: ["bool"]
83
+
84
+ # function **isApprovedForAll**(address owner, address operator) ⇒ (bool _) _readonly_
85
+ def isApprovedForAll(owner, operator)
86
+ do_call("isApprovedForAll", owner, operator)
87
+ end
88
+ sig "isApprovedForAll", inputs: ["address","address"], outputs: ["bool"]
89
+
90
+ # function **name**() ⇒ (string _) _readonly_
91
+ def name()
92
+ do_call("name")
93
+ end
94
+ sig "name", outputs: ["string"]
95
+
96
+ # function **nestingOpen**() ⇒ (bool _) _readonly_
97
+ def nestingOpen()
98
+ do_call("nestingOpen")
99
+ end
100
+ sig "nestingOpen", outputs: ["bool"]
101
+
102
+ # function **nestingPeriod**(uint256 tokenId) ⇒ (bool nesting, uint256 current, uint256 total) _readonly_
103
+ def nestingPeriod(tokenId)
104
+ do_call("nestingPeriod", tokenId)
105
+ end
106
+ sig "nestingPeriod", inputs: ["uint256"], outputs: ["bool","uint256","uint256"]
107
+
108
+ # function **owner**() ⇒ (address _) _readonly_
109
+ def owner()
110
+ do_call("owner")
111
+ end
112
+ sig "owner", outputs: ["address"]
113
+
114
+ # function **ownerOf**(uint256 tokenId) ⇒ (address _) _readonly_
115
+ def ownerOf(tokenId)
116
+ do_call("ownerOf", tokenId)
117
+ end
118
+ sig "ownerOf", inputs: ["uint256"], outputs: ["address"]
119
+
120
+ # function **paused**() ⇒ (bool _) _readonly_
121
+ def paused()
122
+ do_call("paused")
123
+ end
124
+ sig "paused", outputs: ["bool"]
125
+
126
+ # function **price**() ⇒ (uint256 _) _readonly_
127
+ def price()
128
+ do_call("price")
129
+ end
130
+ sig "price", outputs: ["uint256"]
131
+
132
+ # function **proof**() ⇒ (contract IERC721 _) _readonly_
133
+ def proof()
134
+ do_call("proof")
135
+ end
136
+ sig "proof", outputs: ["address"]
137
+
138
+ # function **proofClaimsRemaining**(uint256 tokenId) ⇒ (uint256 _) _readonly_
139
+ def proofClaimsRemaining(tokenId)
140
+ do_call("proofClaimsRemaining", tokenId)
141
+ end
142
+ sig "proofClaimsRemaining", inputs: ["uint256"], outputs: ["uint256"]
143
+
144
+ # function **proofMintingOpen**() ⇒ (bool _) _readonly_
145
+ def proofMintingOpen()
146
+ do_call("proofMintingOpen")
147
+ end
148
+ sig "proofMintingOpen", outputs: ["bool"]
149
+
150
+ # function **proofPoolRemaining**() ⇒ (uint256 _) _readonly_
151
+ def proofPoolRemaining()
152
+ do_call("proofPoolRemaining")
153
+ end
154
+ sig "proofPoolRemaining", outputs: ["uint256"]
155
+
156
+ # function **renderingContract**() ⇒ (contract ITokenURIGenerator _) _readonly_
157
+ def renderingContract()
158
+ do_call("renderingContract")
159
+ end
160
+ sig "renderingContract", outputs: ["address"]
161
+
162
+ # function **royaltyInfo**(uint256 _tokenId, uint256 _salePrice) ⇒ (address _, uint256 _) _readonly_
163
+ def royaltyInfo(_tokenId, _salePrice)
164
+ do_call("royaltyInfo", _tokenId, _salePrice)
165
+ end
166
+ sig "royaltyInfo", inputs: ["uint256","uint256"], outputs: ["address","uint256"]
167
+
168
+ # function **sellerConfig**() ⇒ (uint256 totalInventory, uint256 maxPerAddress, uint256 maxPerTx, uint248 freeQuota, bool reserveFreeQuota, bool lockFreeQuota, bool lockTotalInventory) _readonly_
169
+ def sellerConfig()
170
+ do_call("sellerConfig")
171
+ end
172
+ sig "sellerConfig", outputs: ["uint256","uint256","uint256","uint248","bool","bool","bool"]
173
+
174
+ # function **supportsInterface**(bytes4 interfaceId) ⇒ (bool _) _readonly_
175
+ def supportsInterface(interfaceId)
176
+ do_call("supportsInterface", interfaceId)
177
+ end
178
+ sig "supportsInterface", inputs: ["bytes4"], outputs: ["bool"]
179
+
180
+ # function **symbol**() ⇒ (string _) _readonly_
181
+ def symbol()
182
+ do_call("symbol")
183
+ end
184
+ sig "symbol", outputs: ["string"]
185
+
186
+ # function **tokenURI**(uint256 tokenId) ⇒ (string _) _readonly_
187
+ def tokenURI(tokenId)
188
+ do_call("tokenURI", tokenId)
189
+ end
190
+ sig "tokenURI", inputs: ["uint256"], outputs: ["string"]
191
+
192
+ # function **totalSold**() ⇒ (uint256 _) _readonly_
193
+ def totalSold()
194
+ do_call("totalSold")
195
+ end
196
+ sig "totalSold", outputs: ["uint256"]
197
+
198
+ # function **totalSupply**() ⇒ (uint256 _) _readonly_
199
+ def totalSupply()
200
+ do_call("totalSupply")
201
+ end
202
+ sig "totalSupply", outputs: ["uint256"]
203
+
204
+ # function **usedMessages**(bytes32 _) ⇒ (bool _) _readonly_
205
+ def usedMessages(arg0)
206
+ do_call("usedMessages", arg0)
207
+ end
208
+ sig "usedMessages", inputs: ["bytes32"], outputs: ["bool"]
209
+
210
+ end ## class Moonbirds
211
+