@gitmyabi/gnosissafe 1.0.81 → 1.0.82
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 +3 -3
- package/contracts/GnosisSafe_json.d.ts +24 -3
- package/contracts/GnosisSafe_json.js +31 -3
- package/contracts/GnosisSafe_json.ts +32 -3
- package/package.json +3 -3
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-
|
|
5
|
+
- **Build ID**: `etherscan-gnosissafe-bba89fd5-1788088769074`
|
|
6
6
|
- **Build Number**: 1
|
|
7
|
-
- **Commit**: `
|
|
7
|
+
- **Commit**: `74a42f8`
|
|
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.
|
|
15
|
+
npm install @gitmyabi/gnosissafe@1.0.82
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Usage
|
|
@@ -385,8 +385,8 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
385
385
|
readonly name: "success";
|
|
386
386
|
readonly type: "bool";
|
|
387
387
|
}];
|
|
388
|
-
readonly payable:
|
|
389
|
-
readonly stateMutability: "
|
|
388
|
+
readonly payable: true;
|
|
389
|
+
readonly stateMutability: "payable";
|
|
390
390
|
readonly type: "function";
|
|
391
391
|
}, {
|
|
392
392
|
readonly constant: false;
|
|
@@ -576,6 +576,22 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
576
576
|
readonly payable: false;
|
|
577
577
|
readonly stateMutability: "view";
|
|
578
578
|
readonly type: "function";
|
|
579
|
+
}, {
|
|
580
|
+
readonly constant: true;
|
|
581
|
+
readonly inputs: readonly [{
|
|
582
|
+
readonly internalType: "contract Module";
|
|
583
|
+
readonly name: "module";
|
|
584
|
+
readonly type: "address";
|
|
585
|
+
}];
|
|
586
|
+
readonly name: "isModuleEnabled";
|
|
587
|
+
readonly outputs: readonly [{
|
|
588
|
+
readonly internalType: "bool";
|
|
589
|
+
readonly name: "";
|
|
590
|
+
readonly type: "bool";
|
|
591
|
+
}];
|
|
592
|
+
readonly payable: false;
|
|
593
|
+
readonly stateMutability: "view";
|
|
594
|
+
readonly type: "function";
|
|
579
595
|
}, {
|
|
580
596
|
readonly constant: true;
|
|
581
597
|
readonly inputs: readonly [{
|
|
@@ -884,6 +900,11 @@ export declare class GnosisSafe_json {
|
|
|
884
900
|
* view
|
|
885
901
|
*/
|
|
886
902
|
getTransactionHash(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, safeTxGas: bigint, baseGas: bigint, gasPrice: bigint, gasToken: `0x${string}`, refundReceiver: `0x${string}`, _nonce: bigint): Promise<`0x${string}`>;
|
|
903
|
+
/**
|
|
904
|
+
* isModuleEnabled
|
|
905
|
+
* view
|
|
906
|
+
*/
|
|
907
|
+
isModuleEnabled(module: `0x${string}`): Promise<boolean>;
|
|
887
908
|
/**
|
|
888
909
|
* isOwner
|
|
889
910
|
* view
|
|
@@ -1003,7 +1024,7 @@ export declare class GnosisSafe_json {
|
|
|
1003
1024
|
}): Promise<`0x${string}`>;
|
|
1004
1025
|
/**
|
|
1005
1026
|
* execTransaction
|
|
1006
|
-
*
|
|
1027
|
+
* payable
|
|
1007
1028
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1008
1029
|
*/
|
|
1009
1030
|
execTransaction(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, safeTxGas: bigint, baseGas: bigint, gasPrice: bigint, gasToken: `0x${string}`, refundReceiver: `0x${string}`, signatures: `0x${string}`, options?: {
|
|
@@ -492,8 +492,8 @@ exports.GnosisSafe_jsonAbi = [
|
|
|
492
492
|
"type": "bool"
|
|
493
493
|
}
|
|
494
494
|
],
|
|
495
|
-
"payable":
|
|
496
|
-
"stateMutability": "
|
|
495
|
+
"payable": true,
|
|
496
|
+
"stateMutability": "payable",
|
|
497
497
|
"type": "function"
|
|
498
498
|
},
|
|
499
499
|
{
|
|
@@ -736,6 +736,27 @@ exports.GnosisSafe_jsonAbi = [
|
|
|
736
736
|
"stateMutability": "view",
|
|
737
737
|
"type": "function"
|
|
738
738
|
},
|
|
739
|
+
{
|
|
740
|
+
"constant": true,
|
|
741
|
+
"inputs": [
|
|
742
|
+
{
|
|
743
|
+
"internalType": "contract Module",
|
|
744
|
+
"name": "module",
|
|
745
|
+
"type": "address"
|
|
746
|
+
}
|
|
747
|
+
],
|
|
748
|
+
"name": "isModuleEnabled",
|
|
749
|
+
"outputs": [
|
|
750
|
+
{
|
|
751
|
+
"internalType": "bool",
|
|
752
|
+
"name": "",
|
|
753
|
+
"type": "bool"
|
|
754
|
+
}
|
|
755
|
+
],
|
|
756
|
+
"payable": false,
|
|
757
|
+
"stateMutability": "view",
|
|
758
|
+
"type": "function"
|
|
759
|
+
},
|
|
739
760
|
{
|
|
740
761
|
"constant": true,
|
|
741
762
|
"inputs": [
|
|
@@ -1120,6 +1141,13 @@ class GnosisSafe_json {
|
|
|
1120
1141
|
async getTransactionHash(to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, _nonce) {
|
|
1121
1142
|
return this.contract.read.getTransactionHash([to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, _nonce]);
|
|
1122
1143
|
}
|
|
1144
|
+
/**
|
|
1145
|
+
* isModuleEnabled
|
|
1146
|
+
* view
|
|
1147
|
+
*/
|
|
1148
|
+
async isModuleEnabled(module) {
|
|
1149
|
+
return this.contract.read.isModuleEnabled([module]);
|
|
1150
|
+
}
|
|
1123
1151
|
/**
|
|
1124
1152
|
* isOwner
|
|
1125
1153
|
* view
|
|
@@ -1209,7 +1237,7 @@ class GnosisSafe_json {
|
|
|
1209
1237
|
}
|
|
1210
1238
|
/**
|
|
1211
1239
|
* execTransaction
|
|
1212
|
-
*
|
|
1240
|
+
* payable
|
|
1213
1241
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1214
1242
|
*/
|
|
1215
1243
|
async execTransaction(to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, signatures, options) {
|
|
@@ -491,8 +491,8 @@ export const GnosisSafe_jsonAbi = [
|
|
|
491
491
|
"type": "bool"
|
|
492
492
|
}
|
|
493
493
|
],
|
|
494
|
-
"payable":
|
|
495
|
-
"stateMutability": "
|
|
494
|
+
"payable": true,
|
|
495
|
+
"stateMutability": "payable",
|
|
496
496
|
"type": "function"
|
|
497
497
|
},
|
|
498
498
|
{
|
|
@@ -735,6 +735,27 @@ export const GnosisSafe_jsonAbi = [
|
|
|
735
735
|
"stateMutability": "view",
|
|
736
736
|
"type": "function"
|
|
737
737
|
},
|
|
738
|
+
{
|
|
739
|
+
"constant": true,
|
|
740
|
+
"inputs": [
|
|
741
|
+
{
|
|
742
|
+
"internalType": "contract Module",
|
|
743
|
+
"name": "module",
|
|
744
|
+
"type": "address"
|
|
745
|
+
}
|
|
746
|
+
],
|
|
747
|
+
"name": "isModuleEnabled",
|
|
748
|
+
"outputs": [
|
|
749
|
+
{
|
|
750
|
+
"internalType": "bool",
|
|
751
|
+
"name": "",
|
|
752
|
+
"type": "bool"
|
|
753
|
+
}
|
|
754
|
+
],
|
|
755
|
+
"payable": false,
|
|
756
|
+
"stateMutability": "view",
|
|
757
|
+
"type": "function"
|
|
758
|
+
},
|
|
738
759
|
{
|
|
739
760
|
"constant": true,
|
|
740
761
|
"inputs": [
|
|
@@ -1156,6 +1177,14 @@ export class GnosisSafe_json {
|
|
|
1156
1177
|
return this.contract.read.getTransactionHash([to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, _nonce] as const) as Promise<`0x${string}`>;
|
|
1157
1178
|
}
|
|
1158
1179
|
|
|
1180
|
+
/**
|
|
1181
|
+
* isModuleEnabled
|
|
1182
|
+
* view
|
|
1183
|
+
*/
|
|
1184
|
+
async isModuleEnabled(module: `0x${string}`): Promise<boolean> {
|
|
1185
|
+
return this.contract.read.isModuleEnabled([module] as const) as Promise<boolean>;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1159
1188
|
/**
|
|
1160
1189
|
* isOwner
|
|
1161
1190
|
* view
|
|
@@ -1320,7 +1349,7 @@ export class GnosisSafe_json {
|
|
|
1320
1349
|
|
|
1321
1350
|
/**
|
|
1322
1351
|
* execTransaction
|
|
1323
|
-
*
|
|
1352
|
+
* payable
|
|
1324
1353
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1325
1354
|
*/
|
|
1326
1355
|
async execTransaction(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, safeTxGas: bigint, baseGas: bigint, gasPrice: bigint, gasToken: `0x${string}`, refundReceiver: `0x${string}`, signatures: `0x${string}`, options?: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitmyabi/gnosissafe",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Auto-generated TypeScript type bindings for GnosisSafe (build etherscan-gnosissafe-
|
|
3
|
+
"version": "1.0.82",
|
|
4
|
+
"description": "Auto-generated TypeScript type bindings for GnosisSafe (build etherscan-gnosissafe-bba89fd5-1788088769074, commit 74a42f8, 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": "
|
|
42
|
+
"shortHash": "74a42f8"
|
|
43
43
|
}
|