@towns-protocol/generated 0.0.352 → 0.0.354

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.
@@ -9,7 +9,7 @@
9
9
  "space": "0x8DdfAD0259803FA140e076C636E726573df77905",
10
10
  "spaceFactory": "0xC09Ac0FFeecAaE5100158247512DC177AeacA3e3",
11
11
  "spaceOwner": "0x0443258849016da8Af08e2984Bce8C0ef6Cfc9A0",
12
- "subscriptionModule": "0x709b0da64962b03559D5e7084a23B1a8c73C76a0",
12
+ "subscriptionModule": "0x07dd39b955F974186daFB2EDC6B4E03632E9AC75",
13
13
  "swapRouter": "0xE2CE9e11BF480a5b88ad4008915D97d35C5087d5",
14
14
  "utils": {
15
15
  "towns": "0x00000000A22C618fd6b4D7E9A335C4B96B189a38"
@@ -57,7 +57,7 @@
57
57
  "space": "0x99a177F81902fddc4785c6fc108C8F21BDB2aFe9",
58
58
  "spaceFactory": "0x968696BC59431Ef085441641f550C8e2Eaca8BEd",
59
59
  "spaceOwner": "0x9dEdb330A126C6dF2893a33018bb81aFE8573805",
60
- "subscriptionModule": "0xC4ef979B45414Ec66Cf39e220781F96B8f3EeD93",
60
+ "subscriptionModule": "0x55751fE93F4B9C5fB9E9B9328a26A6c56e4eDd41",
61
61
  "swapRouter": "0x4997CC907512275b8D7E1c682a46f17d676F4913",
62
62
  "utils": {
63
63
  "towns": "0x00000000A22C618fd6b4D7E9A335C4B96B189a38"
@@ -6,7 +6,7 @@ BASE_ADDRESSES_RIVER_AIRDROP=0x5cb1B2a6d413879a7A4A89f46e0621db04aa6430
6
6
  BASE_ADDRESSES_SPACE=0x8DdfAD0259803FA140e076C636E726573df77905
7
7
  BASE_ADDRESSES_SPACE_FACTORY=0xC09Ac0FFeecAaE5100158247512DC177AeacA3e3
8
8
  BASE_ADDRESSES_SPACE_OWNER=0x0443258849016da8Af08e2984Bce8C0ef6Cfc9A0
9
- BASE_ADDRESSES_SUBSCRIPTION_MODULE=0x709b0da64962b03559D5e7084a23B1a8c73C76a0
9
+ BASE_ADDRESSES_SUBSCRIPTION_MODULE=0x07dd39b955F974186daFB2EDC6B4E03632E9AC75
10
10
  BASE_ADDRESSES_SWAP_ROUTER=0xE2CE9e11BF480a5b88ad4008915D97d35C5087d5
11
11
  BASE_ADDRESSES_UTILS_TOWNS=0x00000000A22C618fd6b4D7E9A335C4B96B189a38
12
12
  RIVER_CHAIN_ID=6524490
@@ -6,7 +6,7 @@ VITE_BASE_ADDRESSES_RIVER_AIRDROP=0x5cb1B2a6d413879a7A4A89f46e0621db04aa6430
6
6
  VITE_BASE_ADDRESSES_SPACE=0x8DdfAD0259803FA140e076C636E726573df77905
7
7
  VITE_BASE_ADDRESSES_SPACE_FACTORY=0xC09Ac0FFeecAaE5100158247512DC177AeacA3e3
8
8
  VITE_BASE_ADDRESSES_SPACE_OWNER=0x0443258849016da8Af08e2984Bce8C0ef6Cfc9A0
9
- VITE_BASE_ADDRESSES_SUBSCRIPTION_MODULE=0x709b0da64962b03559D5e7084a23B1a8c73C76a0
9
+ VITE_BASE_ADDRESSES_SUBSCRIPTION_MODULE=0x07dd39b955F974186daFB2EDC6B4E03632E9AC75
10
10
  VITE_BASE_ADDRESSES_SWAP_ROUTER=0xE2CE9e11BF480a5b88ad4008915D97d35C5087d5
11
11
  VITE_BASE_ADDRESSES_UTILS_TOWNS=0x00000000A22C618fd6b4D7E9A335C4B96B189a38
12
12
  VITE_RIVER_CHAIN_ID=6524490
@@ -1,3 +1,3 @@
1
1
  {
2
- "address": "0x709b0da64962b03559D5e7084a23B1a8c73C76a0"
2
+ "address": "0x07dd39b955F974186daFB2EDC6B4E03632E9AC75"
3
3
  }
@@ -6,7 +6,7 @@ BASE_ADDRESSES_RIVER_AIRDROP=0x4cBE6e47819cfE720d2ac83aE094B3a1307207A9
6
6
  BASE_ADDRESSES_SPACE=0x99a177F81902fddc4785c6fc108C8F21BDB2aFe9
7
7
  BASE_ADDRESSES_SPACE_FACTORY=0x968696BC59431Ef085441641f550C8e2Eaca8BEd
8
8
  BASE_ADDRESSES_SPACE_OWNER=0x9dEdb330A126C6dF2893a33018bb81aFE8573805
9
- BASE_ADDRESSES_SUBSCRIPTION_MODULE=0xC4ef979B45414Ec66Cf39e220781F96B8f3EeD93
9
+ BASE_ADDRESSES_SUBSCRIPTION_MODULE=0x55751fE93F4B9C5fB9E9B9328a26A6c56e4eDd41
10
10
  BASE_ADDRESSES_SWAP_ROUTER=0x4997CC907512275b8D7E1c682a46f17d676F4913
11
11
  BASE_ADDRESSES_UTILS_TOWNS=0x00000000A22C618fd6b4D7E9A335C4B96B189a38
12
12
  BNB_CHAIN_ID=97
@@ -6,7 +6,7 @@ VITE_BASE_ADDRESSES_RIVER_AIRDROP=0x4cBE6e47819cfE720d2ac83aE094B3a1307207A9
6
6
  VITE_BASE_ADDRESSES_SPACE=0x99a177F81902fddc4785c6fc108C8F21BDB2aFe9
7
7
  VITE_BASE_ADDRESSES_SPACE_FACTORY=0x968696BC59431Ef085441641f550C8e2Eaca8BEd
8
8
  VITE_BASE_ADDRESSES_SPACE_OWNER=0x9dEdb330A126C6dF2893a33018bb81aFE8573805
9
- VITE_BASE_ADDRESSES_SUBSCRIPTION_MODULE=0xC4ef979B45414Ec66Cf39e220781F96B8f3EeD93
9
+ VITE_BASE_ADDRESSES_SUBSCRIPTION_MODULE=0x55751fE93F4B9C5fB9E9B9328a26A6c56e4eDd41
10
10
  VITE_BASE_ADDRESSES_SWAP_ROUTER=0x4997CC907512275b8D7E1c682a46f17d676F4913
11
11
  VITE_BASE_ADDRESSES_UTILS_TOWNS=0x00000000A22C618fd6b4D7E9A335C4B96B189a38
12
12
  VITE_BNB_CHAIN_ID=97
@@ -1,3 +1,3 @@
1
1
  {
2
- "address": "0xC4ef979B45414Ec66Cf39e220781F96B8f3EeD93"
2
+ "address": "0x55751fE93F4B9C5fB9E9B9328a26A6c56e4eDd41"
3
3
  }
@@ -1 +1 @@
1
- 9760dfaeb32d5e2ff767b8a764ef63b78fef1947
1
+ 3dc476810d45a3c272a1faa4b92992a1c286c2ce
@@ -226,6 +226,24 @@
226
226
  "outputs": [],
227
227
  "stateMutability": "nonpayable"
228
228
  },
229
+ {
230
+ "type": "function",
231
+ "name": "onUpdateApp",
232
+ "inputs": [
233
+ {
234
+ "name": "appId",
235
+ "type": "bytes32",
236
+ "internalType": "bytes32"
237
+ },
238
+ {
239
+ "name": "data",
240
+ "type": "bytes",
241
+ "internalType": "bytes"
242
+ }
243
+ ],
244
+ "outputs": [],
245
+ "stateMutability": "nonpayable"
246
+ },
229
247
  {
230
248
  "type": "event",
231
249
  "name": "ExecutionInstalled",
@@ -382,6 +400,81 @@
382
400
  ],
383
401
  "anonymous": false
384
402
  },
403
+ {
404
+ "type": "event",
405
+ "name": "ExecutionUpdated",
406
+ "inputs": [
407
+ {
408
+ "name": "module",
409
+ "type": "address",
410
+ "indexed": true,
411
+ "internalType": "address"
412
+ },
413
+ {
414
+ "name": "manifest",
415
+ "type": "tuple",
416
+ "indexed": false,
417
+ "internalType": "struct ExecutionManifest",
418
+ "components": [
419
+ {
420
+ "name": "executionFunctions",
421
+ "type": "tuple[]",
422
+ "internalType": "struct ManifestExecutionFunction[]",
423
+ "components": [
424
+ {
425
+ "name": "executionSelector",
426
+ "type": "bytes4",
427
+ "internalType": "bytes4"
428
+ },
429
+ {
430
+ "name": "skipRuntimeValidation",
431
+ "type": "bool",
432
+ "internalType": "bool"
433
+ },
434
+ {
435
+ "name": "allowGlobalValidation",
436
+ "type": "bool",
437
+ "internalType": "bool"
438
+ }
439
+ ]
440
+ },
441
+ {
442
+ "name": "executionHooks",
443
+ "type": "tuple[]",
444
+ "internalType": "struct ManifestExecutionHook[]",
445
+ "components": [
446
+ {
447
+ "name": "executionSelector",
448
+ "type": "bytes4",
449
+ "internalType": "bytes4"
450
+ },
451
+ {
452
+ "name": "entityId",
453
+ "type": "uint32",
454
+ "internalType": "uint32"
455
+ },
456
+ {
457
+ "name": "isPreHook",
458
+ "type": "bool",
459
+ "internalType": "bool"
460
+ },
461
+ {
462
+ "name": "isPostHook",
463
+ "type": "bool",
464
+ "internalType": "bool"
465
+ }
466
+ ]
467
+ },
468
+ {
469
+ "name": "interfaceIds",
470
+ "type": "bytes4[]",
471
+ "internalType": "bytes4[]"
472
+ }
473
+ ]
474
+ }
475
+ ],
476
+ "anonymous": false
477
+ },
385
478
  {
386
479
  "type": "error",
387
480
  "name": "AppAlreadyInstalled",
@@ -226,6 +226,24 @@ export default [
226
226
  "outputs": [],
227
227
  "stateMutability": "nonpayable"
228
228
  },
229
+ {
230
+ "type": "function",
231
+ "name": "onUpdateApp",
232
+ "inputs": [
233
+ {
234
+ "name": "appId",
235
+ "type": "bytes32",
236
+ "internalType": "bytes32"
237
+ },
238
+ {
239
+ "name": "data",
240
+ "type": "bytes",
241
+ "internalType": "bytes"
242
+ }
243
+ ],
244
+ "outputs": [],
245
+ "stateMutability": "nonpayable"
246
+ },
229
247
  {
230
248
  "type": "event",
231
249
  "name": "ExecutionInstalled",
@@ -382,6 +400,81 @@ export default [
382
400
  ],
383
401
  "anonymous": false
384
402
  },
403
+ {
404
+ "type": "event",
405
+ "name": "ExecutionUpdated",
406
+ "inputs": [
407
+ {
408
+ "name": "module",
409
+ "type": "address",
410
+ "indexed": true,
411
+ "internalType": "address"
412
+ },
413
+ {
414
+ "name": "manifest",
415
+ "type": "tuple",
416
+ "indexed": false,
417
+ "internalType": "struct ExecutionManifest",
418
+ "components": [
419
+ {
420
+ "name": "executionFunctions",
421
+ "type": "tuple[]",
422
+ "internalType": "struct ManifestExecutionFunction[]",
423
+ "components": [
424
+ {
425
+ "name": "executionSelector",
426
+ "type": "bytes4",
427
+ "internalType": "bytes4"
428
+ },
429
+ {
430
+ "name": "skipRuntimeValidation",
431
+ "type": "bool",
432
+ "internalType": "bool"
433
+ },
434
+ {
435
+ "name": "allowGlobalValidation",
436
+ "type": "bool",
437
+ "internalType": "bool"
438
+ }
439
+ ]
440
+ },
441
+ {
442
+ "name": "executionHooks",
443
+ "type": "tuple[]",
444
+ "internalType": "struct ManifestExecutionHook[]",
445
+ "components": [
446
+ {
447
+ "name": "executionSelector",
448
+ "type": "bytes4",
449
+ "internalType": "bytes4"
450
+ },
451
+ {
452
+ "name": "entityId",
453
+ "type": "uint32",
454
+ "internalType": "uint32"
455
+ },
456
+ {
457
+ "name": "isPreHook",
458
+ "type": "bool",
459
+ "internalType": "bool"
460
+ },
461
+ {
462
+ "name": "isPostHook",
463
+ "type": "bool",
464
+ "internalType": "bool"
465
+ }
466
+ ]
467
+ },
468
+ {
469
+ "name": "interfaceIds",
470
+ "type": "bytes4[]",
471
+ "internalType": "bytes4[]"
472
+ }
473
+ ]
474
+ }
475
+ ],
476
+ "anonymous": false
477
+ },
385
478
  {
386
479
  "type": "error",
387
480
  "name": "AppAlreadyInstalled",
@@ -155,6 +155,81 @@
155
155
  ],
156
156
  "anonymous": false
157
157
  },
158
+ {
159
+ "type": "event",
160
+ "name": "ExecutionUpdated",
161
+ "inputs": [
162
+ {
163
+ "name": "module",
164
+ "type": "address",
165
+ "indexed": true,
166
+ "internalType": "address"
167
+ },
168
+ {
169
+ "name": "manifest",
170
+ "type": "tuple",
171
+ "indexed": false,
172
+ "internalType": "struct ExecutionManifest",
173
+ "components": [
174
+ {
175
+ "name": "executionFunctions",
176
+ "type": "tuple[]",
177
+ "internalType": "struct ManifestExecutionFunction[]",
178
+ "components": [
179
+ {
180
+ "name": "executionSelector",
181
+ "type": "bytes4",
182
+ "internalType": "bytes4"
183
+ },
184
+ {
185
+ "name": "skipRuntimeValidation",
186
+ "type": "bool",
187
+ "internalType": "bool"
188
+ },
189
+ {
190
+ "name": "allowGlobalValidation",
191
+ "type": "bool",
192
+ "internalType": "bool"
193
+ }
194
+ ]
195
+ },
196
+ {
197
+ "name": "executionHooks",
198
+ "type": "tuple[]",
199
+ "internalType": "struct ManifestExecutionHook[]",
200
+ "components": [
201
+ {
202
+ "name": "executionSelector",
203
+ "type": "bytes4",
204
+ "internalType": "bytes4"
205
+ },
206
+ {
207
+ "name": "entityId",
208
+ "type": "uint32",
209
+ "internalType": "uint32"
210
+ },
211
+ {
212
+ "name": "isPreHook",
213
+ "type": "bool",
214
+ "internalType": "bool"
215
+ },
216
+ {
217
+ "name": "isPostHook",
218
+ "type": "bool",
219
+ "internalType": "bool"
220
+ }
221
+ ]
222
+ },
223
+ {
224
+ "name": "interfaceIds",
225
+ "type": "bytes4[]",
226
+ "internalType": "bytes4[]"
227
+ }
228
+ ]
229
+ }
230
+ ],
231
+ "anonymous": false
232
+ },
158
233
  {
159
234
  "type": "error",
160
235
  "name": "AppAlreadyInstalled",
@@ -155,6 +155,81 @@ export default [
155
155
  ],
156
156
  "anonymous": false
157
157
  },
158
+ {
159
+ "type": "event",
160
+ "name": "ExecutionUpdated",
161
+ "inputs": [
162
+ {
163
+ "name": "module",
164
+ "type": "address",
165
+ "indexed": true,
166
+ "internalType": "address"
167
+ },
168
+ {
169
+ "name": "manifest",
170
+ "type": "tuple",
171
+ "indexed": false,
172
+ "internalType": "struct ExecutionManifest",
173
+ "components": [
174
+ {
175
+ "name": "executionFunctions",
176
+ "type": "tuple[]",
177
+ "internalType": "struct ManifestExecutionFunction[]",
178
+ "components": [
179
+ {
180
+ "name": "executionSelector",
181
+ "type": "bytes4",
182
+ "internalType": "bytes4"
183
+ },
184
+ {
185
+ "name": "skipRuntimeValidation",
186
+ "type": "bool",
187
+ "internalType": "bool"
188
+ },
189
+ {
190
+ "name": "allowGlobalValidation",
191
+ "type": "bool",
192
+ "internalType": "bool"
193
+ }
194
+ ]
195
+ },
196
+ {
197
+ "name": "executionHooks",
198
+ "type": "tuple[]",
199
+ "internalType": "struct ManifestExecutionHook[]",
200
+ "components": [
201
+ {
202
+ "name": "executionSelector",
203
+ "type": "bytes4",
204
+ "internalType": "bytes4"
205
+ },
206
+ {
207
+ "name": "entityId",
208
+ "type": "uint32",
209
+ "internalType": "uint32"
210
+ },
211
+ {
212
+ "name": "isPreHook",
213
+ "type": "bool",
214
+ "internalType": "bool"
215
+ },
216
+ {
217
+ "name": "isPostHook",
218
+ "type": "bool",
219
+ "internalType": "bool"
220
+ }
221
+ ]
222
+ },
223
+ {
224
+ "name": "interfaceIds",
225
+ "type": "bytes4[]",
226
+ "internalType": "bytes4[]"
227
+ }
228
+ ]
229
+ }
230
+ ],
231
+ "anonymous": false
232
+ },
158
233
  {
159
234
  "type": "error",
160
235
  "name": "AppAlreadyInstalled",
@@ -620,6 +620,56 @@
620
620
  ],
621
621
  "anonymous": false
622
622
  },
623
+ {
624
+ "type": "event",
625
+ "name": "AppUpdated",
626
+ "inputs": [
627
+ {
628
+ "name": "app",
629
+ "type": "address",
630
+ "indexed": true,
631
+ "internalType": "address"
632
+ },
633
+ {
634
+ "name": "account",
635
+ "type": "address",
636
+ "indexed": true,
637
+ "internalType": "address"
638
+ },
639
+ {
640
+ "name": "appId",
641
+ "type": "bytes32",
642
+ "indexed": true,
643
+ "internalType": "bytes32"
644
+ }
645
+ ],
646
+ "anonymous": false
647
+ },
648
+ {
649
+ "type": "event",
650
+ "name": "AppUpgraded",
651
+ "inputs": [
652
+ {
653
+ "name": "app",
654
+ "type": "address",
655
+ "indexed": true,
656
+ "internalType": "address"
657
+ },
658
+ {
659
+ "name": "oldVersionId",
660
+ "type": "bytes32",
661
+ "indexed": true,
662
+ "internalType": "bytes32"
663
+ },
664
+ {
665
+ "name": "newVersionId",
666
+ "type": "bytes32",
667
+ "indexed": true,
668
+ "internalType": "bytes32"
669
+ }
670
+ ],
671
+ "anonymous": false
672
+ },
623
673
  {
624
674
  "type": "error",
625
675
  "name": "AppAlreadyRegistered",
@@ -655,6 +705,11 @@
655
705
  "name": "ClientAlreadyRegistered",
656
706
  "inputs": []
657
707
  },
708
+ {
709
+ "type": "error",
710
+ "name": "ClientNotRegistered",
711
+ "inputs": []
712
+ },
658
713
  {
659
714
  "type": "error",
660
715
  "name": "InsufficientPayment",
@@ -620,6 +620,56 @@ export default [
620
620
  ],
621
621
  "anonymous": false
622
622
  },
623
+ {
624
+ "type": "event",
625
+ "name": "AppUpdated",
626
+ "inputs": [
627
+ {
628
+ "name": "app",
629
+ "type": "address",
630
+ "indexed": true,
631
+ "internalType": "address"
632
+ },
633
+ {
634
+ "name": "account",
635
+ "type": "address",
636
+ "indexed": true,
637
+ "internalType": "address"
638
+ },
639
+ {
640
+ "name": "appId",
641
+ "type": "bytes32",
642
+ "indexed": true,
643
+ "internalType": "bytes32"
644
+ }
645
+ ],
646
+ "anonymous": false
647
+ },
648
+ {
649
+ "type": "event",
650
+ "name": "AppUpgraded",
651
+ "inputs": [
652
+ {
653
+ "name": "app",
654
+ "type": "address",
655
+ "indexed": true,
656
+ "internalType": "address"
657
+ },
658
+ {
659
+ "name": "oldVersionId",
660
+ "type": "bytes32",
661
+ "indexed": true,
662
+ "internalType": "bytes32"
663
+ },
664
+ {
665
+ "name": "newVersionId",
666
+ "type": "bytes32",
667
+ "indexed": true,
668
+ "internalType": "bytes32"
669
+ }
670
+ ],
671
+ "anonymous": false
672
+ },
623
673
  {
624
674
  "type": "error",
625
675
  "name": "AppAlreadyRegistered",
@@ -655,6 +705,11 @@ export default [
655
705
  "name": "ClientAlreadyRegistered",
656
706
  "inputs": []
657
707
  },
708
+ {
709
+ "type": "error",
710
+ "name": "ClientNotRegistered",
711
+ "inputs": []
712
+ },
658
713
  {
659
714
  "type": "error",
660
715
  "name": "InsufficientPayment",
@@ -182,6 +182,56 @@
182
182
  ],
183
183
  "anonymous": false
184
184
  },
185
+ {
186
+ "type": "event",
187
+ "name": "AppUpdated",
188
+ "inputs": [
189
+ {
190
+ "name": "app",
191
+ "type": "address",
192
+ "indexed": true,
193
+ "internalType": "address"
194
+ },
195
+ {
196
+ "name": "account",
197
+ "type": "address",
198
+ "indexed": true,
199
+ "internalType": "address"
200
+ },
201
+ {
202
+ "name": "appId",
203
+ "type": "bytes32",
204
+ "indexed": true,
205
+ "internalType": "bytes32"
206
+ }
207
+ ],
208
+ "anonymous": false
209
+ },
210
+ {
211
+ "type": "event",
212
+ "name": "AppUpgraded",
213
+ "inputs": [
214
+ {
215
+ "name": "app",
216
+ "type": "address",
217
+ "indexed": true,
218
+ "internalType": "address"
219
+ },
220
+ {
221
+ "name": "oldVersionId",
222
+ "type": "bytes32",
223
+ "indexed": true,
224
+ "internalType": "bytes32"
225
+ },
226
+ {
227
+ "name": "newVersionId",
228
+ "type": "bytes32",
229
+ "indexed": true,
230
+ "internalType": "bytes32"
231
+ }
232
+ ],
233
+ "anonymous": false
234
+ },
185
235
  {
186
236
  "type": "error",
187
237
  "name": "AppAlreadyRegistered",
@@ -217,6 +267,11 @@
217
267
  "name": "ClientAlreadyRegistered",
218
268
  "inputs": []
219
269
  },
270
+ {
271
+ "type": "error",
272
+ "name": "ClientNotRegistered",
273
+ "inputs": []
274
+ },
220
275
  {
221
276
  "type": "error",
222
277
  "name": "InsufficientPayment",