@fangorn-network/sdk 2026.9.22-dev → 2026.10.19-dev

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 (89) hide show
  1. package/README.md +177 -192
  2. package/lib/cli/cli.d.ts +0 -0
  3. package/lib/cli/cli.js +165 -194
  4. package/lib/config.d.ts +32 -27
  5. package/lib/config.js +17 -7
  6. package/lib/contracts/app-registry/abi.d.ts +1033 -277
  7. package/lib/contracts/app-registry/abi.js +1214 -335
  8. package/lib/contracts/app-registry/index.d.ts +105 -65
  9. package/lib/contracts/app-registry/index.js +182 -175
  10. package/lib/contracts/data-registry/abi.d.ts +166 -187
  11. package/lib/contracts/data-registry/abi.js +207 -237
  12. package/lib/contracts/data-registry/index.d.ts +4 -151
  13. package/lib/contracts/data-registry/index.js +5 -279
  14. package/lib/contracts/index.d.ts +6 -7
  15. package/lib/contracts/index.js +6 -8
  16. package/lib/contracts/logs.d.ts +4 -1
  17. package/lib/contracts/logs.js +9 -2
  18. package/lib/contracts/membership-registry/abi.d.ts +1145 -0
  19. package/lib/contracts/membership-registry/abi.js +1333 -0
  20. package/lib/contracts/membership-registry/index.d.ts +79 -0
  21. package/lib/contracts/membership-registry/index.js +104 -0
  22. package/lib/contracts/types.d.ts +3 -1
  23. package/lib/contracts/types.js +3 -1
  24. package/lib/contracts/write.d.ts +34 -2
  25. package/lib/contracts/write.js +48 -1
  26. package/lib/crypto/encryption.js +4 -4
  27. package/lib/engine/car.d.ts +2 -2
  28. package/lib/engine/car.js +10 -5
  29. package/lib/engine/index.d.ts +99 -143
  30. package/lib/engine/index.js +156 -295
  31. package/lib/engine/records.d.ts +110 -0
  32. package/lib/engine/records.js +165 -0
  33. package/lib/engine/test-helpers.d.ts +7 -14
  34. package/lib/engine/test-helpers.js +7 -18
  35. package/lib/fangorn.d.ts +129 -156
  36. package/lib/fangorn.js +250 -250
  37. package/lib/feed.d.ts +7 -4
  38. package/lib/feed.js +4 -1
  39. package/lib/index.d.ts +9 -9
  40. package/lib/index.js +8 -9
  41. package/lib/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js +77 -0
  42. package/lib/node_modules/@vitest/expect/dist/index.js +1414 -0
  43. package/lib/node_modules/@vitest/pretty-format/dist/index.js +858 -0
  44. package/lib/node_modules/@vitest/runner/dist/chunk-tasks.js +51 -0
  45. package/lib/node_modules/@vitest/runner/dist/index.js +1199 -0
  46. package/lib/node_modules/@vitest/runner/dist/utils.js +3 -0
  47. package/lib/node_modules/@vitest/snapshot/dist/index.js +1075 -0
  48. package/lib/node_modules/@vitest/spy/dist/index.js +353 -0
  49. package/lib/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js +7 -0
  50. package/lib/node_modules/@vitest/utils/dist/chunk-pathe.M-eThtNZ.js +81 -0
  51. package/lib/node_modules/@vitest/utils/dist/diff.js +1345 -0
  52. package/lib/node_modules/@vitest/utils/dist/display.js +534 -0
  53. package/lib/node_modules/@vitest/utils/dist/error.js +30 -0
  54. package/lib/node_modules/@vitest/utils/dist/helpers.js +118 -0
  55. package/lib/node_modules/@vitest/utils/dist/serialize.js +76 -0
  56. package/lib/node_modules/@vitest/utils/dist/source-map.js +93 -0
  57. package/lib/node_modules/@vitest/utils/dist/timers.js +36 -0
  58. package/lib/node_modules/chai/index.js +2874 -0
  59. package/lib/node_modules/magic-string/dist/magic-string.es.js +939 -0
  60. package/lib/node_modules/pathe/dist/shared/pathe.M-eThtNZ.js +81 -0
  61. package/lib/node_modules/tinyrainbow/dist/index.js +85 -0
  62. package/lib/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js +5 -0
  63. package/lib/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +50 -0
  64. package/lib/node_modules/vitest/dist/chunks/utils.DvEY5TfP.js +44 -0
  65. package/lib/node_modules/vitest/dist/chunks/vi.2VT5v0um.js +2578 -0
  66. package/lib/providers/storage/signed-url.d.ts +16 -6
  67. package/lib/providers/storage/signed-url.js +20 -8
  68. package/lib/registry.d.ts +116 -0
  69. package/lib/registry.js +182 -0
  70. package/lib/test/mem-registry.d.ts +51 -0
  71. package/lib/test/mem-registry.js +107 -0
  72. package/lib/test/sdk-suite.d.ts +13 -0
  73. package/lib/test/sdk-suite.js +226 -0
  74. package/lib/test/testbed.d.ts +16411 -61
  75. package/lib/test/testbed.js +190 -84
  76. package/lib/types/index.d.ts +13 -11
  77. package/package.json +89 -73
  78. package/lib/contracts/data-registry/test.d.ts +0 -1
  79. package/lib/contracts/data-registry/test.js +0 -1
  80. package/lib/contracts/settlement-registry/abi.d.ts +0 -466
  81. package/lib/contracts/settlement-registry/abi.js +0 -535
  82. package/lib/contracts/settlement-registry/index.d.ts +0 -163
  83. package/lib/contracts/settlement-registry/index.js +0 -264
  84. package/lib/contracts/subscription-registry/abi.d.ts +0 -179
  85. package/lib/contracts/subscription-registry/abi.js +0 -195
  86. package/lib/contracts/subscription-registry/index.d.ts +0 -59
  87. package/lib/contracts/subscription-registry/index.js +0 -116
  88. package/lib/engine/graph.d.ts +0 -70
  89. package/lib/engine/graph.js +0 -73
@@ -1,509 +1,1265 @@
1
1
  //#region src/contracts/app-registry/abi.d.ts
2
+ /**
3
+ * Generated from `forge inspect AppRegistry abi` in fangorn-network/contracts
4
+ * (solidity/src/AppRegistry.sol). Regenerate with scripts/gen-abis.sh, do not edit.
5
+ */
2
6
  declare const APP_REGISTRY_ABI: readonly [{
7
+ readonly type: "constructor";
3
8
  readonly inputs: readonly [];
4
- readonly name: "AlreadyRegistered";
5
- readonly type: "error";
6
- }, {
7
- readonly inputs: readonly [];
8
- readonly name: "AppAlreadyRegistered";
9
- readonly type: "error";
10
- }, {
11
- readonly inputs: readonly [];
12
- readonly name: "AppNotFound";
13
- readonly type: "error";
14
- }, {
15
- readonly inputs: readonly [];
16
- readonly name: "AppSuspendedErr";
17
- readonly type: "error";
18
- }, {
19
- readonly inputs: readonly [];
20
- readonly name: "JoinFeeRequired";
21
- readonly type: "error";
22
- }, {
23
- readonly inputs: readonly [];
24
- readonly name: "NotRegistered";
25
- readonly type: "error";
26
- }, {
27
- readonly inputs: readonly [];
28
- readonly name: "PublisherSuspendedErr";
29
- readonly type: "error";
30
- }, {
31
- readonly inputs: readonly [];
32
- readonly name: "TermsMismatch";
33
- readonly type: "error";
34
- }, {
35
- readonly inputs: readonly [];
36
- readonly name: "TermsNotSet";
37
- readonly type: "error";
38
- }, {
39
- readonly inputs: readonly [];
40
- readonly name: "TransferFailed";
41
- readonly type: "error";
9
+ readonly stateMutability: "nonpayable";
42
10
  }, {
11
+ readonly type: "function";
12
+ readonly name: "UPGRADE_INTERFACE_VERSION";
43
13
  readonly inputs: readonly [];
44
- readonly name: "Unauthorized";
45
- readonly type: "error";
14
+ readonly outputs: readonly [{
15
+ readonly name: "";
16
+ readonly type: "string";
17
+ readonly internalType: "string";
18
+ }];
19
+ readonly stateMutability: "view";
46
20
  }, {
21
+ readonly type: "function";
22
+ readonly name: "acceptPublisher";
47
23
  readonly inputs: readonly [{
48
- readonly internalType: "bytes32";
49
24
  readonly name: "app_id";
50
25
  readonly type: "bytes32";
26
+ readonly internalType: "bytes32";
51
27
  }, {
28
+ readonly name: "publisher";
29
+ readonly type: "address";
52
30
  readonly internalType: "address";
31
+ }];
32
+ readonly outputs: readonly [];
33
+ readonly stateMutability: "nonpayable";
34
+ }, {
35
+ readonly type: "function";
36
+ readonly name: "access";
37
+ readonly inputs: readonly [{
38
+ readonly name: "app_id";
39
+ readonly type: "bytes32";
40
+ readonly internalType: "bytes32";
41
+ }, {
53
42
  readonly name: "publisher";
54
43
  readonly type: "address";
44
+ readonly internalType: "address";
55
45
  }];
56
- readonly name: "acceptedTerms";
57
46
  readonly outputs: readonly [{
58
- readonly internalType: "bytes32";
59
47
  readonly name: "";
60
- readonly type: "bytes32";
48
+ readonly type: "bool";
49
+ readonly internalType: "bool";
50
+ }, {
51
+ readonly name: "";
52
+ readonly type: "address";
53
+ readonly internalType: "address";
54
+ }, {
55
+ readonly name: "";
56
+ readonly type: "uint64";
57
+ readonly internalType: "uint64";
61
58
  }];
62
59
  readonly stateMutability: "view";
63
- readonly type: "function";
64
60
  }, {
65
- readonly inputs: readonly [];
61
+ readonly type: "function";
66
62
  readonly name: "admin";
63
+ readonly inputs: readonly [];
67
64
  readonly outputs: readonly [{
68
- readonly internalType: "address";
69
65
  readonly name: "";
70
66
  readonly type: "address";
67
+ readonly internalType: "address";
71
68
  }];
72
69
  readonly stateMutability: "view";
73
- readonly type: "function";
74
70
  }, {
71
+ readonly type: "function";
72
+ readonly name: "appAgentUri";
75
73
  readonly inputs: readonly [{
76
- readonly internalType: "bytes32";
77
74
  readonly name: "app_id";
78
75
  readonly type: "bytes32";
76
+ readonly internalType: "bytes32";
79
77
  }];
80
- readonly name: "appFee";
81
78
  readonly outputs: readonly [{
82
- readonly internalType: "uint256";
83
79
  readonly name: "";
84
- readonly type: "uint256";
80
+ readonly type: "string";
81
+ readonly internalType: "string";
85
82
  }];
86
83
  readonly stateMutability: "view";
84
+ }, {
87
85
  readonly type: "function";
86
+ readonly name: "approve";
87
+ readonly inputs: readonly [{
88
+ readonly name: "to";
89
+ readonly type: "address";
90
+ readonly internalType: "address";
91
+ }, {
92
+ readonly name: "tokenId";
93
+ readonly type: "uint256";
94
+ readonly internalType: "uint256";
95
+ }];
96
+ readonly outputs: readonly [];
97
+ readonly stateMutability: "nonpayable";
88
98
  }, {
99
+ readonly type: "function";
100
+ readonly name: "balanceOf";
89
101
  readonly inputs: readonly [{
90
- readonly internalType: "bytes32";
91
- readonly name: "app_id";
92
- readonly type: "bytes32";
102
+ readonly name: "owner";
103
+ readonly type: "address";
104
+ readonly internalType: "address";
93
105
  }];
94
- readonly name: "appTerms";
95
106
  readonly outputs: readonly [{
96
- readonly internalType: "bytes32";
97
107
  readonly name: "";
98
- readonly type: "bytes32";
108
+ readonly type: "uint256";
109
+ readonly internalType: "uint256";
99
110
  }];
100
111
  readonly stateMutability: "view";
101
- readonly type: "function";
102
112
  }, {
113
+ readonly type: "function";
114
+ readonly name: "canPublish";
103
115
  readonly inputs: readonly [{
104
- readonly internalType: "bytes32";
105
116
  readonly name: "app_id";
106
117
  readonly type: "bytes32";
118
+ readonly internalType: "bytes32";
119
+ }, {
120
+ readonly name: "publisher";
121
+ readonly type: "address";
122
+ readonly internalType: "address";
107
123
  }];
108
- readonly name: "appAgentUri";
109
124
  readonly outputs: readonly [{
110
- readonly internalType: "string";
111
125
  readonly name: "";
112
- readonly type: "string";
126
+ readonly type: "bool";
127
+ readonly internalType: "bool";
113
128
  }];
114
129
  readonly stateMutability: "view";
115
- readonly type: "function";
116
130
  }, {
131
+ readonly type: "function";
132
+ readonly name: "cancelSubscription";
117
133
  readonly inputs: readonly [{
118
- readonly internalType: "bytes32";
119
- readonly name: "app_id";
120
- readonly type: "bytes32";
134
+ readonly name: "tokenId";
135
+ readonly type: "uint256";
136
+ readonly internalType: "uint256";
121
137
  }];
122
- readonly name: "appTermsUri";
138
+ readonly outputs: readonly [];
139
+ readonly stateMutability: "payable";
140
+ }, {
141
+ readonly type: "function";
142
+ readonly name: "dataRegistry";
143
+ readonly inputs: readonly [];
123
144
  readonly outputs: readonly [{
124
- readonly internalType: "string";
125
145
  readonly name: "";
126
- readonly type: "string";
146
+ readonly type: "address";
147
+ readonly internalType: "address";
127
148
  }];
128
149
  readonly stateMutability: "view";
150
+ }, {
129
151
  readonly type: "function";
152
+ readonly name: "exclude";
153
+ readonly inputs: readonly [{
154
+ readonly name: "app_id";
155
+ readonly type: "bytes32";
156
+ readonly internalType: "bytes32";
157
+ }, {
158
+ readonly name: "publisher";
159
+ readonly type: "address";
160
+ readonly internalType: "address";
161
+ }, {
162
+ readonly name: "repo_id";
163
+ readonly type: "bytes32";
164
+ readonly internalType: "bytes32";
165
+ }, {
166
+ readonly name: "key_id";
167
+ readonly type: "bytes32";
168
+ readonly internalType: "bytes32";
169
+ }];
170
+ readonly outputs: readonly [];
171
+ readonly stateMutability: "nonpayable";
130
172
  }, {
173
+ readonly type: "function";
174
+ readonly name: "exclusionCount";
131
175
  readonly inputs: readonly [{
176
+ readonly name: "";
177
+ readonly type: "bytes32";
132
178
  readonly internalType: "bytes32";
133
- readonly name: "app_id";
179
+ }, {
180
+ readonly name: "";
134
181
  readonly type: "bytes32";
182
+ readonly internalType: "bytes32";
135
183
  }];
136
- readonly name: "getAppOwner";
137
184
  readonly outputs: readonly [{
138
- readonly internalType: "address";
139
185
  readonly name: "";
140
- readonly type: "address";
186
+ readonly type: "uint64";
187
+ readonly internalType: "uint64";
141
188
  }];
142
189
  readonly stateMutability: "view";
143
- readonly type: "function";
144
190
  }, {
191
+ readonly type: "function";
192
+ readonly name: "exclusionId";
145
193
  readonly inputs: readonly [{
194
+ readonly name: "publisher";
195
+ readonly type: "address";
196
+ readonly internalType: "address";
197
+ }, {
198
+ readonly name: "repo_id";
199
+ readonly type: "bytes32";
146
200
  readonly internalType: "bytes32";
147
- readonly name: "app_id";
201
+ }, {
202
+ readonly name: "key_id";
148
203
  readonly type: "bytes32";
204
+ readonly internalType: "bytes32";
149
205
  }];
150
- readonly name: "isAppSuspended";
151
206
  readonly outputs: readonly [{
152
- readonly internalType: "bool";
153
207
  readonly name: "";
154
- readonly type: "bool";
208
+ readonly type: "bytes32";
209
+ readonly internalType: "bytes32";
155
210
  }];
156
- readonly stateMutability: "view";
157
- readonly type: "function";
211
+ readonly stateMutability: "pure";
158
212
  }, {
213
+ readonly type: "function";
214
+ readonly name: "expiresAt";
159
215
  readonly inputs: readonly [{
160
- readonly internalType: "bytes32";
161
- readonly name: "app_id";
162
- readonly type: "bytes32";
163
- }, {
164
- readonly internalType: "address";
165
- readonly name: "publisher";
166
- readonly type: "address";
216
+ readonly name: "tokenId";
217
+ readonly type: "uint256";
218
+ readonly internalType: "uint256";
167
219
  }];
168
- readonly name: "isRegisteredForApp";
169
220
  readonly outputs: readonly [{
170
- readonly internalType: "bool";
171
221
  readonly name: "";
172
- readonly type: "bool";
222
+ readonly type: "uint64";
223
+ readonly internalType: "uint64";
173
224
  }];
174
225
  readonly stateMutability: "view";
175
- readonly type: "function";
176
226
  }, {
227
+ readonly type: "function";
228
+ readonly name: "getAppOwner";
177
229
  readonly inputs: readonly [{
178
- readonly internalType: "bytes32";
179
230
  readonly name: "app_id";
180
231
  readonly type: "bytes32";
181
- }, {
182
- readonly internalType: "address";
183
- readonly name: "publisher";
184
- readonly type: "address";
232
+ readonly internalType: "bytes32";
185
233
  }];
186
- readonly name: "joinInfo";
187
234
  readonly outputs: readonly [{
188
- readonly internalType: "bytes32";
189
235
  readonly name: "";
190
- readonly type: "bytes32";
191
- }, {
192
- readonly internalType: "string";
193
- readonly name: "";
194
- readonly type: "string";
195
- }, {
236
+ readonly type: "address";
237
+ readonly internalType: "address";
238
+ }];
239
+ readonly stateMutability: "view";
240
+ }, {
241
+ readonly type: "function";
242
+ readonly name: "getApproved";
243
+ readonly inputs: readonly [{
244
+ readonly name: "tokenId";
245
+ readonly type: "uint256";
196
246
  readonly internalType: "uint256";
247
+ }];
248
+ readonly outputs: readonly [{
197
249
  readonly name: "";
198
- readonly type: "uint256";
199
- }, {
200
- readonly internalType: "uint8";
250
+ readonly type: "address";
251
+ readonly internalType: "address";
252
+ }];
253
+ readonly stateMutability: "view";
254
+ }, {
255
+ readonly type: "function";
256
+ readonly name: "globalSuspensions";
257
+ readonly inputs: readonly [{
201
258
  readonly name: "";
202
- readonly type: "uint8";
203
- }, {
204
- readonly internalType: "bool";
259
+ readonly type: "address";
260
+ readonly internalType: "address";
261
+ }];
262
+ readonly outputs: readonly [{
205
263
  readonly name: "";
206
264
  readonly type: "bool";
265
+ readonly internalType: "bool";
207
266
  }];
208
267
  readonly stateMutability: "view";
209
- readonly type: "function";
210
268
  }, {
269
+ readonly type: "function";
270
+ readonly name: "initialize";
211
271
  readonly inputs: readonly [{
212
- readonly internalType: "bytes32";
213
- readonly name: "app_id";
214
- readonly type: "bytes32";
215
- }, {
216
- readonly internalType: "bytes32";
217
- readonly name: "terms_hash";
218
- readonly type: "bytes32";
272
+ readonly name: "admin_";
273
+ readonly type: "address";
274
+ readonly internalType: "address";
219
275
  }, {
220
- readonly internalType: "string";
221
- readonly name: "terms_uri";
222
- readonly type: "string";
276
+ readonly name: "usdc_";
277
+ readonly type: "address";
278
+ readonly internalType: "address";
223
279
  }, {
224
- readonly internalType: "uint256";
225
- readonly name: "fee";
280
+ readonly name: "subscriptionFee_";
226
281
  readonly type: "uint256";
282
+ readonly internalType: "uint256";
283
+ }, {
284
+ readonly name: "subscriptionPeriod_";
285
+ readonly type: "uint64";
286
+ readonly internalType: "uint64";
227
287
  }];
228
- readonly name: "registerApp";
229
288
  readonly outputs: readonly [];
230
289
  readonly stateMutability: "nonpayable";
231
- readonly type: "function";
232
290
  }, {
291
+ readonly type: "function";
292
+ readonly name: "isAppSuspended";
233
293
  readonly inputs: readonly [{
234
- readonly internalType: "bytes32";
235
294
  readonly name: "app_id";
236
295
  readonly type: "bytes32";
237
- }, {
238
296
  readonly internalType: "bytes32";
239
- readonly name: "terms_hash";
240
- readonly type: "bytes32";
241
297
  }];
242
- readonly name: "registerForApp";
243
- readonly outputs: readonly [];
244
- readonly stateMutability: "payable";
245
- readonly type: "function";
298
+ readonly outputs: readonly [{
299
+ readonly name: "";
300
+ readonly type: "bool";
301
+ readonly internalType: "bool";
302
+ }];
303
+ readonly stateMutability: "view";
246
304
  }, {
305
+ readonly type: "function";
306
+ readonly name: "isApprovedForAll";
247
307
  readonly inputs: readonly [{
248
- readonly internalType: "bytes32";
249
- readonly name: "app_id";
250
- readonly type: "bytes32";
251
- }, {
308
+ readonly name: "owner";
309
+ readonly type: "address";
252
310
  readonly internalType: "address";
253
- readonly name: "publisher";
311
+ }, {
312
+ readonly name: "operator";
254
313
  readonly type: "address";
314
+ readonly internalType: "address";
255
315
  }];
256
- readonly name: "reinstateForApp";
257
- readonly outputs: readonly [];
258
- readonly stateMutability: "nonpayable";
316
+ readonly outputs: readonly [{
317
+ readonly name: "";
318
+ readonly type: "bool";
319
+ readonly internalType: "bool";
320
+ }];
321
+ readonly stateMutability: "view";
322
+ }, {
259
323
  readonly type: "function";
324
+ readonly name: "isRenewable";
325
+ readonly inputs: readonly [{
326
+ readonly name: "tokenId";
327
+ readonly type: "uint256";
328
+ readonly internalType: "uint256";
329
+ }];
330
+ readonly outputs: readonly [{
331
+ readonly name: "";
332
+ readonly type: "bool";
333
+ readonly internalType: "bool";
334
+ }];
335
+ readonly stateMutability: "view";
260
336
  }, {
337
+ readonly type: "function";
338
+ readonly name: "joinFeesOwed";
261
339
  readonly inputs: readonly [{
262
- readonly internalType: "bytes32";
263
- readonly name: "app_id";
264
- readonly type: "bytes32";
340
+ readonly name: "";
341
+ readonly type: "address";
342
+ readonly internalType: "address";
265
343
  }];
266
- readonly name: "reinstateApp";
267
- readonly outputs: readonly [];
268
- readonly stateMutability: "nonpayable";
344
+ readonly outputs: readonly [{
345
+ readonly name: "";
346
+ readonly type: "uint256";
347
+ readonly internalType: "uint256";
348
+ }];
349
+ readonly stateMutability: "view";
350
+ }, {
269
351
  readonly type: "function";
352
+ readonly name: "name";
353
+ readonly inputs: readonly [];
354
+ readonly outputs: readonly [{
355
+ readonly name: "";
356
+ readonly type: "string";
357
+ readonly internalType: "string";
358
+ }];
359
+ readonly stateMutability: "view";
270
360
  }, {
361
+ readonly type: "function";
362
+ readonly name: "ownerOf";
271
363
  readonly inputs: readonly [{
272
- readonly internalType: "bytes32";
273
- readonly name: "app_id";
274
- readonly type: "bytes32";
364
+ readonly name: "tokenId";
365
+ readonly type: "uint256";
366
+ readonly internalType: "uint256";
275
367
  }];
276
- readonly name: "suspendApp";
277
- readonly outputs: readonly [];
278
- readonly stateMutability: "nonpayable";
368
+ readonly outputs: readonly [{
369
+ readonly name: "";
370
+ readonly type: "address";
371
+ readonly internalType: "address";
372
+ }];
373
+ readonly stateMutability: "view";
374
+ }, {
279
375
  readonly type: "function";
376
+ readonly name: "proxiableUUID";
377
+ readonly inputs: readonly [];
378
+ readonly outputs: readonly [{
379
+ readonly name: "";
380
+ readonly type: "bytes32";
381
+ readonly internalType: "bytes32";
382
+ }];
383
+ readonly stateMutability: "view";
280
384
  }, {
385
+ readonly type: "function";
386
+ readonly name: "registerApp";
281
387
  readonly inputs: readonly [{
282
- readonly internalType: "bytes32";
283
388
  readonly name: "app_id";
284
389
  readonly type: "bytes32";
390
+ readonly internalType: "bytes32";
285
391
  }, {
286
- readonly internalType: "uint256";
287
- readonly name: "fee";
392
+ readonly name: "max_subscription_fee";
288
393
  readonly type: "uint256";
394
+ readonly internalType: "uint256";
289
395
  }];
290
- readonly name: "setAppFee";
291
396
  readonly outputs: readonly [];
292
397
  readonly stateMutability: "nonpayable";
293
- readonly type: "function";
294
398
  }, {
399
+ readonly type: "function";
400
+ readonly name: "renewSubscription";
295
401
  readonly inputs: readonly [{
296
- readonly internalType: "bytes32";
297
- readonly name: "app_id";
298
- readonly type: "bytes32";
402
+ readonly name: "tokenId";
403
+ readonly type: "uint256";
404
+ readonly internalType: "uint256";
299
405
  }, {
300
- readonly internalType: "string";
301
- readonly name: "agent_uri";
302
- readonly type: "string";
406
+ readonly name: "duration";
407
+ readonly type: "uint64";
408
+ readonly internalType: "uint64";
303
409
  }];
304
- readonly name: "setAppAgentUri";
305
410
  readonly outputs: readonly [];
306
- readonly stateMutability: "nonpayable";
307
- readonly type: "function";
411
+ readonly stateMutability: "payable";
308
412
  }, {
413
+ readonly type: "function";
414
+ readonly name: "restore";
309
415
  readonly inputs: readonly [{
310
- readonly internalType: "bytes32";
311
416
  readonly name: "app_id";
312
417
  readonly type: "bytes32";
313
- }, {
314
418
  readonly internalType: "bytes32";
315
- readonly name: "terms_hash";
419
+ }, {
420
+ readonly name: "publisher";
421
+ readonly type: "address";
422
+ readonly internalType: "address";
423
+ }, {
424
+ readonly name: "repo_id";
316
425
  readonly type: "bytes32";
426
+ readonly internalType: "bytes32";
317
427
  }, {
318
- readonly internalType: "string";
319
- readonly name: "terms_uri";
320
- readonly type: "string";
428
+ readonly name: "key_id";
429
+ readonly type: "bytes32";
430
+ readonly internalType: "bytes32";
321
431
  }];
322
- readonly name: "setAppTerms";
323
432
  readonly outputs: readonly [];
324
433
  readonly stateMutability: "nonpayable";
325
- readonly type: "function";
326
434
  }, {
327
- readonly inputs: readonly [{
328
- readonly internalType: "bytes32";
329
- readonly name: "app_id";
330
- readonly type: "bytes32";
331
- }, {
332
- readonly internalType: "address";
333
- readonly name: "publisher";
334
- readonly type: "address";
335
- }];
336
- readonly name: "statusForApp";
337
- readonly outputs: readonly [{
338
- readonly internalType: "uint8";
339
- readonly name: "";
340
- readonly type: "uint8";
341
- }];
342
- readonly stateMutability: "view";
343
435
  readonly type: "function";
344
- }, {
436
+ readonly name: "safeTransferFrom";
345
437
  readonly inputs: readonly [{
346
- readonly internalType: "bytes32";
347
- readonly name: "app_id";
348
- readonly type: "bytes32";
349
- }, {
438
+ readonly name: "from";
439
+ readonly type: "address";
350
440
  readonly internalType: "address";
351
- readonly name: "publisher";
441
+ }, {
442
+ readonly name: "to";
352
443
  readonly type: "address";
444
+ readonly internalType: "address";
445
+ }, {
446
+ readonly name: "tokenId";
447
+ readonly type: "uint256";
448
+ readonly internalType: "uint256";
353
449
  }];
354
- readonly name: "suspendForApp";
355
450
  readonly outputs: readonly [];
356
451
  readonly stateMutability: "nonpayable";
357
- readonly type: "function";
358
452
  }, {
453
+ readonly type: "function";
454
+ readonly name: "safeTransferFrom";
359
455
  readonly inputs: readonly [{
456
+ readonly name: "from";
457
+ readonly type: "address";
360
458
  readonly internalType: "address";
459
+ }, {
361
460
  readonly name: "to";
362
461
  readonly type: "address";
462
+ readonly internalType: "address";
363
463
  }, {
364
- readonly internalType: "uint256";
365
- readonly name: "amount";
464
+ readonly name: "tokenId";
366
465
  readonly type: "uint256";
466
+ readonly internalType: "uint256";
467
+ }, {
468
+ readonly name: "data";
469
+ readonly type: "bytes";
470
+ readonly internalType: "bytes";
367
471
  }];
368
- readonly name: "withdrawEth";
369
472
  readonly outputs: readonly [];
370
473
  readonly stateMutability: "nonpayable";
371
- readonly type: "function";
372
474
  }, {
373
- readonly anonymous: false;
475
+ readonly type: "function";
476
+ readonly name: "setAdmin";
374
477
  readonly inputs: readonly [{
375
- readonly indexed: true;
376
- readonly internalType: "bytes32";
377
- readonly name: "app_id";
378
- readonly type: "bytes32";
379
- }, {
380
- readonly indexed: true;
381
- readonly internalType: "address";
382
- readonly name: "owner";
478
+ readonly name: "new_admin";
383
479
  readonly type: "address";
480
+ readonly internalType: "address";
384
481
  }];
385
- readonly name: "AppRegistered";
386
- readonly type: "event";
482
+ readonly outputs: readonly [];
483
+ readonly stateMutability: "nonpayable";
387
484
  }, {
388
- readonly anonymous: false;
485
+ readonly type: "function";
486
+ readonly name: "setAppAgentUri";
389
487
  readonly inputs: readonly [{
390
- readonly indexed: true;
391
- readonly internalType: "bytes32";
392
488
  readonly name: "app_id";
393
489
  readonly type: "bytes32";
394
- }, {
395
- readonly indexed: false;
396
490
  readonly internalType: "bytes32";
397
- readonly name: "terms_hash";
398
- readonly type: "bytes32";
399
491
  }, {
400
- readonly indexed: false;
401
- readonly internalType: "string";
402
- readonly name: "terms_uri";
492
+ readonly name: "agent_uri";
403
493
  readonly type: "string";
494
+ readonly internalType: "string";
404
495
  }];
405
- readonly name: "AppTermsChanged";
406
- readonly type: "event";
496
+ readonly outputs: readonly [];
497
+ readonly stateMutability: "nonpayable";
407
498
  }, {
408
- readonly anonymous: false;
499
+ readonly type: "function";
500
+ readonly name: "setAppSuspended";
409
501
  readonly inputs: readonly [{
410
- readonly indexed: true;
411
- readonly internalType: "bytes32";
412
502
  readonly name: "app_id";
413
503
  readonly type: "bytes32";
504
+ readonly internalType: "bytes32";
414
505
  }, {
415
- readonly indexed: false;
416
- readonly internalType: "uint256";
417
- readonly name: "fee";
418
- readonly type: "uint256";
506
+ readonly name: "is_suspended";
507
+ readonly type: "bool";
508
+ readonly internalType: "bool";
419
509
  }];
420
- readonly name: "AppFeeChanged";
421
- readonly type: "event";
510
+ readonly outputs: readonly [];
511
+ readonly stateMutability: "nonpayable";
422
512
  }, {
423
- readonly anonymous: false;
513
+ readonly type: "function";
514
+ readonly name: "setApprovalForAll";
424
515
  readonly inputs: readonly [{
425
- readonly indexed: true;
426
- readonly internalType: "bytes32";
427
- readonly name: "app_id";
428
- readonly type: "bytes32";
516
+ readonly name: "operator";
517
+ readonly type: "address";
518
+ readonly internalType: "address";
429
519
  }, {
430
- readonly indexed: false;
431
- readonly internalType: "string";
432
- readonly name: "agent_uri";
433
- readonly type: "string";
520
+ readonly name: "approved";
521
+ readonly type: "bool";
522
+ readonly internalType: "bool";
434
523
  }];
435
- readonly name: "AppAgentChanged";
436
- readonly type: "event";
524
+ readonly outputs: readonly [];
525
+ readonly stateMutability: "nonpayable";
437
526
  }, {
438
- readonly anonymous: false;
527
+ readonly type: "function";
528
+ readonly name: "setDataRegistry";
439
529
  readonly inputs: readonly [{
440
- readonly indexed: true;
441
- readonly internalType: "bytes32";
442
- readonly name: "app_id";
443
- readonly type: "bytes32";
444
- }, {
445
- readonly indexed: true;
530
+ readonly name: "registry";
531
+ readonly type: "address";
446
532
  readonly internalType: "address";
533
+ }];
534
+ readonly outputs: readonly [];
535
+ readonly stateMutability: "nonpayable";
536
+ }, {
537
+ readonly type: "function";
538
+ readonly name: "setGlobalSuspension";
539
+ readonly inputs: readonly [{
447
540
  readonly name: "publisher";
448
541
  readonly type: "address";
542
+ readonly internalType: "address";
449
543
  }, {
450
- readonly indexed: false;
451
- readonly internalType: "bytes32";
452
- readonly name: "terms_hash";
453
- readonly type: "bytes32";
454
- }, {
455
- readonly indexed: false;
456
- readonly internalType: "uint256";
457
- readonly name: "fee";
458
- readonly type: "uint256";
544
+ readonly name: "is_suspended";
545
+ readonly type: "bool";
546
+ readonly internalType: "bool";
459
547
  }];
460
- readonly name: "PublisherJoined";
461
- readonly type: "event";
548
+ readonly outputs: readonly [];
549
+ readonly stateMutability: "nonpayable";
462
550
  }, {
463
- readonly anonymous: false;
551
+ readonly type: "function";
552
+ readonly name: "setPublisherSuspended";
464
553
  readonly inputs: readonly [{
465
- readonly indexed: true;
466
- readonly internalType: "bytes32";
467
554
  readonly name: "app_id";
468
555
  readonly type: "bytes32";
556
+ readonly internalType: "bytes32";
469
557
  }, {
470
- readonly indexed: true;
471
- readonly internalType: "address";
472
558
  readonly name: "publisher";
473
559
  readonly type: "address";
560
+ readonly internalType: "address";
561
+ }, {
562
+ readonly name: "is_suspended";
563
+ readonly type: "bool";
564
+ readonly internalType: "bool";
565
+ }];
566
+ readonly outputs: readonly [];
567
+ readonly stateMutability: "nonpayable";
568
+ }, {
569
+ readonly type: "function";
570
+ readonly name: "setSubscriptionFee";
571
+ readonly inputs: readonly [{
572
+ readonly name: "fee";
573
+ readonly type: "uint256";
574
+ readonly internalType: "uint256";
575
+ }];
576
+ readonly outputs: readonly [];
577
+ readonly stateMutability: "nonpayable";
578
+ }, {
579
+ readonly type: "function";
580
+ readonly name: "setSubscriptionPeriod";
581
+ readonly inputs: readonly [{
582
+ readonly name: "period";
583
+ readonly type: "uint64";
584
+ readonly internalType: "uint64";
585
+ }];
586
+ readonly outputs: readonly [];
587
+ readonly stateMutability: "nonpayable";
588
+ }, {
589
+ readonly type: "function";
590
+ readonly name: "statusForApp";
591
+ readonly inputs: readonly [{
592
+ readonly name: "";
593
+ readonly type: "bytes32";
594
+ readonly internalType: "bytes32";
595
+ }, {
596
+ readonly name: "";
597
+ readonly type: "address";
598
+ readonly internalType: "address";
599
+ }];
600
+ readonly outputs: readonly [{
601
+ readonly name: "";
602
+ readonly type: "uint8";
603
+ readonly internalType: "enum AppRegistry.Status";
604
+ }];
605
+ readonly stateMutability: "view";
606
+ }, {
607
+ readonly type: "function";
608
+ readonly name: "subscriptionFee";
609
+ readonly inputs: readonly [];
610
+ readonly outputs: readonly [{
611
+ readonly name: "";
612
+ readonly type: "uint256";
613
+ readonly internalType: "uint256";
614
+ }];
615
+ readonly stateMutability: "view";
616
+ }, {
617
+ readonly type: "function";
618
+ readonly name: "subscriptionPeriod";
619
+ readonly inputs: readonly [];
620
+ readonly outputs: readonly [{
621
+ readonly name: "";
622
+ readonly type: "uint64";
623
+ readonly internalType: "uint64";
624
+ }];
625
+ readonly stateMutability: "view";
626
+ }, {
627
+ readonly type: "function";
628
+ readonly name: "supportsInterface";
629
+ readonly inputs: readonly [{
630
+ readonly name: "interface_id";
631
+ readonly type: "bytes4";
632
+ readonly internalType: "bytes4";
633
+ }];
634
+ readonly outputs: readonly [{
635
+ readonly name: "";
636
+ readonly type: "bool";
637
+ readonly internalType: "bool";
638
+ }];
639
+ readonly stateMutability: "view";
640
+ }, {
641
+ readonly type: "function";
642
+ readonly name: "symbol";
643
+ readonly inputs: readonly [];
644
+ readonly outputs: readonly [{
645
+ readonly name: "";
646
+ readonly type: "string";
647
+ readonly internalType: "string";
648
+ }];
649
+ readonly stateMutability: "view";
650
+ }, {
651
+ readonly type: "function";
652
+ readonly name: "tokenURI";
653
+ readonly inputs: readonly [{
654
+ readonly name: "tokenId";
655
+ readonly type: "uint256";
656
+ readonly internalType: "uint256";
657
+ }];
658
+ readonly outputs: readonly [{
659
+ readonly name: "";
660
+ readonly type: "string";
661
+ readonly internalType: "string";
662
+ }];
663
+ readonly stateMutability: "view";
664
+ }, {
665
+ readonly type: "function";
666
+ readonly name: "totalJoinFeesOwed";
667
+ readonly inputs: readonly [];
668
+ readonly outputs: readonly [{
669
+ readonly name: "";
670
+ readonly type: "uint256";
671
+ readonly internalType: "uint256";
672
+ }];
673
+ readonly stateMutability: "view";
674
+ }, {
675
+ readonly type: "function";
676
+ readonly name: "transferFrom";
677
+ readonly inputs: readonly [{
678
+ readonly name: "from";
679
+ readonly type: "address";
680
+ readonly internalType: "address";
681
+ }, {
682
+ readonly name: "to";
683
+ readonly type: "address";
684
+ readonly internalType: "address";
685
+ }, {
686
+ readonly name: "tokenId";
687
+ readonly type: "uint256";
688
+ readonly internalType: "uint256";
689
+ }];
690
+ readonly outputs: readonly [];
691
+ readonly stateMutability: "nonpayable";
692
+ }, {
693
+ readonly type: "function";
694
+ readonly name: "upgradeToAndCall";
695
+ readonly inputs: readonly [{
696
+ readonly name: "newImplementation";
697
+ readonly type: "address";
698
+ readonly internalType: "address";
699
+ }, {
700
+ readonly name: "data";
701
+ readonly type: "bytes";
702
+ readonly internalType: "bytes";
703
+ }];
704
+ readonly outputs: readonly [];
705
+ readonly stateMutability: "payable";
706
+ }, {
707
+ readonly type: "function";
708
+ readonly name: "usdc";
709
+ readonly inputs: readonly [];
710
+ readonly outputs: readonly [{
711
+ readonly name: "";
712
+ readonly type: "address";
713
+ readonly internalType: "address";
714
+ }];
715
+ readonly stateMutability: "view";
716
+ }, {
717
+ readonly type: "function";
718
+ readonly name: "withdrawJoinFees";
719
+ readonly inputs: readonly [{
720
+ readonly name: "to";
721
+ readonly type: "address";
722
+ readonly internalType: "address";
723
+ }];
724
+ readonly outputs: readonly [];
725
+ readonly stateMutability: "nonpayable";
726
+ }, {
727
+ readonly type: "function";
728
+ readonly name: "withdrawToken";
729
+ readonly inputs: readonly [{
730
+ readonly name: "token";
731
+ readonly type: "address";
732
+ readonly internalType: "address";
733
+ }, {
734
+ readonly name: "to";
735
+ readonly type: "address";
736
+ readonly internalType: "address";
737
+ }, {
738
+ readonly name: "amount";
739
+ readonly type: "uint256";
740
+ readonly internalType: "uint256";
474
741
  }];
475
- readonly name: "PublisherSuspendedForApp";
742
+ readonly outputs: readonly [];
743
+ readonly stateMutability: "nonpayable";
744
+ }, {
476
745
  readonly type: "event";
746
+ readonly name: "AdminChanged";
747
+ readonly inputs: readonly [{
748
+ readonly name: "previous_admin";
749
+ readonly type: "address";
750
+ readonly indexed: false;
751
+ readonly internalType: "address";
752
+ }, {
753
+ readonly name: "new_admin";
754
+ readonly type: "address";
755
+ readonly indexed: false;
756
+ readonly internalType: "address";
757
+ }];
758
+ readonly anonymous: false;
477
759
  }, {
760
+ readonly type: "event";
761
+ readonly name: "AppAgentChanged";
762
+ readonly inputs: readonly [{
763
+ readonly name: "app_id";
764
+ readonly type: "bytes32";
765
+ readonly indexed: true;
766
+ readonly internalType: "bytes32";
767
+ }, {
768
+ readonly name: "agent_uri";
769
+ readonly type: "string";
770
+ readonly indexed: false;
771
+ readonly internalType: "string";
772
+ }];
478
773
  readonly anonymous: false;
774
+ }, {
775
+ readonly type: "event";
776
+ readonly name: "AppRegistered";
479
777
  readonly inputs: readonly [{
778
+ readonly name: "app_id";
779
+ readonly type: "bytes32";
480
780
  readonly indexed: true;
481
781
  readonly internalType: "bytes32";
782
+ }, {
783
+ readonly name: "owner";
784
+ readonly type: "address";
785
+ readonly indexed: true;
786
+ readonly internalType: "address";
787
+ }];
788
+ readonly anonymous: false;
789
+ }, {
790
+ readonly type: "event";
791
+ readonly name: "AppSuspensionChanged";
792
+ readonly inputs: readonly [{
482
793
  readonly name: "app_id";
483
794
  readonly type: "bytes32";
795
+ readonly indexed: true;
796
+ readonly internalType: "bytes32";
484
797
  }, {
798
+ readonly name: "suspended";
799
+ readonly type: "bool";
800
+ readonly indexed: false;
801
+ readonly internalType: "bool";
802
+ }];
803
+ readonly anonymous: false;
804
+ }, {
805
+ readonly type: "event";
806
+ readonly name: "Approval";
807
+ readonly inputs: readonly [{
808
+ readonly name: "owner";
809
+ readonly type: "address";
485
810
  readonly indexed: true;
486
811
  readonly internalType: "address";
487
- readonly name: "publisher";
812
+ }, {
813
+ readonly name: "approved";
488
814
  readonly type: "address";
815
+ readonly indexed: true;
816
+ readonly internalType: "address";
817
+ }, {
818
+ readonly name: "tokenId";
819
+ readonly type: "uint256";
820
+ readonly indexed: true;
821
+ readonly internalType: "uint256";
489
822
  }];
490
- readonly name: "PublisherReinstatedForApp";
823
+ readonly anonymous: false;
824
+ }, {
491
825
  readonly type: "event";
826
+ readonly name: "ApprovalForAll";
827
+ readonly inputs: readonly [{
828
+ readonly name: "owner";
829
+ readonly type: "address";
830
+ readonly indexed: true;
831
+ readonly internalType: "address";
832
+ }, {
833
+ readonly name: "operator";
834
+ readonly type: "address";
835
+ readonly indexed: true;
836
+ readonly internalType: "address";
837
+ }, {
838
+ readonly name: "approved";
839
+ readonly type: "bool";
840
+ readonly indexed: false;
841
+ readonly internalType: "bool";
842
+ }];
843
+ readonly anonymous: false;
492
844
  }, {
845
+ readonly type: "event";
846
+ readonly name: "DataRegistryChanged";
847
+ readonly inputs: readonly [{
848
+ readonly name: "previous_registry";
849
+ readonly type: "address";
850
+ readonly indexed: false;
851
+ readonly internalType: "address";
852
+ }, {
853
+ readonly name: "new_registry";
854
+ readonly type: "address";
855
+ readonly indexed: false;
856
+ readonly internalType: "address";
857
+ }];
493
858
  readonly anonymous: false;
859
+ }, {
860
+ readonly type: "event";
861
+ readonly name: "ExclusionChanged";
494
862
  readonly inputs: readonly [{
863
+ readonly name: "app_id";
864
+ readonly type: "bytes32";
495
865
  readonly indexed: true;
496
866
  readonly internalType: "bytes32";
497
- readonly name: "app_id";
867
+ }, {
868
+ readonly name: "publisher";
869
+ readonly type: "address";
870
+ readonly indexed: true;
871
+ readonly internalType: "address";
872
+ }, {
873
+ readonly name: "exclusion_id";
498
874
  readonly type: "bytes32";
875
+ readonly indexed: true;
876
+ readonly internalType: "bytes32";
499
877
  }, {
878
+ readonly name: "repo_id";
879
+ readonly type: "bytes32";
500
880
  readonly indexed: false;
501
- readonly internalType: "bool";
502
- readonly name: "suspended";
881
+ readonly internalType: "bytes32";
882
+ }, {
883
+ readonly name: "key_id";
884
+ readonly type: "bytes32";
885
+ readonly indexed: false;
886
+ readonly internalType: "bytes32";
887
+ }, {
888
+ readonly name: "count";
889
+ readonly type: "uint64";
890
+ readonly indexed: false;
891
+ readonly internalType: "uint64";
892
+ }];
893
+ readonly anonymous: false;
894
+ }, {
895
+ readonly type: "event";
896
+ readonly name: "GlobalSuspensionChanged";
897
+ readonly inputs: readonly [{
898
+ readonly name: "publisher";
899
+ readonly type: "address";
900
+ readonly indexed: true;
901
+ readonly internalType: "address";
902
+ }, {
903
+ readonly name: "suspended";
503
904
  readonly type: "bool";
905
+ readonly indexed: false;
906
+ readonly internalType: "bool";
504
907
  }];
505
- readonly name: "AppSuspensionChanged";
908
+ readonly anonymous: false;
909
+ }, {
910
+ readonly type: "event";
911
+ readonly name: "Initialized";
912
+ readonly inputs: readonly [{
913
+ readonly name: "version";
914
+ readonly type: "uint64";
915
+ readonly indexed: false;
916
+ readonly internalType: "uint64";
917
+ }];
918
+ readonly anonymous: false;
919
+ }, {
506
920
  readonly type: "event";
921
+ readonly name: "JoinFeesWithdrawn";
922
+ readonly inputs: readonly [{
923
+ readonly name: "owner";
924
+ readonly type: "address";
925
+ readonly indexed: true;
926
+ readonly internalType: "address";
927
+ }, {
928
+ readonly name: "to";
929
+ readonly type: "address";
930
+ readonly indexed: false;
931
+ readonly internalType: "address";
932
+ }, {
933
+ readonly name: "amount";
934
+ readonly type: "uint256";
935
+ readonly indexed: false;
936
+ readonly internalType: "uint256";
937
+ }];
938
+ readonly anonymous: false;
939
+ }, {
940
+ readonly type: "event";
941
+ readonly name: "PublisherAccepted";
942
+ readonly inputs: readonly [{
943
+ readonly name: "app_id";
944
+ readonly type: "bytes32";
945
+ readonly indexed: true;
946
+ readonly internalType: "bytes32";
947
+ }, {
948
+ readonly name: "publisher";
949
+ readonly type: "address";
950
+ readonly indexed: true;
951
+ readonly internalType: "address";
952
+ }];
953
+ readonly anonymous: false;
954
+ }, {
955
+ readonly type: "event";
956
+ readonly name: "PublisherSuspensionChanged";
957
+ readonly inputs: readonly [{
958
+ readonly name: "app_id";
959
+ readonly type: "bytes32";
960
+ readonly indexed: true;
961
+ readonly internalType: "bytes32";
962
+ }, {
963
+ readonly name: "publisher";
964
+ readonly type: "address";
965
+ readonly indexed: true;
966
+ readonly internalType: "address";
967
+ }, {
968
+ readonly name: "suspended";
969
+ readonly type: "bool";
970
+ readonly indexed: false;
971
+ readonly internalType: "bool";
972
+ }];
973
+ readonly anonymous: false;
974
+ }, {
975
+ readonly type: "event";
976
+ readonly name: "SubscriptionFeeChanged";
977
+ readonly inputs: readonly [{
978
+ readonly name: "fee";
979
+ readonly type: "uint256";
980
+ readonly indexed: false;
981
+ readonly internalType: "uint256";
982
+ }];
983
+ readonly anonymous: false;
984
+ }, {
985
+ readonly type: "event";
986
+ readonly name: "SubscriptionPeriodChanged";
987
+ readonly inputs: readonly [{
988
+ readonly name: "period";
989
+ readonly type: "uint64";
990
+ readonly indexed: false;
991
+ readonly internalType: "uint64";
992
+ }];
993
+ readonly anonymous: false;
994
+ }, {
995
+ readonly type: "event";
996
+ readonly name: "SubscriptionUpdate";
997
+ readonly inputs: readonly [{
998
+ readonly name: "tokenId";
999
+ readonly type: "uint256";
1000
+ readonly indexed: true;
1001
+ readonly internalType: "uint256";
1002
+ }, {
1003
+ readonly name: "expiration";
1004
+ readonly type: "uint64";
1005
+ readonly indexed: false;
1006
+ readonly internalType: "uint64";
1007
+ }];
1008
+ readonly anonymous: false;
1009
+ }, {
1010
+ readonly type: "event";
1011
+ readonly name: "TokenWithdrawn";
1012
+ readonly inputs: readonly [{
1013
+ readonly name: "token";
1014
+ readonly type: "address";
1015
+ readonly indexed: true;
1016
+ readonly internalType: "address";
1017
+ }, {
1018
+ readonly name: "to";
1019
+ readonly type: "address";
1020
+ readonly indexed: true;
1021
+ readonly internalType: "address";
1022
+ }, {
1023
+ readonly name: "amount";
1024
+ readonly type: "uint256";
1025
+ readonly indexed: false;
1026
+ readonly internalType: "uint256";
1027
+ }];
1028
+ readonly anonymous: false;
1029
+ }, {
1030
+ readonly type: "event";
1031
+ readonly name: "Transfer";
1032
+ readonly inputs: readonly [{
1033
+ readonly name: "from";
1034
+ readonly type: "address";
1035
+ readonly indexed: true;
1036
+ readonly internalType: "address";
1037
+ }, {
1038
+ readonly name: "to";
1039
+ readonly type: "address";
1040
+ readonly indexed: true;
1041
+ readonly internalType: "address";
1042
+ }, {
1043
+ readonly name: "tokenId";
1044
+ readonly type: "uint256";
1045
+ readonly indexed: true;
1046
+ readonly internalType: "uint256";
1047
+ }];
1048
+ readonly anonymous: false;
1049
+ }, {
1050
+ readonly type: "event";
1051
+ readonly name: "Upgraded";
1052
+ readonly inputs: readonly [{
1053
+ readonly name: "implementation";
1054
+ readonly type: "address";
1055
+ readonly indexed: true;
1056
+ readonly internalType: "address";
1057
+ }];
1058
+ readonly anonymous: false;
1059
+ }, {
1060
+ readonly type: "error";
1061
+ readonly name: "AddressEmptyCode";
1062
+ readonly inputs: readonly [{
1063
+ readonly name: "target";
1064
+ readonly type: "address";
1065
+ readonly internalType: "address";
1066
+ }];
1067
+ }, {
1068
+ readonly type: "error";
1069
+ readonly name: "AlreadyAccepted";
1070
+ readonly inputs: readonly [];
1071
+ }, {
1072
+ readonly type: "error";
1073
+ readonly name: "AlreadyExcluded";
1074
+ readonly inputs: readonly [];
1075
+ }, {
1076
+ readonly type: "error";
1077
+ readonly name: "AppAlreadyRegistered";
1078
+ readonly inputs: readonly [];
1079
+ }, {
1080
+ readonly type: "error";
1081
+ readonly name: "AppNotFound";
1082
+ readonly inputs: readonly [];
1083
+ }, {
1084
+ readonly type: "error";
1085
+ readonly name: "CannotSuspendOwner";
1086
+ readonly inputs: readonly [];
1087
+ }, {
1088
+ readonly type: "error";
1089
+ readonly name: "DurationMismatch";
1090
+ readonly inputs: readonly [];
1091
+ }, {
1092
+ readonly type: "error";
1093
+ readonly name: "ERC1967InvalidImplementation";
1094
+ readonly inputs: readonly [{
1095
+ readonly name: "implementation";
1096
+ readonly type: "address";
1097
+ readonly internalType: "address";
1098
+ }];
1099
+ }, {
1100
+ readonly type: "error";
1101
+ readonly name: "ERC1967NonPayable";
1102
+ readonly inputs: readonly [];
1103
+ }, {
1104
+ readonly type: "error";
1105
+ readonly name: "ERC721IncorrectOwner";
1106
+ readonly inputs: readonly [{
1107
+ readonly name: "sender";
1108
+ readonly type: "address";
1109
+ readonly internalType: "address";
1110
+ }, {
1111
+ readonly name: "tokenId";
1112
+ readonly type: "uint256";
1113
+ readonly internalType: "uint256";
1114
+ }, {
1115
+ readonly name: "owner";
1116
+ readonly type: "address";
1117
+ readonly internalType: "address";
1118
+ }];
1119
+ }, {
1120
+ readonly type: "error";
1121
+ readonly name: "ERC721InsufficientApproval";
1122
+ readonly inputs: readonly [{
1123
+ readonly name: "operator";
1124
+ readonly type: "address";
1125
+ readonly internalType: "address";
1126
+ }, {
1127
+ readonly name: "tokenId";
1128
+ readonly type: "uint256";
1129
+ readonly internalType: "uint256";
1130
+ }];
1131
+ }, {
1132
+ readonly type: "error";
1133
+ readonly name: "ERC721InvalidApprover";
1134
+ readonly inputs: readonly [{
1135
+ readonly name: "approver";
1136
+ readonly type: "address";
1137
+ readonly internalType: "address";
1138
+ }];
1139
+ }, {
1140
+ readonly type: "error";
1141
+ readonly name: "ERC721InvalidOperator";
1142
+ readonly inputs: readonly [{
1143
+ readonly name: "operator";
1144
+ readonly type: "address";
1145
+ readonly internalType: "address";
1146
+ }];
1147
+ }, {
1148
+ readonly type: "error";
1149
+ readonly name: "ERC721InvalidOwner";
1150
+ readonly inputs: readonly [{
1151
+ readonly name: "owner";
1152
+ readonly type: "address";
1153
+ readonly internalType: "address";
1154
+ }];
1155
+ }, {
1156
+ readonly type: "error";
1157
+ readonly name: "ERC721InvalidReceiver";
1158
+ readonly inputs: readonly [{
1159
+ readonly name: "receiver";
1160
+ readonly type: "address";
1161
+ readonly internalType: "address";
1162
+ }];
1163
+ }, {
1164
+ readonly type: "error";
1165
+ readonly name: "ERC721InvalidSender";
1166
+ readonly inputs: readonly [{
1167
+ readonly name: "sender";
1168
+ readonly type: "address";
1169
+ readonly internalType: "address";
1170
+ }];
1171
+ }, {
1172
+ readonly type: "error";
1173
+ readonly name: "ERC721NonexistentToken";
1174
+ readonly inputs: readonly [{
1175
+ readonly name: "tokenId";
1176
+ readonly type: "uint256";
1177
+ readonly internalType: "uint256";
1178
+ }];
1179
+ }, {
1180
+ readonly type: "error";
1181
+ readonly name: "EthNotAccepted";
1182
+ readonly inputs: readonly [];
1183
+ }, {
1184
+ readonly type: "error";
1185
+ readonly name: "ExceedsProtocolBalance";
1186
+ readonly inputs: readonly [];
1187
+ }, {
1188
+ readonly type: "error";
1189
+ readonly name: "FailedCall";
1190
+ readonly inputs: readonly [];
1191
+ }, {
1192
+ readonly type: "error";
1193
+ readonly name: "InvalidInitialization";
1194
+ readonly inputs: readonly [];
1195
+ }, {
1196
+ readonly type: "error";
1197
+ readonly name: "NotAccepted";
1198
+ readonly inputs: readonly [];
1199
+ }, {
1200
+ readonly type: "error";
1201
+ readonly name: "NotExcluded";
1202
+ readonly inputs: readonly [];
1203
+ }, {
1204
+ readonly type: "error";
1205
+ readonly name: "NotInitializing";
1206
+ readonly inputs: readonly [];
1207
+ }, {
1208
+ readonly type: "error";
1209
+ readonly name: "NotTransferable";
1210
+ readonly inputs: readonly [];
1211
+ }, {
1212
+ readonly type: "error";
1213
+ readonly name: "NothingToWithdraw";
1214
+ readonly inputs: readonly [];
1215
+ }, {
1216
+ readonly type: "error";
1217
+ readonly name: "PublisherNotSuspended";
1218
+ readonly inputs: readonly [];
1219
+ }, {
1220
+ readonly type: "error";
1221
+ readonly name: "PublisherSuspendedGlobal";
1222
+ readonly inputs: readonly [];
1223
+ }, {
1224
+ readonly type: "error";
1225
+ readonly name: "ReentrancyGuardReentrantCall";
1226
+ readonly inputs: readonly [];
1227
+ }, {
1228
+ readonly type: "error";
1229
+ readonly name: "SubscriptionFeeRequired";
1230
+ readonly inputs: readonly [];
1231
+ }, {
1232
+ readonly type: "error";
1233
+ readonly name: "SubscriptionFeeTooHigh";
1234
+ readonly inputs: readonly [];
1235
+ }, {
1236
+ readonly type: "error";
1237
+ readonly name: "SubscriptionNotRenewable";
1238
+ readonly inputs: readonly [];
1239
+ }, {
1240
+ readonly type: "error";
1241
+ readonly name: "TransferFailed";
1242
+ readonly inputs: readonly [];
1243
+ }, {
1244
+ readonly type: "error";
1245
+ readonly name: "UUPSUnauthorizedCallContext";
1246
+ readonly inputs: readonly [];
1247
+ }, {
1248
+ readonly type: "error";
1249
+ readonly name: "UUPSUnsupportedProxiableUUID";
1250
+ readonly inputs: readonly [{
1251
+ readonly name: "slot";
1252
+ readonly type: "bytes32";
1253
+ readonly internalType: "bytes32";
1254
+ }];
1255
+ }, {
1256
+ readonly type: "error";
1257
+ readonly name: "Unauthorized";
1258
+ readonly inputs: readonly [];
1259
+ }, {
1260
+ readonly type: "error";
1261
+ readonly name: "ZeroPeriod";
1262
+ readonly inputs: readonly [];
507
1263
  }];
508
1264
  //#endregion
509
1265
  export { APP_REGISTRY_ABI };