@etherisc/gif-next 0.0.2-c37bcc5-708 → 0.0.2-c38863c-705

Sign up to get free protection for your applications and to get access to all the features.
Files changed (580) hide show
  1. package/README.md +75 -9
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1379 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1434 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +542 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IAccess.sol/IAccess.json +10 -0
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/{shared/AccessManagerCustom.sol/AccessManagerCustom.json → authorization/IAccessAdmin.sol/IAccessAdmin.json} +533 -596
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +350 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1322 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +589 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +144 -544
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +419 -259
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +154 -108
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +201 -261
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +256 -62
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +589 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2032 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +589 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1479 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2432 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +188 -107
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +226 -117
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +208 -236
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1462 -241
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +661 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1044 -316
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +247 -275
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +105 -95
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +614 -538
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  105. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  107. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +959 -0
  109. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +569 -0
  111. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +43 -1
  113. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +141 -126
  115. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +81 -10
  117. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +127 -398
  119. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +177 -177
  121. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +129 -83
  123. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1252 -0
  125. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +589 -0
  127. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +350 -194
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +148 -94
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +218 -28
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +132 -379
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +476 -311
  137. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  138. package/artifacts/contracts/pool/Pool.sol/Pool.json +124 -662
  139. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +660 -518
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +163 -93
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +151 -172
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +96 -90
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1161 -0
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +589 -0
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +438 -220
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +148 -110
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +106 -8
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +320 -15
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +377 -103
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +148 -82
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +260 -237
  167. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  168. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +79 -7
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +480 -293
  171. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +148 -94
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.json +239 -292
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +122 -116
  179. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  180. package/artifacts/contracts/product/Product.sol/Product.json +258 -536
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.json +659 -0
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +732 -0
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +359 -55
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +84 -151
  191. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  193. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  195. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  196. package/artifacts/contracts/registry/Registry.sol/Registry.json +589 -116
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1677 -156
  199. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  200. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +132 -278
  201. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  202. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +101 -75
  203. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  204. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
  205. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  206. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  207. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1333 -0
  209. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  210. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  211. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  212. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +5 -5
  213. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  214. package/artifacts/contracts/shared/Component.sol/Component.json +76 -265
  215. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  216. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +583 -502
  217. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  218. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +138 -110
  219. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  220. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +63 -104
  221. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  229. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +89 -88
  231. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +554 -218
  233. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +127 -123
  235. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +45 -3
  237. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +34 -3
  239. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  241. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  243. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
  245. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IService.sol/IService.json +67 -1
  248. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  250. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +112 -351
  252. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  253. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +55 -88
  254. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -62
  256. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  257. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  258. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  259. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  260. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  261. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  262. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  263. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
  264. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  265. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  266. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  267. package/artifacts/contracts/shared/Service.sol/Service.json +63 -104
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  272. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  274. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  275. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +134 -125
  276. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  277. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +125 -22
  278. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  279. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +97 -101
  280. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  281. package/artifacts/contracts/staking/Staking.sol/Staking.json +202 -398
  282. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  284. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +120 -109
  286. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +7 -12
  288. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +161 -184
  290. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +96 -90
  292. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +241 -147
  294. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +59 -23
  296. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  297. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  298. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/Amount.sol/AmountLib.json +61 -8
  300. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  302. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  304. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  306. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/Fee.sol/FeeLib.json +17 -12
  308. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  310. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  312. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  314. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  315. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  316. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +136 -2
  318. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  320. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  322. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +4 -4
  324. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  326. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +283 -6
  328. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  330. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  334. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  336. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  338. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  340. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  341. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +71 -2
  342. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  343. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  344. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +66 -2
  346. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  347. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  348. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  350. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  352. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  353. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  354. package/contracts/accounting/AccountingService.sol +262 -0
  355. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  356. package/contracts/accounting/IAccountingService.sol +45 -0
  357. package/contracts/authorization/AccessAdmin.sol +689 -0
  358. package/contracts/authorization/AccessManagerCloneable.sol +149 -0
  359. package/contracts/authorization/Authorization.sol +337 -0
  360. package/contracts/authorization/IAccess.sol +49 -0
  361. package/contracts/authorization/IAccessAdmin.sol +143 -0
  362. package/contracts/authorization/IAuthorization.sol +74 -0
  363. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  364. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  365. package/contracts/distribution/BasicDistribution.sol +141 -0
  366. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  367. package/contracts/distribution/Distribution.sol +153 -125
  368. package/contracts/distribution/DistributionService.sol +175 -115
  369. package/contracts/distribution/DistributionServiceManager.sol +8 -11
  370. package/contracts/distribution/IDistributionComponent.sol +26 -40
  371. package/contracts/distribution/IDistributionService.sol +42 -22
  372. package/contracts/examples/fire/DamageLevel.sol +59 -0
  373. package/contracts/examples/fire/FirePool.sol +90 -0
  374. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  375. package/contracts/examples/fire/FireProduct.sol +437 -0
  376. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  377. package/contracts/examples/fire/FireUSD.sol +26 -0
  378. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  379. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  380. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  381. package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
  382. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
  384. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  385. package/contracts/instance/BundleSet.sol +130 -0
  386. package/contracts/instance/IInstance.sol +34 -46
  387. package/contracts/instance/IInstanceService.sol +31 -40
  388. package/contracts/instance/Instance.sol +143 -132
  389. package/contracts/instance/InstanceAdmin.sol +346 -240
  390. package/contracts/instance/InstanceAuthorizationV3.sol +213 -0
  391. package/contracts/instance/InstanceReader.sol +295 -48
  392. package/contracts/instance/InstanceService.sol +210 -168
  393. package/contracts/instance/InstanceServiceManager.sol +8 -13
  394. package/contracts/instance/InstanceStore.sol +35 -18
  395. package/contracts/instance/RiskSet.sol +118 -0
  396. package/contracts/instance/base/BalanceStore.sol +11 -6
  397. package/contracts/instance/base/Cloneable.sol +2 -25
  398. package/contracts/instance/base/ObjectCounter.sol +1 -2
  399. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  400. package/contracts/instance/base/ObjectSet.sol +77 -0
  401. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  402. package/contracts/instance/module/IBundle.sol +1 -1
  403. package/contracts/instance/module/IComponents.sol +14 -15
  404. package/contracts/instance/module/IDistribution.sol +2 -2
  405. package/contracts/instance/module/IPolicy.sol +26 -25
  406. package/contracts/instance/module/IRisk.sol +3 -0
  407. package/contracts/mock/Dip.sol +1 -1
  408. package/contracts/oracle/BasicOracle.sol +47 -0
  409. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  410. package/contracts/oracle/IOracle.sol +16 -0
  411. package/contracts/oracle/IOracleComponent.sol +2 -1
  412. package/contracts/oracle/IOracleService.sol +2 -1
  413. package/contracts/oracle/Oracle.sol +64 -53
  414. package/contracts/oracle/OracleService.sol +114 -81
  415. package/contracts/oracle/OracleServiceManager.sol +8 -11
  416. package/contracts/pool/BasicPool.sol +175 -0
  417. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  418. package/contracts/pool/BundleService.sol +207 -108
  419. package/contracts/pool/BundleServiceManager.sol +8 -11
  420. package/contracts/pool/IBundleService.sol +31 -22
  421. package/contracts/pool/IPoolComponent.sol +20 -70
  422. package/contracts/pool/IPoolService.sol +90 -75
  423. package/contracts/pool/Pool.sol +209 -163
  424. package/contracts/pool/PoolLib.sol +216 -0
  425. package/contracts/pool/PoolService.sol +553 -249
  426. package/contracts/pool/PoolServiceManager.sol +6 -9
  427. package/contracts/product/ApplicationService.sol +88 -83
  428. package/contracts/product/ApplicationServiceManager.sol +6 -6
  429. package/contracts/product/BasicProduct.sol +51 -0
  430. package/contracts/product/BasicProductAuthorization.sol +56 -0
  431. package/contracts/product/ClaimService.sol +370 -180
  432. package/contracts/product/ClaimServiceManager.sol +6 -6
  433. package/contracts/product/IApplicationService.sol +6 -2
  434. package/contracts/product/IClaimService.sol +44 -8
  435. package/contracts/product/IPolicyService.sol +53 -36
  436. package/contracts/product/IPricingService.sol +10 -10
  437. package/contracts/product/IProductComponent.sol +29 -9
  438. package/contracts/product/{IProductService.sol → IRiskService.sol} +6 -9
  439. package/contracts/product/PolicyService.sol +481 -274
  440. package/contracts/product/PolicyServiceLib.sol +65 -0
  441. package/contracts/product/PolicyServiceManager.sol +6 -9
  442. package/contracts/product/PricingService.sol +69 -66
  443. package/contracts/product/PricingServiceManager.sol +6 -9
  444. package/contracts/product/Product.sol +231 -139
  445. package/contracts/product/RiskService.sol +144 -0
  446. package/contracts/product/RiskServiceManager.sol +39 -0
  447. package/contracts/registry/ChainNft.sol +72 -40
  448. package/contracts/registry/IRegistry.sol +74 -32
  449. package/contracts/registry/IRegistryService.sol +3 -10
  450. package/contracts/registry/IRelease.sol +26 -0
  451. package/contracts/registry/ITransferInterceptor.sol +1 -2
  452. package/contracts/registry/Registry.sol +368 -214
  453. package/contracts/registry/RegistryAdmin.sol +292 -175
  454. package/contracts/registry/RegistryService.sol +46 -71
  455. package/contracts/registry/RegistryServiceManager.sol +5 -10
  456. package/contracts/registry/ReleaseAdmin.sol +245 -0
  457. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  458. package/contracts/registry/ReleaseRegistry.sol +511 -0
  459. package/contracts/registry/ServiceAuthorizationV3.sol +247 -0
  460. package/contracts/registry/TokenRegistry.sol +8 -10
  461. package/contracts/shared/Component.sol +74 -128
  462. package/contracts/shared/ComponentService.sol +458 -384
  463. package/contracts/shared/ComponentServiceManager.sol +10 -7
  464. package/contracts/shared/ComponentVerifyingService.sol +29 -18
  465. package/contracts/shared/ContractLib.sol +253 -0
  466. package/contracts/shared/IComponent.sol +8 -17
  467. package/contracts/shared/IComponentService.sol +49 -39
  468. package/contracts/shared/IInstanceLinkedComponent.sol +10 -26
  469. package/contracts/shared/IKeyValueStore.sol +1 -0
  470. package/contracts/shared/ILifecycle.sol +3 -2
  471. package/contracts/shared/INftOwnable.sol +2 -0
  472. package/contracts/shared/IPolicyHolder.sol +12 -22
  473. package/contracts/shared/IRegisterable.sol +23 -1
  474. package/contracts/shared/IService.sol +10 -5
  475. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +3 -3
  476. package/contracts/shared/InstanceLinkedComponent.sol +96 -43
  477. package/contracts/shared/KeyValueStore.sol +7 -3
  478. package/contracts/shared/Lifecycle.sol +30 -72
  479. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
  480. package/contracts/shared/NftOwnable.sol +31 -11
  481. package/contracts/shared/PolicyHolder.sol +17 -57
  482. package/contracts/shared/Registerable.sol +55 -21
  483. package/contracts/shared/RegistryLinked.sol +9 -14
  484. package/contracts/shared/Service.sol +28 -40
  485. package/contracts/shared/TokenHandler.sol +309 -26
  486. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  487. package/contracts/staking/IStaking.sol +8 -11
  488. package/contracts/staking/IStakingService.sol +30 -14
  489. package/contracts/staking/StakeManagerLib.sol +70 -25
  490. package/contracts/staking/Staking.sol +122 -147
  491. package/contracts/staking/StakingLifecycle.sol +23 -0
  492. package/contracts/staking/StakingManager.sol +10 -12
  493. package/contracts/staking/StakingReader.sol +24 -21
  494. package/contracts/staking/StakingService.sol +105 -81
  495. package/contracts/staking/StakingServiceManager.sol +8 -8
  496. package/contracts/staking/StakingStore.sol +93 -60
  497. package/contracts/staking/TargetManagerLib.sol +7 -3
  498. package/contracts/type/Amount.sol +27 -5
  499. package/contracts/type/Blocknumber.sol +7 -1
  500. package/contracts/type/ClaimId.sol +6 -1
  501. package/contracts/type/Key32.sol +2 -2
  502. package/contracts/type/Key32Set.sol +62 -0
  503. package/contracts/type/NftId.sol +7 -0
  504. package/contracts/type/ObjectType.sol +196 -61
  505. package/contracts/type/PayoutId.sol +10 -10
  506. package/contracts/type/Referral.sol +1 -0
  507. package/contracts/type/RiskId.sol +38 -6
  508. package/contracts/type/RoleId.sol +117 -81
  509. package/contracts/type/Seconds.sol +21 -1
  510. package/contracts/type/Selector.sol +107 -0
  511. package/contracts/type/StateId.sol +15 -1
  512. package/contracts/type/String.sol +53 -0
  513. package/contracts/type/Timestamp.sol +10 -5
  514. package/contracts/type/UFixed.sol +40 -121
  515. package/contracts/type/Version.sol +18 -6
  516. package/contracts/{shared → upgradeability}/ProxyManager.sol +71 -38
  517. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  518. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  519. package/package.json +9 -6
  520. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  521. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  522. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  523. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -228
  524. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  525. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  526. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  527. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  528. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  529. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  530. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -679
  531. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  532. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -694
  533. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  534. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1292
  535. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +0 -4
  536. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +0 -137
  537. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +0 -4
  538. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +0 -4
  539. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +0 -1715
  540. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +0 -4
  541. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +0 -1728
  542. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +0 -4
  543. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +0 -1806
  544. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +0 -4
  545. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +0 -1824
  546. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  547. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  548. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +0 -4
  549. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +0 -1562
  550. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +0 -4
  551. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +0 -1600
  552. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  553. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  554. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  555. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  556. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +0 -306
  557. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  558. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
  559. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  560. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  561. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  562. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  563. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  564. package/contracts/instance/BundleManager.sol +0 -126
  565. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -377
  566. package/contracts/instance/base/ObjectManager.sol +0 -82
  567. package/contracts/instance/module/IAccess.sol +0 -46
  568. package/contracts/product/ProductService.sol +0 -124
  569. package/contracts/product/ProductServiceManager.sol +0 -42
  570. package/contracts/registry/ReleaseManager.sol +0 -600
  571. package/contracts/registry/ServiceAuthorizationsLib.sol +0 -173
  572. package/contracts/shared/AccessManagerCustom.sol +0 -736
  573. package/contracts/shared/AccessManagerExtended.sol +0 -470
  574. package/contracts/shared/AccessManagerExtendedInitializeable.sol +0 -13
  575. package/contracts/shared/AccessManagerExtendedWithDisable.sol +0 -137
  576. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +0 -14
  577. package/contracts/shared/IAccessManagerExtended.sol +0 -74
  578. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +0 -18
  579. package/contracts/shared/InitializableCustom.sol +0 -177
  580. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -1,539 +1,500 @@
1
1
  {
2
2
  "_format": "hh-sol-artifact-1",
3
- "contractName": "AccessManagerCustom",
4
- "sourceName": "contracts/shared/AccessManagerCustom.sol",
3
+ "contractName": "IAccessAdmin",
4
+ "sourceName": "contracts/authorization/IAccessAdmin.sol",
5
5
  "abi": [
6
6
  {
7
7
  "inputs": [
8
8
  {
9
- "internalType": "bytes32",
10
- "name": "operationId",
11
- "type": "bytes32"
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
12
  }
13
13
  ],
14
- "name": "AccessManagerAlreadyScheduled",
14
+ "name": "AccessManagedInvalidAuthority",
15
15
  "type": "error"
16
16
  },
17
17
  {
18
- "inputs": [],
19
- "name": "AccessManagerBadConfirmation",
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
20
31
  "type": "error"
21
32
  },
22
33
  {
23
34
  "inputs": [
24
35
  {
25
- "internalType": "bytes32",
26
- "name": "operationId",
27
- "type": "bytes32"
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
28
39
  }
29
40
  ],
30
- "name": "AccessManagerExpired",
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "ErrorAdminRoleMissing",
31
47
  "type": "error"
32
48
  },
33
49
  {
34
50
  "inputs": [
35
51
  {
36
52
  "internalType": "address",
37
- "name": "initialAdmin",
53
+ "name": "target",
38
54
  "type": "address"
39
55
  }
40
56
  ],
41
- "name": "AccessManagerInvalidInitialAdmin",
57
+ "name": "ErrorAuthorizeForAdminRoleInvalid",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "RoleId",
64
+ "name": "adminRoleId",
65
+ "type": "uint64"
66
+ }
67
+ ],
68
+ "name": "ErrorNotAdminOfRole",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "ErrorNotDeployer",
42
74
  "type": "error"
43
75
  },
44
76
  {
45
77
  "inputs": [
46
78
  {
47
79
  "internalType": "address",
48
- "name": "account",
80
+ "name": "registryAddress",
49
81
  "type": "address"
50
82
  }
51
83
  ],
52
- "name": "AccessManagerLockedAccount",
84
+ "name": "ErrorNotRegistry",
53
85
  "type": "error"
54
86
  },
55
87
  {
56
88
  "inputs": [
57
89
  {
58
- "internalType": "uint64",
90
+ "internalType": "RoleId",
59
91
  "name": "roleId",
60
92
  "type": "uint64"
61
93
  }
62
94
  ],
63
- "name": "AccessManagerLockedRole",
95
+ "name": "ErrorNotRoleOwner",
64
96
  "type": "error"
65
97
  },
66
98
  {
67
99
  "inputs": [
68
100
  {
69
- "internalType": "bytes32",
70
- "name": "operationId",
71
- "type": "bytes32"
101
+ "internalType": "RoleId",
102
+ "name": "adminRoleId",
103
+ "type": "uint64"
72
104
  }
73
105
  ],
74
- "name": "AccessManagerNotReady",
106
+ "name": "ErrorRoleAdminNotExisting",
75
107
  "type": "error"
76
108
  },
77
109
  {
78
110
  "inputs": [
79
111
  {
80
- "internalType": "bytes32",
81
- "name": "operationId",
82
- "type": "bytes32"
112
+ "internalType": "RoleId",
113
+ "name": "roleId",
114
+ "type": "uint64"
115
+ },
116
+ {
117
+ "internalType": "string",
118
+ "name": "name",
119
+ "type": "string"
83
120
  }
84
121
  ],
85
- "name": "AccessManagerNotScheduled",
122
+ "name": "ErrorRoleAlreadyCreated",
86
123
  "type": "error"
87
124
  },
88
125
  {
89
126
  "inputs": [
90
127
  {
91
- "internalType": "address",
92
- "name": "msgsender",
93
- "type": "address"
94
- },
95
- {
96
- "internalType": "uint64",
128
+ "internalType": "RoleId",
97
129
  "name": "roleId",
98
130
  "type": "uint64"
99
131
  }
100
132
  ],
101
- "name": "AccessManagerUnauthorizedAccount",
133
+ "name": "ErrorRoleIsLocked",
102
134
  "type": "error"
103
135
  },
104
136
  {
105
137
  "inputs": [
106
138
  {
107
- "internalType": "address",
108
- "name": "caller",
109
- "type": "address"
110
- },
111
- {
112
- "internalType": "address",
113
- "name": "target",
114
- "type": "address"
115
- },
116
- {
117
- "internalType": "bytes4",
118
- "name": "selector",
119
- "type": "bytes4"
139
+ "internalType": "RoleId",
140
+ "name": "roleId",
141
+ "type": "uint64"
120
142
  }
121
143
  ],
122
- "name": "AccessManagerUnauthorizedCall",
144
+ "name": "ErrorRoleIsPaused",
123
145
  "type": "error"
124
146
  },
125
147
  {
126
148
  "inputs": [
127
149
  {
128
- "internalType": "address",
129
- "name": "msgsender",
130
- "type": "address"
131
- },
132
- {
133
- "internalType": "address",
134
- "name": "caller",
135
- "type": "address"
150
+ "internalType": "RoleId",
151
+ "name": "roleId",
152
+ "type": "uint64"
136
153
  },
137
154
  {
138
155
  "internalType": "address",
139
- "name": "target",
156
+ "name": "notContract",
140
157
  "type": "address"
141
- },
142
- {
143
- "internalType": "bytes4",
144
- "name": "selector",
145
- "type": "bytes4"
146
158
  }
147
159
  ],
148
- "name": "AccessManagerUnauthorizedCancel",
160
+ "name": "ErrorRoleMemberNotContract",
149
161
  "type": "error"
150
162
  },
151
163
  {
152
164
  "inputs": [
165
+ {
166
+ "internalType": "RoleId",
167
+ "name": "roleId",
168
+ "type": "uint64"
169
+ },
153
170
  {
154
171
  "internalType": "address",
155
- "name": "target",
172
+ "name": "expectedMember",
156
173
  "type": "address"
157
174
  }
158
175
  ],
159
- "name": "AccessManagerUnauthorizedConsume",
176
+ "name": "ErrorRoleMemberRemovalDisabled",
160
177
  "type": "error"
161
178
  },
162
179
  {
163
180
  "inputs": [
164
181
  {
165
- "internalType": "address",
166
- "name": "target",
167
- "type": "address"
182
+ "internalType": "RoleId",
183
+ "name": "roleId",
184
+ "type": "uint64"
185
+ },
186
+ {
187
+ "internalType": "uint256",
188
+ "name": "memberCountLimit",
189
+ "type": "uint256"
168
190
  }
169
191
  ],
170
- "name": "AddressEmptyCode",
192
+ "name": "ErrorRoleMembersLimitReached",
171
193
  "type": "error"
172
194
  },
173
195
  {
174
196
  "inputs": [
175
197
  {
176
- "internalType": "address",
177
- "name": "account",
178
- "type": "address"
198
+ "internalType": "RoleId",
199
+ "name": "roleId",
200
+ "type": "uint64"
201
+ },
202
+ {
203
+ "internalType": "string",
204
+ "name": "name",
205
+ "type": "string"
206
+ },
207
+ {
208
+ "internalType": "RoleId",
209
+ "name": "existingRoleId",
210
+ "type": "uint64"
179
211
  }
180
212
  ],
181
- "name": "AddressInsufficientBalance",
213
+ "name": "ErrorRoleNameAlreadyExists",
182
214
  "type": "error"
183
215
  },
184
216
  {
185
- "inputs": [],
186
- "name": "FailedInnerCall",
217
+ "inputs": [
218
+ {
219
+ "internalType": "RoleId",
220
+ "name": "roleId",
221
+ "type": "uint64"
222
+ }
223
+ ],
224
+ "name": "ErrorRoleNameEmpty",
187
225
  "type": "error"
188
226
  },
189
227
  {
190
- "inputs": [],
191
- "name": "InvalidInitialization",
228
+ "inputs": [
229
+ {
230
+ "internalType": "RoleId",
231
+ "name": "roleId",
232
+ "type": "uint64"
233
+ }
234
+ ],
235
+ "name": "ErrorRoleUnknown",
192
236
  "type": "error"
193
237
  },
194
238
  {
195
239
  "inputs": [],
196
- "name": "NotInitializing",
240
+ "name": "ErrorTagetNotLockable",
197
241
  "type": "error"
198
242
  },
199
243
  {
200
244
  "inputs": [
201
245
  {
202
- "internalType": "uint8",
203
- "name": "bits",
204
- "type": "uint8"
246
+ "internalType": "address",
247
+ "name": "target",
248
+ "type": "address"
205
249
  },
206
250
  {
207
- "internalType": "uint256",
208
- "name": "value",
209
- "type": "uint256"
251
+ "internalType": "string",
252
+ "name": "name",
253
+ "type": "string"
210
254
  }
211
255
  ],
212
- "name": "SafeCastOverflowedUintDowncast",
256
+ "name": "ErrorTargetAlreadyCreated",
213
257
  "type": "error"
214
258
  },
215
259
  {
216
- "anonymous": false,
217
260
  "inputs": [
218
261
  {
219
- "indexed": false,
220
- "internalType": "uint64",
221
- "name": "version",
222
- "type": "uint64"
262
+ "internalType": "address",
263
+ "name": "target",
264
+ "type": "address"
265
+ },
266
+ {
267
+ "internalType": "bool",
268
+ "name": "isLocked",
269
+ "type": "bool"
223
270
  }
224
271
  ],
225
- "name": "Initialized",
226
- "type": "event"
272
+ "name": "ErrorTargetAlreadyLocked",
273
+ "type": "error"
227
274
  },
228
275
  {
229
- "anonymous": false,
230
276
  "inputs": [
231
277
  {
232
- "indexed": true,
233
- "internalType": "bytes32",
234
- "name": "operationId",
235
- "type": "bytes32"
278
+ "internalType": "address",
279
+ "name": "expectedAuthority",
280
+ "type": "address"
236
281
  },
237
282
  {
238
- "indexed": true,
239
- "internalType": "uint32",
240
- "name": "nonce",
241
- "type": "uint32"
283
+ "internalType": "address",
284
+ "name": "actualAuthority",
285
+ "type": "address"
242
286
  }
243
287
  ],
244
- "name": "OperationCanceled",
245
- "type": "event"
288
+ "name": "ErrorTargetAuthorityMismatch",
289
+ "type": "error"
246
290
  },
247
291
  {
248
- "anonymous": false,
249
292
  "inputs": [
250
293
  {
251
- "indexed": true,
252
- "internalType": "bytes32",
253
- "name": "operationId",
254
- "type": "bytes32"
294
+ "internalType": "address",
295
+ "name": "target",
296
+ "type": "address"
255
297
  },
256
298
  {
257
- "indexed": true,
258
- "internalType": "uint32",
259
- "name": "nonce",
260
- "type": "uint32"
299
+ "internalType": "string",
300
+ "name": "name",
301
+ "type": "string"
302
+ },
303
+ {
304
+ "internalType": "address",
305
+ "name": "existingTarget",
306
+ "type": "address"
261
307
  }
262
308
  ],
263
- "name": "OperationExecuted",
264
- "type": "event"
309
+ "name": "ErrorTargetNameAlreadyExists",
310
+ "type": "error"
265
311
  },
266
312
  {
267
- "anonymous": false,
268
313
  "inputs": [
269
314
  {
270
- "indexed": true,
271
- "internalType": "bytes32",
272
- "name": "operationId",
273
- "type": "bytes32"
274
- },
275
- {
276
- "indexed": true,
277
- "internalType": "uint32",
278
- "name": "nonce",
279
- "type": "uint32"
280
- },
281
- {
282
- "indexed": false,
283
- "internalType": "uint48",
284
- "name": "schedule",
285
- "type": "uint48"
286
- },
287
- {
288
- "indexed": false,
289
315
  "internalType": "address",
290
- "name": "caller",
316
+ "name": "target",
291
317
  "type": "address"
292
- },
318
+ }
319
+ ],
320
+ "name": "ErrorTargetNameEmpty",
321
+ "type": "error"
322
+ },
323
+ {
324
+ "inputs": [
293
325
  {
294
- "indexed": false,
295
326
  "internalType": "address",
296
327
  "name": "target",
297
328
  "type": "address"
298
- },
299
- {
300
- "indexed": false,
301
- "internalType": "bytes",
302
- "name": "data",
303
- "type": "bytes"
304
329
  }
305
330
  ],
306
- "name": "OperationScheduled",
307
- "type": "event"
331
+ "name": "ErrorTargetNotAccessManaged",
332
+ "type": "error"
308
333
  },
309
334
  {
310
- "anonymous": false,
311
335
  "inputs": [
312
336
  {
313
- "indexed": true,
314
- "internalType": "uint64",
315
- "name": "roleId",
316
- "type": "uint64"
317
- },
318
- {
319
- "indexed": true,
320
- "internalType": "uint64",
321
- "name": "admin",
322
- "type": "uint64"
337
+ "internalType": "address",
338
+ "name": "target",
339
+ "type": "address"
323
340
  }
324
341
  ],
325
- "name": "RoleAdminChanged",
326
- "type": "event"
342
+ "name": "ErrorTargetUnknown",
343
+ "type": "error"
327
344
  },
328
345
  {
329
346
  "anonymous": false,
330
347
  "inputs": [
331
- {
332
- "indexed": true,
333
- "internalType": "uint64",
334
- "name": "roleId",
335
- "type": "uint64"
336
- },
337
348
  {
338
349
  "indexed": false,
339
- "internalType": "uint32",
340
- "name": "delay",
341
- "type": "uint32"
342
- },
343
- {
344
- "indexed": false,
345
- "internalType": "uint48",
346
- "name": "since",
347
- "type": "uint48"
350
+ "internalType": "address",
351
+ "name": "authority",
352
+ "type": "address"
348
353
  }
349
354
  ],
350
- "name": "RoleGrantDelayChanged",
355
+ "name": "AuthorityUpdated",
351
356
  "type": "event"
352
357
  },
353
358
  {
354
359
  "anonymous": false,
355
360
  "inputs": [
356
361
  {
357
- "indexed": true,
358
- "internalType": "uint64",
359
- "name": "roleId",
360
- "type": "uint64"
361
- },
362
- {
363
- "indexed": true,
362
+ "indexed": false,
364
363
  "internalType": "address",
365
- "name": "account",
364
+ "name": "target",
366
365
  "type": "address"
367
366
  },
368
367
  {
369
368
  "indexed": false,
370
- "internalType": "uint32",
371
- "name": "delay",
372
- "type": "uint32"
373
- },
374
- {
375
- "indexed": false,
376
- "internalType": "uint48",
377
- "name": "since",
378
- "type": "uint48"
369
+ "internalType": "string",
370
+ "name": "functionName",
371
+ "type": "string"
379
372
  },
380
373
  {
381
374
  "indexed": false,
382
- "internalType": "bool",
383
- "name": "newMember",
384
- "type": "bool"
375
+ "internalType": "string",
376
+ "name": "roleName",
377
+ "type": "string"
385
378
  }
386
379
  ],
387
- "name": "RoleGranted",
380
+ "name": "LogAccessAdminFunctionGranted",
388
381
  "type": "event"
389
382
  },
390
383
  {
391
384
  "anonymous": false,
392
385
  "inputs": [
393
386
  {
394
- "indexed": true,
395
- "internalType": "uint64",
387
+ "indexed": false,
388
+ "internalType": "RoleId",
396
389
  "name": "roleId",
397
390
  "type": "uint64"
398
391
  },
399
392
  {
400
- "indexed": true,
401
- "internalType": "uint64",
402
- "name": "guardian",
403
- "type": "uint64"
404
- }
405
- ],
406
- "name": "RoleGuardianChanged",
407
- "type": "event"
408
- },
409
- {
410
- "anonymous": false,
411
- "inputs": [
393
+ "indexed": false,
394
+ "internalType": "enum IAccess.RoleType",
395
+ "name": "roleType",
396
+ "type": "uint8"
397
+ },
412
398
  {
413
- "indexed": true,
414
- "internalType": "uint64",
415
- "name": "roleId",
399
+ "indexed": false,
400
+ "internalType": "RoleId",
401
+ "name": "roleAdminId",
416
402
  "type": "uint64"
417
403
  },
418
404
  {
419
405
  "indexed": false,
420
406
  "internalType": "string",
421
- "name": "label",
407
+ "name": "name",
422
408
  "type": "string"
423
409
  }
424
410
  ],
425
- "name": "RoleLabel",
411
+ "name": "LogAccessAdminRoleCreated",
426
412
  "type": "event"
427
413
  },
428
414
  {
429
415
  "anonymous": false,
430
416
  "inputs": [
431
417
  {
432
- "indexed": true,
433
- "internalType": "uint64",
434
- "name": "roleId",
435
- "type": "uint64"
436
- },
437
- {
438
- "indexed": true,
418
+ "indexed": false,
439
419
  "internalType": "address",
440
420
  "name": "account",
441
421
  "type": "address"
442
- }
443
- ],
444
- "name": "RoleRevoked",
445
- "type": "event"
446
- },
447
- {
448
- "anonymous": false,
449
- "inputs": [
450
- {
451
- "indexed": true,
452
- "internalType": "address",
453
- "name": "target",
454
- "type": "address"
455
- },
456
- {
457
- "indexed": false,
458
- "internalType": "uint32",
459
- "name": "delay",
460
- "type": "uint32"
461
422
  },
462
423
  {
463
424
  "indexed": false,
464
- "internalType": "uint48",
465
- "name": "since",
466
- "type": "uint48"
425
+ "internalType": "string",
426
+ "name": "roleName",
427
+ "type": "string"
467
428
  }
468
429
  ],
469
- "name": "TargetAdminDelayUpdated",
430
+ "name": "LogAccessAdminRoleGranted",
470
431
  "type": "event"
471
432
  },
472
433
  {
473
434
  "anonymous": false,
474
435
  "inputs": [
475
436
  {
476
- "indexed": true,
437
+ "indexed": false,
477
438
  "internalType": "address",
478
- "name": "target",
439
+ "name": "account",
479
440
  "type": "address"
480
441
  },
481
442
  {
482
443
  "indexed": false,
483
- "internalType": "bool",
484
- "name": "closed",
485
- "type": "bool"
444
+ "internalType": "string",
445
+ "name": "roleName",
446
+ "type": "string"
486
447
  }
487
448
  ],
488
- "name": "TargetClosed",
449
+ "name": "LogAccessAdminRoleRevoked",
489
450
  "type": "event"
490
451
  },
491
452
  {
492
453
  "anonymous": false,
493
454
  "inputs": [
494
455
  {
495
- "indexed": true,
456
+ "indexed": false,
496
457
  "internalType": "address",
497
458
  "name": "target",
498
459
  "type": "address"
499
460
  },
500
461
  {
501
462
  "indexed": false,
502
- "internalType": "bytes4",
503
- "name": "selector",
504
- "type": "bytes4"
505
- },
506
- {
507
- "indexed": true,
508
- "internalType": "uint64",
509
- "name": "roleId",
510
- "type": "uint64"
463
+ "internalType": "string",
464
+ "name": "name",
465
+ "type": "string"
511
466
  }
512
467
  ],
513
- "name": "TargetFunctionRoleUpdated",
468
+ "name": "LogAccessAdminTargetCreated",
514
469
  "type": "event"
515
470
  },
516
471
  {
517
472
  "inputs": [],
518
- "name": "ADMIN_ROLE",
473
+ "name": "authority",
519
474
  "outputs": [
520
475
  {
521
- "internalType": "uint64",
476
+ "internalType": "address",
522
477
  "name": "",
523
- "type": "uint64"
478
+ "type": "address"
524
479
  }
525
480
  ],
526
481
  "stateMutability": "view",
527
482
  "type": "function"
528
483
  },
529
484
  {
530
- "inputs": [],
531
- "name": "PUBLIC_ROLE",
485
+ "inputs": [
486
+ {
487
+ "internalType": "address",
488
+ "name": "target",
489
+ "type": "address"
490
+ }
491
+ ],
492
+ "name": "authorizedFunctions",
532
493
  "outputs": [
533
494
  {
534
- "internalType": "uint64",
535
- "name": "",
536
- "type": "uint64"
495
+ "internalType": "uint256",
496
+ "name": "numberOfFunctions",
497
+ "type": "uint256"
537
498
  }
538
499
  ],
539
500
  "stateMutability": "view",
@@ -552,7 +513,7 @@
552
513
  "type": "address"
553
514
  },
554
515
  {
555
- "internalType": "bytes4",
516
+ "internalType": "Selector",
556
517
  "name": "selector",
557
518
  "type": "bytes4"
558
519
  }
@@ -561,63 +522,37 @@
561
522
  "outputs": [
562
523
  {
563
524
  "internalType": "bool",
564
- "name": "immediate",
525
+ "name": "can",
565
526
  "type": "bool"
566
- },
567
- {
568
- "internalType": "uint32",
569
- "name": "delay",
570
- "type": "uint32"
571
527
  }
572
528
  ],
573
529
  "stateMutability": "view",
574
530
  "type": "function"
575
531
  },
576
532
  {
577
- "inputs": [
578
- {
579
- "internalType": "address",
580
- "name": "caller",
581
- "type": "address"
582
- },
583
- {
584
- "internalType": "address",
585
- "name": "target",
586
- "type": "address"
587
- },
588
- {
589
- "internalType": "bytes",
590
- "name": "data",
591
- "type": "bytes"
592
- }
593
- ],
594
- "name": "cancel",
533
+ "inputs": [],
534
+ "name": "deployer",
595
535
  "outputs": [
596
536
  {
597
- "internalType": "uint32",
537
+ "internalType": "address",
598
538
  "name": "",
599
- "type": "uint32"
539
+ "type": "address"
600
540
  }
601
541
  ],
602
- "stateMutability": "nonpayable",
542
+ "stateMutability": "view",
603
543
  "type": "function"
604
544
  },
605
545
  {
606
- "inputs": [
607
- {
608
- "internalType": "address",
609
- "name": "caller",
610
- "type": "address"
611
- },
546
+ "inputs": [],
547
+ "name": "getAdminRole",
548
+ "outputs": [
612
549
  {
613
- "internalType": "bytes",
614
- "name": "data",
615
- "type": "bytes"
550
+ "internalType": "RoleId",
551
+ "name": "roleId",
552
+ "type": "uint64"
616
553
  }
617
554
  ],
618
- "name": "consumeScheduledOp",
619
- "outputs": [],
620
- "stateMutability": "nonpayable",
555
+ "stateMutability": "view",
621
556
  "type": "function"
622
557
  },
623
558
  {
@@ -628,69 +563,78 @@
628
563
  "type": "address"
629
564
  },
630
565
  {
631
- "internalType": "bytes",
632
- "name": "data",
633
- "type": "bytes"
566
+ "internalType": "uint256",
567
+ "name": "idx",
568
+ "type": "uint256"
634
569
  }
635
570
  ],
636
- "name": "execute",
571
+ "name": "getAuthorizedFunction",
637
572
  "outputs": [
638
573
  {
639
- "internalType": "uint32",
640
- "name": "",
641
- "type": "uint32"
574
+ "components": [
575
+ {
576
+ "internalType": "Str",
577
+ "name": "name",
578
+ "type": "bytes32"
579
+ },
580
+ {
581
+ "internalType": "Selector",
582
+ "name": "selector",
583
+ "type": "bytes4"
584
+ },
585
+ {
586
+ "internalType": "Timestamp",
587
+ "name": "createdAt",
588
+ "type": "uint40"
589
+ }
590
+ ],
591
+ "internalType": "struct IAccess.FunctionInfo",
592
+ "name": "func",
593
+ "type": "tuple"
594
+ },
595
+ {
596
+ "internalType": "RoleId",
597
+ "name": "roleId",
598
+ "type": "uint64"
642
599
  }
643
600
  ],
644
- "stateMutability": "payable",
601
+ "stateMutability": "view",
645
602
  "type": "function"
646
603
  },
647
604
  {
648
605
  "inputs": [],
649
- "name": "expiration",
606
+ "name": "getPublicRole",
650
607
  "outputs": [
651
608
  {
652
- "internalType": "uint32",
653
- "name": "",
654
- "type": "uint32"
609
+ "internalType": "RoleId",
610
+ "name": "roleId",
611
+ "type": "uint64"
655
612
  }
656
613
  ],
657
614
  "stateMutability": "view",
658
615
  "type": "function"
659
616
  },
660
617
  {
661
- "inputs": [
662
- {
663
- "internalType": "uint64",
664
- "name": "roleId",
665
- "type": "uint64"
666
- },
618
+ "inputs": [],
619
+ "name": "getRegistry",
620
+ "outputs": [
667
621
  {
668
- "internalType": "address",
669
- "name": "account",
622
+ "internalType": "contract IRegistry",
623
+ "name": "",
670
624
  "type": "address"
671
625
  }
672
626
  ],
673
- "name": "getAccess",
627
+ "stateMutability": "view",
628
+ "type": "function"
629
+ },
630
+ {
631
+ "inputs": [],
632
+ "name": "getRelease",
674
633
  "outputs": [
675
634
  {
676
- "internalType": "uint48",
677
- "name": "since",
678
- "type": "uint48"
679
- },
680
- {
681
- "internalType": "uint32",
682
- "name": "currentDelay",
683
- "type": "uint32"
684
- },
685
- {
686
- "internalType": "uint32",
687
- "name": "pendingDelay",
688
- "type": "uint32"
689
- },
690
- {
691
- "internalType": "uint48",
692
- "name": "effect",
693
- "type": "uint48"
635
+ "internalType": "VersionPart",
636
+ "name": "release",
637
+ "type": "uint8"
694
638
  }
695
639
  ],
696
640
  "stateMutability": "view",
@@ -699,17 +643,29 @@
699
643
  {
700
644
  "inputs": [
701
645
  {
702
- "internalType": "bytes32",
703
- "name": "id",
646
+ "internalType": "Str",
647
+ "name": "name",
704
648
  "type": "bytes32"
705
649
  }
706
650
  ],
707
- "name": "getNonce",
651
+ "name": "getRoleForName",
708
652
  "outputs": [
709
653
  {
710
- "internalType": "uint32",
654
+ "components": [
655
+ {
656
+ "internalType": "RoleId",
657
+ "name": "roleId",
658
+ "type": "uint64"
659
+ },
660
+ {
661
+ "internalType": "bool",
662
+ "name": "exists",
663
+ "type": "bool"
664
+ }
665
+ ],
666
+ "internalType": "struct IAccess.RoleNameInfo",
711
667
  "name": "",
712
- "type": "uint32"
668
+ "type": "tuple"
713
669
  }
714
670
  ],
715
671
  "stateMutability": "view",
@@ -718,16 +674,16 @@
718
674
  {
719
675
  "inputs": [
720
676
  {
721
- "internalType": "uint64",
722
- "name": "roleId",
723
- "type": "uint64"
677
+ "internalType": "uint256",
678
+ "name": "idx",
679
+ "type": "uint256"
724
680
  }
725
681
  ],
726
- "name": "getRoleAdmin",
682
+ "name": "getRoleId",
727
683
  "outputs": [
728
684
  {
729
- "internalType": "uint64",
730
- "name": "",
685
+ "internalType": "RoleId",
686
+ "name": "roleId",
731
687
  "type": "uint64"
732
688
  }
733
689
  ],
@@ -737,17 +693,49 @@
737
693
  {
738
694
  "inputs": [
739
695
  {
740
- "internalType": "uint64",
696
+ "internalType": "RoleId",
741
697
  "name": "roleId",
742
698
  "type": "uint64"
743
699
  }
744
700
  ],
745
- "name": "getRoleGrantDelay",
701
+ "name": "getRoleInfo",
746
702
  "outputs": [
747
703
  {
748
- "internalType": "uint32",
749
- "name": "",
750
- "type": "uint32"
704
+ "components": [
705
+ {
706
+ "internalType": "RoleId",
707
+ "name": "adminRoleId",
708
+ "type": "uint64"
709
+ },
710
+ {
711
+ "internalType": "enum IAccess.RoleType",
712
+ "name": "roleType",
713
+ "type": "uint8"
714
+ },
715
+ {
716
+ "internalType": "uint32",
717
+ "name": "maxMemberCount",
718
+ "type": "uint32"
719
+ },
720
+ {
721
+ "internalType": "Str",
722
+ "name": "name",
723
+ "type": "bytes32"
724
+ },
725
+ {
726
+ "internalType": "Timestamp",
727
+ "name": "createdAt",
728
+ "type": "uint40"
729
+ },
730
+ {
731
+ "internalType": "Timestamp",
732
+ "name": "pausedAt",
733
+ "type": "uint40"
734
+ }
735
+ ],
736
+ "internalType": "struct IAccess.RoleInfo",
737
+ "name": "roleInfo",
738
+ "type": "tuple"
751
739
  }
752
740
  ],
753
741
  "stateMutability": "view",
@@ -756,17 +744,22 @@
756
744
  {
757
745
  "inputs": [
758
746
  {
759
- "internalType": "uint64",
747
+ "internalType": "RoleId",
760
748
  "name": "roleId",
761
749
  "type": "uint64"
750
+ },
751
+ {
752
+ "internalType": "uint256",
753
+ "name": "idx",
754
+ "type": "uint256"
762
755
  }
763
756
  ],
764
- "name": "getRoleGuardian",
757
+ "name": "getRoleMember",
765
758
  "outputs": [
766
759
  {
767
- "internalType": "uint64",
768
- "name": "",
769
- "type": "uint64"
760
+ "internalType": "address",
761
+ "name": "account",
762
+ "type": "address"
770
763
  }
771
764
  ],
772
765
  "stateMutability": "view",
@@ -775,17 +768,17 @@
775
768
  {
776
769
  "inputs": [
777
770
  {
778
- "internalType": "bytes32",
779
- "name": "id",
780
- "type": "bytes32"
771
+ "internalType": "uint256",
772
+ "name": "idx",
773
+ "type": "uint256"
781
774
  }
782
775
  ],
783
- "name": "getSchedule",
776
+ "name": "getTargetAddress",
784
777
  "outputs": [
785
778
  {
786
- "internalType": "uint48",
787
- "name": "",
788
- "type": "uint48"
779
+ "internalType": "address",
780
+ "name": "target",
781
+ "type": "address"
789
782
  }
790
783
  ],
791
784
  "stateMutability": "view",
@@ -794,17 +787,17 @@
794
787
  {
795
788
  "inputs": [
796
789
  {
797
- "internalType": "address",
798
- "name": "target",
799
- "type": "address"
790
+ "internalType": "Str",
791
+ "name": "name",
792
+ "type": "bytes32"
800
793
  }
801
794
  ],
802
- "name": "getTargetAdminDelay",
795
+ "name": "getTargetForName",
803
796
  "outputs": [
804
797
  {
805
- "internalType": "uint32",
806
- "name": "",
807
- "type": "uint32"
798
+ "internalType": "address",
799
+ "name": "target",
800
+ "type": "address"
808
801
  }
809
802
  ],
810
803
  "stateMutability": "view",
@@ -816,19 +809,31 @@
816
809
  "internalType": "address",
817
810
  "name": "target",
818
811
  "type": "address"
819
- },
820
- {
821
- "internalType": "bytes4",
822
- "name": "selector",
823
- "type": "bytes4"
824
812
  }
825
813
  ],
826
- "name": "getTargetFunctionRole",
814
+ "name": "getTargetInfo",
827
815
  "outputs": [
828
816
  {
829
- "internalType": "uint64",
830
- "name": "",
831
- "type": "uint64"
817
+ "components": [
818
+ {
819
+ "internalType": "Str",
820
+ "name": "name",
821
+ "type": "bytes32"
822
+ },
823
+ {
824
+ "internalType": "bool",
825
+ "name": "isCustom",
826
+ "type": "bool"
827
+ },
828
+ {
829
+ "internalType": "Timestamp",
830
+ "name": "createdAt",
831
+ "type": "uint40"
832
+ }
833
+ ],
834
+ "internalType": "struct IAccess.TargetInfo",
835
+ "name": "targetInfo",
836
+ "type": "tuple"
832
837
  }
833
838
  ],
834
839
  "stateMutability": "view",
@@ -836,51 +841,23 @@
836
841
  },
837
842
  {
838
843
  "inputs": [
839
- {
840
- "internalType": "uint64",
841
- "name": "roleId",
842
- "type": "uint64"
843
- },
844
844
  {
845
845
  "internalType": "address",
846
846
  "name": "account",
847
847
  "type": "address"
848
848
  },
849
849
  {
850
- "internalType": "uint32",
851
- "name": "executionDelay",
852
- "type": "uint32"
853
- }
854
- ],
855
- "name": "grantRole",
856
- "outputs": [],
857
- "stateMutability": "nonpayable",
858
- "type": "function"
859
- },
860
- {
861
- "inputs": [
862
- {
863
- "internalType": "uint64",
850
+ "internalType": "RoleId",
864
851
  "name": "roleId",
865
852
  "type": "uint64"
866
- },
867
- {
868
- "internalType": "address",
869
- "name": "account",
870
- "type": "address"
871
853
  }
872
854
  ],
873
- "name": "hasRole",
855
+ "name": "hasAdminRole",
874
856
  "outputs": [
875
857
  {
876
858
  "internalType": "bool",
877
- "name": "isMember",
859
+ "name": "",
878
860
  "type": "bool"
879
- },
880
- {
881
- "internalType": "uint32",
882
- "name": "executionDelay",
883
- "type": "uint32"
884
861
  }
885
862
  ],
886
863
  "stateMutability": "view",
@@ -890,26 +867,34 @@
890
867
  "inputs": [
891
868
  {
892
869
  "internalType": "address",
893
- "name": "caller",
870
+ "name": "account",
894
871
  "type": "address"
895
872
  },
896
873
  {
897
- "internalType": "address",
898
- "name": "target",
899
- "type": "address"
900
- },
874
+ "internalType": "RoleId",
875
+ "name": "roleId",
876
+ "type": "uint64"
877
+ }
878
+ ],
879
+ "name": "hasRole",
880
+ "outputs": [
901
881
  {
902
- "internalType": "bytes",
903
- "name": "data",
904
- "type": "bytes"
882
+ "internalType": "bool",
883
+ "name": "",
884
+ "type": "bool"
905
885
  }
906
886
  ],
907
- "name": "hashOperation",
887
+ "stateMutability": "view",
888
+ "type": "function"
889
+ },
890
+ {
891
+ "inputs": [],
892
+ "name": "isConsumingScheduledOp",
908
893
  "outputs": [
909
894
  {
910
- "internalType": "bytes32",
895
+ "internalType": "bytes4",
911
896
  "name": "",
912
- "type": "bytes32"
897
+ "type": "bytes4"
913
898
  }
914
899
  ],
915
900
  "stateMutability": "view",
@@ -923,11 +908,11 @@
923
908
  "type": "address"
924
909
  }
925
910
  ],
926
- "name": "isTargetClosed",
911
+ "name": "isTargetLocked",
927
912
  "outputs": [
928
913
  {
929
914
  "internalType": "bool",
930
- "name": "",
915
+ "name": "locked",
931
916
  "type": "bool"
932
917
  }
933
918
  ],
@@ -937,29 +922,17 @@
937
922
  {
938
923
  "inputs": [
939
924
  {
940
- "internalType": "uint64",
925
+ "internalType": "RoleId",
941
926
  "name": "roleId",
942
927
  "type": "uint64"
943
- },
944
- {
945
- "internalType": "string",
946
- "name": "label",
947
- "type": "string"
948
928
  }
949
929
  ],
950
- "name": "labelRole",
951
- "outputs": [],
952
- "stateMutability": "nonpayable",
953
- "type": "function"
954
- },
955
- {
956
- "inputs": [],
957
- "name": "minSetback",
930
+ "name": "roleExists",
958
931
  "outputs": [
959
932
  {
960
- "internalType": "uint32",
961
- "name": "",
962
- "type": "uint32"
933
+ "internalType": "bool",
934
+ "name": "exists",
935
+ "type": "bool"
963
936
  }
964
937
  ],
965
938
  "stateMutability": "view",
@@ -968,54 +941,44 @@
968
941
  {
969
942
  "inputs": [
970
943
  {
971
- "internalType": "bytes[]",
972
- "name": "data",
973
- "type": "bytes[]"
944
+ "internalType": "RoleId",
945
+ "name": "roleId",
946
+ "type": "uint64"
974
947
  }
975
948
  ],
976
- "name": "multicall",
949
+ "name": "roleMembers",
977
950
  "outputs": [
978
951
  {
979
- "internalType": "bytes[]",
980
- "name": "results",
981
- "type": "bytes[]"
952
+ "internalType": "uint256",
953
+ "name": "numberOfMembers",
954
+ "type": "uint256"
982
955
  }
983
956
  ],
984
- "stateMutability": "nonpayable",
957
+ "stateMutability": "view",
985
958
  "type": "function"
986
959
  },
987
960
  {
988
- "inputs": [
989
- {
990
- "internalType": "uint64",
991
- "name": "roleId",
992
- "type": "uint64"
993
- },
961
+ "inputs": [],
962
+ "name": "roles",
963
+ "outputs": [
994
964
  {
995
- "internalType": "address",
996
- "name": "callerConfirmation",
997
- "type": "address"
965
+ "internalType": "uint256",
966
+ "name": "numberOfRoles",
967
+ "type": "uint256"
998
968
  }
999
969
  ],
1000
- "name": "renounceRole",
1001
- "outputs": [],
1002
- "stateMutability": "nonpayable",
970
+ "stateMutability": "view",
1003
971
  "type": "function"
1004
972
  },
1005
973
  {
1006
974
  "inputs": [
1007
- {
1008
- "internalType": "uint64",
1009
- "name": "roleId",
1010
- "type": "uint64"
1011
- },
1012
975
  {
1013
976
  "internalType": "address",
1014
- "name": "account",
977
+ "name": "",
1015
978
  "type": "address"
1016
979
  }
1017
980
  ],
1018
- "name": "revokeRole",
981
+ "name": "setAuthority",
1019
982
  "outputs": [],
1020
983
  "stateMutability": "nonpayable",
1021
984
  "type": "function"
@@ -1026,163 +989,137 @@
1026
989
  "internalType": "address",
1027
990
  "name": "target",
1028
991
  "type": "address"
1029
- },
1030
- {
1031
- "internalType": "bytes",
1032
- "name": "data",
1033
- "type": "bytes"
1034
- },
1035
- {
1036
- "internalType": "uint48",
1037
- "name": "when",
1038
- "type": "uint48"
1039
992
  }
1040
993
  ],
1041
- "name": "schedule",
994
+ "name": "targetExists",
1042
995
  "outputs": [
1043
996
  {
1044
- "internalType": "bytes32",
1045
- "name": "operationId",
1046
- "type": "bytes32"
1047
- },
1048
- {
1049
- "internalType": "uint32",
1050
- "name": "nonce",
1051
- "type": "uint32"
1052
- }
1053
- ],
1054
- "stateMutability": "nonpayable",
1055
- "type": "function"
1056
- },
1057
- {
1058
- "inputs": [
1059
- {
1060
- "internalType": "uint64",
1061
- "name": "roleId",
1062
- "type": "uint64"
1063
- },
1064
- {
1065
- "internalType": "uint32",
1066
- "name": "newDelay",
1067
- "type": "uint32"
997
+ "internalType": "bool",
998
+ "name": "exists",
999
+ "type": "bool"
1068
1000
  }
1069
1001
  ],
1070
- "name": "setGrantDelay",
1071
- "outputs": [],
1072
- "stateMutability": "nonpayable",
1002
+ "stateMutability": "view",
1073
1003
  "type": "function"
1074
1004
  },
1075
1005
  {
1076
- "inputs": [
1077
- {
1078
- "internalType": "uint64",
1079
- "name": "roleId",
1080
- "type": "uint64"
1081
- },
1006
+ "inputs": [],
1007
+ "name": "targets",
1008
+ "outputs": [
1082
1009
  {
1083
- "internalType": "uint64",
1084
- "name": "admin",
1085
- "type": "uint64"
1010
+ "internalType": "uint256",
1011
+ "name": "numberOfTargets",
1012
+ "type": "uint256"
1086
1013
  }
1087
1014
  ],
1088
- "name": "setRoleAdmin",
1089
- "outputs": [],
1090
- "stateMutability": "nonpayable",
1015
+ "stateMutability": "view",
1091
1016
  "type": "function"
1092
1017
  },
1093
1018
  {
1094
1019
  "inputs": [
1095
1020
  {
1096
- "internalType": "uint64",
1097
- "name": "roleId",
1098
- "type": "uint64"
1021
+ "internalType": "bytes4",
1022
+ "name": "selector",
1023
+ "type": "bytes4"
1099
1024
  },
1100
1025
  {
1101
- "internalType": "uint64",
1102
- "name": "guardian",
1103
- "type": "uint64"
1026
+ "internalType": "string",
1027
+ "name": "name",
1028
+ "type": "string"
1104
1029
  }
1105
1030
  ],
1106
- "name": "setRoleGuardian",
1107
- "outputs": [],
1108
- "stateMutability": "nonpayable",
1109
- "type": "function"
1110
- },
1111
- {
1112
- "inputs": [
1113
- {
1114
- "internalType": "address",
1115
- "name": "target",
1116
- "type": "address"
1117
- },
1031
+ "name": "toFunction",
1032
+ "outputs": [
1118
1033
  {
1119
- "internalType": "uint32",
1120
- "name": "newDelay",
1121
- "type": "uint32"
1034
+ "components": [
1035
+ {
1036
+ "internalType": "Str",
1037
+ "name": "name",
1038
+ "type": "bytes32"
1039
+ },
1040
+ {
1041
+ "internalType": "Selector",
1042
+ "name": "selector",
1043
+ "type": "bytes4"
1044
+ },
1045
+ {
1046
+ "internalType": "Timestamp",
1047
+ "name": "createdAt",
1048
+ "type": "uint40"
1049
+ }
1050
+ ],
1051
+ "internalType": "struct IAccess.FunctionInfo",
1052
+ "name": "",
1053
+ "type": "tuple"
1122
1054
  }
1123
1055
  ],
1124
- "name": "setTargetAdminDelay",
1125
- "outputs": [],
1126
- "stateMutability": "nonpayable",
1056
+ "stateMutability": "view",
1127
1057
  "type": "function"
1128
1058
  },
1129
1059
  {
1130
1060
  "inputs": [
1131
1061
  {
1132
- "internalType": "address",
1133
- "name": "target",
1134
- "type": "address"
1062
+ "internalType": "RoleId",
1063
+ "name": "adminRoleId",
1064
+ "type": "uint64"
1135
1065
  },
1136
1066
  {
1137
- "internalType": "bool",
1138
- "name": "closed",
1139
- "type": "bool"
1140
- }
1141
- ],
1142
- "name": "setTargetClosed",
1143
- "outputs": [],
1144
- "stateMutability": "nonpayable",
1145
- "type": "function"
1146
- },
1147
- {
1148
- "inputs": [
1149
- {
1150
- "internalType": "address",
1151
- "name": "target",
1152
- "type": "address"
1067
+ "internalType": "enum IAccess.RoleType",
1068
+ "name": "roleType",
1069
+ "type": "uint8"
1153
1070
  },
1154
1071
  {
1155
- "internalType": "bytes4[]",
1156
- "name": "selectors",
1157
- "type": "bytes4[]"
1072
+ "internalType": "uint32",
1073
+ "name": "maxMemberCount",
1074
+ "type": "uint32"
1158
1075
  },
1159
1076
  {
1160
- "internalType": "uint64",
1161
- "name": "roleId",
1162
- "type": "uint64"
1077
+ "internalType": "string",
1078
+ "name": "name",
1079
+ "type": "string"
1163
1080
  }
1164
1081
  ],
1165
- "name": "setTargetFunctionRole",
1166
- "outputs": [],
1167
- "stateMutability": "nonpayable",
1168
- "type": "function"
1169
- },
1170
- {
1171
- "inputs": [
1172
- {
1173
- "internalType": "address",
1174
- "name": "target",
1175
- "type": "address"
1176
- },
1082
+ "name": "toRole",
1083
+ "outputs": [
1177
1084
  {
1178
- "internalType": "address",
1179
- "name": "newAuthority",
1180
- "type": "address"
1085
+ "components": [
1086
+ {
1087
+ "internalType": "RoleId",
1088
+ "name": "adminRoleId",
1089
+ "type": "uint64"
1090
+ },
1091
+ {
1092
+ "internalType": "enum IAccess.RoleType",
1093
+ "name": "roleType",
1094
+ "type": "uint8"
1095
+ },
1096
+ {
1097
+ "internalType": "uint32",
1098
+ "name": "maxMemberCount",
1099
+ "type": "uint32"
1100
+ },
1101
+ {
1102
+ "internalType": "Str",
1103
+ "name": "name",
1104
+ "type": "bytes32"
1105
+ },
1106
+ {
1107
+ "internalType": "Timestamp",
1108
+ "name": "createdAt",
1109
+ "type": "uint40"
1110
+ },
1111
+ {
1112
+ "internalType": "Timestamp",
1113
+ "name": "pausedAt",
1114
+ "type": "uint40"
1115
+ }
1116
+ ],
1117
+ "internalType": "struct IAccess.RoleInfo",
1118
+ "name": "",
1119
+ "type": "tuple"
1181
1120
  }
1182
1121
  ],
1183
- "name": "updateAuthority",
1184
- "outputs": [],
1185
- "stateMutability": "nonpayable",
1122
+ "stateMutability": "view",
1186
1123
  "type": "function"
1187
1124
  }
1188
1125
  ],