@gitmyabi/gnosissafe 1.0.5 → 1.0.7

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 **GnosisSafe**
4
4
 
5
- - **Build ID**: `etherscan-gnosissafe-f326e4de-1785485023260`
5
+ - **Build ID**: `etherscan-gnosissafe-d6abb89b-1785594398087`
6
6
  - **Build Number**: 1
7
- - **Commit**: `3a0dfbe`
7
+ - **Commit**: `41a9831`
8
8
  - **Branch**: `etherscan`
9
9
  - **Target**: `ethers-v6`
10
10
  - **Contracts**: 2
@@ -12,7 +12,7 @@ Auto-generated TypeScript type bindings for **GnosisSafe**
12
12
  ## Installation
13
13
 
14
14
  ```bash
15
- npm install @gitmyabi/gnosissafe@1.0.5
15
+ npm install @gitmyabi/gnosissafe@1.0.7
16
16
  ```
17
17
 
18
18
  ## Usage
@@ -1,33 +1,31 @@
1
1
  import type { Address, PublicClient, WalletClient } from 'viem';
2
2
  /**
3
- * Proxy_json ABI
3
+ * GnosisSafeProxy_json ABI
4
4
  *
5
5
  * This ABI is typed using viem's type system for full type safety.
6
6
  */
7
- export declare const Proxy_jsonAbi: readonly [{
7
+ export declare const GnosisSafeProxy_jsonAbi: readonly [{
8
8
  readonly inputs: readonly [{
9
9
  readonly internalType: "address";
10
- readonly name: "_masterCopy";
10
+ readonly name: "_singleton";
11
11
  readonly type: "address";
12
12
  }];
13
- readonly payable: false;
14
13
  readonly stateMutability: "nonpayable";
15
14
  readonly type: "constructor";
16
15
  }, {
17
- readonly payable: true;
18
16
  readonly stateMutability: "payable";
19
17
  readonly type: "fallback";
20
18
  }];
21
19
  /**
22
- * Type-safe ABI for Proxy_json
20
+ * Type-safe ABI for GnosisSafeProxy_json
23
21
  */
24
- export type Proxy_jsonAbi = typeof Proxy_jsonAbi;
22
+ export type GnosisSafeProxy_jsonAbi = typeof GnosisSafeProxy_jsonAbi;
25
23
  /**
26
- * Contract instance type for Proxy_json
24
+ * Contract instance type for GnosisSafeProxy_json
27
25
  */
28
- export type Proxy_jsonContract = any;
26
+ export type GnosisSafeProxy_jsonContract = any;
29
27
  /**
30
- * Proxy_json Contract Class
28
+ * GnosisSafeProxy_json Contract Class
31
29
  *
32
30
  * Provides a class-based API similar to TypeChain for interacting with the contract.
33
31
  *
@@ -35,12 +33,12 @@ export type Proxy_jsonContract = any;
35
33
  * ```typescript
36
34
  * import { createPublicClient, createWalletClient, http } from 'viem';
37
35
  * import { mainnet } from 'viem/chains';
38
- * import { Proxy_json } from 'Proxy_json';
36
+ * import { GnosisSafeProxy_json } from 'GnosisSafeProxy_json';
39
37
  *
40
38
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
41
39
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
42
40
  *
43
- * const contract = new Proxy_json('0x...', { publicClient, walletClient });
41
+ * const contract = new GnosisSafeProxy_json('0x...', { publicClient, walletClient });
44
42
  *
45
43
  * // Read functions
46
44
  * const result = await contract.balanceOf('0x...');
@@ -58,7 +56,7 @@ export type Proxy_jsonContract = any;
58
56
  * });
59
57
  * ```
60
58
  */
61
- export declare class Proxy_json {
59
+ export declare class GnosisSafeProxy_json {
62
60
  private contract;
63
61
  private contractAddress;
64
62
  private publicClient;
@@ -73,7 +71,7 @@ export declare class Proxy_json {
73
71
  /**
74
72
  * Get the underlying viem contract instance
75
73
  */
76
- getContract(): Proxy_jsonContract;
74
+ getContract(): GnosisSafeProxy_jsonContract;
77
75
  /**
78
76
  * Simulate contract write operations (dry-run without sending transaction)
79
77
  *
@@ -1,33 +1,31 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Proxy_json = exports.Proxy_jsonAbi = void 0;
3
+ exports.GnosisSafeProxy_json = exports.GnosisSafeProxy_jsonAbi = void 0;
4
4
  const viem_1 = require("viem");
5
5
  /**
6
- * Proxy_json ABI
6
+ * GnosisSafeProxy_json ABI
7
7
  *
8
8
  * This ABI is typed using viem's type system for full type safety.
9
9
  */
10
- exports.Proxy_jsonAbi = [
10
+ exports.GnosisSafeProxy_jsonAbi = [
11
11
  {
12
12
  "inputs": [
13
13
  {
14
14
  "internalType": "address",
15
- "name": "_masterCopy",
15
+ "name": "_singleton",
16
16
  "type": "address"
17
17
  }
18
18
  ],
19
- "payable": false,
20
19
  "stateMutability": "nonpayable",
21
20
  "type": "constructor"
22
21
  },
23
22
  {
24
- "payable": true,
25
23
  "stateMutability": "payable",
26
24
  "type": "fallback"
27
25
  }
28
26
  ];
29
27
  /**
30
- * Proxy_json Contract Class
28
+ * GnosisSafeProxy_json Contract Class
31
29
  *
32
30
  * Provides a class-based API similar to TypeChain for interacting with the contract.
33
31
  *
@@ -35,12 +33,12 @@ exports.Proxy_jsonAbi = [
35
33
  * ```typescript
36
34
  * import { createPublicClient, createWalletClient, http } from 'viem';
37
35
  * import { mainnet } from 'viem/chains';
38
- * import { Proxy_json } from 'Proxy_json';
36
+ * import { GnosisSafeProxy_json } from 'GnosisSafeProxy_json';
39
37
  *
40
38
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
41
39
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
42
40
  *
43
- * const contract = new Proxy_json('0x...', { publicClient, walletClient });
41
+ * const contract = new GnosisSafeProxy_json('0x...', { publicClient, walletClient });
44
42
  *
45
43
  * // Read functions
46
44
  * const result = await contract.balanceOf('0x...');
@@ -58,13 +56,13 @@ exports.Proxy_jsonAbi = [
58
56
  * });
59
57
  * ```
60
58
  */
61
- class Proxy_json {
59
+ class GnosisSafeProxy_json {
62
60
  constructor(address, clients) {
63
61
  this.contractAddress = address;
64
62
  this.publicClient = clients.publicClient;
65
63
  this.contract = (0, viem_1.getContract)({
66
64
  address,
67
- abi: exports.Proxy_jsonAbi,
65
+ abi: exports.GnosisSafeProxy_jsonAbi,
68
66
  client: {
69
67
  public: clients.publicClient,
70
68
  wallet: clients.walletClient,
@@ -102,4 +100,4 @@ class Proxy_json {
102
100
  return {};
103
101
  }
104
102
  }
105
- exports.Proxy_json = Proxy_json;
103
+ exports.GnosisSafeProxy_json = GnosisSafeProxy_json;
@@ -2,44 +2,42 @@ import type { Abi, Address, PublicClient, WalletClient, GetContractReturnType }
2
2
  import { getContract } from 'viem';
3
3
 
4
4
  /**
5
- * Proxy_json ABI
5
+ * GnosisSafeProxy_json ABI
6
6
  *
7
7
  * This ABI is typed using viem's type system for full type safety.
8
8
  */
9
- export const Proxy_jsonAbi = [
9
+ export const GnosisSafeProxy_jsonAbi = [
10
10
  {
11
11
  "inputs": [
12
12
  {
13
13
  "internalType": "address",
14
- "name": "_masterCopy",
14
+ "name": "_singleton",
15
15
  "type": "address"
16
16
  }
17
17
  ],
18
- "payable": false,
19
18
  "stateMutability": "nonpayable",
20
19
  "type": "constructor"
21
20
  },
22
21
  {
23
- "payable": true,
24
22
  "stateMutability": "payable",
25
23
  "type": "fallback"
26
24
  }
27
25
  ] as const satisfies Abi;
28
26
 
29
27
  /**
30
- * Type-safe ABI for Proxy_json
28
+ * Type-safe ABI for GnosisSafeProxy_json
31
29
  */
32
- export type Proxy_jsonAbi = typeof Proxy_jsonAbi;
30
+ export type GnosisSafeProxy_jsonAbi = typeof GnosisSafeProxy_jsonAbi;
33
31
 
34
32
  /**
35
- * Contract instance type for Proxy_json
33
+ * Contract instance type for GnosisSafeProxy_json
36
34
  */
37
35
  // Use any for contract type to avoid complex viem type issues
38
36
  // The runtime behavior is type-safe through viem's ABI typing
39
- export type Proxy_jsonContract = any;
37
+ export type GnosisSafeProxy_jsonContract = any;
40
38
 
41
39
  /**
42
- * Proxy_json Contract Class
40
+ * GnosisSafeProxy_json Contract Class
43
41
  *
44
42
  * Provides a class-based API similar to TypeChain for interacting with the contract.
45
43
  *
@@ -47,12 +45,12 @@ export type Proxy_jsonContract = any;
47
45
  * ```typescript
48
46
  * import { createPublicClient, createWalletClient, http } from 'viem';
49
47
  * import { mainnet } from 'viem/chains';
50
- * import { Proxy_json } from 'Proxy_json';
48
+ * import { GnosisSafeProxy_json } from 'GnosisSafeProxy_json';
51
49
  *
52
50
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
53
51
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
54
52
  *
55
- * const contract = new Proxy_json('0x...', { publicClient, walletClient });
53
+ * const contract = new GnosisSafeProxy_json('0x...', { publicClient, walletClient });
56
54
  *
57
55
  * // Read functions
58
56
  * const result = await contract.balanceOf('0x...');
@@ -70,8 +68,8 @@ export type Proxy_jsonContract = any;
70
68
  * });
71
69
  * ```
72
70
  */
73
- export class Proxy_json {
74
- private contract: Proxy_jsonContract;
71
+ export class GnosisSafeProxy_json {
72
+ private contract: GnosisSafeProxy_jsonContract;
75
73
  private contractAddress: Address;
76
74
  private publicClient: PublicClient;
77
75
 
@@ -86,7 +84,7 @@ export class Proxy_json {
86
84
  this.publicClient = clients.publicClient;
87
85
  this.contract = getContract({
88
86
  address,
89
- abi: Proxy_jsonAbi,
87
+ abi: GnosisSafeProxy_jsonAbi,
90
88
  client: {
91
89
  public: clients.publicClient,
92
90
  wallet: clients.walletClient,
@@ -104,7 +102,7 @@ export class Proxy_json {
104
102
  /**
105
103
  * Get the underlying viem contract instance
106
104
  */
107
- getContract(): Proxy_jsonContract {
105
+ getContract(): GnosisSafeProxy_jsonContract {
108
106
  return this.contract;
109
107
  }
110
108
 
@@ -1,4 +1,4 @@
1
- export { Proxy_jsonAbi, Proxy_json } from './Proxy_json';
2
- export type { Proxy_jsonAbi as Proxy_jsonAbiType, Proxy_jsonContract } from './Proxy_json';
1
+ export { GnosisSafeProxy_jsonAbi, GnosisSafeProxy_json } from './GnosisSafeProxy_json';
2
+ export type { GnosisSafeProxy_jsonAbi as GnosisSafeProxy_jsonAbiType, GnosisSafeProxy_jsonContract } from './GnosisSafeProxy_json';
3
3
  export { GnosisSafe_jsonAbi, GnosisSafe_json } from './GnosisSafe_json';
4
4
  export type { GnosisSafe_jsonAbi as GnosisSafe_jsonAbiType, GnosisSafe_jsonContract } from './GnosisSafe_json';
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GnosisSafe_json = exports.GnosisSafe_jsonAbi = exports.Proxy_json = exports.Proxy_jsonAbi = void 0;
3
+ exports.GnosisSafe_json = exports.GnosisSafe_jsonAbi = exports.GnosisSafeProxy_json = exports.GnosisSafeProxy_jsonAbi = void 0;
4
4
  // Auto-generated exports for all contracts
5
- var Proxy_json_1 = require("./Proxy_json");
6
- Object.defineProperty(exports, "Proxy_jsonAbi", { enumerable: true, get: function () { return Proxy_json_1.Proxy_jsonAbi; } });
7
- Object.defineProperty(exports, "Proxy_json", { enumerable: true, get: function () { return Proxy_json_1.Proxy_json; } });
5
+ var GnosisSafeProxy_json_1 = require("./GnosisSafeProxy_json");
6
+ Object.defineProperty(exports, "GnosisSafeProxy_jsonAbi", { enumerable: true, get: function () { return GnosisSafeProxy_json_1.GnosisSafeProxy_jsonAbi; } });
7
+ Object.defineProperty(exports, "GnosisSafeProxy_json", { enumerable: true, get: function () { return GnosisSafeProxy_json_1.GnosisSafeProxy_json; } });
8
8
  var GnosisSafe_json_1 = require("./GnosisSafe_json");
9
9
  Object.defineProperty(exports, "GnosisSafe_jsonAbi", { enumerable: true, get: function () { return GnosisSafe_json_1.GnosisSafe_jsonAbi; } });
10
10
  Object.defineProperty(exports, "GnosisSafe_json", { enumerable: true, get: function () { return GnosisSafe_json_1.GnosisSafe_json; } });
@@ -1,5 +1,5 @@
1
1
  // Auto-generated exports for all contracts
2
- export { Proxy_jsonAbi, Proxy_json } from './Proxy_json';
3
- export type { Proxy_jsonAbi as Proxy_jsonAbiType, Proxy_jsonContract } from './Proxy_json';
2
+ export { GnosisSafeProxy_jsonAbi, GnosisSafeProxy_json } from './GnosisSafeProxy_json';
3
+ export type { GnosisSafeProxy_jsonAbi as GnosisSafeProxy_jsonAbiType, GnosisSafeProxy_jsonContract } from './GnosisSafeProxy_json';
4
4
  export { GnosisSafe_jsonAbi, GnosisSafe_json } from './GnosisSafe_json';
5
5
  export type { GnosisSafe_jsonAbi as GnosisSafe_jsonAbiType, GnosisSafe_jsonContract } from './GnosisSafe_json';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gitmyabi/gnosissafe",
3
- "version": "1.0.5",
4
- "description": "Auto-generated TypeScript type bindings for GnosisSafe (build etherscan-gnosissafe-f326e4de-1785485023260, commit 3a0dfbe, branch etherscan)",
3
+ "version": "1.0.7",
4
+ "description": "Auto-generated TypeScript type bindings for GnosisSafe (build etherscan-gnosissafe-d6abb89b-1785594398087, commit 41a9831, 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/gnosissafe"
40
40
  },
41
41
  "branch": "etherscan",
42
- "shortHash": "3a0dfbe"
42
+ "shortHash": "41a9831"
43
43
  }