@t-rex-network/onchainid 0.0.0-stage → 3.0.0-beta2

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 (237) hide show
  1. package/LICENSE.md +674 -0
  2. package/NOTICE.md +66 -0
  3. package/README.md +177 -2
  4. package/contracts/Identity.sol +235 -0
  5. package/contracts/IdentityUtilities.sol +269 -0
  6. package/contracts/KeyManager.sol +193 -0
  7. package/contracts/SmartAccount.sol +222 -0
  8. package/contracts/factory/IIdentityFactory.sol +325 -0
  9. package/contracts/factory/IdentityFactory.sol +818 -0
  10. package/contracts/interface/IClaimIssuer.sol +105 -0
  11. package/contracts/interface/IERC734.sol +69 -0
  12. package/contracts/interface/IERC735.sol +149 -0
  13. package/contracts/interface/IIdentity.sol +63 -0
  14. package/contracts/interface/IIdentityUtilities.sol +135 -0
  15. package/contracts/interface/IKeyExecutor.sol +84 -0
  16. package/contracts/libraries/Errors.sol +407 -0
  17. package/contracts/libraries/FormatResolver.sol +74 -0
  18. package/contracts/libraries/Hashing.sol +35 -0
  19. package/contracts/libraries/IdentityTypes.sol +53 -0
  20. package/contracts/libraries/KeyPurposes.sol +49 -0
  21. package/contracts/libraries/KeyTypes.sol +46 -0
  22. package/contracts/modules/claims/EASClaimIssuer.sol +348 -0
  23. package/contracts/modules/executors/KeyApprovalModule.sol +313 -0
  24. package/contracts/modules/executors/RecoveryModule.sol +88 -0
  25. package/contracts/modules/validators/ERC734Validator.sol +1000 -0
  26. package/contracts/modules/validators/ERC7579Validator.sol +74 -0
  27. package/contracts/proxy/IdentityUtilitiesProxy.sol +36 -0
  28. package/contracts/reputation/IReputationRegistry.sol +117 -0
  29. package/contracts/reputation/ReputationRegistry.sol +155 -0
  30. package/contracts/storage/Structs.sol +176 -0
  31. package/contracts/vendor/eas/IEAS.sol +36 -0
  32. package/contracts/vendor/utils/SafeCalldataBatch.sol +61 -0
  33. package/out/AbstractSigner.sol/AbstractSigner.json +1 -0
  34. package/out/AccessControlUpgradeable.sol/AccessControlUpgradeable.json +1 -0
  35. package/out/AccessManaged.sol/AccessManaged.json +1 -0
  36. package/out/AccessManager.sol/AccessManager.json +1 -0
  37. package/out/Account.sol/Account.json +1 -0
  38. package/out/AddClaimByTrustedIssuer.t.sol/AddClaimAsTrustedIssuerTest.json +1 -0
  39. package/out/Address.sol/Address.json +1 -0
  40. package/out/Arrays.sol/Arrays.json +1 -0
  41. package/out/AuthorityUtils.sol/AuthorityUtils.json +1 -0
  42. package/out/Base.sol/CommonBase.json +1 -0
  43. package/out/Base.sol/ScriptBase.json +1 -0
  44. package/out/Base.sol/TestBase.json +1 -0
  45. package/out/Base64.sol/Base64.json +1 -0
  46. package/out/BatchDecodeParity.t.sol/BatchDecodeParityTest.json +1 -0
  47. package/out/BeaconProxy.sol/BeaconProxy.json +1 -0
  48. package/out/Bytes.sol/Bytes.json +1 -0
  49. package/out/Calldata.sol/Calldata.json +1 -0
  50. package/out/ClaimSignatureDefinition.t.sol/ClaimSignatureDefinitionTest.json +1 -0
  51. package/out/ClaimSignatureDefinition.t.sol/NoERC1271Delegate.json +1 -0
  52. package/out/ClaimSignatureDefinition.t.sol/PickyERC1271Delegate.json +1 -0
  53. package/out/ClaimSignerHelper.sol/ClaimSignerHelper.json +1 -0
  54. package/out/ClaimTo.t.sol/ClaimToTest.json +1 -0
  55. package/out/Claims.t.sol/ClaimsTest.json +1 -0
  56. package/out/Claims.t.sol/ExternalIssuer.json +1 -0
  57. package/out/Comparators.sol/Comparators.json +1 -0
  58. package/out/Constants.sol/Constants.json +1 -0
  59. package/out/Context.sol/Context.json +1 -0
  60. package/out/ContextUpgradeable.sol/ContextUpgradeable.json +1 -0
  61. package/out/Create2.sol/Create2.json +1 -0
  62. package/out/Create3.sol/Create3.json +1 -0
  63. package/out/DeployOnchainID.s.sol/DeployOnchainID.json +1 -0
  64. package/out/EASClaimIssuer.sol/EASClaimIssuer.json +1 -0
  65. package/out/EASClaimIssuer.t.sol/EASClaimIssuerTest.json +1 -0
  66. package/out/EASClaimIssuer.t.sol/VmContractHelper29562166e1daff82a9ba4e08c324c14e885cfef135c42b5774ced18642e5fa19.json +1 -0
  67. package/out/EASTypes.sol/IEASTest.json +1 -0
  68. package/out/EASTypes.sol/ISchemaRegistryTest.json +1 -0
  69. package/out/ECDSA.sol/ECDSA.json +1 -0
  70. package/out/EIP712.sol/EIP712.json +1 -0
  71. package/out/ERC165.sol/ERC165.json +1 -0
  72. package/out/ERC165Upgradeable.sol/ERC165Upgradeable.json +1 -0
  73. package/out/ERC1967Proxy.sol/ERC1967Proxy.json +1 -0
  74. package/out/ERC1967Utils.sol/ERC1967Utils.json +1 -0
  75. package/out/ERC4337Utils.sol/ERC4337Utils.json +1 -0
  76. package/out/ERC4337Utils.sol/IEntryPointExtra.json +1 -0
  77. package/out/ERC734Validator.sol/ERC734Validator.json +1 -0
  78. package/out/ERC734Validator.t.sol/ERC734ValidatorTest.json +1 -0
  79. package/out/ERC734Validator.t.sol/PocCounter.json +1 -0
  80. package/out/ERC734Validator.t.sol/VmContractHelper7beb488c9b6c5f9f79178a8ce1e9ea8b7d447a9f1b366d4a3784214e9066b776.json +1 -0
  81. package/out/ERC7579DelayedExecutor.sol/ERC7579DelayedExecutor.json +1 -0
  82. package/out/ERC7579Executor.sol/ERC7579Executor.json +1 -0
  83. package/out/ERC7579Multisig.sol/ERC7579Multisig.json +1 -0
  84. package/out/ERC7579MultisigWeighted.sol/ERC7579MultisigWeighted.json +1 -0
  85. package/out/ERC7579SocialRecoveryExecutor.sol/ERC7579SocialRecoveryExecutor.json +1 -0
  86. package/out/ERC7579Validator.sol/ERC7579Validator.json +1 -0
  87. package/out/ERC7786Recipient.sol/ERC7786Recipient.json +1 -0
  88. package/out/ERC7913WebAuthnVerifier.sol/ERC7913WebAuthnVerifier.json +1 -0
  89. package/out/EnumerableSet.sol/EnumerableSet.json +1 -0
  90. package/out/Errors.sol/Errors.json +1 -0
  91. package/out/Executions.t.sol/ETHReceiver.json +1 -0
  92. package/out/Executions.t.sol/ExecutionsTest.json +1 -0
  93. package/out/Executions.t.sol/RevertingReceiver.json +1 -0
  94. package/out/FormatResolver.sol/FormatResolver.json +1 -0
  95. package/out/Hashes.sol/Hashes.json +1 -0
  96. package/out/IAccessControl.sol/IAccessControl.json +1 -0
  97. package/out/IAccessManaged.sol/IAccessManaged.json +1 -0
  98. package/out/IAccessManager.sol/IAccessManager.json +1 -0
  99. package/out/IAuthority.sol/IAuthority.json +1 -0
  100. package/out/IBeacon.sol/IBeacon.json +1 -0
  101. package/out/IClaimIssuer.sol/IClaimIssuer.json +1 -0
  102. package/out/IEAS.sol/IEAS.json +1 -0
  103. package/out/IERC1271.sol/IERC1271.json +1 -0
  104. package/out/IERC165.sol/IERC165.json +1 -0
  105. package/out/IERC1967.sol/IERC1967.json +1 -0
  106. package/out/IERC4337.sol/IAccount.json +1 -0
  107. package/out/IERC4337.sol/IAccountExecute.json +1 -0
  108. package/out/IERC4337.sol/IAggregator.json +1 -0
  109. package/out/IERC4337.sol/IEntryPoint.json +1 -0
  110. package/out/IERC4337.sol/IEntryPointNonces.json +1 -0
  111. package/out/IERC4337.sol/IEntryPointStake.json +1 -0
  112. package/out/IERC4337.sol/IPaymaster.json +1 -0
  113. package/out/IERC5267.sol/IERC5267.json +1 -0
  114. package/out/IERC734.sol/IERC734.json +1 -0
  115. package/out/IERC734Surface.t.sol/IERC734SurfaceTest.json +1 -0
  116. package/out/IERC735.sol/IERC735.json +1 -0
  117. package/out/IERC7913.sol/IERC7913SignatureVerifier.json +1 -0
  118. package/out/IIdentity.sol/IIdentity.json +1 -0
  119. package/out/IIdentityFactory.sol/IIdentityFactory.json +1 -0
  120. package/out/IIdentityUtilities.sol/IIdentityUtilities.json +1 -0
  121. package/out/IKeyExecutor.sol/IKeyExecutor.json +1 -0
  122. package/out/IMulticall3.sol/IMulticall3.json +1 -0
  123. package/out/IReputationRegistry.sol/IReputationRegistry.json +1 -0
  124. package/out/Identity.sol/Identity.json +1 -0
  125. package/out/IdentityFactory.sol/IdentityFactory.json +1 -0
  126. package/out/IdentityFactory.t.sol/IdentityFactoryTest.json +1 -0
  127. package/out/IdentityFactory.t.sol/VmContractHelper28a7b3ffc37fea8b5c41ecc8f253eb5ab470e21bb0401440d9a55fcb4f8afe5c.json +1 -0
  128. package/out/IdentityHelper.sol/IdentityHelper.json +1 -0
  129. package/out/IdentityHelper.sol/VmContractHelper78387a8fc41a64804f1f0fc2cbba310bbca11e4f057b06dfa169d4c103c08be5.json +1 -0
  130. package/out/IdentityTypes.sol/IdentityTypes.json +1 -0
  131. package/out/IdentityUtilities.sol/IdentityUtilities.json +1 -0
  132. package/out/IdentityUtilities.t.sol/IdentityUtilitiesTest.json +1 -0
  133. package/out/IdentityUtilities.t.sol/VmContractHelper7ed074704942d210565581d7e79e91a1d3425a5a7e758acb90866c42420e726c.json +1 -0
  134. package/out/IdentityUtilitiesProxy.sol/IdentityUtilitiesProxy.json +1 -0
  135. package/out/Init.t.sol/InitTest.json +1 -0
  136. package/out/Init.t.sol/VmContractHelper95bc81f417f4a3acb58eafba49b7834c5e65588c78654308ee428eb7d9276cce.json +1 -0
  137. package/out/Initializable.sol/Initializable.json +1 -0
  138. package/out/InteroperableAddressEncoding.t.sol/InteroperableAddressEncodingTest.json +1 -0
  139. package/out/KeyApprovalModule.sol/IIdentityAccount.json +1 -0
  140. package/out/KeyApprovalModule.sol/KeyApprovalModule.json +1 -0
  141. package/out/KeyApprovalModuleFactoryGuard.t.sol/KeyApprovalModuleFactoryGuardTest.json +1 -0
  142. package/out/KeyManager.sol/KeyManager.json +1 -0
  143. package/out/KeyPurposes.sol/KeyPurposes.json +1 -0
  144. package/out/KeyTypes.sol/KeyTypes.json +1 -0
  145. package/out/Keys.t.sol/KeysTest.json +1 -0
  146. package/out/LowLevelCall.sol/LowLevelCall.json +1 -0
  147. package/out/Math.sol/Math.json +1 -0
  148. package/out/MessageHashUtils.sol/MessageHashUtils.json +1 -0
  149. package/out/MockERC1271Signer.sol/MockERC1271Signer.json +1 -0
  150. package/out/MockERC1271Wallet.sol/MockERC1271Wallet.json +1 -0
  151. package/out/MockERC7786Gateway.sol/MockERC7786Gateway.json +1 -0
  152. package/out/MockERC7913PermissiveVerifier.sol/MockERC7913PermissiveVerifier.json +1 -0
  153. package/out/MockLyingERC734Getter.sol/MockLyingERC734Getter.json +1 -0
  154. package/out/MockStockECDSAValidator.sol/MockStockECDSAValidator.json +1 -0
  155. package/out/Multicall.sol/Multicall.json +1 -0
  156. package/out/Multisig.sol/Multisig.json +1 -0
  157. package/out/Nonces.sol/Nonces.json +1 -0
  158. package/out/OnchainIDSetup.sol/OnchainIDSetup.json +1 -0
  159. package/out/Ownable.sol/Ownable.json +1 -0
  160. package/out/P256.sol/P256.json +1 -0
  161. package/out/Packing.sol/Packing.json +1 -0
  162. package/out/Panic.sol/Panic.json +1 -0
  163. package/out/PrivilegedReentryGuard.t.sol/PocCounter.json +1 -0
  164. package/out/PrivilegedReentryGuard.t.sol/PrivilegedReentryGuardTest.json +1 -0
  165. package/out/Proxy.sol/Proxy.json +1 -0
  166. package/out/Proxy.t.sol/ProxyTest.json +1 -0
  167. package/out/Proxy.t.sol/VmContractHelper20ec29ce959b555228240226871c123d935ae49f617ce49540ee53c85f9f8cd4.json +1 -0
  168. package/out/ProxyPattern.t.sol/ProxyPatternTest.json +1 -0
  169. package/out/RecoveryModule.sol/RecoveryModule.json +1 -0
  170. package/out/RecoveryModule.t.sol/RecoveryModuleTest.json +1 -0
  171. package/out/RecoveryModule.t.sol/VmContractHelper84563bc19cefad0d2824def84f4cab79093d389b1866eff467a2908e14dd8421.json +1 -0
  172. package/out/ReputationRegistry.sol/ReputationRegistry.json +1 -0
  173. package/out/ReputationRegistry.t.sol/FakeIdentity.json +1 -0
  174. package/out/ReputationRegistry.t.sol/ReputationRegistryTest.json +1 -0
  175. package/out/ReputationRegistry.t.sol/VmContractHelper4353cedc5e63171396a0756138ec48ebba489252c7f4fef50b08f9e2c0989ec9.json +1 -0
  176. package/out/RevertingIdentity.sol/RevertingIdentity.json +1 -0
  177. package/out/SafeCalldataBatch.sol/SafeCalldataBatch.json +1 -0
  178. package/out/SafeCast.sol/SafeCast.json +1 -0
  179. package/out/Script.sol/Script.json +1 -0
  180. package/out/ShortStrings.sol/ShortStrings.json +1 -0
  181. package/out/SignatureChecker.sol/SignatureChecker.json +1 -0
  182. package/out/SignedMath.sol/SignedMath.json +1 -0
  183. package/out/SlotDerivation.sol/SlotDerivation.json +1 -0
  184. package/out/SmartAccount.sol/SmartAccount.json +1 -0
  185. package/out/SmartAccount.t.sol/AlwaysApprovePolicy.json +1 -0
  186. package/out/SmartAccount.t.sol/Counter.json +1 -0
  187. package/out/SmartAccount.t.sol/IAddKeyWithData.json +1 -0
  188. package/out/SmartAccount.t.sol/ReentrantUninstaller.json +1 -0
  189. package/out/SmartAccount.t.sol/SmartAccountTest.json +1 -0
  190. package/out/SmartAccount.t.sol/TestExecutor.json +1 -0
  191. package/out/StdAssertions.sol/StdAssertions.json +1 -0
  192. package/out/StdChains.sol/StdChains.json +1 -0
  193. package/out/StdCheats.sol/StdCheats.json +1 -0
  194. package/out/StdCheats.sol/StdCheatsSafe.json +1 -0
  195. package/out/StdConstants.sol/StdConstants.json +1 -0
  196. package/out/StdError.sol/stdError.json +1 -0
  197. package/out/StdInvariant.sol/StdInvariant.json +1 -0
  198. package/out/StdJson.sol/stdJson.json +1 -0
  199. package/out/StdMath.sol/stdMath.json +1 -0
  200. package/out/StdStorage.sol/stdStorage.json +1 -0
  201. package/out/StdStorage.sol/stdStorageSafe.json +1 -0
  202. package/out/StdStyle.sol/StdStyle.json +1 -0
  203. package/out/StdToml.sol/stdToml.json +1 -0
  204. package/out/StdUtils.sol/StdUtils.json +1 -0
  205. package/out/StorageSlot.sol/StorageSlot.json +1 -0
  206. package/out/Strings.sol/Strings.json +1 -0
  207. package/out/Structs.sol/Structs.json +1 -0
  208. package/out/Test.sol/Test.json +1 -0
  209. package/out/TestIdentityUtilities.sol/TestIdentityUtilities.json +1 -0
  210. package/out/Time.sol/Time.json +1 -0
  211. package/out/TokenOid.t.sol/TokenOidTest.json +1 -0
  212. package/out/UUPSUpgradeable.sol/UUPSUpgradeable.json +1 -0
  213. package/out/UnlockedIdentity.sol/UnlockedIdentity.json +1 -0
  214. package/out/UpgradeableBeacon.sol/UpgradeableBeacon.json +1 -0
  215. package/out/VersionUpgrade.t.sol/VersionUpgradeTest.json +1 -0
  216. package/out/Vm.sol/Vm.json +1 -0
  217. package/out/Vm.sol/VmSafe.json +1 -0
  218. package/out/WebAuthn.sol/WebAuthn.json +1 -0
  219. package/out/WebAuthn.t.sol/WebAuthnTest.json +1 -0
  220. package/out/build-info/1056f64abc9637ee.json +1 -0
  221. package/out/console.sol/console.json +1 -0
  222. package/out/draft-AccountERC7579Upgradeable.sol/AccountERC7579Upgradeable.json +1 -0
  223. package/out/draft-ERC7579Utils.sol/ERC7579Utils.json +1 -0
  224. package/out/draft-IERC1822.sol/IERC1822Proxiable.json +1 -0
  225. package/out/draft-IERC7579.sol/IERC7579AccountConfig.json +1 -0
  226. package/out/draft-IERC7579.sol/IERC7579Execution.json +1 -0
  227. package/out/draft-IERC7579.sol/IERC7579Hook.json +1 -0
  228. package/out/draft-IERC7579.sol/IERC7579Module.json +1 -0
  229. package/out/draft-IERC7579.sol/IERC7579ModuleConfig.json +1 -0
  230. package/out/draft-IERC7579.sol/IERC7579Validator.json +1 -0
  231. package/out/draft-IERC7786.sol/IERC7786GatewaySource.json +1 -0
  232. package/out/draft-IERC7786.sol/IERC7786Recipient.json +1 -0
  233. package/out/draft-InteroperableAddress.sol/InteroperableAddress.json +1 -0
  234. package/out/safeconsole.sol/safeconsole.json +1 -0
  235. package/out/src/Test.sol/Test.json +1 -0
  236. package/out/utils/Errors.sol/Errors.json +1 -0
  237. package/package.json +75 -4
@@ -0,0 +1 @@
1
+ {"abi":[{"type":"function","name":"defaultExpiration","inputs":[],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"type":"function","name":"delayChangeWindow","inputs":[],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"type":"function","name":"getDelay","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"delay","type":"uint32","internalType":"uint32"},{"name":"pendingDelay","type":"uint32","internalType":"uint32"},{"name":"effectTime","type":"uint48","internalType":"uint48"}],"stateMutability":"view"},{"type":"function","name":"getExpiration","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"type":"function","name":"getSchedule","inputs":[{"name":"operationId","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"scheduledAt","type":"uint48","internalType":"uint48"},{"name":"executableAt","type":"uint48","internalType":"uint48"},{"name":"expiresAt","type":"uint48","internalType":"uint48"}],"stateMutability":"view"},{"type":"function","name":"getSchedule","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"salt","type":"bytes32","internalType":"bytes32"},{"name":"mode","type":"bytes32","internalType":"bytes32"},{"name":"executionCalldata","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"scheduledAt","type":"uint48","internalType":"uint48"},{"name":"executableAt","type":"uint48","internalType":"uint48"},{"name":"expiresAt","type":"uint48","internalType":"uint48"}],"stateMutability":"view"},{"type":"function","name":"hashOperation","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"salt","type":"bytes32","internalType":"bytes32"},{"name":"mode","type":"bytes32","internalType":"bytes32"},{"name":"executionCalldata","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"isModuleType","inputs":[{"name":"moduleTypeId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"pure"},{"type":"function","name":"onInstall","inputs":[{"name":"initData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onUninstall","inputs":[{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDelay","inputs":[{"name":"newDelay","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setExpiration","inputs":[{"name":"newExpiration","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"state","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"salt","type":"bytes32","internalType":"bytes32"},{"name":"mode","type":"bytes32","internalType":"bytes32"},{"name":"executionCalldata","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint8","internalType":"enum ERC7579DelayedExecutor.OperationState"}],"stateMutability":"view"},{"type":"function","name":"state","inputs":[{"name":"operationId","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"uint8","internalType":"enum ERC7579DelayedExecutor.OperationState"}],"stateMutability":"view"},{"type":"event","name":"ERC7579ExecutorDelayUpdated","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"newDelay","type":"uint32","indexed":false,"internalType":"uint32"},{"name":"effectTime","type":"uint48","indexed":false,"internalType":"uint48"}],"anonymous":false},{"type":"event","name":"ERC7579ExecutorExpirationUpdated","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"newExpiration","type":"uint32","indexed":false,"internalType":"uint32"}],"anonymous":false},{"type":"event","name":"ERC7579ExecutorOperationCanceled","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"operationId","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"ERC7579ExecutorOperationExecuted","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"salt","type":"bytes32","indexed":false,"internalType":"bytes32"},{"name":"mode","type":"bytes32","indexed":false,"internalType":"bytes32"},{"name":"executionCalldata","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"ERC7579ExecutorOperationScheduled","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"operationId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"salt","type":"bytes32","indexed":false,"internalType":"bytes32"},{"name":"mode","type":"bytes32","indexed":false,"internalType":"bytes32"},{"name":"executionCalldata","type":"bytes","indexed":false,"internalType":"bytes"},{"name":"schedule","type":"uint48","indexed":false,"internalType":"uint48"}],"anonymous":false},{"type":"error","name":"ERC7579DelayedExecutorAlreadyInstalled","inputs":[]},{"type":"error","name":"ERC7579ExecutorModuleNotInstalled","inputs":[]},{"type":"error","name":"ERC7579ExecutorUnexpectedOperationState","inputs":[{"name":"operationId","type":"bytes32","internalType":"bytes32"},{"name":"currentState","type":"uint8","internalType":"enum ERC7579DelayedExecutor.OperationState"},{"name":"allowedStates","type":"bytes32","internalType":"bytes32"}]},{"type":"error","name":"SafeCastOverflowedUintDowncast","inputs":[{"name":"bits","type":"uint8","internalType":"uint8"},{"name":"value","type":"uint256","internalType":"uint256"}]}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"defaultExpiration()":"6b3bfae6","delayChangeWindow()":"bd7d8c51","getDelay(address)":"a42b9a9b","getExpiration(address)":"4ec70a48","getSchedule(address,bytes32,bytes32,bytes)":"d1f3ff8e","getSchedule(bytes32)":"3adc277a","hashOperation(address,bytes32,bytes32,bytes)":"77b4e497","isModuleType(uint256)":"ecd05961","onInstall(bytes)":"6d61fe70","onUninstall(bytes)":"8a91b0e3","setDelay(uint32)":"10348665","setExpiration(uint32)":"b8d3594d","state(address,bytes32,bytes32,bytes)":"034fe109","state(bytes32)":"61d585da"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"ERC7579DelayedExecutorAlreadyInstalled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC7579ExecutorModuleNotInstalled\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"operationId\",\"type\":\"bytes32\"},{\"internalType\":\"enum ERC7579DelayedExecutor.OperationState\",\"name\":\"currentState\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"allowedStates\",\"type\":\"bytes32\"}],\"name\":\"ERC7579ExecutorUnexpectedOperationState\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"bits\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"SafeCastOverflowedUintDowncast\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"newDelay\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"effectTime\",\"type\":\"uint48\"}],\"name\":\"ERC7579ExecutorDelayUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"newExpiration\",\"type\":\"uint32\"}],\"name\":\"ERC7579ExecutorExpirationUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"operationId\",\"type\":\"bytes32\"}],\"name\":\"ERC7579ExecutorOperationCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"mode\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"executionCalldata\",\"type\":\"bytes\"}],\"name\":\"ERC7579ExecutorOperationExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"operationId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"mode\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"executionCalldata\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"schedule\",\"type\":\"uint48\"}],\"name\":\"ERC7579ExecutorOperationScheduled\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"defaultExpiration\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delayChangeWindow\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getDelay\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"delay\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"pendingDelay\",\"type\":\"uint32\"},{\"internalType\":\"uint48\",\"name\":\"effectTime\",\"type\":\"uint48\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getExpiration\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"operationId\",\"type\":\"bytes32\"}],\"name\":\"getSchedule\",\"outputs\":[{\"internalType\":\"uint48\",\"name\":\"scheduledAt\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"executableAt\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"expiresAt\",\"type\":\"uint48\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"mode\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"executionCalldata\",\"type\":\"bytes\"}],\"name\":\"getSchedule\",\"outputs\":[{\"internalType\":\"uint48\",\"name\":\"scheduledAt\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"executableAt\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"expiresAt\",\"type\":\"uint48\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"mode\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"executionCalldata\",\"type\":\"bytes\"}],\"name\":\"hashOperation\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"moduleTypeId\",\"type\":\"uint256\"}],\"name\":\"isModuleType\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"initData\",\"type\":\"bytes\"}],\"name\":\"onInstall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onUninstall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"newDelay\",\"type\":\"uint32\"}],\"name\":\"setDelay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"newExpiration\",\"type\":\"uint32\"}],\"name\":\"setExpiration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"mode\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"executionCalldata\",\"type\":\"bytes\"}],\"name\":\"state\",\"outputs\":[{\"internalType\":\"enum ERC7579DelayedExecutor.OperationState\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"operationId\",\"type\":\"bytes32\"}],\"name\":\"state\",\"outputs\":[{\"internalType\":\"enum ERC7579DelayedExecutor.OperationState\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Extension of {ERC7579Executor} that provides time-delayed execution patterns for smart accounts with scheduling and expiration capabilities. This contract provides the basic scheduling functionality through the {_schedule}, {_scheduleAt}, and {_cancel} functions. Developers must implement their own public `schedule`, `cancel`, and `execute` functions in derived contracts to define the specific validation and access control logic for each operation. ==== Operation Lifecycle 1. Scheduling: Operations are scheduled via {_schedule} with a specified delay period. The delay period is set during {onInstall} and can be customized via {setDelay}. Each operation enters a `Scheduled` state and must wait for its delay period to elapse. 2. Security Window: During the delay period, operations remain in `Scheduled` state but cannot be executed. Through this period, suspicious operations can be monitored and canceled via {_cancel} if appropriate. 3. Execution & Expiration: Once the delay period elapses, operations transition to `Ready` state. Operations can be executed via {_execute} and have an expiration period after becoming executable. If an operation is not executed within the expiration period, it becomes `Expired` and can't be executed. Expired operations must be rescheduled with a different salt. ==== Delay Management Accounts can set their own delay periods during installation or via {setDelay}. The delay period is enforced even between installs and uninstalls to prevent immediate downgrades. When setting a new delay period, the transition period before the new delay takes effect depends on the direction of the change: * When _increasing_ the delay, the new value takes effect after `min(newDelay, delayChangeWindow())`. * When _decreasing_ the delay, the new value takes effect after `currentDelay - newDelay`. TIP: Use {_scheduleAt} to schedule operations at specific points in time. This is useful to pre-schedule operations for non-deployed accounts (e.g. subscriptions). NOTE: Scheduling, executing and cancelling doesn't have any access control by default and should be validated accordingly while extending this contract. NOTE: Target addresses of an operation may return an arbitrary large amount of data, which may cause the operation to fail due to insufficient gas. Consider that a target could return more data than initially expected (e.g. after being upgraded, or when their return data depends on state), potentially blocking the operation's execution until they expire.\",\"errors\":{\"ERC7579ExecutorModuleNotInstalled()\":[{\"details\":\"The module is not installed on the account.\"}],\"ERC7579ExecutorUnexpectedOperationState(bytes32,uint8,bytes32)\":[{\"details\":\"The current state of an operation is not the expected. The `allowedStates` is a bitmap with the bits enabled for each OperationState enum position counting from right to left. See {_encodeStateBitmap}.\"}],\"SafeCastOverflowedUintDowncast(uint8,uint256)\":[{\"details\":\"Value doesn't fit in a uint of `bits` size.\"}]},\"events\":{\"ERC7579ExecutorDelayUpdated(address,uint32,uint48)\":{\"details\":\"Emitted when the execution delay is updated.\"},\"ERC7579ExecutorExpirationUpdated(address,uint32)\":{\"details\":\"Emitted when the expiration delay is updated.\"},\"ERC7579ExecutorOperationCanceled(address,bytes32)\":{\"details\":\"Emitted when a new operation is canceled.\"},\"ERC7579ExecutorOperationExecuted(address,bytes32,bytes32,bytes)\":{\"details\":\"Emitted when an operation is executed.\"},\"ERC7579ExecutorOperationScheduled(address,bytes32,bytes32,bytes32,bytes,uint48)\":{\"details\":\"Emitted when a new operation is scheduled.\"}},\"kind\":\"dev\",\"methods\":{\"defaultExpiration()\":{\"details\":\"Default expiration for account operations. Set if not provided during {onInstall}.\"},\"delayChangeWindow()\":{\"details\":\"Minimum delay after which {setDelay} takes effect. Set as default delay if not provided during {onInstall}.\"},\"getDelay(address)\":{\"details\":\"Delay for a specific account.\"},\"getExpiration(address)\":{\"details\":\"Expiration delay for account operations.\"},\"getSchedule(address,bytes32,bytes32,bytes)\":{\"details\":\"Schedule for an operation. Returns default values if not set (i.e. `uint48(0)`, `uint48(0)`, `uint48(0)`).\"},\"getSchedule(bytes32)\":{\"details\":\"Same as {getSchedule} but with the operation id.\"},\"hashOperation(address,bytes32,bytes32,bytes)\":{\"details\":\"Returns the operation id.\"},\"isModuleType(uint256)\":{\"details\":\"Returns boolean value if module is a certain type\",\"params\":{\"moduleTypeId\":\"the module type ID according the ERC-7579 spec MUST return true if the module is of the given type and false otherwise\"}},\"onInstall(bytes)\":{\"details\":\"Sets up the module's initial configuration when installed by an account. The account calling this function becomes registered with the module. The `initData` must be `abi.encodePacked(uint32(initialDelay), uint32(initialExpiration))`. Otherwise, the delay will be set to {delayChangeWindow} and {defaultExpiration} respectively. If a previous delay is still active (e.g. from a prior installation that was uninstalled before its delay reset completed), the same asymmetric transition rules as {setDelay} apply to the new delay, preventing an uninstall/reinstall cycle from being used to bypass the security window. Requirements: * The module must not be already installed on the account. Reverts with {ERC7579DelayedExecutorAlreadyInstalled} if not. * `initData` must be empty or decode correctly to `(uint32, uint32)`.\"},\"onUninstall(bytes)\":{\"details\":\"Cleans up the {getDelay} and {getExpiration} values by scheduling them to `0` and respecting the previous delay and expiration values. IMPORTANT: This function does not clean up scheduled operations. This means operations could potentially be re-executed if the module is reinstalled later. This is a deliberate design choice for efficiency, but module implementations may want to override this behavior to clear scheduled operations during uninstallation for their specific use cases. NOTE: Uninstalling the module schedules the delay to reset to `0` after the current delay (equivalent to calling `setDelay(0)`), and immediately removes the expiration. If the module is reinstalled before the delay reset completes, the same asymmetric transition rules as {setDelay} apply to prevent bypassing the security window through an uninstall/reinstall cycle.\"},\"setDelay(uint32)\":{\"details\":\"Allows an account to update its execution delay (see {getDelay}). The transition period before the new delay takes effect depends on the direction of the change: * When _increasing_ the delay, the new value takes effect after `min(newDelay, delayChangeWindow())`. For example, increasing from 1 day to 3 days takes effect after 3 days. Increasing from 1 day to 10 days takes effect after {delayChangeWindow} (5 days). This cap prevents the account from being locked out by an accidental large increase (e.g. using milliseconds instead of seconds). * When _decreasing_ the delay, the new value takes effect after `currentDelay - newDelay`. This guarantees that a recovery operation cannot execute faster than the delay that was active at the moment the change was scheduled. For example, decreasing from 10 days to 3 days takes effect after 7 days. Can only be called by the account itself.\"},\"setExpiration(uint32)\":{\"details\":\"Allows an account to update its execution expiration (see {getExpiration}).\"},\"state(address,bytes32,bytes32,bytes)\":{\"details\":\"Current state of an operation.\"},\"state(bytes32)\":{\"details\":\"Same as {state}, but for a specific operation id.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/executors/ERC7579DelayedExecutor.sol\":\"ERC7579DelayedExecutor\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@fhevm/solidity/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/@fhevm/solidity/\",\":@forge-std/=dependencies/forge-std-v1.14.0/src/\",\":@openzeppelin-accounts-0.0.0-e4c2a32a/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/\",\":@openzeppelin-contracts-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/\",\":@openzeppelin-contracts-upgradeable-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/\",\":@openzeppelin/accounts/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/\",\":@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/contracts/\",\":@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/\",\":encrypted-types/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/encrypted-types/\",\":forge-std-v1.14.0/=dependencies/forge-std-v1.14.0/src/\",\":forge-std/=dependencies/forge-std-v1.14.0/src/\"],\"viaIR\":true},\"sources\":{\"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/executors/ERC7579DelayedExecutor.sol\":{\"keccak256\":\"0xadf8fe0584b1c92c57cf63e3da900196dd02b4a877d8452e6968632cdf73d5e9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://397bdf7d032ce08ba1c6808f35b7b2647ed2670930e2b897d0b833d0eec86a2c\",\"dweb:/ipfs/QmX1n6fJMHW5pHcGLef5149Mc1TVUEq83awr8f6CST852Z\"]},\"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/executors/ERC7579Executor.sol\":{\"keccak256\":\"0x3e6cc7f6e2d7d4edc4804208875845daae73afeca71c9e21b32a181cc8497e86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3db7a0b031e88136ba459459f3d9a4e5dec5d4760baa25d9cd5a173be2bc39bf\",\"dweb:/ipfs/QmTcnFxBPBXr4bmAnfYeZGB8XUP7u2zmJYxfn3b7sGZBkr\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC4337.sol\":{\"keccak256\":\"0x154b2a0628ca270c221ec2e613569f3fe3f81bb9e55a837c0eab8f8470da1c88\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b21c4175ac06cb21d6c8fead32c8d7c99119a3639e7fb6cd1b8ef6f17813b87b\",\"dweb:/ipfs/QmfF4UhrDRhVtgEnjw8hMg34SV3HNumMJHG8HPiUC9CEWT\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/draft-IERC7579.sol\":{\"keccak256\":\"0xa9728abfadb9cbe4c850685de1ae092c94979444f6cee2712c46410579ed07a4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0b4e26d95383d9c27936ef640e8f2d4a932c9a1ea0ec20fcb08387f9b29a7582\",\"dweb:/ipfs/QmakAqHaGqcm5d6AYWfjuVUifPJcjUrZNjhCpWsutTNPbH\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x59973a93b1f983f94e10529f46ca46544a9fec2b5f56fb1390bbe9e0dc79f857\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c55ef8f0b9719790c2ae6f81d80a59ffb89f2f0abe6bc065585bd79edce058c5\",\"dweb:/ipfs/QmNNmCbX9NjPXKqHJN8R1WC2rNeZSQrPZLd6FF6AKLyH5Y\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0xc8cae21c9ae4a46e5162ff9bf5b351d6fa6a6eba72d515f3bc1bdfeda7fdf083\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ce830ebcf28e31643caba318996db3763c36d52cd0f23798ba83c135355d45e9\",\"dweb:/ipfs/QmdGPcvptHN7UBCbUYBbRX3hiRVRFLRwno8b4uga6uFNif\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/types/Time.sol\":{\"keccak256\":\"0x3765cc1833212456000f02d5de0478c2055b5f318e27032537c6d47c91e68b05\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3e77d9fd11b604fb3820ba6794f1e2516deb1093dada1c7225da6c46def95256\",\"dweb:/ipfs/QmcqQo9mmD5kekxFtJcvZTyCPaEgxQsSVfp7wLiE91fdAc\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.30+commit.73712a01"},"language":"Solidity","output":{"abi":[{"inputs":[],"type":"error","name":"ERC7579DelayedExecutorAlreadyInstalled"},{"inputs":[],"type":"error","name":"ERC7579ExecutorModuleNotInstalled"},{"inputs":[{"internalType":"bytes32","name":"operationId","type":"bytes32"},{"internalType":"enum ERC7579DelayedExecutor.OperationState","name":"currentState","type":"uint8"},{"internalType":"bytes32","name":"allowedStates","type":"bytes32"}],"type":"error","name":"ERC7579ExecutorUnexpectedOperationState"},{"inputs":[{"internalType":"uint8","name":"bits","type":"uint8"},{"internalType":"uint256","name":"value","type":"uint256"}],"type":"error","name":"SafeCastOverflowedUintDowncast"},{"inputs":[{"internalType":"address","name":"account","type":"address","indexed":true},{"internalType":"uint32","name":"newDelay","type":"uint32","indexed":false},{"internalType":"uint48","name":"effectTime","type":"uint48","indexed":false}],"type":"event","name":"ERC7579ExecutorDelayUpdated","anonymous":false},{"inputs":[{"internalType":"address","name":"account","type":"address","indexed":true},{"internalType":"uint32","name":"newExpiration","type":"uint32","indexed":false}],"type":"event","name":"ERC7579ExecutorExpirationUpdated","anonymous":false},{"inputs":[{"internalType":"address","name":"account","type":"address","indexed":true},{"internalType":"bytes32","name":"operationId","type":"bytes32","indexed":true}],"type":"event","name":"ERC7579ExecutorOperationCanceled","anonymous":false},{"inputs":[{"internalType":"address","name":"account","type":"address","indexed":true},{"internalType":"bytes32","name":"salt","type":"bytes32","indexed":false},{"internalType":"bytes32","name":"mode","type":"bytes32","indexed":false},{"internalType":"bytes","name":"executionCalldata","type":"bytes","indexed":false}],"type":"event","name":"ERC7579ExecutorOperationExecuted","anonymous":false},{"inputs":[{"internalType":"address","name":"account","type":"address","indexed":true},{"internalType":"bytes32","name":"operationId","type":"bytes32","indexed":true},{"internalType":"bytes32","name":"salt","type":"bytes32","indexed":false},{"internalType":"bytes32","name":"mode","type":"bytes32","indexed":false},{"internalType":"bytes","name":"executionCalldata","type":"bytes","indexed":false},{"internalType":"uint48","name":"schedule","type":"uint48","indexed":false}],"type":"event","name":"ERC7579ExecutorOperationScheduled","anonymous":false},{"inputs":[],"stateMutability":"view","type":"function","name":"defaultExpiration","outputs":[{"internalType":"uint32","name":"","type":"uint32"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"delayChangeWindow","outputs":[{"internalType":"uint32","name":"","type":"uint32"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"getDelay","outputs":[{"internalType":"uint32","name":"delay","type":"uint32"},{"internalType":"uint32","name":"pendingDelay","type":"uint32"},{"internalType":"uint48","name":"effectTime","type":"uint48"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"getExpiration","outputs":[{"internalType":"uint32","name":"","type":"uint32"}]},{"inputs":[{"internalType":"bytes32","name":"operationId","type":"bytes32"}],"stateMutability":"view","type":"function","name":"getSchedule","outputs":[{"internalType":"uint48","name":"scheduledAt","type":"uint48"},{"internalType":"uint48","name":"executableAt","type":"uint48"},{"internalType":"uint48","name":"expiresAt","type":"uint48"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"bytes32","name":"mode","type":"bytes32"},{"internalType":"bytes","name":"executionCalldata","type":"bytes"}],"stateMutability":"view","type":"function","name":"getSchedule","outputs":[{"internalType":"uint48","name":"scheduledAt","type":"uint48"},{"internalType":"uint48","name":"executableAt","type":"uint48"},{"internalType":"uint48","name":"expiresAt","type":"uint48"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"bytes32","name":"mode","type":"bytes32"},{"internalType":"bytes","name":"executionCalldata","type":"bytes"}],"stateMutability":"view","type":"function","name":"hashOperation","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[{"internalType":"uint256","name":"moduleTypeId","type":"uint256"}],"stateMutability":"pure","type":"function","name":"isModuleType","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"bytes","name":"initData","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"onInstall"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"onUninstall"},{"inputs":[{"internalType":"uint32","name":"newDelay","type":"uint32"}],"stateMutability":"nonpayable","type":"function","name":"setDelay"},{"inputs":[{"internalType":"uint32","name":"newExpiration","type":"uint32"}],"stateMutability":"nonpayable","type":"function","name":"setExpiration"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"bytes32","name":"mode","type":"bytes32"},{"internalType":"bytes","name":"executionCalldata","type":"bytes"}],"stateMutability":"view","type":"function","name":"state","outputs":[{"internalType":"enum ERC7579DelayedExecutor.OperationState","name":"","type":"uint8"}]},{"inputs":[{"internalType":"bytes32","name":"operationId","type":"bytes32"}],"stateMutability":"view","type":"function","name":"state","outputs":[{"internalType":"enum ERC7579DelayedExecutor.OperationState","name":"","type":"uint8"}]}],"devdoc":{"kind":"dev","methods":{"defaultExpiration()":{"details":"Default expiration for account operations. Set if not provided during {onInstall}."},"delayChangeWindow()":{"details":"Minimum delay after which {setDelay} takes effect. Set as default delay if not provided during {onInstall}."},"getDelay(address)":{"details":"Delay for a specific account."},"getExpiration(address)":{"details":"Expiration delay for account operations."},"getSchedule(address,bytes32,bytes32,bytes)":{"details":"Schedule for an operation. Returns default values if not set (i.e. `uint48(0)`, `uint48(0)`, `uint48(0)`)."},"getSchedule(bytes32)":{"details":"Same as {getSchedule} but with the operation id."},"hashOperation(address,bytes32,bytes32,bytes)":{"details":"Returns the operation id."},"isModuleType(uint256)":{"details":"Returns boolean value if module is a certain type","params":{"moduleTypeId":"the module type ID according the ERC-7579 spec MUST return true if the module is of the given type and false otherwise"}},"onInstall(bytes)":{"details":"Sets up the module's initial configuration when installed by an account. The account calling this function becomes registered with the module. The `initData` must be `abi.encodePacked(uint32(initialDelay), uint32(initialExpiration))`. Otherwise, the delay will be set to {delayChangeWindow} and {defaultExpiration} respectively. If a previous delay is still active (e.g. from a prior installation that was uninstalled before its delay reset completed), the same asymmetric transition rules as {setDelay} apply to the new delay, preventing an uninstall/reinstall cycle from being used to bypass the security window. Requirements: * The module must not be already installed on the account. Reverts with {ERC7579DelayedExecutorAlreadyInstalled} if not. * `initData` must be empty or decode correctly to `(uint32, uint32)`."},"onUninstall(bytes)":{"details":"Cleans up the {getDelay} and {getExpiration} values by scheduling them to `0` and respecting the previous delay and expiration values. IMPORTANT: This function does not clean up scheduled operations. This means operations could potentially be re-executed if the module is reinstalled later. This is a deliberate design choice for efficiency, but module implementations may want to override this behavior to clear scheduled operations during uninstallation for their specific use cases. NOTE: Uninstalling the module schedules the delay to reset to `0` after the current delay (equivalent to calling `setDelay(0)`), and immediately removes the expiration. If the module is reinstalled before the delay reset completes, the same asymmetric transition rules as {setDelay} apply to prevent bypassing the security window through an uninstall/reinstall cycle."},"setDelay(uint32)":{"details":"Allows an account to update its execution delay (see {getDelay}). The transition period before the new delay takes effect depends on the direction of the change: * When _increasing_ the delay, the new value takes effect after `min(newDelay, delayChangeWindow())`. For example, increasing from 1 day to 3 days takes effect after 3 days. Increasing from 1 day to 10 days takes effect after {delayChangeWindow} (5 days). This cap prevents the account from being locked out by an accidental large increase (e.g. using milliseconds instead of seconds). * When _decreasing_ the delay, the new value takes effect after `currentDelay - newDelay`. This guarantees that a recovery operation cannot execute faster than the delay that was active at the moment the change was scheduled. For example, decreasing from 10 days to 3 days takes effect after 7 days. Can only be called by the account itself."},"setExpiration(uint32)":{"details":"Allows an account to update its execution expiration (see {getExpiration})."},"state(address,bytes32,bytes32,bytes)":{"details":"Current state of an operation."},"state(bytes32)":{"details":"Same as {state}, but for a specific operation id."}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@fhevm/solidity/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/@fhevm/solidity/","@forge-std/=dependencies/forge-std-v1.14.0/src/","@openzeppelin-accounts-0.0.0-e4c2a32a/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/","@openzeppelin-contracts-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/","@openzeppelin-contracts-upgradeable-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/","@openzeppelin/accounts/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/","@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/contracts/","@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/","encrypted-types/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/encrypted-types/","forge-std-v1.14.0/=dependencies/forge-std-v1.14.0/src/","forge-std/=dependencies/forge-std-v1.14.0/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/executors/ERC7579DelayedExecutor.sol":"ERC7579DelayedExecutor"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/executors/ERC7579DelayedExecutor.sol":{"keccak256":"0xadf8fe0584b1c92c57cf63e3da900196dd02b4a877d8452e6968632cdf73d5e9","urls":["bzz-raw://397bdf7d032ce08ba1c6808f35b7b2647ed2670930e2b897d0b833d0eec86a2c","dweb:/ipfs/QmX1n6fJMHW5pHcGLef5149Mc1TVUEq83awr8f6CST852Z"],"license":"MIT"},"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/executors/ERC7579Executor.sol":{"keccak256":"0x3e6cc7f6e2d7d4edc4804208875845daae73afeca71c9e21b32a181cc8497e86","urls":["bzz-raw://3db7a0b031e88136ba459459f3d9a4e5dec5d4760baa25d9cd5a173be2bc39bf","dweb:/ipfs/QmTcnFxBPBXr4bmAnfYeZGB8XUP7u2zmJYxfn3b7sGZBkr"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC4337.sol":{"keccak256":"0x154b2a0628ca270c221ec2e613569f3fe3f81bb9e55a837c0eab8f8470da1c88","urls":["bzz-raw://b21c4175ac06cb21d6c8fead32c8d7c99119a3639e7fb6cd1b8ef6f17813b87b","dweb:/ipfs/QmfF4UhrDRhVtgEnjw8hMg34SV3HNumMJHG8HPiUC9CEWT"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/draft-IERC7579.sol":{"keccak256":"0xa9728abfadb9cbe4c850685de1ae092c94979444f6cee2712c46410579ed07a4","urls":["bzz-raw://0b4e26d95383d9c27936ef640e8f2d4a932c9a1ea0ec20fcb08387f9b29a7582","dweb:/ipfs/QmakAqHaGqcm5d6AYWfjuVUifPJcjUrZNjhCpWsutTNPbH"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Panic.sol":{"keccak256":"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a","urls":["bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a","dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/math/Math.sol":{"keccak256":"0x59973a93b1f983f94e10529f46ca46544a9fec2b5f56fb1390bbe9e0dc79f857","urls":["bzz-raw://c55ef8f0b9719790c2ae6f81d80a59ffb89f2f0abe6bc065585bd79edce058c5","dweb:/ipfs/QmNNmCbX9NjPXKqHJN8R1WC2rNeZSQrPZLd6FF6AKLyH5Y"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/math/SafeCast.sol":{"keccak256":"0xc8cae21c9ae4a46e5162ff9bf5b351d6fa6a6eba72d515f3bc1bdfeda7fdf083","urls":["bzz-raw://ce830ebcf28e31643caba318996db3763c36d52cd0f23798ba83c135355d45e9","dweb:/ipfs/QmdGPcvptHN7UBCbUYBbRX3hiRVRFLRwno8b4uga6uFNif"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/types/Time.sol":{"keccak256":"0x3765cc1833212456000f02d5de0478c2055b5f318e27032537c6d47c91e68b05","urls":["bzz-raw://3e77d9fd11b604fb3820ba6794f1e2516deb1093dada1c7225da6c46def95256","dweb:/ipfs/QmcqQo9mmD5kekxFtJcvZTyCPaEgxQsSVfp7wLiE91fdAc"],"license":"MIT"}},"version":1},"id":31}
@@ -0,0 +1 @@
1
+ {"abi":[{"type":"function","name":"isModuleType","inputs":[{"name":"moduleTypeId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"pure"},{"type":"function","name":"onInstall","inputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onUninstall","inputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"ERC7579ExecutorOperationExecuted","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"salt","type":"bytes32","indexed":false,"internalType":"bytes32"},{"name":"mode","type":"bytes32","indexed":false,"internalType":"bytes32"},{"name":"executionCalldata","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"isModuleType(uint256)":"ecd05961","onInstall(bytes)":"6d61fe70","onUninstall(bytes)":"8a91b0e3"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"mode\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"executionCalldata\",\"type\":\"bytes\"}],\"name\":\"ERC7579ExecutorOperationExecuted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"moduleTypeId\",\"type\":\"uint256\"}],\"name\":\"isModuleType\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onInstall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onUninstall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Abstract executor module for ERC-7579 accounts. This contract provides the base execution functionality for ERC-7579 accounts. Developers must implement the {onInstall} and {onUninstall} functions, as well as wrap {_execute} in a custom external function in derived contracts to define the specific validation and access control logic. Example implementation: ```solidity contract MyExecutor is ERC7579Executor { function execute( address account, bytes32 salt, bytes32 mode, bytes calldata data ) public virtual returns (bytes[] memory) { // Implement your validation logic here // e.g., signature verification, access control, time delays, etc. // Then call the internal _execute function return _execute(account, salt, mode, data); } } ``` TIP: For a more advanced implementation with time-delayed execution patterns and security features, see {ERC7579DelayedExecutor}.\",\"events\":{\"ERC7579ExecutorOperationExecuted(address,bytes32,bytes32,bytes)\":{\"details\":\"Emitted when an operation is executed.\"}},\"kind\":\"dev\",\"methods\":{\"isModuleType(uint256)\":{\"details\":\"Returns boolean value if module is a certain type\",\"params\":{\"moduleTypeId\":\"the module type ID according the ERC-7579 spec MUST return true if the module is of the given type and false otherwise\"}},\"onInstall(bytes)\":{\"details\":\"This function is called by the smart account during installation of the module\",\"params\":{\"data\":\"arbitrary data that may be passed to the module during `onInstall` initialization MUST revert on error (e.g. if module is already enabled)\"}},\"onUninstall(bytes)\":{\"details\":\"This function is called by the smart account during uninstallation of the module\",\"params\":{\"data\":\"arbitrary data that may be passed to the module during `onUninstall` de-initialization MUST revert on error\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/executors/ERC7579Executor.sol\":\"ERC7579Executor\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@fhevm/solidity/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/@fhevm/solidity/\",\":@forge-std/=dependencies/forge-std-v1.14.0/src/\",\":@openzeppelin-accounts-0.0.0-e4c2a32a/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/\",\":@openzeppelin-contracts-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/\",\":@openzeppelin-contracts-upgradeable-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/\",\":@openzeppelin/accounts/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/\",\":@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/contracts/\",\":@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/\",\":encrypted-types/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/encrypted-types/\",\":forge-std-v1.14.0/=dependencies/forge-std-v1.14.0/src/\",\":forge-std/=dependencies/forge-std-v1.14.0/src/\"],\"viaIR\":true},\"sources\":{\"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/executors/ERC7579Executor.sol\":{\"keccak256\":\"0x3e6cc7f6e2d7d4edc4804208875845daae73afeca71c9e21b32a181cc8497e86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3db7a0b031e88136ba459459f3d9a4e5dec5d4760baa25d9cd5a173be2bc39bf\",\"dweb:/ipfs/QmTcnFxBPBXr4bmAnfYeZGB8XUP7u2zmJYxfn3b7sGZBkr\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC4337.sol\":{\"keccak256\":\"0x154b2a0628ca270c221ec2e613569f3fe3f81bb9e55a837c0eab8f8470da1c88\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b21c4175ac06cb21d6c8fead32c8d7c99119a3639e7fb6cd1b8ef6f17813b87b\",\"dweb:/ipfs/QmfF4UhrDRhVtgEnjw8hMg34SV3HNumMJHG8HPiUC9CEWT\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/draft-IERC7579.sol\":{\"keccak256\":\"0xa9728abfadb9cbe4c850685de1ae092c94979444f6cee2712c46410579ed07a4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0b4e26d95383d9c27936ef640e8f2d4a932c9a1ea0ec20fcb08387f9b29a7582\",\"dweb:/ipfs/QmakAqHaGqcm5d6AYWfjuVUifPJcjUrZNjhCpWsutTNPbH\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.30+commit.73712a01"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"account","type":"address","indexed":true},{"internalType":"bytes32","name":"salt","type":"bytes32","indexed":false},{"internalType":"bytes32","name":"mode","type":"bytes32","indexed":false},{"internalType":"bytes","name":"executionCalldata","type":"bytes","indexed":false}],"type":"event","name":"ERC7579ExecutorOperationExecuted","anonymous":false},{"inputs":[{"internalType":"uint256","name":"moduleTypeId","type":"uint256"}],"stateMutability":"pure","type":"function","name":"isModuleType","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"onInstall"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"onUninstall"}],"devdoc":{"kind":"dev","methods":{"isModuleType(uint256)":{"details":"Returns boolean value if module is a certain type","params":{"moduleTypeId":"the module type ID according the ERC-7579 spec MUST return true if the module is of the given type and false otherwise"}},"onInstall(bytes)":{"details":"This function is called by the smart account during installation of the module","params":{"data":"arbitrary data that may be passed to the module during `onInstall` initialization MUST revert on error (e.g. if module is already enabled)"}},"onUninstall(bytes)":{"details":"This function is called by the smart account during uninstallation of the module","params":{"data":"arbitrary data that may be passed to the module during `onUninstall` de-initialization MUST revert on error"}}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@fhevm/solidity/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/@fhevm/solidity/","@forge-std/=dependencies/forge-std-v1.14.0/src/","@openzeppelin-accounts-0.0.0-e4c2a32a/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/","@openzeppelin-contracts-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/","@openzeppelin-contracts-upgradeable-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/","@openzeppelin/accounts/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/","@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/contracts/","@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/","encrypted-types/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/encrypted-types/","forge-std-v1.14.0/=dependencies/forge-std-v1.14.0/src/","forge-std/=dependencies/forge-std-v1.14.0/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/executors/ERC7579Executor.sol":"ERC7579Executor"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/executors/ERC7579Executor.sol":{"keccak256":"0x3e6cc7f6e2d7d4edc4804208875845daae73afeca71c9e21b32a181cc8497e86","urls":["bzz-raw://3db7a0b031e88136ba459459f3d9a4e5dec5d4760baa25d9cd5a173be2bc39bf","dweb:/ipfs/QmTcnFxBPBXr4bmAnfYeZGB8XUP7u2zmJYxfn3b7sGZBkr"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC4337.sol":{"keccak256":"0x154b2a0628ca270c221ec2e613569f3fe3f81bb9e55a837c0eab8f8470da1c88","urls":["bzz-raw://b21c4175ac06cb21d6c8fead32c8d7c99119a3639e7fb6cd1b8ef6f17813b87b","dweb:/ipfs/QmfF4UhrDRhVtgEnjw8hMg34SV3HNumMJHG8HPiUC9CEWT"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/draft-IERC7579.sol":{"keccak256":"0xa9728abfadb9cbe4c850685de1ae092c94979444f6cee2712c46410579ed07a4","urls":["bzz-raw://0b4e26d95383d9c27936ef640e8f2d4a932c9a1ea0ec20fcb08387f9b29a7582","dweb:/ipfs/QmakAqHaGqcm5d6AYWfjuVUifPJcjUrZNjhCpWsutTNPbH"],"license":"MIT"}},"version":1},"id":32}
@@ -0,0 +1 @@
1
+ {"abi":[{"type":"function","name":"addSigners","inputs":[{"name":"newSigners","type":"bytes[]","internalType":"bytes[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getSignerCount","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getSigners","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"start","type":"uint64","internalType":"uint64"},{"name":"end","type":"uint64","internalType":"uint64"}],"outputs":[{"name":"","type":"bytes[]","internalType":"bytes[]"}],"stateMutability":"view"},{"type":"function","name":"isModuleType","inputs":[{"name":"moduleTypeId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"isSigner","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"signer","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"onInstall","inputs":[{"name":"initData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onUninstall","inputs":[{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"removeSigners","inputs":[{"name":"oldSigners","type":"bytes[]","internalType":"bytes[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setThreshold","inputs":[{"name":"newThreshold","type":"uint64","internalType":"uint64"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"threshold","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint64","internalType":"uint64"}],"stateMutability":"view"},{"type":"event","name":"ERC7913SignerAdded","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"signer","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"ERC7913SignerRemoved","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"signer","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"ERC7913ThresholdSet","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"threshold","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"type":"error","name":"ERC7579MultisigAlreadyExists","inputs":[{"name":"signer","type":"bytes","internalType":"bytes"}]},{"type":"error","name":"ERC7579MultisigAlreadyInstalled","inputs":[]},{"type":"error","name":"ERC7579MultisigEmptySigners","inputs":[]},{"type":"error","name":"ERC7579MultisigInvalidInitData","inputs":[]},{"type":"error","name":"ERC7579MultisigInvalidSigner","inputs":[{"name":"signer","type":"bytes","internalType":"bytes"}]},{"type":"error","name":"ERC7579MultisigNonexistentSigner","inputs":[{"name":"signer","type":"bytes","internalType":"bytes"}]},{"type":"error","name":"ERC7579MultisigUnreachableThreshold","inputs":[{"name":"signers","type":"uint64","internalType":"uint64"},{"name":"threshold","type":"uint64","internalType":"uint64"}]},{"type":"error","name":"ERC7579MultisigZeroThreshold","inputs":[]}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"addSigners(bytes[])":"96d4110b","getSignerCount(address)":"f5be0b18","getSigners(address,uint64,uint64)":"67994686","isModuleType(uint256)":"ecd05961","isSigner(address,bytes)":"67c6740e","onInstall(bytes)":"6d61fe70","onUninstall(bytes)":"8a91b0e3","removeSigners(bytes[])":"7cc2046b","setThreshold(uint64)":"17c4de35","threshold(address)":"c86ec2bf"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"signer\",\"type\":\"bytes\"}],\"name\":\"ERC7579MultisigAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC7579MultisigAlreadyInstalled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC7579MultisigEmptySigners\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC7579MultisigInvalidInitData\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"signer\",\"type\":\"bytes\"}],\"name\":\"ERC7579MultisigInvalidSigner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"signer\",\"type\":\"bytes\"}],\"name\":\"ERC7579MultisigNonexistentSigner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"signers\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"threshold\",\"type\":\"uint64\"}],\"name\":\"ERC7579MultisigUnreachableThreshold\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC7579MultisigZeroThreshold\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"signer\",\"type\":\"bytes\"}],\"name\":\"ERC7913SignerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"signer\",\"type\":\"bytes\"}],\"name\":\"ERC7913SignerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"threshold\",\"type\":\"uint64\"}],\"name\":\"ERC7913ThresholdSet\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"newSigners\",\"type\":\"bytes[]\"}],\"name\":\"addSigners\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getSignerCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"start\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"end\",\"type\":\"uint64\"}],\"name\":\"getSigners\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"moduleTypeId\",\"type\":\"uint256\"}],\"name\":\"isModuleType\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signer\",\"type\":\"bytes\"}],\"name\":\"isSigner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"initData\",\"type\":\"bytes\"}],\"name\":\"onInstall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onUninstall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"oldSigners\",\"type\":\"bytes[]\"}],\"name\":\"removeSigners\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"newThreshold\",\"type\":\"uint64\"}],\"name\":\"setThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"threshold\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Implementation of an {IERC7579Module} that uses ERC-7913 signers for multisignature validation. This module provides a base implementation for multisignature validation that can be attached to any function through the {_validateMultisig} internal function. The signers are represented using the ERC-7913 format, which concatenates a verifier address and a key: `verifier || key`. A smart account with this module installed can require multiple signers to approve operations before they are executed, such as requiring 3-of-5 guardians to approve a social recovery operation.\",\"errors\":{\"ERC7579MultisigAlreadyExists(bytes)\":[{\"details\":\"The `signer` already exists.\"}],\"ERC7579MultisigAlreadyInstalled()\":[{\"details\":\"The `account` has already installed the module.\"}],\"ERC7579MultisigEmptySigners()\":[{\"details\":\"The `signers` array is empty.\"}],\"ERC7579MultisigInvalidInitData()\":[{\"details\":\"The `initData` is invalid.\"}],\"ERC7579MultisigInvalidSigner(bytes)\":[{\"details\":\"The `signer` is less than 20 bytes long.\"}],\"ERC7579MultisigNonexistentSigner(bytes)\":[{\"details\":\"The `signer` does not exist.\"}],\"ERC7579MultisigUnreachableThreshold(uint64,uint64)\":[{\"details\":\"The `threshold` is unreachable given the number of `signers`.\"}],\"ERC7579MultisigZeroThreshold()\":[{\"details\":\"The `threshold` is zero.\"}]},\"events\":{\"ERC7913SignerAdded(address,bytes)\":{\"details\":\"Emitted when signers are added.\"},\"ERC7913SignerRemoved(address,bytes)\":{\"details\":\"Emitted when signers are removed.\"},\"ERC7913ThresholdSet(address,uint64)\":{\"details\":\"Emitted when the threshold is updated.\"}},\"kind\":\"dev\",\"methods\":{\"addSigners(bytes[])\":{\"details\":\"Adds new signers to the authorized set for the calling account. Can only be called by the account itself. Requirements: * Each of `newSigners` must be at least 20 bytes long. * Each of `newSigners` must not be already authorized.\"},\"getSignerCount(address)\":{\"details\":\"Returns the number of authorized signers for the specified account.\"},\"getSigners(address,uint64,uint64)\":{\"details\":\"Returns a slice of the set of authorized signers for the specified account. Using `start = 0` and `end = type(uint64).max` will return the entire set of signers. WARNING: Depending on the `start` and `end`, this operation can copy a large amount of data to memory, which can be expensive. This is designed for view accessors queried without gas fees. Using it in state-changing functions may become uncallable if the slice grows too large.\"},\"isModuleType(uint256)\":{\"details\":\"Returns boolean value if module is a certain type\",\"params\":{\"moduleTypeId\":\"the module type ID according the ERC-7579 spec MUST return true if the module is of the given type and false otherwise\"}},\"isSigner(address,bytes)\":{\"details\":\"Returns whether the `signer` is an authorized signer for the specified account.\"},\"onInstall(bytes)\":{\"details\":\"Sets up the module's initial configuration when installed by an account. See {IERC7579Module-onInstall}. The `initData` encodes `signers` and `threshold`. See {_decodeMultisigInitData} for the encoding details. NOTE: An account can only call onInstall once. If called directly by the account, the signers will be set to the provided data. Future installations will revert with {ERC7579MultisigAlreadyInstalled}. Requirements: * The `account` must have no signers installed. Reverts with {ERC7579MultisigAlreadyInstalled} if not. * The `signers` array must be non-empty. Reverts with {ERC7579MultisigInvalidInitData} if not. * Those of {_decodeMultisigInitData} for the decoding requirements. * Those of {_addSigners} and {_setThreshold} for signer configuration requirements.\"},\"onUninstall(bytes)\":{\"details\":\"Cleans up module's configuration when uninstalled from an account. Clears all signers and resets the threshold. See {IERC7579Module-onUninstall}. WARNING: This function has unbounded gas costs and may become uncallable if the set grows too large. See {EnumerableSet-clear}.\"},\"removeSigners(bytes[])\":{\"details\":\"Removes signers from the authorized set for the calling account. Can only be called by the account itself. Requirements: * Each of `oldSigners` must be authorized. * After removal, the threshold must still be reachable.\"},\"setThreshold(uint64)\":{\"details\":\"Sets the threshold for the calling account. Can only be called by the account itself. Requirements: * The threshold must be reachable with the current number of signers.\"},\"threshold(address)\":{\"details\":\"Returns the minimum number of signers required to approve a multisignature operation for the specified account.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/ERC7579Multisig.sol\":\"ERC7579Multisig\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@fhevm/solidity/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/@fhevm/solidity/\",\":@forge-std/=dependencies/forge-std-v1.14.0/src/\",\":@openzeppelin-accounts-0.0.0-e4c2a32a/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/\",\":@openzeppelin-contracts-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/\",\":@openzeppelin-contracts-upgradeable-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/\",\":@openzeppelin/accounts/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/\",\":@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/contracts/\",\":@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/\",\":encrypted-types/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/encrypted-types/\",\":forge-std-v1.14.0/=dependencies/forge-std-v1.14.0/src/\",\":forge-std/=dependencies/forge-std-v1.14.0/src/\"],\"viaIR\":true},\"sources\":{\"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/ERC7579Multisig.sol\":{\"keccak256\":\"0xba5efc58f8f7f7cc591200cb03ff8e3cf72ee6d8e5d136ea21a0d94cbc1c7390\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16fb9c3be3c727d2bc283147bc29dca7e9f29e76fbfcf2ba4a300bae69d25cc4\",\"dweb:/ipfs/QmbjgY1DSsb5v82HBnZU7j6mYEmTLAUKousMUvMJ9TJnNk\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC1271.sol\":{\"keccak256\":\"0x66c7ec42c6c43712be2107a50ab4529379bc76a632b425babec698d9da921ac6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dce2778f0b638adfc5ba29c2c618c855fe725fa74a16846386aa1d56a834aa04\",\"dweb:/ipfs/QmPV9oWnzQdi58od266j62xvviavLNHqKLZfm6k2K1qy9E\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC4337.sol\":{\"keccak256\":\"0x154b2a0628ca270c221ec2e613569f3fe3f81bb9e55a837c0eab8f8470da1c88\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b21c4175ac06cb21d6c8fead32c8d7c99119a3639e7fb6cd1b8ef6f17813b87b\",\"dweb:/ipfs/QmfF4UhrDRhVtgEnjw8hMg34SV3HNumMJHG8HPiUC9CEWT\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC7913.sol\":{\"keccak256\":\"0xe5a126930df1d54e4a6dd5fea09010c4a7db0ea974c6c17a1e6082879f5a032b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f58f5a90328536a6c68289916bfa4ed653d871319c7b2a416ab3f6263c4f2f5\",\"dweb:/ipfs/Qmaa9DmgUA16Urz5fuF4RbFz2NaVpNLV41ddwykSdasFUd\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/draft-IERC7579.sol\":{\"keccak256\":\"0xa9728abfadb9cbe4c850685de1ae092c94979444f6cee2712c46410579ed07a4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0b4e26d95383d9c27936ef640e8f2d4a932c9a1ea0ec20fcb08387f9b29a7582\",\"dweb:/ipfs/QmakAqHaGqcm5d6AYWfjuVUifPJcjUrZNjhCpWsutTNPbH\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Arrays.sol\":{\"keccak256\":\"0xbf84556b31fc425c4383dd98eb580124561a3299e997425f6169cb0396a81ae0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bfa828aa7d75071b270d837e2c41090915ebacc5cd4d1cd62b136be7549f2cde\",\"dweb:/ipfs/QmUTpKso638JkBpR47qP9D5n8AS6qcJefv8wq4qu3wYMes\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Bytes.sol\":{\"keccak256\":\"0x38e40627bff15b664cfad944f091c8489f05d97f34cb990a7dfc4ab0aef61f0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3bf403a86795a632f5e52d333e78cbeeed938f2c583c513f89154fc5e0a639bc\",\"dweb:/ipfs/QmdyhK8uFP2qoasQaGGnz7PNbiYT1RAChLs2QuYbU1jNX4\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Comparators.sol\":{\"keccak256\":\"0x302eecd8cf323b4690e3494a7d960b3cbce077032ab8ef655b323cdd136cec58\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://49ba706f1bc476d68fe6c1fad75517acea4e9e275be0989b548e292eb3a3eacd\",\"dweb:/ipfs/QmeBpvcdGWzWMKTQESUCEhHgnEQYYATVwPxLMxa6vMT7jC\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/SlotDerivation.sol\":{\"keccak256\":\"0x94045fd4f268edf2b2d01ef119268548c320366d6f5294ad30c1b8f9d4f5225f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://edfda81f426f8948b3834115c21e83c48180e6db0d2a8cd2debb2185ed349337\",\"dweb:/ipfs/QmdYZneFyDAux1BuWQxLAdqtABrGS2k9WYCa7C9dvpKkWv\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0xd1f77e84157720356c3335c6a5a767a7fe4af623fd4c1af83c5efd65a783750e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a06561eb17ec4c59dfa536ef17a2996f7c7fd92c7ae9b2c3ff8e65c6fd99bb55\",\"dweb:/ipfs/QmaVcZfZCfiUkTvTDDvpHwrgzobmYc5APgdLWCFa6ac6oM\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/cryptography/SignatureChecker.sol\":{\"keccak256\":\"0x0d53049a9969f2bc5cb88b32c909e2729a5fa157d258305b42b502427ad492c6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eacca39a3f50c665454866342bb05f10cc1e87c2bbd73dda981a6a0de1978fb0\",\"dweb:/ipfs/QmbFKMUT5BXtCdA2SCof9GuasrVhoGzaLUQG3gUvGDtdoE\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x59973a93b1f983f94e10529f46ca46544a9fec2b5f56fb1390bbe9e0dc79f857\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c55ef8f0b9719790c2ae6f81d80a59ffb89f2f0abe6bc065585bd79edce058c5\",\"dweb:/ipfs/QmNNmCbX9NjPXKqHJN8R1WC2rNeZSQrPZLd6FF6AKLyH5Y\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0xc8cae21c9ae4a46e5162ff9bf5b351d6fa6a6eba72d515f3bc1bdfeda7fdf083\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ce830ebcf28e31643caba318996db3763c36d52cd0f23798ba83c135355d45e9\",\"dweb:/ipfs/QmdGPcvptHN7UBCbUYBbRX3hiRVRFLRwno8b4uga6uFNif\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/structs/EnumerableSet.sol\":{\"keccak256\":\"0xb76f7ea73d4f3c5324260446a61764c6cd512fd23a1264238d718c9f5a2f56cf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://de3d2f8054ae5ecaaf17bd4d7533385f917e878c8df09ace7b02fc5ee6ed8be6\",\"dweb:/ipfs/QmYTMVPjZGiJR9urme6UB5TXBYwVg8T6Q5D1x9xVcKTwYz\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.30+commit.73712a01"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"bytes","name":"signer","type":"bytes"}],"type":"error","name":"ERC7579MultisigAlreadyExists"},{"inputs":[],"type":"error","name":"ERC7579MultisigAlreadyInstalled"},{"inputs":[],"type":"error","name":"ERC7579MultisigEmptySigners"},{"inputs":[],"type":"error","name":"ERC7579MultisigInvalidInitData"},{"inputs":[{"internalType":"bytes","name":"signer","type":"bytes"}],"type":"error","name":"ERC7579MultisigInvalidSigner"},{"inputs":[{"internalType":"bytes","name":"signer","type":"bytes"}],"type":"error","name":"ERC7579MultisigNonexistentSigner"},{"inputs":[{"internalType":"uint64","name":"signers","type":"uint64"},{"internalType":"uint64","name":"threshold","type":"uint64"}],"type":"error","name":"ERC7579MultisigUnreachableThreshold"},{"inputs":[],"type":"error","name":"ERC7579MultisigZeroThreshold"},{"inputs":[{"internalType":"address","name":"account","type":"address","indexed":true},{"internalType":"bytes","name":"signer","type":"bytes","indexed":false}],"type":"event","name":"ERC7913SignerAdded","anonymous":false},{"inputs":[{"internalType":"address","name":"account","type":"address","indexed":true},{"internalType":"bytes","name":"signer","type":"bytes","indexed":false}],"type":"event","name":"ERC7913SignerRemoved","anonymous":false},{"inputs":[{"internalType":"address","name":"account","type":"address","indexed":true},{"internalType":"uint64","name":"threshold","type":"uint64","indexed":false}],"type":"event","name":"ERC7913ThresholdSet","anonymous":false},{"inputs":[{"internalType":"bytes[]","name":"newSigners","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function","name":"addSigners"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"getSignerCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint64","name":"start","type":"uint64"},{"internalType":"uint64","name":"end","type":"uint64"}],"stateMutability":"view","type":"function","name":"getSigners","outputs":[{"internalType":"bytes[]","name":"","type":"bytes[]"}]},{"inputs":[{"internalType":"uint256","name":"moduleTypeId","type":"uint256"}],"stateMutability":"view","type":"function","name":"isModuleType","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes","name":"signer","type":"bytes"}],"stateMutability":"view","type":"function","name":"isSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"bytes","name":"initData","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"onInstall"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"onUninstall"},{"inputs":[{"internalType":"bytes[]","name":"oldSigners","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function","name":"removeSigners"},{"inputs":[{"internalType":"uint64","name":"newThreshold","type":"uint64"}],"stateMutability":"nonpayable","type":"function","name":"setThreshold"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"threshold","outputs":[{"internalType":"uint64","name":"","type":"uint64"}]}],"devdoc":{"kind":"dev","methods":{"addSigners(bytes[])":{"details":"Adds new signers to the authorized set for the calling account. Can only be called by the account itself. Requirements: * Each of `newSigners` must be at least 20 bytes long. * Each of `newSigners` must not be already authorized."},"getSignerCount(address)":{"details":"Returns the number of authorized signers for the specified account."},"getSigners(address,uint64,uint64)":{"details":"Returns a slice of the set of authorized signers for the specified account. Using `start = 0` and `end = type(uint64).max` will return the entire set of signers. WARNING: Depending on the `start` and `end`, this operation can copy a large amount of data to memory, which can be expensive. This is designed for view accessors queried without gas fees. Using it in state-changing functions may become uncallable if the slice grows too large."},"isModuleType(uint256)":{"details":"Returns boolean value if module is a certain type","params":{"moduleTypeId":"the module type ID according the ERC-7579 spec MUST return true if the module is of the given type and false otherwise"}},"isSigner(address,bytes)":{"details":"Returns whether the `signer` is an authorized signer for the specified account."},"onInstall(bytes)":{"details":"Sets up the module's initial configuration when installed by an account. See {IERC7579Module-onInstall}. The `initData` encodes `signers` and `threshold`. See {_decodeMultisigInitData} for the encoding details. NOTE: An account can only call onInstall once. If called directly by the account, the signers will be set to the provided data. Future installations will revert with {ERC7579MultisigAlreadyInstalled}. Requirements: * The `account` must have no signers installed. Reverts with {ERC7579MultisigAlreadyInstalled} if not. * The `signers` array must be non-empty. Reverts with {ERC7579MultisigInvalidInitData} if not. * Those of {_decodeMultisigInitData} for the decoding requirements. * Those of {_addSigners} and {_setThreshold} for signer configuration requirements."},"onUninstall(bytes)":{"details":"Cleans up module's configuration when uninstalled from an account. Clears all signers and resets the threshold. See {IERC7579Module-onUninstall}. WARNING: This function has unbounded gas costs and may become uncallable if the set grows too large. See {EnumerableSet-clear}."},"removeSigners(bytes[])":{"details":"Removes signers from the authorized set for the calling account. Can only be called by the account itself. Requirements: * Each of `oldSigners` must be authorized. * After removal, the threshold must still be reachable."},"setThreshold(uint64)":{"details":"Sets the threshold for the calling account. Can only be called by the account itself. Requirements: * The threshold must be reachable with the current number of signers."},"threshold(address)":{"details":"Returns the minimum number of signers required to approve a multisignature operation for the specified account."}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@fhevm/solidity/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/@fhevm/solidity/","@forge-std/=dependencies/forge-std-v1.14.0/src/","@openzeppelin-accounts-0.0.0-e4c2a32a/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/","@openzeppelin-contracts-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/","@openzeppelin-contracts-upgradeable-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/","@openzeppelin/accounts/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/","@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/contracts/","@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/","encrypted-types/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/encrypted-types/","forge-std-v1.14.0/=dependencies/forge-std-v1.14.0/src/","forge-std/=dependencies/forge-std-v1.14.0/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/ERC7579Multisig.sol":"ERC7579Multisig"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/ERC7579Multisig.sol":{"keccak256":"0xba5efc58f8f7f7cc591200cb03ff8e3cf72ee6d8e5d136ea21a0d94cbc1c7390","urls":["bzz-raw://16fb9c3be3c727d2bc283147bc29dca7e9f29e76fbfcf2ba4a300bae69d25cc4","dweb:/ipfs/QmbjgY1DSsb5v82HBnZU7j6mYEmTLAUKousMUvMJ9TJnNk"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC1271.sol":{"keccak256":"0x66c7ec42c6c43712be2107a50ab4529379bc76a632b425babec698d9da921ac6","urls":["bzz-raw://dce2778f0b638adfc5ba29c2c618c855fe725fa74a16846386aa1d56a834aa04","dweb:/ipfs/QmPV9oWnzQdi58od266j62xvviavLNHqKLZfm6k2K1qy9E"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC4337.sol":{"keccak256":"0x154b2a0628ca270c221ec2e613569f3fe3f81bb9e55a837c0eab8f8470da1c88","urls":["bzz-raw://b21c4175ac06cb21d6c8fead32c8d7c99119a3639e7fb6cd1b8ef6f17813b87b","dweb:/ipfs/QmfF4UhrDRhVtgEnjw8hMg34SV3HNumMJHG8HPiUC9CEWT"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC7913.sol":{"keccak256":"0xe5a126930df1d54e4a6dd5fea09010c4a7db0ea974c6c17a1e6082879f5a032b","urls":["bzz-raw://2f58f5a90328536a6c68289916bfa4ed653d871319c7b2a416ab3f6263c4f2f5","dweb:/ipfs/Qmaa9DmgUA16Urz5fuF4RbFz2NaVpNLV41ddwykSdasFUd"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/draft-IERC7579.sol":{"keccak256":"0xa9728abfadb9cbe4c850685de1ae092c94979444f6cee2712c46410579ed07a4","urls":["bzz-raw://0b4e26d95383d9c27936ef640e8f2d4a932c9a1ea0ec20fcb08387f9b29a7582","dweb:/ipfs/QmakAqHaGqcm5d6AYWfjuVUifPJcjUrZNjhCpWsutTNPbH"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Arrays.sol":{"keccak256":"0xbf84556b31fc425c4383dd98eb580124561a3299e997425f6169cb0396a81ae0","urls":["bzz-raw://bfa828aa7d75071b270d837e2c41090915ebacc5cd4d1cd62b136be7549f2cde","dweb:/ipfs/QmUTpKso638JkBpR47qP9D5n8AS6qcJefv8wq4qu3wYMes"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Bytes.sol":{"keccak256":"0x38e40627bff15b664cfad944f091c8489f05d97f34cb990a7dfc4ab0aef61f0f","urls":["bzz-raw://3bf403a86795a632f5e52d333e78cbeeed938f2c583c513f89154fc5e0a639bc","dweb:/ipfs/QmdyhK8uFP2qoasQaGGnz7PNbiYT1RAChLs2QuYbU1jNX4"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Comparators.sol":{"keccak256":"0x302eecd8cf323b4690e3494a7d960b3cbce077032ab8ef655b323cdd136cec58","urls":["bzz-raw://49ba706f1bc476d68fe6c1fad75517acea4e9e275be0989b548e292eb3a3eacd","dweb:/ipfs/QmeBpvcdGWzWMKTQESUCEhHgnEQYYATVwPxLMxa6vMT7jC"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Panic.sol":{"keccak256":"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a","urls":["bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a","dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/SlotDerivation.sol":{"keccak256":"0x94045fd4f268edf2b2d01ef119268548c320366d6f5294ad30c1b8f9d4f5225f","urls":["bzz-raw://edfda81f426f8948b3834115c21e83c48180e6db0d2a8cd2debb2185ed349337","dweb:/ipfs/QmdYZneFyDAux1BuWQxLAdqtABrGS2k9WYCa7C9dvpKkWv"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/StorageSlot.sol":{"keccak256":"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97","urls":["bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b","dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/cryptography/ECDSA.sol":{"keccak256":"0xd1f77e84157720356c3335c6a5a767a7fe4af623fd4c1af83c5efd65a783750e","urls":["bzz-raw://a06561eb17ec4c59dfa536ef17a2996f7c7fd92c7ae9b2c3ff8e65c6fd99bb55","dweb:/ipfs/QmaVcZfZCfiUkTvTDDvpHwrgzobmYc5APgdLWCFa6ac6oM"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/cryptography/SignatureChecker.sol":{"keccak256":"0x0d53049a9969f2bc5cb88b32c909e2729a5fa157d258305b42b502427ad492c6","urls":["bzz-raw://eacca39a3f50c665454866342bb05f10cc1e87c2bbd73dda981a6a0de1978fb0","dweb:/ipfs/QmbFKMUT5BXtCdA2SCof9GuasrVhoGzaLUQG3gUvGDtdoE"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/math/Math.sol":{"keccak256":"0x59973a93b1f983f94e10529f46ca46544a9fec2b5f56fb1390bbe9e0dc79f857","urls":["bzz-raw://c55ef8f0b9719790c2ae6f81d80a59ffb89f2f0abe6bc065585bd79edce058c5","dweb:/ipfs/QmNNmCbX9NjPXKqHJN8R1WC2rNeZSQrPZLd6FF6AKLyH5Y"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/math/SafeCast.sol":{"keccak256":"0xc8cae21c9ae4a46e5162ff9bf5b351d6fa6a6eba72d515f3bc1bdfeda7fdf083","urls":["bzz-raw://ce830ebcf28e31643caba318996db3763c36d52cd0f23798ba83c135355d45e9","dweb:/ipfs/QmdGPcvptHN7UBCbUYBbRX3hiRVRFLRwno8b4uga6uFNif"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/structs/EnumerableSet.sol":{"keccak256":"0xb76f7ea73d4f3c5324260446a61764c6cd512fd23a1264238d718c9f5a2f56cf","urls":["bzz-raw://de3d2f8054ae5ecaaf17bd4d7533385f917e878c8df09ace7b02fc5ee6ed8be6","dweb:/ipfs/QmYTMVPjZGiJR9urme6UB5TXBYwVg8T6Q5D1x9xVcKTwYz"],"license":"MIT"}},"version":1},"id":29}
@@ -0,0 +1 @@
1
+ {"abi":[{"type":"function","name":"addSigners","inputs":[{"name":"newSigners","type":"bytes[]","internalType":"bytes[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getSignerCount","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getSigners","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"start","type":"uint64","internalType":"uint64"},{"name":"end","type":"uint64","internalType":"uint64"}],"outputs":[{"name":"","type":"bytes[]","internalType":"bytes[]"}],"stateMutability":"view"},{"type":"function","name":"isModuleType","inputs":[{"name":"moduleTypeId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"isSigner","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"signer","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"onInstall","inputs":[{"name":"initData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onUninstall","inputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"removeSigners","inputs":[{"name":"oldSigners","type":"bytes[]","internalType":"bytes[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setSignerWeights","inputs":[{"name":"signers","type":"bytes[]","internalType":"bytes[]"},{"name":"weights","type":"uint64[]","internalType":"uint64[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setThreshold","inputs":[{"name":"newThreshold","type":"uint64","internalType":"uint64"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"signerWeight","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"signer","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint64","internalType":"uint64"}],"stateMutability":"view"},{"type":"function","name":"threshold","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint64","internalType":"uint64"}],"stateMutability":"view"},{"type":"function","name":"totalWeight","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint64","internalType":"uint64"}],"stateMutability":"view"},{"type":"event","name":"ERC7579MultisigWeightChanged","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"signer","type":"bytes","indexed":true,"internalType":"bytes"},{"name":"weight","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"type":"event","name":"ERC7913SignerAdded","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"signer","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"ERC7913SignerRemoved","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"signer","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"ERC7913ThresholdSet","inputs":[{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"threshold","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"type":"error","name":"ERC7579MultisigAlreadyExists","inputs":[{"name":"signer","type":"bytes","internalType":"bytes"}]},{"type":"error","name":"ERC7579MultisigAlreadyInstalled","inputs":[]},{"type":"error","name":"ERC7579MultisigEmptySigners","inputs":[]},{"type":"error","name":"ERC7579MultisigInvalidInitData","inputs":[]},{"type":"error","name":"ERC7579MultisigInvalidSigner","inputs":[{"name":"signer","type":"bytes","internalType":"bytes"}]},{"type":"error","name":"ERC7579MultisigInvalidWeight","inputs":[{"name":"signer","type":"bytes","internalType":"bytes"},{"name":"weight","type":"uint64","internalType":"uint64"}]},{"type":"error","name":"ERC7579MultisigMismatchedLength","inputs":[]},{"type":"error","name":"ERC7579MultisigNonexistentSigner","inputs":[{"name":"signer","type":"bytes","internalType":"bytes"}]},{"type":"error","name":"ERC7579MultisigUnreachableThreshold","inputs":[{"name":"signers","type":"uint64","internalType":"uint64"},{"name":"threshold","type":"uint64","internalType":"uint64"}]},{"type":"error","name":"ERC7579MultisigZeroThreshold","inputs":[]},{"type":"error","name":"SafeCastOverflowedUintDowncast","inputs":[{"name":"bits","type":"uint8","internalType":"uint8"},{"name":"value","type":"uint256","internalType":"uint256"}]}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"addSigners(bytes[])":"96d4110b","getSignerCount(address)":"f5be0b18","getSigners(address,uint64,uint64)":"67994686","isModuleType(uint256)":"ecd05961","isSigner(address,bytes)":"67c6740e","onInstall(bytes)":"6d61fe70","onUninstall(bytes)":"8a91b0e3","removeSigners(bytes[])":"7cc2046b","setSignerWeights(bytes[],uint64[])":"e7273091","setThreshold(uint64)":"17c4de35","signerWeight(address,bytes)":"720db985","threshold(address)":"c86ec2bf","totalWeight(address)":"ebb1d413"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"signer\",\"type\":\"bytes\"}],\"name\":\"ERC7579MultisigAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC7579MultisigAlreadyInstalled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC7579MultisigEmptySigners\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC7579MultisigInvalidInitData\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"signer\",\"type\":\"bytes\"}],\"name\":\"ERC7579MultisigInvalidSigner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"signer\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"weight\",\"type\":\"uint64\"}],\"name\":\"ERC7579MultisigInvalidWeight\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC7579MultisigMismatchedLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"signer\",\"type\":\"bytes\"}],\"name\":\"ERC7579MultisigNonexistentSigner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"signers\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"threshold\",\"type\":\"uint64\"}],\"name\":\"ERC7579MultisigUnreachableThreshold\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC7579MultisigZeroThreshold\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"bits\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"SafeCastOverflowedUintDowncast\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes\",\"name\":\"signer\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"weight\",\"type\":\"uint64\"}],\"name\":\"ERC7579MultisigWeightChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"signer\",\"type\":\"bytes\"}],\"name\":\"ERC7913SignerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"signer\",\"type\":\"bytes\"}],\"name\":\"ERC7913SignerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"threshold\",\"type\":\"uint64\"}],\"name\":\"ERC7913ThresholdSet\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"newSigners\",\"type\":\"bytes[]\"}],\"name\":\"addSigners\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getSignerCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"start\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"end\",\"type\":\"uint64\"}],\"name\":\"getSigners\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"moduleTypeId\",\"type\":\"uint256\"}],\"name\":\"isModuleType\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signer\",\"type\":\"bytes\"}],\"name\":\"isSigner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"initData\",\"type\":\"bytes\"}],\"name\":\"onInstall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onUninstall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"oldSigners\",\"type\":\"bytes[]\"}],\"name\":\"removeSigners\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"signers\",\"type\":\"bytes[]\"},{\"internalType\":\"uint64[]\",\"name\":\"weights\",\"type\":\"uint64[]\"}],\"name\":\"setSignerWeights\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"newThreshold\",\"type\":\"uint64\"}],\"name\":\"setThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signer\",\"type\":\"bytes\"}],\"name\":\"signerWeight\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"threshold\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"totalWeight\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Extension of {ERC7579Multisig} that supports weighted signatures. This module extends the multisignature module to allow assigning different weights to each signer, enabling more flexible governance schemes. For example, some guardians could have higher weight than others, allowing for weighted voting or prioritized authorization. Example use case: A smart account with this module installed can schedule social recovery operations after obtaining approval from guardians with sufficient total weight (e.g., requiring a total weight of 10, with 3 guardians weighted as 5, 3, and 2), and then execute them after the time delay has passed. IMPORTANT: When setting a threshold value, ensure it matches the scale used for signer weights. For example, if signers have weights like 1, 2, or 3, then a threshold of 4 would require signatures with a total weight of at least 4 (e.g., one with weight 1 and one with weight 3).\",\"errors\":{\"ERC7579MultisigAlreadyExists(bytes)\":[{\"details\":\"The `signer` already exists.\"}],\"ERC7579MultisigAlreadyInstalled()\":[{\"details\":\"The `account` has already installed the module.\"}],\"ERC7579MultisigEmptySigners()\":[{\"details\":\"The `signers` array is empty.\"}],\"ERC7579MultisigInvalidInitData()\":[{\"details\":\"The `initData` is invalid.\"}],\"ERC7579MultisigInvalidSigner(bytes)\":[{\"details\":\"The `signer` is less than 20 bytes long.\"}],\"ERC7579MultisigInvalidWeight(bytes,uint64)\":[{\"details\":\"Thrown when a signer's weight is invalid.\"}],\"ERC7579MultisigMismatchedLength()\":[{\"details\":\"Thrown when the arrays lengths don't match.\"}],\"ERC7579MultisigNonexistentSigner(bytes)\":[{\"details\":\"The `signer` does not exist.\"}],\"ERC7579MultisigUnreachableThreshold(uint64,uint64)\":[{\"details\":\"The `threshold` is unreachable given the number of `signers`.\"}],\"ERC7579MultisigZeroThreshold()\":[{\"details\":\"The `threshold` is zero.\"}],\"SafeCastOverflowedUintDowncast(uint8,uint256)\":[{\"details\":\"Value doesn't fit in a uint of `bits` size.\"}]},\"events\":{\"ERC7579MultisigWeightChanged(address,bytes,uint64)\":{\"details\":\"Emitted when a signer's weight is changed. NOTE: Not emitted in {_addSigners} or {_removeSigners}. Indexers must rely on {ERC7913SignerAdded} and {ERC7913SignerRemoved} to index a default weight of 1. See {signerWeight}.\"},\"ERC7913SignerAdded(address,bytes)\":{\"details\":\"Emitted when signers are added.\"},\"ERC7913SignerRemoved(address,bytes)\":{\"details\":\"Emitted when signers are removed.\"},\"ERC7913ThresholdSet(address,uint64)\":{\"details\":\"Emitted when the threshold is updated.\"}},\"kind\":\"dev\",\"methods\":{\"addSigners(bytes[])\":{\"details\":\"Adds new signers to the authorized set for the calling account. Can only be called by the account itself. Requirements: * Each of `newSigners` must be at least 20 bytes long. * Each of `newSigners` must not be already authorized.\"},\"getSignerCount(address)\":{\"details\":\"Returns the number of authorized signers for the specified account.\"},\"getSigners(address,uint64,uint64)\":{\"details\":\"Returns a slice of the set of authorized signers for the specified account. Using `start = 0` and `end = type(uint64).max` will return the entire set of signers. WARNING: Depending on the `start` and `end`, this operation can copy a large amount of data to memory, which can be expensive. This is designed for view accessors queried without gas fees. Using it in state-changing functions may become uncallable if the slice grows too large.\"},\"isModuleType(uint256)\":{\"details\":\"Returns boolean value if module is a certain type\",\"params\":{\"moduleTypeId\":\"the module type ID according the ERC-7579 spec MUST return true if the module is of the given type and false otherwise\"}},\"isSigner(address,bytes)\":{\"details\":\"Returns whether the `signer` is an authorized signer for the specified account.\"},\"onInstall(bytes)\":{\"details\":\"Sets up the module's initial configuration when installed by an account. Besides the standard delay and signer configuration, this can also include signer weights. The initData should be encoded as: `abi.encode(bytes[] signers, uint64 threshold, uint64[] weights)` NOTE: An account can only call onInstall once. If called directly by the account, the signer will be set to the provided data. Future installations will revert with {ERC7579MultisigAlreadyInstalled}. NOTE: This function skips `super.onInstall` to avoid setting the threshold during installation since it can be greater than the total amount of signers. This function adds the signers, sets the weights, and sets the threshold. Requirements: * The `account` must have no signers installed. Reverts with {ERC7579MultisigAlreadyInstalled} if not. * Those of {_decodeMultisigWeightedInitData} for the decoding requirements.\"},\"onUninstall(bytes)\":{\"details\":\"Cleans up module's configuration when uninstalled from an account. Clears all signers, weights, and total weights. See {ERC7579Multisig-onUninstall}.\"},\"removeSigners(bytes[])\":{\"details\":\"Removes signers from the authorized set for the calling account. Can only be called by the account itself. Requirements: * Each of `oldSigners` must be authorized. * After removal, the threshold must still be reachable.\"},\"setSignerWeights(bytes[],uint64[])\":{\"details\":\"Sets weights for signers for the calling account. Can only be called by the account itself.\"},\"setThreshold(uint64)\":{\"details\":\"Sets the threshold for the calling account. Can only be called by the account itself. Requirements: * The threshold must be reachable with the current number of signers.\"},\"signerWeight(address,bytes)\":{\"details\":\"Gets the weight of a signer for a specific account. Returns 0 if the signer is not authorized.\"},\"threshold(address)\":{\"details\":\"Returns the minimum number of signers required to approve a multisignature operation for the specified account.\"},\"totalWeight(address)\":{\"details\":\"Gets the total weight of all signers for a specific account.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/ERC7579MultisigWeighted.sol\":\"ERC7579MultisigWeighted\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@fhevm/solidity/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/@fhevm/solidity/\",\":@forge-std/=dependencies/forge-std-v1.14.0/src/\",\":@openzeppelin-accounts-0.0.0-e4c2a32a/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/\",\":@openzeppelin-contracts-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/\",\":@openzeppelin-contracts-upgradeable-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/\",\":@openzeppelin/accounts/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/\",\":@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/contracts/\",\":@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/\",\":encrypted-types/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/encrypted-types/\",\":forge-std-v1.14.0/=dependencies/forge-std-v1.14.0/src/\",\":forge-std/=dependencies/forge-std-v1.14.0/src/\"],\"viaIR\":true},\"sources\":{\"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/ERC7579Multisig.sol\":{\"keccak256\":\"0xba5efc58f8f7f7cc591200cb03ff8e3cf72ee6d8e5d136ea21a0d94cbc1c7390\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16fb9c3be3c727d2bc283147bc29dca7e9f29e76fbfcf2ba4a300bae69d25cc4\",\"dweb:/ipfs/QmbjgY1DSsb5v82HBnZU7j6mYEmTLAUKousMUvMJ9TJnNk\"]},\"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/ERC7579MultisigWeighted.sol\":{\"keccak256\":\"0x2b5c7413d1200b7cca80651f9d5f0ef140db97657ee0651b00b60c6b7336e757\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://07dc2076d5f2c9555a6f57b48772d66dbacae26dfa6cf30d7c14509e95c9ea5a\",\"dweb:/ipfs/QmPv4M5BMT4XPiUr1wgbXfeZrMoxrbQb5wSE7gGVcqTfFZ\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC1271.sol\":{\"keccak256\":\"0x66c7ec42c6c43712be2107a50ab4529379bc76a632b425babec698d9da921ac6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dce2778f0b638adfc5ba29c2c618c855fe725fa74a16846386aa1d56a834aa04\",\"dweb:/ipfs/QmPV9oWnzQdi58od266j62xvviavLNHqKLZfm6k2K1qy9E\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC4337.sol\":{\"keccak256\":\"0x154b2a0628ca270c221ec2e613569f3fe3f81bb9e55a837c0eab8f8470da1c88\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b21c4175ac06cb21d6c8fead32c8d7c99119a3639e7fb6cd1b8ef6f17813b87b\",\"dweb:/ipfs/QmfF4UhrDRhVtgEnjw8hMg34SV3HNumMJHG8HPiUC9CEWT\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC7913.sol\":{\"keccak256\":\"0xe5a126930df1d54e4a6dd5fea09010c4a7db0ea974c6c17a1e6082879f5a032b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f58f5a90328536a6c68289916bfa4ed653d871319c7b2a416ab3f6263c4f2f5\",\"dweb:/ipfs/Qmaa9DmgUA16Urz5fuF4RbFz2NaVpNLV41ddwykSdasFUd\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/draft-IERC7579.sol\":{\"keccak256\":\"0xa9728abfadb9cbe4c850685de1ae092c94979444f6cee2712c46410579ed07a4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0b4e26d95383d9c27936ef640e8f2d4a932c9a1ea0ec20fcb08387f9b29a7582\",\"dweb:/ipfs/QmakAqHaGqcm5d6AYWfjuVUifPJcjUrZNjhCpWsutTNPbH\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Arrays.sol\":{\"keccak256\":\"0xbf84556b31fc425c4383dd98eb580124561a3299e997425f6169cb0396a81ae0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bfa828aa7d75071b270d837e2c41090915ebacc5cd4d1cd62b136be7549f2cde\",\"dweb:/ipfs/QmUTpKso638JkBpR47qP9D5n8AS6qcJefv8wq4qu3wYMes\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Bytes.sol\":{\"keccak256\":\"0x38e40627bff15b664cfad944f091c8489f05d97f34cb990a7dfc4ab0aef61f0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3bf403a86795a632f5e52d333e78cbeeed938f2c583c513f89154fc5e0a639bc\",\"dweb:/ipfs/QmdyhK8uFP2qoasQaGGnz7PNbiYT1RAChLs2QuYbU1jNX4\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Comparators.sol\":{\"keccak256\":\"0x302eecd8cf323b4690e3494a7d960b3cbce077032ab8ef655b323cdd136cec58\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://49ba706f1bc476d68fe6c1fad75517acea4e9e275be0989b548e292eb3a3eacd\",\"dweb:/ipfs/QmeBpvcdGWzWMKTQESUCEhHgnEQYYATVwPxLMxa6vMT7jC\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/SlotDerivation.sol\":{\"keccak256\":\"0x94045fd4f268edf2b2d01ef119268548c320366d6f5294ad30c1b8f9d4f5225f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://edfda81f426f8948b3834115c21e83c48180e6db0d2a8cd2debb2185ed349337\",\"dweb:/ipfs/QmdYZneFyDAux1BuWQxLAdqtABrGS2k9WYCa7C9dvpKkWv\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0xd1f77e84157720356c3335c6a5a767a7fe4af623fd4c1af83c5efd65a783750e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a06561eb17ec4c59dfa536ef17a2996f7c7fd92c7ae9b2c3ff8e65c6fd99bb55\",\"dweb:/ipfs/QmaVcZfZCfiUkTvTDDvpHwrgzobmYc5APgdLWCFa6ac6oM\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/cryptography/SignatureChecker.sol\":{\"keccak256\":\"0x0d53049a9969f2bc5cb88b32c909e2729a5fa157d258305b42b502427ad492c6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eacca39a3f50c665454866342bb05f10cc1e87c2bbd73dda981a6a0de1978fb0\",\"dweb:/ipfs/QmbFKMUT5BXtCdA2SCof9GuasrVhoGzaLUQG3gUvGDtdoE\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x59973a93b1f983f94e10529f46ca46544a9fec2b5f56fb1390bbe9e0dc79f857\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c55ef8f0b9719790c2ae6f81d80a59ffb89f2f0abe6bc065585bd79edce058c5\",\"dweb:/ipfs/QmNNmCbX9NjPXKqHJN8R1WC2rNeZSQrPZLd6FF6AKLyH5Y\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0xc8cae21c9ae4a46e5162ff9bf5b351d6fa6a6eba72d515f3bc1bdfeda7fdf083\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ce830ebcf28e31643caba318996db3763c36d52cd0f23798ba83c135355d45e9\",\"dweb:/ipfs/QmdGPcvptHN7UBCbUYBbRX3hiRVRFLRwno8b4uga6uFNif\"]},\"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/structs/EnumerableSet.sol\":{\"keccak256\":\"0xb76f7ea73d4f3c5324260446a61764c6cd512fd23a1264238d718c9f5a2f56cf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://de3d2f8054ae5ecaaf17bd4d7533385f917e878c8df09ace7b02fc5ee6ed8be6\",\"dweb:/ipfs/QmYTMVPjZGiJR9urme6UB5TXBYwVg8T6Q5D1x9xVcKTwYz\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.30+commit.73712a01"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"bytes","name":"signer","type":"bytes"}],"type":"error","name":"ERC7579MultisigAlreadyExists"},{"inputs":[],"type":"error","name":"ERC7579MultisigAlreadyInstalled"},{"inputs":[],"type":"error","name":"ERC7579MultisigEmptySigners"},{"inputs":[],"type":"error","name":"ERC7579MultisigInvalidInitData"},{"inputs":[{"internalType":"bytes","name":"signer","type":"bytes"}],"type":"error","name":"ERC7579MultisigInvalidSigner"},{"inputs":[{"internalType":"bytes","name":"signer","type":"bytes"},{"internalType":"uint64","name":"weight","type":"uint64"}],"type":"error","name":"ERC7579MultisigInvalidWeight"},{"inputs":[],"type":"error","name":"ERC7579MultisigMismatchedLength"},{"inputs":[{"internalType":"bytes","name":"signer","type":"bytes"}],"type":"error","name":"ERC7579MultisigNonexistentSigner"},{"inputs":[{"internalType":"uint64","name":"signers","type":"uint64"},{"internalType":"uint64","name":"threshold","type":"uint64"}],"type":"error","name":"ERC7579MultisigUnreachableThreshold"},{"inputs":[],"type":"error","name":"ERC7579MultisigZeroThreshold"},{"inputs":[{"internalType":"uint8","name":"bits","type":"uint8"},{"internalType":"uint256","name":"value","type":"uint256"}],"type":"error","name":"SafeCastOverflowedUintDowncast"},{"inputs":[{"internalType":"address","name":"account","type":"address","indexed":true},{"internalType":"bytes","name":"signer","type":"bytes","indexed":true},{"internalType":"uint64","name":"weight","type":"uint64","indexed":false}],"type":"event","name":"ERC7579MultisigWeightChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"account","type":"address","indexed":true},{"internalType":"bytes","name":"signer","type":"bytes","indexed":false}],"type":"event","name":"ERC7913SignerAdded","anonymous":false},{"inputs":[{"internalType":"address","name":"account","type":"address","indexed":true},{"internalType":"bytes","name":"signer","type":"bytes","indexed":false}],"type":"event","name":"ERC7913SignerRemoved","anonymous":false},{"inputs":[{"internalType":"address","name":"account","type":"address","indexed":true},{"internalType":"uint64","name":"threshold","type":"uint64","indexed":false}],"type":"event","name":"ERC7913ThresholdSet","anonymous":false},{"inputs":[{"internalType":"bytes[]","name":"newSigners","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function","name":"addSigners"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"getSignerCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint64","name":"start","type":"uint64"},{"internalType":"uint64","name":"end","type":"uint64"}],"stateMutability":"view","type":"function","name":"getSigners","outputs":[{"internalType":"bytes[]","name":"","type":"bytes[]"}]},{"inputs":[{"internalType":"uint256","name":"moduleTypeId","type":"uint256"}],"stateMutability":"view","type":"function","name":"isModuleType","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes","name":"signer","type":"bytes"}],"stateMutability":"view","type":"function","name":"isSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"bytes","name":"initData","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"onInstall"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"onUninstall"},{"inputs":[{"internalType":"bytes[]","name":"oldSigners","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function","name":"removeSigners"},{"inputs":[{"internalType":"bytes[]","name":"signers","type":"bytes[]"},{"internalType":"uint64[]","name":"weights","type":"uint64[]"}],"stateMutability":"nonpayable","type":"function","name":"setSignerWeights"},{"inputs":[{"internalType":"uint64","name":"newThreshold","type":"uint64"}],"stateMutability":"nonpayable","type":"function","name":"setThreshold"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes","name":"signer","type":"bytes"}],"stateMutability":"view","type":"function","name":"signerWeight","outputs":[{"internalType":"uint64","name":"","type":"uint64"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"threshold","outputs":[{"internalType":"uint64","name":"","type":"uint64"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"totalWeight","outputs":[{"internalType":"uint64","name":"","type":"uint64"}]}],"devdoc":{"kind":"dev","methods":{"addSigners(bytes[])":{"details":"Adds new signers to the authorized set for the calling account. Can only be called by the account itself. Requirements: * Each of `newSigners` must be at least 20 bytes long. * Each of `newSigners` must not be already authorized."},"getSignerCount(address)":{"details":"Returns the number of authorized signers for the specified account."},"getSigners(address,uint64,uint64)":{"details":"Returns a slice of the set of authorized signers for the specified account. Using `start = 0` and `end = type(uint64).max` will return the entire set of signers. WARNING: Depending on the `start` and `end`, this operation can copy a large amount of data to memory, which can be expensive. This is designed for view accessors queried without gas fees. Using it in state-changing functions may become uncallable if the slice grows too large."},"isModuleType(uint256)":{"details":"Returns boolean value if module is a certain type","params":{"moduleTypeId":"the module type ID according the ERC-7579 spec MUST return true if the module is of the given type and false otherwise"}},"isSigner(address,bytes)":{"details":"Returns whether the `signer` is an authorized signer for the specified account."},"onInstall(bytes)":{"details":"Sets up the module's initial configuration when installed by an account. Besides the standard delay and signer configuration, this can also include signer weights. The initData should be encoded as: `abi.encode(bytes[] signers, uint64 threshold, uint64[] weights)` NOTE: An account can only call onInstall once. If called directly by the account, the signer will be set to the provided data. Future installations will revert with {ERC7579MultisigAlreadyInstalled}. NOTE: This function skips `super.onInstall` to avoid setting the threshold during installation since it can be greater than the total amount of signers. This function adds the signers, sets the weights, and sets the threshold. Requirements: * The `account` must have no signers installed. Reverts with {ERC7579MultisigAlreadyInstalled} if not. * Those of {_decodeMultisigWeightedInitData} for the decoding requirements."},"onUninstall(bytes)":{"details":"Cleans up module's configuration when uninstalled from an account. Clears all signers, weights, and total weights. See {ERC7579Multisig-onUninstall}."},"removeSigners(bytes[])":{"details":"Removes signers from the authorized set for the calling account. Can only be called by the account itself. Requirements: * Each of `oldSigners` must be authorized. * After removal, the threshold must still be reachable."},"setSignerWeights(bytes[],uint64[])":{"details":"Sets weights for signers for the calling account. Can only be called by the account itself."},"setThreshold(uint64)":{"details":"Sets the threshold for the calling account. Can only be called by the account itself. Requirements: * The threshold must be reachable with the current number of signers."},"signerWeight(address,bytes)":{"details":"Gets the weight of a signer for a specific account. Returns 0 if the signer is not authorized."},"threshold(address)":{"details":"Returns the minimum number of signers required to approve a multisignature operation for the specified account."},"totalWeight(address)":{"details":"Gets the total weight of all signers for a specific account."}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@fhevm/solidity/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/@fhevm/solidity/","@forge-std/=dependencies/forge-std-v1.14.0/src/","@openzeppelin-accounts-0.0.0-e4c2a32a/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/","@openzeppelin-contracts-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/","@openzeppelin-contracts-upgradeable-5.7.0-rc.0/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/","@openzeppelin/accounts/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/","@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0-rc.0/contracts/","@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/","encrypted-types/=dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/node_modules/encrypted-types/","forge-std-v1.14.0/=dependencies/forge-std-v1.14.0/src/","forge-std/=dependencies/forge-std-v1.14.0/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/ERC7579MultisigWeighted.sol":"ERC7579MultisigWeighted"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/ERC7579Multisig.sol":{"keccak256":"0xba5efc58f8f7f7cc591200cb03ff8e3cf72ee6d8e5d136ea21a0d94cbc1c7390","urls":["bzz-raw://16fb9c3be3c727d2bc283147bc29dca7e9f29e76fbfcf2ba4a300bae69d25cc4","dweb:/ipfs/QmbjgY1DSsb5v82HBnZU7j6mYEmTLAUKousMUvMJ9TJnNk"],"license":"MIT"},"dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/modules/ERC7579MultisigWeighted.sol":{"keccak256":"0x2b5c7413d1200b7cca80651f9d5f0ef140db97657ee0651b00b60c6b7336e757","urls":["bzz-raw://07dc2076d5f2c9555a6f57b48772d66dbacae26dfa6cf30d7c14509e95c9ea5a","dweb:/ipfs/QmPv4M5BMT4XPiUr1wgbXfeZrMoxrbQb5wSE7gGVcqTfFZ"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC1271.sol":{"keccak256":"0x66c7ec42c6c43712be2107a50ab4529379bc76a632b425babec698d9da921ac6","urls":["bzz-raw://dce2778f0b638adfc5ba29c2c618c855fe725fa74a16846386aa1d56a834aa04","dweb:/ipfs/QmPV9oWnzQdi58od266j62xvviavLNHqKLZfm6k2K1qy9E"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC4337.sol":{"keccak256":"0x154b2a0628ca270c221ec2e613569f3fe3f81bb9e55a837c0eab8f8470da1c88","urls":["bzz-raw://b21c4175ac06cb21d6c8fead32c8d7c99119a3639e7fb6cd1b8ef6f17813b87b","dweb:/ipfs/QmfF4UhrDRhVtgEnjw8hMg34SV3HNumMJHG8HPiUC9CEWT"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/IERC7913.sol":{"keccak256":"0xe5a126930df1d54e4a6dd5fea09010c4a7db0ea974c6c17a1e6082879f5a032b","urls":["bzz-raw://2f58f5a90328536a6c68289916bfa4ed653d871319c7b2a416ab3f6263c4f2f5","dweb:/ipfs/Qmaa9DmgUA16Urz5fuF4RbFz2NaVpNLV41ddwykSdasFUd"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/interfaces/draft-IERC7579.sol":{"keccak256":"0xa9728abfadb9cbe4c850685de1ae092c94979444f6cee2712c46410579ed07a4","urls":["bzz-raw://0b4e26d95383d9c27936ef640e8f2d4a932c9a1ea0ec20fcb08387f9b29a7582","dweb:/ipfs/QmakAqHaGqcm5d6AYWfjuVUifPJcjUrZNjhCpWsutTNPbH"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Arrays.sol":{"keccak256":"0xbf84556b31fc425c4383dd98eb580124561a3299e997425f6169cb0396a81ae0","urls":["bzz-raw://bfa828aa7d75071b270d837e2c41090915ebacc5cd4d1cd62b136be7549f2cde","dweb:/ipfs/QmUTpKso638JkBpR47qP9D5n8AS6qcJefv8wq4qu3wYMes"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Bytes.sol":{"keccak256":"0x38e40627bff15b664cfad944f091c8489f05d97f34cb990a7dfc4ab0aef61f0f","urls":["bzz-raw://3bf403a86795a632f5e52d333e78cbeeed938f2c583c513f89154fc5e0a639bc","dweb:/ipfs/QmdyhK8uFP2qoasQaGGnz7PNbiYT1RAChLs2QuYbU1jNX4"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Comparators.sol":{"keccak256":"0x302eecd8cf323b4690e3494a7d960b3cbce077032ab8ef655b323cdd136cec58","urls":["bzz-raw://49ba706f1bc476d68fe6c1fad75517acea4e9e275be0989b548e292eb3a3eacd","dweb:/ipfs/QmeBpvcdGWzWMKTQESUCEhHgnEQYYATVwPxLMxa6vMT7jC"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/Panic.sol":{"keccak256":"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a","urls":["bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a","dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/SlotDerivation.sol":{"keccak256":"0x94045fd4f268edf2b2d01ef119268548c320366d6f5294ad30c1b8f9d4f5225f","urls":["bzz-raw://edfda81f426f8948b3834115c21e83c48180e6db0d2a8cd2debb2185ed349337","dweb:/ipfs/QmdYZneFyDAux1BuWQxLAdqtABrGS2k9WYCa7C9dvpKkWv"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/StorageSlot.sol":{"keccak256":"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97","urls":["bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b","dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/cryptography/ECDSA.sol":{"keccak256":"0xd1f77e84157720356c3335c6a5a767a7fe4af623fd4c1af83c5efd65a783750e","urls":["bzz-raw://a06561eb17ec4c59dfa536ef17a2996f7c7fd92c7ae9b2c3ff8e65c6fd99bb55","dweb:/ipfs/QmaVcZfZCfiUkTvTDDvpHwrgzobmYc5APgdLWCFa6ac6oM"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/cryptography/SignatureChecker.sol":{"keccak256":"0x0d53049a9969f2bc5cb88b32c909e2729a5fa157d258305b42b502427ad492c6","urls":["bzz-raw://eacca39a3f50c665454866342bb05f10cc1e87c2bbd73dda981a6a0de1978fb0","dweb:/ipfs/QmbFKMUT5BXtCdA2SCof9GuasrVhoGzaLUQG3gUvGDtdoE"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/math/Math.sol":{"keccak256":"0x59973a93b1f983f94e10529f46ca46544a9fec2b5f56fb1390bbe9e0dc79f857","urls":["bzz-raw://c55ef8f0b9719790c2ae6f81d80a59ffb89f2f0abe6bc065585bd79edce058c5","dweb:/ipfs/QmNNmCbX9NjPXKqHJN8R1WC2rNeZSQrPZLd6FF6AKLyH5Y"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/math/SafeCast.sol":{"keccak256":"0xc8cae21c9ae4a46e5162ff9bf5b351d6fa6a6eba72d515f3bc1bdfeda7fdf083","urls":["bzz-raw://ce830ebcf28e31643caba318996db3763c36d52cd0f23798ba83c135355d45e9","dweb:/ipfs/QmdGPcvptHN7UBCbUYBbRX3hiRVRFLRwno8b4uga6uFNif"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0-rc.0/contracts/utils/structs/EnumerableSet.sol":{"keccak256":"0xb76f7ea73d4f3c5324260446a61764c6cd512fd23a1264238d718c9f5a2f56cf","urls":["bzz-raw://de3d2f8054ae5ecaaf17bd4d7533385f917e878c8df09ace7b02fc5ee6ed8be6","dweb:/ipfs/QmYTMVPjZGiJR9urme6UB5TXBYwVg8T6Q5D1x9xVcKTwYz"],"license":"MIT"}},"version":1},"id":30}