@seedprotocol/publish 0.4.8

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.
Files changed (100) hide show
  1. package/README.md +75 -0
  2. package/dist/config.d.ts +40 -0
  3. package/dist/config.d.ts.map +1 -0
  4. package/dist/helpers/blockchain.d.ts +3 -0
  5. package/dist/helpers/blockchain.d.ts.map +1 -0
  6. package/dist/helpers/constants.d.ts +16 -0
  7. package/dist/helpers/constants.d.ts.map +1 -0
  8. package/dist/helpers/debugLog.d.ts +7 -0
  9. package/dist/helpers/debugLog.d.ts.map +1 -0
  10. package/dist/helpers/easDirect.d.ts +91 -0
  11. package/dist/helpers/easDirect.d.ts.map +1 -0
  12. package/dist/helpers/thirdweb/11155420/0x043462304114da543add6b693c686b7d98865f3e.d.ts +565 -0
  13. package/dist/helpers/thirdweb/11155420/0x043462304114da543add6b693c686b7d98865f3e.d.ts.map +1 -0
  14. package/dist/helpers/thirdweb/11155420/0x67a4881391ad8b1f197c6bf7a556d70f87c3a786.d.ts +1586 -0
  15. package/dist/helpers/thirdweb/11155420/0x67a4881391ad8b1f197c6bf7a556d70f87c3a786.d.ts.map +1 -0
  16. package/dist/helpers/thirdweb/11155420/0x76f47d88bfaf670f5208911181fcdc0e160cb16d.d.ts +2878 -0
  17. package/dist/helpers/thirdweb/11155420/0x76f47d88bfaf670f5208911181fcdc0e160cb16d.d.ts.map +1 -0
  18. package/dist/helpers/thirdweb/11155420/0xa2b8315fd0f31c334be1b137d9e0ffbb3f200e57.d.ts +2 -0
  19. package/dist/helpers/thirdweb/11155420/0xa2b8315fd0f31c334be1b137d9e0ffbb3f200e57.d.ts.map +1 -0
  20. package/dist/helpers/thirdweb/11155420/0xcd8c945872df8e664e55cf8885c85ea3ea8f2148.d.ts +1617 -0
  21. package/dist/helpers/thirdweb/11155420/0xcd8c945872df8e664e55cf8885c85ea3ea8f2148.d.ts.map +1 -0
  22. package/dist/helpers/thirdweb/11155420/nameSchemaAttestation.d.ts +45 -0
  23. package/dist/helpers/thirdweb/11155420/nameSchemaAttestation.d.ts.map +1 -0
  24. package/dist/helpers/thirdweb/11155420/schemaRegistry.d.ts +145 -0
  25. package/dist/helpers/thirdweb/11155420/schemaRegistry.d.ts.map +1 -0
  26. package/dist/helpers/thirdweb.d.ts +40 -0
  27. package/dist/helpers/thirdweb.d.ts.map +1 -0
  28. package/dist/helpers/transformPayloadToIntegerIds.d.ts +34 -0
  29. package/dist/helpers/transformPayloadToIntegerIds.d.ts.map +1 -0
  30. package/dist/helpers/uploadApi.d.ts +30 -0
  31. package/dist/helpers/uploadApi.d.ts.map +1 -0
  32. package/dist/index.d.ts +12 -0
  33. package/dist/index.d.ts.map +1 -0
  34. package/dist/index.js +11733 -0
  35. package/dist/index.js.map +1 -0
  36. package/dist/react/ConnectButton.d.ts +4 -0
  37. package/dist/react/ConnectButton.d.ts.map +1 -0
  38. package/dist/react/PublishProvider.d.ts +19 -0
  39. package/dist/react/PublishProvider.d.ts.map +1 -0
  40. package/dist/services/PublishManager/actions/addSubscription.d.ts +2 -0
  41. package/dist/services/PublishManager/actions/addSubscription.d.ts.map +1 -0
  42. package/dist/services/PublishManager/actions/createPublish.d.ts +2 -0
  43. package/dist/services/PublishManager/actions/createPublish.d.ts.map +1 -0
  44. package/dist/services/PublishManager/actions/publishDone.d.ts +2 -0
  45. package/dist/services/PublishManager/actions/publishDone.d.ts.map +1 -0
  46. package/dist/services/PublishManager/actions/query.d.ts +2 -0
  47. package/dist/services/PublishManager/actions/query.d.ts.map +1 -0
  48. package/dist/services/PublishManager/actions/removeSubscription.d.ts +2 -0
  49. package/dist/services/PublishManager/actions/removeSubscription.d.ts.map +1 -0
  50. package/dist/services/PublishManager/actions/requestSavePublish.d.ts +2 -0
  51. package/dist/services/PublishManager/actions/requestSavePublish.d.ts.map +1 -0
  52. package/dist/services/PublishManager/actions/stopAll.d.ts +2 -0
  53. package/dist/services/PublishManager/actions/stopAll.d.ts.map +1 -0
  54. package/dist/services/PublishManager/actions/stopPublish.d.ts +2 -0
  55. package/dist/services/PublishManager/actions/stopPublish.d.ts.map +1 -0
  56. package/dist/services/PublishManager/actors/activeRouter.d.ts +3 -0
  57. package/dist/services/PublishManager/actors/activeRouter.d.ts.map +1 -0
  58. package/dist/services/PublishManager/actors/restoreFromDb.d.ts +3 -0
  59. package/dist/services/PublishManager/actors/restoreFromDb.d.ts.map +1 -0
  60. package/dist/services/PublishManager/actors/savePublish.d.ts +6 -0
  61. package/dist/services/PublishManager/actors/savePublish.d.ts.map +1 -0
  62. package/dist/services/PublishManager/actors/subscribe.d.ts +3 -0
  63. package/dist/services/PublishManager/actors/subscribe.d.ts.map +1 -0
  64. package/dist/services/PublishManager/index.d.ts +82 -0
  65. package/dist/services/PublishManager/index.d.ts.map +1 -0
  66. package/dist/services/configService.d.ts +15 -0
  67. package/dist/services/configService.d.ts.map +1 -0
  68. package/dist/services/publish/actors/checking.d.ts +9 -0
  69. package/dist/services/publish/actors/checking.d.ts.map +1 -0
  70. package/dist/services/publish/actors/createAttestationsDirectToEas.d.ts +6 -0
  71. package/dist/services/publish/actors/createAttestationsDirectToEas.d.ts.map +1 -0
  72. package/dist/services/publish/actors/persistSeedUid.d.ts +11 -0
  73. package/dist/services/publish/actors/persistSeedUid.d.ts.map +1 -0
  74. package/dist/services/publish/actors.d.ts +31 -0
  75. package/dist/services/publish/actors.d.ts.map +1 -0
  76. package/dist/services/publish/helpers/ensureEasSchemas.d.ts +14 -0
  77. package/dist/services/publish/helpers/ensureEasSchemas.d.ts.map +1 -0
  78. package/dist/services/publish/helpers/getSchemasNeedingNameAttestation.d.ts +17 -0
  79. package/dist/services/publish/helpers/getSchemasNeedingNameAttestation.d.ts.map +1 -0
  80. package/dist/services/publish/helpers/itemNeedsArweave.d.ts +16 -0
  81. package/dist/services/publish/helpers/itemNeedsArweave.d.ts.map +1 -0
  82. package/dist/services/publish/index.d.ts +116 -0
  83. package/dist/services/publish/index.d.ts.map +1 -0
  84. package/dist/services/publish/seeds.d.ts +2 -0
  85. package/dist/services/publish/seeds.d.ts.map +1 -0
  86. package/dist/services/publish/utils.d.ts +18 -0
  87. package/dist/services/publish/utils.d.ts.map +1 -0
  88. package/dist/services/publish/versions.d.ts +3 -0
  89. package/dist/services/publish/versions.d.ts.map +1 -0
  90. package/dist/services/shared.d.ts +7 -0
  91. package/dist/services/shared.d.ts.map +1 -0
  92. package/dist/services/upload/actors.d.ts +8 -0
  93. package/dist/services/upload/actors.d.ts.map +1 -0
  94. package/dist/services/upload/index.d.ts +2 -0
  95. package/dist/services/upload/index.d.ts.map +1 -0
  96. package/dist/services/upload/utils.d.ts +19 -0
  97. package/dist/services/upload/utils.d.ts.map +1 -0
  98. package/dist/types.d.ts +49 -0
  99. package/dist/types.d.ts.map +1 -0
  100. package/package.json +54 -0
@@ -0,0 +1,1617 @@
1
+ import { type BaseTransactionOptions, type AbiParameterToPrimitiveType } from "thirdweb";
2
+ /**
3
+ * Contract events
4
+ */
5
+ /**
6
+ * Represents the filters for the "AdminUpdated" event.
7
+ */
8
+ export type AdminUpdatedEventFilters = Partial<{
9
+ signer: AbiParameterToPrimitiveType<{
10
+ "type": "address";
11
+ "name": "signer";
12
+ "indexed": true;
13
+ }>;
14
+ }>;
15
+ /**
16
+ * Creates an event object for the AdminUpdated event.
17
+ * @param filters - Optional filters to apply to the event.
18
+ * @returns The prepared event object.
19
+ * @example
20
+ * ```
21
+ * import { getContractEvents } from "thirdweb";
22
+ * import { adminUpdatedEvent } from "TODO";
23
+ *
24
+ * const events = await getContractEvents({
25
+ * contract,
26
+ * events: [
27
+ * adminUpdatedEvent({
28
+ * signer: ...,
29
+ * })
30
+ * ],
31
+ * });
32
+ * ```
33
+ */
34
+ export declare function adminUpdatedEvent(filters?: AdminUpdatedEventFilters): import("thirdweb").PreparedEvent<{
35
+ readonly name: "AdminUpdated";
36
+ readonly type: "event";
37
+ readonly inputs: readonly [{
38
+ readonly type: "address";
39
+ readonly name: "signer";
40
+ readonly indexed: true;
41
+ }, {
42
+ readonly type: "bool";
43
+ readonly name: "isAdmin";
44
+ }];
45
+ }>;
46
+ /**
47
+ * Creates an event object for the Initialized event.
48
+ * @returns The prepared event object.
49
+ * @example
50
+ * ```
51
+ * import { getContractEvents } from "thirdweb";
52
+ * import { initializedEvent } from "TODO";
53
+ *
54
+ * const events = await getContractEvents({
55
+ * contract,
56
+ * events: [
57
+ * initializedEvent()
58
+ * ],
59
+ * });
60
+ * ```
61
+ */
62
+ export declare function initializedEvent(): import("thirdweb").PreparedEvent<{
63
+ readonly name: "Initialized";
64
+ readonly type: "event";
65
+ readonly inputs: readonly [{
66
+ readonly type: "uint8";
67
+ readonly name: "version";
68
+ }];
69
+ }>;
70
+ /**
71
+ * Represents the filters for the "SignerPermissionsUpdated" event.
72
+ */
73
+ export type SignerPermissionsUpdatedEventFilters = Partial<{
74
+ authorizingSigner: AbiParameterToPrimitiveType<{
75
+ "type": "address";
76
+ "name": "authorizingSigner";
77
+ "indexed": true;
78
+ }>;
79
+ targetSigner: AbiParameterToPrimitiveType<{
80
+ "type": "address";
81
+ "name": "targetSigner";
82
+ "indexed": true;
83
+ }>;
84
+ }>;
85
+ /**
86
+ * Creates an event object for the SignerPermissionsUpdated event.
87
+ * @param filters - Optional filters to apply to the event.
88
+ * @returns The prepared event object.
89
+ * @example
90
+ * ```
91
+ * import { getContractEvents } from "thirdweb";
92
+ * import { signerPermissionsUpdatedEvent } from "TODO";
93
+ *
94
+ * const events = await getContractEvents({
95
+ * contract,
96
+ * events: [
97
+ * signerPermissionsUpdatedEvent({
98
+ * authorizingSigner: ...,
99
+ * targetSigner: ...,
100
+ * })
101
+ * ],
102
+ * });
103
+ * ```
104
+ */
105
+ export declare function signerPermissionsUpdatedEvent(filters?: SignerPermissionsUpdatedEventFilters): import("thirdweb").PreparedEvent<{
106
+ readonly name: "SignerPermissionsUpdated";
107
+ readonly type: "event";
108
+ readonly inputs: readonly [{
109
+ readonly type: "address";
110
+ readonly name: "authorizingSigner";
111
+ readonly indexed: true;
112
+ }, {
113
+ readonly type: "address";
114
+ readonly name: "targetSigner";
115
+ readonly indexed: true;
116
+ }, {
117
+ readonly type: "tuple";
118
+ readonly components: readonly [{
119
+ readonly type: "address";
120
+ readonly name: "signer";
121
+ }, {
122
+ readonly type: "uint8";
123
+ readonly name: "isAdmin";
124
+ }, {
125
+ readonly type: "address[]";
126
+ readonly name: "approvedTargets";
127
+ }, {
128
+ readonly type: "uint256";
129
+ readonly name: "nativeTokenLimitPerTransaction";
130
+ }, {
131
+ readonly type: "uint128";
132
+ readonly name: "permissionStartTimestamp";
133
+ }, {
134
+ readonly type: "uint128";
135
+ readonly name: "permissionEndTimestamp";
136
+ }, {
137
+ readonly type: "uint128";
138
+ readonly name: "reqValidityStartTimestamp";
139
+ }, {
140
+ readonly type: "uint128";
141
+ readonly name: "reqValidityEndTimestamp";
142
+ }, {
143
+ readonly type: "bytes32";
144
+ readonly name: "uid";
145
+ }];
146
+ readonly name: "permissions";
147
+ }];
148
+ }>;
149
+ /**
150
+ * Creates an event object for the ContractURIUpdated event.
151
+ * @returns The prepared event object.
152
+ * @example
153
+ * ```
154
+ * import { getContractEvents } from "thirdweb";
155
+ * import { contractURIUpdatedEvent } from "TODO";
156
+ *
157
+ * const events = await getContractEvents({
158
+ * contract,
159
+ * events: [
160
+ * contractURIUpdatedEvent()
161
+ * ],
162
+ * });
163
+ * ```
164
+ */
165
+ export declare function contractURIUpdatedEvent(): import("thirdweb").PreparedEvent<{
166
+ readonly name: "ContractURIUpdated";
167
+ readonly type: "event";
168
+ readonly inputs: readonly [{
169
+ readonly type: "string";
170
+ readonly name: "prevURI";
171
+ }, {
172
+ readonly type: "string";
173
+ readonly name: "newURI";
174
+ }];
175
+ }>;
176
+ /**
177
+ * Creates an event object for the CreatedAttestation event.
178
+ * @returns The prepared event object.
179
+ * @example
180
+ * ```
181
+ * import { getContractEvents } from "thirdweb";
182
+ * import { createdAttestationEvent } from "TODO";
183
+ *
184
+ * const events = await getContractEvents({
185
+ * contract,
186
+ * events: [
187
+ * createdAttestationEvent()
188
+ * ],
189
+ * });
190
+ * ```
191
+ */
192
+ export declare function createdAttestationEvent(): import("thirdweb").PreparedEvent<{
193
+ readonly name: "CreatedAttestation";
194
+ readonly type: "event";
195
+ readonly inputs: readonly [{
196
+ readonly type: "tuple";
197
+ readonly components: readonly [{
198
+ readonly type: "bytes32";
199
+ readonly name: "schemaUid";
200
+ }, {
201
+ readonly type: "bytes32";
202
+ readonly name: "attestationUid";
203
+ }];
204
+ readonly name: "result";
205
+ }];
206
+ }>;
207
+ /**
208
+ * Creates an event object for the EIP712DomainChanged event.
209
+ * @returns The prepared event object.
210
+ * @example
211
+ * ```
212
+ * import { getContractEvents } from "thirdweb";
213
+ * import { eIP712DomainChangedEvent } from "TODO";
214
+ *
215
+ * const events = await getContractEvents({
216
+ * contract,
217
+ * events: [
218
+ * eIP712DomainChangedEvent()
219
+ * ],
220
+ * });
221
+ * ```
222
+ */
223
+ export declare function eIP712DomainChangedEvent(): import("thirdweb").PreparedEvent<{
224
+ readonly name: "EIP712DomainChanged";
225
+ readonly type: "event";
226
+ readonly inputs: readonly [];
227
+ }>;
228
+ /**
229
+ * Creates an event object for the Log event.
230
+ * @returns The prepared event object.
231
+ * @example
232
+ * ```
233
+ * import { getContractEvents } from "thirdweb";
234
+ * import { logEvent } from "TODO";
235
+ *
236
+ * const events = await getContractEvents({
237
+ * contract,
238
+ * events: [
239
+ * logEvent()
240
+ * ],
241
+ * });
242
+ * ```
243
+ */
244
+ export declare function logEvent(): import("thirdweb").PreparedEvent<{
245
+ readonly name: "Log";
246
+ readonly type: "event";
247
+ readonly inputs: readonly [{
248
+ readonly type: "string";
249
+ readonly name: "message";
250
+ }];
251
+ }>;
252
+ /**
253
+ * Represents the filters for the "OwnershipTransferred" event.
254
+ */
255
+ export type OwnershipTransferredEventFilters = Partial<{
256
+ previousOwner: AbiParameterToPrimitiveType<{
257
+ "type": "address";
258
+ "name": "previousOwner";
259
+ "indexed": true;
260
+ }>;
261
+ newOwner: AbiParameterToPrimitiveType<{
262
+ "type": "address";
263
+ "name": "newOwner";
264
+ "indexed": true;
265
+ }>;
266
+ }>;
267
+ /**
268
+ * Creates an event object for the OwnershipTransferred event.
269
+ * @param filters - Optional filters to apply to the event.
270
+ * @returns The prepared event object.
271
+ * @example
272
+ * ```
273
+ * import { getContractEvents } from "thirdweb";
274
+ * import { ownershipTransferredEvent } from "TODO";
275
+ *
276
+ * const events = await getContractEvents({
277
+ * contract,
278
+ * events: [
279
+ * ownershipTransferredEvent({
280
+ * previousOwner: ...,
281
+ * newOwner: ...,
282
+ * })
283
+ * ],
284
+ * });
285
+ * ```
286
+ */
287
+ export declare function ownershipTransferredEvent(filters?: OwnershipTransferredEventFilters): import("thirdweb").PreparedEvent<{
288
+ readonly name: "OwnershipTransferred";
289
+ readonly type: "event";
290
+ readonly inputs: readonly [{
291
+ readonly type: "address";
292
+ readonly name: "previousOwner";
293
+ readonly indexed: true;
294
+ }, {
295
+ readonly type: "address";
296
+ readonly name: "newOwner";
297
+ readonly indexed: true;
298
+ }];
299
+ }>;
300
+ /**
301
+ * Creates an event object for the SeedPublished event.
302
+ * @returns The prepared event object.
303
+ * @example
304
+ * ```
305
+ * import { getContractEvents } from "thirdweb";
306
+ * import { seedPublishedEvent } from "TODO";
307
+ *
308
+ * const events = await getContractEvents({
309
+ * contract,
310
+ * events: [
311
+ * seedPublishedEvent()
312
+ * ],
313
+ * });
314
+ * ```
315
+ */
316
+ export declare function seedPublishedEvent(): import("thirdweb").PreparedEvent<{
317
+ readonly name: "SeedPublished";
318
+ readonly type: "event";
319
+ readonly inputs: readonly [{
320
+ readonly type: "bytes";
321
+ readonly name: "returnedDataFromEAS";
322
+ }];
323
+ }>;
324
+ /**
325
+ * Contract read functions
326
+ */
327
+ /**
328
+ * Calls the "entryPoint" function on the contract.
329
+ * @param options - The options for the entryPoint function.
330
+ * @returns The parsed result of the function call.
331
+ * @example
332
+ * ```
333
+ * import { entryPoint } from "TODO";
334
+ *
335
+ * const result = await entryPoint();
336
+ *
337
+ * ```
338
+ */
339
+ export declare function entryPoint(options: BaseTransactionOptions): Promise<string>;
340
+ /**
341
+ * Calls the "factory" function on the contract.
342
+ * @param options - The options for the factory function.
343
+ * @returns The parsed result of the function call.
344
+ * @example
345
+ * ```
346
+ * import { factory } from "TODO";
347
+ *
348
+ * const result = await factory();
349
+ *
350
+ * ```
351
+ */
352
+ export declare function factory(options: BaseTransactionOptions): Promise<string>;
353
+ /**
354
+ * Calls the "getAllActiveSigners" function on the contract.
355
+ * @param options - The options for the getAllActiveSigners function.
356
+ * @returns The parsed result of the function call.
357
+ * @example
358
+ * ```
359
+ * import { getAllActiveSigners } from "TODO";
360
+ *
361
+ * const result = await getAllActiveSigners();
362
+ *
363
+ * ```
364
+ */
365
+ export declare function getAllActiveSigners(options: BaseTransactionOptions): Promise<readonly {
366
+ signer: string;
367
+ approvedTargets: readonly string[];
368
+ nativeTokenLimitPerTransaction: bigint;
369
+ startTimestamp: bigint;
370
+ endTimestamp: bigint;
371
+ }[]>;
372
+ /**
373
+ * Calls the "getAllAdmins" function on the contract.
374
+ * @param options - The options for the getAllAdmins function.
375
+ * @returns The parsed result of the function call.
376
+ * @example
377
+ * ```
378
+ * import { getAllAdmins } from "TODO";
379
+ *
380
+ * const result = await getAllAdmins();
381
+ *
382
+ * ```
383
+ */
384
+ export declare function getAllAdmins(options: BaseTransactionOptions): Promise<readonly string[]>;
385
+ /**
386
+ * Calls the "getAllExtensions" function on the contract.
387
+ * @param options - The options for the getAllExtensions function.
388
+ * @returns The parsed result of the function call.
389
+ * @example
390
+ * ```
391
+ * import { getAllExtensions } from "TODO";
392
+ *
393
+ * const result = await getAllExtensions();
394
+ *
395
+ * ```
396
+ */
397
+ export declare function getAllExtensions(options: BaseTransactionOptions): Promise<readonly {
398
+ metadata: {
399
+ name: string;
400
+ metadataURI: string;
401
+ implementation: string;
402
+ };
403
+ functions: readonly {
404
+ functionSelector: `0x${string}`;
405
+ functionSignature: string;
406
+ }[];
407
+ }[]>;
408
+ /**
409
+ * Calls the "getAllSigners" function on the contract.
410
+ * @param options - The options for the getAllSigners function.
411
+ * @returns The parsed result of the function call.
412
+ * @example
413
+ * ```
414
+ * import { getAllSigners } from "TODO";
415
+ *
416
+ * const result = await getAllSigners();
417
+ *
418
+ * ```
419
+ */
420
+ export declare function getAllSigners(options: BaseTransactionOptions): Promise<readonly {
421
+ signer: string;
422
+ approvedTargets: readonly string[];
423
+ nativeTokenLimitPerTransaction: bigint;
424
+ startTimestamp: bigint;
425
+ endTimestamp: bigint;
426
+ }[]>;
427
+ /**
428
+ * Represents the parameters for the "getImplementationForFunction" function.
429
+ */
430
+ export type GetImplementationForFunctionParams = {
431
+ functionSelector: AbiParameterToPrimitiveType<{
432
+ "type": "bytes4";
433
+ "name": "_functionSelector";
434
+ }>;
435
+ };
436
+ /**
437
+ * Calls the "getImplementationForFunction" function on the contract.
438
+ * @param options - The options for the getImplementationForFunction function.
439
+ * @returns The parsed result of the function call.
440
+ * @example
441
+ * ```
442
+ * import { getImplementationForFunction } from "TODO";
443
+ *
444
+ * const result = await getImplementationForFunction({
445
+ * functionSelector: ...,
446
+ * });
447
+ *
448
+ * ```
449
+ */
450
+ export declare function getImplementationForFunction(options: BaseTransactionOptions<GetImplementationForFunctionParams>): Promise<string>;
451
+ /**
452
+ * Calls the "getNonce" function on the contract.
453
+ * @param options - The options for the getNonce function.
454
+ * @returns The parsed result of the function call.
455
+ * @example
456
+ * ```
457
+ * import { getNonce } from "TODO";
458
+ *
459
+ * const result = await getNonce();
460
+ *
461
+ * ```
462
+ */
463
+ export declare function getNonce(options: BaseTransactionOptions): Promise<bigint>;
464
+ /**
465
+ * Represents the parameters for the "getPermissionsForSigner" function.
466
+ */
467
+ export type GetPermissionsForSignerParams = {
468
+ signer: AbiParameterToPrimitiveType<{
469
+ "type": "address";
470
+ "name": "signer";
471
+ }>;
472
+ };
473
+ /**
474
+ * Calls the "getPermissionsForSigner" function on the contract.
475
+ * @param options - The options for the getPermissionsForSigner function.
476
+ * @returns The parsed result of the function call.
477
+ * @example
478
+ * ```
479
+ * import { getPermissionsForSigner } from "TODO";
480
+ *
481
+ * const result = await getPermissionsForSigner({
482
+ * signer: ...,
483
+ * });
484
+ *
485
+ * ```
486
+ */
487
+ export declare function getPermissionsForSigner(options: BaseTransactionOptions<GetPermissionsForSignerParams>): Promise<{
488
+ signer: string;
489
+ approvedTargets: readonly string[];
490
+ nativeTokenLimitPerTransaction: bigint;
491
+ startTimestamp: bigint;
492
+ endTimestamp: bigint;
493
+ }>;
494
+ /**
495
+ * Represents the parameters for the "isActiveSigner" function.
496
+ */
497
+ export type IsActiveSignerParams = {
498
+ signer: AbiParameterToPrimitiveType<{
499
+ "type": "address";
500
+ "name": "signer";
501
+ }>;
502
+ };
503
+ /**
504
+ * Calls the "isActiveSigner" function on the contract.
505
+ * @param options - The options for the isActiveSigner function.
506
+ * @returns The parsed result of the function call.
507
+ * @example
508
+ * ```
509
+ * import { isActiveSigner } from "TODO";
510
+ *
511
+ * const result = await isActiveSigner({
512
+ * signer: ...,
513
+ * });
514
+ *
515
+ * ```
516
+ */
517
+ export declare function isActiveSigner(options: BaseTransactionOptions<IsActiveSignerParams>): Promise<boolean>;
518
+ /**
519
+ * Represents the parameters for the "isAdmin" function.
520
+ */
521
+ export type IsAdminParams = {
522
+ account: AbiParameterToPrimitiveType<{
523
+ "type": "address";
524
+ "name": "_account";
525
+ }>;
526
+ };
527
+ /**
528
+ * Calls the "isAdmin" function on the contract.
529
+ * @param options - The options for the isAdmin function.
530
+ * @returns The parsed result of the function call.
531
+ * @example
532
+ * ```
533
+ * import { isAdmin } from "TODO";
534
+ *
535
+ * const result = await isAdmin({
536
+ * account: ...,
537
+ * });
538
+ *
539
+ * ```
540
+ */
541
+ export declare function isAdmin(options: BaseTransactionOptions<IsAdminParams>): Promise<boolean>;
542
+ /**
543
+ * Represents the parameters for the "isValidSigner" function.
544
+ */
545
+ export type IsValidSignerParams = {
546
+ signer: AbiParameterToPrimitiveType<{
547
+ "type": "address";
548
+ "name": "_signer";
549
+ }>;
550
+ userOp: AbiParameterToPrimitiveType<{
551
+ "type": "tuple";
552
+ "name": "_userOp";
553
+ "components": [{
554
+ "type": "address";
555
+ "name": "sender";
556
+ }, {
557
+ "type": "uint256";
558
+ "name": "nonce";
559
+ }, {
560
+ "type": "bytes";
561
+ "name": "initCode";
562
+ }, {
563
+ "type": "bytes";
564
+ "name": "callData";
565
+ }, {
566
+ "type": "uint256";
567
+ "name": "callGasLimit";
568
+ }, {
569
+ "type": "uint256";
570
+ "name": "verificationGasLimit";
571
+ }, {
572
+ "type": "uint256";
573
+ "name": "preVerificationGas";
574
+ }, {
575
+ "type": "uint256";
576
+ "name": "maxFeePerGas";
577
+ }, {
578
+ "type": "uint256";
579
+ "name": "maxPriorityFeePerGas";
580
+ }, {
581
+ "type": "bytes";
582
+ "name": "paymasterAndData";
583
+ }, {
584
+ "type": "bytes";
585
+ "name": "signature";
586
+ }];
587
+ }>;
588
+ };
589
+ /**
590
+ * Calls the "isValidSigner" function on the contract.
591
+ * @param options - The options for the isValidSigner function.
592
+ * @returns The parsed result of the function call.
593
+ * @example
594
+ * ```
595
+ * import { isValidSigner } from "TODO";
596
+ *
597
+ * const result = await isValidSigner({
598
+ * signer: ...,
599
+ * userOp: ...,
600
+ * });
601
+ *
602
+ * ```
603
+ */
604
+ export declare function isValidSigner(options: BaseTransactionOptions<IsValidSignerParams>): Promise<boolean>;
605
+ /**
606
+ * Represents the parameters for the "verifySignerPermissionRequest" function.
607
+ */
608
+ export type VerifySignerPermissionRequestParams = {
609
+ req: AbiParameterToPrimitiveType<{
610
+ "type": "tuple";
611
+ "name": "req";
612
+ "components": [{
613
+ "type": "address";
614
+ "name": "signer";
615
+ }, {
616
+ "type": "uint8";
617
+ "name": "isAdmin";
618
+ }, {
619
+ "type": "address[]";
620
+ "name": "approvedTargets";
621
+ }, {
622
+ "type": "uint256";
623
+ "name": "nativeTokenLimitPerTransaction";
624
+ }, {
625
+ "type": "uint128";
626
+ "name": "permissionStartTimestamp";
627
+ }, {
628
+ "type": "uint128";
629
+ "name": "permissionEndTimestamp";
630
+ }, {
631
+ "type": "uint128";
632
+ "name": "reqValidityStartTimestamp";
633
+ }, {
634
+ "type": "uint128";
635
+ "name": "reqValidityEndTimestamp";
636
+ }, {
637
+ "type": "bytes32";
638
+ "name": "uid";
639
+ }];
640
+ }>;
641
+ signature: AbiParameterToPrimitiveType<{
642
+ "type": "bytes";
643
+ "name": "signature";
644
+ }>;
645
+ };
646
+ /**
647
+ * Calls the "verifySignerPermissionRequest" function on the contract.
648
+ * @param options - The options for the verifySignerPermissionRequest function.
649
+ * @returns The parsed result of the function call.
650
+ * @example
651
+ * ```
652
+ * import { verifySignerPermissionRequest } from "TODO";
653
+ *
654
+ * const result = await verifySignerPermissionRequest({
655
+ * req: ...,
656
+ * signature: ...,
657
+ * });
658
+ *
659
+ * ```
660
+ */
661
+ export declare function verifySignerPermissionRequest(options: BaseTransactionOptions<VerifySignerPermissionRequestParams>): Promise<readonly [boolean, string]>;
662
+ /**
663
+ * Calls the "contractURI" function on the contract.
664
+ * @param options - The options for the contractURI function.
665
+ * @returns The parsed result of the function call.
666
+ * @example
667
+ * ```
668
+ * import { contractURI } from "TODO";
669
+ *
670
+ * const result = await contractURI();
671
+ *
672
+ * ```
673
+ */
674
+ export declare function contractURI(options: BaseTransactionOptions): Promise<string>;
675
+ /**
676
+ * Represents the parameters for the "getMessageHash" function.
677
+ */
678
+ export type GetMessageHashParams = {
679
+ hash: AbiParameterToPrimitiveType<{
680
+ "type": "bytes32";
681
+ "name": "_hash";
682
+ }>;
683
+ };
684
+ /**
685
+ * Calls the "getMessageHash" function on the contract.
686
+ * @param options - The options for the getMessageHash function.
687
+ * @returns The parsed result of the function call.
688
+ * @example
689
+ * ```
690
+ * import { getMessageHash } from "TODO";
691
+ *
692
+ * const result = await getMessageHash({
693
+ * hash: ...,
694
+ * });
695
+ *
696
+ * ```
697
+ */
698
+ export declare function getMessageHash(options: BaseTransactionOptions<GetMessageHashParams>): Promise<`0x${string}`>;
699
+ /**
700
+ * Represents the parameters for the "isValidSignature" function.
701
+ */
702
+ export type IsValidSignatureParams = {
703
+ hash: AbiParameterToPrimitiveType<{
704
+ "type": "bytes32";
705
+ "name": "_hash";
706
+ }>;
707
+ signature: AbiParameterToPrimitiveType<{
708
+ "type": "bytes";
709
+ "name": "_signature";
710
+ }>;
711
+ };
712
+ /**
713
+ * Calls the "isValidSignature" function on the contract.
714
+ * @param options - The options for the isValidSignature function.
715
+ * @returns The parsed result of the function call.
716
+ * @example
717
+ * ```
718
+ * import { isValidSignature } from "TODO";
719
+ *
720
+ * const result = await isValidSignature({
721
+ * hash: ...,
722
+ * signature: ...,
723
+ * });
724
+ *
725
+ * ```
726
+ */
727
+ export declare function isValidSignature(options: BaseTransactionOptions<IsValidSignatureParams>): Promise<`0x${string}`>;
728
+ /**
729
+ * Represents the parameters for the "supportsInterface" function.
730
+ */
731
+ export type SupportsInterfaceParams = {
732
+ interfaceId: AbiParameterToPrimitiveType<{
733
+ "type": "bytes4";
734
+ "name": "interfaceId";
735
+ }>;
736
+ };
737
+ /**
738
+ * Calls the "supportsInterface" function on the contract.
739
+ * @param options - The options for the supportsInterface function.
740
+ * @returns The parsed result of the function call.
741
+ * @example
742
+ * ```
743
+ * import { supportsInterface } from "TODO";
744
+ *
745
+ * const result = await supportsInterface({
746
+ * interfaceId: ...,
747
+ * });
748
+ *
749
+ * ```
750
+ */
751
+ export declare function supportsInterface(options: BaseTransactionOptions<SupportsInterfaceParams>): Promise<boolean>;
752
+ /**
753
+ * Calls the "eip712Domain" function on the contract.
754
+ * @param options - The options for the eip712Domain function.
755
+ * @returns The parsed result of the function call.
756
+ * @example
757
+ * ```
758
+ * import { eip712Domain } from "TODO";
759
+ *
760
+ * const result = await eip712Domain();
761
+ *
762
+ * ```
763
+ */
764
+ export declare function eip712Domain(options: BaseTransactionOptions): Promise<readonly [`0x${string}`, string, string, bigint, string, `0x${string}`, readonly bigint[]]>;
765
+ /**
766
+ * Calls the "getEas" function on the contract.
767
+ * @param options - The options for the getEas function.
768
+ * @returns The parsed result of the function call.
769
+ * @example
770
+ * ```
771
+ * import { getEas } from "TODO";
772
+ *
773
+ * const result = await getEas();
774
+ *
775
+ * ```
776
+ */
777
+ export declare function getEas(options: BaseTransactionOptions): Promise<string>;
778
+ /**
779
+ * Calls the "owner" function on the contract.
780
+ * @param options - The options for the owner function.
781
+ * @returns The parsed result of the function call.
782
+ * @example
783
+ * ```
784
+ * import { owner } from "TODO";
785
+ *
786
+ * const result = await owner();
787
+ *
788
+ * ```
789
+ */
790
+ export declare function owner(options: BaseTransactionOptions): Promise<string>;
791
+ /**
792
+ * Contract write functions
793
+ */
794
+ /**
795
+ * Represents the parameters for the "initialize" function.
796
+ */
797
+ export type InitializeParams = {
798
+ defaultAdmin: AbiParameterToPrimitiveType<{
799
+ "type": "address";
800
+ "name": "_defaultAdmin";
801
+ }>;
802
+ data: AbiParameterToPrimitiveType<{
803
+ "type": "bytes";
804
+ "name": "_data";
805
+ }>;
806
+ };
807
+ /**
808
+ * Calls the "initialize" function on the contract.
809
+ * @param options - The options for the "initialize" function.
810
+ * @returns A prepared transaction object.
811
+ * @example
812
+ * ```
813
+ * import { initialize } from "TODO";
814
+ *
815
+ * const transaction = initialize({
816
+ * defaultAdmin: ...,
817
+ * data: ...,
818
+ * });
819
+ *
820
+ * // Send the transaction
821
+ * ...
822
+ *
823
+ * ```
824
+ */
825
+ export declare function initialize(options: BaseTransactionOptions<InitializeParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
826
+ /**
827
+ * Represents the parameters for the "multicall" function.
828
+ */
829
+ export type MulticallParams = {
830
+ data: AbiParameterToPrimitiveType<{
831
+ "type": "bytes[]";
832
+ "name": "data";
833
+ }>;
834
+ };
835
+ /**
836
+ * Calls the "multicall" function on the contract.
837
+ * @param options - The options for the "multicall" function.
838
+ * @returns A prepared transaction object.
839
+ * @example
840
+ * ```
841
+ * import { multicall } from "TODO";
842
+ *
843
+ * const transaction = multicall({
844
+ * data: ...,
845
+ * });
846
+ *
847
+ * // Send the transaction
848
+ * ...
849
+ *
850
+ * ```
851
+ */
852
+ export declare function multicall(options: BaseTransactionOptions<MulticallParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
853
+ /**
854
+ * Represents the parameters for the "setEntrypointOverride" function.
855
+ */
856
+ export type SetEntrypointOverrideParams = {
857
+ entrypointOverride: AbiParameterToPrimitiveType<{
858
+ "type": "address";
859
+ "name": "_entrypointOverride";
860
+ }>;
861
+ };
862
+ /**
863
+ * Calls the "setEntrypointOverride" function on the contract.
864
+ * @param options - The options for the "setEntrypointOverride" function.
865
+ * @returns A prepared transaction object.
866
+ * @example
867
+ * ```
868
+ * import { setEntrypointOverride } from "TODO";
869
+ *
870
+ * const transaction = setEntrypointOverride({
871
+ * entrypointOverride: ...,
872
+ * });
873
+ *
874
+ * // Send the transaction
875
+ * ...
876
+ *
877
+ * ```
878
+ */
879
+ export declare function setEntrypointOverride(options: BaseTransactionOptions<SetEntrypointOverrideParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
880
+ /**
881
+ * Represents the parameters for the "setPermissionsForSigner" function.
882
+ */
883
+ export type SetPermissionsForSignerParams = {
884
+ req: AbiParameterToPrimitiveType<{
885
+ "type": "tuple";
886
+ "name": "_req";
887
+ "components": [{
888
+ "type": "address";
889
+ "name": "signer";
890
+ }, {
891
+ "type": "uint8";
892
+ "name": "isAdmin";
893
+ }, {
894
+ "type": "address[]";
895
+ "name": "approvedTargets";
896
+ }, {
897
+ "type": "uint256";
898
+ "name": "nativeTokenLimitPerTransaction";
899
+ }, {
900
+ "type": "uint128";
901
+ "name": "permissionStartTimestamp";
902
+ }, {
903
+ "type": "uint128";
904
+ "name": "permissionEndTimestamp";
905
+ }, {
906
+ "type": "uint128";
907
+ "name": "reqValidityStartTimestamp";
908
+ }, {
909
+ "type": "uint128";
910
+ "name": "reqValidityEndTimestamp";
911
+ }, {
912
+ "type": "bytes32";
913
+ "name": "uid";
914
+ }];
915
+ }>;
916
+ signature: AbiParameterToPrimitiveType<{
917
+ "type": "bytes";
918
+ "name": "_signature";
919
+ }>;
920
+ };
921
+ /**
922
+ * Calls the "setPermissionsForSigner" function on the contract.
923
+ * @param options - The options for the "setPermissionsForSigner" function.
924
+ * @returns A prepared transaction object.
925
+ * @example
926
+ * ```
927
+ * import { setPermissionsForSigner } from "TODO";
928
+ *
929
+ * const transaction = setPermissionsForSigner({
930
+ * req: ...,
931
+ * signature: ...,
932
+ * });
933
+ *
934
+ * // Send the transaction
935
+ * ...
936
+ *
937
+ * ```
938
+ */
939
+ export declare function setPermissionsForSigner(options: BaseTransactionOptions<SetPermissionsForSignerParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
940
+ /**
941
+ * Represents the parameters for the "validateUserOp" function.
942
+ */
943
+ export type ValidateUserOpParams = {
944
+ userOp: AbiParameterToPrimitiveType<{
945
+ "type": "tuple";
946
+ "name": "userOp";
947
+ "components": [{
948
+ "type": "address";
949
+ "name": "sender";
950
+ }, {
951
+ "type": "uint256";
952
+ "name": "nonce";
953
+ }, {
954
+ "type": "bytes";
955
+ "name": "initCode";
956
+ }, {
957
+ "type": "bytes";
958
+ "name": "callData";
959
+ }, {
960
+ "type": "uint256";
961
+ "name": "callGasLimit";
962
+ }, {
963
+ "type": "uint256";
964
+ "name": "verificationGasLimit";
965
+ }, {
966
+ "type": "uint256";
967
+ "name": "preVerificationGas";
968
+ }, {
969
+ "type": "uint256";
970
+ "name": "maxFeePerGas";
971
+ }, {
972
+ "type": "uint256";
973
+ "name": "maxPriorityFeePerGas";
974
+ }, {
975
+ "type": "bytes";
976
+ "name": "paymasterAndData";
977
+ }, {
978
+ "type": "bytes";
979
+ "name": "signature";
980
+ }];
981
+ }>;
982
+ userOpHash: AbiParameterToPrimitiveType<{
983
+ "type": "bytes32";
984
+ "name": "userOpHash";
985
+ }>;
986
+ missingAccountFunds: AbiParameterToPrimitiveType<{
987
+ "type": "uint256";
988
+ "name": "missingAccountFunds";
989
+ }>;
990
+ };
991
+ /**
992
+ * Calls the "validateUserOp" function on the contract.
993
+ * @param options - The options for the "validateUserOp" function.
994
+ * @returns A prepared transaction object.
995
+ * @example
996
+ * ```
997
+ * import { validateUserOp } from "TODO";
998
+ *
999
+ * const transaction = validateUserOp({
1000
+ * userOp: ...,
1001
+ * userOpHash: ...,
1002
+ * missingAccountFunds: ...,
1003
+ * });
1004
+ *
1005
+ * // Send the transaction
1006
+ * ...
1007
+ *
1008
+ * ```
1009
+ */
1010
+ export declare function validateUserOp(options: BaseTransactionOptions<ValidateUserOpParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1011
+ /**
1012
+ * Calls the "addDeposit" function on the contract.
1013
+ * @param options - The options for the "addDeposit" function.
1014
+ * @returns A prepared transaction object.
1015
+ * @example
1016
+ * ```
1017
+ * import { addDeposit } from "TODO";
1018
+ *
1019
+ * const transaction = addDeposit();
1020
+ *
1021
+ * // Send the transaction
1022
+ * ...
1023
+ *
1024
+ * ```
1025
+ */
1026
+ export declare function addDeposit(options: BaseTransactionOptions): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1027
+ /**
1028
+ * Represents the parameters for the "execute" function.
1029
+ */
1030
+ export type ExecuteParams = {
1031
+ target: AbiParameterToPrimitiveType<{
1032
+ "type": "address";
1033
+ "name": "_target";
1034
+ }>;
1035
+ value: AbiParameterToPrimitiveType<{
1036
+ "type": "uint256";
1037
+ "name": "_value";
1038
+ }>;
1039
+ calldata: AbiParameterToPrimitiveType<{
1040
+ "type": "bytes";
1041
+ "name": "_calldata";
1042
+ }>;
1043
+ };
1044
+ /**
1045
+ * Calls the "execute" function on the contract.
1046
+ * @param options - The options for the "execute" function.
1047
+ * @returns A prepared transaction object.
1048
+ * @example
1049
+ * ```
1050
+ * import { execute } from "TODO";
1051
+ *
1052
+ * const transaction = execute({
1053
+ * target: ...,
1054
+ * value: ...,
1055
+ * calldata: ...,
1056
+ * });
1057
+ *
1058
+ * // Send the transaction
1059
+ * ...
1060
+ *
1061
+ * ```
1062
+ */
1063
+ export declare function execute(options: BaseTransactionOptions<ExecuteParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1064
+ /**
1065
+ * Represents the parameters for the "executeBatch" function.
1066
+ */
1067
+ export type ExecuteBatchParams = {
1068
+ target: AbiParameterToPrimitiveType<{
1069
+ "type": "address[]";
1070
+ "name": "_target";
1071
+ }>;
1072
+ value: AbiParameterToPrimitiveType<{
1073
+ "type": "uint256[]";
1074
+ "name": "_value";
1075
+ }>;
1076
+ calldata: AbiParameterToPrimitiveType<{
1077
+ "type": "bytes[]";
1078
+ "name": "_calldata";
1079
+ }>;
1080
+ };
1081
+ /**
1082
+ * Calls the "executeBatch" function on the contract.
1083
+ * @param options - The options for the "executeBatch" function.
1084
+ * @returns A prepared transaction object.
1085
+ * @example
1086
+ * ```
1087
+ * import { executeBatch } from "TODO";
1088
+ *
1089
+ * const transaction = executeBatch({
1090
+ * target: ...,
1091
+ * value: ...,
1092
+ * calldata: ...,
1093
+ * });
1094
+ *
1095
+ * // Send the transaction
1096
+ * ...
1097
+ *
1098
+ * ```
1099
+ */
1100
+ export declare function executeBatch(options: BaseTransactionOptions<ExecuteBatchParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1101
+ /**
1102
+ * Represents the parameters for the "onERC1155BatchReceived" function.
1103
+ */
1104
+ export type OnERC1155BatchReceivedParams = {
1105
+ arg_0: AbiParameterToPrimitiveType<{
1106
+ "type": "address";
1107
+ }>;
1108
+ arg_1: AbiParameterToPrimitiveType<{
1109
+ "type": "address";
1110
+ }>;
1111
+ arg_2: AbiParameterToPrimitiveType<{
1112
+ "type": "uint256[]";
1113
+ }>;
1114
+ arg_3: AbiParameterToPrimitiveType<{
1115
+ "type": "uint256[]";
1116
+ }>;
1117
+ arg_4: AbiParameterToPrimitiveType<{
1118
+ "type": "bytes";
1119
+ }>;
1120
+ };
1121
+ /**
1122
+ * Calls the "onERC1155BatchReceived" function on the contract.
1123
+ * @param options - The options for the "onERC1155BatchReceived" function.
1124
+ * @returns A prepared transaction object.
1125
+ * @example
1126
+ * ```
1127
+ * import { onERC1155BatchReceived } from "TODO";
1128
+ *
1129
+ * const transaction = onERC1155BatchReceived({
1130
+ * arg_0: ...,
1131
+ * arg_1: ...,
1132
+ * arg_2: ...,
1133
+ * arg_3: ...,
1134
+ * arg_4: ...,
1135
+ * });
1136
+ *
1137
+ * // Send the transaction
1138
+ * ...
1139
+ *
1140
+ * ```
1141
+ */
1142
+ export declare function onERC1155BatchReceived(options: BaseTransactionOptions<OnERC1155BatchReceivedParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1143
+ /**
1144
+ * Represents the parameters for the "onERC1155Received" function.
1145
+ */
1146
+ export type OnERC1155ReceivedParams = {
1147
+ arg_0: AbiParameterToPrimitiveType<{
1148
+ "type": "address";
1149
+ }>;
1150
+ arg_1: AbiParameterToPrimitiveType<{
1151
+ "type": "address";
1152
+ }>;
1153
+ arg_2: AbiParameterToPrimitiveType<{
1154
+ "type": "uint256";
1155
+ }>;
1156
+ arg_3: AbiParameterToPrimitiveType<{
1157
+ "type": "uint256";
1158
+ }>;
1159
+ arg_4: AbiParameterToPrimitiveType<{
1160
+ "type": "bytes";
1161
+ }>;
1162
+ };
1163
+ /**
1164
+ * Calls the "onERC1155Received" function on the contract.
1165
+ * @param options - The options for the "onERC1155Received" function.
1166
+ * @returns A prepared transaction object.
1167
+ * @example
1168
+ * ```
1169
+ * import { onERC1155Received } from "TODO";
1170
+ *
1171
+ * const transaction = onERC1155Received({
1172
+ * arg_0: ...,
1173
+ * arg_1: ...,
1174
+ * arg_2: ...,
1175
+ * arg_3: ...,
1176
+ * arg_4: ...,
1177
+ * });
1178
+ *
1179
+ * // Send the transaction
1180
+ * ...
1181
+ *
1182
+ * ```
1183
+ */
1184
+ export declare function onERC1155Received(options: BaseTransactionOptions<OnERC1155ReceivedParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1185
+ /**
1186
+ * Represents the parameters for the "onERC721Received" function.
1187
+ */
1188
+ export type OnERC721ReceivedParams = {
1189
+ arg_0: AbiParameterToPrimitiveType<{
1190
+ "type": "address";
1191
+ }>;
1192
+ arg_1: AbiParameterToPrimitiveType<{
1193
+ "type": "address";
1194
+ }>;
1195
+ arg_2: AbiParameterToPrimitiveType<{
1196
+ "type": "uint256";
1197
+ }>;
1198
+ arg_3: AbiParameterToPrimitiveType<{
1199
+ "type": "bytes";
1200
+ }>;
1201
+ };
1202
+ /**
1203
+ * Calls the "onERC721Received" function on the contract.
1204
+ * @param options - The options for the "onERC721Received" function.
1205
+ * @returns A prepared transaction object.
1206
+ * @example
1207
+ * ```
1208
+ * import { onERC721Received } from "TODO";
1209
+ *
1210
+ * const transaction = onERC721Received({
1211
+ * arg_0: ...,
1212
+ * arg_1: ...,
1213
+ * arg_2: ...,
1214
+ * arg_3: ...,
1215
+ * });
1216
+ *
1217
+ * // Send the transaction
1218
+ * ...
1219
+ *
1220
+ * ```
1221
+ */
1222
+ export declare function onERC721Received(options: BaseTransactionOptions<OnERC721ReceivedParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1223
+ /**
1224
+ * Represents the parameters for the "setContractURI" function.
1225
+ */
1226
+ export type SetContractURIParams = {
1227
+ uri: AbiParameterToPrimitiveType<{
1228
+ "type": "string";
1229
+ "name": "_uri";
1230
+ }>;
1231
+ };
1232
+ /**
1233
+ * Calls the "setContractURI" function on the contract.
1234
+ * @param options - The options for the "setContractURI" function.
1235
+ * @returns A prepared transaction object.
1236
+ * @example
1237
+ * ```
1238
+ * import { setContractURI } from "TODO";
1239
+ *
1240
+ * const transaction = setContractURI({
1241
+ * uri: ...,
1242
+ * });
1243
+ *
1244
+ * // Send the transaction
1245
+ * ...
1246
+ *
1247
+ * ```
1248
+ */
1249
+ export declare function setContractURI(options: BaseTransactionOptions<SetContractURIParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1250
+ /**
1251
+ * Represents the parameters for the "withdrawDepositTo" function.
1252
+ */
1253
+ export type WithdrawDepositToParams = {
1254
+ withdrawAddress: AbiParameterToPrimitiveType<{
1255
+ "type": "address";
1256
+ "name": "withdrawAddress";
1257
+ }>;
1258
+ amount: AbiParameterToPrimitiveType<{
1259
+ "type": "uint256";
1260
+ "name": "amount";
1261
+ }>;
1262
+ };
1263
+ /**
1264
+ * Calls the "withdrawDepositTo" function on the contract.
1265
+ * @param options - The options for the "withdrawDepositTo" function.
1266
+ * @returns A prepared transaction object.
1267
+ * @example
1268
+ * ```
1269
+ * import { withdrawDepositTo } from "TODO";
1270
+ *
1271
+ * const transaction = withdrawDepositTo({
1272
+ * withdrawAddress: ...,
1273
+ * amount: ...,
1274
+ * });
1275
+ *
1276
+ * // Send the transaction
1277
+ * ...
1278
+ *
1279
+ * ```
1280
+ */
1281
+ export declare function withdrawDepositTo(options: BaseTransactionOptions<WithdrawDepositToParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1282
+ /**
1283
+ * Represents the parameters for the "createSeed" function.
1284
+ */
1285
+ export type CreateSeedParams = {
1286
+ schemaUid: AbiParameterToPrimitiveType<{
1287
+ "type": "bytes32";
1288
+ "name": "schemaUid";
1289
+ }>;
1290
+ revocable: AbiParameterToPrimitiveType<{
1291
+ "type": "bool";
1292
+ "name": "revocable";
1293
+ }>;
1294
+ };
1295
+ /**
1296
+ * Calls the "createSeed" function on the contract.
1297
+ * @param options - The options for the "createSeed" function.
1298
+ * @returns A prepared transaction object.
1299
+ * @example
1300
+ * ```
1301
+ * import { createSeed } from "TODO";
1302
+ *
1303
+ * const transaction = createSeed({
1304
+ * schemaUid: ...,
1305
+ * revocable: ...,
1306
+ * });
1307
+ *
1308
+ * // Send the transaction
1309
+ * ...
1310
+ *
1311
+ * ```
1312
+ */
1313
+ export declare function createSeed(options: BaseTransactionOptions<CreateSeedParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1314
+ /**
1315
+ * Represents the parameters for the "createVersion" function.
1316
+ */
1317
+ export type CreateVersionParams = {
1318
+ seedUid: AbiParameterToPrimitiveType<{
1319
+ "type": "bytes32";
1320
+ "name": "seedUid";
1321
+ }>;
1322
+ versionSchemaUid: AbiParameterToPrimitiveType<{
1323
+ "type": "bytes32";
1324
+ "name": "versionSchemaUid";
1325
+ }>;
1326
+ };
1327
+ /**
1328
+ * Calls the "createVersion" function on the contract.
1329
+ * @param options - The options for the "createVersion" function.
1330
+ * @returns A prepared transaction object.
1331
+ * @example
1332
+ * ```
1333
+ * import { createVersion } from "TODO";
1334
+ *
1335
+ * const transaction = createVersion({
1336
+ * seedUid: ...,
1337
+ * versionSchemaUid: ...,
1338
+ * });
1339
+ *
1340
+ * // Send the transaction
1341
+ * ...
1342
+ *
1343
+ * ```
1344
+ */
1345
+ export declare function createVersion(options: BaseTransactionOptions<CreateVersionParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1346
+ /**
1347
+ * Represents the parameters for the "multiPublish" function.
1348
+ */
1349
+ export type MultiPublishParams = {
1350
+ requests: AbiParameterToPrimitiveType<{
1351
+ "type": "tuple[]";
1352
+ "name": "requests";
1353
+ "components": [{
1354
+ "type": "string";
1355
+ "name": "localId";
1356
+ }, {
1357
+ "type": "bytes32";
1358
+ "name": "seedUid";
1359
+ }, {
1360
+ "type": "bytes32";
1361
+ "name": "seedSchemaUid";
1362
+ }, {
1363
+ "type": "bytes32";
1364
+ "name": "versionUid";
1365
+ }, {
1366
+ "type": "bytes32";
1367
+ "name": "versionSchemaUid";
1368
+ }, {
1369
+ "type": "bool";
1370
+ "name": "seedIsRevocable";
1371
+ }, {
1372
+ "type": "tuple[]";
1373
+ "name": "listOfAttestations";
1374
+ "components": [{
1375
+ "type": "bytes32";
1376
+ "name": "schema";
1377
+ }, {
1378
+ "type": "tuple[]";
1379
+ "name": "data";
1380
+ "components": [{
1381
+ "type": "address";
1382
+ "name": "recipient";
1383
+ }, {
1384
+ "type": "uint64";
1385
+ "name": "expirationTime";
1386
+ }, {
1387
+ "type": "bool";
1388
+ "name": "revocable";
1389
+ }, {
1390
+ "type": "bytes32";
1391
+ "name": "refUID";
1392
+ }, {
1393
+ "type": "bytes";
1394
+ "name": "data";
1395
+ }, {
1396
+ "type": "uint256";
1397
+ "name": "value";
1398
+ }];
1399
+ }];
1400
+ }, {
1401
+ "type": "tuple[]";
1402
+ "name": "propertiesToUpdate";
1403
+ "components": [{
1404
+ "type": "string";
1405
+ "name": "publishLocalId";
1406
+ }, {
1407
+ "type": "bytes32";
1408
+ "name": "propertySchemaUid";
1409
+ }];
1410
+ }];
1411
+ }>;
1412
+ };
1413
+ /**
1414
+ * Calls the "multiPublish" function on the contract.
1415
+ * @param options - The options for the "multiPublish" function.
1416
+ * @returns A prepared transaction object.
1417
+ * @example
1418
+ * ```
1419
+ * import { multiPublish } from "TODO";
1420
+ *
1421
+ * const transaction = multiPublish({
1422
+ * requests: ...,
1423
+ * });
1424
+ *
1425
+ * // Send the transaction
1426
+ * ...
1427
+ *
1428
+ * ```
1429
+ */
1430
+ export declare function multiPublish(options: BaseTransactionOptions<MultiPublishParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1431
+ /**
1432
+ * multiPublish variant that uses uint256 localIdIndex and publishLocalIdIndex instead of strings.
1433
+ * Use when the contract expects integer-based IDs (gas-efficient).
1434
+ * Selector: keccak256("multiPublish((uint256,bytes32,...)[])[]") -> 0xd688e801
1435
+ */
1436
+ export type MultiPublishWithIntegerIdsParams = {
1437
+ requests: Array<{
1438
+ localIdIndex: bigint;
1439
+ seedUid: `0x${string}`;
1440
+ seedSchemaUid: `0x${string}`;
1441
+ versionUid: `0x${string}`;
1442
+ versionSchemaUid: `0x${string}`;
1443
+ seedIsRevocable: boolean;
1444
+ listOfAttestations: Array<{
1445
+ schema: `0x${string}`;
1446
+ data: Array<{
1447
+ recipient: `0x${string}`;
1448
+ expirationTime: bigint;
1449
+ revocable: boolean;
1450
+ refUID: `0x${string}`;
1451
+ data: `0x${string}`;
1452
+ value: bigint;
1453
+ }>;
1454
+ }>;
1455
+ propertiesToUpdate: Array<{
1456
+ publishLocalIdIndex: bigint;
1457
+ propertySchemaUid: `0x${string}`;
1458
+ }>;
1459
+ }>;
1460
+ };
1461
+ export declare function multiPublishWithIntegerIds(options: BaseTransactionOptions<MultiPublishWithIntegerIdsParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1462
+ /**
1463
+ * Represents the parameters for the "publish" function.
1464
+ */
1465
+ export type PublishParams = {
1466
+ request: AbiParameterToPrimitiveType<{
1467
+ "type": "tuple";
1468
+ "name": "request";
1469
+ "components": [{
1470
+ "type": "string";
1471
+ "name": "localId";
1472
+ }, {
1473
+ "type": "bytes32";
1474
+ "name": "seedUid";
1475
+ }, {
1476
+ "type": "bytes32";
1477
+ "name": "seedSchemaUid";
1478
+ }, {
1479
+ "type": "bytes32";
1480
+ "name": "versionUid";
1481
+ }, {
1482
+ "type": "bytes32";
1483
+ "name": "versionSchemaUid";
1484
+ }, {
1485
+ "type": "bool";
1486
+ "name": "seedIsRevocable";
1487
+ }, {
1488
+ "type": "tuple[]";
1489
+ "name": "listOfAttestations";
1490
+ "components": [{
1491
+ "type": "bytes32";
1492
+ "name": "schema";
1493
+ }, {
1494
+ "type": "tuple[]";
1495
+ "name": "data";
1496
+ "components": [{
1497
+ "type": "address";
1498
+ "name": "recipient";
1499
+ }, {
1500
+ "type": "uint64";
1501
+ "name": "expirationTime";
1502
+ }, {
1503
+ "type": "bool";
1504
+ "name": "revocable";
1505
+ }, {
1506
+ "type": "bytes32";
1507
+ "name": "refUID";
1508
+ }, {
1509
+ "type": "bytes";
1510
+ "name": "data";
1511
+ }, {
1512
+ "type": "uint256";
1513
+ "name": "value";
1514
+ }];
1515
+ }];
1516
+ }, {
1517
+ "type": "tuple[]";
1518
+ "name": "propertiesToUpdate";
1519
+ "components": [{
1520
+ "type": "string";
1521
+ "name": "publishLocalId";
1522
+ }, {
1523
+ "type": "bytes32";
1524
+ "name": "propertySchemaUid";
1525
+ }];
1526
+ }];
1527
+ }>;
1528
+ };
1529
+ /**
1530
+ * Calls the "publish" function on the contract.
1531
+ * @param options - The options for the "publish" function.
1532
+ * @returns A prepared transaction object.
1533
+ * @example
1534
+ * ```
1535
+ * import { publish } from "TODO";
1536
+ *
1537
+ * const transaction = publish({
1538
+ * request: ...,
1539
+ * });
1540
+ *
1541
+ * // Send the transaction
1542
+ * ...
1543
+ *
1544
+ * ```
1545
+ */
1546
+ export declare function publish(options: BaseTransactionOptions<PublishParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1547
+ /**
1548
+ * Calls the "renounceOwnership" function on the contract.
1549
+ * @param options - The options for the "renounceOwnership" function.
1550
+ * @returns A prepared transaction object.
1551
+ * @example
1552
+ * ```
1553
+ * import { renounceOwnership } from "TODO";
1554
+ *
1555
+ * const transaction = renounceOwnership();
1556
+ *
1557
+ * // Send the transaction
1558
+ * ...
1559
+ *
1560
+ * ```
1561
+ */
1562
+ export declare function renounceOwnership(options: BaseTransactionOptions): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1563
+ /**
1564
+ * Represents the parameters for the "setEas" function.
1565
+ */
1566
+ export type SetEasParams = {
1567
+ eas: AbiParameterToPrimitiveType<{
1568
+ "type": "address";
1569
+ "name": "_eas";
1570
+ }>;
1571
+ };
1572
+ /**
1573
+ * Calls the "setEas" function on the contract.
1574
+ * @param options - The options for the "setEas" function.
1575
+ * @returns A prepared transaction object.
1576
+ * @example
1577
+ * ```
1578
+ * import { setEas } from "TODO";
1579
+ *
1580
+ * const transaction = setEas({
1581
+ * eas: ...,
1582
+ * });
1583
+ *
1584
+ * // Send the transaction
1585
+ * ...
1586
+ *
1587
+ * ```
1588
+ */
1589
+ export declare function setEas(options: BaseTransactionOptions<SetEasParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1590
+ /**
1591
+ * Represents the parameters for the "transferOwnership" function.
1592
+ */
1593
+ export type TransferOwnershipParams = {
1594
+ newOwner: AbiParameterToPrimitiveType<{
1595
+ "type": "address";
1596
+ "name": "newOwner";
1597
+ }>;
1598
+ };
1599
+ /**
1600
+ * Calls the "transferOwnership" function on the contract.
1601
+ * @param options - The options for the "transferOwnership" function.
1602
+ * @returns A prepared transaction object.
1603
+ * @example
1604
+ * ```
1605
+ * import { transferOwnership } from "TODO";
1606
+ *
1607
+ * const transaction = transferOwnership({
1608
+ * newOwner: ...,
1609
+ * });
1610
+ *
1611
+ * // Send the transaction
1612
+ * ...
1613
+ *
1614
+ * ```
1615
+ */
1616
+ export declare function transferOwnership(options: BaseTransactionOptions<TransferOwnershipParams>): import("thirdweb").PreparedTransaction<any, import("abitype").AbiFunction, import("thirdweb").PrepareTransactionOptions>;
1617
+ //# sourceMappingURL=0xcd8c945872df8e664e55cf8885c85ea3ea8f2148.d.ts.map