@safe-global/protocol-kit 2.0.0-alpha.0 → 2.0.0-alpha.2
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/transactions/gas.js +23 -8
- package/dist/src/utils/transactions/gas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule.d.ts +0 -158
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule.d.ts +0 -167
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/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/factories/@gnosis.pm/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/index.js +0 -31
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule__factory.d.ts +0 -168
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule__factory.js +0 -224
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule__factory.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule__factory.d.ts +0 -240
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule__factory.js +0 -319
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule__factory.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.js +0 -11
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/index.js +0 -31
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/index.js +0 -31
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/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/factories/openzeppelin-solidity/build/contracts/ERC20Mintable__factory.d.ts +0 -290
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/contracts/ERC20Mintable__factory.js +0 -384
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/contracts/ERC20Mintable__factory.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/contracts/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/contracts/index.js +0 -9
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/contracts/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/index.js +0 -31
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/index.js +0 -31
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/index.d.ts +0 -11
- package/dist/typechain/tests/ethers-v6/v1.2.0/index.js +0 -34
- package/dist/typechain/tests/ethers-v6/v1.2.0/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/contracts/ERC20Mintable.d.ts +0 -211
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/contracts/ERC20Mintable.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/contracts/ERC20Mintable.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/contracts/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/contracts/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/contracts/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/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/@gnosis.pm/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule.d.ts +0 -69
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule.js +0 -6
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule.d.ts +0 -72
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule.js +0 -6
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/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/openzeppelin-solidity/build/contracts/ERC20Mintable.d.ts +0 -72
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/ERC20Mintable.js +0 -6
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/ERC20Mintable.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/index.d.ts +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@safe-global/protocol-kit",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.2",
|
|
4
4
|
"description": "SDK to interact with Safe smart contracts",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
],
|
|
54
54
|
"homepage": "https://github.com/safe-global/safe-core-sdk#readme",
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@gnosis.pm/safe-contracts-v1.2.0": "npm:@gnosis.pm/safe-contracts@1.2.0",
|
|
57
56
|
"@gnosis.pm/safe-contracts-v1.3.0": "npm:@gnosis.pm/safe-contracts@1.3.0",
|
|
58
57
|
"@nomicfoundation/hardhat-ethers": "^3.0.4 ",
|
|
59
58
|
"@nomiclabs/hardhat-web3": "^2.0.0",
|
|
59
|
+
"@openzeppelin/contracts": "^2.5.1",
|
|
60
60
|
"@safe-global/safe-contracts-v1.4.1": "npm:@safe-global/safe-contracts@1.4.1",
|
|
61
61
|
"@safe-global/safe-core-sdk-types": "^3.0.0-alpha.0",
|
|
62
62
|
"@typechain/ethers-v6": "^0.5.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
-
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
|
-
export interface DailyLimitModuleInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "NAME" | "VERSION" | "changeMasterCopy" | "dailyLimits" | "manager" | "setup" | "changeDailyLimit" | "executeDailyLimit" | "today"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "ChangedMasterCopy"): EventFragment;
|
|
6
|
-
encodeFunctionData(functionFragment: "NAME", values?: undefined): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "VERSION", values?: undefined): string;
|
|
8
|
-
encodeFunctionData(functionFragment: "changeMasterCopy", values: [AddressLike]): string;
|
|
9
|
-
encodeFunctionData(functionFragment: "dailyLimits", values: [AddressLike]): string;
|
|
10
|
-
encodeFunctionData(functionFragment: "manager", values?: undefined): string;
|
|
11
|
-
encodeFunctionData(functionFragment: "setup", values: [AddressLike[], BigNumberish[]]): string;
|
|
12
|
-
encodeFunctionData(functionFragment: "changeDailyLimit", values: [AddressLike, BigNumberish]): string;
|
|
13
|
-
encodeFunctionData(functionFragment: "executeDailyLimit", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
14
|
-
encodeFunctionData(functionFragment: "today", values?: undefined): string;
|
|
15
|
-
decodeFunctionResult(functionFragment: "NAME", data: BytesLike): Result;
|
|
16
|
-
decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result;
|
|
17
|
-
decodeFunctionResult(functionFragment: "changeMasterCopy", data: BytesLike): Result;
|
|
18
|
-
decodeFunctionResult(functionFragment: "dailyLimits", data: BytesLike): Result;
|
|
19
|
-
decodeFunctionResult(functionFragment: "manager", data: BytesLike): Result;
|
|
20
|
-
decodeFunctionResult(functionFragment: "setup", data: BytesLike): Result;
|
|
21
|
-
decodeFunctionResult(functionFragment: "changeDailyLimit", data: BytesLike): Result;
|
|
22
|
-
decodeFunctionResult(functionFragment: "executeDailyLimit", data: BytesLike): Result;
|
|
23
|
-
decodeFunctionResult(functionFragment: "today", data: BytesLike): Result;
|
|
24
|
-
}
|
|
25
|
-
export declare namespace ChangedMasterCopyEvent {
|
|
26
|
-
type InputTuple = [masterCopy: AddressLike];
|
|
27
|
-
type OutputTuple = [masterCopy: string];
|
|
28
|
-
interface OutputObject {
|
|
29
|
-
masterCopy: string;
|
|
30
|
-
}
|
|
31
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
32
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
33
|
-
type Log = TypedEventLog<Event>;
|
|
34
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
35
|
-
}
|
|
36
|
-
export interface DailyLimitModule extends BaseContract {
|
|
37
|
-
connect(runner?: ContractRunner | null): DailyLimitModule;
|
|
38
|
-
waitForDeployment(): Promise<this>;
|
|
39
|
-
interface: DailyLimitModuleInterface;
|
|
40
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
41
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
42
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
43
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
44
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
45
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
46
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
47
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
48
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
49
|
-
NAME: TypedContractMethod<[], [string], "view">;
|
|
50
|
-
VERSION: TypedContractMethod<[], [string], "view">;
|
|
51
|
-
/**
|
|
52
|
-
* Allows to upgrade the contract. This can only be done via a Safe transaction.
|
|
53
|
-
* @param _masterCopy New contract address.
|
|
54
|
-
*/
|
|
55
|
-
changeMasterCopy: TypedContractMethod<[
|
|
56
|
-
_masterCopy: AddressLike
|
|
57
|
-
], [
|
|
58
|
-
void
|
|
59
|
-
], "nonpayable">;
|
|
60
|
-
dailyLimits: TypedContractMethod<[
|
|
61
|
-
arg0: AddressLike
|
|
62
|
-
], [
|
|
63
|
-
[
|
|
64
|
-
bigint,
|
|
65
|
-
bigint,
|
|
66
|
-
bigint
|
|
67
|
-
] & {
|
|
68
|
-
dailyLimit: bigint;
|
|
69
|
-
spentToday: bigint;
|
|
70
|
-
lastDay: bigint;
|
|
71
|
-
}
|
|
72
|
-
], "view">;
|
|
73
|
-
manager: TypedContractMethod<[], [string], "view">;
|
|
74
|
-
/**
|
|
75
|
-
* Setup function sets initial storage of contract.
|
|
76
|
-
* @param _dailyLimits List of daily limits in smalles units (e.g. Wei for Ether).
|
|
77
|
-
* @param tokens List of token addresses. Ether is represented with address 0x0.
|
|
78
|
-
*/
|
|
79
|
-
setup: TypedContractMethod<[
|
|
80
|
-
tokens: AddressLike[],
|
|
81
|
-
_dailyLimits: BigNumberish[]
|
|
82
|
-
], [
|
|
83
|
-
void
|
|
84
|
-
], "nonpayable">;
|
|
85
|
-
/**
|
|
86
|
-
* Allows to update the daily limit for a specified token. This can only be done via a Safe transaction.
|
|
87
|
-
* @param dailyLimit Daily limit in smallest token unit.
|
|
88
|
-
* @param token Token contract address.
|
|
89
|
-
*/
|
|
90
|
-
changeDailyLimit: TypedContractMethod<[
|
|
91
|
-
token: AddressLike,
|
|
92
|
-
dailyLimit: BigNumberish
|
|
93
|
-
], [
|
|
94
|
-
void
|
|
95
|
-
], "nonpayable">;
|
|
96
|
-
/**
|
|
97
|
-
* Returns if Safe transaction is a valid daily limit transaction.
|
|
98
|
-
* @param amount Amount of tokens (or Ether) that should be transfered
|
|
99
|
-
* @param to Address to which the tokens should be transfered
|
|
100
|
-
* @param token Address of the token that should be transfered (0 for Ether)
|
|
101
|
-
* @returns Returns if transaction can be executed.
|
|
102
|
-
*/
|
|
103
|
-
executeDailyLimit: TypedContractMethod<[
|
|
104
|
-
token: AddressLike,
|
|
105
|
-
to: AddressLike,
|
|
106
|
-
amount: BigNumberish
|
|
107
|
-
], [
|
|
108
|
-
void
|
|
109
|
-
], "nonpayable">;
|
|
110
|
-
/**
|
|
111
|
-
* Returns last midnight as Unix timestamp.
|
|
112
|
-
* @returns Unix timestamp.
|
|
113
|
-
*/
|
|
114
|
-
today: TypedContractMethod<[], [bigint], "view">;
|
|
115
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
116
|
-
getFunction(nameOrSignature: "NAME"): TypedContractMethod<[], [string], "view">;
|
|
117
|
-
getFunction(nameOrSignature: "VERSION"): TypedContractMethod<[], [string], "view">;
|
|
118
|
-
getFunction(nameOrSignature: "changeMasterCopy"): TypedContractMethod<[_masterCopy: AddressLike], [void], "nonpayable">;
|
|
119
|
-
getFunction(nameOrSignature: "dailyLimits"): TypedContractMethod<[
|
|
120
|
-
arg0: AddressLike
|
|
121
|
-
], [
|
|
122
|
-
[
|
|
123
|
-
bigint,
|
|
124
|
-
bigint,
|
|
125
|
-
bigint
|
|
126
|
-
] & {
|
|
127
|
-
dailyLimit: bigint;
|
|
128
|
-
spentToday: bigint;
|
|
129
|
-
lastDay: bigint;
|
|
130
|
-
}
|
|
131
|
-
], "view">;
|
|
132
|
-
getFunction(nameOrSignature: "manager"): TypedContractMethod<[], [string], "view">;
|
|
133
|
-
getFunction(nameOrSignature: "setup"): TypedContractMethod<[
|
|
134
|
-
tokens: AddressLike[],
|
|
135
|
-
_dailyLimits: BigNumberish[]
|
|
136
|
-
], [
|
|
137
|
-
void
|
|
138
|
-
], "nonpayable">;
|
|
139
|
-
getFunction(nameOrSignature: "changeDailyLimit"): TypedContractMethod<[
|
|
140
|
-
token: AddressLike,
|
|
141
|
-
dailyLimit: BigNumberish
|
|
142
|
-
], [
|
|
143
|
-
void
|
|
144
|
-
], "nonpayable">;
|
|
145
|
-
getFunction(nameOrSignature: "executeDailyLimit"): TypedContractMethod<[
|
|
146
|
-
token: AddressLike,
|
|
147
|
-
to: AddressLike,
|
|
148
|
-
amount: BigNumberish
|
|
149
|
-
], [
|
|
150
|
-
void
|
|
151
|
-
], "nonpayable">;
|
|
152
|
-
getFunction(nameOrSignature: "today"): TypedContractMethod<[], [bigint], "view">;
|
|
153
|
-
getEvent(key: "ChangedMasterCopy"): TypedContractEvent<ChangedMasterCopyEvent.InputTuple, ChangedMasterCopyEvent.OutputTuple, ChangedMasterCopyEvent.OutputObject>;
|
|
154
|
-
filters: {
|
|
155
|
-
"ChangedMasterCopy(address)": TypedContractEvent<ChangedMasterCopyEvent.InputTuple, ChangedMasterCopyEvent.OutputTuple, ChangedMasterCopyEvent.OutputObject>;
|
|
156
|
-
ChangedMasterCopy: TypedContractEvent<ChangedMasterCopyEvent.InputTuple, ChangedMasterCopyEvent.OutputTuple, ChangedMasterCopyEvent.OutputObject>;
|
|
157
|
-
};
|
|
158
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DailyLimitModule.js","sourceRoot":"","sources":["../../../../../../../../../typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule.ts"],"names":[],"mappings":""}
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
-
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
|
-
export interface SocialRecoveryModuleInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "NAME" | "VERSION" | "changeMasterCopy" | "friends" | "isConfirmed" | "isExecuted" | "isFriend" | "manager" | "threshold" | "setup" | "confirmTransaction" | "recoverAccess" | "isConfirmedByRequiredFriends" | "getDataHash"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "ChangedMasterCopy"): EventFragment;
|
|
6
|
-
encodeFunctionData(functionFragment: "NAME", values?: undefined): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "VERSION", values?: undefined): string;
|
|
8
|
-
encodeFunctionData(functionFragment: "changeMasterCopy", values: [AddressLike]): string;
|
|
9
|
-
encodeFunctionData(functionFragment: "friends", values: [BigNumberish]): string;
|
|
10
|
-
encodeFunctionData(functionFragment: "isConfirmed", values: [BytesLike, AddressLike]): string;
|
|
11
|
-
encodeFunctionData(functionFragment: "isExecuted", values: [BytesLike]): string;
|
|
12
|
-
encodeFunctionData(functionFragment: "isFriend", values: [AddressLike]): string;
|
|
13
|
-
encodeFunctionData(functionFragment: "manager", values?: undefined): string;
|
|
14
|
-
encodeFunctionData(functionFragment: "threshold", values?: undefined): string;
|
|
15
|
-
encodeFunctionData(functionFragment: "setup", values: [AddressLike[], BigNumberish]): string;
|
|
16
|
-
encodeFunctionData(functionFragment: "confirmTransaction", values: [BytesLike]): string;
|
|
17
|
-
encodeFunctionData(functionFragment: "recoverAccess", values: [AddressLike, AddressLike, AddressLike]): string;
|
|
18
|
-
encodeFunctionData(functionFragment: "isConfirmedByRequiredFriends", values: [BytesLike]): string;
|
|
19
|
-
encodeFunctionData(functionFragment: "getDataHash", values: [BytesLike]): string;
|
|
20
|
-
decodeFunctionResult(functionFragment: "NAME", data: BytesLike): Result;
|
|
21
|
-
decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result;
|
|
22
|
-
decodeFunctionResult(functionFragment: "changeMasterCopy", data: BytesLike): Result;
|
|
23
|
-
decodeFunctionResult(functionFragment: "friends", data: BytesLike): Result;
|
|
24
|
-
decodeFunctionResult(functionFragment: "isConfirmed", data: BytesLike): Result;
|
|
25
|
-
decodeFunctionResult(functionFragment: "isExecuted", data: BytesLike): Result;
|
|
26
|
-
decodeFunctionResult(functionFragment: "isFriend", data: BytesLike): Result;
|
|
27
|
-
decodeFunctionResult(functionFragment: "manager", data: BytesLike): Result;
|
|
28
|
-
decodeFunctionResult(functionFragment: "threshold", data: BytesLike): Result;
|
|
29
|
-
decodeFunctionResult(functionFragment: "setup", data: BytesLike): Result;
|
|
30
|
-
decodeFunctionResult(functionFragment: "confirmTransaction", data: BytesLike): Result;
|
|
31
|
-
decodeFunctionResult(functionFragment: "recoverAccess", data: BytesLike): Result;
|
|
32
|
-
decodeFunctionResult(functionFragment: "isConfirmedByRequiredFriends", data: BytesLike): Result;
|
|
33
|
-
decodeFunctionResult(functionFragment: "getDataHash", data: BytesLike): Result;
|
|
34
|
-
}
|
|
35
|
-
export declare namespace ChangedMasterCopyEvent {
|
|
36
|
-
type InputTuple = [masterCopy: AddressLike];
|
|
37
|
-
type OutputTuple = [masterCopy: string];
|
|
38
|
-
interface OutputObject {
|
|
39
|
-
masterCopy: string;
|
|
40
|
-
}
|
|
41
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
42
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
43
|
-
type Log = TypedEventLog<Event>;
|
|
44
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
45
|
-
}
|
|
46
|
-
export interface SocialRecoveryModule extends BaseContract {
|
|
47
|
-
connect(runner?: ContractRunner | null): SocialRecoveryModule;
|
|
48
|
-
waitForDeployment(): Promise<this>;
|
|
49
|
-
interface: SocialRecoveryModuleInterface;
|
|
50
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
51
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
52
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
53
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
54
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
55
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
56
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
57
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
58
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
59
|
-
NAME: TypedContractMethod<[], [string], "view">;
|
|
60
|
-
VERSION: TypedContractMethod<[], [string], "view">;
|
|
61
|
-
/**
|
|
62
|
-
* Allows to upgrade the contract. This can only be done via a Safe transaction.
|
|
63
|
-
* @param _masterCopy New contract address.
|
|
64
|
-
*/
|
|
65
|
-
changeMasterCopy: TypedContractMethod<[
|
|
66
|
-
_masterCopy: AddressLike
|
|
67
|
-
], [
|
|
68
|
-
void
|
|
69
|
-
], "nonpayable">;
|
|
70
|
-
friends: TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
71
|
-
isConfirmed: TypedContractMethod<[
|
|
72
|
-
arg0: BytesLike,
|
|
73
|
-
arg1: AddressLike
|
|
74
|
-
], [
|
|
75
|
-
boolean
|
|
76
|
-
], "view">;
|
|
77
|
-
isExecuted: TypedContractMethod<[arg0: BytesLike], [boolean], "view">;
|
|
78
|
-
isFriend: TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
|
|
79
|
-
manager: TypedContractMethod<[], [string], "view">;
|
|
80
|
-
threshold: TypedContractMethod<[], [bigint], "view">;
|
|
81
|
-
/**
|
|
82
|
-
* Setup function sets initial storage of contract.
|
|
83
|
-
* @param _friends List of friends' addresses.
|
|
84
|
-
* @param _threshold Required number of friends to confirm replacement.
|
|
85
|
-
*/
|
|
86
|
-
setup: TypedContractMethod<[
|
|
87
|
-
_friends: AddressLike[],
|
|
88
|
-
_threshold: BigNumberish
|
|
89
|
-
], [
|
|
90
|
-
void
|
|
91
|
-
], "nonpayable">;
|
|
92
|
-
/**
|
|
93
|
-
* Allows a friend to confirm a Safe transaction.
|
|
94
|
-
* @param dataHash Safe transaction hash.
|
|
95
|
-
*/
|
|
96
|
-
confirmTransaction: TypedContractMethod<[
|
|
97
|
-
dataHash: BytesLike
|
|
98
|
-
], [
|
|
99
|
-
void
|
|
100
|
-
], "nonpayable">;
|
|
101
|
-
/**
|
|
102
|
-
* Returns if Safe transaction is a valid owner replacement transaction.
|
|
103
|
-
* @param newOwner New owner address.
|
|
104
|
-
* @param oldOwner Owner address to be replaced.
|
|
105
|
-
* @param prevOwner Owner that pointed to the owner to be replaced in the linked list
|
|
106
|
-
* @returns Returns if transaction can be executed.
|
|
107
|
-
*/
|
|
108
|
-
recoverAccess: TypedContractMethod<[
|
|
109
|
-
prevOwner: AddressLike,
|
|
110
|
-
oldOwner: AddressLike,
|
|
111
|
-
newOwner: AddressLike
|
|
112
|
-
], [
|
|
113
|
-
void
|
|
114
|
-
], "nonpayable">;
|
|
115
|
-
/**
|
|
116
|
-
* Returns if Safe transaction is a valid owner replacement transaction.
|
|
117
|
-
* @param dataHash Data hash.
|
|
118
|
-
* @returns Confirmation status.
|
|
119
|
-
*/
|
|
120
|
-
isConfirmedByRequiredFriends: TypedContractMethod<[
|
|
121
|
-
dataHash: BytesLike
|
|
122
|
-
], [
|
|
123
|
-
boolean
|
|
124
|
-
], "view">;
|
|
125
|
-
/**
|
|
126
|
-
* Returns hash of data encoding owner replacement.
|
|
127
|
-
* @param data Data payload.
|
|
128
|
-
* @returns Data hash.
|
|
129
|
-
*/
|
|
130
|
-
getDataHash: TypedContractMethod<[data: BytesLike], [string], "view">;
|
|
131
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
132
|
-
getFunction(nameOrSignature: "NAME"): TypedContractMethod<[], [string], "view">;
|
|
133
|
-
getFunction(nameOrSignature: "VERSION"): TypedContractMethod<[], [string], "view">;
|
|
134
|
-
getFunction(nameOrSignature: "changeMasterCopy"): TypedContractMethod<[_masterCopy: AddressLike], [void], "nonpayable">;
|
|
135
|
-
getFunction(nameOrSignature: "friends"): TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
136
|
-
getFunction(nameOrSignature: "isConfirmed"): TypedContractMethod<[
|
|
137
|
-
arg0: BytesLike,
|
|
138
|
-
arg1: AddressLike
|
|
139
|
-
], [
|
|
140
|
-
boolean
|
|
141
|
-
], "view">;
|
|
142
|
-
getFunction(nameOrSignature: "isExecuted"): TypedContractMethod<[arg0: BytesLike], [boolean], "view">;
|
|
143
|
-
getFunction(nameOrSignature: "isFriend"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
|
|
144
|
-
getFunction(nameOrSignature: "manager"): TypedContractMethod<[], [string], "view">;
|
|
145
|
-
getFunction(nameOrSignature: "threshold"): TypedContractMethod<[], [bigint], "view">;
|
|
146
|
-
getFunction(nameOrSignature: "setup"): TypedContractMethod<[
|
|
147
|
-
_friends: AddressLike[],
|
|
148
|
-
_threshold: BigNumberish
|
|
149
|
-
], [
|
|
150
|
-
void
|
|
151
|
-
], "nonpayable">;
|
|
152
|
-
getFunction(nameOrSignature: "confirmTransaction"): TypedContractMethod<[dataHash: BytesLike], [void], "nonpayable">;
|
|
153
|
-
getFunction(nameOrSignature: "recoverAccess"): TypedContractMethod<[
|
|
154
|
-
prevOwner: AddressLike,
|
|
155
|
-
oldOwner: AddressLike,
|
|
156
|
-
newOwner: AddressLike
|
|
157
|
-
], [
|
|
158
|
-
void
|
|
159
|
-
], "nonpayable">;
|
|
160
|
-
getFunction(nameOrSignature: "isConfirmedByRequiredFriends"): TypedContractMethod<[dataHash: BytesLike], [boolean], "view">;
|
|
161
|
-
getFunction(nameOrSignature: "getDataHash"): TypedContractMethod<[data: BytesLike], [string], "view">;
|
|
162
|
-
getEvent(key: "ChangedMasterCopy"): TypedContractEvent<ChangedMasterCopyEvent.InputTuple, ChangedMasterCopyEvent.OutputTuple, ChangedMasterCopyEvent.OutputObject>;
|
|
163
|
-
filters: {
|
|
164
|
-
"ChangedMasterCopy(address)": TypedContractEvent<ChangedMasterCopyEvent.InputTuple, ChangedMasterCopyEvent.OutputTuple, ChangedMasterCopyEvent.OutputObject>;
|
|
165
|
-
ChangedMasterCopy: TypedContractEvent<ChangedMasterCopyEvent.InputTuple, ChangedMasterCopyEvent.OutputTuple, ChangedMasterCopyEvent.OutputObject>;
|
|
166
|
-
};
|
|
167
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SocialRecoveryModule.js","sourceRoot":"","sources":["../../../../../../../../../typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.ts"],"names":[],"mappings":""}
|
package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { FunctionFragment, Typed, EventFragment, ContractTransaction, ContractTransactionResponse, DeferredTopicFilter, EventLog, TransactionRequest, LogDescription } from "ethers";
|
|
2
|
-
export interface TypedDeferredTopicFilter<_TCEvent extends TypedContractEvent> extends DeferredTopicFilter {
|
|
3
|
-
}
|
|
4
|
-
export interface TypedContractEvent<InputTuple extends Array<any> = any, OutputTuple extends Array<any> = any, OutputObject = any> {
|
|
5
|
-
(...args: Partial<InputTuple>): TypedDeferredTopicFilter<TypedContractEvent<InputTuple, OutputTuple, OutputObject>>;
|
|
6
|
-
name: string;
|
|
7
|
-
fragment: EventFragment;
|
|
8
|
-
getFragment(...args: Partial<InputTuple>): EventFragment;
|
|
9
|
-
}
|
|
10
|
-
type __TypechainAOutputTuple<T> = T extends TypedContractEvent<infer _U, infer W> ? W : never;
|
|
11
|
-
type __TypechainOutputObject<T> = T extends TypedContractEvent<infer _U, infer _W, infer V> ? V : never;
|
|
12
|
-
export interface TypedEventLog<TCEvent extends TypedContractEvent> extends Omit<EventLog, "args"> {
|
|
13
|
-
args: __TypechainAOutputTuple<TCEvent> & __TypechainOutputObject<TCEvent>;
|
|
14
|
-
}
|
|
15
|
-
export interface TypedLogDescription<TCEvent extends TypedContractEvent> extends Omit<LogDescription, "args"> {
|
|
16
|
-
args: __TypechainAOutputTuple<TCEvent> & __TypechainOutputObject<TCEvent>;
|
|
17
|
-
}
|
|
18
|
-
export type TypedListener<TCEvent extends TypedContractEvent> = (...listenerArg: [
|
|
19
|
-
...__TypechainAOutputTuple<TCEvent>,
|
|
20
|
-
TypedEventLog<TCEvent>,
|
|
21
|
-
...undefined[]
|
|
22
|
-
]) => void;
|
|
23
|
-
export type MinEthersFactory<C, ARGS> = {
|
|
24
|
-
deploy(...a: ARGS[]): Promise<C>;
|
|
25
|
-
};
|
|
26
|
-
export type GetContractTypeFromFactory<F> = F extends MinEthersFactory<infer C, any> ? C : never;
|
|
27
|
-
export type GetARGsTypeFromFactory<F> = F extends MinEthersFactory<any, any> ? Parameters<F["deploy"]> : never;
|
|
28
|
-
export type StateMutability = "nonpayable" | "payable" | "view";
|
|
29
|
-
export type BaseOverrides = Omit<TransactionRequest, "to" | "data">;
|
|
30
|
-
export type NonPayableOverrides = Omit<BaseOverrides, "value" | "blockTag" | "enableCcipRead">;
|
|
31
|
-
export type PayableOverrides = Omit<BaseOverrides, "blockTag" | "enableCcipRead">;
|
|
32
|
-
export type ViewOverrides = Omit<TransactionRequest, "to" | "data">;
|
|
33
|
-
export type Overrides<S extends StateMutability> = S extends "nonpayable" ? NonPayableOverrides : S extends "payable" ? PayableOverrides : ViewOverrides;
|
|
34
|
-
export type PostfixOverrides<A extends Array<any>, S extends StateMutability> = A | [...A, Overrides<S>];
|
|
35
|
-
export type ContractMethodArgs<A extends Array<any>, S extends StateMutability> = PostfixOverrides<{
|
|
36
|
-
[I in keyof A]-?: A[I] | Typed;
|
|
37
|
-
}, S>;
|
|
38
|
-
export type DefaultReturnType<R> = R extends Array<any> ? R[0] : R;
|
|
39
|
-
export interface TypedContractMethod<A extends Array<any> = Array<any>, R = any, S extends StateMutability = "payable"> {
|
|
40
|
-
(...args: ContractMethodArgs<A, S>): S extends "view" ? Promise<DefaultReturnType<R>> : Promise<ContractTransactionResponse>;
|
|
41
|
-
name: string;
|
|
42
|
-
fragment: FunctionFragment;
|
|
43
|
-
getFragment(...args: ContractMethodArgs<A, S>): FunctionFragment;
|
|
44
|
-
populateTransaction(...args: ContractMethodArgs<A, S>): Promise<ContractTransaction>;
|
|
45
|
-
staticCall(...args: ContractMethodArgs<A, "view">): Promise<DefaultReturnType<R>>;
|
|
46
|
-
send(...args: ContractMethodArgs<A, S>): Promise<ContractTransactionResponse>;
|
|
47
|
-
estimateGas(...args: ContractMethodArgs<A, S>): Promise<bigint>;
|
|
48
|
-
staticCallResult(...args: ContractMethodArgs<A, "view">): Promise<R>;
|
|
49
|
-
}
|
|
50
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../typechain/tests/ethers-v6/v1.2.0/common.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * as safeContractsV120 from "./safe-contracts-v1.2.0";
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.safeContractsV120 = void 0;
|
|
27
|
-
/* Autogenerated file. Do not edit manually. */
|
|
28
|
-
/* tslint:disable */
|
|
29
|
-
/* eslint-disable */
|
|
30
|
-
exports.safeContractsV120 = __importStar(require("./safe-contracts-v1.2.0"));
|
|
31
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,6EAA6D"}
|