@safe-global/protocol-kit 2.0.0-alpha.1 → 2.0.0-alpha.3

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.
Files changed (148) hide show
  1. package/dist/src/utils/transactions/gas.js +25 -8
  2. package/dist/src/utils/transactions/gas.js.map +1 -1
  3. package/dist/tsconfig.build.tsbuildinfo +1 -1
  4. package/package.json +1 -1
  5. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/index.d.ts +0 -2
  6. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/index.js +0 -3
  7. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/index.js.map +0 -1
  8. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.d.ts +0 -211
  9. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.js +0 -3
  10. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.js.map +0 -1
  11. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/index.d.ts +0 -1
  12. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/index.js +0 -3
  13. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/index.js.map +0 -1
  14. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/index.d.ts +0 -2
  15. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/index.js +0 -3
  16. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/index.js.map +0 -1
  17. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/index.d.ts +0 -2
  18. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/index.js +0 -3
  19. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/index.js.map +0 -1
  20. package/dist/typechain/tests/ethers-v6/v1.2.0/common.d.ts +0 -50
  21. package/dist/typechain/tests/ethers-v6/v1.2.0/common.js +0 -3
  22. package/dist/typechain/tests/ethers-v6/v1.2.0/common.js.map +0 -1
  23. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/index.d.ts +0 -2
  24. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/index.js +0 -3
  25. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/index.js.map +0 -1
  26. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/index.d.ts +0 -2
  27. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/index.js +0 -3
  28. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/index.js.map +0 -1
  29. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.d.ts +0 -137
  30. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.js +0 -3
  31. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.js.map +0 -1
  32. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/index.d.ts +0 -1
  33. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/index.js +0 -3
  34. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/index.js.map +0 -1
  35. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/index.d.ts +0 -1
  36. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/index.js +0 -31
  37. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/index.js.map +0 -1
  38. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/ERC20Mintable__factory.d.ts +0 -290
  39. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/ERC20Mintable__factory.js +0 -384
  40. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/ERC20Mintable__factory.js.map +0 -1
  41. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/index.d.ts +0 -1
  42. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/index.js +0 -9
  43. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/index.js.map +0 -1
  44. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/index.d.ts +0 -1
  45. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/index.js +0 -31
  46. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/index.js.map +0 -1
  47. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/index.d.ts +0 -1
  48. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/index.js +0 -31
  49. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/index.js.map +0 -1
  50. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/index.d.ts +0 -1
  51. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/index.js +0 -31
  52. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/index.js.map +0 -1
  53. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/index.d.ts +0 -1
  54. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/index.js +0 -31
  55. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/index.js.map +0 -1
  56. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/SocialRecoveryModule__factory.d.ts +0 -240
  57. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/SocialRecoveryModule__factory.js +0 -319
  58. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/SocialRecoveryModule__factory.js.map +0 -1
  59. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/index.d.ts +0 -1
  60. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/index.js +0 -9
  61. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/index.js.map +0 -1
  62. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/index.d.ts +0 -2
  63. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/index.js +0 -32
  64. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/index.js.map +0 -1
  65. package/dist/typechain/tests/ethers-v6/v1.2.0/index.d.ts +0 -9
  66. package/dist/typechain/tests/ethers-v6/v1.2.0/index.js +0 -32
  67. package/dist/typechain/tests/ethers-v6/v1.2.0/index.js.map +0 -1
  68. package/dist/typechain/tests/ethers-v6/v1.3.0/DebugTransactionGuard.d.ts +0 -154
  69. package/dist/typechain/tests/ethers-v6/v1.3.0/DebugTransactionGuard.js +0 -3
  70. package/dist/typechain/tests/ethers-v6/v1.3.0/DebugTransactionGuard.js.map +0 -1
  71. package/dist/typechain/tests/ethers-v6/v1.3.0/common.d.ts +0 -50
  72. package/dist/typechain/tests/ethers-v6/v1.3.0/common.js +0 -3
  73. package/dist/typechain/tests/ethers-v6/v1.3.0/common.js.map +0 -1
  74. package/dist/typechain/tests/ethers-v6/v1.3.0/factories/DebugTransactionGuard__factory.d.ts +0 -178
  75. package/dist/typechain/tests/ethers-v6/v1.3.0/factories/DebugTransactionGuard__factory.js +0 -236
  76. package/dist/typechain/tests/ethers-v6/v1.3.0/factories/DebugTransactionGuard__factory.js.map +0 -1
  77. package/dist/typechain/tests/ethers-v6/v1.3.0/factories/index.d.ts +0 -1
  78. package/dist/typechain/tests/ethers-v6/v1.3.0/factories/index.js +0 -9
  79. package/dist/typechain/tests/ethers-v6/v1.3.0/factories/index.js.map +0 -1
  80. package/dist/typechain/tests/ethers-v6/v1.3.0/index.d.ts +0 -3
  81. package/dist/typechain/tests/ethers-v6/v1.3.0/index.js +0 -30
  82. package/dist/typechain/tests/ethers-v6/v1.3.0/index.js.map +0 -1
  83. package/dist/typechain/tests/ethers-v6/v1.4.1/DebugTransactionGuard.d.ts +0 -168
  84. package/dist/typechain/tests/ethers-v6/v1.4.1/DebugTransactionGuard.js +0 -3
  85. package/dist/typechain/tests/ethers-v6/v1.4.1/DebugTransactionGuard.js.map +0 -1
  86. package/dist/typechain/tests/ethers-v6/v1.4.1/common.d.ts +0 -50
  87. package/dist/typechain/tests/ethers-v6/v1.4.1/common.js +0 -3
  88. package/dist/typechain/tests/ethers-v6/v1.4.1/common.js.map +0 -1
  89. package/dist/typechain/tests/ethers-v6/v1.4.1/factories/DebugTransactionGuard__factory.d.ts +0 -202
  90. package/dist/typechain/tests/ethers-v6/v1.4.1/factories/DebugTransactionGuard__factory.js +0 -267
  91. package/dist/typechain/tests/ethers-v6/v1.4.1/factories/DebugTransactionGuard__factory.js.map +0 -1
  92. package/dist/typechain/tests/ethers-v6/v1.4.1/factories/index.d.ts +0 -1
  93. package/dist/typechain/tests/ethers-v6/v1.4.1/factories/index.js +0 -9
  94. package/dist/typechain/tests/ethers-v6/v1.4.1/factories/index.js.map +0 -1
  95. package/dist/typechain/tests/ethers-v6/v1.4.1/index.d.ts +0 -3
  96. package/dist/typechain/tests/ethers-v6/v1.4.1/index.js +0 -30
  97. package/dist/typechain/tests/ethers-v6/v1.4.1/index.js.map +0 -1
  98. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/index.d.ts +0 -2
  99. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/index.js +0 -3
  100. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/index.js.map +0 -1
  101. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.d.ts +0 -72
  102. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.js +0 -6
  103. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.js.map +0 -1
  104. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/index.d.ts +0 -1
  105. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/index.js +0 -3
  106. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/index.js.map +0 -1
  107. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/index.d.ts +0 -2
  108. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/index.js +0 -3
  109. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/index.js.map +0 -1
  110. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/index.d.ts +0 -2
  111. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/index.js +0 -3
  112. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/index.js.map +0 -1
  113. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/index.d.ts +0 -2
  114. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/index.js +0 -3
  115. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/index.js.map +0 -1
  116. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/index.d.ts +0 -2
  117. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/index.js +0 -3
  118. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/index.js.map +0 -1
  119. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.d.ts +0 -42
  120. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.js +0 -6
  121. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.js.map +0 -1
  122. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/index.d.ts +0 -1
  123. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/index.js +0 -3
  124. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/index.js.map +0 -1
  125. package/dist/typechain/tests/web3-v1/v1.2.0/index.d.ts +0 -4
  126. package/dist/typechain/tests/web3-v1/v1.2.0/index.js +0 -3
  127. package/dist/typechain/tests/web3-v1/v1.2.0/index.js.map +0 -1
  128. package/dist/typechain/tests/web3-v1/v1.2.0/types.d.ts +0 -54
  129. package/dist/typechain/tests/web3-v1/v1.2.0/types.js +0 -3
  130. package/dist/typechain/tests/web3-v1/v1.2.0/types.js.map +0 -1
  131. package/dist/typechain/tests/web3-v1/v1.3.0/DebugTransactionGuard.d.ts +0 -61
  132. package/dist/typechain/tests/web3-v1/v1.3.0/DebugTransactionGuard.js +0 -6
  133. package/dist/typechain/tests/web3-v1/v1.3.0/DebugTransactionGuard.js.map +0 -1
  134. package/dist/typechain/tests/web3-v1/v1.3.0/index.d.ts +0 -1
  135. package/dist/typechain/tests/web3-v1/v1.3.0/index.js +0 -3
  136. package/dist/typechain/tests/web3-v1/v1.3.0/index.js.map +0 -1
  137. package/dist/typechain/tests/web3-v1/v1.3.0/types.d.ts +0 -54
  138. package/dist/typechain/tests/web3-v1/v1.3.0/types.js +0 -3
  139. package/dist/typechain/tests/web3-v1/v1.3.0/types.js.map +0 -1
  140. package/dist/typechain/tests/web3-v1/v1.4.1/DebugTransactionGuard.d.ts +0 -66
  141. package/dist/typechain/tests/web3-v1/v1.4.1/DebugTransactionGuard.js +0 -6
  142. package/dist/typechain/tests/web3-v1/v1.4.1/DebugTransactionGuard.js.map +0 -1
  143. package/dist/typechain/tests/web3-v1/v1.4.1/index.d.ts +0 -1
  144. package/dist/typechain/tests/web3-v1/v1.4.1/index.js +0 -3
  145. package/dist/typechain/tests/web3-v1/v1.4.1/index.js.map +0 -1
  146. package/dist/typechain/tests/web3-v1/v1.4.1/types.d.ts +0 -54
  147. package/dist/typechain/tests/web3-v1/v1.4.1/types.js +0 -3
  148. package/dist/typechain/tests/web3-v1/v1.4.1/types.js.map +0 -1
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/index.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import type * as contracts from "./contracts";
2
- export type { contracts };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain/tests/web3-v1/v1.2.0/@openzeppelin/index.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import type * as safeV120 from "./safe_V1_2_0";
2
- export type { safeV120 };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain/tests/web3-v1/v1.2.0/contracts/index.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import type * as modules from "./modules";
2
- export type { modules };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/index.ts"],"names":[],"mappings":""}
@@ -1,42 +0,0 @@
1
- /// <reference types="node" />
2
- import type BN from "bn.js";
3
- import type { ContractOptions } from "web3-eth-contract";
4
- import type { EventLog } from "web3-core";
5
- import type { EventEmitter } from "events";
6
- import type { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "../../../types";
7
- export interface EventOptions {
8
- filter?: object;
9
- fromBlock?: BlockType;
10
- topics?: string[];
11
- }
12
- export type ChangedMasterCopy = ContractEventLog<{
13
- masterCopy: string;
14
- 0: string;
15
- }>;
16
- export interface SocialRecoveryModule extends BaseContract {
17
- constructor(jsonInterface: any[], address?: string, options?: ContractOptions): SocialRecoveryModule;
18
- clone(): SocialRecoveryModule;
19
- methods: {
20
- NAME(): NonPayableTransactionObject<string>;
21
- VERSION(): NonPayableTransactionObject<string>;
22
- changeMasterCopy(_masterCopy: string): NonPayableTransactionObject<void>;
23
- confirmTransaction(dataHash: string | number[]): NonPayableTransactionObject<void>;
24
- friends(arg0: number | string | BN): NonPayableTransactionObject<string>;
25
- getDataHash(data: string | number[]): NonPayableTransactionObject<string>;
26
- isConfirmed(arg0: string | number[], arg1: string): NonPayableTransactionObject<boolean>;
27
- isConfirmedByRequiredFriends(dataHash: string | number[]): NonPayableTransactionObject<boolean>;
28
- isExecuted(arg0: string | number[]): NonPayableTransactionObject<boolean>;
29
- isFriend(arg0: string): NonPayableTransactionObject<boolean>;
30
- manager(): NonPayableTransactionObject<string>;
31
- recoverAccess(prevOwner: string, oldOwner: string, newOwner: string): NonPayableTransactionObject<void>;
32
- setup(_friends: string[], _threshold: number | string | BN): NonPayableTransactionObject<void>;
33
- threshold(): NonPayableTransactionObject<string>;
34
- };
35
- events: {
36
- ChangedMasterCopy(cb?: Callback<ChangedMasterCopy>): EventEmitter;
37
- ChangedMasterCopy(options?: EventOptions, cb?: Callback<ChangedMasterCopy>): EventEmitter;
38
- allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
39
- };
40
- once(event: "ChangedMasterCopy", cb: Callback<ChangedMasterCopy>): void;
41
- once(event: "ChangedMasterCopy", options: EventOptions, cb: Callback<ChangedMasterCopy>): void;
42
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- /* Autogenerated file. Do not edit manually. */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- //# sourceMappingURL=SocialRecoveryModule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SocialRecoveryModule.js","sourceRoot":"","sources":["../../../../../../../../typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB"}
@@ -1 +0,0 @@
1
- export type { SocialRecoveryModule } from "./SocialRecoveryModule";
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/index.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type * as openzeppelin from "./@openzeppelin";
2
- export type { openzeppelin };
3
- import type * as contracts from "./contracts";
4
- export type { contracts };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.2.0/index.ts"],"names":[],"mappings":""}
@@ -1,54 +0,0 @@
1
- /// <reference types="node" />
2
- import type BN from "bn.js";
3
- import type { EventEmitter } from "events";
4
- import type { EventLog, PromiEvent, TransactionReceipt } from "web3-core/types";
5
- import type { Contract } from "web3-eth-contract";
6
- export interface EstimateGasOptions {
7
- from?: string;
8
- gas?: number;
9
- value?: number | string | BN;
10
- }
11
- export interface EventOptions {
12
- filter?: object;
13
- fromBlock?: BlockType;
14
- topics?: string[];
15
- }
16
- export type Callback<T> = (error: Error, result: T) => void;
17
- export interface ContractEventLog<T> extends EventLog {
18
- returnValues: T;
19
- }
20
- export interface ContractEventEmitter<T> extends EventEmitter {
21
- on(event: "connected", listener: (subscriptionId: string) => void): this;
22
- on(event: "data" | "changed", listener: (event: ContractEventLog<T>) => void): this;
23
- on(event: "error", listener: (error: Error) => void): this;
24
- }
25
- export interface NonPayableTx {
26
- nonce?: string | number | BN;
27
- chainId?: string | number | BN;
28
- from?: string;
29
- to?: string;
30
- data?: string;
31
- gas?: string | number | BN;
32
- maxPriorityFeePerGas?: string | number | BN;
33
- maxFeePerGas?: string | number | BN;
34
- gasPrice?: string | number | BN;
35
- }
36
- export interface PayableTx extends NonPayableTx {
37
- value?: string | number | BN;
38
- }
39
- export interface NonPayableTransactionObject<T> {
40
- arguments: any[];
41
- call(tx?: NonPayableTx, block?: BlockType): Promise<T>;
42
- send(tx?: NonPayableTx): PromiEvent<TransactionReceipt>;
43
- estimateGas(tx?: NonPayableTx): Promise<number>;
44
- encodeABI(): string;
45
- }
46
- export interface PayableTransactionObject<T> {
47
- arguments: any[];
48
- call(tx?: PayableTx, block?: BlockType): Promise<T>;
49
- send(tx?: PayableTx): PromiEvent<TransactionReceipt>;
50
- estimateGas(tx?: PayableTx): Promise<number>;
51
- encodeABI(): string;
52
- }
53
- export type BlockType = "latest" | "pending" | "genesis" | "earliest" | number | BN;
54
- export type BaseContract = Omit<Contract, "clone" | "once">;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.2.0/types.ts"],"names":[],"mappings":""}
@@ -1,61 +0,0 @@
1
- /// <reference types="node" />
2
- import type BN from "bn.js";
3
- import type { ContractOptions } from "web3-eth-contract";
4
- import type { EventLog } from "web3-core";
5
- import type { EventEmitter } from "events";
6
- import type { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "./types";
7
- export interface EventOptions {
8
- filter?: object;
9
- fromBlock?: BlockType;
10
- topics?: string[];
11
- }
12
- export type GasUsage = ContractEventLog<{
13
- safe: string;
14
- txHash: string;
15
- nonce: string;
16
- success: boolean;
17
- 0: string;
18
- 1: string;
19
- 2: string;
20
- 3: boolean;
21
- }>;
22
- export type TransactionDetails = ContractEventLog<{
23
- safe: string;
24
- txHash: string;
25
- to: string;
26
- value: string;
27
- data: string;
28
- operation: string;
29
- safeTxGas: string;
30
- usesRefund: boolean;
31
- nonce: string;
32
- 0: string;
33
- 1: string;
34
- 2: string;
35
- 3: string;
36
- 4: string;
37
- 5: string;
38
- 6: string;
39
- 7: boolean;
40
- 8: string;
41
- }>;
42
- export interface DebugTransactionGuard extends BaseContract {
43
- constructor(jsonInterface: any[], address?: string, options?: ContractOptions): DebugTransactionGuard;
44
- clone(): DebugTransactionGuard;
45
- methods: {
46
- checkAfterExecution(txHash: string | number[], success: boolean): NonPayableTransactionObject<void>;
47
- checkTransaction(to: string, value: number | string | BN, data: string | number[], operation: number | string | BN, safeTxGas: number | string | BN, baseGas: number | string | BN, gasPrice: number | string | BN, gasToken: string, refundReceiver: string, arg9: string | number[], arg10: string): NonPayableTransactionObject<void>;
48
- txNonces(arg0: string | number[]): NonPayableTransactionObject<string>;
49
- };
50
- events: {
51
- GasUsage(cb?: Callback<GasUsage>): EventEmitter;
52
- GasUsage(options?: EventOptions, cb?: Callback<GasUsage>): EventEmitter;
53
- TransactionDetails(cb?: Callback<TransactionDetails>): EventEmitter;
54
- TransactionDetails(options?: EventOptions, cb?: Callback<TransactionDetails>): EventEmitter;
55
- allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
56
- };
57
- once(event: "GasUsage", cb: Callback<GasUsage>): void;
58
- once(event: "GasUsage", options: EventOptions, cb: Callback<GasUsage>): void;
59
- once(event: "TransactionDetails", cb: Callback<TransactionDetails>): void;
60
- once(event: "TransactionDetails", options: EventOptions, cb: Callback<TransactionDetails>): void;
61
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- /* Autogenerated file. Do not edit manually. */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- //# sourceMappingURL=DebugTransactionGuard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DebugTransactionGuard.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.3.0/DebugTransactionGuard.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB"}
@@ -1 +0,0 @@
1
- export type { DebugTransactionGuard } from "./DebugTransactionGuard";
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.3.0/index.ts"],"names":[],"mappings":""}
@@ -1,54 +0,0 @@
1
- /// <reference types="node" />
2
- import type BN from "bn.js";
3
- import type { EventEmitter } from "events";
4
- import type { EventLog, PromiEvent, TransactionReceipt } from "web3-core/types";
5
- import type { Contract } from "web3-eth-contract";
6
- export interface EstimateGasOptions {
7
- from?: string;
8
- gas?: number;
9
- value?: number | string | BN;
10
- }
11
- export interface EventOptions {
12
- filter?: object;
13
- fromBlock?: BlockType;
14
- topics?: string[];
15
- }
16
- export type Callback<T> = (error: Error, result: T) => void;
17
- export interface ContractEventLog<T> extends EventLog {
18
- returnValues: T;
19
- }
20
- export interface ContractEventEmitter<T> extends EventEmitter {
21
- on(event: "connected", listener: (subscriptionId: string) => void): this;
22
- on(event: "data" | "changed", listener: (event: ContractEventLog<T>) => void): this;
23
- on(event: "error", listener: (error: Error) => void): this;
24
- }
25
- export interface NonPayableTx {
26
- nonce?: string | number | BN;
27
- chainId?: string | number | BN;
28
- from?: string;
29
- to?: string;
30
- data?: string;
31
- gas?: string | number | BN;
32
- maxPriorityFeePerGas?: string | number | BN;
33
- maxFeePerGas?: string | number | BN;
34
- gasPrice?: string | number | BN;
35
- }
36
- export interface PayableTx extends NonPayableTx {
37
- value?: string | number | BN;
38
- }
39
- export interface NonPayableTransactionObject<T> {
40
- arguments: any[];
41
- call(tx?: NonPayableTx, block?: BlockType): Promise<T>;
42
- send(tx?: NonPayableTx): PromiEvent<TransactionReceipt>;
43
- estimateGas(tx?: NonPayableTx): Promise<number>;
44
- encodeABI(): string;
45
- }
46
- export interface PayableTransactionObject<T> {
47
- arguments: any[];
48
- call(tx?: PayableTx, block?: BlockType): Promise<T>;
49
- send(tx?: PayableTx): PromiEvent<TransactionReceipt>;
50
- estimateGas(tx?: PayableTx): Promise<number>;
51
- encodeABI(): string;
52
- }
53
- export type BlockType = "latest" | "pending" | "genesis" | "earliest" | number | BN;
54
- export type BaseContract = Omit<Contract, "clone" | "once">;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.3.0/types.ts"],"names":[],"mappings":""}
@@ -1,66 +0,0 @@
1
- /// <reference types="node" />
2
- import type BN from "bn.js";
3
- import type { ContractOptions } from "web3-eth-contract";
4
- import type { EventLog } from "web3-core";
5
- import type { EventEmitter } from "events";
6
- import type { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "./types";
7
- export interface EventOptions {
8
- filter?: object;
9
- fromBlock?: BlockType;
10
- topics?: string[];
11
- }
12
- export type GasUsage = ContractEventLog<{
13
- safe: string;
14
- txHash: string;
15
- nonce: string;
16
- success: boolean;
17
- 0: string;
18
- 1: string;
19
- 2: string;
20
- 3: boolean;
21
- }>;
22
- export type TransactionDetails = ContractEventLog<{
23
- safe: string;
24
- txHash: string;
25
- to: string;
26
- value: string;
27
- data: string;
28
- operation: string;
29
- safeTxGas: string;
30
- usesRefund: boolean;
31
- nonce: string;
32
- signatures: string;
33
- executor: string;
34
- 0: string;
35
- 1: string;
36
- 2: string;
37
- 3: string;
38
- 4: string;
39
- 5: string;
40
- 6: string;
41
- 7: boolean;
42
- 8: string;
43
- 9: string;
44
- 10: string;
45
- }>;
46
- export interface DebugTransactionGuard extends BaseContract {
47
- constructor(jsonInterface: any[], address?: string, options?: ContractOptions): DebugTransactionGuard;
48
- clone(): DebugTransactionGuard;
49
- methods: {
50
- checkAfterExecution(txHash: string | number[], success: boolean): NonPayableTransactionObject<void>;
51
- checkTransaction(to: string, value: number | string | BN, data: string | number[], operation: number | string | BN, safeTxGas: number | string | BN, baseGas: number | string | BN, gasPrice: number | string | BN, gasToken: string, refundReceiver: string, signatures: string | number[], executor: string): NonPayableTransactionObject<void>;
52
- supportsInterface(interfaceId: string | number[]): NonPayableTransactionObject<boolean>;
53
- txNonces(arg0: string | number[]): NonPayableTransactionObject<string>;
54
- };
55
- events: {
56
- GasUsage(cb?: Callback<GasUsage>): EventEmitter;
57
- GasUsage(options?: EventOptions, cb?: Callback<GasUsage>): EventEmitter;
58
- TransactionDetails(cb?: Callback<TransactionDetails>): EventEmitter;
59
- TransactionDetails(options?: EventOptions, cb?: Callback<TransactionDetails>): EventEmitter;
60
- allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
61
- };
62
- once(event: "GasUsage", cb: Callback<GasUsage>): void;
63
- once(event: "GasUsage", options: EventOptions, cb: Callback<GasUsage>): void;
64
- once(event: "TransactionDetails", cb: Callback<TransactionDetails>): void;
65
- once(event: "TransactionDetails", options: EventOptions, cb: Callback<TransactionDetails>): void;
66
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- /* Autogenerated file. Do not edit manually. */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- //# sourceMappingURL=DebugTransactionGuard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DebugTransactionGuard.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.4.1/DebugTransactionGuard.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB"}
@@ -1 +0,0 @@
1
- export type { DebugTransactionGuard } from "./DebugTransactionGuard";
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.4.1/index.ts"],"names":[],"mappings":""}
@@ -1,54 +0,0 @@
1
- /// <reference types="node" />
2
- import type BN from "bn.js";
3
- import type { EventEmitter } from "events";
4
- import type { EventLog, PromiEvent, TransactionReceipt } from "web3-core/types";
5
- import type { Contract } from "web3-eth-contract";
6
- export interface EstimateGasOptions {
7
- from?: string;
8
- gas?: number;
9
- value?: number | string | BN;
10
- }
11
- export interface EventOptions {
12
- filter?: object;
13
- fromBlock?: BlockType;
14
- topics?: string[];
15
- }
16
- export type Callback<T> = (error: Error, result: T) => void;
17
- export interface ContractEventLog<T> extends EventLog {
18
- returnValues: T;
19
- }
20
- export interface ContractEventEmitter<T> extends EventEmitter {
21
- on(event: "connected", listener: (subscriptionId: string) => void): this;
22
- on(event: "data" | "changed", listener: (event: ContractEventLog<T>) => void): this;
23
- on(event: "error", listener: (error: Error) => void): this;
24
- }
25
- export interface NonPayableTx {
26
- nonce?: string | number | BN;
27
- chainId?: string | number | BN;
28
- from?: string;
29
- to?: string;
30
- data?: string;
31
- gas?: string | number | BN;
32
- maxPriorityFeePerGas?: string | number | BN;
33
- maxFeePerGas?: string | number | BN;
34
- gasPrice?: string | number | BN;
35
- }
36
- export interface PayableTx extends NonPayableTx {
37
- value?: string | number | BN;
38
- }
39
- export interface NonPayableTransactionObject<T> {
40
- arguments: any[];
41
- call(tx?: NonPayableTx, block?: BlockType): Promise<T>;
42
- send(tx?: NonPayableTx): PromiEvent<TransactionReceipt>;
43
- estimateGas(tx?: NonPayableTx): Promise<number>;
44
- encodeABI(): string;
45
- }
46
- export interface PayableTransactionObject<T> {
47
- arguments: any[];
48
- call(tx?: PayableTx, block?: BlockType): Promise<T>;
49
- send(tx?: PayableTx): PromiEvent<TransactionReceipt>;
50
- estimateGas(tx?: PayableTx): Promise<number>;
51
- encodeABI(): string;
52
- }
53
- export type BlockType = "latest" | "pending" | "genesis" | "earliest" | number | BN;
54
- export type BaseContract = Omit<Contract, "clone" | "once">;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.4.1/types.ts"],"names":[],"mappings":""}