@safe-global/protocol-kit 3.1.0 → 3.1.1
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/dist/src/utils/eip-3770/config.js +7 -0
- package/dist/src/utils/eip-3770/config.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.d.ts +0 -211
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/common.d.ts +0 -50
- package/dist/typechain/tests/ethers-v6/v1.2.0/common.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/common.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.d.ts +0 -137
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/index.js +0 -31
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/ERC20Mintable__factory.d.ts +0 -290
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/ERC20Mintable__factory.js +0 -384
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/ERC20Mintable__factory.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/index.js +0 -9
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/index.js +0 -31
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/index.js +0 -31
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/index.js +0 -31
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/index.js +0 -31
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/SocialRecoveryModule__factory.d.ts +0 -240
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/SocialRecoveryModule__factory.js +0 -319
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/SocialRecoveryModule__factory.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/index.js +0 -9
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/index.js +0 -32
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/index.d.ts +0 -9
- package/dist/typechain/tests/ethers-v6/v1.2.0/index.js +0 -32
- package/dist/typechain/tests/ethers-v6/v1.2.0/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.3.0/DebugTransactionGuard.d.ts +0 -154
- package/dist/typechain/tests/ethers-v6/v1.3.0/DebugTransactionGuard.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.3.0/DebugTransactionGuard.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.3.0/common.d.ts +0 -50
- package/dist/typechain/tests/ethers-v6/v1.3.0/common.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.3.0/common.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.3.0/factories/DebugTransactionGuard__factory.d.ts +0 -178
- package/dist/typechain/tests/ethers-v6/v1.3.0/factories/DebugTransactionGuard__factory.js +0 -236
- package/dist/typechain/tests/ethers-v6/v1.3.0/factories/DebugTransactionGuard__factory.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.3.0/factories/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.3.0/factories/index.js +0 -9
- package/dist/typechain/tests/ethers-v6/v1.3.0/factories/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.3.0/index.d.ts +0 -3
- package/dist/typechain/tests/ethers-v6/v1.3.0/index.js +0 -30
- package/dist/typechain/tests/ethers-v6/v1.3.0/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.4.1/DebugTransactionGuard.d.ts +0 -168
- package/dist/typechain/tests/ethers-v6/v1.4.1/DebugTransactionGuard.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.4.1/DebugTransactionGuard.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.4.1/common.d.ts +0 -50
- package/dist/typechain/tests/ethers-v6/v1.4.1/common.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.4.1/common.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.4.1/factories/DebugTransactionGuard__factory.d.ts +0 -202
- package/dist/typechain/tests/ethers-v6/v1.4.1/factories/DebugTransactionGuard__factory.js +0 -267
- package/dist/typechain/tests/ethers-v6/v1.4.1/factories/DebugTransactionGuard__factory.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.4.1/factories/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.4.1/factories/index.js +0 -9
- package/dist/typechain/tests/ethers-v6/v1.4.1/factories/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.4.1/index.d.ts +0 -3
- package/dist/typechain/tests/ethers-v6/v1.4.1/index.js +0 -30
- package/dist/typechain/tests/ethers-v6/v1.4.1/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.d.ts +0 -72
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.js +0 -6
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/index.d.ts +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.d.ts +0 -42
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.js +0 -6
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/index.d.ts +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/index.d.ts +0 -4
- package/dist/typechain/tests/web3-v1/v1.2.0/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/types.d.ts +0 -54
- package/dist/typechain/tests/web3-v1/v1.2.0/types.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/types.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.3.0/DebugTransactionGuard.d.ts +0 -61
- package/dist/typechain/tests/web3-v1/v1.3.0/DebugTransactionGuard.js +0 -6
- package/dist/typechain/tests/web3-v1/v1.3.0/DebugTransactionGuard.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.3.0/index.d.ts +0 -1
- package/dist/typechain/tests/web3-v1/v1.3.0/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.3.0/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.3.0/types.d.ts +0 -54
- package/dist/typechain/tests/web3-v1/v1.3.0/types.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.3.0/types.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.4.1/DebugTransactionGuard.d.ts +0 -66
- package/dist/typechain/tests/web3-v1/v1.4.1/DebugTransactionGuard.js +0 -6
- package/dist/typechain/tests/web3-v1/v1.4.1/DebugTransactionGuard.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.4.1/index.d.ts +0 -1
- package/dist/typechain/tests/web3-v1/v1.4.1/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.4.1/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.4.1/types.d.ts +0 -54
- package/dist/typechain/tests/web3-v1/v1.4.1/types.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.4.1/types.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain/tests/web3-v1/v1.2.0/@openzeppelin/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain/tests/web3-v1/v1.2.0/contracts/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/index.ts"],"names":[],"mappings":""}
|
package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import type BN from "bn.js";
|
|
3
|
-
import type { ContractOptions } from "web3-eth-contract";
|
|
4
|
-
import type { EventLog } from "web3-core";
|
|
5
|
-
import type { EventEmitter } from "events";
|
|
6
|
-
import type { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "../../../types";
|
|
7
|
-
export interface EventOptions {
|
|
8
|
-
filter?: object;
|
|
9
|
-
fromBlock?: BlockType;
|
|
10
|
-
topics?: string[];
|
|
11
|
-
}
|
|
12
|
-
export type ChangedMasterCopy = ContractEventLog<{
|
|
13
|
-
masterCopy: string;
|
|
14
|
-
0: string;
|
|
15
|
-
}>;
|
|
16
|
-
export interface SocialRecoveryModule extends BaseContract {
|
|
17
|
-
constructor(jsonInterface: any[], address?: string, options?: ContractOptions): SocialRecoveryModule;
|
|
18
|
-
clone(): SocialRecoveryModule;
|
|
19
|
-
methods: {
|
|
20
|
-
NAME(): NonPayableTransactionObject<string>;
|
|
21
|
-
VERSION(): NonPayableTransactionObject<string>;
|
|
22
|
-
changeMasterCopy(_masterCopy: string): NonPayableTransactionObject<void>;
|
|
23
|
-
confirmTransaction(dataHash: string | number[]): NonPayableTransactionObject<void>;
|
|
24
|
-
friends(arg0: number | string | BN): NonPayableTransactionObject<string>;
|
|
25
|
-
getDataHash(data: string | number[]): NonPayableTransactionObject<string>;
|
|
26
|
-
isConfirmed(arg0: string | number[], arg1: string): NonPayableTransactionObject<boolean>;
|
|
27
|
-
isConfirmedByRequiredFriends(dataHash: string | number[]): NonPayableTransactionObject<boolean>;
|
|
28
|
-
isExecuted(arg0: string | number[]): NonPayableTransactionObject<boolean>;
|
|
29
|
-
isFriend(arg0: string): NonPayableTransactionObject<boolean>;
|
|
30
|
-
manager(): NonPayableTransactionObject<string>;
|
|
31
|
-
recoverAccess(prevOwner: string, oldOwner: string, newOwner: string): NonPayableTransactionObject<void>;
|
|
32
|
-
setup(_friends: string[], _threshold: number | string | BN): NonPayableTransactionObject<void>;
|
|
33
|
-
threshold(): NonPayableTransactionObject<string>;
|
|
34
|
-
};
|
|
35
|
-
events: {
|
|
36
|
-
ChangedMasterCopy(cb?: Callback<ChangedMasterCopy>): EventEmitter;
|
|
37
|
-
ChangedMasterCopy(options?: EventOptions, cb?: Callback<ChangedMasterCopy>): EventEmitter;
|
|
38
|
-
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
39
|
-
};
|
|
40
|
-
once(event: "ChangedMasterCopy", cb: Callback<ChangedMasterCopy>): void;
|
|
41
|
-
once(event: "ChangedMasterCopy", options: EventOptions, cb: Callback<ChangedMasterCopy>): void;
|
|
42
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SocialRecoveryModule.js","sourceRoot":"","sources":["../../../../../../../../typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { SocialRecoveryModule } from "./SocialRecoveryModule";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.2.0/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import type BN from "bn.js";
|
|
3
|
-
import type { EventEmitter } from "events";
|
|
4
|
-
import type { EventLog, PromiEvent, TransactionReceipt } from "web3-core/types";
|
|
5
|
-
import type { Contract } from "web3-eth-contract";
|
|
6
|
-
export interface EstimateGasOptions {
|
|
7
|
-
from?: string;
|
|
8
|
-
gas?: number;
|
|
9
|
-
value?: number | string | BN;
|
|
10
|
-
}
|
|
11
|
-
export interface EventOptions {
|
|
12
|
-
filter?: object;
|
|
13
|
-
fromBlock?: BlockType;
|
|
14
|
-
topics?: string[];
|
|
15
|
-
}
|
|
16
|
-
export type Callback<T> = (error: Error, result: T) => void;
|
|
17
|
-
export interface ContractEventLog<T> extends EventLog {
|
|
18
|
-
returnValues: T;
|
|
19
|
-
}
|
|
20
|
-
export interface ContractEventEmitter<T> extends EventEmitter {
|
|
21
|
-
on(event: "connected", listener: (subscriptionId: string) => void): this;
|
|
22
|
-
on(event: "data" | "changed", listener: (event: ContractEventLog<T>) => void): this;
|
|
23
|
-
on(event: "error", listener: (error: Error) => void): this;
|
|
24
|
-
}
|
|
25
|
-
export interface NonPayableTx {
|
|
26
|
-
nonce?: string | number | BN;
|
|
27
|
-
chainId?: string | number | BN;
|
|
28
|
-
from?: string;
|
|
29
|
-
to?: string;
|
|
30
|
-
data?: string;
|
|
31
|
-
gas?: string | number | BN;
|
|
32
|
-
maxPriorityFeePerGas?: string | number | BN;
|
|
33
|
-
maxFeePerGas?: string | number | BN;
|
|
34
|
-
gasPrice?: string | number | BN;
|
|
35
|
-
}
|
|
36
|
-
export interface PayableTx extends NonPayableTx {
|
|
37
|
-
value?: string | number | BN;
|
|
38
|
-
}
|
|
39
|
-
export interface NonPayableTransactionObject<T> {
|
|
40
|
-
arguments: any[];
|
|
41
|
-
call(tx?: NonPayableTx, block?: BlockType): Promise<T>;
|
|
42
|
-
send(tx?: NonPayableTx): PromiEvent<TransactionReceipt>;
|
|
43
|
-
estimateGas(tx?: NonPayableTx): Promise<number>;
|
|
44
|
-
encodeABI(): string;
|
|
45
|
-
}
|
|
46
|
-
export interface PayableTransactionObject<T> {
|
|
47
|
-
arguments: any[];
|
|
48
|
-
call(tx?: PayableTx, block?: BlockType): Promise<T>;
|
|
49
|
-
send(tx?: PayableTx): PromiEvent<TransactionReceipt>;
|
|
50
|
-
estimateGas(tx?: PayableTx): Promise<number>;
|
|
51
|
-
encodeABI(): string;
|
|
52
|
-
}
|
|
53
|
-
export type BlockType = "latest" | "pending" | "genesis" | "earliest" | number | BN;
|
|
54
|
-
export type BaseContract = Omit<Contract, "clone" | "once">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.2.0/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import type BN from "bn.js";
|
|
3
|
-
import type { ContractOptions } from "web3-eth-contract";
|
|
4
|
-
import type { EventLog } from "web3-core";
|
|
5
|
-
import type { EventEmitter } from "events";
|
|
6
|
-
import type { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "./types";
|
|
7
|
-
export interface EventOptions {
|
|
8
|
-
filter?: object;
|
|
9
|
-
fromBlock?: BlockType;
|
|
10
|
-
topics?: string[];
|
|
11
|
-
}
|
|
12
|
-
export type GasUsage = ContractEventLog<{
|
|
13
|
-
safe: string;
|
|
14
|
-
txHash: string;
|
|
15
|
-
nonce: string;
|
|
16
|
-
success: boolean;
|
|
17
|
-
0: string;
|
|
18
|
-
1: string;
|
|
19
|
-
2: string;
|
|
20
|
-
3: boolean;
|
|
21
|
-
}>;
|
|
22
|
-
export type TransactionDetails = ContractEventLog<{
|
|
23
|
-
safe: string;
|
|
24
|
-
txHash: string;
|
|
25
|
-
to: string;
|
|
26
|
-
value: string;
|
|
27
|
-
data: string;
|
|
28
|
-
operation: string;
|
|
29
|
-
safeTxGas: string;
|
|
30
|
-
usesRefund: boolean;
|
|
31
|
-
nonce: string;
|
|
32
|
-
0: string;
|
|
33
|
-
1: string;
|
|
34
|
-
2: string;
|
|
35
|
-
3: string;
|
|
36
|
-
4: string;
|
|
37
|
-
5: string;
|
|
38
|
-
6: string;
|
|
39
|
-
7: boolean;
|
|
40
|
-
8: string;
|
|
41
|
-
}>;
|
|
42
|
-
export interface DebugTransactionGuard extends BaseContract {
|
|
43
|
-
constructor(jsonInterface: any[], address?: string, options?: ContractOptions): DebugTransactionGuard;
|
|
44
|
-
clone(): DebugTransactionGuard;
|
|
45
|
-
methods: {
|
|
46
|
-
checkAfterExecution(txHash: string | number[], success: boolean): NonPayableTransactionObject<void>;
|
|
47
|
-
checkTransaction(to: string, value: number | string | BN, data: string | number[], operation: number | string | BN, safeTxGas: number | string | BN, baseGas: number | string | BN, gasPrice: number | string | BN, gasToken: string, refundReceiver: string, arg9: string | number[], arg10: string): NonPayableTransactionObject<void>;
|
|
48
|
-
txNonces(arg0: string | number[]): NonPayableTransactionObject<string>;
|
|
49
|
-
};
|
|
50
|
-
events: {
|
|
51
|
-
GasUsage(cb?: Callback<GasUsage>): EventEmitter;
|
|
52
|
-
GasUsage(options?: EventOptions, cb?: Callback<GasUsage>): EventEmitter;
|
|
53
|
-
TransactionDetails(cb?: Callback<TransactionDetails>): EventEmitter;
|
|
54
|
-
TransactionDetails(options?: EventOptions, cb?: Callback<TransactionDetails>): EventEmitter;
|
|
55
|
-
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
56
|
-
};
|
|
57
|
-
once(event: "GasUsage", cb: Callback<GasUsage>): void;
|
|
58
|
-
once(event: "GasUsage", options: EventOptions, cb: Callback<GasUsage>): void;
|
|
59
|
-
once(event: "TransactionDetails", cb: Callback<TransactionDetails>): void;
|
|
60
|
-
once(event: "TransactionDetails", options: EventOptions, cb: Callback<TransactionDetails>): void;
|
|
61
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DebugTransactionGuard.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.3.0/DebugTransactionGuard.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { DebugTransactionGuard } from "./DebugTransactionGuard";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.3.0/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import type BN from "bn.js";
|
|
3
|
-
import type { EventEmitter } from "events";
|
|
4
|
-
import type { EventLog, PromiEvent, TransactionReceipt } from "web3-core/types";
|
|
5
|
-
import type { Contract } from "web3-eth-contract";
|
|
6
|
-
export interface EstimateGasOptions {
|
|
7
|
-
from?: string;
|
|
8
|
-
gas?: number;
|
|
9
|
-
value?: number | string | BN;
|
|
10
|
-
}
|
|
11
|
-
export interface EventOptions {
|
|
12
|
-
filter?: object;
|
|
13
|
-
fromBlock?: BlockType;
|
|
14
|
-
topics?: string[];
|
|
15
|
-
}
|
|
16
|
-
export type Callback<T> = (error: Error, result: T) => void;
|
|
17
|
-
export interface ContractEventLog<T> extends EventLog {
|
|
18
|
-
returnValues: T;
|
|
19
|
-
}
|
|
20
|
-
export interface ContractEventEmitter<T> extends EventEmitter {
|
|
21
|
-
on(event: "connected", listener: (subscriptionId: string) => void): this;
|
|
22
|
-
on(event: "data" | "changed", listener: (event: ContractEventLog<T>) => void): this;
|
|
23
|
-
on(event: "error", listener: (error: Error) => void): this;
|
|
24
|
-
}
|
|
25
|
-
export interface NonPayableTx {
|
|
26
|
-
nonce?: string | number | BN;
|
|
27
|
-
chainId?: string | number | BN;
|
|
28
|
-
from?: string;
|
|
29
|
-
to?: string;
|
|
30
|
-
data?: string;
|
|
31
|
-
gas?: string | number | BN;
|
|
32
|
-
maxPriorityFeePerGas?: string | number | BN;
|
|
33
|
-
maxFeePerGas?: string | number | BN;
|
|
34
|
-
gasPrice?: string | number | BN;
|
|
35
|
-
}
|
|
36
|
-
export interface PayableTx extends NonPayableTx {
|
|
37
|
-
value?: string | number | BN;
|
|
38
|
-
}
|
|
39
|
-
export interface NonPayableTransactionObject<T> {
|
|
40
|
-
arguments: any[];
|
|
41
|
-
call(tx?: NonPayableTx, block?: BlockType): Promise<T>;
|
|
42
|
-
send(tx?: NonPayableTx): PromiEvent<TransactionReceipt>;
|
|
43
|
-
estimateGas(tx?: NonPayableTx): Promise<number>;
|
|
44
|
-
encodeABI(): string;
|
|
45
|
-
}
|
|
46
|
-
export interface PayableTransactionObject<T> {
|
|
47
|
-
arguments: any[];
|
|
48
|
-
call(tx?: PayableTx, block?: BlockType): Promise<T>;
|
|
49
|
-
send(tx?: PayableTx): PromiEvent<TransactionReceipt>;
|
|
50
|
-
estimateGas(tx?: PayableTx): Promise<number>;
|
|
51
|
-
encodeABI(): string;
|
|
52
|
-
}
|
|
53
|
-
export type BlockType = "latest" | "pending" | "genesis" | "earliest" | number | BN;
|
|
54
|
-
export type BaseContract = Omit<Contract, "clone" | "once">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.3.0/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import type BN from "bn.js";
|
|
3
|
-
import type { ContractOptions } from "web3-eth-contract";
|
|
4
|
-
import type { EventLog } from "web3-core";
|
|
5
|
-
import type { EventEmitter } from "events";
|
|
6
|
-
import type { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "./types";
|
|
7
|
-
export interface EventOptions {
|
|
8
|
-
filter?: object;
|
|
9
|
-
fromBlock?: BlockType;
|
|
10
|
-
topics?: string[];
|
|
11
|
-
}
|
|
12
|
-
export type GasUsage = ContractEventLog<{
|
|
13
|
-
safe: string;
|
|
14
|
-
txHash: string;
|
|
15
|
-
nonce: string;
|
|
16
|
-
success: boolean;
|
|
17
|
-
0: string;
|
|
18
|
-
1: string;
|
|
19
|
-
2: string;
|
|
20
|
-
3: boolean;
|
|
21
|
-
}>;
|
|
22
|
-
export type TransactionDetails = ContractEventLog<{
|
|
23
|
-
safe: string;
|
|
24
|
-
txHash: string;
|
|
25
|
-
to: string;
|
|
26
|
-
value: string;
|
|
27
|
-
data: string;
|
|
28
|
-
operation: string;
|
|
29
|
-
safeTxGas: string;
|
|
30
|
-
usesRefund: boolean;
|
|
31
|
-
nonce: string;
|
|
32
|
-
signatures: string;
|
|
33
|
-
executor: string;
|
|
34
|
-
0: string;
|
|
35
|
-
1: string;
|
|
36
|
-
2: string;
|
|
37
|
-
3: string;
|
|
38
|
-
4: string;
|
|
39
|
-
5: string;
|
|
40
|
-
6: string;
|
|
41
|
-
7: boolean;
|
|
42
|
-
8: string;
|
|
43
|
-
9: string;
|
|
44
|
-
10: string;
|
|
45
|
-
}>;
|
|
46
|
-
export interface DebugTransactionGuard extends BaseContract {
|
|
47
|
-
constructor(jsonInterface: any[], address?: string, options?: ContractOptions): DebugTransactionGuard;
|
|
48
|
-
clone(): DebugTransactionGuard;
|
|
49
|
-
methods: {
|
|
50
|
-
checkAfterExecution(txHash: string | number[], success: boolean): NonPayableTransactionObject<void>;
|
|
51
|
-
checkTransaction(to: string, value: number | string | BN, data: string | number[], operation: number | string | BN, safeTxGas: number | string | BN, baseGas: number | string | BN, gasPrice: number | string | BN, gasToken: string, refundReceiver: string, signatures: string | number[], executor: string): NonPayableTransactionObject<void>;
|
|
52
|
-
supportsInterface(interfaceId: string | number[]): NonPayableTransactionObject<boolean>;
|
|
53
|
-
txNonces(arg0: string | number[]): NonPayableTransactionObject<string>;
|
|
54
|
-
};
|
|
55
|
-
events: {
|
|
56
|
-
GasUsage(cb?: Callback<GasUsage>): EventEmitter;
|
|
57
|
-
GasUsage(options?: EventOptions, cb?: Callback<GasUsage>): EventEmitter;
|
|
58
|
-
TransactionDetails(cb?: Callback<TransactionDetails>): EventEmitter;
|
|
59
|
-
TransactionDetails(options?: EventOptions, cb?: Callback<TransactionDetails>): EventEmitter;
|
|
60
|
-
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
61
|
-
};
|
|
62
|
-
once(event: "GasUsage", cb: Callback<GasUsage>): void;
|
|
63
|
-
once(event: "GasUsage", options: EventOptions, cb: Callback<GasUsage>): void;
|
|
64
|
-
once(event: "TransactionDetails", cb: Callback<TransactionDetails>): void;
|
|
65
|
-
once(event: "TransactionDetails", options: EventOptions, cb: Callback<TransactionDetails>): void;
|
|
66
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DebugTransactionGuard.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.4.1/DebugTransactionGuard.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { DebugTransactionGuard } from "./DebugTransactionGuard";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.4.1/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import type BN from "bn.js";
|
|
3
|
-
import type { EventEmitter } from "events";
|
|
4
|
-
import type { EventLog, PromiEvent, TransactionReceipt } from "web3-core/types";
|
|
5
|
-
import type { Contract } from "web3-eth-contract";
|
|
6
|
-
export interface EstimateGasOptions {
|
|
7
|
-
from?: string;
|
|
8
|
-
gas?: number;
|
|
9
|
-
value?: number | string | BN;
|
|
10
|
-
}
|
|
11
|
-
export interface EventOptions {
|
|
12
|
-
filter?: object;
|
|
13
|
-
fromBlock?: BlockType;
|
|
14
|
-
topics?: string[];
|
|
15
|
-
}
|
|
16
|
-
export type Callback<T> = (error: Error, result: T) => void;
|
|
17
|
-
export interface ContractEventLog<T> extends EventLog {
|
|
18
|
-
returnValues: T;
|
|
19
|
-
}
|
|
20
|
-
export interface ContractEventEmitter<T> extends EventEmitter {
|
|
21
|
-
on(event: "connected", listener: (subscriptionId: string) => void): this;
|
|
22
|
-
on(event: "data" | "changed", listener: (event: ContractEventLog<T>) => void): this;
|
|
23
|
-
on(event: "error", listener: (error: Error) => void): this;
|
|
24
|
-
}
|
|
25
|
-
export interface NonPayableTx {
|
|
26
|
-
nonce?: string | number | BN;
|
|
27
|
-
chainId?: string | number | BN;
|
|
28
|
-
from?: string;
|
|
29
|
-
to?: string;
|
|
30
|
-
data?: string;
|
|
31
|
-
gas?: string | number | BN;
|
|
32
|
-
maxPriorityFeePerGas?: string | number | BN;
|
|
33
|
-
maxFeePerGas?: string | number | BN;
|
|
34
|
-
gasPrice?: string | number | BN;
|
|
35
|
-
}
|
|
36
|
-
export interface PayableTx extends NonPayableTx {
|
|
37
|
-
value?: string | number | BN;
|
|
38
|
-
}
|
|
39
|
-
export interface NonPayableTransactionObject<T> {
|
|
40
|
-
arguments: any[];
|
|
41
|
-
call(tx?: NonPayableTx, block?: BlockType): Promise<T>;
|
|
42
|
-
send(tx?: NonPayableTx): PromiEvent<TransactionReceipt>;
|
|
43
|
-
estimateGas(tx?: NonPayableTx): Promise<number>;
|
|
44
|
-
encodeABI(): string;
|
|
45
|
-
}
|
|
46
|
-
export interface PayableTransactionObject<T> {
|
|
47
|
-
arguments: any[];
|
|
48
|
-
call(tx?: PayableTx, block?: BlockType): Promise<T>;
|
|
49
|
-
send(tx?: PayableTx): PromiEvent<TransactionReceipt>;
|
|
50
|
-
estimateGas(tx?: PayableTx): Promise<number>;
|
|
51
|
-
encodeABI(): string;
|
|
52
|
-
}
|
|
53
|
-
export type BlockType = "latest" | "pending" | "genesis" | "earliest" | number | BN;
|
|
54
|
-
export type BaseContract = Omit<Contract, "clone" | "once">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.4.1/types.ts"],"names":[],"mappings":""}
|