@gitmyabi/safe 1.0.278 → 1.0.280

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 **Safe**
4
4
 
5
- - **Build ID**: `etherscan-safe-8cef85a5-1793711227212`
5
+ - **Build ID**: `etherscan-safe-eabcb8c0-1793834104868`
6
6
  - **Build Number**: 1
7
- - **Commit**: `f8e008d`
7
+ - **Commit**: `82fa94a`
8
8
  - **Branch**: `etherscan`
9
9
  - **Target**: `ethers-v6`
10
10
  - **Contracts**: 2
@@ -12,7 +12,7 @@ Auto-generated TypeScript type bindings for **Safe**
12
12
  ## Installation
13
13
 
14
14
  ```bash
15
- npm install @gitmyabi/safe@1.0.278
15
+ npm install @gitmyabi/safe@1.0.280
16
16
  ```
17
17
 
18
18
  ## Usage
@@ -105,4 +105,4 @@ This package includes type bindings for 2 contract(s) generated from ABI artifac
105
105
 
106
106
  ## License
107
107
 
108
- MIT
108
+ Apache License 2.0
@@ -1,10 +1,10 @@
1
1
  import type { Address, PublicClient, WalletClient } from 'viem';
2
2
  /**
3
- * Safe_json ABI
3
+ * Safe ABI
4
4
  *
5
5
  * This ABI is typed using viem's type system for full type safety.
6
6
  */
7
- export declare const Safe_jsonAbi: readonly [{
7
+ export declare const SafeAbi: readonly [{
8
8
  readonly inputs: readonly [];
9
9
  readonly stateMutability: "nonpayable";
10
10
  readonly type: "constructor";
@@ -778,15 +778,15 @@ export declare const Safe_jsonAbi: readonly [{
778
778
  readonly type: "receive";
779
779
  }];
780
780
  /**
781
- * Type-safe ABI for Safe_json
781
+ * Type-safe ABI for Safe
782
782
  */
783
- export type Safe_jsonAbi = typeof Safe_jsonAbi;
783
+ export type SafeAbi = typeof SafeAbi;
784
784
  /**
785
- * Contract instance type for Safe_json
785
+ * Contract instance type for Safe
786
786
  */
787
- export type Safe_jsonContract = any;
787
+ export type SafeContract = any;
788
788
  /**
789
- * Safe_json Contract Class
789
+ * Safe Contract Class
790
790
  *
791
791
  * Provides a class-based API similar to TypeChain for interacting with the contract.
792
792
  *
@@ -794,12 +794,12 @@ export type Safe_jsonContract = any;
794
794
  * ```typescript
795
795
  * import { createPublicClient, createWalletClient, http } from 'viem';
796
796
  * import { mainnet } from 'viem/chains';
797
- * import { Safe_json } from 'Safe_json';
797
+ * import { Safe } from 'Safe';
798
798
  *
799
799
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
800
800
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
801
801
  *
802
- * const contract = new Safe_json('0x...', { publicClient, walletClient });
802
+ * const contract = new Safe('0x...', { publicClient, walletClient });
803
803
  *
804
804
  * // Read functions
805
805
  * const result = await contract.balanceOf('0x...');
@@ -817,7 +817,7 @@ export type Safe_jsonContract = any;
817
817
  * });
818
818
  * ```
819
819
  */
820
- export declare class Safe_json {
820
+ export declare class Safe {
821
821
  private contract;
822
822
  private contractAddress;
823
823
  private publicClient;
@@ -830,9 +830,9 @@ export declare class Safe_json {
830
830
  */
831
831
  get address(): Address;
832
832
  /**
833
- * Get the underlying viem contract instance
833
+ * Get the underlying viem contract instance.
834
834
  */
835
- getContract(): Safe_jsonContract;
835
+ getContract(): SafeContract;
836
836
  /**
837
837
  * VERSION
838
838
  * view
@@ -1421,7 +1421,7 @@ export declare class Safe_json {
1421
1421
  AddedOwner: (callback: (event: {
1422
1422
  owner: `0x${string}`;
1423
1423
  }) => void, filter?: {
1424
- owner: `0x${string}`;
1424
+ owner?: `0x${string}` | `0x${string}`[] | null;
1425
1425
  }) => () => void;
1426
1426
  /**
1427
1427
  * Watch ApproveHash events
@@ -1433,8 +1433,8 @@ export declare class Safe_json {
1433
1433
  approvedHash: `0x${string}`;
1434
1434
  owner: `0x${string}`;
1435
1435
  }) => void, filter?: {
1436
- approvedHash: `0x${string}`;
1437
- owner: `0x${string}`;
1436
+ approvedHash?: `0x${string}` | `0x${string}`[] | null;
1437
+ owner?: `0x${string}` | `0x${string}`[] | null;
1438
1438
  }) => () => void;
1439
1439
  /**
1440
1440
  * Watch ChangedFallbackHandler events
@@ -1445,7 +1445,7 @@ export declare class Safe_json {
1445
1445
  ChangedFallbackHandler: (callback: (event: {
1446
1446
  handler: `0x${string}`;
1447
1447
  }) => void, filter?: {
1448
- handler: `0x${string}`;
1448
+ handler?: `0x${string}` | `0x${string}`[] | null;
1449
1449
  }) => () => void;
1450
1450
  /**
1451
1451
  * Watch ChangedGuard events
@@ -1456,7 +1456,7 @@ export declare class Safe_json {
1456
1456
  ChangedGuard: (callback: (event: {
1457
1457
  guard: `0x${string}`;
1458
1458
  }) => void, filter?: {
1459
- guard: `0x${string}`;
1459
+ guard?: `0x${string}` | `0x${string}`[] | null;
1460
1460
  }) => () => void;
1461
1461
  /**
1462
1462
  * Watch ChangedThreshold events
@@ -1476,7 +1476,7 @@ export declare class Safe_json {
1476
1476
  DisabledModule: (callback: (event: {
1477
1477
  module: `0x${string}`;
1478
1478
  }) => void, filter?: {
1479
- module: `0x${string}`;
1479
+ module?: `0x${string}` | `0x${string}`[] | null;
1480
1480
  }) => () => void;
1481
1481
  /**
1482
1482
  * Watch EnabledModule events
@@ -1487,7 +1487,7 @@ export declare class Safe_json {
1487
1487
  EnabledModule: (callback: (event: {
1488
1488
  module: `0x${string}`;
1489
1489
  }) => void, filter?: {
1490
- module: `0x${string}`;
1490
+ module?: `0x${string}` | `0x${string}`[] | null;
1491
1491
  }) => () => void;
1492
1492
  /**
1493
1493
  * Watch ExecutionFailure events
@@ -1499,7 +1499,7 @@ export declare class Safe_json {
1499
1499
  txHash: `0x${string}`;
1500
1500
  payment: bigint;
1501
1501
  }) => void, filter?: {
1502
- txHash: `0x${string}`;
1502
+ txHash?: `0x${string}` | `0x${string}`[] | null;
1503
1503
  }) => () => void;
1504
1504
  /**
1505
1505
  * Watch ExecutionFromModuleFailure events
@@ -1510,7 +1510,7 @@ export declare class Safe_json {
1510
1510
  ExecutionFromModuleFailure: (callback: (event: {
1511
1511
  module: `0x${string}`;
1512
1512
  }) => void, filter?: {
1513
- module: `0x${string}`;
1513
+ module?: `0x${string}` | `0x${string}`[] | null;
1514
1514
  }) => () => void;
1515
1515
  /**
1516
1516
  * Watch ExecutionFromModuleSuccess events
@@ -1521,7 +1521,7 @@ export declare class Safe_json {
1521
1521
  ExecutionFromModuleSuccess: (callback: (event: {
1522
1522
  module: `0x${string}`;
1523
1523
  }) => void, filter?: {
1524
- module: `0x${string}`;
1524
+ module?: `0x${string}` | `0x${string}`[] | null;
1525
1525
  }) => () => void;
1526
1526
  /**
1527
1527
  * Watch ExecutionSuccess events
@@ -1533,7 +1533,7 @@ export declare class Safe_json {
1533
1533
  txHash: `0x${string}`;
1534
1534
  payment: bigint;
1535
1535
  }) => void, filter?: {
1536
- txHash: `0x${string}`;
1536
+ txHash?: `0x${string}` | `0x${string}`[] | null;
1537
1537
  }) => () => void;
1538
1538
  /**
1539
1539
  * Watch RemovedOwner events
@@ -1544,7 +1544,7 @@ export declare class Safe_json {
1544
1544
  RemovedOwner: (callback: (event: {
1545
1545
  owner: `0x${string}`;
1546
1546
  }) => void, filter?: {
1547
- owner: `0x${string}`;
1547
+ owner?: `0x${string}` | `0x${string}`[] | null;
1548
1548
  }) => () => void;
1549
1549
  /**
1550
1550
  * Watch SafeReceived events
@@ -1556,7 +1556,7 @@ export declare class Safe_json {
1556
1556
  sender: `0x${string}`;
1557
1557
  value: bigint;
1558
1558
  }) => void, filter?: {
1559
- sender: `0x${string}`;
1559
+ sender?: `0x${string}` | `0x${string}`[] | null;
1560
1560
  }) => () => void;
1561
1561
  /**
1562
1562
  * Watch SafeSetup events
@@ -1571,7 +1571,7 @@ export declare class Safe_json {
1571
1571
  initializer: `0x${string}`;
1572
1572
  fallbackHandler: `0x${string}`;
1573
1573
  }) => void, filter?: {
1574
- initiator: `0x${string}`;
1574
+ initiator?: `0x${string}` | `0x${string}`[] | null;
1575
1575
  }) => () => void;
1576
1576
  /**
1577
1577
  * Watch SignMsg events
@@ -1582,7 +1582,7 @@ export declare class Safe_json {
1582
1582
  SignMsg: (callback: (event: {
1583
1583
  msgHash: `0x${string}`;
1584
1584
  }) => void, filter?: {
1585
- msgHash: `0x${string}`;
1585
+ msgHash?: `0x${string}` | `0x${string}`[] | null;
1586
1586
  }) => () => void;
1587
1587
  };
1588
1588
  }
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Safe_json = exports.Safe_jsonAbi = void 0;
3
+ exports.Safe = exports.SafeAbi = void 0;
4
4
  const viem_1 = require("viem");
5
5
  /**
6
- * Safe_json ABI
6
+ * Safe ABI
7
7
  *
8
8
  * This ABI is typed using viem's type system for full type safety.
9
9
  */
10
- exports.Safe_jsonAbi = [
10
+ exports.SafeAbi = [
11
11
  {
12
12
  "inputs": [],
13
13
  "stateMutability": "nonpayable",
@@ -1007,7 +1007,7 @@ exports.Safe_jsonAbi = [
1007
1007
  }
1008
1008
  ];
1009
1009
  /**
1010
- * Safe_json Contract Class
1010
+ * Safe Contract Class
1011
1011
  *
1012
1012
  * Provides a class-based API similar to TypeChain for interacting with the contract.
1013
1013
  *
@@ -1015,12 +1015,12 @@ exports.Safe_jsonAbi = [
1015
1015
  * ```typescript
1016
1016
  * import { createPublicClient, createWalletClient, http } from 'viem';
1017
1017
  * import { mainnet } from 'viem/chains';
1018
- * import { Safe_json } from 'Safe_json';
1018
+ * import { Safe } from 'Safe';
1019
1019
  *
1020
1020
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
1021
1021
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
1022
1022
  *
1023
- * const contract = new Safe_json('0x...', { publicClient, walletClient });
1023
+ * const contract = new Safe('0x...', { publicClient, walletClient });
1024
1024
  *
1025
1025
  * // Read functions
1026
1026
  * const result = await contract.balanceOf('0x...');
@@ -1038,13 +1038,13 @@ exports.Safe_jsonAbi = [
1038
1038
  * });
1039
1039
  * ```
1040
1040
  */
1041
- class Safe_json {
1041
+ class Safe {
1042
1042
  constructor(address, clients) {
1043
1043
  this.contractAddress = address;
1044
1044
  this.publicClient = clients.publicClient;
1045
1045
  this.contract = (0, viem_1.getContract)({
1046
1046
  address,
1047
- abi: exports.Safe_jsonAbi,
1047
+ abi: exports.SafeAbi,
1048
1048
  client: {
1049
1049
  public: clients.publicClient,
1050
1050
  wallet: clients.walletClient,
@@ -1058,7 +1058,7 @@ class Safe_json {
1058
1058
  return this.contractAddress;
1059
1059
  }
1060
1060
  /**
1061
- * Get the underlying viem contract instance
1061
+ * Get the underlying viem contract instance.
1062
1062
  */
1063
1063
  getContract() {
1064
1064
  return this.contract;
@@ -1480,7 +1480,7 @@ class Safe_json {
1480
1480
  AddedOwner: (callback, filter) => {
1481
1481
  return this.publicClient.watchContractEvent({
1482
1482
  address: this.contractAddress,
1483
- abi: exports.Safe_jsonAbi,
1483
+ abi: exports.SafeAbi,
1484
1484
  eventName: 'AddedOwner',
1485
1485
  args: filter,
1486
1486
  onLogs: (logs) => {
@@ -1499,7 +1499,7 @@ class Safe_json {
1499
1499
  ApproveHash: (callback, filter) => {
1500
1500
  return this.publicClient.watchContractEvent({
1501
1501
  address: this.contractAddress,
1502
- abi: exports.Safe_jsonAbi,
1502
+ abi: exports.SafeAbi,
1503
1503
  eventName: 'ApproveHash',
1504
1504
  args: filter,
1505
1505
  onLogs: (logs) => {
@@ -1518,7 +1518,7 @@ class Safe_json {
1518
1518
  ChangedFallbackHandler: (callback, filter) => {
1519
1519
  return this.publicClient.watchContractEvent({
1520
1520
  address: this.contractAddress,
1521
- abi: exports.Safe_jsonAbi,
1521
+ abi: exports.SafeAbi,
1522
1522
  eventName: 'ChangedFallbackHandler',
1523
1523
  args: filter,
1524
1524
  onLogs: (logs) => {
@@ -1537,7 +1537,7 @@ class Safe_json {
1537
1537
  ChangedGuard: (callback, filter) => {
1538
1538
  return this.publicClient.watchContractEvent({
1539
1539
  address: this.contractAddress,
1540
- abi: exports.Safe_jsonAbi,
1540
+ abi: exports.SafeAbi,
1541
1541
  eventName: 'ChangedGuard',
1542
1542
  args: filter,
1543
1543
  onLogs: (logs) => {
@@ -1556,7 +1556,7 @@ class Safe_json {
1556
1556
  ChangedThreshold: (callback) => {
1557
1557
  return this.publicClient.watchContractEvent({
1558
1558
  address: this.contractAddress,
1559
- abi: exports.Safe_jsonAbi,
1559
+ abi: exports.SafeAbi,
1560
1560
  eventName: 'ChangedThreshold',
1561
1561
  onLogs: (logs) => {
1562
1562
  logs.forEach((log) => {
@@ -1574,7 +1574,7 @@ class Safe_json {
1574
1574
  DisabledModule: (callback, filter) => {
1575
1575
  return this.publicClient.watchContractEvent({
1576
1576
  address: this.contractAddress,
1577
- abi: exports.Safe_jsonAbi,
1577
+ abi: exports.SafeAbi,
1578
1578
  eventName: 'DisabledModule',
1579
1579
  args: filter,
1580
1580
  onLogs: (logs) => {
@@ -1593,7 +1593,7 @@ class Safe_json {
1593
1593
  EnabledModule: (callback, filter) => {
1594
1594
  return this.publicClient.watchContractEvent({
1595
1595
  address: this.contractAddress,
1596
- abi: exports.Safe_jsonAbi,
1596
+ abi: exports.SafeAbi,
1597
1597
  eventName: 'EnabledModule',
1598
1598
  args: filter,
1599
1599
  onLogs: (logs) => {
@@ -1612,7 +1612,7 @@ class Safe_json {
1612
1612
  ExecutionFailure: (callback, filter) => {
1613
1613
  return this.publicClient.watchContractEvent({
1614
1614
  address: this.contractAddress,
1615
- abi: exports.Safe_jsonAbi,
1615
+ abi: exports.SafeAbi,
1616
1616
  eventName: 'ExecutionFailure',
1617
1617
  args: filter,
1618
1618
  onLogs: (logs) => {
@@ -1631,7 +1631,7 @@ class Safe_json {
1631
1631
  ExecutionFromModuleFailure: (callback, filter) => {
1632
1632
  return this.publicClient.watchContractEvent({
1633
1633
  address: this.contractAddress,
1634
- abi: exports.Safe_jsonAbi,
1634
+ abi: exports.SafeAbi,
1635
1635
  eventName: 'ExecutionFromModuleFailure',
1636
1636
  args: filter,
1637
1637
  onLogs: (logs) => {
@@ -1650,7 +1650,7 @@ class Safe_json {
1650
1650
  ExecutionFromModuleSuccess: (callback, filter) => {
1651
1651
  return this.publicClient.watchContractEvent({
1652
1652
  address: this.contractAddress,
1653
- abi: exports.Safe_jsonAbi,
1653
+ abi: exports.SafeAbi,
1654
1654
  eventName: 'ExecutionFromModuleSuccess',
1655
1655
  args: filter,
1656
1656
  onLogs: (logs) => {
@@ -1669,7 +1669,7 @@ class Safe_json {
1669
1669
  ExecutionSuccess: (callback, filter) => {
1670
1670
  return this.publicClient.watchContractEvent({
1671
1671
  address: this.contractAddress,
1672
- abi: exports.Safe_jsonAbi,
1672
+ abi: exports.SafeAbi,
1673
1673
  eventName: 'ExecutionSuccess',
1674
1674
  args: filter,
1675
1675
  onLogs: (logs) => {
@@ -1688,7 +1688,7 @@ class Safe_json {
1688
1688
  RemovedOwner: (callback, filter) => {
1689
1689
  return this.publicClient.watchContractEvent({
1690
1690
  address: this.contractAddress,
1691
- abi: exports.Safe_jsonAbi,
1691
+ abi: exports.SafeAbi,
1692
1692
  eventName: 'RemovedOwner',
1693
1693
  args: filter,
1694
1694
  onLogs: (logs) => {
@@ -1707,7 +1707,7 @@ class Safe_json {
1707
1707
  SafeReceived: (callback, filter) => {
1708
1708
  return this.publicClient.watchContractEvent({
1709
1709
  address: this.contractAddress,
1710
- abi: exports.Safe_jsonAbi,
1710
+ abi: exports.SafeAbi,
1711
1711
  eventName: 'SafeReceived',
1712
1712
  args: filter,
1713
1713
  onLogs: (logs) => {
@@ -1726,7 +1726,7 @@ class Safe_json {
1726
1726
  SafeSetup: (callback, filter) => {
1727
1727
  return this.publicClient.watchContractEvent({
1728
1728
  address: this.contractAddress,
1729
- abi: exports.Safe_jsonAbi,
1729
+ abi: exports.SafeAbi,
1730
1730
  eventName: 'SafeSetup',
1731
1731
  args: filter,
1732
1732
  onLogs: (logs) => {
@@ -1745,7 +1745,7 @@ class Safe_json {
1745
1745
  SignMsg: (callback, filter) => {
1746
1746
  return this.publicClient.watchContractEvent({
1747
1747
  address: this.contractAddress,
1748
- abi: exports.Safe_jsonAbi,
1748
+ abi: exports.SafeAbi,
1749
1749
  eventName: 'SignMsg',
1750
1750
  args: filter,
1751
1751
  onLogs: (logs) => {
@@ -1758,4 +1758,4 @@ class Safe_json {
1758
1758
  };
1759
1759
  }
1760
1760
  }
1761
- exports.Safe_json = Safe_json;
1761
+ exports.Safe = Safe;
@@ -2,11 +2,11 @@ import type { Abi, Address, PublicClient, WalletClient, GetContractReturnType }
2
2
  import { getContract } from 'viem';
3
3
 
4
4
  /**
5
- * Safe_json ABI
5
+ * Safe ABI
6
6
  *
7
7
  * This ABI is typed using viem's type system for full type safety.
8
8
  */
9
- export const Safe_jsonAbi = [
9
+ export const SafeAbi = [
10
10
  {
11
11
  "inputs": [],
12
12
  "stateMutability": "nonpayable",
@@ -1007,19 +1007,19 @@ export const Safe_jsonAbi = [
1007
1007
  ] as const satisfies Abi;
1008
1008
 
1009
1009
  /**
1010
- * Type-safe ABI for Safe_json
1010
+ * Type-safe ABI for Safe
1011
1011
  */
1012
- export type Safe_jsonAbi = typeof Safe_jsonAbi;
1012
+ export type SafeAbi = typeof SafeAbi;
1013
1013
 
1014
1014
  /**
1015
- * Contract instance type for Safe_json
1015
+ * Contract instance type for Safe
1016
1016
  */
1017
1017
  // Use any for contract type to avoid complex viem type issues
1018
1018
  // The runtime behavior is type-safe through viem's ABI typing
1019
- export type Safe_jsonContract = any;
1019
+ export type SafeContract = any;
1020
1020
 
1021
1021
  /**
1022
- * Safe_json Contract Class
1022
+ * Safe Contract Class
1023
1023
  *
1024
1024
  * Provides a class-based API similar to TypeChain for interacting with the contract.
1025
1025
  *
@@ -1027,12 +1027,12 @@ export type Safe_jsonContract = any;
1027
1027
  * ```typescript
1028
1028
  * import { createPublicClient, createWalletClient, http } from 'viem';
1029
1029
  * import { mainnet } from 'viem/chains';
1030
- * import { Safe_json } from 'Safe_json';
1030
+ * import { Safe } from 'Safe';
1031
1031
  *
1032
1032
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
1033
1033
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
1034
1034
  *
1035
- * const contract = new Safe_json('0x...', { publicClient, walletClient });
1035
+ * const contract = new Safe('0x...', { publicClient, walletClient });
1036
1036
  *
1037
1037
  * // Read functions
1038
1038
  * const result = await contract.balanceOf('0x...');
@@ -1050,8 +1050,8 @@ export type Safe_jsonContract = any;
1050
1050
  * });
1051
1051
  * ```
1052
1052
  */
1053
- export class Safe_json {
1054
- private contract: Safe_jsonContract;
1053
+ export class Safe {
1054
+ private contract: SafeContract;
1055
1055
  private contractAddress: Address;
1056
1056
  private publicClient: PublicClient;
1057
1057
 
@@ -1066,7 +1066,7 @@ export class Safe_json {
1066
1066
  this.publicClient = clients.publicClient;
1067
1067
  this.contract = getContract({
1068
1068
  address,
1069
- abi: Safe_jsonAbi,
1069
+ abi: SafeAbi,
1070
1070
  client: {
1071
1071
  public: clients.publicClient,
1072
1072
  wallet: clients.walletClient,
@@ -1082,9 +1082,9 @@ export class Safe_json {
1082
1082
  }
1083
1083
 
1084
1084
  /**
1085
- * Get the underlying viem contract instance
1085
+ * Get the underlying viem contract instance.
1086
1086
  */
1087
- getContract(): Safe_jsonContract {
1087
+ getContract(): SafeContract {
1088
1088
  return this.contract;
1089
1089
  }
1090
1090
 
@@ -1843,12 +1843,12 @@ export class Safe_json {
1843
1843
  * @param filter Optional filter for indexed parameters
1844
1844
  * @returns Unwatch function to stop listening
1845
1845
  */
1846
- AddedOwner: (callback: (event: { owner: `0x${string}` }) => void, filter?: { owner: `0x${string}` }) => {
1846
+ AddedOwner: (callback: (event: { owner: `0x${string}` }) => void, filter?: { owner?: `0x${string}` | `0x${string}`[] | null }) => {
1847
1847
  return this.publicClient.watchContractEvent({
1848
1848
  address: this.contractAddress,
1849
- abi: Safe_jsonAbi,
1849
+ abi: SafeAbi,
1850
1850
  eventName: 'AddedOwner',
1851
- args: filter,
1851
+ args: filter as any,
1852
1852
  onLogs: (logs: any[]) => {
1853
1853
  logs.forEach((log: any) => {
1854
1854
  callback(log.args as any);
@@ -1862,12 +1862,12 @@ export class Safe_json {
1862
1862
  * @param filter Optional filter for indexed parameters
1863
1863
  * @returns Unwatch function to stop listening
1864
1864
  */
1865
- ApproveHash: (callback: (event: { approvedHash: `0x${string}`; owner: `0x${string}` }) => void, filter?: { approvedHash: `0x${string}`; owner: `0x${string}` }) => {
1865
+ ApproveHash: (callback: (event: { approvedHash: `0x${string}`; owner: `0x${string}` }) => void, filter?: { approvedHash?: `0x${string}` | `0x${string}`[] | null; owner?: `0x${string}` | `0x${string}`[] | null }) => {
1866
1866
  return this.publicClient.watchContractEvent({
1867
1867
  address: this.contractAddress,
1868
- abi: Safe_jsonAbi,
1868
+ abi: SafeAbi,
1869
1869
  eventName: 'ApproveHash',
1870
- args: filter,
1870
+ args: filter as any,
1871
1871
  onLogs: (logs: any[]) => {
1872
1872
  logs.forEach((log: any) => {
1873
1873
  callback(log.args as any);
@@ -1881,12 +1881,12 @@ export class Safe_json {
1881
1881
  * @param filter Optional filter for indexed parameters
1882
1882
  * @returns Unwatch function to stop listening
1883
1883
  */
1884
- ChangedFallbackHandler: (callback: (event: { handler: `0x${string}` }) => void, filter?: { handler: `0x${string}` }) => {
1884
+ ChangedFallbackHandler: (callback: (event: { handler: `0x${string}` }) => void, filter?: { handler?: `0x${string}` | `0x${string}`[] | null }) => {
1885
1885
  return this.publicClient.watchContractEvent({
1886
1886
  address: this.contractAddress,
1887
- abi: Safe_jsonAbi,
1887
+ abi: SafeAbi,
1888
1888
  eventName: 'ChangedFallbackHandler',
1889
- args: filter,
1889
+ args: filter as any,
1890
1890
  onLogs: (logs: any[]) => {
1891
1891
  logs.forEach((log: any) => {
1892
1892
  callback(log.args as any);
@@ -1900,12 +1900,12 @@ export class Safe_json {
1900
1900
  * @param filter Optional filter for indexed parameters
1901
1901
  * @returns Unwatch function to stop listening
1902
1902
  */
1903
- ChangedGuard: (callback: (event: { guard: `0x${string}` }) => void, filter?: { guard: `0x${string}` }) => {
1903
+ ChangedGuard: (callback: (event: { guard: `0x${string}` }) => void, filter?: { guard?: `0x${string}` | `0x${string}`[] | null }) => {
1904
1904
  return this.publicClient.watchContractEvent({
1905
1905
  address: this.contractAddress,
1906
- abi: Safe_jsonAbi,
1906
+ abi: SafeAbi,
1907
1907
  eventName: 'ChangedGuard',
1908
- args: filter,
1908
+ args: filter as any,
1909
1909
  onLogs: (logs: any[]) => {
1910
1910
  logs.forEach((log: any) => {
1911
1911
  callback(log.args as any);
@@ -1922,7 +1922,7 @@ export class Safe_json {
1922
1922
  ChangedThreshold: (callback: (event: { threshold: bigint }) => void) => {
1923
1923
  return this.publicClient.watchContractEvent({
1924
1924
  address: this.contractAddress,
1925
- abi: Safe_jsonAbi,
1925
+ abi: SafeAbi,
1926
1926
  eventName: 'ChangedThreshold',
1927
1927
 
1928
1928
  onLogs: (logs: any[]) => {
@@ -1938,12 +1938,12 @@ export class Safe_json {
1938
1938
  * @param filter Optional filter for indexed parameters
1939
1939
  * @returns Unwatch function to stop listening
1940
1940
  */
1941
- DisabledModule: (callback: (event: { module: `0x${string}` }) => void, filter?: { module: `0x${string}` }) => {
1941
+ DisabledModule: (callback: (event: { module: `0x${string}` }) => void, filter?: { module?: `0x${string}` | `0x${string}`[] | null }) => {
1942
1942
  return this.publicClient.watchContractEvent({
1943
1943
  address: this.contractAddress,
1944
- abi: Safe_jsonAbi,
1944
+ abi: SafeAbi,
1945
1945
  eventName: 'DisabledModule',
1946
- args: filter,
1946
+ args: filter as any,
1947
1947
  onLogs: (logs: any[]) => {
1948
1948
  logs.forEach((log: any) => {
1949
1949
  callback(log.args as any);
@@ -1957,12 +1957,12 @@ export class Safe_json {
1957
1957
  * @param filter Optional filter for indexed parameters
1958
1958
  * @returns Unwatch function to stop listening
1959
1959
  */
1960
- EnabledModule: (callback: (event: { module: `0x${string}` }) => void, filter?: { module: `0x${string}` }) => {
1960
+ EnabledModule: (callback: (event: { module: `0x${string}` }) => void, filter?: { module?: `0x${string}` | `0x${string}`[] | null }) => {
1961
1961
  return this.publicClient.watchContractEvent({
1962
1962
  address: this.contractAddress,
1963
- abi: Safe_jsonAbi,
1963
+ abi: SafeAbi,
1964
1964
  eventName: 'EnabledModule',
1965
- args: filter,
1965
+ args: filter as any,
1966
1966
  onLogs: (logs: any[]) => {
1967
1967
  logs.forEach((log: any) => {
1968
1968
  callback(log.args as any);
@@ -1976,12 +1976,12 @@ export class Safe_json {
1976
1976
  * @param filter Optional filter for indexed parameters
1977
1977
  * @returns Unwatch function to stop listening
1978
1978
  */
1979
- ExecutionFailure: (callback: (event: { txHash: `0x${string}`; payment: bigint }) => void, filter?: { txHash: `0x${string}` }) => {
1979
+ ExecutionFailure: (callback: (event: { txHash: `0x${string}`; payment: bigint }) => void, filter?: { txHash?: `0x${string}` | `0x${string}`[] | null }) => {
1980
1980
  return this.publicClient.watchContractEvent({
1981
1981
  address: this.contractAddress,
1982
- abi: Safe_jsonAbi,
1982
+ abi: SafeAbi,
1983
1983
  eventName: 'ExecutionFailure',
1984
- args: filter,
1984
+ args: filter as any,
1985
1985
  onLogs: (logs: any[]) => {
1986
1986
  logs.forEach((log: any) => {
1987
1987
  callback(log.args as any);
@@ -1995,12 +1995,12 @@ export class Safe_json {
1995
1995
  * @param filter Optional filter for indexed parameters
1996
1996
  * @returns Unwatch function to stop listening
1997
1997
  */
1998
- ExecutionFromModuleFailure: (callback: (event: { module: `0x${string}` }) => void, filter?: { module: `0x${string}` }) => {
1998
+ ExecutionFromModuleFailure: (callback: (event: { module: `0x${string}` }) => void, filter?: { module?: `0x${string}` | `0x${string}`[] | null }) => {
1999
1999
  return this.publicClient.watchContractEvent({
2000
2000
  address: this.contractAddress,
2001
- abi: Safe_jsonAbi,
2001
+ abi: SafeAbi,
2002
2002
  eventName: 'ExecutionFromModuleFailure',
2003
- args: filter,
2003
+ args: filter as any,
2004
2004
  onLogs: (logs: any[]) => {
2005
2005
  logs.forEach((log: any) => {
2006
2006
  callback(log.args as any);
@@ -2014,12 +2014,12 @@ export class Safe_json {
2014
2014
  * @param filter Optional filter for indexed parameters
2015
2015
  * @returns Unwatch function to stop listening
2016
2016
  */
2017
- ExecutionFromModuleSuccess: (callback: (event: { module: `0x${string}` }) => void, filter?: { module: `0x${string}` }) => {
2017
+ ExecutionFromModuleSuccess: (callback: (event: { module: `0x${string}` }) => void, filter?: { module?: `0x${string}` | `0x${string}`[] | null }) => {
2018
2018
  return this.publicClient.watchContractEvent({
2019
2019
  address: this.contractAddress,
2020
- abi: Safe_jsonAbi,
2020
+ abi: SafeAbi,
2021
2021
  eventName: 'ExecutionFromModuleSuccess',
2022
- args: filter,
2022
+ args: filter as any,
2023
2023
  onLogs: (logs: any[]) => {
2024
2024
  logs.forEach((log: any) => {
2025
2025
  callback(log.args as any);
@@ -2033,12 +2033,12 @@ export class Safe_json {
2033
2033
  * @param filter Optional filter for indexed parameters
2034
2034
  * @returns Unwatch function to stop listening
2035
2035
  */
2036
- ExecutionSuccess: (callback: (event: { txHash: `0x${string}`; payment: bigint }) => void, filter?: { txHash: `0x${string}` }) => {
2036
+ ExecutionSuccess: (callback: (event: { txHash: `0x${string}`; payment: bigint }) => void, filter?: { txHash?: `0x${string}` | `0x${string}`[] | null }) => {
2037
2037
  return this.publicClient.watchContractEvent({
2038
2038
  address: this.contractAddress,
2039
- abi: Safe_jsonAbi,
2039
+ abi: SafeAbi,
2040
2040
  eventName: 'ExecutionSuccess',
2041
- args: filter,
2041
+ args: filter as any,
2042
2042
  onLogs: (logs: any[]) => {
2043
2043
  logs.forEach((log: any) => {
2044
2044
  callback(log.args as any);
@@ -2052,12 +2052,12 @@ export class Safe_json {
2052
2052
  * @param filter Optional filter for indexed parameters
2053
2053
  * @returns Unwatch function to stop listening
2054
2054
  */
2055
- RemovedOwner: (callback: (event: { owner: `0x${string}` }) => void, filter?: { owner: `0x${string}` }) => {
2055
+ RemovedOwner: (callback: (event: { owner: `0x${string}` }) => void, filter?: { owner?: `0x${string}` | `0x${string}`[] | null }) => {
2056
2056
  return this.publicClient.watchContractEvent({
2057
2057
  address: this.contractAddress,
2058
- abi: Safe_jsonAbi,
2058
+ abi: SafeAbi,
2059
2059
  eventName: 'RemovedOwner',
2060
- args: filter,
2060
+ args: filter as any,
2061
2061
  onLogs: (logs: any[]) => {
2062
2062
  logs.forEach((log: any) => {
2063
2063
  callback(log.args as any);
@@ -2071,12 +2071,12 @@ export class Safe_json {
2071
2071
  * @param filter Optional filter for indexed parameters
2072
2072
  * @returns Unwatch function to stop listening
2073
2073
  */
2074
- SafeReceived: (callback: (event: { sender: `0x${string}`; value: bigint }) => void, filter?: { sender: `0x${string}` }) => {
2074
+ SafeReceived: (callback: (event: { sender: `0x${string}`; value: bigint }) => void, filter?: { sender?: `0x${string}` | `0x${string}`[] | null }) => {
2075
2075
  return this.publicClient.watchContractEvent({
2076
2076
  address: this.contractAddress,
2077
- abi: Safe_jsonAbi,
2077
+ abi: SafeAbi,
2078
2078
  eventName: 'SafeReceived',
2079
- args: filter,
2079
+ args: filter as any,
2080
2080
  onLogs: (logs: any[]) => {
2081
2081
  logs.forEach((log: any) => {
2082
2082
  callback(log.args as any);
@@ -2090,12 +2090,12 @@ export class Safe_json {
2090
2090
  * @param filter Optional filter for indexed parameters
2091
2091
  * @returns Unwatch function to stop listening
2092
2092
  */
2093
- SafeSetup: (callback: (event: { initiator: `0x${string}`; owners: `0x${string}`[]; threshold: bigint; initializer: `0x${string}`; fallbackHandler: `0x${string}` }) => void, filter?: { initiator: `0x${string}` }) => {
2093
+ SafeSetup: (callback: (event: { initiator: `0x${string}`; owners: `0x${string}`[]; threshold: bigint; initializer: `0x${string}`; fallbackHandler: `0x${string}` }) => void, filter?: { initiator?: `0x${string}` | `0x${string}`[] | null }) => {
2094
2094
  return this.publicClient.watchContractEvent({
2095
2095
  address: this.contractAddress,
2096
- abi: Safe_jsonAbi,
2096
+ abi: SafeAbi,
2097
2097
  eventName: 'SafeSetup',
2098
- args: filter,
2098
+ args: filter as any,
2099
2099
  onLogs: (logs: any[]) => {
2100
2100
  logs.forEach((log: any) => {
2101
2101
  callback(log.args as any);
@@ -2109,12 +2109,12 @@ export class Safe_json {
2109
2109
  * @param filter Optional filter for indexed parameters
2110
2110
  * @returns Unwatch function to stop listening
2111
2111
  */
2112
- SignMsg: (callback: (event: { msgHash: `0x${string}` }) => void, filter?: { msgHash: `0x${string}` }) => {
2112
+ SignMsg: (callback: (event: { msgHash: `0x${string}` }) => void, filter?: { msgHash?: `0x${string}` | `0x${string}`[] | null }) => {
2113
2113
  return this.publicClient.watchContractEvent({
2114
2114
  address: this.contractAddress,
2115
- abi: Safe_jsonAbi,
2115
+ abi: SafeAbi,
2116
2116
  eventName: 'SignMsg',
2117
- args: filter,
2117
+ args: filter as any,
2118
2118
  onLogs: (logs: any[]) => {
2119
2119
  logs.forEach((log: any) => {
2120
2120
  callback(log.args as any);
@@ -1,10 +1,10 @@
1
1
  import type { Address, PublicClient, WalletClient } from 'viem';
2
2
  /**
3
- * SafeProxy_json ABI
3
+ * SafeProxy ABI
4
4
  *
5
5
  * This ABI is typed using viem's type system for full type safety.
6
6
  */
7
- export declare const SafeProxy_jsonAbi: readonly [{
7
+ export declare const SafeProxyAbi: readonly [{
8
8
  readonly inputs: readonly [{
9
9
  readonly internalType: "address";
10
10
  readonly name: "_singleton";
@@ -17,15 +17,15 @@ export declare const SafeProxy_jsonAbi: readonly [{
17
17
  readonly type: "fallback";
18
18
  }];
19
19
  /**
20
- * Type-safe ABI for SafeProxy_json
20
+ * Type-safe ABI for SafeProxy
21
21
  */
22
- export type SafeProxy_jsonAbi = typeof SafeProxy_jsonAbi;
22
+ export type SafeProxyAbi = typeof SafeProxyAbi;
23
23
  /**
24
- * Contract instance type for SafeProxy_json
24
+ * Contract instance type for SafeProxy
25
25
  */
26
- export type SafeProxy_jsonContract = any;
26
+ export type SafeProxyContract = any;
27
27
  /**
28
- * SafeProxy_json Contract Class
28
+ * SafeProxy Contract Class
29
29
  *
30
30
  * Provides a class-based API similar to TypeChain for interacting with the contract.
31
31
  *
@@ -33,12 +33,12 @@ export type SafeProxy_jsonContract = any;
33
33
  * ```typescript
34
34
  * import { createPublicClient, createWalletClient, http } from 'viem';
35
35
  * import { mainnet } from 'viem/chains';
36
- * import { SafeProxy_json } from 'SafeProxy_json';
36
+ * import { SafeProxy } from 'SafeProxy';
37
37
  *
38
38
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
39
39
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
40
40
  *
41
- * const contract = new SafeProxy_json('0x...', { publicClient, walletClient });
41
+ * const contract = new SafeProxy('0x...', { publicClient, walletClient });
42
42
  *
43
43
  * // Read functions
44
44
  * const result = await contract.balanceOf('0x...');
@@ -56,7 +56,7 @@ export type SafeProxy_jsonContract = any;
56
56
  * });
57
57
  * ```
58
58
  */
59
- export declare class SafeProxy_json {
59
+ export declare class SafeProxy {
60
60
  private contract;
61
61
  private contractAddress;
62
62
  private publicClient;
@@ -69,9 +69,9 @@ export declare class SafeProxy_json {
69
69
  */
70
70
  get address(): Address;
71
71
  /**
72
- * Get the underlying viem contract instance
72
+ * Get the underlying viem contract instance.
73
73
  */
74
- getContract(): SafeProxy_jsonContract;
74
+ getContract(): SafeProxyContract;
75
75
  /**
76
76
  * Simulate contract write operations (dry-run without sending transaction)
77
77
  *
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SafeProxy_json = exports.SafeProxy_jsonAbi = void 0;
3
+ exports.SafeProxy = exports.SafeProxyAbi = void 0;
4
4
  const viem_1 = require("viem");
5
5
  /**
6
- * SafeProxy_json ABI
6
+ * SafeProxy ABI
7
7
  *
8
8
  * This ABI is typed using viem's type system for full type safety.
9
9
  */
10
- exports.SafeProxy_jsonAbi = [
10
+ exports.SafeProxyAbi = [
11
11
  {
12
12
  "inputs": [
13
13
  {
@@ -25,7 +25,7 @@ exports.SafeProxy_jsonAbi = [
25
25
  }
26
26
  ];
27
27
  /**
28
- * SafeProxy_json Contract Class
28
+ * SafeProxy Contract Class
29
29
  *
30
30
  * Provides a class-based API similar to TypeChain for interacting with the contract.
31
31
  *
@@ -33,12 +33,12 @@ exports.SafeProxy_jsonAbi = [
33
33
  * ```typescript
34
34
  * import { createPublicClient, createWalletClient, http } from 'viem';
35
35
  * import { mainnet } from 'viem/chains';
36
- * import { SafeProxy_json } from 'SafeProxy_json';
36
+ * import { SafeProxy } from 'SafeProxy';
37
37
  *
38
38
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
39
39
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
40
40
  *
41
- * const contract = new SafeProxy_json('0x...', { publicClient, walletClient });
41
+ * const contract = new SafeProxy('0x...', { publicClient, walletClient });
42
42
  *
43
43
  * // Read functions
44
44
  * const result = await contract.balanceOf('0x...');
@@ -56,13 +56,13 @@ exports.SafeProxy_jsonAbi = [
56
56
  * });
57
57
  * ```
58
58
  */
59
- class SafeProxy_json {
59
+ class SafeProxy {
60
60
  constructor(address, clients) {
61
61
  this.contractAddress = address;
62
62
  this.publicClient = clients.publicClient;
63
63
  this.contract = (0, viem_1.getContract)({
64
64
  address,
65
- abi: exports.SafeProxy_jsonAbi,
65
+ abi: exports.SafeProxyAbi,
66
66
  client: {
67
67
  public: clients.publicClient,
68
68
  wallet: clients.walletClient,
@@ -76,7 +76,7 @@ class SafeProxy_json {
76
76
  return this.contractAddress;
77
77
  }
78
78
  /**
79
- * Get the underlying viem contract instance
79
+ * Get the underlying viem contract instance.
80
80
  */
81
81
  getContract() {
82
82
  return this.contract;
@@ -100,4 +100,4 @@ class SafeProxy_json {
100
100
  return {};
101
101
  }
102
102
  }
103
- exports.SafeProxy_json = SafeProxy_json;
103
+ exports.SafeProxy = SafeProxy;
@@ -2,11 +2,11 @@ import type { Abi, Address, PublicClient, WalletClient, GetContractReturnType }
2
2
  import { getContract } from 'viem';
3
3
 
4
4
  /**
5
- * SafeProxy_json ABI
5
+ * SafeProxy ABI
6
6
  *
7
7
  * This ABI is typed using viem's type system for full type safety.
8
8
  */
9
- export const SafeProxy_jsonAbi = [
9
+ export const SafeProxyAbi = [
10
10
  {
11
11
  "inputs": [
12
12
  {
@@ -25,19 +25,19 @@ export const SafeProxy_jsonAbi = [
25
25
  ] as const satisfies Abi;
26
26
 
27
27
  /**
28
- * Type-safe ABI for SafeProxy_json
28
+ * Type-safe ABI for SafeProxy
29
29
  */
30
- export type SafeProxy_jsonAbi = typeof SafeProxy_jsonAbi;
30
+ export type SafeProxyAbi = typeof SafeProxyAbi;
31
31
 
32
32
  /**
33
- * Contract instance type for SafeProxy_json
33
+ * Contract instance type for SafeProxy
34
34
  */
35
35
  // Use any for contract type to avoid complex viem type issues
36
36
  // The runtime behavior is type-safe through viem's ABI typing
37
- export type SafeProxy_jsonContract = any;
37
+ export type SafeProxyContract = any;
38
38
 
39
39
  /**
40
- * SafeProxy_json Contract Class
40
+ * SafeProxy Contract Class
41
41
  *
42
42
  * Provides a class-based API similar to TypeChain for interacting with the contract.
43
43
  *
@@ -45,12 +45,12 @@ export type SafeProxy_jsonContract = any;
45
45
  * ```typescript
46
46
  * import { createPublicClient, createWalletClient, http } from 'viem';
47
47
  * import { mainnet } from 'viem/chains';
48
- * import { SafeProxy_json } from 'SafeProxy_json';
48
+ * import { SafeProxy } from 'SafeProxy';
49
49
  *
50
50
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
51
51
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
52
52
  *
53
- * const contract = new SafeProxy_json('0x...', { publicClient, walletClient });
53
+ * const contract = new SafeProxy('0x...', { publicClient, walletClient });
54
54
  *
55
55
  * // Read functions
56
56
  * const result = await contract.balanceOf('0x...');
@@ -68,8 +68,8 @@ export type SafeProxy_jsonContract = any;
68
68
  * });
69
69
  * ```
70
70
  */
71
- export class SafeProxy_json {
72
- private contract: SafeProxy_jsonContract;
71
+ export class SafeProxy {
72
+ private contract: SafeProxyContract;
73
73
  private contractAddress: Address;
74
74
  private publicClient: PublicClient;
75
75
 
@@ -84,7 +84,7 @@ export class SafeProxy_json {
84
84
  this.publicClient = clients.publicClient;
85
85
  this.contract = getContract({
86
86
  address,
87
- abi: SafeProxy_jsonAbi,
87
+ abi: SafeProxyAbi,
88
88
  client: {
89
89
  public: clients.publicClient,
90
90
  wallet: clients.walletClient,
@@ -100,9 +100,9 @@ export class SafeProxy_json {
100
100
  }
101
101
 
102
102
  /**
103
- * Get the underlying viem contract instance
103
+ * Get the underlying viem contract instance.
104
104
  */
105
- getContract(): SafeProxy_jsonContract {
105
+ getContract(): SafeProxyContract {
106
106
  return this.contract;
107
107
  }
108
108
 
@@ -1,4 +1,4 @@
1
- export { SafeProxy_jsonAbi, SafeProxy_json } from './SafeProxy_json';
2
- export type { SafeProxy_jsonAbi as SafeProxy_jsonAbiType, SafeProxy_jsonContract } from './SafeProxy_json';
3
- export { Safe_jsonAbi, Safe_json } from './Safe_json';
4
- export type { Safe_jsonAbi as Safe_jsonAbiType, Safe_jsonContract } from './Safe_json';
1
+ export { SafeAbi, Safe } from './Safe';
2
+ export type { SafeAbi as SafeAbiType, SafeContract } from './Safe';
3
+ export { SafeProxyAbi, SafeProxy } from './SafeProxy';
4
+ export type { SafeProxyAbi as SafeProxyAbiType, SafeProxyContract } from './SafeProxy';
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Safe_json = exports.Safe_jsonAbi = exports.SafeProxy_json = exports.SafeProxy_jsonAbi = void 0;
3
+ exports.SafeProxy = exports.SafeProxyAbi = exports.Safe = exports.SafeAbi = void 0;
4
4
  // Auto-generated exports for all contracts
5
- var SafeProxy_json_1 = require("./SafeProxy_json");
6
- Object.defineProperty(exports, "SafeProxy_jsonAbi", { enumerable: true, get: function () { return SafeProxy_json_1.SafeProxy_jsonAbi; } });
7
- Object.defineProperty(exports, "SafeProxy_json", { enumerable: true, get: function () { return SafeProxy_json_1.SafeProxy_json; } });
8
- var Safe_json_1 = require("./Safe_json");
9
- Object.defineProperty(exports, "Safe_jsonAbi", { enumerable: true, get: function () { return Safe_json_1.Safe_jsonAbi; } });
10
- Object.defineProperty(exports, "Safe_json", { enumerable: true, get: function () { return Safe_json_1.Safe_json; } });
5
+ var Safe_1 = require("./Safe");
6
+ Object.defineProperty(exports, "SafeAbi", { enumerable: true, get: function () { return Safe_1.SafeAbi; } });
7
+ Object.defineProperty(exports, "Safe", { enumerable: true, get: function () { return Safe_1.Safe; } });
8
+ var SafeProxy_1 = require("./SafeProxy");
9
+ Object.defineProperty(exports, "SafeProxyAbi", { enumerable: true, get: function () { return SafeProxy_1.SafeProxyAbi; } });
10
+ Object.defineProperty(exports, "SafeProxy", { enumerable: true, get: function () { return SafeProxy_1.SafeProxy; } });
@@ -1,5 +1,5 @@
1
1
  // Auto-generated exports for all contracts
2
- export { SafeProxy_jsonAbi, SafeProxy_json } from './SafeProxy_json';
3
- export type { SafeProxy_jsonAbi as SafeProxy_jsonAbiType, SafeProxy_jsonContract } from './SafeProxy_json';
4
- export { Safe_jsonAbi, Safe_json } from './Safe_json';
5
- export type { Safe_jsonAbi as Safe_jsonAbiType, Safe_jsonContract } from './Safe_json';
2
+ export { SafeAbi, Safe } from './Safe';
3
+ export type { SafeAbi as SafeAbiType, SafeContract } from './Safe';
4
+ export { SafeProxyAbi, SafeProxy } from './SafeProxy';
5
+ export type { SafeProxyAbi as SafeProxyAbiType, SafeProxyContract } from './SafeProxy';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gitmyabi/safe",
3
- "version": "1.0.278",
4
- "description": "Auto-generated TypeScript type bindings for Safe (build etherscan-safe-8cef85a5-1793711227212, commit f8e008d, branch etherscan)",
3
+ "version": "1.0.280",
4
+ "description": "Auto-generated TypeScript type bindings for Safe (build etherscan-safe-eabcb8c0-1793834104868, commit 82fa94a, branch etherscan)",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
7
7
  "exports": {
@@ -30,7 +30,7 @@
30
30
  "abi",
31
31
  "ethers-v6"
32
32
  ],
33
- "license": "MIT",
33
+ "license": "Apache-2.0",
34
34
  "dependencies": {
35
35
  "viem": "^2.0.0"
36
36
  },
@@ -39,5 +39,5 @@
39
39
  "url": "https://github.com/etherscan/safe"
40
40
  },
41
41
  "branch": "etherscan",
42
- "shortHash": "f8e008d"
42
+ "shortHash": "82fa94a"
43
43
  }