@zoralabs/protocol-sdk 0.5.7-MINT.4 → 0.5.8-DEV.1
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/CHANGELOG.md +13 -15
- package/README.md +2 -2
- package/dist/apis/chain-constants.d.ts.map +1 -1
- package/dist/apis/generated/premint-api-types.d.ts +1 -1
- package/dist/apis/generated/premint-api-types.d.ts.map +1 -1
- package/dist/index.cjs +310 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +308 -29
- package/dist/index.js.map +1 -1
- package/dist/mints/mints-contracts.d.ts +1273 -0
- package/dist/mints/mints-contracts.d.ts.map +1 -0
- package/dist/premint/premint-client.d.ts +1 -1
- package/package.json +3 -3
- package/src/apis/chain-constants.ts +12 -28
- package/src/apis/generated/premint-api-types.ts +3 -1
- package/src/index.ts +2 -0
- package/src/mints/mints-contracts.ts +408 -0
- package/src/premint/premint-client.ts +1 -1
|
@@ -0,0 +1,1273 @@
|
|
|
1
|
+
import { zoraMints1155Config, zoraMintsManagerImplConfig } from "@zoralabs/protocol-deployments";
|
|
2
|
+
import { AbiParametersToPrimitiveTypes, ExtractAbiFunction } from "abitype";
|
|
3
|
+
import { MintArguments, PremintConfigV2 } from "src/premint/contract-types";
|
|
4
|
+
import { ContractCreationConfig } from "src/preminter";
|
|
5
|
+
import { Account, Address, Hex, ReadContractParameters, SignTypedDataParameters, SimulateContractParameters } from "viem";
|
|
6
|
+
export declare function mintWithEthParams({ quantity, recipient, chainId, pricePerMint, account, }: {
|
|
7
|
+
quantity: bigint;
|
|
8
|
+
recipient: Address;
|
|
9
|
+
chainId: keyof typeof zoraMints1155Config.address;
|
|
10
|
+
pricePerMint: bigint;
|
|
11
|
+
account: Address | Account;
|
|
12
|
+
}): SimulateContractParameters<typeof zoraMintsManagerImplConfig.abi, "mintWithEth">;
|
|
13
|
+
export declare const mintsBalanceOfAccountParams: ({ account, chainId, }: {
|
|
14
|
+
account: Address;
|
|
15
|
+
chainId: keyof typeof zoraMints1155Config.address;
|
|
16
|
+
}) => ReadContractParameters<typeof zoraMints1155Config.abi, "balanceOfAccount">;
|
|
17
|
+
export declare const accountNonceParams: ({ chainId, account, }: {
|
|
18
|
+
chainId: keyof typeof zoraMints1155Config.address;
|
|
19
|
+
account: Address;
|
|
20
|
+
}) => ReadContractParameters<typeof zoraMints1155Config.abi, "nonces">;
|
|
21
|
+
type CollectOnManagerParams = {
|
|
22
|
+
tokenIds: bigint[];
|
|
23
|
+
quantities: bigint[];
|
|
24
|
+
zoraCreator1155Contract: Address;
|
|
25
|
+
zoraCreator1155TokenId: bigint;
|
|
26
|
+
minter: Address;
|
|
27
|
+
mintArguments: MintArguments;
|
|
28
|
+
};
|
|
29
|
+
export declare const encodeCollectOnManager: ({ tokenIds, quantities, zoraCreator1155Contract, minter, zoraCreator1155TokenId, mintArguments, }: CollectOnManagerParams) => `0x${string}`;
|
|
30
|
+
export declare function collectWithMintsParams({ tokenIds, quantities, chainId, pricePerToken, account, ...rest }: {
|
|
31
|
+
paidMintValue?: bigint;
|
|
32
|
+
chainId: keyof typeof zoraMints1155Config.address;
|
|
33
|
+
pricePerToken?: bigint;
|
|
34
|
+
account: Address | Account;
|
|
35
|
+
} & CollectOnManagerParams): SimulateContractParameters<typeof zoraMints1155Config.abi, "transferBatchToManagerAndCall">;
|
|
36
|
+
export declare const collectWithMintsTypedDataDefinition: ({ tokenIds, quantities, chainId, account, nonce, deadline, ...rest }: {
|
|
37
|
+
chainId: keyof typeof zoraMints1155Config.address;
|
|
38
|
+
nonce: bigint;
|
|
39
|
+
deadline: bigint;
|
|
40
|
+
account: Account | Address;
|
|
41
|
+
} & CollectOnManagerParams) => {
|
|
42
|
+
permit: {
|
|
43
|
+
owner: `0x${string}`;
|
|
44
|
+
tokenIds: readonly bigint[];
|
|
45
|
+
quantities: readonly bigint[];
|
|
46
|
+
safeTransferData: `0x${string}`;
|
|
47
|
+
call: `0x${string}`;
|
|
48
|
+
deadline: bigint;
|
|
49
|
+
};
|
|
50
|
+
typedData: SignTypedDataParameters<{
|
|
51
|
+
readonly Permit: readonly [{
|
|
52
|
+
readonly name: "owner";
|
|
53
|
+
readonly type: "address";
|
|
54
|
+
}, {
|
|
55
|
+
readonly name: "tokenIds";
|
|
56
|
+
readonly type: "uint256[]";
|
|
57
|
+
}, {
|
|
58
|
+
readonly name: "quantities";
|
|
59
|
+
readonly type: "uint256[]";
|
|
60
|
+
}, {
|
|
61
|
+
readonly name: "safeTransferData";
|
|
62
|
+
readonly type: "bytes";
|
|
63
|
+
}, {
|
|
64
|
+
readonly name: "call";
|
|
65
|
+
readonly type: "bytes";
|
|
66
|
+
}, {
|
|
67
|
+
readonly name: "nonce";
|
|
68
|
+
readonly type: "uint256";
|
|
69
|
+
}, {
|
|
70
|
+
readonly name: "deadline";
|
|
71
|
+
readonly type: "uint256";
|
|
72
|
+
}];
|
|
73
|
+
}, "Permit">;
|
|
74
|
+
};
|
|
75
|
+
export declare const collectPremintWithMintsTypedDataDefinition: ({ tokenIds, quantities, chainId, account, nonce, deadline, ...rest }: {
|
|
76
|
+
chainId: keyof typeof zoraMints1155Config.address;
|
|
77
|
+
nonce: bigint;
|
|
78
|
+
deadline: bigint;
|
|
79
|
+
account: Account | Address;
|
|
80
|
+
} & PremintOnManagerParams) => {
|
|
81
|
+
permit: {
|
|
82
|
+
owner: `0x${string}`;
|
|
83
|
+
tokenIds: readonly bigint[];
|
|
84
|
+
quantities: readonly bigint[];
|
|
85
|
+
safeTransferData: `0x${string}`;
|
|
86
|
+
call: `0x${string}`;
|
|
87
|
+
deadline: bigint;
|
|
88
|
+
};
|
|
89
|
+
typedData: SignTypedDataParameters<{
|
|
90
|
+
readonly Permit: readonly [{
|
|
91
|
+
readonly name: "owner";
|
|
92
|
+
readonly type: "address";
|
|
93
|
+
}, {
|
|
94
|
+
readonly name: "tokenIds";
|
|
95
|
+
readonly type: "uint256[]";
|
|
96
|
+
}, {
|
|
97
|
+
readonly name: "quantities";
|
|
98
|
+
readonly type: "uint256[]";
|
|
99
|
+
}, {
|
|
100
|
+
readonly name: "safeTransferData";
|
|
101
|
+
readonly type: "bytes";
|
|
102
|
+
}, {
|
|
103
|
+
readonly name: "call";
|
|
104
|
+
readonly type: "bytes";
|
|
105
|
+
}, {
|
|
106
|
+
readonly name: "nonce";
|
|
107
|
+
readonly type: "uint256";
|
|
108
|
+
}, {
|
|
109
|
+
readonly name: "deadline";
|
|
110
|
+
readonly type: "uint256";
|
|
111
|
+
}];
|
|
112
|
+
}, "Permit">;
|
|
113
|
+
};
|
|
114
|
+
type PremintOnManagerParams = {
|
|
115
|
+
tokenIds: bigint[];
|
|
116
|
+
quantities: bigint[];
|
|
117
|
+
contractCreationConfig: ContractCreationConfig;
|
|
118
|
+
premintConfig: PremintConfigV2;
|
|
119
|
+
premintSignature: Hex;
|
|
120
|
+
mintArguments: MintArguments;
|
|
121
|
+
signerContract?: Address;
|
|
122
|
+
};
|
|
123
|
+
export declare const encodePremintOnManager: ({ tokenIds, quantities, contractCreationConfig, premintConfig, premintSignature, mintArguments, signerContract, }: PremintOnManagerParams) => `0x${string}`;
|
|
124
|
+
export declare function collectPremintV2WithMintsParams({ tokenIds, quantities, pricePerToken, account, chainId, ...rest }: {
|
|
125
|
+
pricePerToken?: bigint;
|
|
126
|
+
chainId: keyof typeof zoraMints1155Config.address;
|
|
127
|
+
account: Address | Account;
|
|
128
|
+
} & PremintOnManagerParams): SimulateContractParameters<typeof zoraMints1155Config.abi, "transferBatchToManagerAndCall">;
|
|
129
|
+
export type PermitTransferBatchToManager = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof zoraMints1155Config.abi, "permitTransferBatchToManagerAndCall">["inputs"]>[0];
|
|
130
|
+
export declare function permitTypedDataDefinition({ permit, chainId, nonce, account, }: {
|
|
131
|
+
permit: PermitTransferBatchToManager;
|
|
132
|
+
chainId: keyof typeof zoraMints1155Config.address;
|
|
133
|
+
nonce: bigint;
|
|
134
|
+
account: Account | Address;
|
|
135
|
+
}): SignTypedDataParameters<{
|
|
136
|
+
readonly Permit: readonly [{
|
|
137
|
+
readonly name: "owner";
|
|
138
|
+
readonly type: "address";
|
|
139
|
+
}, {
|
|
140
|
+
readonly name: "tokenIds";
|
|
141
|
+
readonly type: "uint256[]";
|
|
142
|
+
}, {
|
|
143
|
+
readonly name: "quantities";
|
|
144
|
+
readonly type: "uint256[]";
|
|
145
|
+
}, {
|
|
146
|
+
readonly name: "safeTransferData";
|
|
147
|
+
readonly type: "bytes";
|
|
148
|
+
}, {
|
|
149
|
+
readonly name: "call";
|
|
150
|
+
readonly type: "bytes";
|
|
151
|
+
}, {
|
|
152
|
+
readonly name: "nonce";
|
|
153
|
+
readonly type: "uint256";
|
|
154
|
+
}, {
|
|
155
|
+
readonly name: "deadline";
|
|
156
|
+
readonly type: "uint256";
|
|
157
|
+
}];
|
|
158
|
+
}, "Permit">;
|
|
159
|
+
export declare const permitTransferBatchToManagerAndCallParams: ({ permit, chainId, signature, }: {
|
|
160
|
+
permit: PermitTransferBatchToManager;
|
|
161
|
+
chainId: keyof typeof zoraMints1155Config.address;
|
|
162
|
+
signature: Hex;
|
|
163
|
+
}) => SimulateContractParameters<readonly [{
|
|
164
|
+
readonly stateMutability: "nonpayable";
|
|
165
|
+
readonly type: "constructor";
|
|
166
|
+
readonly inputs: readonly [];
|
|
167
|
+
}, {
|
|
168
|
+
readonly stateMutability: "view";
|
|
169
|
+
readonly type: "function";
|
|
170
|
+
readonly inputs: readonly [];
|
|
171
|
+
readonly name: "ETH_ADDRESS";
|
|
172
|
+
readonly outputs: readonly [{
|
|
173
|
+
readonly name: "";
|
|
174
|
+
readonly internalType: "address";
|
|
175
|
+
readonly type: "address";
|
|
176
|
+
}];
|
|
177
|
+
}, {
|
|
178
|
+
readonly stateMutability: "view";
|
|
179
|
+
readonly type: "function";
|
|
180
|
+
readonly inputs: readonly [];
|
|
181
|
+
readonly name: "MINIMUM_ERC20_PRICE";
|
|
182
|
+
readonly outputs: readonly [{
|
|
183
|
+
readonly name: "";
|
|
184
|
+
readonly internalType: "uint256";
|
|
185
|
+
readonly type: "uint256";
|
|
186
|
+
}];
|
|
187
|
+
}, {
|
|
188
|
+
readonly stateMutability: "view";
|
|
189
|
+
readonly type: "function";
|
|
190
|
+
readonly inputs: readonly [];
|
|
191
|
+
readonly name: "MINIMUM_ETH_PRICE";
|
|
192
|
+
readonly outputs: readonly [{
|
|
193
|
+
readonly name: "";
|
|
194
|
+
readonly internalType: "uint256";
|
|
195
|
+
readonly type: "uint256";
|
|
196
|
+
}];
|
|
197
|
+
}, {
|
|
198
|
+
readonly stateMutability: "view";
|
|
199
|
+
readonly type: "function";
|
|
200
|
+
readonly inputs: readonly [];
|
|
201
|
+
readonly name: "authority";
|
|
202
|
+
readonly outputs: readonly [{
|
|
203
|
+
readonly name: "";
|
|
204
|
+
readonly internalType: "address";
|
|
205
|
+
readonly type: "address";
|
|
206
|
+
}];
|
|
207
|
+
}, {
|
|
208
|
+
readonly stateMutability: "view";
|
|
209
|
+
readonly type: "function";
|
|
210
|
+
readonly inputs: readonly [{
|
|
211
|
+
readonly name: "account";
|
|
212
|
+
readonly internalType: "address";
|
|
213
|
+
readonly type: "address";
|
|
214
|
+
}, {
|
|
215
|
+
readonly name: "id";
|
|
216
|
+
readonly internalType: "uint256";
|
|
217
|
+
readonly type: "uint256";
|
|
218
|
+
}];
|
|
219
|
+
readonly name: "balanceOf";
|
|
220
|
+
readonly outputs: readonly [{
|
|
221
|
+
readonly name: "";
|
|
222
|
+
readonly internalType: "uint256";
|
|
223
|
+
readonly type: "uint256";
|
|
224
|
+
}];
|
|
225
|
+
}, {
|
|
226
|
+
readonly stateMutability: "view";
|
|
227
|
+
readonly type: "function";
|
|
228
|
+
readonly inputs: readonly [{
|
|
229
|
+
readonly name: "account";
|
|
230
|
+
readonly internalType: "address";
|
|
231
|
+
readonly type: "address";
|
|
232
|
+
}];
|
|
233
|
+
readonly name: "balanceOfAccount";
|
|
234
|
+
readonly outputs: readonly [{
|
|
235
|
+
readonly name: "";
|
|
236
|
+
readonly internalType: "uint256";
|
|
237
|
+
readonly type: "uint256";
|
|
238
|
+
}];
|
|
239
|
+
}, {
|
|
240
|
+
readonly stateMutability: "view";
|
|
241
|
+
readonly type: "function";
|
|
242
|
+
readonly inputs: readonly [{
|
|
243
|
+
readonly name: "accounts";
|
|
244
|
+
readonly internalType: "address[]";
|
|
245
|
+
readonly type: "address[]";
|
|
246
|
+
}, {
|
|
247
|
+
readonly name: "ids";
|
|
248
|
+
readonly internalType: "uint256[]";
|
|
249
|
+
readonly type: "uint256[]";
|
|
250
|
+
}];
|
|
251
|
+
readonly name: "balanceOfBatch";
|
|
252
|
+
readonly outputs: readonly [{
|
|
253
|
+
readonly name: "";
|
|
254
|
+
readonly internalType: "uint256[]";
|
|
255
|
+
readonly type: "uint256[]";
|
|
256
|
+
}];
|
|
257
|
+
}, {
|
|
258
|
+
readonly stateMutability: "view";
|
|
259
|
+
readonly type: "function";
|
|
260
|
+
readonly inputs: readonly [];
|
|
261
|
+
readonly name: "contractURI";
|
|
262
|
+
readonly outputs: readonly [{
|
|
263
|
+
readonly name: "";
|
|
264
|
+
readonly internalType: "string";
|
|
265
|
+
readonly type: "string";
|
|
266
|
+
}];
|
|
267
|
+
}, {
|
|
268
|
+
readonly stateMutability: "pure";
|
|
269
|
+
readonly type: "function";
|
|
270
|
+
readonly inputs: readonly [];
|
|
271
|
+
readonly name: "contractVersion";
|
|
272
|
+
readonly outputs: readonly [{
|
|
273
|
+
readonly name: "";
|
|
274
|
+
readonly internalType: "string";
|
|
275
|
+
readonly type: "string";
|
|
276
|
+
}];
|
|
277
|
+
}, {
|
|
278
|
+
readonly stateMutability: "nonpayable";
|
|
279
|
+
readonly type: "function";
|
|
280
|
+
readonly inputs: readonly [{
|
|
281
|
+
readonly name: "tokenId";
|
|
282
|
+
readonly internalType: "uint256";
|
|
283
|
+
readonly type: "uint256";
|
|
284
|
+
}, {
|
|
285
|
+
readonly name: "tokenConfig";
|
|
286
|
+
readonly internalType: "struct TokenConfig";
|
|
287
|
+
readonly type: "tuple";
|
|
288
|
+
readonly components: readonly [{
|
|
289
|
+
readonly name: "price";
|
|
290
|
+
readonly internalType: "uint256";
|
|
291
|
+
readonly type: "uint256";
|
|
292
|
+
}, {
|
|
293
|
+
readonly name: "tokenAddress";
|
|
294
|
+
readonly internalType: "address";
|
|
295
|
+
readonly type: "address";
|
|
296
|
+
}];
|
|
297
|
+
}];
|
|
298
|
+
readonly name: "createToken";
|
|
299
|
+
readonly outputs: readonly [];
|
|
300
|
+
}, {
|
|
301
|
+
readonly stateMutability: "view";
|
|
302
|
+
readonly type: "function";
|
|
303
|
+
readonly inputs: readonly [];
|
|
304
|
+
readonly name: "eip712Domain";
|
|
305
|
+
readonly outputs: readonly [{
|
|
306
|
+
readonly name: "fields";
|
|
307
|
+
readonly internalType: "bytes1";
|
|
308
|
+
readonly type: "bytes1";
|
|
309
|
+
}, {
|
|
310
|
+
readonly name: "name";
|
|
311
|
+
readonly internalType: "string";
|
|
312
|
+
readonly type: "string";
|
|
313
|
+
}, {
|
|
314
|
+
readonly name: "version";
|
|
315
|
+
readonly internalType: "string";
|
|
316
|
+
readonly type: "string";
|
|
317
|
+
}, {
|
|
318
|
+
readonly name: "chainId";
|
|
319
|
+
readonly internalType: "uint256";
|
|
320
|
+
readonly type: "uint256";
|
|
321
|
+
}, {
|
|
322
|
+
readonly name: "verifyingContract";
|
|
323
|
+
readonly internalType: "address";
|
|
324
|
+
readonly type: "address";
|
|
325
|
+
}, {
|
|
326
|
+
readonly name: "salt";
|
|
327
|
+
readonly internalType: "bytes32";
|
|
328
|
+
readonly type: "bytes32";
|
|
329
|
+
}, {
|
|
330
|
+
readonly name: "extensions";
|
|
331
|
+
readonly internalType: "uint256[]";
|
|
332
|
+
readonly type: "uint256[]";
|
|
333
|
+
}];
|
|
334
|
+
}, {
|
|
335
|
+
readonly stateMutability: "view";
|
|
336
|
+
readonly type: "function";
|
|
337
|
+
readonly inputs: readonly [];
|
|
338
|
+
readonly name: "getManager";
|
|
339
|
+
readonly outputs: readonly [{
|
|
340
|
+
readonly name: "";
|
|
341
|
+
readonly internalType: "address";
|
|
342
|
+
readonly type: "address";
|
|
343
|
+
}];
|
|
344
|
+
}, {
|
|
345
|
+
readonly stateMutability: "view";
|
|
346
|
+
readonly type: "function";
|
|
347
|
+
readonly inputs: readonly [];
|
|
348
|
+
readonly name: "getMsgSender";
|
|
349
|
+
readonly outputs: readonly [{
|
|
350
|
+
readonly name: "";
|
|
351
|
+
readonly internalType: "address";
|
|
352
|
+
readonly type: "address";
|
|
353
|
+
}];
|
|
354
|
+
}, {
|
|
355
|
+
readonly stateMutability: "view";
|
|
356
|
+
readonly type: "function";
|
|
357
|
+
readonly inputs: readonly [{
|
|
358
|
+
readonly name: "tokenId";
|
|
359
|
+
readonly internalType: "uint256";
|
|
360
|
+
readonly type: "uint256";
|
|
361
|
+
}];
|
|
362
|
+
readonly name: "getTokenConfig";
|
|
363
|
+
readonly outputs: readonly [{
|
|
364
|
+
readonly name: "";
|
|
365
|
+
readonly internalType: "struct TokenConfig";
|
|
366
|
+
readonly type: "tuple";
|
|
367
|
+
readonly components: readonly [{
|
|
368
|
+
readonly name: "price";
|
|
369
|
+
readonly internalType: "uint256";
|
|
370
|
+
readonly type: "uint256";
|
|
371
|
+
}, {
|
|
372
|
+
readonly name: "tokenAddress";
|
|
373
|
+
readonly internalType: "address";
|
|
374
|
+
readonly type: "address";
|
|
375
|
+
}];
|
|
376
|
+
}];
|
|
377
|
+
}, {
|
|
378
|
+
readonly stateMutability: "view";
|
|
379
|
+
readonly type: "function";
|
|
380
|
+
readonly inputs: readonly [{
|
|
381
|
+
readonly name: "permit";
|
|
382
|
+
readonly internalType: "struct IZoraMints1155Managed.Permit";
|
|
383
|
+
readonly type: "tuple";
|
|
384
|
+
readonly components: readonly [{
|
|
385
|
+
readonly name: "owner";
|
|
386
|
+
readonly internalType: "address";
|
|
387
|
+
readonly type: "address";
|
|
388
|
+
}, {
|
|
389
|
+
readonly name: "tokenIds";
|
|
390
|
+
readonly internalType: "uint256[]";
|
|
391
|
+
readonly type: "uint256[]";
|
|
392
|
+
}, {
|
|
393
|
+
readonly name: "quantities";
|
|
394
|
+
readonly internalType: "uint256[]";
|
|
395
|
+
readonly type: "uint256[]";
|
|
396
|
+
}, {
|
|
397
|
+
readonly name: "safeTransferData";
|
|
398
|
+
readonly internalType: "bytes";
|
|
399
|
+
readonly type: "bytes";
|
|
400
|
+
}, {
|
|
401
|
+
readonly name: "call";
|
|
402
|
+
readonly internalType: "bytes";
|
|
403
|
+
readonly type: "bytes";
|
|
404
|
+
}, {
|
|
405
|
+
readonly name: "deadline";
|
|
406
|
+
readonly internalType: "uint256";
|
|
407
|
+
readonly type: "uint256";
|
|
408
|
+
}];
|
|
409
|
+
}, {
|
|
410
|
+
readonly name: "nonce";
|
|
411
|
+
readonly internalType: "uint256";
|
|
412
|
+
readonly type: "uint256";
|
|
413
|
+
}];
|
|
414
|
+
readonly name: "hashPermit";
|
|
415
|
+
readonly outputs: readonly [{
|
|
416
|
+
readonly name: "";
|
|
417
|
+
readonly internalType: "bytes32";
|
|
418
|
+
readonly type: "bytes32";
|
|
419
|
+
}];
|
|
420
|
+
}, {
|
|
421
|
+
readonly stateMutability: "view";
|
|
422
|
+
readonly type: "function";
|
|
423
|
+
readonly inputs: readonly [{
|
|
424
|
+
readonly name: "account";
|
|
425
|
+
readonly internalType: "address";
|
|
426
|
+
readonly type: "address";
|
|
427
|
+
}, {
|
|
428
|
+
readonly name: "operator";
|
|
429
|
+
readonly internalType: "address";
|
|
430
|
+
readonly type: "address";
|
|
431
|
+
}];
|
|
432
|
+
readonly name: "isApprovedForAll";
|
|
433
|
+
readonly outputs: readonly [{
|
|
434
|
+
readonly name: "";
|
|
435
|
+
readonly internalType: "bool";
|
|
436
|
+
readonly type: "bool";
|
|
437
|
+
}];
|
|
438
|
+
}, {
|
|
439
|
+
readonly stateMutability: "view";
|
|
440
|
+
readonly type: "function";
|
|
441
|
+
readonly inputs: readonly [];
|
|
442
|
+
readonly name: "isConsumingScheduledOp";
|
|
443
|
+
readonly outputs: readonly [{
|
|
444
|
+
readonly name: "";
|
|
445
|
+
readonly internalType: "bytes4";
|
|
446
|
+
readonly type: "bytes4";
|
|
447
|
+
}];
|
|
448
|
+
}, {
|
|
449
|
+
readonly stateMutability: "view";
|
|
450
|
+
readonly type: "function";
|
|
451
|
+
readonly inputs: readonly [{
|
|
452
|
+
readonly name: "permit";
|
|
453
|
+
readonly internalType: "struct IZoraMints1155Managed.Permit";
|
|
454
|
+
readonly type: "tuple";
|
|
455
|
+
readonly components: readonly [{
|
|
456
|
+
readonly name: "owner";
|
|
457
|
+
readonly internalType: "address";
|
|
458
|
+
readonly type: "address";
|
|
459
|
+
}, {
|
|
460
|
+
readonly name: "tokenIds";
|
|
461
|
+
readonly internalType: "uint256[]";
|
|
462
|
+
readonly type: "uint256[]";
|
|
463
|
+
}, {
|
|
464
|
+
readonly name: "quantities";
|
|
465
|
+
readonly internalType: "uint256[]";
|
|
466
|
+
readonly type: "uint256[]";
|
|
467
|
+
}, {
|
|
468
|
+
readonly name: "safeTransferData";
|
|
469
|
+
readonly internalType: "bytes";
|
|
470
|
+
readonly type: "bytes";
|
|
471
|
+
}, {
|
|
472
|
+
readonly name: "call";
|
|
473
|
+
readonly internalType: "bytes";
|
|
474
|
+
readonly type: "bytes";
|
|
475
|
+
}, {
|
|
476
|
+
readonly name: "deadline";
|
|
477
|
+
readonly internalType: "uint256";
|
|
478
|
+
readonly type: "uint256";
|
|
479
|
+
}];
|
|
480
|
+
}, {
|
|
481
|
+
readonly name: "signature";
|
|
482
|
+
readonly internalType: "bytes";
|
|
483
|
+
readonly type: "bytes";
|
|
484
|
+
}];
|
|
485
|
+
readonly name: "isValidSignature";
|
|
486
|
+
readonly outputs: readonly [{
|
|
487
|
+
readonly name: "";
|
|
488
|
+
readonly internalType: "bool";
|
|
489
|
+
readonly type: "bool";
|
|
490
|
+
}];
|
|
491
|
+
}, {
|
|
492
|
+
readonly stateMutability: "nonpayable";
|
|
493
|
+
readonly type: "function";
|
|
494
|
+
readonly inputs: readonly [{
|
|
495
|
+
readonly name: "tokenId";
|
|
496
|
+
readonly internalType: "uint256";
|
|
497
|
+
readonly type: "uint256";
|
|
498
|
+
}, {
|
|
499
|
+
readonly name: "tokenAddress";
|
|
500
|
+
readonly internalType: "address";
|
|
501
|
+
readonly type: "address";
|
|
502
|
+
}, {
|
|
503
|
+
readonly name: "quantity";
|
|
504
|
+
readonly internalType: "uint256";
|
|
505
|
+
readonly type: "uint256";
|
|
506
|
+
}, {
|
|
507
|
+
readonly name: "recipient";
|
|
508
|
+
readonly internalType: "address";
|
|
509
|
+
readonly type: "address";
|
|
510
|
+
}, {
|
|
511
|
+
readonly name: "data";
|
|
512
|
+
readonly internalType: "bytes";
|
|
513
|
+
readonly type: "bytes";
|
|
514
|
+
}];
|
|
515
|
+
readonly name: "mintTokenWithERC20";
|
|
516
|
+
readonly outputs: readonly [];
|
|
517
|
+
}, {
|
|
518
|
+
readonly stateMutability: "payable";
|
|
519
|
+
readonly type: "function";
|
|
520
|
+
readonly inputs: readonly [{
|
|
521
|
+
readonly name: "tokenId";
|
|
522
|
+
readonly internalType: "uint256";
|
|
523
|
+
readonly type: "uint256";
|
|
524
|
+
}, {
|
|
525
|
+
readonly name: "quantity";
|
|
526
|
+
readonly internalType: "uint256";
|
|
527
|
+
readonly type: "uint256";
|
|
528
|
+
}, {
|
|
529
|
+
readonly name: "recipient";
|
|
530
|
+
readonly internalType: "address";
|
|
531
|
+
readonly type: "address";
|
|
532
|
+
}, {
|
|
533
|
+
readonly name: "data";
|
|
534
|
+
readonly internalType: "bytes";
|
|
535
|
+
readonly type: "bytes";
|
|
536
|
+
}];
|
|
537
|
+
readonly name: "mintTokenWithEth";
|
|
538
|
+
readonly outputs: readonly [];
|
|
539
|
+
}, {
|
|
540
|
+
readonly stateMutability: "pure";
|
|
541
|
+
readonly type: "function";
|
|
542
|
+
readonly inputs: readonly [];
|
|
543
|
+
readonly name: "name";
|
|
544
|
+
readonly outputs: readonly [{
|
|
545
|
+
readonly name: "";
|
|
546
|
+
readonly internalType: "string";
|
|
547
|
+
readonly type: "string";
|
|
548
|
+
}];
|
|
549
|
+
}, {
|
|
550
|
+
readonly stateMutability: "view";
|
|
551
|
+
readonly type: "function";
|
|
552
|
+
readonly inputs: readonly [{
|
|
553
|
+
readonly name: "owner";
|
|
554
|
+
readonly internalType: "address";
|
|
555
|
+
readonly type: "address";
|
|
556
|
+
}];
|
|
557
|
+
readonly name: "nonces";
|
|
558
|
+
readonly outputs: readonly [{
|
|
559
|
+
readonly name: "";
|
|
560
|
+
readonly internalType: "uint256";
|
|
561
|
+
readonly type: "uint256";
|
|
562
|
+
}];
|
|
563
|
+
}, {
|
|
564
|
+
readonly stateMutability: "nonpayable";
|
|
565
|
+
readonly type: "function";
|
|
566
|
+
readonly inputs: readonly [{
|
|
567
|
+
readonly name: "newContractURI";
|
|
568
|
+
readonly internalType: "string";
|
|
569
|
+
readonly type: "string";
|
|
570
|
+
}, {
|
|
571
|
+
readonly name: "newBaseURI";
|
|
572
|
+
readonly internalType: "string";
|
|
573
|
+
readonly type: "string";
|
|
574
|
+
}];
|
|
575
|
+
readonly name: "notifyURIsUpdated";
|
|
576
|
+
readonly outputs: readonly [];
|
|
577
|
+
}, {
|
|
578
|
+
readonly stateMutability: "nonpayable";
|
|
579
|
+
readonly type: "function";
|
|
580
|
+
readonly inputs: readonly [{
|
|
581
|
+
readonly name: "newUri";
|
|
582
|
+
readonly internalType: "string";
|
|
583
|
+
readonly type: "string";
|
|
584
|
+
}, {
|
|
585
|
+
readonly name: "tokenId";
|
|
586
|
+
readonly internalType: "uint256";
|
|
587
|
+
readonly type: "uint256";
|
|
588
|
+
}];
|
|
589
|
+
readonly name: "notifyUpdatedTokenURI";
|
|
590
|
+
readonly outputs: readonly [];
|
|
591
|
+
}, {
|
|
592
|
+
readonly stateMutability: "nonpayable";
|
|
593
|
+
readonly type: "function";
|
|
594
|
+
readonly inputs: readonly [{
|
|
595
|
+
readonly name: "permit";
|
|
596
|
+
readonly internalType: "struct IZoraMints1155Managed.Permit";
|
|
597
|
+
readonly type: "tuple";
|
|
598
|
+
readonly components: readonly [{
|
|
599
|
+
readonly name: "owner";
|
|
600
|
+
readonly internalType: "address";
|
|
601
|
+
readonly type: "address";
|
|
602
|
+
}, {
|
|
603
|
+
readonly name: "tokenIds";
|
|
604
|
+
readonly internalType: "uint256[]";
|
|
605
|
+
readonly type: "uint256[]";
|
|
606
|
+
}, {
|
|
607
|
+
readonly name: "quantities";
|
|
608
|
+
readonly internalType: "uint256[]";
|
|
609
|
+
readonly type: "uint256[]";
|
|
610
|
+
}, {
|
|
611
|
+
readonly name: "safeTransferData";
|
|
612
|
+
readonly internalType: "bytes";
|
|
613
|
+
readonly type: "bytes";
|
|
614
|
+
}, {
|
|
615
|
+
readonly name: "call";
|
|
616
|
+
readonly internalType: "bytes";
|
|
617
|
+
readonly type: "bytes";
|
|
618
|
+
}, {
|
|
619
|
+
readonly name: "deadline";
|
|
620
|
+
readonly internalType: "uint256";
|
|
621
|
+
readonly type: "uint256";
|
|
622
|
+
}];
|
|
623
|
+
}, {
|
|
624
|
+
readonly name: "signature";
|
|
625
|
+
readonly internalType: "bytes";
|
|
626
|
+
readonly type: "bytes";
|
|
627
|
+
}];
|
|
628
|
+
readonly name: "permitTransferBatchToManagerAndCall";
|
|
629
|
+
readonly outputs: readonly [{
|
|
630
|
+
readonly name: "callReturn";
|
|
631
|
+
readonly internalType: "bytes";
|
|
632
|
+
readonly type: "bytes";
|
|
633
|
+
}];
|
|
634
|
+
}, {
|
|
635
|
+
readonly stateMutability: "nonpayable";
|
|
636
|
+
readonly type: "function";
|
|
637
|
+
readonly inputs: readonly [{
|
|
638
|
+
readonly name: "tokenId";
|
|
639
|
+
readonly internalType: "uint256";
|
|
640
|
+
readonly type: "uint256";
|
|
641
|
+
}, {
|
|
642
|
+
readonly name: "quantity";
|
|
643
|
+
readonly internalType: "uint256";
|
|
644
|
+
readonly type: "uint256";
|
|
645
|
+
}, {
|
|
646
|
+
readonly name: "recipient";
|
|
647
|
+
readonly internalType: "address";
|
|
648
|
+
readonly type: "address";
|
|
649
|
+
}];
|
|
650
|
+
readonly name: "redeem";
|
|
651
|
+
readonly outputs: readonly [{
|
|
652
|
+
readonly name: "";
|
|
653
|
+
readonly internalType: "struct Redemption";
|
|
654
|
+
readonly type: "tuple";
|
|
655
|
+
readonly components: readonly [{
|
|
656
|
+
readonly name: "tokenAddress";
|
|
657
|
+
readonly internalType: "address";
|
|
658
|
+
readonly type: "address";
|
|
659
|
+
}, {
|
|
660
|
+
readonly name: "valueRedeemed";
|
|
661
|
+
readonly internalType: "uint256";
|
|
662
|
+
readonly type: "uint256";
|
|
663
|
+
}];
|
|
664
|
+
}];
|
|
665
|
+
}, {
|
|
666
|
+
readonly stateMutability: "nonpayable";
|
|
667
|
+
readonly type: "function";
|
|
668
|
+
readonly inputs: readonly [{
|
|
669
|
+
readonly name: "tokenIds";
|
|
670
|
+
readonly internalType: "uint256[]";
|
|
671
|
+
readonly type: "uint256[]";
|
|
672
|
+
}, {
|
|
673
|
+
readonly name: "quantities";
|
|
674
|
+
readonly internalType: "uint256[]";
|
|
675
|
+
readonly type: "uint256[]";
|
|
676
|
+
}, {
|
|
677
|
+
readonly name: "recipient";
|
|
678
|
+
readonly internalType: "address";
|
|
679
|
+
readonly type: "address";
|
|
680
|
+
}];
|
|
681
|
+
readonly name: "redeemBatch";
|
|
682
|
+
readonly outputs: readonly [{
|
|
683
|
+
readonly name: "redemptions";
|
|
684
|
+
readonly internalType: "struct Redemption[]";
|
|
685
|
+
readonly type: "tuple[]";
|
|
686
|
+
readonly components: readonly [{
|
|
687
|
+
readonly name: "tokenAddress";
|
|
688
|
+
readonly internalType: "address";
|
|
689
|
+
readonly type: "address";
|
|
690
|
+
}, {
|
|
691
|
+
readonly name: "valueRedeemed";
|
|
692
|
+
readonly internalType: "uint256";
|
|
693
|
+
readonly type: "uint256";
|
|
694
|
+
}];
|
|
695
|
+
}];
|
|
696
|
+
}, {
|
|
697
|
+
readonly stateMutability: "nonpayable";
|
|
698
|
+
readonly type: "function";
|
|
699
|
+
readonly inputs: readonly [{
|
|
700
|
+
readonly name: "from";
|
|
701
|
+
readonly internalType: "address";
|
|
702
|
+
readonly type: "address";
|
|
703
|
+
}, {
|
|
704
|
+
readonly name: "to";
|
|
705
|
+
readonly internalType: "address";
|
|
706
|
+
readonly type: "address";
|
|
707
|
+
}, {
|
|
708
|
+
readonly name: "ids";
|
|
709
|
+
readonly internalType: "uint256[]";
|
|
710
|
+
readonly type: "uint256[]";
|
|
711
|
+
}, {
|
|
712
|
+
readonly name: "values";
|
|
713
|
+
readonly internalType: "uint256[]";
|
|
714
|
+
readonly type: "uint256[]";
|
|
715
|
+
}, {
|
|
716
|
+
readonly name: "data";
|
|
717
|
+
readonly internalType: "bytes";
|
|
718
|
+
readonly type: "bytes";
|
|
719
|
+
}];
|
|
720
|
+
readonly name: "safeBatchTransferFrom";
|
|
721
|
+
readonly outputs: readonly [];
|
|
722
|
+
}, {
|
|
723
|
+
readonly stateMutability: "nonpayable";
|
|
724
|
+
readonly type: "function";
|
|
725
|
+
readonly inputs: readonly [{
|
|
726
|
+
readonly name: "from";
|
|
727
|
+
readonly internalType: "address";
|
|
728
|
+
readonly type: "address";
|
|
729
|
+
}, {
|
|
730
|
+
readonly name: "to";
|
|
731
|
+
readonly internalType: "address";
|
|
732
|
+
readonly type: "address";
|
|
733
|
+
}, {
|
|
734
|
+
readonly name: "id";
|
|
735
|
+
readonly internalType: "uint256";
|
|
736
|
+
readonly type: "uint256";
|
|
737
|
+
}, {
|
|
738
|
+
readonly name: "value";
|
|
739
|
+
readonly internalType: "uint256";
|
|
740
|
+
readonly type: "uint256";
|
|
741
|
+
}, {
|
|
742
|
+
readonly name: "data";
|
|
743
|
+
readonly internalType: "bytes";
|
|
744
|
+
readonly type: "bytes";
|
|
745
|
+
}];
|
|
746
|
+
readonly name: "safeTransferFrom";
|
|
747
|
+
readonly outputs: readonly [];
|
|
748
|
+
}, {
|
|
749
|
+
readonly stateMutability: "nonpayable";
|
|
750
|
+
readonly type: "function";
|
|
751
|
+
readonly inputs: readonly [{
|
|
752
|
+
readonly name: "operator";
|
|
753
|
+
readonly internalType: "address";
|
|
754
|
+
readonly type: "address";
|
|
755
|
+
}, {
|
|
756
|
+
readonly name: "approved";
|
|
757
|
+
readonly internalType: "bool";
|
|
758
|
+
readonly type: "bool";
|
|
759
|
+
}];
|
|
760
|
+
readonly name: "setApprovalForAll";
|
|
761
|
+
readonly outputs: readonly [];
|
|
762
|
+
}, {
|
|
763
|
+
readonly stateMutability: "nonpayable";
|
|
764
|
+
readonly type: "function";
|
|
765
|
+
readonly inputs: readonly [{
|
|
766
|
+
readonly name: "newAuthority";
|
|
767
|
+
readonly internalType: "address";
|
|
768
|
+
readonly type: "address";
|
|
769
|
+
}];
|
|
770
|
+
readonly name: "setAuthority";
|
|
771
|
+
readonly outputs: readonly [];
|
|
772
|
+
}, {
|
|
773
|
+
readonly stateMutability: "view";
|
|
774
|
+
readonly type: "function";
|
|
775
|
+
readonly inputs: readonly [{
|
|
776
|
+
readonly name: "interfaceId";
|
|
777
|
+
readonly internalType: "bytes4";
|
|
778
|
+
readonly type: "bytes4";
|
|
779
|
+
}];
|
|
780
|
+
readonly name: "supportsInterface";
|
|
781
|
+
readonly outputs: readonly [{
|
|
782
|
+
readonly name: "";
|
|
783
|
+
readonly internalType: "bool";
|
|
784
|
+
readonly type: "bool";
|
|
785
|
+
}];
|
|
786
|
+
}, {
|
|
787
|
+
readonly stateMutability: "pure";
|
|
788
|
+
readonly type: "function";
|
|
789
|
+
readonly inputs: readonly [];
|
|
790
|
+
readonly name: "symbol";
|
|
791
|
+
readonly outputs: readonly [{
|
|
792
|
+
readonly name: "";
|
|
793
|
+
readonly internalType: "string";
|
|
794
|
+
readonly type: "string";
|
|
795
|
+
}];
|
|
796
|
+
}, {
|
|
797
|
+
readonly stateMutability: "view";
|
|
798
|
+
readonly type: "function";
|
|
799
|
+
readonly inputs: readonly [{
|
|
800
|
+
readonly name: "tokenId";
|
|
801
|
+
readonly internalType: "uint256";
|
|
802
|
+
readonly type: "uint256";
|
|
803
|
+
}];
|
|
804
|
+
readonly name: "tokenExists";
|
|
805
|
+
readonly outputs: readonly [{
|
|
806
|
+
readonly name: "";
|
|
807
|
+
readonly internalType: "bool";
|
|
808
|
+
readonly type: "bool";
|
|
809
|
+
}];
|
|
810
|
+
}, {
|
|
811
|
+
readonly stateMutability: "view";
|
|
812
|
+
readonly type: "function";
|
|
813
|
+
readonly inputs: readonly [{
|
|
814
|
+
readonly name: "tokenId";
|
|
815
|
+
readonly internalType: "uint256";
|
|
816
|
+
readonly type: "uint256";
|
|
817
|
+
}];
|
|
818
|
+
readonly name: "tokenPrice";
|
|
819
|
+
readonly outputs: readonly [{
|
|
820
|
+
readonly name: "";
|
|
821
|
+
readonly internalType: "uint256";
|
|
822
|
+
readonly type: "uint256";
|
|
823
|
+
}];
|
|
824
|
+
}, {
|
|
825
|
+
readonly stateMutability: "payable";
|
|
826
|
+
readonly type: "function";
|
|
827
|
+
readonly inputs: readonly [{
|
|
828
|
+
readonly name: "tokenIds";
|
|
829
|
+
readonly internalType: "uint256[]";
|
|
830
|
+
readonly type: "uint256[]";
|
|
831
|
+
}, {
|
|
832
|
+
readonly name: "quantities";
|
|
833
|
+
readonly internalType: "uint256[]";
|
|
834
|
+
readonly type: "uint256[]";
|
|
835
|
+
}, {
|
|
836
|
+
readonly name: "safeTransferData";
|
|
837
|
+
readonly internalType: "bytes";
|
|
838
|
+
readonly type: "bytes";
|
|
839
|
+
}, {
|
|
840
|
+
readonly name: "call";
|
|
841
|
+
readonly internalType: "bytes";
|
|
842
|
+
readonly type: "bytes";
|
|
843
|
+
}];
|
|
844
|
+
readonly name: "transferBatchToManagerAndCall";
|
|
845
|
+
readonly outputs: readonly [{
|
|
846
|
+
readonly name: "callReturn";
|
|
847
|
+
readonly internalType: "bytes";
|
|
848
|
+
readonly type: "bytes";
|
|
849
|
+
}];
|
|
850
|
+
}, {
|
|
851
|
+
readonly stateMutability: "view";
|
|
852
|
+
readonly type: "function";
|
|
853
|
+
readonly inputs: readonly [{
|
|
854
|
+
readonly name: "tokenId";
|
|
855
|
+
readonly internalType: "uint256";
|
|
856
|
+
readonly type: "uint256";
|
|
857
|
+
}];
|
|
858
|
+
readonly name: "uri";
|
|
859
|
+
readonly outputs: readonly [{
|
|
860
|
+
readonly name: "";
|
|
861
|
+
readonly internalType: "string";
|
|
862
|
+
readonly type: "string";
|
|
863
|
+
}];
|
|
864
|
+
}, {
|
|
865
|
+
readonly type: "event";
|
|
866
|
+
readonly anonymous: false;
|
|
867
|
+
readonly inputs: readonly [{
|
|
868
|
+
readonly name: "account";
|
|
869
|
+
readonly internalType: "address";
|
|
870
|
+
readonly type: "address";
|
|
871
|
+
readonly indexed: true;
|
|
872
|
+
}, {
|
|
873
|
+
readonly name: "operator";
|
|
874
|
+
readonly internalType: "address";
|
|
875
|
+
readonly type: "address";
|
|
876
|
+
readonly indexed: true;
|
|
877
|
+
}, {
|
|
878
|
+
readonly name: "approved";
|
|
879
|
+
readonly internalType: "bool";
|
|
880
|
+
readonly type: "bool";
|
|
881
|
+
readonly indexed: false;
|
|
882
|
+
}];
|
|
883
|
+
readonly name: "ApprovalForAll";
|
|
884
|
+
}, {
|
|
885
|
+
readonly type: "event";
|
|
886
|
+
readonly anonymous: false;
|
|
887
|
+
readonly inputs: readonly [{
|
|
888
|
+
readonly name: "authority";
|
|
889
|
+
readonly internalType: "address";
|
|
890
|
+
readonly type: "address";
|
|
891
|
+
readonly indexed: false;
|
|
892
|
+
}];
|
|
893
|
+
readonly name: "AuthorityUpdated";
|
|
894
|
+
}, {
|
|
895
|
+
readonly type: "event";
|
|
896
|
+
readonly anonymous: false;
|
|
897
|
+
readonly inputs: readonly [];
|
|
898
|
+
readonly name: "ContractURIUpdated";
|
|
899
|
+
}, {
|
|
900
|
+
readonly type: "event";
|
|
901
|
+
readonly anonymous: false;
|
|
902
|
+
readonly inputs: readonly [];
|
|
903
|
+
readonly name: "EIP712DomainChanged";
|
|
904
|
+
}, {
|
|
905
|
+
readonly type: "event";
|
|
906
|
+
readonly anonymous: false;
|
|
907
|
+
readonly inputs: readonly [{
|
|
908
|
+
readonly name: "tokenId";
|
|
909
|
+
readonly internalType: "uint256";
|
|
910
|
+
readonly type: "uint256";
|
|
911
|
+
readonly indexed: true;
|
|
912
|
+
}];
|
|
913
|
+
readonly name: "EthMintableTokenSet";
|
|
914
|
+
}, {
|
|
915
|
+
readonly type: "event";
|
|
916
|
+
readonly anonymous: false;
|
|
917
|
+
readonly inputs: readonly [{
|
|
918
|
+
readonly name: "tokenId";
|
|
919
|
+
readonly internalType: "uint256";
|
|
920
|
+
readonly type: "uint256";
|
|
921
|
+
readonly indexed: true;
|
|
922
|
+
}, {
|
|
923
|
+
readonly name: "pricePerToken";
|
|
924
|
+
readonly internalType: "uint256";
|
|
925
|
+
readonly type: "uint256";
|
|
926
|
+
readonly indexed: true;
|
|
927
|
+
}];
|
|
928
|
+
readonly name: "EthTokenCreated";
|
|
929
|
+
}, {
|
|
930
|
+
readonly type: "event";
|
|
931
|
+
readonly anonymous: false;
|
|
932
|
+
readonly inputs: readonly [{
|
|
933
|
+
readonly name: "tokenIds";
|
|
934
|
+
readonly internalType: "uint256[]";
|
|
935
|
+
readonly type: "uint256[]";
|
|
936
|
+
readonly indexed: false;
|
|
937
|
+
}, {
|
|
938
|
+
readonly name: "quantities";
|
|
939
|
+
readonly internalType: "uint256[]";
|
|
940
|
+
readonly type: "uint256[]";
|
|
941
|
+
readonly indexed: false;
|
|
942
|
+
}, {
|
|
943
|
+
readonly name: "recipient";
|
|
944
|
+
readonly internalType: "address";
|
|
945
|
+
readonly type: "address";
|
|
946
|
+
readonly indexed: false;
|
|
947
|
+
}];
|
|
948
|
+
readonly name: "RedeemedBatch";
|
|
949
|
+
}, {
|
|
950
|
+
readonly type: "event";
|
|
951
|
+
readonly anonymous: false;
|
|
952
|
+
readonly inputs: readonly [{
|
|
953
|
+
readonly name: "tokenId";
|
|
954
|
+
readonly internalType: "uint256";
|
|
955
|
+
readonly type: "uint256";
|
|
956
|
+
readonly indexed: true;
|
|
957
|
+
}, {
|
|
958
|
+
readonly name: "tokenConfig";
|
|
959
|
+
readonly internalType: "struct TokenConfig";
|
|
960
|
+
readonly type: "tuple";
|
|
961
|
+
readonly components: readonly [{
|
|
962
|
+
readonly name: "price";
|
|
963
|
+
readonly internalType: "uint256";
|
|
964
|
+
readonly type: "uint256";
|
|
965
|
+
}, {
|
|
966
|
+
readonly name: "tokenAddress";
|
|
967
|
+
readonly internalType: "address";
|
|
968
|
+
readonly type: "address";
|
|
969
|
+
}];
|
|
970
|
+
readonly indexed: true;
|
|
971
|
+
}];
|
|
972
|
+
readonly name: "TokenCreated";
|
|
973
|
+
}, {
|
|
974
|
+
readonly type: "event";
|
|
975
|
+
readonly anonymous: false;
|
|
976
|
+
readonly inputs: readonly [{
|
|
977
|
+
readonly name: "operator";
|
|
978
|
+
readonly internalType: "address";
|
|
979
|
+
readonly type: "address";
|
|
980
|
+
readonly indexed: true;
|
|
981
|
+
}, {
|
|
982
|
+
readonly name: "from";
|
|
983
|
+
readonly internalType: "address";
|
|
984
|
+
readonly type: "address";
|
|
985
|
+
readonly indexed: true;
|
|
986
|
+
}, {
|
|
987
|
+
readonly name: "to";
|
|
988
|
+
readonly internalType: "address";
|
|
989
|
+
readonly type: "address";
|
|
990
|
+
readonly indexed: true;
|
|
991
|
+
}, {
|
|
992
|
+
readonly name: "ids";
|
|
993
|
+
readonly internalType: "uint256[]";
|
|
994
|
+
readonly type: "uint256[]";
|
|
995
|
+
readonly indexed: false;
|
|
996
|
+
}, {
|
|
997
|
+
readonly name: "values";
|
|
998
|
+
readonly internalType: "uint256[]";
|
|
999
|
+
readonly type: "uint256[]";
|
|
1000
|
+
readonly indexed: false;
|
|
1001
|
+
}];
|
|
1002
|
+
readonly name: "TransferBatch";
|
|
1003
|
+
}, {
|
|
1004
|
+
readonly type: "event";
|
|
1005
|
+
readonly anonymous: false;
|
|
1006
|
+
readonly inputs: readonly [{
|
|
1007
|
+
readonly name: "operator";
|
|
1008
|
+
readonly internalType: "address";
|
|
1009
|
+
readonly type: "address";
|
|
1010
|
+
readonly indexed: true;
|
|
1011
|
+
}, {
|
|
1012
|
+
readonly name: "from";
|
|
1013
|
+
readonly internalType: "address";
|
|
1014
|
+
readonly type: "address";
|
|
1015
|
+
readonly indexed: true;
|
|
1016
|
+
}, {
|
|
1017
|
+
readonly name: "to";
|
|
1018
|
+
readonly internalType: "address";
|
|
1019
|
+
readonly type: "address";
|
|
1020
|
+
readonly indexed: true;
|
|
1021
|
+
}, {
|
|
1022
|
+
readonly name: "id";
|
|
1023
|
+
readonly internalType: "uint256";
|
|
1024
|
+
readonly type: "uint256";
|
|
1025
|
+
readonly indexed: false;
|
|
1026
|
+
}, {
|
|
1027
|
+
readonly name: "value";
|
|
1028
|
+
readonly internalType: "uint256";
|
|
1029
|
+
readonly type: "uint256";
|
|
1030
|
+
readonly indexed: false;
|
|
1031
|
+
}];
|
|
1032
|
+
readonly name: "TransferSingle";
|
|
1033
|
+
}, {
|
|
1034
|
+
readonly type: "event";
|
|
1035
|
+
readonly anonymous: false;
|
|
1036
|
+
readonly inputs: readonly [{
|
|
1037
|
+
readonly name: "value";
|
|
1038
|
+
readonly internalType: "string";
|
|
1039
|
+
readonly type: "string";
|
|
1040
|
+
readonly indexed: false;
|
|
1041
|
+
}, {
|
|
1042
|
+
readonly name: "id";
|
|
1043
|
+
readonly internalType: "uint256";
|
|
1044
|
+
readonly type: "uint256";
|
|
1045
|
+
readonly indexed: true;
|
|
1046
|
+
}];
|
|
1047
|
+
readonly name: "URI";
|
|
1048
|
+
}, {
|
|
1049
|
+
readonly type: "event";
|
|
1050
|
+
readonly anonymous: false;
|
|
1051
|
+
readonly inputs: readonly [{
|
|
1052
|
+
readonly name: "contractURI";
|
|
1053
|
+
readonly internalType: "string";
|
|
1054
|
+
readonly type: "string";
|
|
1055
|
+
readonly indexed: false;
|
|
1056
|
+
}, {
|
|
1057
|
+
readonly name: "baseURI";
|
|
1058
|
+
readonly internalType: "string";
|
|
1059
|
+
readonly type: "string";
|
|
1060
|
+
readonly indexed: false;
|
|
1061
|
+
}];
|
|
1062
|
+
readonly name: "URIsUpdated";
|
|
1063
|
+
}, {
|
|
1064
|
+
readonly type: "error";
|
|
1065
|
+
readonly inputs: readonly [{
|
|
1066
|
+
readonly name: "authority";
|
|
1067
|
+
readonly internalType: "address";
|
|
1068
|
+
readonly type: "address";
|
|
1069
|
+
}];
|
|
1070
|
+
readonly name: "AccessManagedInvalidAuthority";
|
|
1071
|
+
}, {
|
|
1072
|
+
readonly type: "error";
|
|
1073
|
+
readonly inputs: readonly [{
|
|
1074
|
+
readonly name: "caller";
|
|
1075
|
+
readonly internalType: "address";
|
|
1076
|
+
readonly type: "address";
|
|
1077
|
+
}, {
|
|
1078
|
+
readonly name: "delay";
|
|
1079
|
+
readonly internalType: "uint32";
|
|
1080
|
+
readonly type: "uint32";
|
|
1081
|
+
}];
|
|
1082
|
+
readonly name: "AccessManagedRequiredDelay";
|
|
1083
|
+
}, {
|
|
1084
|
+
readonly type: "error";
|
|
1085
|
+
readonly inputs: readonly [{
|
|
1086
|
+
readonly name: "caller";
|
|
1087
|
+
readonly internalType: "address";
|
|
1088
|
+
readonly type: "address";
|
|
1089
|
+
}];
|
|
1090
|
+
readonly name: "AccessManagedUnauthorized";
|
|
1091
|
+
}, {
|
|
1092
|
+
readonly type: "error";
|
|
1093
|
+
readonly inputs: readonly [{
|
|
1094
|
+
readonly name: "lengthA";
|
|
1095
|
+
readonly internalType: "uint256";
|
|
1096
|
+
readonly type: "uint256";
|
|
1097
|
+
}, {
|
|
1098
|
+
readonly name: "lengthB";
|
|
1099
|
+
readonly internalType: "uint256";
|
|
1100
|
+
readonly type: "uint256";
|
|
1101
|
+
}];
|
|
1102
|
+
readonly name: "ArrayLengthMismatch";
|
|
1103
|
+
}, {
|
|
1104
|
+
readonly type: "error";
|
|
1105
|
+
readonly inputs: readonly [{
|
|
1106
|
+
readonly name: "returnData";
|
|
1107
|
+
readonly internalType: "bytes";
|
|
1108
|
+
readonly type: "bytes";
|
|
1109
|
+
}];
|
|
1110
|
+
readonly name: "CallFailed";
|
|
1111
|
+
}, {
|
|
1112
|
+
readonly type: "error";
|
|
1113
|
+
readonly inputs: readonly [{
|
|
1114
|
+
readonly name: "sender";
|
|
1115
|
+
readonly internalType: "address";
|
|
1116
|
+
readonly type: "address";
|
|
1117
|
+
}, {
|
|
1118
|
+
readonly name: "balance";
|
|
1119
|
+
readonly internalType: "uint256";
|
|
1120
|
+
readonly type: "uint256";
|
|
1121
|
+
}, {
|
|
1122
|
+
readonly name: "needed";
|
|
1123
|
+
readonly internalType: "uint256";
|
|
1124
|
+
readonly type: "uint256";
|
|
1125
|
+
}, {
|
|
1126
|
+
readonly name: "tokenId";
|
|
1127
|
+
readonly internalType: "uint256";
|
|
1128
|
+
readonly type: "uint256";
|
|
1129
|
+
}];
|
|
1130
|
+
readonly name: "ERC1155InsufficientBalance";
|
|
1131
|
+
}, {
|
|
1132
|
+
readonly type: "error";
|
|
1133
|
+
readonly inputs: readonly [{
|
|
1134
|
+
readonly name: "approver";
|
|
1135
|
+
readonly internalType: "address";
|
|
1136
|
+
readonly type: "address";
|
|
1137
|
+
}];
|
|
1138
|
+
readonly name: "ERC1155InvalidApprover";
|
|
1139
|
+
}, {
|
|
1140
|
+
readonly type: "error";
|
|
1141
|
+
readonly inputs: readonly [{
|
|
1142
|
+
readonly name: "idsLength";
|
|
1143
|
+
readonly internalType: "uint256";
|
|
1144
|
+
readonly type: "uint256";
|
|
1145
|
+
}, {
|
|
1146
|
+
readonly name: "valuesLength";
|
|
1147
|
+
readonly internalType: "uint256";
|
|
1148
|
+
readonly type: "uint256";
|
|
1149
|
+
}];
|
|
1150
|
+
readonly name: "ERC1155InvalidArrayLength";
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly type: "error";
|
|
1153
|
+
readonly inputs: readonly [{
|
|
1154
|
+
readonly name: "operator";
|
|
1155
|
+
readonly internalType: "address";
|
|
1156
|
+
readonly type: "address";
|
|
1157
|
+
}];
|
|
1158
|
+
readonly name: "ERC1155InvalidOperator";
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly type: "error";
|
|
1161
|
+
readonly inputs: readonly [{
|
|
1162
|
+
readonly name: "receiver";
|
|
1163
|
+
readonly internalType: "address";
|
|
1164
|
+
readonly type: "address";
|
|
1165
|
+
}];
|
|
1166
|
+
readonly name: "ERC1155InvalidReceiver";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly type: "error";
|
|
1169
|
+
readonly inputs: readonly [{
|
|
1170
|
+
readonly name: "sender";
|
|
1171
|
+
readonly internalType: "address";
|
|
1172
|
+
readonly type: "address";
|
|
1173
|
+
}];
|
|
1174
|
+
readonly name: "ERC1155InvalidSender";
|
|
1175
|
+
}, {
|
|
1176
|
+
readonly type: "error";
|
|
1177
|
+
readonly inputs: readonly [{
|
|
1178
|
+
readonly name: "operator";
|
|
1179
|
+
readonly internalType: "address";
|
|
1180
|
+
readonly type: "address";
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly name: "owner";
|
|
1183
|
+
readonly internalType: "address";
|
|
1184
|
+
readonly type: "address";
|
|
1185
|
+
}];
|
|
1186
|
+
readonly name: "ERC1155MissingApprovalForAll";
|
|
1187
|
+
}, {
|
|
1188
|
+
readonly type: "error";
|
|
1189
|
+
readonly inputs: readonly [];
|
|
1190
|
+
readonly name: "ERC20TransferSlippage";
|
|
1191
|
+
}, {
|
|
1192
|
+
readonly type: "error";
|
|
1193
|
+
readonly inputs: readonly [{
|
|
1194
|
+
readonly name: "deadline";
|
|
1195
|
+
readonly internalType: "uint256";
|
|
1196
|
+
readonly type: "uint256";
|
|
1197
|
+
}];
|
|
1198
|
+
readonly name: "ERC2612ExpiredSignature";
|
|
1199
|
+
}, {
|
|
1200
|
+
readonly type: "error";
|
|
1201
|
+
readonly inputs: readonly [];
|
|
1202
|
+
readonly name: "ETHTransferFailed";
|
|
1203
|
+
}, {
|
|
1204
|
+
readonly type: "error";
|
|
1205
|
+
readonly inputs: readonly [];
|
|
1206
|
+
readonly name: "IncorrectAmountSent";
|
|
1207
|
+
}, {
|
|
1208
|
+
readonly type: "error";
|
|
1209
|
+
readonly inputs: readonly [{
|
|
1210
|
+
readonly name: "account";
|
|
1211
|
+
readonly internalType: "address";
|
|
1212
|
+
readonly type: "address";
|
|
1213
|
+
}, {
|
|
1214
|
+
readonly name: "currentNonce";
|
|
1215
|
+
readonly internalType: "uint256";
|
|
1216
|
+
readonly type: "uint256";
|
|
1217
|
+
}];
|
|
1218
|
+
readonly name: "InvalidAccountNonce";
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly type: "error";
|
|
1221
|
+
readonly inputs: readonly [];
|
|
1222
|
+
readonly name: "InvalidRecipient";
|
|
1223
|
+
}, {
|
|
1224
|
+
readonly type: "error";
|
|
1225
|
+
readonly inputs: readonly [];
|
|
1226
|
+
readonly name: "InvalidShortString";
|
|
1227
|
+
}, {
|
|
1228
|
+
readonly type: "error";
|
|
1229
|
+
readonly inputs: readonly [];
|
|
1230
|
+
readonly name: "InvalidSignature";
|
|
1231
|
+
}, {
|
|
1232
|
+
readonly type: "error";
|
|
1233
|
+
readonly inputs: readonly [];
|
|
1234
|
+
readonly name: "InvalidTokenPrice";
|
|
1235
|
+
}, {
|
|
1236
|
+
readonly type: "error";
|
|
1237
|
+
readonly inputs: readonly [];
|
|
1238
|
+
readonly name: "NoUriForNonexistentToken";
|
|
1239
|
+
}, {
|
|
1240
|
+
readonly type: "error";
|
|
1241
|
+
readonly inputs: readonly [{
|
|
1242
|
+
readonly name: "str";
|
|
1243
|
+
readonly internalType: "string";
|
|
1244
|
+
readonly type: "string";
|
|
1245
|
+
}];
|
|
1246
|
+
readonly name: "StringTooLong";
|
|
1247
|
+
}, {
|
|
1248
|
+
readonly type: "error";
|
|
1249
|
+
readonly inputs: readonly [];
|
|
1250
|
+
readonly name: "TokenAlreadyCreated";
|
|
1251
|
+
}, {
|
|
1252
|
+
readonly type: "error";
|
|
1253
|
+
readonly inputs: readonly [];
|
|
1254
|
+
readonly name: "TokenDoesNotExist";
|
|
1255
|
+
}, {
|
|
1256
|
+
readonly type: "error";
|
|
1257
|
+
readonly inputs: readonly [{
|
|
1258
|
+
readonly name: "storedTokenAddress";
|
|
1259
|
+
readonly internalType: "address";
|
|
1260
|
+
readonly type: "address";
|
|
1261
|
+
}, {
|
|
1262
|
+
readonly name: "expectedTokenAddress";
|
|
1263
|
+
readonly internalType: "address";
|
|
1264
|
+
readonly type: "address";
|
|
1265
|
+
}];
|
|
1266
|
+
readonly name: "TokenMismatch";
|
|
1267
|
+
}, {
|
|
1268
|
+
readonly type: "error";
|
|
1269
|
+
readonly inputs: readonly [];
|
|
1270
|
+
readonly name: "TokenNotMintable";
|
|
1271
|
+
}], "permitTransferBatchToManagerAndCall">;
|
|
1272
|
+
export {};
|
|
1273
|
+
//# sourceMappingURL=mints-contracts.d.ts.map
|