@gitmyabi/rari 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/contracts/{RaribleToken_json.d.ts → ERC721RaribleMinimal.d.ts} +712 -420
- package/contracts/{RaribleToken_json.js → ERC721RaribleMinimal.js} +771 -470
- package/contracts/{RaribleToken_json.ts → ERC721RaribleMinimal.ts} +884 -475
- package/contracts/TransparentUpgradeableProxy.d.ts +401 -0
- package/contracts/TransparentUpgradeableProxy.js +398 -0
- package/contracts/TransparentUpgradeableProxy.ts +542 -0
- package/contracts/index.d.ts +4 -2
- package/contracts/index.js +7 -4
- package/contracts/index.ts +4 -2
- package/package.json +4 -4
|
@@ -1,57 +1,62 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* LibPart.Part struct type
|
|
4
4
|
*/
|
|
5
|
-
export type
|
|
6
|
-
|
|
5
|
+
export type LibPart_Part = {
|
|
6
|
+
account: `0x${string}`;
|
|
7
7
|
value: bigint;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* LibERC721LazyMint.Mint721Data struct type
|
|
11
|
+
*/
|
|
12
|
+
export type LibERC721LazyMint_Mint721Data = {
|
|
13
|
+
tokenId: bigint;
|
|
14
|
+
tokenURI: string;
|
|
15
|
+
creators: LibPart_Part[];
|
|
16
|
+
royalties: LibPart_Part[];
|
|
17
|
+
signatures: `0x${string}`[];
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* ERC721RaribleMinimal ABI
|
|
11
21
|
*
|
|
12
22
|
* This ABI is typed using viem's type system for full type safety.
|
|
13
23
|
*/
|
|
14
|
-
export declare const
|
|
24
|
+
export declare const ERC721RaribleMinimalAbi: readonly [{
|
|
25
|
+
readonly anonymous: false;
|
|
15
26
|
readonly inputs: readonly [{
|
|
16
|
-
readonly
|
|
17
|
-
readonly name: "_name";
|
|
18
|
-
readonly type: "string";
|
|
19
|
-
}, {
|
|
20
|
-
readonly internalType: "string";
|
|
21
|
-
readonly name: "_symbol";
|
|
22
|
-
readonly type: "string";
|
|
23
|
-
}, {
|
|
27
|
+
readonly indexed: true;
|
|
24
28
|
readonly internalType: "address";
|
|
25
|
-
readonly name: "
|
|
29
|
+
readonly name: "owner";
|
|
26
30
|
readonly type: "address";
|
|
27
31
|
}, {
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
30
|
-
readonly
|
|
32
|
+
readonly indexed: true;
|
|
33
|
+
readonly internalType: "address";
|
|
34
|
+
readonly name: "approved";
|
|
35
|
+
readonly type: "address";
|
|
31
36
|
}, {
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
34
|
-
readonly
|
|
37
|
+
readonly indexed: true;
|
|
38
|
+
readonly internalType: "uint256";
|
|
39
|
+
readonly name: "tokenId";
|
|
40
|
+
readonly type: "uint256";
|
|
35
41
|
}];
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
38
|
-
readonly type: "constructor";
|
|
42
|
+
readonly name: "Approval";
|
|
43
|
+
readonly type: "event";
|
|
39
44
|
}, {
|
|
40
45
|
readonly anonymous: false;
|
|
41
46
|
readonly inputs: readonly [{
|
|
42
47
|
readonly indexed: true;
|
|
43
48
|
readonly internalType: "address";
|
|
44
|
-
readonly name: "
|
|
49
|
+
readonly name: "owner";
|
|
45
50
|
readonly type: "address";
|
|
46
51
|
}, {
|
|
47
52
|
readonly indexed: true;
|
|
48
53
|
readonly internalType: "address";
|
|
49
|
-
readonly name: "
|
|
54
|
+
readonly name: "operator";
|
|
50
55
|
readonly type: "address";
|
|
51
56
|
}, {
|
|
52
57
|
readonly indexed: false;
|
|
53
58
|
readonly internalType: "bool";
|
|
54
|
-
readonly name: "
|
|
59
|
+
readonly name: "approved";
|
|
55
60
|
readonly type: "bool";
|
|
56
61
|
}];
|
|
57
62
|
readonly name: "ApprovalForAll";
|
|
@@ -59,17 +64,52 @@ export declare const RaribleToken_jsonAbi: readonly [{
|
|
|
59
64
|
}, {
|
|
60
65
|
readonly anonymous: false;
|
|
61
66
|
readonly inputs: readonly [{
|
|
62
|
-
readonly indexed:
|
|
67
|
+
readonly indexed: false;
|
|
68
|
+
readonly internalType: "string";
|
|
69
|
+
readonly name: "newBaseURI";
|
|
70
|
+
readonly type: "string";
|
|
71
|
+
}];
|
|
72
|
+
readonly name: "BaseUriChanged";
|
|
73
|
+
readonly type: "event";
|
|
74
|
+
}, {
|
|
75
|
+
readonly anonymous: false;
|
|
76
|
+
readonly inputs: readonly [{
|
|
77
|
+
readonly indexed: false;
|
|
63
78
|
readonly internalType: "address";
|
|
64
|
-
readonly name: "
|
|
79
|
+
readonly name: "owner";
|
|
65
80
|
readonly type: "address";
|
|
66
81
|
}, {
|
|
67
|
-
readonly indexed:
|
|
82
|
+
readonly indexed: false;
|
|
83
|
+
readonly internalType: "string";
|
|
84
|
+
readonly name: "name";
|
|
85
|
+
readonly type: "string";
|
|
86
|
+
}, {
|
|
87
|
+
readonly indexed: false;
|
|
88
|
+
readonly internalType: "string";
|
|
89
|
+
readonly name: "symbol";
|
|
90
|
+
readonly type: "string";
|
|
91
|
+
}];
|
|
92
|
+
readonly name: "CreateERC721Rarible";
|
|
93
|
+
readonly type: "event";
|
|
94
|
+
}, {
|
|
95
|
+
readonly anonymous: false;
|
|
96
|
+
readonly inputs: readonly [{
|
|
97
|
+
readonly indexed: false;
|
|
68
98
|
readonly internalType: "address";
|
|
69
|
-
readonly name: "
|
|
99
|
+
readonly name: "owner";
|
|
70
100
|
readonly type: "address";
|
|
101
|
+
}, {
|
|
102
|
+
readonly indexed: false;
|
|
103
|
+
readonly internalType: "string";
|
|
104
|
+
readonly name: "name";
|
|
105
|
+
readonly type: "string";
|
|
106
|
+
}, {
|
|
107
|
+
readonly indexed: false;
|
|
108
|
+
readonly internalType: "string";
|
|
109
|
+
readonly name: "symbol";
|
|
110
|
+
readonly type: "string";
|
|
71
111
|
}];
|
|
72
|
-
readonly name: "
|
|
112
|
+
readonly name: "CreateERC721RaribleUser";
|
|
73
113
|
readonly type: "event";
|
|
74
114
|
}, {
|
|
75
115
|
readonly anonymous: false;
|
|
@@ -79,187 +119,244 @@ export declare const RaribleToken_jsonAbi: readonly [{
|
|
|
79
119
|
readonly name: "tokenId";
|
|
80
120
|
readonly type: "uint256";
|
|
81
121
|
}, {
|
|
122
|
+
readonly components: readonly [{
|
|
123
|
+
readonly internalType: "address payable";
|
|
124
|
+
readonly name: "account";
|
|
125
|
+
readonly type: "address";
|
|
126
|
+
}, {
|
|
127
|
+
readonly internalType: "uint96";
|
|
128
|
+
readonly name: "value";
|
|
129
|
+
readonly type: "uint96";
|
|
130
|
+
}];
|
|
82
131
|
readonly indexed: false;
|
|
83
|
-
readonly internalType: "
|
|
84
|
-
readonly name: "
|
|
85
|
-
readonly type: "
|
|
86
|
-
}, {
|
|
87
|
-
readonly indexed: false;
|
|
88
|
-
readonly internalType: "uint256[]";
|
|
89
|
-
readonly name: "bps";
|
|
90
|
-
readonly type: "uint256[]";
|
|
132
|
+
readonly internalType: "struct LibPart.Part[]";
|
|
133
|
+
readonly name: "creators";
|
|
134
|
+
readonly type: "tuple[]";
|
|
91
135
|
}];
|
|
92
|
-
readonly name: "
|
|
136
|
+
readonly name: "Creators";
|
|
93
137
|
readonly type: "event";
|
|
94
138
|
}, {
|
|
95
139
|
readonly anonymous: false;
|
|
96
140
|
readonly inputs: readonly [{
|
|
97
141
|
readonly indexed: true;
|
|
98
142
|
readonly internalType: "address";
|
|
99
|
-
readonly name: "
|
|
143
|
+
readonly name: "operator";
|
|
100
144
|
readonly type: "address";
|
|
145
|
+
}, {
|
|
146
|
+
readonly indexed: false;
|
|
147
|
+
readonly internalType: "bool";
|
|
148
|
+
readonly name: "hasApproval";
|
|
149
|
+
readonly type: "bool";
|
|
101
150
|
}];
|
|
102
|
-
readonly name: "
|
|
151
|
+
readonly name: "DefaultApproval";
|
|
103
152
|
readonly type: "event";
|
|
104
153
|
}, {
|
|
105
154
|
readonly anonymous: false;
|
|
106
155
|
readonly inputs: readonly [{
|
|
107
156
|
readonly indexed: true;
|
|
108
157
|
readonly internalType: "address";
|
|
109
|
-
readonly name: "
|
|
158
|
+
readonly name: "minter";
|
|
110
159
|
readonly type: "address";
|
|
160
|
+
}, {
|
|
161
|
+
readonly indexed: true;
|
|
162
|
+
readonly internalType: "bool";
|
|
163
|
+
readonly name: "status";
|
|
164
|
+
readonly type: "bool";
|
|
111
165
|
}];
|
|
112
|
-
readonly name: "
|
|
166
|
+
readonly name: "MinterStatusChanged";
|
|
113
167
|
readonly type: "event";
|
|
114
168
|
}, {
|
|
115
169
|
readonly anonymous: false;
|
|
116
170
|
readonly inputs: readonly [{
|
|
117
171
|
readonly indexed: true;
|
|
118
172
|
readonly internalType: "address";
|
|
119
|
-
readonly name: "
|
|
120
|
-
readonly type: "address";
|
|
121
|
-
}, {
|
|
122
|
-
readonly indexed: true;
|
|
123
|
-
readonly internalType: "address";
|
|
124
|
-
readonly name: "_from";
|
|
173
|
+
readonly name: "previousOwner";
|
|
125
174
|
readonly type: "address";
|
|
126
175
|
}, {
|
|
127
176
|
readonly indexed: true;
|
|
128
177
|
readonly internalType: "address";
|
|
129
|
-
readonly name: "
|
|
178
|
+
readonly name: "newOwner";
|
|
130
179
|
readonly type: "address";
|
|
131
|
-
}
|
|
180
|
+
}];
|
|
181
|
+
readonly name: "OwnershipTransferred";
|
|
182
|
+
readonly type: "event";
|
|
183
|
+
}, {
|
|
184
|
+
readonly anonymous: false;
|
|
185
|
+
readonly inputs: readonly [{
|
|
132
186
|
readonly indexed: false;
|
|
133
|
-
readonly internalType: "uint256
|
|
134
|
-
readonly name: "
|
|
135
|
-
readonly type: "uint256
|
|
187
|
+
readonly internalType: "uint256";
|
|
188
|
+
readonly name: "tokenId";
|
|
189
|
+
readonly type: "uint256";
|
|
136
190
|
}, {
|
|
191
|
+
readonly components: readonly [{
|
|
192
|
+
readonly internalType: "address payable";
|
|
193
|
+
readonly name: "account";
|
|
194
|
+
readonly type: "address";
|
|
195
|
+
}, {
|
|
196
|
+
readonly internalType: "uint96";
|
|
197
|
+
readonly name: "value";
|
|
198
|
+
readonly type: "uint96";
|
|
199
|
+
}];
|
|
137
200
|
readonly indexed: false;
|
|
138
|
-
readonly internalType: "
|
|
139
|
-
readonly name: "
|
|
140
|
-
readonly type: "
|
|
201
|
+
readonly internalType: "struct LibPart.Part[]";
|
|
202
|
+
readonly name: "royalties";
|
|
203
|
+
readonly type: "tuple[]";
|
|
141
204
|
}];
|
|
142
|
-
readonly name: "
|
|
205
|
+
readonly name: "RoyaltiesSet";
|
|
143
206
|
readonly type: "event";
|
|
144
207
|
}, {
|
|
145
208
|
readonly anonymous: false;
|
|
146
209
|
readonly inputs: readonly [{
|
|
147
210
|
readonly indexed: true;
|
|
148
211
|
readonly internalType: "address";
|
|
149
|
-
readonly name: "
|
|
212
|
+
readonly name: "from";
|
|
150
213
|
readonly type: "address";
|
|
151
214
|
}, {
|
|
152
215
|
readonly indexed: true;
|
|
153
216
|
readonly internalType: "address";
|
|
154
|
-
readonly name: "
|
|
217
|
+
readonly name: "to";
|
|
155
218
|
readonly type: "address";
|
|
156
219
|
}, {
|
|
157
220
|
readonly indexed: true;
|
|
158
|
-
readonly internalType: "address";
|
|
159
|
-
readonly name: "_to";
|
|
160
|
-
readonly type: "address";
|
|
161
|
-
}, {
|
|
162
|
-
readonly indexed: false;
|
|
163
|
-
readonly internalType: "uint256";
|
|
164
|
-
readonly name: "_id";
|
|
165
|
-
readonly type: "uint256";
|
|
166
|
-
}, {
|
|
167
|
-
readonly indexed: false;
|
|
168
221
|
readonly internalType: "uint256";
|
|
169
|
-
readonly name: "
|
|
222
|
+
readonly name: "tokenId";
|
|
170
223
|
readonly type: "uint256";
|
|
171
224
|
}];
|
|
172
|
-
readonly name: "
|
|
225
|
+
readonly name: "Transfer";
|
|
173
226
|
readonly type: "event";
|
|
174
227
|
}, {
|
|
175
|
-
readonly anonymous: false;
|
|
176
228
|
readonly inputs: readonly [{
|
|
177
|
-
readonly indexed: false;
|
|
178
229
|
readonly internalType: "string";
|
|
179
|
-
readonly name: "
|
|
230
|
+
readonly name: "_name";
|
|
180
231
|
readonly type: "string";
|
|
181
232
|
}, {
|
|
182
|
-
readonly
|
|
183
|
-
readonly
|
|
184
|
-
readonly
|
|
185
|
-
|
|
233
|
+
readonly internalType: "string";
|
|
234
|
+
readonly name: "_symbol";
|
|
235
|
+
readonly type: "string";
|
|
236
|
+
}, {
|
|
237
|
+
readonly internalType: "string";
|
|
238
|
+
readonly name: "baseURI";
|
|
239
|
+
readonly type: "string";
|
|
240
|
+
}, {
|
|
241
|
+
readonly internalType: "string";
|
|
242
|
+
readonly name: "contractURI";
|
|
243
|
+
readonly type: "string";
|
|
244
|
+
}, {
|
|
245
|
+
readonly internalType: "address[]";
|
|
246
|
+
readonly name: "operators";
|
|
247
|
+
readonly type: "address[]";
|
|
248
|
+
}, {
|
|
249
|
+
readonly internalType: "address";
|
|
250
|
+
readonly name: "transferProxy";
|
|
251
|
+
readonly type: "address";
|
|
252
|
+
}, {
|
|
253
|
+
readonly internalType: "address";
|
|
254
|
+
readonly name: "lazyTransferProxy";
|
|
255
|
+
readonly type: "address";
|
|
186
256
|
}];
|
|
187
|
-
readonly name: "
|
|
188
|
-
readonly
|
|
257
|
+
readonly name: "__ERC721RaribleUser_init";
|
|
258
|
+
readonly outputs: readonly [];
|
|
259
|
+
readonly stateMutability: "nonpayable";
|
|
260
|
+
readonly type: "function";
|
|
261
|
+
}, {
|
|
262
|
+
readonly inputs: readonly [{
|
|
263
|
+
readonly internalType: "string";
|
|
264
|
+
readonly name: "_name";
|
|
265
|
+
readonly type: "string";
|
|
266
|
+
}, {
|
|
267
|
+
readonly internalType: "string";
|
|
268
|
+
readonly name: "_symbol";
|
|
269
|
+
readonly type: "string";
|
|
270
|
+
}, {
|
|
271
|
+
readonly internalType: "string";
|
|
272
|
+
readonly name: "baseURI";
|
|
273
|
+
readonly type: "string";
|
|
274
|
+
}, {
|
|
275
|
+
readonly internalType: "string";
|
|
276
|
+
readonly name: "contractURI";
|
|
277
|
+
readonly type: "string";
|
|
278
|
+
}, {
|
|
279
|
+
readonly internalType: "address";
|
|
280
|
+
readonly name: "transferProxy";
|
|
281
|
+
readonly type: "address";
|
|
282
|
+
}, {
|
|
283
|
+
readonly internalType: "address";
|
|
284
|
+
readonly name: "lazyTransferProxy";
|
|
285
|
+
readonly type: "address";
|
|
286
|
+
}];
|
|
287
|
+
readonly name: "__ERC721Rarible_init";
|
|
288
|
+
readonly outputs: readonly [];
|
|
289
|
+
readonly stateMutability: "nonpayable";
|
|
290
|
+
readonly type: "function";
|
|
189
291
|
}, {
|
|
190
|
-
readonly constant: false;
|
|
191
292
|
readonly inputs: readonly [{
|
|
192
293
|
readonly internalType: "address";
|
|
193
|
-
readonly name: "
|
|
294
|
+
readonly name: "minter";
|
|
194
295
|
readonly type: "address";
|
|
195
296
|
}];
|
|
196
|
-
readonly name: "
|
|
297
|
+
readonly name: "addMinter";
|
|
298
|
+
readonly outputs: readonly [];
|
|
299
|
+
readonly stateMutability: "nonpayable";
|
|
300
|
+
readonly type: "function";
|
|
301
|
+
}, {
|
|
302
|
+
readonly inputs: readonly [{
|
|
303
|
+
readonly internalType: "address[]";
|
|
304
|
+
readonly name: "minters";
|
|
305
|
+
readonly type: "address[]";
|
|
306
|
+
}];
|
|
307
|
+
readonly name: "addMinters";
|
|
197
308
|
readonly outputs: readonly [];
|
|
198
|
-
readonly payable: false;
|
|
199
309
|
readonly stateMutability: "nonpayable";
|
|
200
310
|
readonly type: "function";
|
|
201
311
|
}, {
|
|
202
|
-
readonly constant: true;
|
|
203
312
|
readonly inputs: readonly [{
|
|
204
313
|
readonly internalType: "address";
|
|
205
|
-
readonly name: "
|
|
314
|
+
readonly name: "to";
|
|
206
315
|
readonly type: "address";
|
|
207
316
|
}, {
|
|
208
317
|
readonly internalType: "uint256";
|
|
209
|
-
readonly name: "
|
|
318
|
+
readonly name: "tokenId";
|
|
210
319
|
readonly type: "uint256";
|
|
211
320
|
}];
|
|
321
|
+
readonly name: "approve";
|
|
322
|
+
readonly outputs: readonly [];
|
|
323
|
+
readonly stateMutability: "nonpayable";
|
|
324
|
+
readonly type: "function";
|
|
325
|
+
}, {
|
|
326
|
+
readonly inputs: readonly [{
|
|
327
|
+
readonly internalType: "address";
|
|
328
|
+
readonly name: "owner";
|
|
329
|
+
readonly type: "address";
|
|
330
|
+
}];
|
|
212
331
|
readonly name: "balanceOf";
|
|
213
332
|
readonly outputs: readonly [{
|
|
214
333
|
readonly internalType: "uint256";
|
|
215
334
|
readonly name: "";
|
|
216
335
|
readonly type: "uint256";
|
|
217
336
|
}];
|
|
218
|
-
readonly payable: false;
|
|
219
337
|
readonly stateMutability: "view";
|
|
220
338
|
readonly type: "function";
|
|
221
339
|
}, {
|
|
222
|
-
readonly
|
|
223
|
-
readonly
|
|
224
|
-
readonly internalType: "address[]";
|
|
225
|
-
readonly name: "_owners";
|
|
226
|
-
readonly type: "address[]";
|
|
227
|
-
}, {
|
|
228
|
-
readonly internalType: "uint256[]";
|
|
229
|
-
readonly name: "_ids";
|
|
230
|
-
readonly type: "uint256[]";
|
|
231
|
-
}];
|
|
232
|
-
readonly name: "balanceOfBatch";
|
|
340
|
+
readonly inputs: readonly [];
|
|
341
|
+
readonly name: "baseURI";
|
|
233
342
|
readonly outputs: readonly [{
|
|
234
|
-
readonly internalType: "
|
|
343
|
+
readonly internalType: "string";
|
|
235
344
|
readonly name: "";
|
|
236
|
-
readonly type: "
|
|
345
|
+
readonly type: "string";
|
|
237
346
|
}];
|
|
238
|
-
readonly payable: false;
|
|
239
347
|
readonly stateMutability: "view";
|
|
240
348
|
readonly type: "function";
|
|
241
349
|
}, {
|
|
242
|
-
readonly constant: false;
|
|
243
350
|
readonly inputs: readonly [{
|
|
244
|
-
readonly internalType: "address";
|
|
245
|
-
readonly name: "_owner";
|
|
246
|
-
readonly type: "address";
|
|
247
|
-
}, {
|
|
248
|
-
readonly internalType: "uint256";
|
|
249
|
-
readonly name: "_id";
|
|
250
|
-
readonly type: "uint256";
|
|
251
|
-
}, {
|
|
252
351
|
readonly internalType: "uint256";
|
|
253
|
-
readonly name: "
|
|
352
|
+
readonly name: "tokenId";
|
|
254
353
|
readonly type: "uint256";
|
|
255
354
|
}];
|
|
256
355
|
readonly name: "burn";
|
|
257
356
|
readonly outputs: readonly [];
|
|
258
|
-
readonly payable: false;
|
|
259
357
|
readonly stateMutability: "nonpayable";
|
|
260
358
|
readonly type: "function";
|
|
261
359
|
}, {
|
|
262
|
-
readonly constant: true;
|
|
263
360
|
readonly inputs: readonly [];
|
|
264
361
|
readonly name: "contractURI";
|
|
265
362
|
readonly outputs: readonly [{
|
|
@@ -267,90 +364,76 @@ export declare const RaribleToken_jsonAbi: readonly [{
|
|
|
267
364
|
readonly name: "";
|
|
268
365
|
readonly type: "string";
|
|
269
366
|
}];
|
|
270
|
-
readonly payable: false;
|
|
271
367
|
readonly stateMutability: "view";
|
|
272
368
|
readonly type: "function";
|
|
273
369
|
}, {
|
|
274
|
-
readonly constant: true;
|
|
275
370
|
readonly inputs: readonly [{
|
|
276
371
|
readonly internalType: "uint256";
|
|
277
|
-
readonly name: "";
|
|
372
|
+
readonly name: "tokenId";
|
|
278
373
|
readonly type: "uint256";
|
|
279
374
|
}];
|
|
280
|
-
readonly name: "
|
|
375
|
+
readonly name: "getApproved";
|
|
281
376
|
readonly outputs: readonly [{
|
|
282
377
|
readonly internalType: "address";
|
|
283
378
|
readonly name: "";
|
|
284
379
|
readonly type: "address";
|
|
285
380
|
}];
|
|
286
|
-
readonly payable: false;
|
|
287
|
-
readonly stateMutability: "view";
|
|
288
|
-
readonly type: "function";
|
|
289
|
-
}, {
|
|
290
|
-
readonly constant: true;
|
|
291
|
-
readonly inputs: readonly [{
|
|
292
|
-
readonly internalType: "uint256";
|
|
293
|
-
readonly name: "";
|
|
294
|
-
readonly type: "uint256";
|
|
295
|
-
}, {
|
|
296
|
-
readonly internalType: "uint256";
|
|
297
|
-
readonly name: "";
|
|
298
|
-
readonly type: "uint256";
|
|
299
|
-
}];
|
|
300
|
-
readonly name: "fees";
|
|
301
|
-
readonly outputs: readonly [{
|
|
302
|
-
readonly internalType: "address payable";
|
|
303
|
-
readonly name: "recipient";
|
|
304
|
-
readonly type: "address";
|
|
305
|
-
}, {
|
|
306
|
-
readonly internalType: "uint256";
|
|
307
|
-
readonly name: "value";
|
|
308
|
-
readonly type: "uint256";
|
|
309
|
-
}];
|
|
310
|
-
readonly payable: false;
|
|
311
381
|
readonly stateMutability: "view";
|
|
312
382
|
readonly type: "function";
|
|
313
383
|
}, {
|
|
314
|
-
readonly constant: true;
|
|
315
384
|
readonly inputs: readonly [{
|
|
316
385
|
readonly internalType: "uint256";
|
|
317
|
-
readonly name: "
|
|
386
|
+
readonly name: "_id";
|
|
318
387
|
readonly type: "uint256";
|
|
319
388
|
}];
|
|
320
|
-
readonly name: "
|
|
389
|
+
readonly name: "getCreators";
|
|
321
390
|
readonly outputs: readonly [{
|
|
322
|
-
readonly
|
|
391
|
+
readonly components: readonly [{
|
|
392
|
+
readonly internalType: "address payable";
|
|
393
|
+
readonly name: "account";
|
|
394
|
+
readonly type: "address";
|
|
395
|
+
}, {
|
|
396
|
+
readonly internalType: "uint96";
|
|
397
|
+
readonly name: "value";
|
|
398
|
+
readonly type: "uint96";
|
|
399
|
+
}];
|
|
400
|
+
readonly internalType: "struct LibPart.Part[]";
|
|
323
401
|
readonly name: "";
|
|
324
|
-
readonly type: "
|
|
402
|
+
readonly type: "tuple[]";
|
|
325
403
|
}];
|
|
326
|
-
readonly payable: false;
|
|
327
404
|
readonly stateMutability: "view";
|
|
328
405
|
readonly type: "function";
|
|
329
406
|
}, {
|
|
330
|
-
readonly constant: true;
|
|
331
407
|
readonly inputs: readonly [{
|
|
332
408
|
readonly internalType: "uint256";
|
|
333
409
|
readonly name: "id";
|
|
334
410
|
readonly type: "uint256";
|
|
335
411
|
}];
|
|
336
|
-
readonly name: "
|
|
412
|
+
readonly name: "getRaribleV2Royalties";
|
|
337
413
|
readonly outputs: readonly [{
|
|
338
|
-
readonly
|
|
414
|
+
readonly components: readonly [{
|
|
415
|
+
readonly internalType: "address payable";
|
|
416
|
+
readonly name: "account";
|
|
417
|
+
readonly type: "address";
|
|
418
|
+
}, {
|
|
419
|
+
readonly internalType: "uint96";
|
|
420
|
+
readonly name: "value";
|
|
421
|
+
readonly type: "uint96";
|
|
422
|
+
}];
|
|
423
|
+
readonly internalType: "struct LibPart.Part[]";
|
|
339
424
|
readonly name: "";
|
|
340
|
-
readonly type: "
|
|
425
|
+
readonly type: "tuple[]";
|
|
341
426
|
}];
|
|
342
|
-
readonly payable: false;
|
|
343
427
|
readonly stateMutability: "view";
|
|
344
428
|
readonly type: "function";
|
|
345
429
|
}, {
|
|
346
|
-
readonly constant: true;
|
|
347
430
|
readonly inputs: readonly [{
|
|
348
431
|
readonly internalType: "address";
|
|
349
|
-
readonly name: "
|
|
432
|
+
readonly name: "owner";
|
|
350
433
|
readonly type: "address";
|
|
351
434
|
}, {
|
|
352
435
|
readonly internalType: "address";
|
|
353
|
-
readonly name: "
|
|
436
|
+
readonly name: "operator";
|
|
354
437
|
readonly type: "address";
|
|
355
438
|
}];
|
|
356
439
|
readonly name: "isApprovedForAll";
|
|
@@ -359,84 +442,76 @@ export declare const RaribleToken_jsonAbi: readonly [{
|
|
|
359
442
|
readonly name: "";
|
|
360
443
|
readonly type: "bool";
|
|
361
444
|
}];
|
|
362
|
-
readonly payable: false;
|
|
363
|
-
readonly stateMutability: "view";
|
|
364
|
-
readonly type: "function";
|
|
365
|
-
}, {
|
|
366
|
-
readonly constant: true;
|
|
367
|
-
readonly inputs: readonly [];
|
|
368
|
-
readonly name: "isOwner";
|
|
369
|
-
readonly outputs: readonly [{
|
|
370
|
-
readonly internalType: "bool";
|
|
371
|
-
readonly name: "";
|
|
372
|
-
readonly type: "bool";
|
|
373
|
-
}];
|
|
374
|
-
readonly payable: false;
|
|
375
445
|
readonly stateMutability: "view";
|
|
376
446
|
readonly type: "function";
|
|
377
447
|
}, {
|
|
378
|
-
readonly constant: true;
|
|
379
448
|
readonly inputs: readonly [{
|
|
380
449
|
readonly internalType: "address";
|
|
381
450
|
readonly name: "account";
|
|
382
451
|
readonly type: "address";
|
|
383
452
|
}];
|
|
384
|
-
readonly name: "
|
|
453
|
+
readonly name: "isMinter";
|
|
385
454
|
readonly outputs: readonly [{
|
|
386
455
|
readonly internalType: "bool";
|
|
387
456
|
readonly name: "";
|
|
388
457
|
readonly type: "bool";
|
|
389
458
|
}];
|
|
390
|
-
readonly payable: false;
|
|
391
459
|
readonly stateMutability: "view";
|
|
392
460
|
readonly type: "function";
|
|
393
461
|
}, {
|
|
394
|
-
readonly constant: false;
|
|
395
462
|
readonly inputs: readonly [{
|
|
396
|
-
readonly internalType: "uint256";
|
|
397
|
-
readonly name: "id";
|
|
398
|
-
readonly type: "uint256";
|
|
399
|
-
}, {
|
|
400
|
-
readonly internalType: "uint8";
|
|
401
|
-
readonly name: "v";
|
|
402
|
-
readonly type: "uint8";
|
|
403
|
-
}, {
|
|
404
|
-
readonly internalType: "bytes32";
|
|
405
|
-
readonly name: "r";
|
|
406
|
-
readonly type: "bytes32";
|
|
407
|
-
}, {
|
|
408
|
-
readonly internalType: "bytes32";
|
|
409
|
-
readonly name: "s";
|
|
410
|
-
readonly type: "bytes32";
|
|
411
|
-
}, {
|
|
412
463
|
readonly components: readonly [{
|
|
413
|
-
readonly internalType: "address payable";
|
|
414
|
-
readonly name: "recipient";
|
|
415
|
-
readonly type: "address";
|
|
416
|
-
}, {
|
|
417
464
|
readonly internalType: "uint256";
|
|
418
|
-
readonly name: "
|
|
465
|
+
readonly name: "tokenId";
|
|
419
466
|
readonly type: "uint256";
|
|
467
|
+
}, {
|
|
468
|
+
readonly internalType: "string";
|
|
469
|
+
readonly name: "tokenURI";
|
|
470
|
+
readonly type: "string";
|
|
471
|
+
}, {
|
|
472
|
+
readonly components: readonly [{
|
|
473
|
+
readonly internalType: "address payable";
|
|
474
|
+
readonly name: "account";
|
|
475
|
+
readonly type: "address";
|
|
476
|
+
}, {
|
|
477
|
+
readonly internalType: "uint96";
|
|
478
|
+
readonly name: "value";
|
|
479
|
+
readonly type: "uint96";
|
|
480
|
+
}];
|
|
481
|
+
readonly internalType: "struct LibPart.Part[]";
|
|
482
|
+
readonly name: "creators";
|
|
483
|
+
readonly type: "tuple[]";
|
|
484
|
+
}, {
|
|
485
|
+
readonly components: readonly [{
|
|
486
|
+
readonly internalType: "address payable";
|
|
487
|
+
readonly name: "account";
|
|
488
|
+
readonly type: "address";
|
|
489
|
+
}, {
|
|
490
|
+
readonly internalType: "uint96";
|
|
491
|
+
readonly name: "value";
|
|
492
|
+
readonly type: "uint96";
|
|
493
|
+
}];
|
|
494
|
+
readonly internalType: "struct LibPart.Part[]";
|
|
495
|
+
readonly name: "royalties";
|
|
496
|
+
readonly type: "tuple[]";
|
|
497
|
+
}, {
|
|
498
|
+
readonly internalType: "bytes[]";
|
|
499
|
+
readonly name: "signatures";
|
|
500
|
+
readonly type: "bytes[]";
|
|
420
501
|
}];
|
|
421
|
-
readonly internalType: "struct
|
|
422
|
-
readonly name: "
|
|
423
|
-
readonly type: "tuple
|
|
424
|
-
}, {
|
|
425
|
-
readonly internalType: "uint256";
|
|
426
|
-
readonly name: "supply";
|
|
427
|
-
readonly type: "uint256";
|
|
502
|
+
readonly internalType: "struct LibERC721LazyMint.Mint721Data";
|
|
503
|
+
readonly name: "data";
|
|
504
|
+
readonly type: "tuple";
|
|
428
505
|
}, {
|
|
429
|
-
readonly internalType: "
|
|
430
|
-
readonly name: "
|
|
431
|
-
readonly type: "
|
|
506
|
+
readonly internalType: "address";
|
|
507
|
+
readonly name: "to";
|
|
508
|
+
readonly type: "address";
|
|
432
509
|
}];
|
|
433
|
-
readonly name: "
|
|
510
|
+
readonly name: "mintAndTransfer";
|
|
434
511
|
readonly outputs: readonly [];
|
|
435
|
-
readonly payable: false;
|
|
436
512
|
readonly stateMutability: "nonpayable";
|
|
437
513
|
readonly type: "function";
|
|
438
514
|
}, {
|
|
439
|
-
readonly constant: true;
|
|
440
515
|
readonly inputs: readonly [];
|
|
441
516
|
readonly name: "name";
|
|
442
517
|
readonly outputs: readonly [{
|
|
@@ -444,11 +519,9 @@ export declare const RaribleToken_jsonAbi: readonly [{
|
|
|
444
519
|
readonly name: "";
|
|
445
520
|
readonly type: "string";
|
|
446
521
|
}];
|
|
447
|
-
readonly payable: false;
|
|
448
522
|
readonly stateMutability: "view";
|
|
449
523
|
readonly type: "function";
|
|
450
524
|
}, {
|
|
451
|
-
readonly constant: true;
|
|
452
525
|
readonly inputs: readonly [];
|
|
453
526
|
readonly name: "owner";
|
|
454
527
|
readonly outputs: readonly [{
|
|
@@ -456,82 +529,90 @@ export declare const RaribleToken_jsonAbi: readonly [{
|
|
|
456
529
|
readonly name: "";
|
|
457
530
|
readonly type: "address";
|
|
458
531
|
}];
|
|
459
|
-
readonly payable: false;
|
|
460
532
|
readonly stateMutability: "view";
|
|
461
533
|
readonly type: "function";
|
|
462
534
|
}, {
|
|
463
|
-
readonly constant: false;
|
|
464
535
|
readonly inputs: readonly [{
|
|
536
|
+
readonly internalType: "uint256";
|
|
537
|
+
readonly name: "tokenId";
|
|
538
|
+
readonly type: "uint256";
|
|
539
|
+
}];
|
|
540
|
+
readonly name: "ownerOf";
|
|
541
|
+
readonly outputs: readonly [{
|
|
465
542
|
readonly internalType: "address";
|
|
466
|
-
readonly name: "
|
|
543
|
+
readonly name: "";
|
|
467
544
|
readonly type: "address";
|
|
468
545
|
}];
|
|
469
|
-
readonly
|
|
470
|
-
readonly outputs: readonly [];
|
|
471
|
-
readonly payable: false;
|
|
472
|
-
readonly stateMutability: "nonpayable";
|
|
546
|
+
readonly stateMutability: "view";
|
|
473
547
|
readonly type: "function";
|
|
474
548
|
}, {
|
|
475
|
-
readonly
|
|
476
|
-
|
|
477
|
-
|
|
549
|
+
readonly inputs: readonly [{
|
|
550
|
+
readonly internalType: "address";
|
|
551
|
+
readonly name: "_minter";
|
|
552
|
+
readonly type: "address";
|
|
553
|
+
}];
|
|
554
|
+
readonly name: "removeMinter";
|
|
478
555
|
readonly outputs: readonly [];
|
|
479
|
-
readonly payable: false;
|
|
480
556
|
readonly stateMutability: "nonpayable";
|
|
481
557
|
readonly type: "function";
|
|
482
558
|
}, {
|
|
483
|
-
readonly constant: false;
|
|
484
559
|
readonly inputs: readonly [];
|
|
485
|
-
readonly name: "
|
|
560
|
+
readonly name: "renounceOwnership";
|
|
486
561
|
readonly outputs: readonly [];
|
|
487
|
-
readonly payable: false;
|
|
488
562
|
readonly stateMutability: "nonpayable";
|
|
489
563
|
readonly type: "function";
|
|
490
564
|
}, {
|
|
491
|
-
readonly constant: false;
|
|
492
565
|
readonly inputs: readonly [{
|
|
566
|
+
readonly internalType: "uint256";
|
|
567
|
+
readonly name: "id";
|
|
568
|
+
readonly type: "uint256";
|
|
569
|
+
}, {
|
|
570
|
+
readonly internalType: "uint256";
|
|
571
|
+
readonly name: "_salePrice";
|
|
572
|
+
readonly type: "uint256";
|
|
573
|
+
}];
|
|
574
|
+
readonly name: "royaltyInfo";
|
|
575
|
+
readonly outputs: readonly [{
|
|
493
576
|
readonly internalType: "address";
|
|
494
|
-
readonly name: "
|
|
577
|
+
readonly name: "receiver";
|
|
495
578
|
readonly type: "address";
|
|
496
579
|
}, {
|
|
580
|
+
readonly internalType: "uint256";
|
|
581
|
+
readonly name: "royaltyAmount";
|
|
582
|
+
readonly type: "uint256";
|
|
583
|
+
}];
|
|
584
|
+
readonly stateMutability: "view";
|
|
585
|
+
readonly type: "function";
|
|
586
|
+
}, {
|
|
587
|
+
readonly inputs: readonly [{
|
|
497
588
|
readonly internalType: "address";
|
|
498
|
-
readonly name: "
|
|
589
|
+
readonly name: "from";
|
|
499
590
|
readonly type: "address";
|
|
500
591
|
}, {
|
|
501
|
-
readonly internalType: "
|
|
502
|
-
readonly name: "
|
|
503
|
-
readonly type: "
|
|
504
|
-
}, {
|
|
505
|
-
readonly internalType: "uint256
|
|
506
|
-
readonly name: "
|
|
507
|
-
readonly type: "uint256
|
|
508
|
-
}, {
|
|
509
|
-
readonly internalType: "bytes";
|
|
510
|
-
readonly name: "_data";
|
|
511
|
-
readonly type: "bytes";
|
|
592
|
+
readonly internalType: "address";
|
|
593
|
+
readonly name: "to";
|
|
594
|
+
readonly type: "address";
|
|
595
|
+
}, {
|
|
596
|
+
readonly internalType: "uint256";
|
|
597
|
+
readonly name: "tokenId";
|
|
598
|
+
readonly type: "uint256";
|
|
512
599
|
}];
|
|
513
|
-
readonly name: "
|
|
600
|
+
readonly name: "safeTransferFrom";
|
|
514
601
|
readonly outputs: readonly [];
|
|
515
|
-
readonly payable: false;
|
|
516
602
|
readonly stateMutability: "nonpayable";
|
|
517
603
|
readonly type: "function";
|
|
518
604
|
}, {
|
|
519
|
-
readonly constant: false;
|
|
520
605
|
readonly inputs: readonly [{
|
|
521
606
|
readonly internalType: "address";
|
|
522
|
-
readonly name: "
|
|
607
|
+
readonly name: "from";
|
|
523
608
|
readonly type: "address";
|
|
524
609
|
}, {
|
|
525
610
|
readonly internalType: "address";
|
|
526
|
-
readonly name: "
|
|
611
|
+
readonly name: "to";
|
|
527
612
|
readonly type: "address";
|
|
528
613
|
}, {
|
|
529
614
|
readonly internalType: "uint256";
|
|
530
|
-
readonly name: "
|
|
531
|
-
readonly type: "uint256";
|
|
532
|
-
}, {
|
|
533
|
-
readonly internalType: "uint256";
|
|
534
|
-
readonly name: "_value";
|
|
615
|
+
readonly name: "tokenId";
|
|
535
616
|
readonly type: "uint256";
|
|
536
617
|
}, {
|
|
537
618
|
readonly internalType: "bytes";
|
|
@@ -540,51 +621,33 @@ export declare const RaribleToken_jsonAbi: readonly [{
|
|
|
540
621
|
}];
|
|
541
622
|
readonly name: "safeTransferFrom";
|
|
542
623
|
readonly outputs: readonly [];
|
|
543
|
-
readonly payable: false;
|
|
544
624
|
readonly stateMutability: "nonpayable";
|
|
545
625
|
readonly type: "function";
|
|
546
626
|
}, {
|
|
547
|
-
readonly constant: false;
|
|
548
627
|
readonly inputs: readonly [{
|
|
549
628
|
readonly internalType: "address";
|
|
550
|
-
readonly name: "
|
|
629
|
+
readonly name: "operator";
|
|
551
630
|
readonly type: "address";
|
|
552
631
|
}, {
|
|
553
632
|
readonly internalType: "bool";
|
|
554
|
-
readonly name: "
|
|
633
|
+
readonly name: "approved";
|
|
555
634
|
readonly type: "bool";
|
|
556
635
|
}];
|
|
557
636
|
readonly name: "setApprovalForAll";
|
|
558
637
|
readonly outputs: readonly [];
|
|
559
|
-
readonly payable: false;
|
|
560
|
-
readonly stateMutability: "nonpayable";
|
|
561
|
-
readonly type: "function";
|
|
562
|
-
}, {
|
|
563
|
-
readonly constant: false;
|
|
564
|
-
readonly inputs: readonly [{
|
|
565
|
-
readonly internalType: "string";
|
|
566
|
-
readonly name: "contractURI";
|
|
567
|
-
readonly type: "string";
|
|
568
|
-
}];
|
|
569
|
-
readonly name: "setContractURI";
|
|
570
|
-
readonly outputs: readonly [];
|
|
571
|
-
readonly payable: false;
|
|
572
638
|
readonly stateMutability: "nonpayable";
|
|
573
639
|
readonly type: "function";
|
|
574
640
|
}, {
|
|
575
|
-
readonly constant: false;
|
|
576
641
|
readonly inputs: readonly [{
|
|
577
642
|
readonly internalType: "string";
|
|
578
|
-
readonly name: "
|
|
643
|
+
readonly name: "newBaseURI";
|
|
579
644
|
readonly type: "string";
|
|
580
645
|
}];
|
|
581
|
-
readonly name: "
|
|
646
|
+
readonly name: "setBaseURI";
|
|
582
647
|
readonly outputs: readonly [];
|
|
583
|
-
readonly payable: false;
|
|
584
648
|
readonly stateMutability: "nonpayable";
|
|
585
649
|
readonly type: "function";
|
|
586
650
|
}, {
|
|
587
|
-
readonly constant: true;
|
|
588
651
|
readonly inputs: readonly [{
|
|
589
652
|
readonly internalType: "bytes4";
|
|
590
653
|
readonly name: "interfaceId";
|
|
@@ -596,11 +659,9 @@ export declare const RaribleToken_jsonAbi: readonly [{
|
|
|
596
659
|
readonly name: "";
|
|
597
660
|
readonly type: "bool";
|
|
598
661
|
}];
|
|
599
|
-
readonly payable: false;
|
|
600
662
|
readonly stateMutability: "view";
|
|
601
663
|
readonly type: "function";
|
|
602
664
|
}, {
|
|
603
|
-
readonly constant: true;
|
|
604
665
|
readonly inputs: readonly [];
|
|
605
666
|
readonly name: "symbol";
|
|
606
667
|
readonly outputs: readonly [{
|
|
@@ -608,23 +669,98 @@ export declare const RaribleToken_jsonAbi: readonly [{
|
|
|
608
669
|
readonly name: "";
|
|
609
670
|
readonly type: "string";
|
|
610
671
|
}];
|
|
611
|
-
readonly payable: false;
|
|
612
672
|
readonly stateMutability: "view";
|
|
613
673
|
readonly type: "function";
|
|
614
674
|
}, {
|
|
615
|
-
readonly
|
|
616
|
-
|
|
617
|
-
|
|
675
|
+
readonly inputs: readonly [{
|
|
676
|
+
readonly internalType: "uint256";
|
|
677
|
+
readonly name: "tokenId";
|
|
678
|
+
readonly type: "uint256";
|
|
679
|
+
}];
|
|
680
|
+
readonly name: "tokenURI";
|
|
618
681
|
readonly outputs: readonly [{
|
|
619
682
|
readonly internalType: "string";
|
|
620
683
|
readonly name: "";
|
|
621
684
|
readonly type: "string";
|
|
622
685
|
}];
|
|
623
|
-
readonly payable: false;
|
|
624
686
|
readonly stateMutability: "view";
|
|
625
687
|
readonly type: "function";
|
|
626
688
|
}, {
|
|
627
|
-
readonly
|
|
689
|
+
readonly inputs: readonly [{
|
|
690
|
+
readonly internalType: "address";
|
|
691
|
+
readonly name: "from";
|
|
692
|
+
readonly type: "address";
|
|
693
|
+
}, {
|
|
694
|
+
readonly internalType: "address";
|
|
695
|
+
readonly name: "to";
|
|
696
|
+
readonly type: "address";
|
|
697
|
+
}, {
|
|
698
|
+
readonly internalType: "uint256";
|
|
699
|
+
readonly name: "tokenId";
|
|
700
|
+
readonly type: "uint256";
|
|
701
|
+
}];
|
|
702
|
+
readonly name: "transferFrom";
|
|
703
|
+
readonly outputs: readonly [];
|
|
704
|
+
readonly stateMutability: "nonpayable";
|
|
705
|
+
readonly type: "function";
|
|
706
|
+
}, {
|
|
707
|
+
readonly inputs: readonly [{
|
|
708
|
+
readonly components: readonly [{
|
|
709
|
+
readonly internalType: "uint256";
|
|
710
|
+
readonly name: "tokenId";
|
|
711
|
+
readonly type: "uint256";
|
|
712
|
+
}, {
|
|
713
|
+
readonly internalType: "string";
|
|
714
|
+
readonly name: "tokenURI";
|
|
715
|
+
readonly type: "string";
|
|
716
|
+
}, {
|
|
717
|
+
readonly components: readonly [{
|
|
718
|
+
readonly internalType: "address payable";
|
|
719
|
+
readonly name: "account";
|
|
720
|
+
readonly type: "address";
|
|
721
|
+
}, {
|
|
722
|
+
readonly internalType: "uint96";
|
|
723
|
+
readonly name: "value";
|
|
724
|
+
readonly type: "uint96";
|
|
725
|
+
}];
|
|
726
|
+
readonly internalType: "struct LibPart.Part[]";
|
|
727
|
+
readonly name: "creators";
|
|
728
|
+
readonly type: "tuple[]";
|
|
729
|
+
}, {
|
|
730
|
+
readonly components: readonly [{
|
|
731
|
+
readonly internalType: "address payable";
|
|
732
|
+
readonly name: "account";
|
|
733
|
+
readonly type: "address";
|
|
734
|
+
}, {
|
|
735
|
+
readonly internalType: "uint96";
|
|
736
|
+
readonly name: "value";
|
|
737
|
+
readonly type: "uint96";
|
|
738
|
+
}];
|
|
739
|
+
readonly internalType: "struct LibPart.Part[]";
|
|
740
|
+
readonly name: "royalties";
|
|
741
|
+
readonly type: "tuple[]";
|
|
742
|
+
}, {
|
|
743
|
+
readonly internalType: "bytes[]";
|
|
744
|
+
readonly name: "signatures";
|
|
745
|
+
readonly type: "bytes[]";
|
|
746
|
+
}];
|
|
747
|
+
readonly internalType: "struct LibERC721LazyMint.Mint721Data";
|
|
748
|
+
readonly name: "data";
|
|
749
|
+
readonly type: "tuple";
|
|
750
|
+
}, {
|
|
751
|
+
readonly internalType: "address";
|
|
752
|
+
readonly name: "from";
|
|
753
|
+
readonly type: "address";
|
|
754
|
+
}, {
|
|
755
|
+
readonly internalType: "address";
|
|
756
|
+
readonly name: "to";
|
|
757
|
+
readonly type: "address";
|
|
758
|
+
}];
|
|
759
|
+
readonly name: "transferFromOrMint";
|
|
760
|
+
readonly outputs: readonly [];
|
|
761
|
+
readonly stateMutability: "nonpayable";
|
|
762
|
+
readonly type: "function";
|
|
763
|
+
}, {
|
|
628
764
|
readonly inputs: readonly [{
|
|
629
765
|
readonly internalType: "address";
|
|
630
766
|
readonly name: "newOwner";
|
|
@@ -632,36 +768,37 @@ export declare const RaribleToken_jsonAbi: readonly [{
|
|
|
632
768
|
}];
|
|
633
769
|
readonly name: "transferOwnership";
|
|
634
770
|
readonly outputs: readonly [];
|
|
635
|
-
readonly payable: false;
|
|
636
771
|
readonly stateMutability: "nonpayable";
|
|
637
772
|
readonly type: "function";
|
|
638
773
|
}, {
|
|
639
|
-
readonly constant: true;
|
|
640
774
|
readonly inputs: readonly [{
|
|
641
775
|
readonly internalType: "uint256";
|
|
642
776
|
readonly name: "_id";
|
|
643
777
|
readonly type: "uint256";
|
|
778
|
+
}, {
|
|
779
|
+
readonly internalType: "address";
|
|
780
|
+
readonly name: "_from";
|
|
781
|
+
readonly type: "address";
|
|
782
|
+
}, {
|
|
783
|
+
readonly internalType: "address";
|
|
784
|
+
readonly name: "_to";
|
|
785
|
+
readonly type: "address";
|
|
644
786
|
}];
|
|
645
|
-
readonly name: "
|
|
646
|
-
readonly outputs: readonly [
|
|
647
|
-
|
|
648
|
-
readonly name: "";
|
|
649
|
-
readonly type: "string";
|
|
650
|
-
}];
|
|
651
|
-
readonly payable: false;
|
|
652
|
-
readonly stateMutability: "view";
|
|
787
|
+
readonly name: "updateAccount";
|
|
788
|
+
readonly outputs: readonly [];
|
|
789
|
+
readonly stateMutability: "nonpayable";
|
|
653
790
|
readonly type: "function";
|
|
654
791
|
}];
|
|
655
792
|
/**
|
|
656
|
-
* Type-safe ABI for
|
|
793
|
+
* Type-safe ABI for ERC721RaribleMinimal
|
|
657
794
|
*/
|
|
658
|
-
export type
|
|
795
|
+
export type ERC721RaribleMinimalAbi = typeof ERC721RaribleMinimalAbi;
|
|
659
796
|
/**
|
|
660
|
-
* Contract instance type for
|
|
797
|
+
* Contract instance type for ERC721RaribleMinimal
|
|
661
798
|
*/
|
|
662
|
-
export type
|
|
799
|
+
export type ERC721RaribleMinimalContract = any;
|
|
663
800
|
/**
|
|
664
|
-
*
|
|
801
|
+
* ERC721RaribleMinimal Contract Class
|
|
665
802
|
*
|
|
666
803
|
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
667
804
|
*
|
|
@@ -669,12 +806,12 @@ export type RaribleToken_jsonContract = any;
|
|
|
669
806
|
* ```typescript
|
|
670
807
|
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
671
808
|
* import { mainnet } from 'viem/chains';
|
|
672
|
-
* import {
|
|
809
|
+
* import { ERC721RaribleMinimal } from 'ERC721RaribleMinimal';
|
|
673
810
|
*
|
|
674
811
|
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
675
812
|
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
676
813
|
*
|
|
677
|
-
* const contract = new
|
|
814
|
+
* const contract = new ERC721RaribleMinimal('0x...', { publicClient, walletClient });
|
|
678
815
|
*
|
|
679
816
|
* // Read functions
|
|
680
817
|
* const result = await contract.balanceOf('0x...');
|
|
@@ -692,7 +829,7 @@ export type RaribleToken_jsonContract = any;
|
|
|
692
829
|
* });
|
|
693
830
|
* ```
|
|
694
831
|
*/
|
|
695
|
-
export declare class
|
|
832
|
+
export declare class ERC721RaribleMinimal {
|
|
696
833
|
private contract;
|
|
697
834
|
private contractAddress;
|
|
698
835
|
private publicClient;
|
|
@@ -705,69 +842,69 @@ export declare class RaribleToken_json {
|
|
|
705
842
|
*/
|
|
706
843
|
get address(): Address;
|
|
707
844
|
/**
|
|
708
|
-
* Get the underlying viem contract instance
|
|
845
|
+
* Get the underlying viem contract instance.
|
|
709
846
|
*/
|
|
710
|
-
getContract():
|
|
847
|
+
getContract(): ERC721RaribleMinimalContract;
|
|
711
848
|
/**
|
|
712
849
|
* balanceOf
|
|
713
850
|
* view
|
|
714
851
|
*/
|
|
715
|
-
balanceOf(
|
|
852
|
+
balanceOf(owner: `0x${string}`): Promise<bigint>;
|
|
716
853
|
/**
|
|
717
|
-
*
|
|
854
|
+
* baseURI
|
|
718
855
|
* view
|
|
719
856
|
*/
|
|
720
|
-
|
|
857
|
+
baseURI(): Promise<string>;
|
|
721
858
|
/**
|
|
722
859
|
* contractURI
|
|
723
860
|
* view
|
|
724
861
|
*/
|
|
725
862
|
contractURI(): Promise<string>;
|
|
726
863
|
/**
|
|
727
|
-
*
|
|
864
|
+
* getApproved
|
|
728
865
|
* view
|
|
729
866
|
*/
|
|
730
|
-
|
|
867
|
+
getApproved(tokenId: bigint): Promise<`0x${string}`>;
|
|
731
868
|
/**
|
|
732
|
-
*
|
|
869
|
+
* getCreators
|
|
733
870
|
* view
|
|
734
871
|
*/
|
|
735
|
-
|
|
872
|
+
getCreators(_id: bigint): Promise<LibPart_Part[]>;
|
|
736
873
|
/**
|
|
737
|
-
*
|
|
874
|
+
* getRaribleV2Royalties
|
|
738
875
|
* view
|
|
739
876
|
*/
|
|
740
|
-
|
|
877
|
+
getRaribleV2Royalties(id: bigint): Promise<LibPart_Part[]>;
|
|
741
878
|
/**
|
|
742
|
-
*
|
|
879
|
+
* isApprovedForAll
|
|
743
880
|
* view
|
|
744
881
|
*/
|
|
745
|
-
|
|
882
|
+
isApprovedForAll(owner: `0x${string}`, operator: `0x${string}`): Promise<boolean>;
|
|
746
883
|
/**
|
|
747
|
-
*
|
|
884
|
+
* isMinter
|
|
748
885
|
* view
|
|
749
886
|
*/
|
|
750
|
-
|
|
887
|
+
isMinter(account: `0x${string}`): Promise<boolean>;
|
|
751
888
|
/**
|
|
752
|
-
*
|
|
889
|
+
* name
|
|
753
890
|
* view
|
|
754
891
|
*/
|
|
755
|
-
|
|
892
|
+
name(): Promise<string>;
|
|
756
893
|
/**
|
|
757
|
-
*
|
|
894
|
+
* owner
|
|
758
895
|
* view
|
|
759
896
|
*/
|
|
760
|
-
|
|
897
|
+
owner(): Promise<`0x${string}`>;
|
|
761
898
|
/**
|
|
762
|
-
*
|
|
899
|
+
* ownerOf
|
|
763
900
|
* view
|
|
764
901
|
*/
|
|
765
|
-
|
|
902
|
+
ownerOf(tokenId: bigint): Promise<`0x${string}`>;
|
|
766
903
|
/**
|
|
767
|
-
*
|
|
904
|
+
* royaltyInfo
|
|
768
905
|
* view
|
|
769
906
|
*/
|
|
770
|
-
|
|
907
|
+
royaltyInfo(id: bigint, _salePrice: bigint): Promise<[`0x${string}`, bigint]>;
|
|
771
908
|
/**
|
|
772
909
|
* supportsInterface
|
|
773
910
|
* view
|
|
@@ -779,21 +916,33 @@ export declare class RaribleToken_json {
|
|
|
779
916
|
*/
|
|
780
917
|
symbol(): Promise<string>;
|
|
781
918
|
/**
|
|
782
|
-
*
|
|
919
|
+
* tokenURI
|
|
783
920
|
* view
|
|
784
921
|
*/
|
|
785
|
-
|
|
922
|
+
tokenURI(tokenId: bigint): Promise<string>;
|
|
786
923
|
/**
|
|
787
|
-
*
|
|
788
|
-
*
|
|
924
|
+
* __ERC721RaribleUser_init
|
|
925
|
+
* nonpayable
|
|
926
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
789
927
|
*/
|
|
790
|
-
|
|
928
|
+
__ERC721RaribleUser_init(_name: string, _symbol: string, baseURI: string, contractURI: string, operators: `0x${string}`[], transferProxy: `0x${string}`, lazyTransferProxy: `0x${string}`, options?: {
|
|
929
|
+
accessList?: import('viem').AccessList;
|
|
930
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
931
|
+
chain?: import('viem').Chain | null;
|
|
932
|
+
dataSuffix?: `0x${string}`;
|
|
933
|
+
gas?: bigint;
|
|
934
|
+
gasPrice?: bigint;
|
|
935
|
+
maxFeePerGas?: bigint;
|
|
936
|
+
maxPriorityFeePerGas?: bigint;
|
|
937
|
+
nonce?: number;
|
|
938
|
+
value?: bigint;
|
|
939
|
+
}): Promise<`0x${string}`>;
|
|
791
940
|
/**
|
|
792
|
-
*
|
|
941
|
+
* __ERC721Rarible_init
|
|
793
942
|
* nonpayable
|
|
794
943
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
795
944
|
*/
|
|
796
|
-
|
|
945
|
+
__ERC721Rarible_init(_name: string, _symbol: string, baseURI: string, contractURI: string, transferProxy: `0x${string}`, lazyTransferProxy: `0x${string}`, options?: {
|
|
797
946
|
accessList?: import('viem').AccessList;
|
|
798
947
|
authorizationList?: import('viem').AuthorizationList;
|
|
799
948
|
chain?: import('viem').Chain | null;
|
|
@@ -806,11 +955,11 @@ export declare class RaribleToken_json {
|
|
|
806
955
|
value?: bigint;
|
|
807
956
|
}): Promise<`0x${string}`>;
|
|
808
957
|
/**
|
|
809
|
-
*
|
|
958
|
+
* addMinter
|
|
810
959
|
* nonpayable
|
|
811
960
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
812
961
|
*/
|
|
813
|
-
|
|
962
|
+
addMinter(minter: `0x${string}`, options?: {
|
|
814
963
|
accessList?: import('viem').AccessList;
|
|
815
964
|
authorizationList?: import('viem').AuthorizationList;
|
|
816
965
|
chain?: import('viem').Chain | null;
|
|
@@ -823,11 +972,11 @@ export declare class RaribleToken_json {
|
|
|
823
972
|
value?: bigint;
|
|
824
973
|
}): Promise<`0x${string}`>;
|
|
825
974
|
/**
|
|
826
|
-
*
|
|
975
|
+
* addMinters
|
|
827
976
|
* nonpayable
|
|
828
977
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
829
978
|
*/
|
|
830
|
-
|
|
979
|
+
addMinters(minters: `0x${string}`[], options?: {
|
|
831
980
|
accessList?: import('viem').AccessList;
|
|
832
981
|
authorizationList?: import('viem').AuthorizationList;
|
|
833
982
|
chain?: import('viem').Chain | null;
|
|
@@ -840,11 +989,11 @@ export declare class RaribleToken_json {
|
|
|
840
989
|
value?: bigint;
|
|
841
990
|
}): Promise<`0x${string}`>;
|
|
842
991
|
/**
|
|
843
|
-
*
|
|
992
|
+
* approve
|
|
844
993
|
* nonpayable
|
|
845
994
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
846
995
|
*/
|
|
847
|
-
|
|
996
|
+
approve(to: `0x${string}`, tokenId: bigint, options?: {
|
|
848
997
|
accessList?: import('viem').AccessList;
|
|
849
998
|
authorizationList?: import('viem').AuthorizationList;
|
|
850
999
|
chain?: import('viem').Chain | null;
|
|
@@ -857,11 +1006,11 @@ export declare class RaribleToken_json {
|
|
|
857
1006
|
value?: bigint;
|
|
858
1007
|
}): Promise<`0x${string}`>;
|
|
859
1008
|
/**
|
|
860
|
-
*
|
|
1009
|
+
* burn
|
|
861
1010
|
* nonpayable
|
|
862
1011
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
863
1012
|
*/
|
|
864
|
-
|
|
1013
|
+
burn(tokenId: bigint, options?: {
|
|
865
1014
|
accessList?: import('viem').AccessList;
|
|
866
1015
|
authorizationList?: import('viem').AuthorizationList;
|
|
867
1016
|
chain?: import('viem').Chain | null;
|
|
@@ -874,11 +1023,11 @@ export declare class RaribleToken_json {
|
|
|
874
1023
|
value?: bigint;
|
|
875
1024
|
}): Promise<`0x${string}`>;
|
|
876
1025
|
/**
|
|
877
|
-
*
|
|
1026
|
+
* mintAndTransfer
|
|
878
1027
|
* nonpayable
|
|
879
1028
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
880
1029
|
*/
|
|
881
|
-
|
|
1030
|
+
mintAndTransfer(data: LibERC721LazyMint_Mint721Data, to: `0x${string}`, options?: {
|
|
882
1031
|
accessList?: import('viem').AccessList;
|
|
883
1032
|
authorizationList?: import('viem').AuthorizationList;
|
|
884
1033
|
chain?: import('viem').Chain | null;
|
|
@@ -891,11 +1040,11 @@ export declare class RaribleToken_json {
|
|
|
891
1040
|
value?: bigint;
|
|
892
1041
|
}): Promise<`0x${string}`>;
|
|
893
1042
|
/**
|
|
894
|
-
*
|
|
1043
|
+
* removeMinter
|
|
895
1044
|
* nonpayable
|
|
896
1045
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
897
1046
|
*/
|
|
898
|
-
|
|
1047
|
+
removeMinter(_minter: `0x${string}`, options?: {
|
|
899
1048
|
accessList?: import('viem').AccessList;
|
|
900
1049
|
authorizationList?: import('viem').AuthorizationList;
|
|
901
1050
|
chain?: import('viem').Chain | null;
|
|
@@ -908,11 +1057,35 @@ export declare class RaribleToken_json {
|
|
|
908
1057
|
value?: bigint;
|
|
909
1058
|
}): Promise<`0x${string}`>;
|
|
910
1059
|
/**
|
|
911
|
-
*
|
|
1060
|
+
* renounceOwnership
|
|
912
1061
|
* nonpayable
|
|
913
1062
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
914
1063
|
*/
|
|
915
|
-
|
|
1064
|
+
renounceOwnership(options?: {
|
|
1065
|
+
accessList?: import('viem').AccessList;
|
|
1066
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1067
|
+
chain?: import('viem').Chain | null;
|
|
1068
|
+
dataSuffix?: `0x${string}`;
|
|
1069
|
+
gas?: bigint;
|
|
1070
|
+
gasPrice?: bigint;
|
|
1071
|
+
maxFeePerGas?: bigint;
|
|
1072
|
+
maxPriorityFeePerGas?: bigint;
|
|
1073
|
+
nonce?: number;
|
|
1074
|
+
value?: bigint;
|
|
1075
|
+
}): Promise<`0x${string}`>;
|
|
1076
|
+
safeTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
1077
|
+
accessList?: import('viem').AccessList;
|
|
1078
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1079
|
+
chain?: import('viem').Chain | null;
|
|
1080
|
+
dataSuffix?: `0x${string}`;
|
|
1081
|
+
gas?: bigint;
|
|
1082
|
+
gasPrice?: bigint;
|
|
1083
|
+
maxFeePerGas?: bigint;
|
|
1084
|
+
maxPriorityFeePerGas?: bigint;
|
|
1085
|
+
nonce?: number;
|
|
1086
|
+
value?: bigint;
|
|
1087
|
+
}): Promise<`0x${string}`>;
|
|
1088
|
+
safeTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, _data: `0x${string}`, options?: {
|
|
916
1089
|
accessList?: import('viem').AccessList;
|
|
917
1090
|
authorizationList?: import('viem').AuthorizationList;
|
|
918
1091
|
chain?: import('viem').Chain | null;
|
|
@@ -929,7 +1102,24 @@ export declare class RaribleToken_json {
|
|
|
929
1102
|
* nonpayable
|
|
930
1103
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
931
1104
|
*/
|
|
932
|
-
setApprovalForAll(
|
|
1105
|
+
setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
|
|
1106
|
+
accessList?: import('viem').AccessList;
|
|
1107
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1108
|
+
chain?: import('viem').Chain | null;
|
|
1109
|
+
dataSuffix?: `0x${string}`;
|
|
1110
|
+
gas?: bigint;
|
|
1111
|
+
gasPrice?: bigint;
|
|
1112
|
+
maxFeePerGas?: bigint;
|
|
1113
|
+
maxPriorityFeePerGas?: bigint;
|
|
1114
|
+
nonce?: number;
|
|
1115
|
+
value?: bigint;
|
|
1116
|
+
}): Promise<`0x${string}`>;
|
|
1117
|
+
/**
|
|
1118
|
+
* setBaseURI
|
|
1119
|
+
* nonpayable
|
|
1120
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1121
|
+
*/
|
|
1122
|
+
setBaseURI(newBaseURI: string, options?: {
|
|
933
1123
|
accessList?: import('viem').AccessList;
|
|
934
1124
|
authorizationList?: import('viem').AuthorizationList;
|
|
935
1125
|
chain?: import('viem').Chain | null;
|
|
@@ -942,11 +1132,11 @@ export declare class RaribleToken_json {
|
|
|
942
1132
|
value?: bigint;
|
|
943
1133
|
}): Promise<`0x${string}`>;
|
|
944
1134
|
/**
|
|
945
|
-
*
|
|
1135
|
+
* transferFrom
|
|
946
1136
|
* nonpayable
|
|
947
1137
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
948
1138
|
*/
|
|
949
|
-
|
|
1139
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
950
1140
|
accessList?: import('viem').AccessList;
|
|
951
1141
|
authorizationList?: import('viem').AuthorizationList;
|
|
952
1142
|
chain?: import('viem').Chain | null;
|
|
@@ -959,11 +1149,11 @@ export declare class RaribleToken_json {
|
|
|
959
1149
|
value?: bigint;
|
|
960
1150
|
}): Promise<`0x${string}`>;
|
|
961
1151
|
/**
|
|
962
|
-
*
|
|
1152
|
+
* transferFromOrMint
|
|
963
1153
|
* nonpayable
|
|
964
1154
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
965
1155
|
*/
|
|
966
|
-
|
|
1156
|
+
transferFromOrMint(data: LibERC721LazyMint_Mint721Data, from: `0x${string}`, to: `0x${string}`, options?: {
|
|
967
1157
|
accessList?: import('viem').AccessList;
|
|
968
1158
|
authorizationList?: import('viem').AuthorizationList;
|
|
969
1159
|
chain?: import('viem').Chain | null;
|
|
@@ -992,6 +1182,23 @@ export declare class RaribleToken_json {
|
|
|
992
1182
|
nonce?: number;
|
|
993
1183
|
value?: bigint;
|
|
994
1184
|
}): Promise<`0x${string}`>;
|
|
1185
|
+
/**
|
|
1186
|
+
* updateAccount
|
|
1187
|
+
* nonpayable
|
|
1188
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1189
|
+
*/
|
|
1190
|
+
updateAccount(_id: bigint, _from: `0x${string}`, _to: `0x${string}`, options?: {
|
|
1191
|
+
accessList?: import('viem').AccessList;
|
|
1192
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1193
|
+
chain?: import('viem').Chain | null;
|
|
1194
|
+
dataSuffix?: `0x${string}`;
|
|
1195
|
+
gas?: bigint;
|
|
1196
|
+
gasPrice?: bigint;
|
|
1197
|
+
maxFeePerGas?: bigint;
|
|
1198
|
+
maxPriorityFeePerGas?: bigint;
|
|
1199
|
+
nonce?: number;
|
|
1200
|
+
value?: bigint;
|
|
1201
|
+
}): Promise<`0x${string}`>;
|
|
995
1202
|
/**
|
|
996
1203
|
* Simulate contract write operations (dry-run without sending transaction)
|
|
997
1204
|
*
|
|
@@ -1002,11 +1209,11 @@ export declare class RaribleToken_json {
|
|
|
1002
1209
|
*/
|
|
1003
1210
|
get simulate(): {
|
|
1004
1211
|
/**
|
|
1005
|
-
* Simulate
|
|
1212
|
+
* Simulate __ERC721RaribleUser_init
|
|
1006
1213
|
* Returns gas estimate and result without sending transaction
|
|
1007
1214
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1008
1215
|
*/
|
|
1009
|
-
|
|
1216
|
+
__ERC721RaribleUser_init(_name: string, _symbol: string, baseURI: string, contractURI: string, operators: `0x${string}`[], transferProxy: `0x${string}`, lazyTransferProxy: `0x${string}`, options?: {
|
|
1010
1217
|
accessList?: import("viem").AccessList;
|
|
1011
1218
|
authorizationList?: import("viem").AuthorizationList;
|
|
1012
1219
|
chain?: import("viem").Chain | null;
|
|
@@ -1019,11 +1226,11 @@ export declare class RaribleToken_json {
|
|
|
1019
1226
|
value?: bigint;
|
|
1020
1227
|
}): Promise<void>;
|
|
1021
1228
|
/**
|
|
1022
|
-
* Simulate
|
|
1229
|
+
* Simulate __ERC721Rarible_init
|
|
1023
1230
|
* Returns gas estimate and result without sending transaction
|
|
1024
1231
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1025
1232
|
*/
|
|
1026
|
-
|
|
1233
|
+
__ERC721Rarible_init(_name: string, _symbol: string, baseURI: string, contractURI: string, transferProxy: `0x${string}`, lazyTransferProxy: `0x${string}`, options?: {
|
|
1027
1234
|
accessList?: import("viem").AccessList;
|
|
1028
1235
|
authorizationList?: import("viem").AuthorizationList;
|
|
1029
1236
|
chain?: import("viem").Chain | null;
|
|
@@ -1036,11 +1243,11 @@ export declare class RaribleToken_json {
|
|
|
1036
1243
|
value?: bigint;
|
|
1037
1244
|
}): Promise<void>;
|
|
1038
1245
|
/**
|
|
1039
|
-
* Simulate
|
|
1246
|
+
* Simulate addMinter
|
|
1040
1247
|
* Returns gas estimate and result without sending transaction
|
|
1041
1248
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1042
1249
|
*/
|
|
1043
|
-
|
|
1250
|
+
addMinter(minter: `0x${string}`, options?: {
|
|
1044
1251
|
accessList?: import("viem").AccessList;
|
|
1045
1252
|
authorizationList?: import("viem").AuthorizationList;
|
|
1046
1253
|
chain?: import("viem").Chain | null;
|
|
@@ -1053,11 +1260,11 @@ export declare class RaribleToken_json {
|
|
|
1053
1260
|
value?: bigint;
|
|
1054
1261
|
}): Promise<void>;
|
|
1055
1262
|
/**
|
|
1056
|
-
* Simulate
|
|
1263
|
+
* Simulate addMinters
|
|
1057
1264
|
* Returns gas estimate and result without sending transaction
|
|
1058
1265
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1059
1266
|
*/
|
|
1060
|
-
|
|
1267
|
+
addMinters(minters: `0x${string}`[], options?: {
|
|
1061
1268
|
accessList?: import("viem").AccessList;
|
|
1062
1269
|
authorizationList?: import("viem").AuthorizationList;
|
|
1063
1270
|
chain?: import("viem").Chain | null;
|
|
@@ -1070,11 +1277,11 @@ export declare class RaribleToken_json {
|
|
|
1070
1277
|
value?: bigint;
|
|
1071
1278
|
}): Promise<void>;
|
|
1072
1279
|
/**
|
|
1073
|
-
* Simulate
|
|
1280
|
+
* Simulate approve
|
|
1074
1281
|
* Returns gas estimate and result without sending transaction
|
|
1075
1282
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1076
1283
|
*/
|
|
1077
|
-
|
|
1284
|
+
approve(to: `0x${string}`, tokenId: bigint, options?: {
|
|
1078
1285
|
accessList?: import("viem").AccessList;
|
|
1079
1286
|
authorizationList?: import("viem").AuthorizationList;
|
|
1080
1287
|
chain?: import("viem").Chain | null;
|
|
@@ -1087,11 +1294,11 @@ export declare class RaribleToken_json {
|
|
|
1087
1294
|
value?: bigint;
|
|
1088
1295
|
}): Promise<void>;
|
|
1089
1296
|
/**
|
|
1090
|
-
* Simulate
|
|
1297
|
+
* Simulate burn
|
|
1091
1298
|
* Returns gas estimate and result without sending transaction
|
|
1092
1299
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1093
1300
|
*/
|
|
1094
|
-
|
|
1301
|
+
burn(tokenId: bigint, options?: {
|
|
1095
1302
|
accessList?: import("viem").AccessList;
|
|
1096
1303
|
authorizationList?: import("viem").AuthorizationList;
|
|
1097
1304
|
chain?: import("viem").Chain | null;
|
|
@@ -1104,11 +1311,11 @@ export declare class RaribleToken_json {
|
|
|
1104
1311
|
value?: bigint;
|
|
1105
1312
|
}): Promise<void>;
|
|
1106
1313
|
/**
|
|
1107
|
-
* Simulate
|
|
1314
|
+
* Simulate mintAndTransfer
|
|
1108
1315
|
* Returns gas estimate and result without sending transaction
|
|
1109
1316
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1110
1317
|
*/
|
|
1111
|
-
|
|
1318
|
+
mintAndTransfer(data: LibERC721LazyMint_Mint721Data, to: `0x${string}`, options?: {
|
|
1112
1319
|
accessList?: import("viem").AccessList;
|
|
1113
1320
|
authorizationList?: import("viem").AuthorizationList;
|
|
1114
1321
|
chain?: import("viem").Chain | null;
|
|
@@ -1121,11 +1328,28 @@ export declare class RaribleToken_json {
|
|
|
1121
1328
|
value?: bigint;
|
|
1122
1329
|
}): Promise<void>;
|
|
1123
1330
|
/**
|
|
1124
|
-
* Simulate
|
|
1331
|
+
* Simulate removeMinter
|
|
1332
|
+
* Returns gas estimate and result without sending transaction
|
|
1333
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1334
|
+
*/
|
|
1335
|
+
removeMinter(_minter: `0x${string}`, options?: {
|
|
1336
|
+
accessList?: import("viem").AccessList;
|
|
1337
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1338
|
+
chain?: import("viem").Chain | null;
|
|
1339
|
+
dataSuffix?: `0x${string}`;
|
|
1340
|
+
gas?: bigint;
|
|
1341
|
+
gasPrice?: bigint;
|
|
1342
|
+
maxFeePerGas?: bigint;
|
|
1343
|
+
maxPriorityFeePerGas?: bigint;
|
|
1344
|
+
nonce?: number;
|
|
1345
|
+
value?: bigint;
|
|
1346
|
+
}): Promise<void>;
|
|
1347
|
+
/**
|
|
1348
|
+
* Simulate renounceOwnership
|
|
1125
1349
|
* Returns gas estimate and result without sending transaction
|
|
1126
1350
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1127
1351
|
*/
|
|
1128
|
-
|
|
1352
|
+
renounceOwnership(options?: {
|
|
1129
1353
|
accessList?: import("viem").AccessList;
|
|
1130
1354
|
authorizationList?: import("viem").AuthorizationList;
|
|
1131
1355
|
chain?: import("viem").Chain | null;
|
|
@@ -1137,12 +1361,36 @@ export declare class RaribleToken_json {
|
|
|
1137
1361
|
nonce?: number;
|
|
1138
1362
|
value?: bigint;
|
|
1139
1363
|
}): Promise<void>;
|
|
1364
|
+
/**
|
|
1365
|
+
* Simulate safeTransferFrom
|
|
1366
|
+
* Returns gas estimate and result without sending transaction
|
|
1367
|
+
* Supports multiple overloads: (address, address, uint256), (address, address, uint256, bytes)
|
|
1368
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1369
|
+
*/
|
|
1370
|
+
safeTransferFrom(...args: any[]): Promise<any>;
|
|
1140
1371
|
/**
|
|
1141
1372
|
* Simulate setApprovalForAll
|
|
1142
1373
|
* Returns gas estimate and result without sending transaction
|
|
1143
1374
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1144
1375
|
*/
|
|
1145
|
-
setApprovalForAll(
|
|
1376
|
+
setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
|
|
1377
|
+
accessList?: import("viem").AccessList;
|
|
1378
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1379
|
+
chain?: import("viem").Chain | null;
|
|
1380
|
+
dataSuffix?: `0x${string}`;
|
|
1381
|
+
gas?: bigint;
|
|
1382
|
+
gasPrice?: bigint;
|
|
1383
|
+
maxFeePerGas?: bigint;
|
|
1384
|
+
maxPriorityFeePerGas?: bigint;
|
|
1385
|
+
nonce?: number;
|
|
1386
|
+
value?: bigint;
|
|
1387
|
+
}): Promise<void>;
|
|
1388
|
+
/**
|
|
1389
|
+
* Simulate setBaseURI
|
|
1390
|
+
* Returns gas estimate and result without sending transaction
|
|
1391
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1392
|
+
*/
|
|
1393
|
+
setBaseURI(newBaseURI: string, options?: {
|
|
1146
1394
|
accessList?: import("viem").AccessList;
|
|
1147
1395
|
authorizationList?: import("viem").AuthorizationList;
|
|
1148
1396
|
chain?: import("viem").Chain | null;
|
|
@@ -1155,11 +1403,11 @@ export declare class RaribleToken_json {
|
|
|
1155
1403
|
value?: bigint;
|
|
1156
1404
|
}): Promise<void>;
|
|
1157
1405
|
/**
|
|
1158
|
-
* Simulate
|
|
1406
|
+
* Simulate transferFrom
|
|
1159
1407
|
* Returns gas estimate and result without sending transaction
|
|
1160
1408
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1161
1409
|
*/
|
|
1162
|
-
|
|
1410
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
1163
1411
|
accessList?: import("viem").AccessList;
|
|
1164
1412
|
authorizationList?: import("viem").AuthorizationList;
|
|
1165
1413
|
chain?: import("viem").Chain | null;
|
|
@@ -1172,11 +1420,11 @@ export declare class RaribleToken_json {
|
|
|
1172
1420
|
value?: bigint;
|
|
1173
1421
|
}): Promise<void>;
|
|
1174
1422
|
/**
|
|
1175
|
-
* Simulate
|
|
1423
|
+
* Simulate transferFromOrMint
|
|
1176
1424
|
* Returns gas estimate and result without sending transaction
|
|
1177
1425
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1178
1426
|
*/
|
|
1179
|
-
|
|
1427
|
+
transferFromOrMint(data: LibERC721LazyMint_Mint721Data, from: `0x${string}`, to: `0x${string}`, options?: {
|
|
1180
1428
|
accessList?: import("viem").AccessList;
|
|
1181
1429
|
authorizationList?: import("viem").AuthorizationList;
|
|
1182
1430
|
chain?: import("viem").Chain | null;
|
|
@@ -1205,6 +1453,23 @@ export declare class RaribleToken_json {
|
|
|
1205
1453
|
nonce?: number;
|
|
1206
1454
|
value?: bigint;
|
|
1207
1455
|
}): Promise<void>;
|
|
1456
|
+
/**
|
|
1457
|
+
* Simulate updateAccount
|
|
1458
|
+
* Returns gas estimate and result without sending transaction
|
|
1459
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1460
|
+
*/
|
|
1461
|
+
updateAccount(_id: bigint, _from: `0x${string}`, _to: `0x${string}`, options?: {
|
|
1462
|
+
accessList?: import("viem").AccessList;
|
|
1463
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1464
|
+
chain?: import("viem").Chain | null;
|
|
1465
|
+
dataSuffix?: `0x${string}`;
|
|
1466
|
+
gas?: bigint;
|
|
1467
|
+
gasPrice?: bigint;
|
|
1468
|
+
maxFeePerGas?: bigint;
|
|
1469
|
+
maxPriorityFeePerGas?: bigint;
|
|
1470
|
+
nonce?: number;
|
|
1471
|
+
value?: bigint;
|
|
1472
|
+
}): Promise<void>;
|
|
1208
1473
|
};
|
|
1209
1474
|
/**
|
|
1210
1475
|
* Watch contract events
|
|
@@ -1220,110 +1485,137 @@ export declare class RaribleToken_json {
|
|
|
1220
1485
|
*/
|
|
1221
1486
|
get watch(): {
|
|
1222
1487
|
/**
|
|
1223
|
-
* Watch
|
|
1488
|
+
* Watch Approval events
|
|
1224
1489
|
* @param callback Function to call when event is emitted
|
|
1225
1490
|
* @param filter Optional filter for indexed parameters
|
|
1226
1491
|
* @returns Unwatch function to stop listening
|
|
1227
1492
|
*/
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1493
|
+
Approval: (callback: (event: {
|
|
1494
|
+
owner: `0x${string}`;
|
|
1495
|
+
approved: `0x${string}`;
|
|
1496
|
+
tokenId: bigint;
|
|
1232
1497
|
}) => void, filter?: {
|
|
1233
|
-
|
|
1234
|
-
|
|
1498
|
+
owner?: `0x${string}` | `0x${string}`[] | null;
|
|
1499
|
+
approved?: `0x${string}` | `0x${string}`[] | null;
|
|
1500
|
+
tokenId?: bigint | bigint[] | null;
|
|
1235
1501
|
}) => () => void;
|
|
1236
1502
|
/**
|
|
1237
|
-
* Watch
|
|
1503
|
+
* Watch ApprovalForAll events
|
|
1238
1504
|
* @param callback Function to call when event is emitted
|
|
1239
1505
|
* @param filter Optional filter for indexed parameters
|
|
1240
1506
|
* @returns Unwatch function to stop listening
|
|
1241
1507
|
*/
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1508
|
+
ApprovalForAll: (callback: (event: {
|
|
1509
|
+
owner: `0x${string}`;
|
|
1510
|
+
operator: `0x${string}`;
|
|
1511
|
+
approved: boolean;
|
|
1245
1512
|
}) => void, filter?: {
|
|
1246
|
-
|
|
1247
|
-
|
|
1513
|
+
owner?: `0x${string}` | `0x${string}`[] | null;
|
|
1514
|
+
operator?: `0x${string}` | `0x${string}`[] | null;
|
|
1248
1515
|
}) => () => void;
|
|
1249
1516
|
/**
|
|
1250
|
-
* Watch
|
|
1517
|
+
* Watch BaseUriChanged events
|
|
1518
|
+
* @param callback Function to call when event is emitted
|
|
1519
|
+
* @param filter Optional filter for indexed parameters
|
|
1520
|
+
* @returns Unwatch function to stop listening
|
|
1521
|
+
*/
|
|
1522
|
+
BaseUriChanged: (callback: (event: {
|
|
1523
|
+
newBaseURI: string;
|
|
1524
|
+
}) => void) => () => void;
|
|
1525
|
+
/**
|
|
1526
|
+
* Watch CreateERC721Rarible events
|
|
1527
|
+
* @param callback Function to call when event is emitted
|
|
1528
|
+
* @param filter Optional filter for indexed parameters
|
|
1529
|
+
* @returns Unwatch function to stop listening
|
|
1530
|
+
*/
|
|
1531
|
+
CreateERC721Rarible: (callback: (event: {
|
|
1532
|
+
owner: `0x${string}`;
|
|
1533
|
+
name: string;
|
|
1534
|
+
symbol: string;
|
|
1535
|
+
}) => void) => () => void;
|
|
1536
|
+
/**
|
|
1537
|
+
* Watch CreateERC721RaribleUser events
|
|
1538
|
+
* @param callback Function to call when event is emitted
|
|
1539
|
+
* @param filter Optional filter for indexed parameters
|
|
1540
|
+
* @returns Unwatch function to stop listening
|
|
1541
|
+
*/
|
|
1542
|
+
CreateERC721RaribleUser: (callback: (event: {
|
|
1543
|
+
owner: `0x${string}`;
|
|
1544
|
+
name: string;
|
|
1545
|
+
symbol: string;
|
|
1546
|
+
}) => void) => () => void;
|
|
1547
|
+
/**
|
|
1548
|
+
* Watch Creators events
|
|
1251
1549
|
* @param callback Function to call when event is emitted
|
|
1252
1550
|
* @param filter Optional filter for indexed parameters
|
|
1253
1551
|
* @returns Unwatch function to stop listening
|
|
1254
1552
|
*/
|
|
1255
|
-
|
|
1553
|
+
Creators: (callback: (event: {
|
|
1256
1554
|
tokenId: bigint;
|
|
1257
|
-
|
|
1258
|
-
bps: bigint[];
|
|
1555
|
+
creators: LibPart_Part[];
|
|
1259
1556
|
}) => void) => () => void;
|
|
1260
1557
|
/**
|
|
1261
|
-
* Watch
|
|
1558
|
+
* Watch DefaultApproval events
|
|
1262
1559
|
* @param callback Function to call when event is emitted
|
|
1263
1560
|
* @param filter Optional filter for indexed parameters
|
|
1264
1561
|
* @returns Unwatch function to stop listening
|
|
1265
1562
|
*/
|
|
1266
|
-
|
|
1267
|
-
|
|
1563
|
+
DefaultApproval: (callback: (event: {
|
|
1564
|
+
operator: `0x${string}`;
|
|
1565
|
+
hasApproval: boolean;
|
|
1268
1566
|
}) => void, filter?: {
|
|
1269
|
-
|
|
1567
|
+
operator?: `0x${string}` | `0x${string}`[] | null;
|
|
1270
1568
|
}) => () => void;
|
|
1271
1569
|
/**
|
|
1272
|
-
* Watch
|
|
1570
|
+
* Watch MinterStatusChanged events
|
|
1273
1571
|
* @param callback Function to call when event is emitted
|
|
1274
1572
|
* @param filter Optional filter for indexed parameters
|
|
1275
1573
|
* @returns Unwatch function to stop listening
|
|
1276
1574
|
*/
|
|
1277
|
-
|
|
1278
|
-
|
|
1575
|
+
MinterStatusChanged: (callback: (event: {
|
|
1576
|
+
minter: `0x${string}`;
|
|
1577
|
+
status: boolean;
|
|
1279
1578
|
}) => void, filter?: {
|
|
1280
|
-
|
|
1579
|
+
minter?: `0x${string}` | `0x${string}`[] | null;
|
|
1580
|
+
status?: boolean | boolean[] | null;
|
|
1281
1581
|
}) => () => void;
|
|
1282
1582
|
/**
|
|
1283
|
-
* Watch
|
|
1583
|
+
* Watch OwnershipTransferred events
|
|
1284
1584
|
* @param callback Function to call when event is emitted
|
|
1285
1585
|
* @param filter Optional filter for indexed parameters
|
|
1286
1586
|
* @returns Unwatch function to stop listening
|
|
1287
1587
|
*/
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
_to: `0x${string}`;
|
|
1292
|
-
_ids: bigint[];
|
|
1293
|
-
_values: bigint[];
|
|
1588
|
+
OwnershipTransferred: (callback: (event: {
|
|
1589
|
+
previousOwner: `0x${string}`;
|
|
1590
|
+
newOwner: `0x${string}`;
|
|
1294
1591
|
}) => void, filter?: {
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
_to: `0x${string}`;
|
|
1592
|
+
previousOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
1593
|
+
newOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
1298
1594
|
}) => () => void;
|
|
1299
1595
|
/**
|
|
1300
|
-
* Watch
|
|
1596
|
+
* Watch RoyaltiesSet events
|
|
1301
1597
|
* @param callback Function to call when event is emitted
|
|
1302
1598
|
* @param filter Optional filter for indexed parameters
|
|
1303
1599
|
* @returns Unwatch function to stop listening
|
|
1304
1600
|
*/
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
_id: bigint;
|
|
1310
|
-
_value: bigint;
|
|
1311
|
-
}) => void, filter?: {
|
|
1312
|
-
_operator: `0x${string}`;
|
|
1313
|
-
_from: `0x${string}`;
|
|
1314
|
-
_to: `0x${string}`;
|
|
1315
|
-
}) => () => void;
|
|
1601
|
+
RoyaltiesSet: (callback: (event: {
|
|
1602
|
+
tokenId: bigint;
|
|
1603
|
+
royalties: LibPart_Part[];
|
|
1604
|
+
}) => void) => () => void;
|
|
1316
1605
|
/**
|
|
1317
|
-
* Watch
|
|
1606
|
+
* Watch Transfer events
|
|
1318
1607
|
* @param callback Function to call when event is emitted
|
|
1319
1608
|
* @param filter Optional filter for indexed parameters
|
|
1320
1609
|
* @returns Unwatch function to stop listening
|
|
1321
1610
|
*/
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1611
|
+
Transfer: (callback: (event: {
|
|
1612
|
+
from: `0x${string}`;
|
|
1613
|
+
to: `0x${string}`;
|
|
1614
|
+
tokenId: bigint;
|
|
1325
1615
|
}) => void, filter?: {
|
|
1326
|
-
|
|
1616
|
+
from?: `0x${string}` | `0x${string}`[] | null;
|
|
1617
|
+
to?: `0x${string}` | `0x${string}`[] | null;
|
|
1618
|
+
tokenId?: bigint | bigint[] | null;
|
|
1327
1619
|
}) => () => void;
|
|
1328
1620
|
};
|
|
1329
1621
|
}
|