@gitmyabi/kernel 1.0.15 → 1.0.16

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.
package/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Auto-generated TypeScript type bindings for **Kernel**
4
4
 
5
- - **Build ID**: `etherscan-kernel-d9caa86c-1792920606325`
5
+ - **Build ID**: `etherscan-kernel-6e9bde3e-1793293357478`
6
6
  - **Build Number**: 1
7
- - **Commit**: `6dd70b0`
7
+ - **Commit**: `c335a5f`
8
8
  - **Branch**: `etherscan`
9
9
  - **Target**: `ethers-v6`
10
10
  - **Contracts**: 1
@@ -12,7 +12,7 @@ Auto-generated TypeScript type bindings for **Kernel**
12
12
  ## Installation
13
13
 
14
14
  ```bash
15
- npm install @gitmyabi/kernel@1.0.15
15
+ npm install @gitmyabi/kernel@1.0.16
16
16
  ```
17
17
 
18
18
  ## Usage
@@ -63,14 +63,6 @@ export declare const Kernel_jsonAbi: readonly [{
63
63
  readonly inputs: readonly [];
64
64
  readonly name: "ExecutionReverted";
65
65
  readonly type: "error";
66
- }, {
67
- readonly inputs: readonly [{
68
- readonly internalType: "uint256";
69
- readonly name: "idx";
70
- readonly type: "uint256";
71
- }];
72
- readonly name: "InitConfigError";
73
- readonly type: "error";
74
66
  }, {
75
67
  readonly inputs: readonly [];
76
68
  readonly name: "InvalidCallType";
@@ -351,28 +343,6 @@ export declare const Kernel_jsonAbi: readonly [{
351
343
  }];
352
344
  readonly stateMutability: "pure";
353
345
  readonly type: "function";
354
- }, {
355
- readonly inputs: readonly [{
356
- readonly internalType: "ValidationId";
357
- readonly name: "_rootValidator";
358
- readonly type: "bytes21";
359
- }, {
360
- readonly internalType: "contract IHook";
361
- readonly name: "hook";
362
- readonly type: "address";
363
- }, {
364
- readonly internalType: "bytes";
365
- readonly name: "validatorData";
366
- readonly type: "bytes";
367
- }, {
368
- readonly internalType: "bytes";
369
- readonly name: "hookData";
370
- readonly type: "bytes";
371
- }];
372
- readonly name: "changeRootValidator";
373
- readonly outputs: readonly [];
374
- readonly stateMutability: "payable";
375
- readonly type: "function";
376
346
  }, {
377
347
  readonly inputs: readonly [];
378
348
  readonly name: "currentNonce";
@@ -546,10 +516,6 @@ export declare const Kernel_jsonAbi: readonly [{
546
516
  readonly internalType: "bytes";
547
517
  readonly name: "hookData";
548
518
  readonly type: "bytes";
549
- }, {
550
- readonly internalType: "bytes[]";
551
- readonly name: "initConfig";
552
- readonly type: "bytes[]";
553
519
  }];
554
520
  readonly name: "initialize";
555
521
  readonly outputs: readonly [];
@@ -672,92 +638,6 @@ export declare const Kernel_jsonAbi: readonly [{
672
638
  }];
673
639
  readonly stateMutability: "view";
674
640
  readonly type: "function";
675
- }, {
676
- readonly inputs: readonly [{
677
- readonly internalType: "address";
678
- readonly name: "";
679
- readonly type: "address";
680
- }, {
681
- readonly internalType: "address";
682
- readonly name: "";
683
- readonly type: "address";
684
- }, {
685
- readonly internalType: "uint256[]";
686
- readonly name: "";
687
- readonly type: "uint256[]";
688
- }, {
689
- readonly internalType: "uint256[]";
690
- readonly name: "";
691
- readonly type: "uint256[]";
692
- }, {
693
- readonly internalType: "bytes";
694
- readonly name: "";
695
- readonly type: "bytes";
696
- }];
697
- readonly name: "onERC1155BatchReceived";
698
- readonly outputs: readonly [{
699
- readonly internalType: "bytes4";
700
- readonly name: "";
701
- readonly type: "bytes4";
702
- }];
703
- readonly stateMutability: "pure";
704
- readonly type: "function";
705
- }, {
706
- readonly inputs: readonly [{
707
- readonly internalType: "address";
708
- readonly name: "";
709
- readonly type: "address";
710
- }, {
711
- readonly internalType: "address";
712
- readonly name: "";
713
- readonly type: "address";
714
- }, {
715
- readonly internalType: "uint256";
716
- readonly name: "";
717
- readonly type: "uint256";
718
- }, {
719
- readonly internalType: "uint256";
720
- readonly name: "";
721
- readonly type: "uint256";
722
- }, {
723
- readonly internalType: "bytes";
724
- readonly name: "";
725
- readonly type: "bytes";
726
- }];
727
- readonly name: "onERC1155Received";
728
- readonly outputs: readonly [{
729
- readonly internalType: "bytes4";
730
- readonly name: "";
731
- readonly type: "bytes4";
732
- }];
733
- readonly stateMutability: "pure";
734
- readonly type: "function";
735
- }, {
736
- readonly inputs: readonly [{
737
- readonly internalType: "address";
738
- readonly name: "";
739
- readonly type: "address";
740
- }, {
741
- readonly internalType: "address";
742
- readonly name: "";
743
- readonly type: "address";
744
- }, {
745
- readonly internalType: "uint256";
746
- readonly name: "";
747
- readonly type: "uint256";
748
- }, {
749
- readonly internalType: "bytes";
750
- readonly name: "";
751
- readonly type: "bytes";
752
- }];
753
- readonly name: "onERC721Received";
754
- readonly outputs: readonly [{
755
- readonly internalType: "bytes4";
756
- readonly name: "";
757
- readonly type: "bytes4";
758
- }];
759
- readonly stateMutability: "pure";
760
- readonly type: "function";
761
641
  }, {
762
642
  readonly inputs: readonly [{
763
643
  readonly internalType: "PermissionId";
@@ -1088,21 +968,6 @@ export declare class Kernel_json {
1088
968
  * view
1089
969
  */
1090
970
  isValidSignature(hash: `0x${string}`, signature: `0x${string}`): Promise<`0x${string}`>;
1091
- /**
1092
- * onERC1155BatchReceived
1093
- * pure
1094
- */
1095
- onERC1155BatchReceived(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint[], arg3: bigint[], arg4: `0x${string}`): Promise<`0x${string}`>;
1096
- /**
1097
- * onERC1155Received
1098
- * pure
1099
- */
1100
- onERC1155Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: bigint, arg4: `0x${string}`): Promise<`0x${string}`>;
1101
- /**
1102
- * onERC721Received
1103
- * pure
1104
- */
1105
- onERC721Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: `0x${string}`): Promise<`0x${string}`>;
1106
971
  /**
1107
972
  * permissionConfig
1108
973
  * view
@@ -1138,23 +1003,6 @@ export declare class Kernel_json {
1138
1003
  * view
1139
1004
  */
1140
1005
  validationConfig(vId: `0x${string}`): Promise<ValidationManager_ValidationConfig>;
1141
- /**
1142
- * changeRootValidator
1143
- * payable
1144
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1145
- */
1146
- changeRootValidator(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, options?: {
1147
- accessList?: import('viem').AccessList;
1148
- authorizationList?: import('viem').AuthorizationList;
1149
- chain?: import('viem').Chain | null;
1150
- dataSuffix?: `0x${string}`;
1151
- gas?: bigint;
1152
- gasPrice?: bigint;
1153
- maxFeePerGas?: bigint;
1154
- maxPriorityFeePerGas?: bigint;
1155
- nonce?: number;
1156
- value?: bigint;
1157
- }): Promise<`0x${string}`>;
1158
1006
  /**
1159
1007
  * execute
1160
1008
  * payable
@@ -1211,7 +1059,7 @@ export declare class Kernel_json {
1211
1059
  * nonpayable
1212
1060
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1213
1061
  */
1214
- initialize(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, initConfig: `0x${string}`[], options?: {
1062
+ initialize(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, options?: {
1215
1063
  accessList?: import('viem').AccessList;
1216
1064
  authorizationList?: import('viem').AuthorizationList;
1217
1065
  chain?: import('viem').Chain | null;
@@ -1351,23 +1199,6 @@ export declare class Kernel_json {
1351
1199
  * console.log('Would succeed:', result.result);
1352
1200
  */
1353
1201
  get simulate(): {
1354
- /**
1355
- * Simulate changeRootValidator
1356
- * Returns gas estimate and result without sending transaction
1357
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1358
- */
1359
- changeRootValidator(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, options?: {
1360
- accessList?: import("viem").AccessList;
1361
- authorizationList?: import("viem").AuthorizationList;
1362
- chain?: import("viem").Chain | null;
1363
- dataSuffix?: `0x${string}`;
1364
- gas?: bigint;
1365
- gasPrice?: bigint;
1366
- maxFeePerGas?: bigint;
1367
- maxPriorityFeePerGas?: bigint;
1368
- nonce?: number;
1369
- value?: bigint;
1370
- }): Promise<void>;
1371
1202
  /**
1372
1203
  * Simulate execute
1373
1204
  * Returns gas estimate and result without sending transaction
@@ -1424,7 +1255,7 @@ export declare class Kernel_json {
1424
1255
  * Returns gas estimate and result without sending transaction
1425
1256
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1426
1257
  */
1427
- initialize(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, initConfig: `0x${string}`[], options?: {
1258
+ initialize(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, options?: {
1428
1259
  accessList?: import("viem").AccessList;
1429
1260
  authorizationList?: import("viem").AuthorizationList;
1430
1261
  chain?: import("viem").Chain | null;
@@ -29,17 +29,6 @@ exports.Kernel_jsonAbi = [
29
29
  "name": "ExecutionReverted",
30
30
  "type": "error"
31
31
  },
32
- {
33
- "inputs": [
34
- {
35
- "internalType": "uint256",
36
- "name": "idx",
37
- "type": "uint256"
38
- }
39
- ],
40
- "name": "InitConfigError",
41
- "type": "error"
42
- },
43
32
  {
44
33
  "inputs": [],
45
34
  "name": "InvalidCallType",
@@ -396,34 +385,6 @@ exports.Kernel_jsonAbi = [
396
385
  "stateMutability": "pure",
397
386
  "type": "function"
398
387
  },
399
- {
400
- "inputs": [
401
- {
402
- "internalType": "ValidationId",
403
- "name": "_rootValidator",
404
- "type": "bytes21"
405
- },
406
- {
407
- "internalType": "contract IHook",
408
- "name": "hook",
409
- "type": "address"
410
- },
411
- {
412
- "internalType": "bytes",
413
- "name": "validatorData",
414
- "type": "bytes"
415
- },
416
- {
417
- "internalType": "bytes",
418
- "name": "hookData",
419
- "type": "bytes"
420
- }
421
- ],
422
- "name": "changeRootValidator",
423
- "outputs": [],
424
- "stateMutability": "payable",
425
- "type": "function"
426
- },
427
388
  {
428
389
  "inputs": [],
429
390
  "name": "currentNonce",
@@ -647,11 +608,6 @@ exports.Kernel_jsonAbi = [
647
608
  "internalType": "bytes",
648
609
  "name": "hookData",
649
610
  "type": "bytes"
650
- },
651
- {
652
- "internalType": "bytes[]",
653
- "name": "initConfig",
654
- "type": "bytes[]"
655
611
  }
656
612
  ],
657
613
  "name": "initialize",
@@ -812,118 +768,6 @@ exports.Kernel_jsonAbi = [
812
768
  "stateMutability": "view",
813
769
  "type": "function"
814
770
  },
815
- {
816
- "inputs": [
817
- {
818
- "internalType": "address",
819
- "name": "",
820
- "type": "address"
821
- },
822
- {
823
- "internalType": "address",
824
- "name": "",
825
- "type": "address"
826
- },
827
- {
828
- "internalType": "uint256[]",
829
- "name": "",
830
- "type": "uint256[]"
831
- },
832
- {
833
- "internalType": "uint256[]",
834
- "name": "",
835
- "type": "uint256[]"
836
- },
837
- {
838
- "internalType": "bytes",
839
- "name": "",
840
- "type": "bytes"
841
- }
842
- ],
843
- "name": "onERC1155BatchReceived",
844
- "outputs": [
845
- {
846
- "internalType": "bytes4",
847
- "name": "",
848
- "type": "bytes4"
849
- }
850
- ],
851
- "stateMutability": "pure",
852
- "type": "function"
853
- },
854
- {
855
- "inputs": [
856
- {
857
- "internalType": "address",
858
- "name": "",
859
- "type": "address"
860
- },
861
- {
862
- "internalType": "address",
863
- "name": "",
864
- "type": "address"
865
- },
866
- {
867
- "internalType": "uint256",
868
- "name": "",
869
- "type": "uint256"
870
- },
871
- {
872
- "internalType": "uint256",
873
- "name": "",
874
- "type": "uint256"
875
- },
876
- {
877
- "internalType": "bytes",
878
- "name": "",
879
- "type": "bytes"
880
- }
881
- ],
882
- "name": "onERC1155Received",
883
- "outputs": [
884
- {
885
- "internalType": "bytes4",
886
- "name": "",
887
- "type": "bytes4"
888
- }
889
- ],
890
- "stateMutability": "pure",
891
- "type": "function"
892
- },
893
- {
894
- "inputs": [
895
- {
896
- "internalType": "address",
897
- "name": "",
898
- "type": "address"
899
- },
900
- {
901
- "internalType": "address",
902
- "name": "",
903
- "type": "address"
904
- },
905
- {
906
- "internalType": "uint256",
907
- "name": "",
908
- "type": "uint256"
909
- },
910
- {
911
- "internalType": "bytes",
912
- "name": "",
913
- "type": "bytes"
914
- }
915
- ],
916
- "name": "onERC721Received",
917
- "outputs": [
918
- {
919
- "internalType": "bytes4",
920
- "name": "",
921
- "type": "bytes4"
922
- }
923
- ],
924
- "stateMutability": "pure",
925
- "type": "function"
926
- },
927
771
  {
928
772
  "inputs": [
929
773
  {
@@ -1344,27 +1188,6 @@ class Kernel_json {
1344
1188
  async isValidSignature(hash, signature) {
1345
1189
  return this.contract.read.isValidSignature([hash, signature]);
1346
1190
  }
1347
- /**
1348
- * onERC1155BatchReceived
1349
- * pure
1350
- */
1351
- async onERC1155BatchReceived(arg0, arg1, arg2, arg3, arg4) {
1352
- return this.contract.read.onERC1155BatchReceived([arg0, arg1, arg2, arg3, arg4]);
1353
- }
1354
- /**
1355
- * onERC1155Received
1356
- * pure
1357
- */
1358
- async onERC1155Received(arg0, arg1, arg2, arg3, arg4) {
1359
- return this.contract.read.onERC1155Received([arg0, arg1, arg2, arg3, arg4]);
1360
- }
1361
- /**
1362
- * onERC721Received
1363
- * pure
1364
- */
1365
- async onERC721Received(arg0, arg1, arg2, arg3) {
1366
- return this.contract.read.onERC721Received([arg0, arg1, arg2, arg3]);
1367
- }
1368
1191
  /**
1369
1192
  * permissionConfig
1370
1193
  * view
@@ -1414,17 +1237,6 @@ class Kernel_json {
1414
1237
  async validationConfig(vId) {
1415
1238
  return this.contract.read.validationConfig([vId]);
1416
1239
  }
1417
- /**
1418
- * changeRootValidator
1419
- * payable
1420
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1421
- */
1422
- async changeRootValidator(_rootValidator, hook, validatorData, hookData, options) {
1423
- if (!this.contract.write) {
1424
- throw new Error('Wallet client is required for write operations');
1425
- }
1426
- return this.contract.write.changeRootValidator([_rootValidator, hook, validatorData, hookData], options);
1427
- }
1428
1240
  /**
1429
1241
  * execute
1430
1242
  * payable
@@ -1463,11 +1275,11 @@ class Kernel_json {
1463
1275
  * nonpayable
1464
1276
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1465
1277
  */
1466
- async initialize(_rootValidator, hook, validatorData, hookData, initConfig, options) {
1278
+ async initialize(_rootValidator, hook, validatorData, hookData, options) {
1467
1279
  if (!this.contract.write) {
1468
1280
  throw new Error('Wallet client is required for write operations');
1469
1281
  }
1470
- return this.contract.write.initialize([_rootValidator, hook, validatorData, hookData, initConfig], options);
1282
+ return this.contract.write.initialize([_rootValidator, hook, validatorData, hookData], options);
1471
1283
  }
1472
1284
  /**
1473
1285
  * installModule
@@ -1560,14 +1372,6 @@ class Kernel_json {
1560
1372
  throw new Error('Public client is required for simulation');
1561
1373
  }
1562
1374
  return {
1563
- /**
1564
- * Simulate changeRootValidator
1565
- * Returns gas estimate and result without sending transaction
1566
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1567
- */
1568
- async changeRootValidator(_rootValidator, hook, validatorData, hookData, options) {
1569
- return contract.simulate.changeRootValidator([_rootValidator, hook, validatorData, hookData], options);
1570
- },
1571
1375
  /**
1572
1376
  * Simulate execute
1573
1377
  * Returns gas estimate and result without sending transaction
@@ -1597,8 +1401,8 @@ class Kernel_json {
1597
1401
  * Returns gas estimate and result without sending transaction
1598
1402
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1599
1403
  */
1600
- async initialize(_rootValidator, hook, validatorData, hookData, initConfig, options) {
1601
- return contract.simulate.initialize([_rootValidator, hook, validatorData, hookData, initConfig], options);
1404
+ async initialize(_rootValidator, hook, validatorData, hookData, options) {
1405
+ return contract.simulate.initialize([_rootValidator, hook, validatorData, hookData], options);
1602
1406
  },
1603
1407
  /**
1604
1408
  * Simulate installModule
@@ -76,17 +76,6 @@ export const Kernel_jsonAbi = [
76
76
  "name": "ExecutionReverted",
77
77
  "type": "error"
78
78
  },
79
- {
80
- "inputs": [
81
- {
82
- "internalType": "uint256",
83
- "name": "idx",
84
- "type": "uint256"
85
- }
86
- ],
87
- "name": "InitConfigError",
88
- "type": "error"
89
- },
90
79
  {
91
80
  "inputs": [],
92
81
  "name": "InvalidCallType",
@@ -443,34 +432,6 @@ export const Kernel_jsonAbi = [
443
432
  "stateMutability": "pure",
444
433
  "type": "function"
445
434
  },
446
- {
447
- "inputs": [
448
- {
449
- "internalType": "ValidationId",
450
- "name": "_rootValidator",
451
- "type": "bytes21"
452
- },
453
- {
454
- "internalType": "contract IHook",
455
- "name": "hook",
456
- "type": "address"
457
- },
458
- {
459
- "internalType": "bytes",
460
- "name": "validatorData",
461
- "type": "bytes"
462
- },
463
- {
464
- "internalType": "bytes",
465
- "name": "hookData",
466
- "type": "bytes"
467
- }
468
- ],
469
- "name": "changeRootValidator",
470
- "outputs": [],
471
- "stateMutability": "payable",
472
- "type": "function"
473
- },
474
435
  {
475
436
  "inputs": [],
476
437
  "name": "currentNonce",
@@ -694,11 +655,6 @@ export const Kernel_jsonAbi = [
694
655
  "internalType": "bytes",
695
656
  "name": "hookData",
696
657
  "type": "bytes"
697
- },
698
- {
699
- "internalType": "bytes[]",
700
- "name": "initConfig",
701
- "type": "bytes[]"
702
658
  }
703
659
  ],
704
660
  "name": "initialize",
@@ -859,118 +815,6 @@ export const Kernel_jsonAbi = [
859
815
  "stateMutability": "view",
860
816
  "type": "function"
861
817
  },
862
- {
863
- "inputs": [
864
- {
865
- "internalType": "address",
866
- "name": "",
867
- "type": "address"
868
- },
869
- {
870
- "internalType": "address",
871
- "name": "",
872
- "type": "address"
873
- },
874
- {
875
- "internalType": "uint256[]",
876
- "name": "",
877
- "type": "uint256[]"
878
- },
879
- {
880
- "internalType": "uint256[]",
881
- "name": "",
882
- "type": "uint256[]"
883
- },
884
- {
885
- "internalType": "bytes",
886
- "name": "",
887
- "type": "bytes"
888
- }
889
- ],
890
- "name": "onERC1155BatchReceived",
891
- "outputs": [
892
- {
893
- "internalType": "bytes4",
894
- "name": "",
895
- "type": "bytes4"
896
- }
897
- ],
898
- "stateMutability": "pure",
899
- "type": "function"
900
- },
901
- {
902
- "inputs": [
903
- {
904
- "internalType": "address",
905
- "name": "",
906
- "type": "address"
907
- },
908
- {
909
- "internalType": "address",
910
- "name": "",
911
- "type": "address"
912
- },
913
- {
914
- "internalType": "uint256",
915
- "name": "",
916
- "type": "uint256"
917
- },
918
- {
919
- "internalType": "uint256",
920
- "name": "",
921
- "type": "uint256"
922
- },
923
- {
924
- "internalType": "bytes",
925
- "name": "",
926
- "type": "bytes"
927
- }
928
- ],
929
- "name": "onERC1155Received",
930
- "outputs": [
931
- {
932
- "internalType": "bytes4",
933
- "name": "",
934
- "type": "bytes4"
935
- }
936
- ],
937
- "stateMutability": "pure",
938
- "type": "function"
939
- },
940
- {
941
- "inputs": [
942
- {
943
- "internalType": "address",
944
- "name": "",
945
- "type": "address"
946
- },
947
- {
948
- "internalType": "address",
949
- "name": "",
950
- "type": "address"
951
- },
952
- {
953
- "internalType": "uint256",
954
- "name": "",
955
- "type": "uint256"
956
- },
957
- {
958
- "internalType": "bytes",
959
- "name": "",
960
- "type": "bytes"
961
- }
962
- ],
963
- "name": "onERC721Received",
964
- "outputs": [
965
- {
966
- "internalType": "bytes4",
967
- "name": "",
968
- "type": "bytes4"
969
- }
970
- ],
971
- "stateMutability": "pure",
972
- "type": "function"
973
- },
974
818
  {
975
819
  "inputs": [
976
820
  {
@@ -1425,30 +1269,6 @@ export class Kernel_json {
1425
1269
  return this.contract.read.isValidSignature([hash, signature] as const) as Promise<`0x${string}`>;
1426
1270
  }
1427
1271
 
1428
- /**
1429
- * onERC1155BatchReceived
1430
- * pure
1431
- */
1432
- async onERC1155BatchReceived(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint[], arg3: bigint[], arg4: `0x${string}`): Promise<`0x${string}`> {
1433
- return this.contract.read.onERC1155BatchReceived([arg0, arg1, arg2, arg3, arg4] as const) as Promise<`0x${string}`>;
1434
- }
1435
-
1436
- /**
1437
- * onERC1155Received
1438
- * pure
1439
- */
1440
- async onERC1155Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: bigint, arg4: `0x${string}`): Promise<`0x${string}`> {
1441
- return this.contract.read.onERC1155Received([arg0, arg1, arg2, arg3, arg4] as const) as Promise<`0x${string}`>;
1442
- }
1443
-
1444
- /**
1445
- * onERC721Received
1446
- * pure
1447
- */
1448
- async onERC721Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: `0x${string}`): Promise<`0x${string}`> {
1449
- return this.contract.read.onERC721Received([arg0, arg1, arg2, arg3] as const) as Promise<`0x${string}`>;
1450
- }
1451
-
1452
1272
  /**
1453
1273
  * permissionConfig
1454
1274
  * view
@@ -1505,29 +1325,6 @@ export class Kernel_json {
1505
1325
  return this.contract.read.validationConfig([vId] as const) as Promise<ValidationManager_ValidationConfig>;
1506
1326
  }
1507
1327
 
1508
- /**
1509
- * changeRootValidator
1510
- * payable
1511
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1512
- */
1513
- async changeRootValidator(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, options?: {
1514
- accessList?: import('viem').AccessList;
1515
- authorizationList?: import('viem').AuthorizationList;
1516
- chain?: import('viem').Chain | null;
1517
- dataSuffix?: `0x${string}`;
1518
- gas?: bigint;
1519
- gasPrice?: bigint;
1520
- maxFeePerGas?: bigint;
1521
- maxPriorityFeePerGas?: bigint;
1522
- nonce?: number;
1523
- value?: bigint;
1524
- }): Promise<`0x${string}`> {
1525
- if (!this.contract.write) {
1526
- throw new Error('Wallet client is required for write operations');
1527
- }
1528
- return this.contract.write.changeRootValidator([_rootValidator, hook, validatorData, hookData] as const, options) as Promise<`0x${string}`>;
1529
- }
1530
-
1531
1328
  /**
1532
1329
  * execute
1533
1330
  * payable
@@ -1602,7 +1399,7 @@ export class Kernel_json {
1602
1399
  * nonpayable
1603
1400
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1604
1401
  */
1605
- async initialize(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, initConfig: `0x${string}`[], options?: {
1402
+ async initialize(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, options?: {
1606
1403
  accessList?: import('viem').AccessList;
1607
1404
  authorizationList?: import('viem').AuthorizationList;
1608
1405
  chain?: import('viem').Chain | null;
@@ -1617,7 +1414,7 @@ export class Kernel_json {
1617
1414
  if (!this.contract.write) {
1618
1415
  throw new Error('Wallet client is required for write operations');
1619
1416
  }
1620
- return this.contract.write.initialize([_rootValidator, hook, validatorData, hookData, initConfig] as const, options) as Promise<`0x${string}`>;
1417
+ return this.contract.write.initialize([_rootValidator, hook, validatorData, hookData] as const, options) as Promise<`0x${string}`>;
1621
1418
  }
1622
1419
 
1623
1420
  /**
@@ -1797,25 +1594,6 @@ export class Kernel_json {
1797
1594
  throw new Error('Public client is required for simulation');
1798
1595
  }
1799
1596
  return {
1800
- /**
1801
- * Simulate changeRootValidator
1802
- * Returns gas estimate and result without sending transaction
1803
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1804
- */
1805
- async changeRootValidator(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, options?: {
1806
- accessList?: import('viem').AccessList;
1807
- authorizationList?: import('viem').AuthorizationList;
1808
- chain?: import('viem').Chain | null;
1809
- dataSuffix?: `0x${string}`;
1810
- gas?: bigint;
1811
- gasPrice?: bigint;
1812
- maxFeePerGas?: bigint;
1813
- maxPriorityFeePerGas?: bigint;
1814
- nonce?: number;
1815
- value?: bigint;
1816
- }): Promise<void> {
1817
- return contract.simulate.changeRootValidator([_rootValidator, hook, validatorData, hookData] as const, options) as Promise<void>;
1818
- },
1819
1597
  /**
1820
1598
  * Simulate execute
1821
1599
  * Returns gas estimate and result without sending transaction
@@ -1878,7 +1656,7 @@ export class Kernel_json {
1878
1656
  * Returns gas estimate and result without sending transaction
1879
1657
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1880
1658
  */
1881
- async initialize(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, initConfig: `0x${string}`[], options?: {
1659
+ async initialize(_rootValidator: `0x${string}`, hook: `0x${string}`, validatorData: `0x${string}`, hookData: `0x${string}`, options?: {
1882
1660
  accessList?: import('viem').AccessList;
1883
1661
  authorizationList?: import('viem').AuthorizationList;
1884
1662
  chain?: import('viem').Chain | null;
@@ -1890,7 +1668,7 @@ export class Kernel_json {
1890
1668
  nonce?: number;
1891
1669
  value?: bigint;
1892
1670
  }): Promise<void> {
1893
- return contract.simulate.initialize([_rootValidator, hook, validatorData, hookData, initConfig] as const, options) as Promise<void>;
1671
+ return contract.simulate.initialize([_rootValidator, hook, validatorData, hookData] as const, options) as Promise<void>;
1894
1672
  },
1895
1673
  /**
1896
1674
  * Simulate installModule
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gitmyabi/kernel",
3
- "version": "1.0.15",
4
- "description": "Auto-generated TypeScript type bindings for Kernel (build etherscan-kernel-d9caa86c-1792920606325, commit 6dd70b0, branch etherscan)",
3
+ "version": "1.0.16",
4
+ "description": "Auto-generated TypeScript type bindings for Kernel (build etherscan-kernel-6e9bde3e-1793293357478, commit c335a5f, branch etherscan)",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
7
7
  "exports": {
@@ -39,5 +39,5 @@
39
39
  "url": "https://github.com/etherscan/kernel"
40
40
  },
41
41
  "branch": "etherscan",
42
- "shortHash": "6dd70b0"
42
+ "shortHash": "c335a5f"
43
43
  }