@safe-global/protocol-kit 2.0.0-alpha.0 → 2.0.0-alpha.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/transactions/gas.js +1 -1
- package/dist/src/utils/transactions/gas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/index.d.ts +2 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/index.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/{openzeppelin-solidity/build/contracts → @openzeppelin/contracts/token/ERC20}/ERC20Mintable.d.ts +1 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/index.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/index.d.ts +2 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/index.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/index.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/index.d.ts +2 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/index.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/index.d.ts +2 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/index.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/{@gnosis.pm/safe-contracts-v1.2.0/build/contracts → contracts/safe_V1_2_0/modules}/SocialRecoveryModule.d.ts +39 -69
- package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.js.map +1 -0
- package/dist/typechain/tests/{web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts → 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.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/index.d.ts +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/{openzeppelin-solidity → @openzeppelin/contracts}/index.js +2 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/index.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/{openzeppelin-solidity/build/contracts → @openzeppelin/contracts/token/ERC20}/ERC20Mintable__factory.d.ts +3 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/{openzeppelin-solidity/build/contracts → @openzeppelin/contracts/token/ERC20}/ERC20Mintable__factory.js +1 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/ERC20Mintable__factory.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/index.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/index.d.ts +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/{@gnosis.pm/safe-contracts-v1.2.0 → @openzeppelin/contracts/token}/index.js +2 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/index.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/index.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/index.d.ts +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/{openzeppelin-solidity/build → contracts}/index.js +2 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/index.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/index.d.ts +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/index.js +31 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/index.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/{@gnosis.pm/safe-contracts-v1.2.0/build/contracts → contracts/safe_V1_2_0/modules}/SocialRecoveryModule__factory.d.ts +63 -63
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/{@gnosis.pm/safe-contracts-v1.2.0/build/contracts → contracts/safe_V1_2_0/modules}/SocialRecoveryModule__factory.js +70 -70
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/SocialRecoveryModule__factory.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/{@gnosis.pm/safe-contracts-v1.2.0/build/contracts → contracts/safe_V1_2_0/modules}/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/{@gnosis.pm/safe-contracts-v1.2.0/build/contracts → contracts/safe_V1_2_0/modules}/index.js +1 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/index.js.map +1 -0
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/index.d.ts +2 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/index.js +3 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/index.js.map +1 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/index.d.ts +8 -10
- package/dist/typechain/tests/ethers-v6/v1.2.0/index.js +3 -5
- package/dist/typechain/tests/ethers-v6/v1.2.0/index.js.map +1 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/index.d.ts +2 -0
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/index.js.map +1 -0
- package/dist/typechain/tests/web3-v1/v1.2.0/{openzeppelin-solidity/build/contracts → @openzeppelin/contracts/token/ERC20}/ERC20Mintable.d.ts +1 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.js.map +1 -0
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/index.js.map +1 -0
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/index.d.ts +2 -0
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/index.js.map +1 -0
- package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/index.js.map +1 -0
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/index.d.ts +2 -0
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/index.js.map +1 -0
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/index.d.ts +2 -0
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/index.js.map +1 -0
- package/dist/typechain/tests/web3-v1/v1.2.0/{@gnosis.pm/safe-contracts-v1.2.0/build/contracts → contracts/safe_V1_2_0/modules}/SocialRecoveryModule.d.ts +6 -36
- package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.js.map +1 -0
- package/dist/typechain/tests/{ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts → 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.map +1 -0
- package/dist/typechain/tests/web3-v1/v1.2.0/index.d.ts +4 -4
- 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.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.js.map +0 -1
- 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.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.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.js.map +0 -1
- 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.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.map +0 -1
- 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.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.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.map +0 -1
- 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.js.map +0 -1
- 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.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.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.js.map +0 -1
- 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.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.map +0 -1
- 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.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.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.map +0 -1
- /package/dist/typechain/tests/ethers-v6/v1.2.0/{@gnosis.pm → @openzeppelin/contracts}/index.js +0 -0
- /package/dist/typechain/tests/ethers-v6/v1.2.0/{openzeppelin-solidity/build/contracts → @openzeppelin/contracts/token/ERC20}/ERC20Mintable.js +0 -0
- /package/dist/typechain/tests/ethers-v6/v1.2.0/{openzeppelin-solidity/build/contracts → @openzeppelin/contracts/token/ERC20}/index.d.ts +0 -0
- /package/dist/typechain/tests/ethers-v6/v1.2.0/{@gnosis.pm/safe-contracts-v1.2.0/build/contracts → @openzeppelin/contracts/token/ERC20}/index.js +0 -0
- /package/dist/typechain/tests/ethers-v6/v1.2.0/{@gnosis.pm/safe-contracts-v1.2.0/build → @openzeppelin/contracts/token}/index.js +0 -0
- /package/dist/typechain/tests/ethers-v6/v1.2.0/{@gnosis.pm/safe-contracts-v1.2.0/build → @openzeppelin}/index.d.ts +0 -0
- /package/dist/typechain/tests/ethers-v6/v1.2.0/{@gnosis.pm/safe-contracts-v1.2.0 → @openzeppelin}/index.js +0 -0
- /package/dist/typechain/tests/ethers-v6/v1.2.0/{openzeppelin-solidity/build/contracts → contracts}/index.js +0 -0
- /package/dist/typechain/tests/ethers-v6/v1.2.0/{openzeppelin-solidity/build → contracts/safe_V1_2_0}/index.js +0 -0
- /package/dist/typechain/tests/ethers-v6/v1.2.0/{@gnosis.pm/safe-contracts-v1.2.0/build/contracts → contracts/safe_V1_2_0/modules}/SocialRecoveryModule.js +0 -0
- /package/dist/typechain/tests/ethers-v6/v1.2.0/{openzeppelin-solidity → contracts/safe_V1_2_0/modules}/index.js +0 -0
- /package/dist/typechain/tests/ethers-v6/v1.2.0/factories/{openzeppelin-solidity/build/contracts → @openzeppelin/contracts/token/ERC20}/index.d.ts +0 -0
- /package/dist/typechain/tests/ethers-v6/v1.2.0/factories/{openzeppelin-solidity/build/contracts → @openzeppelin/contracts/token/ERC20}/index.js +0 -0
- /package/dist/typechain/tests/ethers-v6/v1.2.0/factories/{@gnosis.pm/safe-contracts-v1.2.0/build → @openzeppelin}/index.d.ts +0 -0
- /package/dist/typechain/tests/ethers-v6/v1.2.0/factories/{@gnosis.pm/safe-contracts-v1.2.0/build → @openzeppelin}/index.js +0 -0
- /package/dist/typechain/tests/web3-v1/v1.2.0/{@gnosis.pm → @openzeppelin/contracts}/index.js +0 -0
- /package/dist/typechain/tests/web3-v1/v1.2.0/{openzeppelin-solidity/build/contracts → @openzeppelin/contracts/token/ERC20}/ERC20Mintable.js +0 -0
- /package/dist/typechain/tests/web3-v1/v1.2.0/{openzeppelin-solidity/build/contracts → @openzeppelin/contracts/token/ERC20}/index.d.ts +0 -0
- /package/dist/typechain/tests/web3-v1/v1.2.0/{@gnosis.pm/safe-contracts-v1.2.0/build/contracts → @openzeppelin/contracts/token/ERC20}/index.js +0 -0
- /package/dist/typechain/tests/web3-v1/v1.2.0/{@gnosis.pm/safe-contracts-v1.2.0/build → @openzeppelin/contracts/token}/index.js +0 -0
- /package/dist/typechain/tests/{ethers-v6/v1.2.0/openzeppelin-solidity/build → web3-v1/v1.2.0/@openzeppelin}/index.d.ts +0 -0
- /package/dist/typechain/tests/web3-v1/v1.2.0/{@gnosis.pm/safe-contracts-v1.2.0 → @openzeppelin}/index.js +0 -0
- /package/dist/typechain/tests/web3-v1/v1.2.0/{openzeppelin-solidity/build/contracts → contracts}/index.js +0 -0
- /package/dist/typechain/tests/web3-v1/v1.2.0/{openzeppelin-solidity/build → contracts/safe_V1_2_0}/index.js +0 -0
- /package/dist/typechain/tests/web3-v1/v1.2.0/{@gnosis.pm/safe-contracts-v1.2.0/build/contracts → contracts/safe_V1_2_0/modules}/SocialRecoveryModule.js +0 -0
- /package/dist/typechain/tests/web3-v1/v1.2.0/{openzeppelin-solidity → contracts/safe_V1_2_0/modules}/index.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain/tests/ethers-v6/v1.2.0/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,yDAAyC;AAEzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain/tests/ethers-v6/v1.2.0/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,yDAAyC;AAEzC,yHAAwH;AAA/G,8IAAA,6BAA6B,OAAA;AAEtC,iHAAgH;AAAvG,gIAAA,sBAAsB,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/index.ts"],"names":[],"mappings":""}
|
|
@@ -3,7 +3,7 @@ import type BN from "bn.js";
|
|
|
3
3
|
import type { ContractOptions } from "web3-eth-contract";
|
|
4
4
|
import type { EventLog } from "web3-core";
|
|
5
5
|
import type { EventEmitter } from "events";
|
|
6
|
-
import type { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "
|
|
6
|
+
import type { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "../../../../types";
|
|
7
7
|
export interface EventOptions {
|
|
8
8
|
filter?: object;
|
|
9
9
|
fromBlock?: BlockType;
|
package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ERC20Mintable.js","sourceRoot":"","sources":["../../../../../../../../../typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain/tests/web3-v1/v1.2.0/@openzeppelin/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain/tests/web3-v1/v1.2.0/contracts/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/index.ts"],"names":[],"mappings":""}
|
|
@@ -3,7 +3,7 @@ import type BN from "bn.js";
|
|
|
3
3
|
import type { ContractOptions } from "web3-eth-contract";
|
|
4
4
|
import type { EventLog } from "web3-core";
|
|
5
5
|
import type { EventEmitter } from "events";
|
|
6
|
-
import type { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "
|
|
6
|
+
import type { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "../../../types";
|
|
7
7
|
export interface EventOptions {
|
|
8
8
|
filter?: object;
|
|
9
9
|
fromBlock?: BlockType;
|
|
@@ -19,48 +19,18 @@ export interface SocialRecoveryModule extends BaseContract {
|
|
|
19
19
|
methods: {
|
|
20
20
|
NAME(): NonPayableTransactionObject<string>;
|
|
21
21
|
VERSION(): NonPayableTransactionObject<string>;
|
|
22
|
-
/**
|
|
23
|
-
* Allows to upgrade the contract. This can only be done via a Safe transaction.
|
|
24
|
-
* @param _masterCopy New contract address.
|
|
25
|
-
*/
|
|
26
22
|
changeMasterCopy(_masterCopy: string): NonPayableTransactionObject<void>;
|
|
23
|
+
confirmTransaction(dataHash: string | number[]): NonPayableTransactionObject<void>;
|
|
27
24
|
friends(arg0: number | string | BN): NonPayableTransactionObject<string>;
|
|
25
|
+
getDataHash(data: string | number[]): NonPayableTransactionObject<string>;
|
|
28
26
|
isConfirmed(arg0: string | number[], arg1: string): NonPayableTransactionObject<boolean>;
|
|
27
|
+
isConfirmedByRequiredFriends(dataHash: string | number[]): NonPayableTransactionObject<boolean>;
|
|
29
28
|
isExecuted(arg0: string | number[]): NonPayableTransactionObject<boolean>;
|
|
30
29
|
isFriend(arg0: string): NonPayableTransactionObject<boolean>;
|
|
31
30
|
manager(): NonPayableTransactionObject<string>;
|
|
32
|
-
threshold(): NonPayableTransactionObject<string>;
|
|
33
|
-
/**
|
|
34
|
-
* Setup function sets initial storage of contract.
|
|
35
|
-
* @param _friends List of friends' addresses.
|
|
36
|
-
* @param _threshold Required number of friends to confirm replacement.
|
|
37
|
-
*/
|
|
38
|
-
setup(_friends: string[], _threshold: number | string | BN): NonPayableTransactionObject<void>;
|
|
39
|
-
/**
|
|
40
|
-
* Allows a friend to confirm a Safe transaction.
|
|
41
|
-
* @param dataHash Safe transaction hash.
|
|
42
|
-
*/
|
|
43
|
-
confirmTransaction(dataHash: string | number[]): NonPayableTransactionObject<void>;
|
|
44
|
-
/**
|
|
45
|
-
* Returns if Safe transaction is a valid owner replacement transaction.
|
|
46
|
-
* @param newOwner New owner address.
|
|
47
|
-
* @param oldOwner Owner address to be replaced.
|
|
48
|
-
* @param prevOwner Owner that pointed to the owner to be replaced in the linked list
|
|
49
|
-
* @returns Returns if transaction can be executed.
|
|
50
|
-
*/
|
|
51
31
|
recoverAccess(prevOwner: string, oldOwner: string, newOwner: string): NonPayableTransactionObject<void>;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
* @param dataHash Data hash.
|
|
55
|
-
* @returns Confirmation status.
|
|
56
|
-
*/
|
|
57
|
-
isConfirmedByRequiredFriends(dataHash: string | number[]): NonPayableTransactionObject<boolean>;
|
|
58
|
-
/**
|
|
59
|
-
* Returns hash of data encoding owner replacement.
|
|
60
|
-
* @param data Data payload.
|
|
61
|
-
* @returns Data hash.
|
|
62
|
-
*/
|
|
63
|
-
getDataHash(data: string | number[]): NonPayableTransactionObject<string>;
|
|
32
|
+
setup(_friends: string[], _threshold: number | string | BN): NonPayableTransactionObject<void>;
|
|
33
|
+
threshold(): NonPayableTransactionObject<string>;
|
|
64
34
|
};
|
|
65
35
|
events: {
|
|
66
36
|
ChangedMasterCopy(cb?: Callback<ChangedMasterCopy>): EventEmitter;
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import type * as
|
|
2
|
-
export type {
|
|
3
|
-
import type * as
|
|
4
|
-
export type {
|
|
1
|
+
import type * as openzeppelin from "./@openzeppelin";
|
|
2
|
+
export type { openzeppelin };
|
|
3
|
+
import type * as contracts from "./contracts";
|
|
4
|
+
export type { contracts };
|
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.1",
|
|
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 +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 +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"}
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
-
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
-
import type { NonPayableOverrides } from "../../../../../common";
|
|
4
|
-
import type { DailyLimitModule, DailyLimitModuleInterface } from "../../../../../@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule";
|
|
5
|
-
type DailyLimitModuleConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
-
export declare class DailyLimitModule__factory extends ContractFactory {
|
|
7
|
-
constructor(...args: DailyLimitModuleConstructorParams);
|
|
8
|
-
getDeployTransaction(overrides?: NonPayableOverrides & {
|
|
9
|
-
from?: string;
|
|
10
|
-
}): Promise<ContractDeployTransaction>;
|
|
11
|
-
deploy(overrides?: NonPayableOverrides & {
|
|
12
|
-
from?: string;
|
|
13
|
-
}): Promise<DailyLimitModule & {
|
|
14
|
-
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
-
}>;
|
|
16
|
-
connect(runner: ContractRunner | null): DailyLimitModule__factory;
|
|
17
|
-
static readonly bytecode = "0x608060405234801561001057600080fd5b506112bb806100206000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c806381c5e03b1161006657806381c5e03b146102e0578063a3f4df7e1461032e578063b74e452b146103b1578063d7bffc92146103cf578063ffa1ad741461043557610093565b806328814f0314610098578063481c6a75146101e457806363bae7c31461022e5780637de7edef1461029c575b600080fd5b6101e2600480360360408110156100ae57600080fd5b81019080803590602001906401000000008111156100cb57600080fd5b8201836020820111156100dd57600080fd5b803590602001918460208302840111640100000000831117156100ff57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561015f57600080fd5b82018360208201111561017157600080fd5b8035906020019184602083028401116401000000008311171561019357600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192905050506104b8565b005b6101ec61054e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61029a6004803603606081101561024457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610574565b005b6102de600480360360208110156102b257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ceb565b005b61032c600480360360408110156102f657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ebd565b005b610336610fae565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561037657808201518184015260208101905061035b565b50505050905090810190601f1680156103a35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103b9610fe7565b6040518082815260200191505060405180910390f35b610411600480360360208110156103e557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ffd565b60405180848152602001838152602001828152602001935050505060405180910390f35b61043d611027565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561047d578082015181840152602081019050610462565b50505050905090810190601f1680156104aa5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104c0611060565b60008090505b8251811015610549578181815181106104db57fe5b6020026020010151600260008584815181106104f357fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000018190555080806001019150506104c6565b505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f54bf6e336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561061357600080fd5b505afa158015610627573d6000803e3d6000fd5b505050506040513d602081101561063d57600080fd5b81019080805190602001909291905050506106a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061123c6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f496e76616c696420746f20616464726573732070726f7669646564000000000081525060200191505060405180910390fd5b600081116107bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f496e76616c696420616d6f756e742070726f766964656400000000000000000081525060200191505060405180910390fd5b6107c68382611167565b610838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4461696c79206c696d697420686173206265656e20726561636865640000000081525060200191505060405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160008282540192505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a4357600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663468721a7838360006040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018060200183600181111561095a57fe5b60ff168152602001828103825260008152602001602001945050505050602060405180830381600087803b15801561099157600080fd5b505af11580156109a5573d6000803e3d6000fd5b505050506040513d60208110156109bb57600080fd5b8101908080519060200190929190505050610a3e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f436f756c64206e6f742065786563757465206574686572207472616e7366657281525060200191505060405180910390fd5b610ce6565b60608282604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506040516020818303038152906040527fa9059cbb000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663468721a78560008460006040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200184815260200180602001836001811115610ba857fe5b60ff168152602001828103825284818151815260200191508051906020019080838360005b83811015610be8578082015181840152602081019050610bcd565b50505050905090810190601f168015610c155780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015610c3757600080fd5b505af1158015610c4b573d6000803e3d6000fd5b505050506040513d6020811015610c6157600080fd5b8101908080519060200190929190505050610ce4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f436f756c64206e6f74206578656375746520746f6b656e207472616e7366657281525060200191505060405180910390fd5b505b505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d91576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806112616026913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e17576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806112186024913960400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f75e41bc35ff1bf14d81d1d2f649c0084a0f974f9289c803ec9898eeec4c8d0b881604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f63576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806112616026913960400191505060405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001819055505050565b6040518060400160405280601281526020017f4461696c79204c696d6974204d6f64756c65000000000000000000000000000081525081565b6000620151804281610ff557fe5b064203905090565b60026020528060005260406000206000915090508060000154908060010154908060020154905083565b6040518060400160405280600581526020017f302e312e3000000000000000000000000000000000000000000000000000000081525081565b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4d616e616765722068617320616c7265616479206265656e207365740000000081525060200191505060405180910390fd5b33600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600080600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905080600201546111b8610fe7565b11156111d9576111c6610fe7565b8160020181905550600081600101819055505b806000015483826001015401111580156111fc5750806001015483826001015401115b1561120b576001915050611211565b60009150505b9291505056fe496e76616c6964206d617374657220636f707920616464726573732070726f76696465644d6574686f642063616e206f6e6c792062652063616c6c656420627920616e206f776e65724d6574686f642063616e206f6e6c792062652063616c6c65642066726f6d206d616e61676572a265627a7a72315820121a7ae0d351e8d3cdc6569ab4b33003f25b2ff9d0b4308f0d1e355856fdcc3964736f6c63430005110032";
|
|
18
|
-
static readonly abi: readonly [{
|
|
19
|
-
readonly anonymous: false;
|
|
20
|
-
readonly inputs: readonly [{
|
|
21
|
-
readonly indexed: false;
|
|
22
|
-
readonly internalType: "address";
|
|
23
|
-
readonly name: "masterCopy";
|
|
24
|
-
readonly type: "address";
|
|
25
|
-
}];
|
|
26
|
-
readonly name: "ChangedMasterCopy";
|
|
27
|
-
readonly type: "event";
|
|
28
|
-
}, {
|
|
29
|
-
readonly constant: true;
|
|
30
|
-
readonly inputs: readonly [];
|
|
31
|
-
readonly name: "NAME";
|
|
32
|
-
readonly outputs: readonly [{
|
|
33
|
-
readonly internalType: "string";
|
|
34
|
-
readonly name: "";
|
|
35
|
-
readonly type: "string";
|
|
36
|
-
}];
|
|
37
|
-
readonly payable: false;
|
|
38
|
-
readonly stateMutability: "view";
|
|
39
|
-
readonly type: "function";
|
|
40
|
-
}, {
|
|
41
|
-
readonly constant: true;
|
|
42
|
-
readonly inputs: readonly [];
|
|
43
|
-
readonly name: "VERSION";
|
|
44
|
-
readonly outputs: readonly [{
|
|
45
|
-
readonly internalType: "string";
|
|
46
|
-
readonly name: "";
|
|
47
|
-
readonly type: "string";
|
|
48
|
-
}];
|
|
49
|
-
readonly payable: false;
|
|
50
|
-
readonly stateMutability: "view";
|
|
51
|
-
readonly type: "function";
|
|
52
|
-
}, {
|
|
53
|
-
readonly constant: false;
|
|
54
|
-
readonly inputs: readonly [{
|
|
55
|
-
readonly internalType: "address";
|
|
56
|
-
readonly name: "_masterCopy";
|
|
57
|
-
readonly type: "address";
|
|
58
|
-
}];
|
|
59
|
-
readonly name: "changeMasterCopy";
|
|
60
|
-
readonly outputs: readonly [];
|
|
61
|
-
readonly payable: false;
|
|
62
|
-
readonly stateMutability: "nonpayable";
|
|
63
|
-
readonly type: "function";
|
|
64
|
-
}, {
|
|
65
|
-
readonly constant: true;
|
|
66
|
-
readonly inputs: readonly [{
|
|
67
|
-
readonly internalType: "address";
|
|
68
|
-
readonly name: "";
|
|
69
|
-
readonly type: "address";
|
|
70
|
-
}];
|
|
71
|
-
readonly name: "dailyLimits";
|
|
72
|
-
readonly outputs: readonly [{
|
|
73
|
-
readonly internalType: "uint256";
|
|
74
|
-
readonly name: "dailyLimit";
|
|
75
|
-
readonly type: "uint256";
|
|
76
|
-
}, {
|
|
77
|
-
readonly internalType: "uint256";
|
|
78
|
-
readonly name: "spentToday";
|
|
79
|
-
readonly type: "uint256";
|
|
80
|
-
}, {
|
|
81
|
-
readonly internalType: "uint256";
|
|
82
|
-
readonly name: "lastDay";
|
|
83
|
-
readonly type: "uint256";
|
|
84
|
-
}];
|
|
85
|
-
readonly payable: false;
|
|
86
|
-
readonly stateMutability: "view";
|
|
87
|
-
readonly type: "function";
|
|
88
|
-
}, {
|
|
89
|
-
readonly constant: true;
|
|
90
|
-
readonly inputs: readonly [];
|
|
91
|
-
readonly name: "manager";
|
|
92
|
-
readonly outputs: readonly [{
|
|
93
|
-
readonly internalType: "contract ModuleManager";
|
|
94
|
-
readonly name: "";
|
|
95
|
-
readonly type: "address";
|
|
96
|
-
}];
|
|
97
|
-
readonly payable: false;
|
|
98
|
-
readonly stateMutability: "view";
|
|
99
|
-
readonly type: "function";
|
|
100
|
-
}, {
|
|
101
|
-
readonly constant: false;
|
|
102
|
-
readonly inputs: readonly [{
|
|
103
|
-
readonly internalType: "address[]";
|
|
104
|
-
readonly name: "tokens";
|
|
105
|
-
readonly type: "address[]";
|
|
106
|
-
}, {
|
|
107
|
-
readonly internalType: "uint256[]";
|
|
108
|
-
readonly name: "_dailyLimits";
|
|
109
|
-
readonly type: "uint256[]";
|
|
110
|
-
}];
|
|
111
|
-
readonly name: "setup";
|
|
112
|
-
readonly outputs: readonly [];
|
|
113
|
-
readonly payable: false;
|
|
114
|
-
readonly stateMutability: "nonpayable";
|
|
115
|
-
readonly type: "function";
|
|
116
|
-
}, {
|
|
117
|
-
readonly constant: false;
|
|
118
|
-
readonly inputs: readonly [{
|
|
119
|
-
readonly internalType: "address";
|
|
120
|
-
readonly name: "token";
|
|
121
|
-
readonly type: "address";
|
|
122
|
-
}, {
|
|
123
|
-
readonly internalType: "uint256";
|
|
124
|
-
readonly name: "dailyLimit";
|
|
125
|
-
readonly type: "uint256";
|
|
126
|
-
}];
|
|
127
|
-
readonly name: "changeDailyLimit";
|
|
128
|
-
readonly outputs: readonly [];
|
|
129
|
-
readonly payable: false;
|
|
130
|
-
readonly stateMutability: "nonpayable";
|
|
131
|
-
readonly type: "function";
|
|
132
|
-
}, {
|
|
133
|
-
readonly constant: false;
|
|
134
|
-
readonly inputs: readonly [{
|
|
135
|
-
readonly internalType: "address";
|
|
136
|
-
readonly name: "token";
|
|
137
|
-
readonly type: "address";
|
|
138
|
-
}, {
|
|
139
|
-
readonly internalType: "address";
|
|
140
|
-
readonly name: "to";
|
|
141
|
-
readonly type: "address";
|
|
142
|
-
}, {
|
|
143
|
-
readonly internalType: "uint256";
|
|
144
|
-
readonly name: "amount";
|
|
145
|
-
readonly type: "uint256";
|
|
146
|
-
}];
|
|
147
|
-
readonly name: "executeDailyLimit";
|
|
148
|
-
readonly outputs: readonly [];
|
|
149
|
-
readonly payable: false;
|
|
150
|
-
readonly stateMutability: "nonpayable";
|
|
151
|
-
readonly type: "function";
|
|
152
|
-
}, {
|
|
153
|
-
readonly constant: true;
|
|
154
|
-
readonly inputs: readonly [];
|
|
155
|
-
readonly name: "today";
|
|
156
|
-
readonly outputs: readonly [{
|
|
157
|
-
readonly internalType: "uint256";
|
|
158
|
-
readonly name: "";
|
|
159
|
-
readonly type: "uint256";
|
|
160
|
-
}];
|
|
161
|
-
readonly payable: false;
|
|
162
|
-
readonly stateMutability: "view";
|
|
163
|
-
readonly type: "function";
|
|
164
|
-
}];
|
|
165
|
-
static createInterface(): DailyLimitModuleInterface;
|
|
166
|
-
static connect(address: string, runner?: ContractRunner | null): DailyLimitModule;
|
|
167
|
-
}
|
|
168
|
-
export {};
|