@towns-protocol/generated 0.0.355 → 0.0.356

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.
@@ -1 +1 @@
1
- 5176d0270948f5d2ecb7b12f612b5acf4003ae50
1
+ 3eec70e39ff0b8e7df4740ab8dbe46a7b202cabc
@@ -437,6 +437,53 @@
437
437
  "outputs": [],
438
438
  "stateMutability": "nonpayable"
439
439
  },
440
+ {
441
+ "type": "function",
442
+ "name": "updateApp",
443
+ "inputs": [
444
+ {
445
+ "name": "app",
446
+ "type": "address",
447
+ "internalType": "contract ITownsApp"
448
+ },
449
+ {
450
+ "name": "account",
451
+ "type": "address",
452
+ "internalType": "contract IAppAccount"
453
+ }
454
+ ],
455
+ "outputs": [],
456
+ "stateMutability": "nonpayable"
457
+ },
458
+ {
459
+ "type": "function",
460
+ "name": "upgradeApp",
461
+ "inputs": [
462
+ {
463
+ "name": "app",
464
+ "type": "address",
465
+ "internalType": "contract ITownsApp"
466
+ },
467
+ {
468
+ "name": "client",
469
+ "type": "address",
470
+ "internalType": "address"
471
+ },
472
+ {
473
+ "name": "appId",
474
+ "type": "bytes32",
475
+ "internalType": "bytes32"
476
+ }
477
+ ],
478
+ "outputs": [
479
+ {
480
+ "name": "",
481
+ "type": "bytes32",
482
+ "internalType": "bytes32"
483
+ }
484
+ ],
485
+ "stateMutability": "payable"
486
+ },
440
487
  {
441
488
  "type": "event",
442
489
  "name": "AppBanned",
@@ -437,6 +437,53 @@ export default [
437
437
  "outputs": [],
438
438
  "stateMutability": "nonpayable"
439
439
  },
440
+ {
441
+ "type": "function",
442
+ "name": "updateApp",
443
+ "inputs": [
444
+ {
445
+ "name": "app",
446
+ "type": "address",
447
+ "internalType": "contract ITownsApp"
448
+ },
449
+ {
450
+ "name": "account",
451
+ "type": "address",
452
+ "internalType": "contract IAppAccount"
453
+ }
454
+ ],
455
+ "outputs": [],
456
+ "stateMutability": "nonpayable"
457
+ },
458
+ {
459
+ "type": "function",
460
+ "name": "upgradeApp",
461
+ "inputs": [
462
+ {
463
+ "name": "app",
464
+ "type": "address",
465
+ "internalType": "contract ITownsApp"
466
+ },
467
+ {
468
+ "name": "client",
469
+ "type": "address",
470
+ "internalType": "address"
471
+ },
472
+ {
473
+ "name": "appId",
474
+ "type": "bytes32",
475
+ "internalType": "bytes32"
476
+ }
477
+ ],
478
+ "outputs": [
479
+ {
480
+ "name": "",
481
+ "type": "bytes32",
482
+ "internalType": "bytes32"
483
+ }
484
+ ],
485
+ "stateMutability": "payable"
486
+ },
440
487
  {
441
488
  "type": "event",
442
489
  "name": "AppBanned",
@@ -149,6 +149,8 @@ export interface IAppRegistryInterface extends utils.Interface {
149
149
  "removeApp(bytes32)": FunctionFragment;
150
150
  "renewApp(address,address,bytes)": FunctionFragment;
151
151
  "uninstallApp(address,address,bytes)": FunctionFragment;
152
+ "updateApp(address,address)": FunctionFragment;
153
+ "upgradeApp(address,address,bytes32)": FunctionFragment;
152
154
  };
153
155
 
154
156
  getFunction(
@@ -169,6 +171,8 @@ export interface IAppRegistryInterface extends utils.Interface {
169
171
  | "removeApp"
170
172
  | "renewApp"
171
173
  | "uninstallApp"
174
+ | "updateApp"
175
+ | "upgradeApp"
172
176
  ): FunctionFragment;
173
177
 
174
178
  encodeFunctionData(
@@ -251,6 +255,18 @@ export interface IAppRegistryInterface extends utils.Interface {
251
255
  PromiseOrValue<BytesLike>
252
256
  ]
253
257
  ): string;
258
+ encodeFunctionData(
259
+ functionFragment: "updateApp",
260
+ values: [PromiseOrValue<string>, PromiseOrValue<string>]
261
+ ): string;
262
+ encodeFunctionData(
263
+ functionFragment: "upgradeApp",
264
+ values: [
265
+ PromiseOrValue<string>,
266
+ PromiseOrValue<string>,
267
+ PromiseOrValue<BytesLike>
268
+ ]
269
+ ): string;
254
270
 
255
271
  decodeFunctionResult(
256
272
  functionFragment: "adminBanApp",
@@ -301,6 +317,8 @@ export interface IAppRegistryInterface extends utils.Interface {
301
317
  functionFragment: "uninstallApp",
302
318
  data: BytesLike
303
319
  ): Result;
320
+ decodeFunctionResult(functionFragment: "updateApp", data: BytesLike): Result;
321
+ decodeFunctionResult(functionFragment: "upgradeApp", data: BytesLike): Result;
304
322
 
305
323
  events: {
306
324
  "AppBanned(address,bytes32)": EventFragment;
@@ -563,6 +581,19 @@ export interface IAppRegistry extends BaseContract {
563
581
  data: PromiseOrValue<BytesLike>,
564
582
  overrides?: Overrides & { from?: PromiseOrValue<string> }
565
583
  ): Promise<ContractTransaction>;
584
+
585
+ updateApp(
586
+ app: PromiseOrValue<string>,
587
+ account: PromiseOrValue<string>,
588
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
589
+ ): Promise<ContractTransaction>;
590
+
591
+ upgradeApp(
592
+ app: PromiseOrValue<string>,
593
+ client: PromiseOrValue<string>,
594
+ appId: PromiseOrValue<BytesLike>,
595
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
596
+ ): Promise<ContractTransaction>;
566
597
  };
567
598
 
568
599
  adminBanApp(
@@ -648,6 +679,19 @@ export interface IAppRegistry extends BaseContract {
648
679
  overrides?: Overrides & { from?: PromiseOrValue<string> }
649
680
  ): Promise<ContractTransaction>;
650
681
 
682
+ updateApp(
683
+ app: PromiseOrValue<string>,
684
+ account: PromiseOrValue<string>,
685
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
686
+ ): Promise<ContractTransaction>;
687
+
688
+ upgradeApp(
689
+ app: PromiseOrValue<string>,
690
+ client: PromiseOrValue<string>,
691
+ appId: PromiseOrValue<BytesLike>,
692
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
693
+ ): Promise<ContractTransaction>;
694
+
651
695
  callStatic: {
652
696
  adminBanApp(
653
697
  app: PromiseOrValue<string>,
@@ -731,6 +775,19 @@ export interface IAppRegistry extends BaseContract {
731
775
  data: PromiseOrValue<BytesLike>,
732
776
  overrides?: CallOverrides
733
777
  ): Promise<void>;
778
+
779
+ updateApp(
780
+ app: PromiseOrValue<string>,
781
+ account: PromiseOrValue<string>,
782
+ overrides?: CallOverrides
783
+ ): Promise<void>;
784
+
785
+ upgradeApp(
786
+ app: PromiseOrValue<string>,
787
+ client: PromiseOrValue<string>,
788
+ appId: PromiseOrValue<BytesLike>,
789
+ overrides?: CallOverrides
790
+ ): Promise<string>;
734
791
  };
735
792
 
736
793
  filters: {
@@ -911,6 +968,19 @@ export interface IAppRegistry extends BaseContract {
911
968
  data: PromiseOrValue<BytesLike>,
912
969
  overrides?: Overrides & { from?: PromiseOrValue<string> }
913
970
  ): Promise<BigNumber>;
971
+
972
+ updateApp(
973
+ app: PromiseOrValue<string>,
974
+ account: PromiseOrValue<string>,
975
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
976
+ ): Promise<BigNumber>;
977
+
978
+ upgradeApp(
979
+ app: PromiseOrValue<string>,
980
+ client: PromiseOrValue<string>,
981
+ appId: PromiseOrValue<BytesLike>,
982
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
983
+ ): Promise<BigNumber>;
914
984
  };
915
985
 
916
986
  populateTransaction: {
@@ -996,5 +1066,18 @@ export interface IAppRegistry extends BaseContract {
996
1066
  data: PromiseOrValue<BytesLike>,
997
1067
  overrides?: Overrides & { from?: PromiseOrValue<string> }
998
1068
  ): Promise<PopulatedTransaction>;
1069
+
1070
+ updateApp(
1071
+ app: PromiseOrValue<string>,
1072
+ account: PromiseOrValue<string>,
1073
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
1074
+ ): Promise<PopulatedTransaction>;
1075
+
1076
+ upgradeApp(
1077
+ app: PromiseOrValue<string>,
1078
+ client: PromiseOrValue<string>,
1079
+ appId: PromiseOrValue<BytesLike>,
1080
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
1081
+ ): Promise<PopulatedTransaction>;
999
1082
  };
1000
1083
  }
@@ -445,6 +445,53 @@ const _abi = [
445
445
  outputs: [],
446
446
  stateMutability: "nonpayable",
447
447
  },
448
+ {
449
+ type: "function",
450
+ name: "updateApp",
451
+ inputs: [
452
+ {
453
+ name: "app",
454
+ type: "address",
455
+ internalType: "contract ITownsApp",
456
+ },
457
+ {
458
+ name: "account",
459
+ type: "address",
460
+ internalType: "contract IAppAccount",
461
+ },
462
+ ],
463
+ outputs: [],
464
+ stateMutability: "nonpayable",
465
+ },
466
+ {
467
+ type: "function",
468
+ name: "upgradeApp",
469
+ inputs: [
470
+ {
471
+ name: "app",
472
+ type: "address",
473
+ internalType: "contract ITownsApp",
474
+ },
475
+ {
476
+ name: "client",
477
+ type: "address",
478
+ internalType: "address",
479
+ },
480
+ {
481
+ name: "appId",
482
+ type: "bytes32",
483
+ internalType: "bytes32",
484
+ },
485
+ ],
486
+ outputs: [
487
+ {
488
+ name: "",
489
+ type: "bytes32",
490
+ internalType: "bytes32",
491
+ },
492
+ ],
493
+ stateMutability: "payable",
494
+ },
448
495
  {
449
496
  type: "event",
450
497
  name: "AppBanned",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@towns-protocol/generated",
3
- "version": "0.0.355",
3
+ "version": "0.0.356",
4
4
  "packageManager": "yarn@3.8.0",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -9,7 +9,7 @@
9
9
  "prepare": "node ./scripts/prepare.js"
10
10
  },
11
11
  "devDependencies": {
12
- "@towns-protocol/contracts": "^0.0.355"
12
+ "@towns-protocol/contracts": "^0.0.356"
13
13
  },
14
14
  "files": [
15
15
  "config/**/*",
@@ -28,5 +28,5 @@
28
28
  "publishConfig": {
29
29
  "access": "public"
30
30
  },
31
- "gitHead": "f0192ebd59ae6a99003a0753d1821713e2407bc5"
31
+ "gitHead": "c3283b1d3e158931ffaca0c745e36e76795965e1"
32
32
  }