@fangorn-network/sdk 2026.8.18-dev → 2026.10.1-9.0-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 (91) hide show
  1. package/README.md +191 -195
  2. package/lib/cli/cli.d.ts +0 -0
  3. package/lib/cli/cli.js +198 -164
  4. package/lib/cli/index.d.ts +3 -91
  5. package/lib/cli/index.js +5 -2
  6. package/lib/config.d.ts +349 -433
  7. package/lib/config.js +41 -28
  8. package/lib/contracts/app-registry/abi.d.ts +1064 -265
  9. package/lib/contracts/app-registry/abi.js +1233 -308
  10. package/lib/contracts/app-registry/index.d.ts +123 -102
  11. package/lib/contracts/app-registry/index.js +200 -198
  12. package/lib/contracts/data-registry/abi.d.ts +166 -187
  13. package/lib/contracts/data-registry/abi.js +207 -237
  14. package/lib/contracts/data-registry/index.d.ts +4 -160
  15. package/lib/contracts/data-registry/index.js +5 -294
  16. package/lib/contracts/index.d.ts +6 -7
  17. package/lib/contracts/index.js +6 -8
  18. package/lib/contracts/logs.d.ts +21 -0
  19. package/lib/contracts/logs.js +32 -0
  20. package/lib/contracts/membership-registry/abi.d.ts +1145 -0
  21. package/lib/contracts/membership-registry/abi.js +1333 -0
  22. package/lib/contracts/membership-registry/index.d.ts +79 -0
  23. package/lib/contracts/membership-registry/index.js +104 -0
  24. package/lib/contracts/types.d.ts +3 -1
  25. package/lib/contracts/types.js +3 -1
  26. package/lib/contracts/write.d.ts +34 -2
  27. package/lib/contracts/write.js +48 -1
  28. package/lib/crypto/encryption.js +4 -4
  29. package/lib/engine/car.d.ts +2 -2
  30. package/lib/engine/car.js +10 -5
  31. package/lib/engine/index.d.ts +99 -143
  32. package/lib/engine/index.js +156 -295
  33. package/lib/engine/records.d.ts +110 -0
  34. package/lib/engine/records.js +165 -0
  35. package/lib/engine/test-helpers.d.ts +7 -14
  36. package/lib/engine/test-helpers.js +7 -18
  37. package/lib/fangorn.d.ts +163 -155
  38. package/lib/fangorn.js +284 -248
  39. package/lib/feed.d.ts +7 -4
  40. package/lib/feed.js +4 -1
  41. package/lib/index.d.ts +9 -9
  42. package/lib/index.js +9 -10
  43. package/lib/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js +77 -0
  44. package/lib/node_modules/@vitest/expect/dist/index.js +1414 -0
  45. package/lib/node_modules/@vitest/pretty-format/dist/index.js +858 -0
  46. package/lib/node_modules/@vitest/runner/dist/chunk-tasks.js +51 -0
  47. package/lib/node_modules/@vitest/runner/dist/index.js +1199 -0
  48. package/lib/node_modules/@vitest/runner/dist/utils.js +3 -0
  49. package/lib/node_modules/@vitest/snapshot/dist/index.js +1075 -0
  50. package/lib/node_modules/@vitest/spy/dist/index.js +353 -0
  51. package/lib/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js +7 -0
  52. package/lib/node_modules/@vitest/utils/dist/chunk-pathe.M-eThtNZ.js +81 -0
  53. package/lib/node_modules/@vitest/utils/dist/diff.js +1345 -0
  54. package/lib/node_modules/@vitest/utils/dist/display.js +534 -0
  55. package/lib/node_modules/@vitest/utils/dist/error.js +30 -0
  56. package/lib/node_modules/@vitest/utils/dist/helpers.js +118 -0
  57. package/lib/node_modules/@vitest/utils/dist/serialize.js +76 -0
  58. package/lib/node_modules/@vitest/utils/dist/source-map.js +93 -0
  59. package/lib/node_modules/@vitest/utils/dist/timers.js +36 -0
  60. package/lib/node_modules/chai/index.js +2874 -0
  61. package/lib/node_modules/magic-string/dist/magic-string.es.js +939 -0
  62. package/lib/node_modules/pathe/dist/shared/pathe.M-eThtNZ.js +81 -0
  63. package/lib/node_modules/tinyrainbow/dist/index.js +85 -0
  64. package/lib/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js +5 -0
  65. package/lib/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +50 -0
  66. package/lib/node_modules/vitest/dist/chunks/utils.DvEY5TfP.js +44 -0
  67. package/lib/node_modules/vitest/dist/chunks/vi.2VT5v0um.js +2578 -0
  68. package/lib/providers/storage/signed-url.d.ts +16 -6
  69. package/lib/providers/storage/signed-url.js +20 -8
  70. package/lib/registry.d.ts +116 -0
  71. package/lib/registry.js +182 -0
  72. package/lib/test/mem-registry.d.ts +51 -0
  73. package/lib/test/mem-registry.js +107 -0
  74. package/lib/test/sdk-suite.d.ts +13 -0
  75. package/lib/test/sdk-suite.js +226 -0
  76. package/lib/test/testbed.d.ts +16411 -61
  77. package/lib/test/testbed.js +190 -84
  78. package/lib/types/index.d.ts +13 -11
  79. package/package.json +89 -72
  80. package/lib/contracts/data-registry/test.d.ts +0 -1
  81. package/lib/contracts/data-registry/test.js +0 -1
  82. package/lib/contracts/settlement-registry/abi.d.ts +0 -466
  83. package/lib/contracts/settlement-registry/abi.js +0 -535
  84. package/lib/contracts/settlement-registry/index.d.ts +0 -163
  85. package/lib/contracts/settlement-registry/index.js +0 -264
  86. package/lib/contracts/subscription-registry/abi.d.ts +0 -179
  87. package/lib/contracts/subscription-registry/abi.js +0 -195
  88. package/lib/contracts/subscription-registry/index.d.ts +0 -59
  89. package/lib/contracts/subscription-registry/index.js +0 -116
  90. package/lib/engine/graph.d.ts +0 -70
  91. package/lib/engine/graph.js +0 -73
@@ -1,466 +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: "appTermsUri";
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: "getAppOwner";
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: "address";
125
145
  readonly name: "";
126
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: "isAppSuspended";
137
184
  readonly outputs: readonly [{
138
- readonly internalType: "bool";
139
185
  readonly name: "";
140
- readonly type: "bool";
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 [{
146
- readonly internalType: "bytes32";
147
- readonly name: "app_id";
148
- readonly type: "bytes32";
149
- }, {
150
- readonly internalType: "address";
151
194
  readonly name: "publisher";
152
195
  readonly type: "address";
196
+ readonly internalType: "address";
197
+ }, {
198
+ readonly name: "repo_id";
199
+ readonly type: "bytes32";
200
+ readonly internalType: "bytes32";
201
+ }, {
202
+ readonly name: "key_id";
203
+ readonly type: "bytes32";
204
+ readonly internalType: "bytes32";
153
205
  }];
154
- readonly name: "isRegisteredForApp";
155
206
  readonly outputs: readonly [{
156
- readonly internalType: "bool";
157
207
  readonly name: "";
158
- readonly type: "bool";
208
+ readonly type: "bytes32";
209
+ readonly internalType: "bytes32";
159
210
  }];
160
- readonly stateMutability: "view";
211
+ readonly stateMutability: "pure";
212
+ }, {
161
213
  readonly type: "function";
214
+ readonly name: "expiresAt";
215
+ readonly inputs: readonly [{
216
+ readonly name: "tokenId";
217
+ readonly type: "uint256";
218
+ readonly internalType: "uint256";
219
+ }];
220
+ readonly outputs: readonly [{
221
+ readonly name: "";
222
+ readonly type: "uint64";
223
+ readonly internalType: "uint64";
224
+ }];
225
+ readonly stateMutability: "view";
162
226
  }, {
227
+ readonly type: "function";
228
+ readonly name: "getAppOwner";
163
229
  readonly inputs: readonly [{
164
- readonly internalType: "bytes32";
165
230
  readonly name: "app_id";
166
231
  readonly type: "bytes32";
167
- }, {
168
- readonly internalType: "address";
169
- readonly name: "publisher";
170
- readonly type: "address";
232
+ readonly internalType: "bytes32";
171
233
  }];
172
- readonly name: "joinInfo";
173
234
  readonly outputs: readonly [{
174
- readonly internalType: "bytes32";
175
- readonly name: "";
176
- readonly type: "bytes32";
177
- }, {
178
- readonly internalType: "string";
179
235
  readonly name: "";
180
- readonly type: "string";
181
- }, {
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";
182
246
  readonly internalType: "uint256";
247
+ }];
248
+ readonly outputs: readonly [{
183
249
  readonly name: "";
184
- readonly type: "uint256";
185
- }, {
186
- 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 [{
187
258
  readonly name: "";
188
- readonly type: "uint8";
189
- }, {
190
- readonly internalType: "bool";
259
+ readonly type: "address";
260
+ readonly internalType: "address";
261
+ }];
262
+ readonly outputs: readonly [{
191
263
  readonly name: "";
192
264
  readonly type: "bool";
265
+ readonly internalType: "bool";
193
266
  }];
194
267
  readonly stateMutability: "view";
195
- readonly type: "function";
196
268
  }, {
269
+ readonly type: "function";
270
+ readonly name: "initialize";
197
271
  readonly inputs: readonly [{
198
- readonly internalType: "bytes32";
199
- readonly name: "app_id";
200
- readonly type: "bytes32";
201
- }, {
202
- readonly internalType: "bytes32";
203
- readonly name: "terms_hash";
204
- readonly type: "bytes32";
272
+ readonly name: "admin_";
273
+ readonly type: "address";
274
+ readonly internalType: "address";
205
275
  }, {
206
- readonly internalType: "string";
207
- readonly name: "terms_uri";
208
- readonly type: "string";
276
+ readonly name: "usdc_";
277
+ readonly type: "address";
278
+ readonly internalType: "address";
209
279
  }, {
210
- readonly internalType: "uint256";
211
- readonly name: "fee";
280
+ readonly name: "subscriptionFee_";
212
281
  readonly type: "uint256";
282
+ readonly internalType: "uint256";
283
+ }, {
284
+ readonly name: "subscriptionPeriod_";
285
+ readonly type: "uint64";
286
+ readonly internalType: "uint64";
213
287
  }];
214
- readonly name: "registerApp";
215
288
  readonly outputs: readonly [];
216
289
  readonly stateMutability: "nonpayable";
217
- readonly type: "function";
218
290
  }, {
291
+ readonly type: "function";
292
+ readonly name: "isAppSuspended";
219
293
  readonly inputs: readonly [{
220
- readonly internalType: "bytes32";
221
294
  readonly name: "app_id";
222
295
  readonly type: "bytes32";
223
- }, {
224
296
  readonly internalType: "bytes32";
225
- readonly name: "terms_hash";
226
- readonly type: "bytes32";
227
297
  }];
228
- readonly name: "registerForApp";
229
- readonly outputs: readonly [];
230
- readonly stateMutability: "payable";
231
- readonly type: "function";
298
+ readonly outputs: readonly [{
299
+ readonly name: "";
300
+ readonly type: "bool";
301
+ readonly internalType: "bool";
302
+ }];
303
+ readonly stateMutability: "view";
232
304
  }, {
305
+ readonly type: "function";
306
+ readonly name: "isApprovedForAll";
233
307
  readonly inputs: readonly [{
234
- readonly internalType: "bytes32";
235
- readonly name: "app_id";
236
- readonly type: "bytes32";
237
- }, {
308
+ readonly name: "owner";
309
+ readonly type: "address";
238
310
  readonly internalType: "address";
239
- readonly name: "publisher";
311
+ }, {
312
+ readonly name: "operator";
240
313
  readonly type: "address";
314
+ readonly internalType: "address";
241
315
  }];
242
- readonly name: "reinstateForApp";
243
- readonly outputs: readonly [];
244
- readonly stateMutability: "nonpayable";
316
+ readonly outputs: readonly [{
317
+ readonly name: "";
318
+ readonly type: "bool";
319
+ readonly internalType: "bool";
320
+ }];
321
+ readonly stateMutability: "view";
322
+ }, {
245
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";
246
336
  }, {
337
+ readonly type: "function";
338
+ readonly name: "joinFeesOwed";
247
339
  readonly inputs: readonly [{
248
- readonly internalType: "bytes32";
249
- readonly name: "app_id";
250
- readonly type: "bytes32";
340
+ readonly name: "";
341
+ readonly type: "address";
342
+ readonly internalType: "address";
251
343
  }];
252
- readonly name: "reinstateApp";
253
- readonly outputs: readonly [];
254
- readonly stateMutability: "nonpayable";
344
+ readonly outputs: readonly [{
345
+ readonly name: "";
346
+ readonly type: "uint256";
347
+ readonly internalType: "uint256";
348
+ }];
349
+ readonly stateMutability: "view";
350
+ }, {
255
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";
256
360
  }, {
361
+ readonly type: "function";
362
+ readonly name: "ownerOf";
257
363
  readonly inputs: readonly [{
258
- readonly internalType: "bytes32";
259
- readonly name: "app_id";
260
- readonly type: "bytes32";
364
+ readonly name: "tokenId";
365
+ readonly type: "uint256";
366
+ readonly internalType: "uint256";
261
367
  }];
262
- readonly name: "suspendApp";
263
- readonly outputs: readonly [];
264
- readonly stateMutability: "nonpayable";
368
+ readonly outputs: readonly [{
369
+ readonly name: "";
370
+ readonly type: "address";
371
+ readonly internalType: "address";
372
+ }];
373
+ readonly stateMutability: "view";
374
+ }, {
265
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";
266
384
  }, {
385
+ readonly type: "function";
386
+ readonly name: "registerApp";
267
387
  readonly inputs: readonly [{
268
- readonly internalType: "bytes32";
269
388
  readonly name: "app_id";
270
389
  readonly type: "bytes32";
390
+ readonly internalType: "bytes32";
271
391
  }, {
272
- readonly internalType: "uint256";
273
- readonly name: "fee";
392
+ readonly name: "max_subscription_fee";
274
393
  readonly type: "uint256";
394
+ readonly internalType: "uint256";
275
395
  }];
276
- readonly name: "setAppFee";
277
396
  readonly outputs: readonly [];
278
397
  readonly stateMutability: "nonpayable";
279
- readonly type: "function";
280
398
  }, {
399
+ readonly type: "function";
400
+ readonly name: "renewSubscription";
281
401
  readonly inputs: readonly [{
282
- readonly internalType: "bytes32";
283
- readonly name: "app_id";
284
- readonly type: "bytes32";
285
- }, {
286
- readonly internalType: "bytes32";
287
- readonly name: "terms_hash";
288
- readonly type: "bytes32";
402
+ readonly name: "tokenId";
403
+ readonly type: "uint256";
404
+ readonly internalType: "uint256";
289
405
  }, {
290
- readonly internalType: "string";
291
- readonly name: "terms_uri";
292
- readonly type: "string";
406
+ readonly name: "duration";
407
+ readonly type: "uint64";
408
+ readonly internalType: "uint64";
293
409
  }];
294
- readonly name: "setAppTerms";
295
410
  readonly outputs: readonly [];
296
- readonly stateMutability: "nonpayable";
297
- readonly type: "function";
411
+ readonly stateMutability: "payable";
298
412
  }, {
413
+ readonly type: "function";
414
+ readonly name: "restore";
299
415
  readonly inputs: readonly [{
300
- readonly internalType: "bytes32";
301
416
  readonly name: "app_id";
302
417
  readonly type: "bytes32";
418
+ readonly internalType: "bytes32";
303
419
  }, {
304
- readonly internalType: "address";
305
420
  readonly name: "publisher";
306
421
  readonly type: "address";
422
+ readonly internalType: "address";
423
+ }, {
424
+ readonly name: "repo_id";
425
+ readonly type: "bytes32";
426
+ readonly internalType: "bytes32";
427
+ }, {
428
+ readonly name: "key_id";
429
+ readonly type: "bytes32";
430
+ readonly internalType: "bytes32";
307
431
  }];
308
- readonly name: "statusForApp";
309
- readonly outputs: readonly [{
310
- readonly internalType: "uint8";
311
- readonly name: "";
312
- readonly type: "uint8";
313
- }];
314
- readonly stateMutability: "view";
315
- readonly type: "function";
432
+ readonly outputs: readonly [];
433
+ readonly stateMutability: "nonpayable";
316
434
  }, {
435
+ readonly type: "function";
436
+ readonly name: "safeTransferFrom";
317
437
  readonly inputs: readonly [{
318
- readonly internalType: "bytes32";
319
- readonly name: "app_id";
320
- readonly type: "bytes32";
321
- }, {
438
+ readonly name: "from";
439
+ readonly type: "address";
322
440
  readonly internalType: "address";
323
- readonly name: "publisher";
441
+ }, {
442
+ readonly name: "to";
324
443
  readonly type: "address";
444
+ readonly internalType: "address";
445
+ }, {
446
+ readonly name: "tokenId";
447
+ readonly type: "uint256";
448
+ readonly internalType: "uint256";
325
449
  }];
326
- readonly name: "suspendForApp";
327
450
  readonly outputs: readonly [];
328
451
  readonly stateMutability: "nonpayable";
329
- readonly type: "function";
330
452
  }, {
453
+ readonly type: "function";
454
+ readonly name: "safeTransferFrom";
331
455
  readonly inputs: readonly [{
456
+ readonly name: "from";
457
+ readonly type: "address";
332
458
  readonly internalType: "address";
459
+ }, {
333
460
  readonly name: "to";
334
461
  readonly type: "address";
462
+ readonly internalType: "address";
335
463
  }, {
336
- readonly internalType: "uint256";
337
- readonly name: "amount";
464
+ readonly name: "tokenId";
338
465
  readonly type: "uint256";
466
+ readonly internalType: "uint256";
467
+ }, {
468
+ readonly name: "data";
469
+ readonly type: "bytes";
470
+ readonly internalType: "bytes";
339
471
  }];
340
- readonly name: "withdrawEth";
341
472
  readonly outputs: readonly [];
342
473
  readonly stateMutability: "nonpayable";
343
- readonly type: "function";
344
474
  }, {
345
- readonly anonymous: false;
475
+ readonly type: "function";
476
+ readonly name: "setAdmin";
346
477
  readonly inputs: readonly [{
347
- readonly indexed: true;
348
- readonly internalType: "bytes32";
349
- readonly name: "app_id";
350
- readonly type: "bytes32";
351
- }, {
352
- readonly indexed: true;
353
- readonly internalType: "address";
354
- readonly name: "owner";
478
+ readonly name: "new_admin";
355
479
  readonly type: "address";
480
+ readonly internalType: "address";
356
481
  }];
357
- readonly name: "AppRegistered";
358
- readonly type: "event";
482
+ readonly outputs: readonly [];
483
+ readonly stateMutability: "nonpayable";
359
484
  }, {
360
- readonly anonymous: false;
485
+ readonly type: "function";
486
+ readonly name: "setAppAgentUri";
361
487
  readonly inputs: readonly [{
362
- readonly indexed: true;
363
- readonly internalType: "bytes32";
364
488
  readonly name: "app_id";
365
489
  readonly type: "bytes32";
366
- }, {
367
- readonly indexed: false;
368
490
  readonly internalType: "bytes32";
369
- readonly name: "terms_hash";
370
- readonly type: "bytes32";
371
491
  }, {
372
- readonly indexed: false;
373
- readonly internalType: "string";
374
- readonly name: "terms_uri";
492
+ readonly name: "agent_uri";
375
493
  readonly type: "string";
494
+ readonly internalType: "string";
376
495
  }];
377
- readonly name: "AppTermsChanged";
378
- readonly type: "event";
496
+ readonly outputs: readonly [];
497
+ readonly stateMutability: "nonpayable";
379
498
  }, {
380
- readonly anonymous: false;
499
+ readonly type: "function";
500
+ readonly name: "setAppSuspended";
381
501
  readonly inputs: readonly [{
382
- readonly indexed: true;
383
- readonly internalType: "bytes32";
384
502
  readonly name: "app_id";
385
503
  readonly type: "bytes32";
504
+ readonly internalType: "bytes32";
386
505
  }, {
387
- readonly indexed: false;
388
- readonly internalType: "uint256";
389
- readonly name: "fee";
390
- readonly type: "uint256";
506
+ readonly name: "is_suspended";
507
+ readonly type: "bool";
508
+ readonly internalType: "bool";
391
509
  }];
392
- readonly name: "AppFeeChanged";
393
- readonly type: "event";
510
+ readonly outputs: readonly [];
511
+ readonly stateMutability: "nonpayable";
394
512
  }, {
395
- readonly anonymous: false;
513
+ readonly type: "function";
514
+ readonly name: "setApprovalForAll";
396
515
  readonly inputs: readonly [{
397
- readonly indexed: true;
398
- readonly internalType: "bytes32";
399
- readonly name: "app_id";
400
- readonly type: "bytes32";
401
- }, {
402
- readonly indexed: true;
403
- readonly internalType: "address";
404
- readonly name: "publisher";
516
+ readonly name: "operator";
405
517
  readonly type: "address";
518
+ readonly internalType: "address";
406
519
  }, {
407
- readonly indexed: false;
408
- readonly internalType: "bytes32";
409
- readonly name: "terms_hash";
410
- readonly type: "bytes32";
411
- }, {
412
- readonly indexed: false;
413
- readonly internalType: "uint256";
414
- readonly name: "fee";
415
- readonly type: "uint256";
520
+ readonly name: "approved";
521
+ readonly type: "bool";
522
+ readonly internalType: "bool";
416
523
  }];
417
- readonly name: "PublisherJoined";
418
- readonly type: "event";
524
+ readonly outputs: readonly [];
525
+ readonly stateMutability: "nonpayable";
419
526
  }, {
420
- readonly anonymous: false;
527
+ readonly type: "function";
528
+ readonly name: "setDataRegistry";
421
529
  readonly inputs: readonly [{
422
- readonly indexed: true;
423
- readonly internalType: "bytes32";
424
- readonly name: "app_id";
425
- readonly type: "bytes32";
426
- }, {
427
- readonly indexed: true;
428
- readonly internalType: "address";
429
- readonly name: "publisher";
530
+ readonly name: "registry";
430
531
  readonly type: "address";
532
+ readonly internalType: "address";
431
533
  }];
432
- readonly name: "PublisherSuspendedForApp";
433
- readonly type: "event";
534
+ readonly outputs: readonly [];
535
+ readonly stateMutability: "nonpayable";
434
536
  }, {
435
- readonly anonymous: false;
537
+ readonly type: "function";
538
+ readonly name: "setGlobalSuspension";
436
539
  readonly inputs: readonly [{
437
- readonly indexed: true;
438
- readonly internalType: "bytes32";
439
- readonly name: "app_id";
440
- readonly type: "bytes32";
441
- }, {
442
- readonly indexed: true;
443
- readonly internalType: "address";
444
540
  readonly name: "publisher";
445
541
  readonly type: "address";
542
+ readonly internalType: "address";
543
+ }, {
544
+ readonly name: "is_suspended";
545
+ readonly type: "bool";
546
+ readonly internalType: "bool";
446
547
  }];
447
- readonly name: "PublisherReinstatedForApp";
448
- readonly type: "event";
548
+ readonly outputs: readonly [];
549
+ readonly stateMutability: "nonpayable";
449
550
  }, {
450
- readonly anonymous: false;
551
+ readonly type: "function";
552
+ readonly name: "setPublisherSuspended";
451
553
  readonly inputs: readonly [{
452
- readonly indexed: true;
453
- readonly internalType: "bytes32";
454
554
  readonly name: "app_id";
455
555
  readonly type: "bytes32";
556
+ readonly internalType: "bytes32";
456
557
  }, {
457
- readonly indexed: false;
458
- readonly internalType: "bool";
459
- readonly name: "suspended";
558
+ readonly name: "publisher";
559
+ readonly type: "address";
560
+ readonly internalType: "address";
561
+ }, {
562
+ readonly name: "is_suspended";
460
563
  readonly type: "bool";
564
+ readonly internalType: "bool";
461
565
  }];
462
- readonly name: "AppSuspensionChanged";
463
- readonly type: "event";
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";
741
+ }];
742
+ readonly outputs: readonly [];
743
+ readonly stateMutability: "nonpayable";
744
+ }, {
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;
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
+ }];
773
+ readonly anonymous: false;
774
+ }, {
775
+ readonly type: "event";
776
+ readonly name: "AppRegistered";
777
+ readonly inputs: readonly [{
778
+ readonly name: "app_id";
779
+ readonly type: "bytes32";
780
+ readonly indexed: true;
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 [{
793
+ readonly name: "app_id";
794
+ readonly type: "bytes32";
795
+ readonly indexed: true;
796
+ readonly internalType: "bytes32";
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";
810
+ readonly indexed: true;
811
+ readonly internalType: "address";
812
+ }, {
813
+ readonly name: "approved";
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";
822
+ }];
823
+ readonly anonymous: false;
824
+ }, {
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;
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
+ }];
858
+ readonly anonymous: false;
859
+ }, {
860
+ readonly type: "event";
861
+ readonly name: "ExclusionChanged";
862
+ readonly inputs: readonly [{
863
+ readonly name: "app_id";
864
+ readonly type: "bytes32";
865
+ readonly indexed: true;
866
+ readonly internalType: "bytes32";
867
+ }, {
868
+ readonly name: "publisher";
869
+ readonly type: "address";
870
+ readonly indexed: true;
871
+ readonly internalType: "address";
872
+ }, {
873
+ readonly name: "exclusion_id";
874
+ readonly type: "bytes32";
875
+ readonly indexed: true;
876
+ readonly internalType: "bytes32";
877
+ }, {
878
+ readonly name: "repo_id";
879
+ readonly type: "bytes32";
880
+ readonly indexed: false;
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";
904
+ readonly type: "bool";
905
+ readonly indexed: false;
906
+ readonly internalType: "bool";
907
+ }];
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
+ }, {
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 [];
464
1263
  }];
465
1264
  //#endregion
466
1265
  export { APP_REGISTRY_ABI };