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

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 (156) hide show
  1. package/README.md +109 -113
  2. package/dist/src/Safe.d.ts +1 -1
  3. package/dist/src/Safe.js +77 -49
  4. package/dist/src/Safe.js.map +1 -1
  5. package/dist/src/types/index.d.ts +2 -2
  6. package/dist/src/utils/transactions/gas.js +7 -5
  7. package/dist/src/utils/transactions/gas.js.map +1 -1
  8. package/dist/src/utils/transactions/utils.d.ts +0 -1
  9. package/dist/src/utils/transactions/utils.js +1 -5
  10. package/dist/src/utils/transactions/utils.js.map +1 -1
  11. package/dist/tsconfig.build.tsbuildinfo +1 -1
  12. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/index.d.ts +2 -0
  13. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/index.js +3 -0
  14. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/index.js.map +1 -0
  15. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.d.ts +211 -0
  16. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.js +3 -0
  17. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.js.map +1 -0
  18. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/index.d.ts +1 -0
  19. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/index.js +3 -0
  20. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/ERC20/index.js.map +1 -0
  21. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/index.d.ts +2 -0
  22. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/index.js +3 -0
  23. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/contracts/token/index.js.map +1 -0
  24. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/index.d.ts +2 -0
  25. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/index.js +3 -0
  26. package/dist/typechain/tests/ethers-v6/v1.2.0/@openzeppelin/index.js.map +1 -0
  27. package/dist/typechain/tests/ethers-v6/v1.2.0/common.d.ts +50 -0
  28. package/dist/typechain/tests/ethers-v6/v1.2.0/common.js +3 -0
  29. package/dist/typechain/tests/ethers-v6/v1.2.0/common.js.map +1 -0
  30. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/index.d.ts +2 -0
  31. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/index.js +3 -0
  32. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/index.js.map +1 -0
  33. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/index.d.ts +2 -0
  34. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/index.js +3 -0
  35. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/index.js.map +1 -0
  36. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.d.ts +137 -0
  37. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.js +3 -0
  38. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.js.map +1 -0
  39. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/index.d.ts +1 -0
  40. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/index.js +3 -0
  41. package/dist/typechain/tests/ethers-v6/v1.2.0/contracts/safe_V1_2_0/modules/index.js.map +1 -0
  42. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/index.d.ts +1 -0
  43. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/index.js +31 -0
  44. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/index.js.map +1 -0
  45. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/ERC20Mintable__factory.d.ts +290 -0
  46. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/ERC20Mintable__factory.js +384 -0
  47. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/ERC20Mintable__factory.js.map +1 -0
  48. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/index.d.ts +1 -0
  49. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/index.js +9 -0
  50. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/ERC20/index.js.map +1 -0
  51. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/index.d.ts +1 -0
  52. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/index.js +31 -0
  53. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/contracts/token/index.js.map +1 -0
  54. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/index.d.ts +1 -0
  55. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/index.js +31 -0
  56. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@openzeppelin/index.js.map +1 -0
  57. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/index.d.ts +1 -0
  58. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/index.js +31 -0
  59. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/index.js.map +1 -0
  60. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/index.d.ts +1 -0
  61. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/index.js +31 -0
  62. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/index.js.map +1 -0
  63. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/SocialRecoveryModule__factory.d.ts +240 -0
  64. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/SocialRecoveryModule__factory.js +319 -0
  65. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/SocialRecoveryModule__factory.js.map +1 -0
  66. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/index.d.ts +1 -0
  67. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/index.js +9 -0
  68. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/contracts/safe_V1_2_0/modules/index.js.map +1 -0
  69. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/index.d.ts +2 -0
  70. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/index.js +32 -0
  71. package/dist/typechain/tests/ethers-v6/v1.2.0/factories/index.js.map +1 -0
  72. package/dist/typechain/tests/ethers-v6/v1.2.0/index.d.ts +9 -0
  73. package/dist/typechain/tests/ethers-v6/v1.2.0/index.js +32 -0
  74. package/dist/typechain/tests/ethers-v6/v1.2.0/index.js.map +1 -0
  75. package/dist/typechain/tests/ethers-v6/v1.3.0/DebugTransactionGuard.d.ts +154 -0
  76. package/dist/typechain/tests/ethers-v6/v1.3.0/DebugTransactionGuard.js +3 -0
  77. package/dist/typechain/tests/ethers-v6/v1.3.0/DebugTransactionGuard.js.map +1 -0
  78. package/dist/typechain/tests/ethers-v6/v1.3.0/common.d.ts +50 -0
  79. package/dist/typechain/tests/ethers-v6/v1.3.0/common.js +3 -0
  80. package/dist/typechain/tests/ethers-v6/v1.3.0/common.js.map +1 -0
  81. package/dist/typechain/tests/ethers-v6/v1.3.0/factories/DebugTransactionGuard__factory.d.ts +178 -0
  82. package/dist/typechain/tests/ethers-v6/v1.3.0/factories/DebugTransactionGuard__factory.js +236 -0
  83. package/dist/typechain/tests/ethers-v6/v1.3.0/factories/DebugTransactionGuard__factory.js.map +1 -0
  84. package/dist/typechain/tests/ethers-v6/v1.3.0/factories/index.d.ts +1 -0
  85. package/dist/typechain/tests/ethers-v6/v1.3.0/factories/index.js +9 -0
  86. package/dist/typechain/tests/ethers-v6/v1.3.0/factories/index.js.map +1 -0
  87. package/dist/typechain/tests/ethers-v6/v1.3.0/index.d.ts +3 -0
  88. package/dist/typechain/tests/ethers-v6/v1.3.0/index.js +30 -0
  89. package/dist/typechain/tests/ethers-v6/v1.3.0/index.js.map +1 -0
  90. package/dist/typechain/tests/ethers-v6/v1.4.1/DebugTransactionGuard.d.ts +168 -0
  91. package/dist/typechain/tests/ethers-v6/v1.4.1/DebugTransactionGuard.js +3 -0
  92. package/dist/typechain/tests/ethers-v6/v1.4.1/DebugTransactionGuard.js.map +1 -0
  93. package/dist/typechain/tests/ethers-v6/v1.4.1/common.d.ts +50 -0
  94. package/dist/typechain/tests/ethers-v6/v1.4.1/common.js +3 -0
  95. package/dist/typechain/tests/ethers-v6/v1.4.1/common.js.map +1 -0
  96. package/dist/typechain/tests/ethers-v6/v1.4.1/factories/DebugTransactionGuard__factory.d.ts +202 -0
  97. package/dist/typechain/tests/ethers-v6/v1.4.1/factories/DebugTransactionGuard__factory.js +267 -0
  98. package/dist/typechain/tests/ethers-v6/v1.4.1/factories/DebugTransactionGuard__factory.js.map +1 -0
  99. package/dist/typechain/tests/ethers-v6/v1.4.1/factories/index.d.ts +1 -0
  100. package/dist/typechain/tests/ethers-v6/v1.4.1/factories/index.js +9 -0
  101. package/dist/typechain/tests/ethers-v6/v1.4.1/factories/index.js.map +1 -0
  102. package/dist/typechain/tests/ethers-v6/v1.4.1/index.d.ts +3 -0
  103. package/dist/typechain/tests/ethers-v6/v1.4.1/index.js +30 -0
  104. package/dist/typechain/tests/ethers-v6/v1.4.1/index.js.map +1 -0
  105. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/index.d.ts +2 -0
  106. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/index.js +3 -0
  107. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/index.js.map +1 -0
  108. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.d.ts +72 -0
  109. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.js +6 -0
  110. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/ERC20Mintable.js.map +1 -0
  111. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/index.d.ts +1 -0
  112. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/index.js +3 -0
  113. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/ERC20/index.js.map +1 -0
  114. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/index.d.ts +2 -0
  115. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/index.js +3 -0
  116. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/token/index.js.map +1 -0
  117. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/index.d.ts +2 -0
  118. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/index.js +3 -0
  119. package/dist/typechain/tests/web3-v1/v1.2.0/@openzeppelin/index.js.map +1 -0
  120. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/index.d.ts +2 -0
  121. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/index.js +3 -0
  122. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/index.js.map +1 -0
  123. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/index.d.ts +2 -0
  124. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/index.js +3 -0
  125. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/index.js.map +1 -0
  126. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.d.ts +42 -0
  127. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.js +6 -0
  128. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/SocialRecoveryModule.js.map +1 -0
  129. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/index.d.ts +1 -0
  130. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/index.js +3 -0
  131. package/dist/typechain/tests/web3-v1/v1.2.0/contracts/safe_V1_2_0/modules/index.js.map +1 -0
  132. package/dist/typechain/tests/web3-v1/v1.2.0/index.d.ts +4 -0
  133. package/dist/typechain/tests/web3-v1/v1.2.0/index.js +3 -0
  134. package/dist/typechain/tests/web3-v1/v1.2.0/index.js.map +1 -0
  135. package/dist/typechain/tests/web3-v1/v1.2.0/types.d.ts +54 -0
  136. package/dist/typechain/tests/web3-v1/v1.2.0/types.js +3 -0
  137. package/dist/typechain/tests/web3-v1/v1.2.0/types.js.map +1 -0
  138. package/dist/typechain/tests/web3-v1/v1.3.0/DebugTransactionGuard.d.ts +61 -0
  139. package/dist/typechain/tests/web3-v1/v1.3.0/DebugTransactionGuard.js +6 -0
  140. package/dist/typechain/tests/web3-v1/v1.3.0/DebugTransactionGuard.js.map +1 -0
  141. package/dist/typechain/tests/web3-v1/v1.3.0/index.d.ts +1 -0
  142. package/dist/typechain/tests/web3-v1/v1.3.0/index.js +3 -0
  143. package/dist/typechain/tests/web3-v1/v1.3.0/index.js.map +1 -0
  144. package/dist/typechain/tests/web3-v1/v1.3.0/types.d.ts +54 -0
  145. package/dist/typechain/tests/web3-v1/v1.3.0/types.js +3 -0
  146. package/dist/typechain/tests/web3-v1/v1.3.0/types.js.map +1 -0
  147. package/dist/typechain/tests/web3-v1/v1.4.1/DebugTransactionGuard.d.ts +66 -0
  148. package/dist/typechain/tests/web3-v1/v1.4.1/DebugTransactionGuard.js +6 -0
  149. package/dist/typechain/tests/web3-v1/v1.4.1/DebugTransactionGuard.js.map +1 -0
  150. package/dist/typechain/tests/web3-v1/v1.4.1/index.d.ts +1 -0
  151. package/dist/typechain/tests/web3-v1/v1.4.1/index.js +3 -0
  152. package/dist/typechain/tests/web3-v1/v1.4.1/index.js.map +1 -0
  153. package/dist/typechain/tests/web3-v1/v1.4.1/types.d.ts +54 -0
  154. package/dist/typechain/tests/web3-v1/v1.4.1/types.js +3 -0
  155. package/dist/typechain/tests/web3-v1/v1.4.1/types.js.map +1 -0
  156. package/package.json +2 -2
@@ -0,0 +1,202 @@
1
+ import { ContractFactory, ContractTransactionResponse } from "ethers";
2
+ import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
3
+ import type { NonPayableOverrides } from "../common";
4
+ import type { DebugTransactionGuard, DebugTransactionGuardInterface } from "../DebugTransactionGuard";
5
+ type DebugTransactionGuardConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
6
+ export declare class DebugTransactionGuard__factory extends ContractFactory {
7
+ constructor(...args: DebugTransactionGuardConstructorParams);
8
+ getDeployTransaction(overrides?: NonPayableOverrides & {
9
+ from?: string;
10
+ }): Promise<ContractDeployTransaction>;
11
+ deploy(overrides?: NonPayableOverrides & {
12
+ from?: string;
13
+ }): Promise<DebugTransactionGuard & {
14
+ deploymentTransaction(): ContractTransactionResponse;
15
+ }>;
16
+ connect(runner: ContractRunner | null): DebugTransactionGuard__factory;
17
+ static readonly bytecode = "0x608060405234801561001057600080fd5b50610929806100206000396000f3fe608060405234801561001057600080fd5b50600436106100505760003560e01c806301ffc9a71461005357806375f0bb52146100b657806393271368146102be578063ddbdba63146102f857610051565b5b005b61009e6004803603602081101561006957600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916906020019092919050505061033a565b60405180821515815260200191505060405180910390f35b6102bc60048036036101608110156100cd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019064010000000081111561011457600080fd5b82018360208201111561012657600080fd5b8035906020019184600183028401116401000000008311171561014857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290803560ff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561021657600080fd5b82018360208201111561022857600080fd5b8035906020019184600183028401116401000000008311171561024a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061040c565b005b6102f6600480360360408110156102d457600080fd5b81019080803590602001909291908035151590602001909291905050506107de565b005b6103246004803603602081101561030e57600080fd5b81019080803590602001909291905050506108db565b6040518082815260200191505060405180910390f35b60007fe6d7a83a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061040557507f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600080600033905060018173ffffffffffffffffffffffffffffffffffffffff1663affed0e06040518163ffffffff1660e01b815260040160206040518083038186803b15801561045c57600080fd5b505afa158015610470573d6000803e3d6000fd5b505050506040513d602081101561048657600080fd5b81019080805190602001909291905050500392508073ffffffffffffffffffffffffffffffffffffffff1663d8d11f788f8f8f8f8f8f8f8f8f8d6040518b63ffffffff1660e01b8152600401808b73ffffffffffffffffffffffffffffffffffffffff1681526020018a81526020018060200189600181111561050557fe5b81526020018881526020018781526020018681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182810382528a818151815260200191508051906020019080838360005b83811015610592578082015181840152602081019050610577565b50505050905090810190601f1680156105bf5780820380516001836020036101000a031916815260200191505b509b50505050505050505050505060206040518083038186803b1580156105e557600080fd5b505afa1580156105f9573d6000803e3d6000fd5b505050506040513d602081101561060f57600080fd5b8101908080519060200190929190505050915050803373ffffffffffffffffffffffffffffffffffffffff167fa65fef32cd19a6639a4bf7a6d196f132c151e4f0bbd2706f7f831b3a778e1ac08f8f8f8f8f60008f118a8d8d604051808a73ffffffffffffffffffffffffffffffffffffffff1681526020018981526020018060200188600181111561069e57fe5b81526020018781526020018615158152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff16815260200183810383528a818151815260200191508051906020019080838360005b8381101561070f5780820151818401526020810190506106f4565b50505050905090810190601f16801561073c5780820380516001836020036101000a031916815260200191505b50838103825285818151815260200191508051906020019080838360005b8381101561077557808201518184015260208101905061075a565b50505050905090810190601f1680156107a25780820380516001836020036101000a031916815260200191505b509b50505050505050505050505060405180910390a3816000808381526020019081526020016000208190555050505050505050505050505050565b6000806000848152602001908152602001600020549050600081141561086c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f436f756c64206e6f7420676574206e6f6e63650000000000000000000000000081525060200191505060405180910390fd5b60008060008581526020019081526020016000208190555080833373ffffffffffffffffffffffffffffffffffffffff167f0dcc0fb56a30b6fe6b188f45b47369bc7f3c928a9748e245a79fc3f54ddd05688560405180821515815260200191505060405180910390a4505050565b6000602052806000526040600020600091509050548156fea26469706673582212206b4220320ac3fc43010ac2089f4931c4c383ca9873db22b0040a28af93142dd864736f6c63430007060033";
18
+ static readonly abi: readonly [{
19
+ readonly anonymous: false;
20
+ readonly inputs: readonly [{
21
+ readonly indexed: true;
22
+ readonly internalType: "address";
23
+ readonly name: "safe";
24
+ readonly type: "address";
25
+ }, {
26
+ readonly indexed: true;
27
+ readonly internalType: "bytes32";
28
+ readonly name: "txHash";
29
+ readonly type: "bytes32";
30
+ }, {
31
+ readonly indexed: true;
32
+ readonly internalType: "uint256";
33
+ readonly name: "nonce";
34
+ readonly type: "uint256";
35
+ }, {
36
+ readonly indexed: false;
37
+ readonly internalType: "bool";
38
+ readonly name: "success";
39
+ readonly type: "bool";
40
+ }];
41
+ readonly name: "GasUsage";
42
+ readonly type: "event";
43
+ }, {
44
+ readonly anonymous: false;
45
+ readonly inputs: readonly [{
46
+ readonly indexed: true;
47
+ readonly internalType: "address";
48
+ readonly name: "safe";
49
+ readonly type: "address";
50
+ }, {
51
+ readonly indexed: true;
52
+ readonly internalType: "bytes32";
53
+ readonly name: "txHash";
54
+ readonly type: "bytes32";
55
+ }, {
56
+ readonly indexed: false;
57
+ readonly internalType: "address";
58
+ readonly name: "to";
59
+ readonly type: "address";
60
+ }, {
61
+ readonly indexed: false;
62
+ readonly internalType: "uint256";
63
+ readonly name: "value";
64
+ readonly type: "uint256";
65
+ }, {
66
+ readonly indexed: false;
67
+ readonly internalType: "bytes";
68
+ readonly name: "data";
69
+ readonly type: "bytes";
70
+ }, {
71
+ readonly indexed: false;
72
+ readonly internalType: "enum Enum.Operation";
73
+ readonly name: "operation";
74
+ readonly type: "uint8";
75
+ }, {
76
+ readonly indexed: false;
77
+ readonly internalType: "uint256";
78
+ readonly name: "safeTxGas";
79
+ readonly type: "uint256";
80
+ }, {
81
+ readonly indexed: false;
82
+ readonly internalType: "bool";
83
+ readonly name: "usesRefund";
84
+ readonly type: "bool";
85
+ }, {
86
+ readonly indexed: false;
87
+ readonly internalType: "uint256";
88
+ readonly name: "nonce";
89
+ readonly type: "uint256";
90
+ }, {
91
+ readonly indexed: false;
92
+ readonly internalType: "bytes";
93
+ readonly name: "signatures";
94
+ readonly type: "bytes";
95
+ }, {
96
+ readonly indexed: false;
97
+ readonly internalType: "address";
98
+ readonly name: "executor";
99
+ readonly type: "address";
100
+ }];
101
+ readonly name: "TransactionDetails";
102
+ readonly type: "event";
103
+ }, {
104
+ readonly stateMutability: "nonpayable";
105
+ readonly type: "fallback";
106
+ }, {
107
+ readonly inputs: readonly [{
108
+ readonly internalType: "bytes32";
109
+ readonly name: "txHash";
110
+ readonly type: "bytes32";
111
+ }, {
112
+ readonly internalType: "bool";
113
+ readonly name: "success";
114
+ readonly type: "bool";
115
+ }];
116
+ readonly name: "checkAfterExecution";
117
+ readonly outputs: readonly [];
118
+ readonly stateMutability: "nonpayable";
119
+ readonly type: "function";
120
+ }, {
121
+ readonly inputs: readonly [{
122
+ readonly internalType: "address";
123
+ readonly name: "to";
124
+ readonly type: "address";
125
+ }, {
126
+ readonly internalType: "uint256";
127
+ readonly name: "value";
128
+ readonly type: "uint256";
129
+ }, {
130
+ readonly internalType: "bytes";
131
+ readonly name: "data";
132
+ readonly type: "bytes";
133
+ }, {
134
+ readonly internalType: "enum Enum.Operation";
135
+ readonly name: "operation";
136
+ readonly type: "uint8";
137
+ }, {
138
+ readonly internalType: "uint256";
139
+ readonly name: "safeTxGas";
140
+ readonly type: "uint256";
141
+ }, {
142
+ readonly internalType: "uint256";
143
+ readonly name: "baseGas";
144
+ readonly type: "uint256";
145
+ }, {
146
+ readonly internalType: "uint256";
147
+ readonly name: "gasPrice";
148
+ readonly type: "uint256";
149
+ }, {
150
+ readonly internalType: "address";
151
+ readonly name: "gasToken";
152
+ readonly type: "address";
153
+ }, {
154
+ readonly internalType: "address payable";
155
+ readonly name: "refundReceiver";
156
+ readonly type: "address";
157
+ }, {
158
+ readonly internalType: "bytes";
159
+ readonly name: "signatures";
160
+ readonly type: "bytes";
161
+ }, {
162
+ readonly internalType: "address";
163
+ readonly name: "executor";
164
+ readonly type: "address";
165
+ }];
166
+ readonly name: "checkTransaction";
167
+ readonly outputs: readonly [];
168
+ readonly stateMutability: "nonpayable";
169
+ readonly type: "function";
170
+ }, {
171
+ readonly inputs: readonly [{
172
+ readonly internalType: "bytes4";
173
+ readonly name: "interfaceId";
174
+ readonly type: "bytes4";
175
+ }];
176
+ readonly name: "supportsInterface";
177
+ readonly outputs: readonly [{
178
+ readonly internalType: "bool";
179
+ readonly name: "";
180
+ readonly type: "bool";
181
+ }];
182
+ readonly stateMutability: "view";
183
+ readonly type: "function";
184
+ }, {
185
+ readonly inputs: readonly [{
186
+ readonly internalType: "bytes32";
187
+ readonly name: "";
188
+ readonly type: "bytes32";
189
+ }];
190
+ readonly name: "txNonces";
191
+ readonly outputs: readonly [{
192
+ readonly internalType: "uint256";
193
+ readonly name: "";
194
+ readonly type: "uint256";
195
+ }];
196
+ readonly stateMutability: "view";
197
+ readonly type: "function";
198
+ }];
199
+ static createInterface(): DebugTransactionGuardInterface;
200
+ static connect(address: string, runner?: ContractRunner | null): DebugTransactionGuard;
201
+ }
202
+ export {};
@@ -0,0 +1,267 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DebugTransactionGuard__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ anonymous: false,
11
+ inputs: [
12
+ {
13
+ indexed: true,
14
+ internalType: "address",
15
+ name: "safe",
16
+ type: "address",
17
+ },
18
+ {
19
+ indexed: true,
20
+ internalType: "bytes32",
21
+ name: "txHash",
22
+ type: "bytes32",
23
+ },
24
+ {
25
+ indexed: true,
26
+ internalType: "uint256",
27
+ name: "nonce",
28
+ type: "uint256",
29
+ },
30
+ {
31
+ indexed: false,
32
+ internalType: "bool",
33
+ name: "success",
34
+ type: "bool",
35
+ },
36
+ ],
37
+ name: "GasUsage",
38
+ type: "event",
39
+ },
40
+ {
41
+ anonymous: false,
42
+ inputs: [
43
+ {
44
+ indexed: true,
45
+ internalType: "address",
46
+ name: "safe",
47
+ type: "address",
48
+ },
49
+ {
50
+ indexed: true,
51
+ internalType: "bytes32",
52
+ name: "txHash",
53
+ type: "bytes32",
54
+ },
55
+ {
56
+ indexed: false,
57
+ internalType: "address",
58
+ name: "to",
59
+ type: "address",
60
+ },
61
+ {
62
+ indexed: false,
63
+ internalType: "uint256",
64
+ name: "value",
65
+ type: "uint256",
66
+ },
67
+ {
68
+ indexed: false,
69
+ internalType: "bytes",
70
+ name: "data",
71
+ type: "bytes",
72
+ },
73
+ {
74
+ indexed: false,
75
+ internalType: "enum Enum.Operation",
76
+ name: "operation",
77
+ type: "uint8",
78
+ },
79
+ {
80
+ indexed: false,
81
+ internalType: "uint256",
82
+ name: "safeTxGas",
83
+ type: "uint256",
84
+ },
85
+ {
86
+ indexed: false,
87
+ internalType: "bool",
88
+ name: "usesRefund",
89
+ type: "bool",
90
+ },
91
+ {
92
+ indexed: false,
93
+ internalType: "uint256",
94
+ name: "nonce",
95
+ type: "uint256",
96
+ },
97
+ {
98
+ indexed: false,
99
+ internalType: "bytes",
100
+ name: "signatures",
101
+ type: "bytes",
102
+ },
103
+ {
104
+ indexed: false,
105
+ internalType: "address",
106
+ name: "executor",
107
+ type: "address",
108
+ },
109
+ ],
110
+ name: "TransactionDetails",
111
+ type: "event",
112
+ },
113
+ {
114
+ stateMutability: "nonpayable",
115
+ type: "fallback",
116
+ },
117
+ {
118
+ inputs: [
119
+ {
120
+ internalType: "bytes32",
121
+ name: "txHash",
122
+ type: "bytes32",
123
+ },
124
+ {
125
+ internalType: "bool",
126
+ name: "success",
127
+ type: "bool",
128
+ },
129
+ ],
130
+ name: "checkAfterExecution",
131
+ outputs: [],
132
+ stateMutability: "nonpayable",
133
+ type: "function",
134
+ },
135
+ {
136
+ inputs: [
137
+ {
138
+ internalType: "address",
139
+ name: "to",
140
+ type: "address",
141
+ },
142
+ {
143
+ internalType: "uint256",
144
+ name: "value",
145
+ type: "uint256",
146
+ },
147
+ {
148
+ internalType: "bytes",
149
+ name: "data",
150
+ type: "bytes",
151
+ },
152
+ {
153
+ internalType: "enum Enum.Operation",
154
+ name: "operation",
155
+ type: "uint8",
156
+ },
157
+ {
158
+ internalType: "uint256",
159
+ name: "safeTxGas",
160
+ type: "uint256",
161
+ },
162
+ {
163
+ internalType: "uint256",
164
+ name: "baseGas",
165
+ type: "uint256",
166
+ },
167
+ {
168
+ internalType: "uint256",
169
+ name: "gasPrice",
170
+ type: "uint256",
171
+ },
172
+ {
173
+ internalType: "address",
174
+ name: "gasToken",
175
+ type: "address",
176
+ },
177
+ {
178
+ internalType: "address payable",
179
+ name: "refundReceiver",
180
+ type: "address",
181
+ },
182
+ {
183
+ internalType: "bytes",
184
+ name: "signatures",
185
+ type: "bytes",
186
+ },
187
+ {
188
+ internalType: "address",
189
+ name: "executor",
190
+ type: "address",
191
+ },
192
+ ],
193
+ name: "checkTransaction",
194
+ outputs: [],
195
+ stateMutability: "nonpayable",
196
+ type: "function",
197
+ },
198
+ {
199
+ inputs: [
200
+ {
201
+ internalType: "bytes4",
202
+ name: "interfaceId",
203
+ type: "bytes4",
204
+ },
205
+ ],
206
+ name: "supportsInterface",
207
+ outputs: [
208
+ {
209
+ internalType: "bool",
210
+ name: "",
211
+ type: "bool",
212
+ },
213
+ ],
214
+ stateMutability: "view",
215
+ type: "function",
216
+ },
217
+ {
218
+ inputs: [
219
+ {
220
+ internalType: "bytes32",
221
+ name: "",
222
+ type: "bytes32",
223
+ },
224
+ ],
225
+ name: "txNonces",
226
+ outputs: [
227
+ {
228
+ internalType: "uint256",
229
+ name: "",
230
+ type: "uint256",
231
+ },
232
+ ],
233
+ stateMutability: "view",
234
+ type: "function",
235
+ },
236
+ ];
237
+ const _bytecode = "0x608060405234801561001057600080fd5b50610929806100206000396000f3fe608060405234801561001057600080fd5b50600436106100505760003560e01c806301ffc9a71461005357806375f0bb52146100b657806393271368146102be578063ddbdba63146102f857610051565b5b005b61009e6004803603602081101561006957600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916906020019092919050505061033a565b60405180821515815260200191505060405180910390f35b6102bc60048036036101608110156100cd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019064010000000081111561011457600080fd5b82018360208201111561012657600080fd5b8035906020019184600183028401116401000000008311171561014857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290803560ff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561021657600080fd5b82018360208201111561022857600080fd5b8035906020019184600183028401116401000000008311171561024a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061040c565b005b6102f6600480360360408110156102d457600080fd5b81019080803590602001909291908035151590602001909291905050506107de565b005b6103246004803603602081101561030e57600080fd5b81019080803590602001909291905050506108db565b6040518082815260200191505060405180910390f35b60007fe6d7a83a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061040557507f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600080600033905060018173ffffffffffffffffffffffffffffffffffffffff1663affed0e06040518163ffffffff1660e01b815260040160206040518083038186803b15801561045c57600080fd5b505afa158015610470573d6000803e3d6000fd5b505050506040513d602081101561048657600080fd5b81019080805190602001909291905050500392508073ffffffffffffffffffffffffffffffffffffffff1663d8d11f788f8f8f8f8f8f8f8f8f8d6040518b63ffffffff1660e01b8152600401808b73ffffffffffffffffffffffffffffffffffffffff1681526020018a81526020018060200189600181111561050557fe5b81526020018881526020018781526020018681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182810382528a818151815260200191508051906020019080838360005b83811015610592578082015181840152602081019050610577565b50505050905090810190601f1680156105bf5780820380516001836020036101000a031916815260200191505b509b50505050505050505050505060206040518083038186803b1580156105e557600080fd5b505afa1580156105f9573d6000803e3d6000fd5b505050506040513d602081101561060f57600080fd5b8101908080519060200190929190505050915050803373ffffffffffffffffffffffffffffffffffffffff167fa65fef32cd19a6639a4bf7a6d196f132c151e4f0bbd2706f7f831b3a778e1ac08f8f8f8f8f60008f118a8d8d604051808a73ffffffffffffffffffffffffffffffffffffffff1681526020018981526020018060200188600181111561069e57fe5b81526020018781526020018615158152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff16815260200183810383528a818151815260200191508051906020019080838360005b8381101561070f5780820151818401526020810190506106f4565b50505050905090810190601f16801561073c5780820380516001836020036101000a031916815260200191505b50838103825285818151815260200191508051906020019080838360005b8381101561077557808201518184015260208101905061075a565b50505050905090810190601f1680156107a25780820380516001836020036101000a031916815260200191505b509b50505050505050505050505060405180910390a3816000808381526020019081526020016000208190555050505050505050505050505050565b6000806000848152602001908152602001600020549050600081141561086c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f436f756c64206e6f7420676574206e6f6e63650000000000000000000000000081525060200191505060405180910390fd5b60008060008581526020019081526020016000208190555080833373ffffffffffffffffffffffffffffffffffffffff167f0dcc0fb56a30b6fe6b188f45b47369bc7f3c928a9748e245a79fc3f54ddd05688560405180821515815260200191505060405180910390a4505050565b6000602052806000526040600020600091509050548156fea26469706673582212206b4220320ac3fc43010ac2089f4931c4c383ca9873db22b0040a28af93142dd864736f6c63430007060033";
238
+ const isSuperArgs = (xs) => xs.length > 1;
239
+ class DebugTransactionGuard__factory extends ethers_1.ContractFactory {
240
+ constructor(...args) {
241
+ if (isSuperArgs(args)) {
242
+ super(...args);
243
+ }
244
+ else {
245
+ super(_abi, _bytecode, args[0]);
246
+ }
247
+ }
248
+ getDeployTransaction(overrides) {
249
+ return super.getDeployTransaction(overrides || {});
250
+ }
251
+ deploy(overrides) {
252
+ return super.deploy(overrides || {});
253
+ }
254
+ connect(runner) {
255
+ return super.connect(runner);
256
+ }
257
+ static createInterface() {
258
+ return new ethers_1.Interface(_abi);
259
+ }
260
+ static connect(address, runner) {
261
+ return new ethers_1.Contract(address, _abi, runner);
262
+ }
263
+ }
264
+ exports.DebugTransactionGuard__factory = DebugTransactionGuard__factory;
265
+ DebugTransactionGuard__factory.bytecode = _bytecode;
266
+ DebugTransactionGuard__factory.abi = _abi;
267
+ //# sourceMappingURL=DebugTransactionGuard__factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DebugTransactionGuard__factory.js","sourceRoot":"","sources":["../../../../../../typechain/tests/ethers-v6/v1.4.1/factories/DebugTransactionGuard__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAKgB;AAQhB,MAAM,IAAI,GAAG;IACX;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,MAAM;aACb;SACF;QACD,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EA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,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,SAAmD;QACjE,OAAO,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,CAIlC,CAAC;IACJ,CAAC;IACQ,OAAO,CACd,MAA6B;QAE7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAmC,CAAC;IACjE,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAmC,CAAC;IAC/D,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,MAA8B;QAE9B,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,MAAM,CAC6B,CAAC;IACxC,CAAC;;AAzCH,wEA0CC;AAfiB,uCAAQ,GAAG,SAAS,CAAC;AACrB,kCAAG,GAAG,IAAI,CAAC"}
@@ -0,0 +1 @@
1
+ export { DebugTransactionGuard__factory } from "./DebugTransactionGuard__factory";
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DebugTransactionGuard__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ var DebugTransactionGuard__factory_1 = require("./DebugTransactionGuard__factory");
8
+ Object.defineProperty(exports, "DebugTransactionGuard__factory", { enumerable: true, get: function () { return DebugTransactionGuard__factory_1.DebugTransactionGuard__factory; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain/tests/ethers-v6/v1.4.1/factories/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mFAAkF;AAAzE,gJAAA,8BAA8B,OAAA"}
@@ -0,0 +1,3 @@
1
+ export type { DebugTransactionGuard } from "./DebugTransactionGuard";
2
+ export * as factories from "./factories";
3
+ export { DebugTransactionGuard__factory } from "./factories/DebugTransactionGuard__factory";
@@ -0,0 +1,30 @@
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.DebugTransactionGuard__factory = exports.factories = void 0;
27
+ exports.factories = __importStar(require("./factories"));
28
+ var DebugTransactionGuard__factory_1 = require("./factories/DebugTransactionGuard__factory");
29
+ Object.defineProperty(exports, "DebugTransactionGuard__factory", { enumerable: true, get: function () { return DebugTransactionGuard__factory_1.DebugTransactionGuard__factory; } });
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain/tests/ethers-v6/v1.4.1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,yDAAyC;AACzC,6FAA4F;AAAnF,gJAAA,8BAA8B,OAAA"}
@@ -0,0 +1,2 @@
1
+ import type * as token from "./token";
2
+ export type { token };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain/tests/web3-v1/v1.2.0/@openzeppelin/contracts/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,72 @@
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 Approval = ContractEventLog<{
13
+ owner: string;
14
+ spender: string;
15
+ value: string;
16
+ 0: string;
17
+ 1: string;
18
+ 2: string;
19
+ }>;
20
+ export type MinterAdded = ContractEventLog<{
21
+ account: string;
22
+ 0: string;
23
+ }>;
24
+ export type MinterRemoved = ContractEventLog<{
25
+ account: string;
26
+ 0: string;
27
+ }>;
28
+ export type Transfer = ContractEventLog<{
29
+ from: string;
30
+ to: string;
31
+ value: string;
32
+ 0: string;
33
+ 1: string;
34
+ 2: string;
35
+ }>;
36
+ export interface ERC20Mintable extends BaseContract {
37
+ constructor(jsonInterface: any[], address?: string, options?: ContractOptions): ERC20Mintable;
38
+ clone(): ERC20Mintable;
39
+ methods: {
40
+ addMinter(account: string): NonPayableTransactionObject<void>;
41
+ allowance(owner: string, spender: string): NonPayableTransactionObject<string>;
42
+ approve(spender: string, amount: number | string | BN): NonPayableTransactionObject<boolean>;
43
+ balanceOf(account: string): NonPayableTransactionObject<string>;
44
+ decreaseAllowance(spender: string, subtractedValue: number | string | BN): NonPayableTransactionObject<boolean>;
45
+ increaseAllowance(spender: string, addedValue: number | string | BN): NonPayableTransactionObject<boolean>;
46
+ isMinter(account: string): NonPayableTransactionObject<boolean>;
47
+ mint(account: string, amount: number | string | BN): NonPayableTransactionObject<boolean>;
48
+ renounceMinter(): NonPayableTransactionObject<void>;
49
+ totalSupply(): NonPayableTransactionObject<string>;
50
+ transfer(recipient: string, amount: number | string | BN): NonPayableTransactionObject<boolean>;
51
+ transferFrom(sender: string, recipient: string, amount: number | string | BN): NonPayableTransactionObject<boolean>;
52
+ };
53
+ events: {
54
+ Approval(cb?: Callback<Approval>): EventEmitter;
55
+ Approval(options?: EventOptions, cb?: Callback<Approval>): EventEmitter;
56
+ MinterAdded(cb?: Callback<MinterAdded>): EventEmitter;
57
+ MinterAdded(options?: EventOptions, cb?: Callback<MinterAdded>): EventEmitter;
58
+ MinterRemoved(cb?: Callback<MinterRemoved>): EventEmitter;
59
+ MinterRemoved(options?: EventOptions, cb?: Callback<MinterRemoved>): EventEmitter;
60
+ Transfer(cb?: Callback<Transfer>): EventEmitter;
61
+ Transfer(options?: EventOptions, cb?: Callback<Transfer>): EventEmitter;
62
+ allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
63
+ };
64
+ once(event: "Approval", cb: Callback<Approval>): void;
65
+ once(event: "Approval", options: EventOptions, cb: Callback<Approval>): void;
66
+ once(event: "MinterAdded", cb: Callback<MinterAdded>): void;
67
+ once(event: "MinterAdded", options: EventOptions, cb: Callback<MinterAdded>): void;
68
+ once(event: "MinterRemoved", cb: Callback<MinterRemoved>): void;
69
+ once(event: "MinterRemoved", options: EventOptions, cb: Callback<MinterRemoved>): void;
70
+ once(event: "Transfer", cb: Callback<Transfer>): void;
71
+ once(event: "Transfer", options: EventOptions, cb: Callback<Transfer>): void;
72
+ }
@@ -0,0 +1,6 @@
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=ERC20Mintable.js.map
@@ -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
+ export type { ERC20Mintable } from "./ERC20Mintable";
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -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,2 @@
1
+ import type * as erc20 from "./ERC20";
2
+ export type { erc20 };