@etherisc/gif-next 0.0.2-f761c0d-394 → 0.0.2-f78c672-338

Sign up to get free protection for your applications and to get access to all the features.
Files changed (547) hide show
  1. package/README.md +58 -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 +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +203 -77
  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 +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +233 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +200 -16
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +142 -44
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +107 -15
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +176 -451
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +206 -27
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +125 -365
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +469 -283
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +151 -109
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +133 -183
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +314 -86
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +589 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2032 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +589 -0
  49. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1431 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2432 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -0
  65. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  67. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +164 -63
  69. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +108 -106
  71. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/Instance.sol/Instance.json +201 -161
  73. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +447 -144
  75. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +150 -90
  77. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1026 -298
  79. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +134 -269
  81. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +102 -92
  83. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +640 -493
  85. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  87. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  89. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  94. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  96. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  98. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  103. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  104. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  105. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  106. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +139 -335
  107. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +180 -29
  109. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +128 -126
  112. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
  114. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +115 -303
  116. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  117. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +153 -190
  118. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  119. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +122 -88
  120. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  121. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +162 -387
  122. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  123. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +206 -27
  124. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  125. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +331 -204
  126. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  127. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +143 -97
  128. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  129. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +206 -29
  130. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  131. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +143 -195
  132. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  133. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +464 -312
  134. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  135. package/artifacts/contracts/pool/Pool.sol/Pool.json +128 -370
  136. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  137. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  138. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  139. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +653 -532
  140. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  141. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +163 -97
  142. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  143. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +194 -178
  144. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  145. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +100 -90
  146. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  147. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +258 -396
  148. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  149. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +206 -27
  150. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  151. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +415 -234
  152. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  153. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +140 -114
  154. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  155. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +136 -9
  156. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  157. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +308 -16
  158. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +365 -104
  160. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  161. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +157 -83
  162. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  163. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +250 -198
  164. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  165. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +88 -8
  166. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  167. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +459 -309
  168. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  169. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  170. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  171. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +141 -99
  172. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  173. package/artifacts/contracts/product/PricingService.sol/PricingService.json +253 -306
  174. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  175. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +123 -121
  176. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  177. package/artifacts/contracts/product/Product.sol/Product.json +256 -394
  178. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  179. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  180. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  182. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  183. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  184. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  185. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +370 -22
  186. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  187. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +72 -152
  188. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  189. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  190. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  192. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/Registry.sol/Registry.json +597 -80
  194. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  195. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +351 -169
  196. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  197. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +109 -292
  198. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  199. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +94 -80
  200. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  201. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
  202. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  203. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  204. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1333 -0
  206. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  207. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  208. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  209. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
  210. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  211. package/artifacts/contracts/shared/Component.sol/Component.json +76 -265
  212. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  213. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +579 -495
  214. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  215. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +143 -107
  216. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +57 -111
  218. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  220. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  226. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  227. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +89 -88
  228. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  229. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +547 -224
  230. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  231. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +117 -126
  232. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  234. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  235. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  236. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  237. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  238. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  239. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  240. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
  242. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IService.sol/IService.json +55 -2
  245. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  246. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  247. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  248. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +104 -303
  249. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  250. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  251. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  252. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  253. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  254. package/artifacts/contracts/shared/{NftIdSetManager.sol/NftIdSetManager.json → NftIdSet.sol/NftIdSet.json} +4 -4
  255. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  256. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  257. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  258. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  259. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  260. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
  261. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  262. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  263. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  264. package/artifacts/contracts/shared/Service.sol/Service.json +57 -111
  265. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  269. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  270. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  271. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  272. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +134 -125
  273. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  274. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +77 -16
  275. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  276. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +85 -105
  277. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  278. package/artifacts/contracts/staking/Staking.sol/Staking.json +210 -366
  279. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  280. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  281. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  282. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +122 -95
  283. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  284. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  285. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  286. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +122 -164
  287. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  288. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +99 -85
  289. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  290. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +156 -110
  291. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  292. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +59 -23
  293. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  294. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/Amount.sol/AmountLib.json +61 -8
  296. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  298. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  300. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  302. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Fee.sol/FeeLib.json +7 -2
  304. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  305. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  306. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  307. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  308. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  310. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  311. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  312. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  314. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  316. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  318. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  320. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  322. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
  324. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  326. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  328. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  330. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  332. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  335. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +52 -2
  337. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  339. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +66 -2
  341. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  342. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  343. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  344. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  345. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  346. package/artifacts/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +3 -3
  347. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  348. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  349. package/contracts/accounting/AccountingService.sol +262 -0
  350. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  351. package/contracts/accounting/IAccountingService.sol +45 -0
  352. package/contracts/authorization/AccessAdmin.sol +232 -134
  353. package/contracts/authorization/AccessManagerCloneable.sol +136 -3
  354. package/contracts/authorization/Authorization.sol +321 -202
  355. package/contracts/authorization/IAccess.sol +1 -0
  356. package/contracts/authorization/IAccessAdmin.sol +17 -10
  357. package/contracts/authorization/IAuthorization.sol +27 -7
  358. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  359. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  360. package/contracts/distribution/BasicDistribution.sol +18 -25
  361. package/contracts/distribution/BasicDistributionAuthorization.sol +26 -9
  362. package/contracts/distribution/Distribution.sol +41 -74
  363. package/contracts/distribution/DistributionService.sol +191 -108
  364. package/contracts/distribution/DistributionServiceManager.sol +8 -11
  365. package/contracts/distribution/IDistributionComponent.sol +9 -14
  366. package/contracts/distribution/IDistributionService.sol +40 -22
  367. package/contracts/examples/fire/DamageLevel.sol +59 -0
  368. package/contracts/examples/fire/FirePool.sol +90 -0
  369. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  370. package/contracts/examples/fire/FireProduct.sol +437 -0
  371. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  372. package/contracts/examples/fire/FireUSD.sol +26 -0
  373. package/contracts/examples/unpermissioned/SimpleDistribution.sol +85 -0
  374. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  375. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  376. package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
  377. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  378. package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
  379. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  380. package/contracts/instance/BundleSet.sol +130 -0
  381. package/contracts/instance/IInstance.sol +25 -41
  382. package/contracts/instance/IInstanceService.sol +13 -33
  383. package/contracts/instance/Instance.sol +60 -67
  384. package/contracts/instance/InstanceAdmin.sol +258 -87
  385. package/contracts/instance/InstanceAuthorizationV3.sol +64 -53
  386. package/contracts/instance/InstanceReader.sol +288 -43
  387. package/contracts/instance/InstanceService.sol +129 -168
  388. package/contracts/instance/InstanceServiceManager.sol +8 -13
  389. package/contracts/instance/InstanceStore.sol +24 -2
  390. package/contracts/instance/RiskSet.sol +118 -0
  391. package/contracts/instance/base/ObjectCounter.sol +1 -2
  392. package/contracts/instance/base/ObjectLifecycle.sol +11 -4
  393. package/contracts/instance/base/ObjectSet.sol +77 -0
  394. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  395. package/contracts/instance/module/IBundle.sol +1 -1
  396. package/contracts/instance/module/IComponents.sol +14 -15
  397. package/contracts/instance/module/IDistribution.sol +5 -3
  398. package/contracts/instance/module/IPolicy.sol +26 -25
  399. package/contracts/instance/module/IRisk.sol +3 -0
  400. package/contracts/mock/Dip.sol +1 -1
  401. package/contracts/oracle/BasicOracle.sol +0 -1
  402. package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
  403. package/contracts/oracle/IOracleComponent.sol +2 -1
  404. package/contracts/oracle/IOracleService.sol +2 -1
  405. package/contracts/oracle/Oracle.sol +21 -22
  406. package/contracts/oracle/OracleService.sol +113 -81
  407. package/contracts/oracle/OracleServiceManager.sol +8 -11
  408. package/contracts/pool/BasicPool.sol +38 -27
  409. package/contracts/pool/BasicPoolAuthorization.sol +36 -9
  410. package/contracts/pool/BundleService.sol +204 -105
  411. package/contracts/pool/BundleServiceManager.sol +8 -11
  412. package/contracts/pool/IBundleService.sol +31 -22
  413. package/contracts/pool/IPoolComponent.sol +20 -10
  414. package/contracts/pool/IPoolService.sol +90 -75
  415. package/contracts/pool/Pool.sol +145 -111
  416. package/contracts/pool/PoolLib.sol +216 -0
  417. package/contracts/pool/PoolService.sol +546 -241
  418. package/contracts/pool/PoolServiceManager.sol +6 -9
  419. package/contracts/product/ApplicationService.sol +98 -78
  420. package/contracts/product/ApplicationServiceManager.sol +6 -6
  421. package/contracts/product/BasicProduct.sol +13 -44
  422. package/contracts/product/BasicProductAuthorization.sol +25 -9
  423. package/contracts/product/ClaimService.sol +365 -175
  424. package/contracts/product/ClaimServiceManager.sol +6 -6
  425. package/contracts/product/IApplicationService.sol +9 -2
  426. package/contracts/product/IClaimService.sol +44 -8
  427. package/contracts/product/IPolicyService.sol +53 -36
  428. package/contracts/product/IPricingService.sol +11 -10
  429. package/contracts/product/IProductComponent.sol +28 -5
  430. package/contracts/product/{IProductService.sol → IRiskService.sol} +8 -8
  431. package/contracts/product/PolicyService.sol +476 -269
  432. package/contracts/product/PolicyServiceLib.sol +65 -0
  433. package/contracts/product/PolicyServiceManager.sol +6 -9
  434. package/contracts/product/PricingService.sol +71 -62
  435. package/contracts/product/PricingServiceManager.sol +6 -9
  436. package/contracts/product/Product.sol +169 -92
  437. package/contracts/product/RiskService.sol +154 -0
  438. package/contracts/product/RiskServiceManager.sol +39 -0
  439. package/contracts/registry/ChainNft.sol +72 -40
  440. package/contracts/registry/IRegistry.sol +74 -29
  441. package/contracts/registry/IRegistryService.sol +3 -10
  442. package/contracts/registry/IRelease.sol +26 -0
  443. package/contracts/registry/ITransferInterceptor.sol +1 -2
  444. package/contracts/registry/Registry.sol +368 -216
  445. package/contracts/registry/RegistryAdmin.sol +185 -196
  446. package/contracts/registry/RegistryService.sol +41 -66
  447. package/contracts/registry/RegistryServiceManager.sol +5 -5
  448. package/contracts/registry/ReleaseAdmin.sol +245 -0
  449. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  450. package/contracts/registry/ReleaseRegistry.sol +511 -0
  451. package/contracts/registry/ServiceAuthorizationV3.sol +99 -52
  452. package/contracts/registry/TokenRegistry.sol +8 -10
  453. package/contracts/shared/Component.sol +74 -128
  454. package/contracts/shared/ComponentService.sol +453 -342
  455. package/contracts/shared/ComponentServiceManager.sol +10 -7
  456. package/contracts/shared/ComponentVerifyingService.sol +28 -17
  457. package/contracts/shared/ContractLib.sol +253 -0
  458. package/contracts/shared/IComponent.sol +8 -17
  459. package/contracts/shared/IComponentService.sol +49 -39
  460. package/contracts/shared/IInstanceLinkedComponent.sol +7 -27
  461. package/contracts/shared/ILifecycle.sol +3 -1
  462. package/contracts/shared/INftOwnable.sol +2 -0
  463. package/contracts/shared/IPolicyHolder.sol +12 -22
  464. package/contracts/shared/IRegisterable.sol +23 -1
  465. package/contracts/shared/IService.sol +4 -6
  466. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +3 -3
  467. package/contracts/shared/InstanceLinkedComponent.sol +81 -35
  468. package/contracts/shared/KeyValueStore.sol +1 -1
  469. package/contracts/shared/Lifecycle.sol +15 -4
  470. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
  471. package/contracts/shared/NftOwnable.sol +31 -11
  472. package/contracts/shared/PolicyHolder.sol +17 -57
  473. package/contracts/shared/Registerable.sol +55 -21
  474. package/contracts/shared/RegistryLinked.sol +9 -14
  475. package/contracts/shared/Service.sol +18 -36
  476. package/contracts/shared/TokenHandler.sol +309 -26
  477. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  478. package/contracts/staking/IStaking.sol +8 -11
  479. package/contracts/staking/IStakingService.sol +20 -8
  480. package/contracts/staking/StakeManagerLib.sol +19 -26
  481. package/contracts/staking/Staking.sol +86 -73
  482. package/contracts/staking/StakingManager.sol +10 -12
  483. package/contracts/staking/StakingReader.sol +24 -21
  484. package/contracts/staking/StakingService.sol +54 -35
  485. package/contracts/staking/StakingServiceManager.sol +8 -7
  486. package/contracts/staking/StakingStore.sol +12 -22
  487. package/contracts/staking/TargetManagerLib.sol +7 -3
  488. package/contracts/type/Amount.sol +27 -5
  489. package/contracts/type/Blocknumber.sol +7 -1
  490. package/contracts/type/ClaimId.sol +6 -1
  491. package/contracts/type/Key32.sol +2 -2
  492. package/contracts/type/Key32Set.sol +62 -0
  493. package/contracts/type/NftId.sol +7 -0
  494. package/contracts/type/ObjectType.sol +55 -27
  495. package/contracts/type/PayoutId.sol +10 -10
  496. package/contracts/type/Referral.sol +1 -0
  497. package/contracts/type/RiskId.sol +38 -6
  498. package/contracts/type/RoleId.sol +23 -15
  499. package/contracts/type/Seconds.sol +21 -1
  500. package/contracts/type/Selector.sol +5 -0
  501. package/contracts/type/StateId.sol +15 -1
  502. package/contracts/type/Timestamp.sol +10 -5
  503. package/contracts/type/UFixed.sol +35 -122
  504. package/contracts/type/Version.sol +18 -6
  505. package/contracts/{shared → upgradeability}/ProxyManager.sol +71 -38
  506. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  507. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  508. package/package.json +7 -6
  509. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  510. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  511. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  512. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  513. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  514. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -703
  515. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  516. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -181
  517. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  518. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  519. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  520. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  521. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  522. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  523. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  524. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  525. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1159
  526. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  527. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  528. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  529. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  530. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  531. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  532. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  533. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
  534. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  535. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  536. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  537. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  538. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  539. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  540. package/contracts/instance/BundleManager.sol +0 -126
  541. package/contracts/instance/base/ObjectManager.sol +0 -79
  542. package/contracts/instance/module/IAccess.sol +0 -46
  543. package/contracts/product/ProductService.sol +0 -124
  544. package/contracts/product/ProductServiceManager.sol +0 -42
  545. package/contracts/registry/ReleaseManager.sol +0 -487
  546. package/contracts/shared/InitializableCustom.sol +0 -177
  547. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -9,6 +9,11 @@
9
9
  "internalType": "string",
10
10
  "name": "mainTargetName",
11
11
  "type": "string"
12
+ },
13
+ {
14
+ "internalType": "ObjectType",
15
+ "name": "targetDomain",
16
+ "type": "uint8"
12
17
  }
13
18
  ],
14
19
  "stateMutability": "nonpayable",
@@ -16,7 +21,17 @@
16
21
  },
17
22
  {
18
23
  "inputs": [],
19
- "name": "GIF_VERSION",
24
+ "name": "ErrorAuthorizationMainTargetNameEmpty",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [],
29
+ "name": "ErrorAuthorizationTargetDomainZero",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "GIF_RELEASE",
20
35
  "outputs": [
21
36
  {
22
37
  "internalType": "uint256",
@@ -113,6 +128,51 @@
113
128
  "stateMutability": "view",
114
129
  "type": "function"
115
130
  },
131
+ {
132
+ "inputs": [
133
+ {
134
+ "internalType": "ObjectType",
135
+ "name": "componentDomain",
136
+ "type": "uint8"
137
+ }
138
+ ],
139
+ "name": "getComponentRole",
140
+ "outputs": [
141
+ {
142
+ "internalType": "RoleId",
143
+ "name": "roleId",
144
+ "type": "uint64"
145
+ }
146
+ ],
147
+ "stateMutability": "view",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [],
152
+ "name": "getMainTarget",
153
+ "outputs": [
154
+ {
155
+ "internalType": "Str",
156
+ "name": "",
157
+ "type": "bytes32"
158
+ }
159
+ ],
160
+ "stateMutability": "view",
161
+ "type": "function"
162
+ },
163
+ {
164
+ "inputs": [],
165
+ "name": "getMainTargetName",
166
+ "outputs": [
167
+ {
168
+ "internalType": "string",
169
+ "name": "name",
170
+ "type": "string"
171
+ }
172
+ ],
173
+ "stateMutability": "view",
174
+ "type": "function"
175
+ },
116
176
  {
117
177
  "inputs": [],
118
178
  "name": "getRelease",
@@ -162,6 +222,11 @@
162
222
  "internalType": "Timestamp",
163
223
  "name": "createdAt",
164
224
  "type": "uint40"
225
+ },
226
+ {
227
+ "internalType": "Timestamp",
228
+ "name": "pausedAt",
229
+ "type": "uint40"
165
230
  }
166
231
  ],
167
232
  "internalType": "struct IAccess.RoleInfo",
@@ -185,6 +250,19 @@
185
250
  "stateMutability": "view",
186
251
  "type": "function"
187
252
  },
253
+ {
254
+ "inputs": [],
255
+ "name": "getServiceDomains",
256
+ "outputs": [
257
+ {
258
+ "internalType": "ObjectType[]",
259
+ "name": "serviceDomains",
260
+ "type": "uint8[]"
261
+ }
262
+ ],
263
+ "stateMutability": "view",
264
+ "type": "function"
265
+ },
188
266
  {
189
267
  "inputs": [
190
268
  {
@@ -205,12 +283,18 @@
205
283
  "type": "function"
206
284
  },
207
285
  {
208
- "inputs": [],
209
- "name": "getTarget",
286
+ "inputs": [
287
+ {
288
+ "internalType": "ObjectType",
289
+ "name": "serviceDomain",
290
+ "type": "uint8"
291
+ }
292
+ ],
293
+ "name": "getServiceTarget",
210
294
  "outputs": [
211
295
  {
212
296
  "internalType": "Str",
213
- "name": "",
297
+ "name": "serviceTarget",
214
298
  "type": "bytes32"
215
299
  }
216
300
  ],
@@ -218,15 +302,21 @@
218
302
  "type": "function"
219
303
  },
220
304
  {
221
- "inputs": [],
222
- "name": "getTargetName",
223
- "outputs": [
305
+ "inputs": [
224
306
  {
225
307
  "internalType": "string",
226
- "name": "name",
308
+ "name": "targetName",
227
309
  "type": "string"
228
310
  }
229
311
  ],
312
+ "name": "getTarget",
313
+ "outputs": [
314
+ {
315
+ "internalType": "Str",
316
+ "name": "target",
317
+ "type": "bytes32"
318
+ }
319
+ ],
230
320
  "stateMutability": "view",
231
321
  "type": "function"
232
322
  },
@@ -262,6 +352,32 @@
262
352
  "stateMutability": "view",
263
353
  "type": "function"
264
354
  },
355
+ {
356
+ "inputs": [],
357
+ "name": "getTokenHandlerName",
358
+ "outputs": [
359
+ {
360
+ "internalType": "string",
361
+ "name": "",
362
+ "type": "string"
363
+ }
364
+ ],
365
+ "stateMutability": "view",
366
+ "type": "function"
367
+ },
368
+ {
369
+ "inputs": [],
370
+ "name": "getTokenHandlerTarget",
371
+ "outputs": [
372
+ {
373
+ "internalType": "Str",
374
+ "name": "",
375
+ "type": "bytes32"
376
+ }
377
+ ],
378
+ "stateMutability": "view",
379
+ "type": "function"
380
+ },
265
381
  {
266
382
  "inputs": [
267
383
  {
@@ -301,14 +417,42 @@
301
417
  "type": "function"
302
418
  }
303
419
  ],
304
- "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0525f9061002790826100fc565b50348015610033575f80fd5b50604051610d86380380610d86833981016040819052610052916101b6565b5f61005d82826100fc565b5050610266565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061008c57607f821691505b6020821081036100aa57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156100f757805f5260205f20601f840160051c810160208510156100d55750805b601f840160051c820191505b818110156100f4575f81556001016100e1565b50505b505050565b81516001600160401b0381111561011557610115610064565b610129816101238454610078565b846100b0565b6020601f82116001811461015b575f83156101445750848201515b5f19600385901b1c1916600184901b1784556100f4565b5f84815260208120601f198516915b8281101561018a578785015182556020948501946001909201910161016a565b50848210156101a757868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156101c6575f80fd5b81516001600160401b038111156101db575f80fd5b8201601f810184136101eb575f80fd5b80516001600160401b0381111561020457610204610064565b604051601f8201601f19908116603f011681016001600160401b038111828210171561023257610232610064565b604052818152828201602001861015610249575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b610b13806102735f395ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea2646970667358221220a4f7444f601886d597c9b7158c50ced8ba8204f2cab7306f0ef0ef34520fd8f364736f6c634300081a0033",
305
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea2646970667358221220a4f7444f601886d597c9b7158c50ced8ba8204f2cab7306f0ef0ef34520fd8f364736f6c634300081a0033",
420
+ "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0526002906100289082610b7c565b5060408051808201909152600b81526a086dedae0dedccadce8a8960ab1b60208201526003906100589082610b7c565b50348015610064575f80fd5b50604051611cf2380380611cf283398101604081905261008391610c4b565b81515f036100a45760405163c0348f3560e01b815260040160405180910390fd5b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156100f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101189190610d0c565b15610136576040516302e3f24160e11b815260040160405180910390fd5b60026101428382610b7c565b50816040516020016101549190610d49565b604051602081830303815290604052600390816101719190610b7c565b506040516311da4a5b60e31b815260ff821660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af41580156101cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101ef9190610d66565b90505f6101fb8461049b565b90506102966002805461020d90610af8565b80601f016020809104026020016040519081016040528092919081815260200182805461023990610af8565b80156102845780601f1061025b57610100808354040283529160200191610284565b820191905f5260205f20905b81548152906001019060200180831161026757829003601f168201915b505050505083836104e260201b60201c565b60405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906102cd908790600401610d8c565b602060405180830381865af41580156102e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061030c9190610dc1565b60048190555f90815260076020526040902080546001600160401b0319166001600160401b03841617905561034e83610343600c90565b60ff90811691161490565b8061035f575061035f83600e610343565b80610370575061037083600d610343565b80610381575061038183600f610343565b15610418576104186003805461039690610af8565b80601f01602080910402602001604051908101604052809291908181526020018280546103c290610af8565b801561040d5780601f106103e45761010080835404028352916020019161040d565b820191905f5260205f20905b8154815290600101906020018083116103f057829003601f168201915b505061067892505050565b60405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061045090600390600401610dd8565b602060405180830381865af415801561046b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061048f9190610dc1565b60055550505050610eb3565b60608160405180604001604052806004815260200163526f6c6560e01b8152506040516020016104cc929190610e5f565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061051b908790600401610d8c565b602060405180830381865af4158015610536573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061055a9190610dc1565b6006805460018181019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f018290555f82815260086020908152604091829020805460ff1916909317909255805163bc1b392d60e01b8152905192935061062f92869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af41580156105f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061d9190610d66565b6001600160401b039081169116141590565b156106725761063d836106fd565b61064b5761064b838361073f565b5f81815260076020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b6106fa8173__$1d92393fa9ccd763988368ce8a1cb90d26$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e79190610d66565b60408051602081019091525f81526104e2565b50565b5f806001600160401b0383165f908152600a602052604090205468010000000000000000900460ff16600381111561073757610737610e7b565b141592915050565b61075c8261075761074e610760565b600180866107d9565b6109b6565b5050565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401602060405180830381865af41580156107b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d49190610d66565b905090565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b0316815260200185600381111561083657610836610e7b565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b815260040161087e9190610d8c565b602060405180830381865af4158015610899573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108bd9190610dc1565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610909573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092d9190610e8f565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610980573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109a49190610e8f565b64ffffffffff16905295945050505050565b6009805460018101909155600481047f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f908152600a602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b0319909216179068010000000000000000908490811115610a6c57610a6c610e7b565b02179055506040820151815463ffffffff90911669010000000000000000000263ffffffff60481b199091161781556060820151600182015560808201516002909101805460a09093015164ffffffffff90811665010000000000026001600160501b03199094169216919091179190911790555050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610b0c57607f821691505b602082108103610b2a57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610b7757805f5260205f20601f840160051c81016020851015610b555750805b601f840160051c820191505b81811015610b74575f8155600101610b61565b50505b505050565b81516001600160401b03811115610b9557610b95610ae4565b610ba981610ba38454610af8565b84610b30565b6020601f821160018114610bdb575f8315610bc45750848201515b5f19600385901b1c1916600184901b178455610b74565b5f84815260208120601f198516915b82811015610c0a5787850151825560209485019460019092019101610bea565b5084821015610c2757868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b805160ff81168114610c46575f80fd5b919050565b5f8060408385031215610c5c575f80fd5b82516001600160401b03811115610c71575f80fd5b8301601f81018513610c81575f80fd5b80516001600160401b03811115610c9a57610c9a610ae4565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610cc857610cc8610ae4565b604052818152828201602001871015610cdf575f80fd5b8160208401602083015e5f60208383010152809450505050610d0360208401610c36565b90509250929050565b5f60208284031215610d1c575f80fd5b81518015158114610d2b575f80fd5b9392505050565b5f81518060208401855e5f93019283525090919050565b5f610d548284610d32565b610a8960f31b81526002019392505050565b5f60208284031215610d76575f80fd5b81516001600160401b0381168114610d2b575f80fd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610dd1575f80fd5b5051919050565b602081525f808354610de981610af8565b806020860152600182165f8114610e075760018114610e2357610e54565b60ff1983166040870152604082151560051b8701019350610e54565b865f5260205f205f5b83811015610e4b57815488820160400152600190910190602001610e2c565b87016040019450505b509195945050505050565b5f610e73610e6d8386610d32565b84610d32565b949350505050565b634e487b7160e01b5f52602160045260245ffd5b5f60208284031215610e9f575f80fd5b815164ffffffffff81168114610d2b575f80fd5b610e3280610ec05f395ff3fe608060405234801561000f575f80fd5b5060043610610132575f3560e01c806376b707b7116100b4578063c143892b11610079578063c143892b146102ba578063c5f34844146102e4578063c6a0017914610307578063da1b620b1461031a578063e8eba4351461032d578063f1d0102714610340575f80fd5b806376b707b714610255578063775f14b11461026f5780638899278a146102975780638c5397b01461029f578063b1040cf8146102b2575f80fd5b80635bfa5027116100fa5780635bfa5027146101d35780635c935ce0146101f357806363fe3b561461021657806368c55b131461022b5780637106139814610240575f80fd5b80631e4afbbf14610136578063363ed4961461015f5780633a591cf81461018a5780634322699b1461019f57806354e17da9146101b1575b5f80fd5b610149610144366004610a0e565b610348565b6040516101569190610a3c565b60405180910390f35b61017261016d366004610ab6565b6103f5565b6040516001600160401b039091168152602001610156565b610192610479565b6040516101569190610aff565b6004545b604051908152602001610156565b6101a36101bf366004610ab6565b60ff165f9081526001602052604090205490565b6101e66101e1366004610b11565b610509565b6040516101569190610b40565b610206610201366004610bcc565b6105e3565b6040519015158152602001610156565b61021e61060b565b6040516101569190610be3565b610233610660565b6040516101569190610c1a565b6102486106d1565b6040516101569190610c54565b61025d610757565b60405160ff9091168152602001610156565b61017261027d366004610bcc565b5f908152600760205260409020546001600160401b031690565b6101a3600381565b6102486102ad366004610bcc565b6107d0565b6005546101a3565b6101926040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61019260405180604001604052806004815260200163526f6c6560e01b81525081565b610206610315366004610b11565b610860565b6101a3610328366004610ca8565b61089d565b61017261033b366004610ab6565b610915565b610192610966565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b828210156103e9575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff16918301919091529083529092019101610386565b50505050905092915050565b6040516311da4a5b60e31b815260ff821660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d8906044015b602060405180830381865af415801561044f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104739190610d58565b92915050565b60606003805461048890610d73565b80601f01602080910402602001604051908101604052809291908181526020018280546104b490610d73565b80156104ff5780601f106104d6576101008083540402835291602001916104ff565b820191905f5260205f20905b8154815290600101906020018083116104e257829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600a82529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561058157610581610b2c565b600381111561059257610592610b2c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b5f6105f082600454610975565b806104735750505f9081526008602052604090205460ff1690565b606060068054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905b815481526020019060010190808311610643575050505050905090565b60605f8054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106995790505050505050905090565b606060098054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b03168152602001906008019060208260070104928301926001038202915080841161070b5790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156107a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107cb9190610dab565b905090565b5f818152600b602090815260409182902080548351818402810184019094528084526060939283018282801561085457602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116108115790505b50505050509050919050565b5f806001600160401b0383165f908152600a6020526040902054600160401b900460ff16600381111561089557610895610b2c565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906108d6908590600401610aff565b602060405180830381865af41580156108f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104739190610dc6565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d383610939610757565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401610434565b60606002805461048890610d73565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af41580156109cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f09190610ddd565b9392505050565b6001600160401b0381168114610a0b575f80fd5b50565b5f8060408385031215610a1f575f80fd5b823591506020830135610a31816109f7565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610a9d578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610a55565b509095945050505050565b60ff81168114610a0b575f80fd5b5f60208284031215610ac6575f80fd5b81356109f081610aa8565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6109f06020830184610ad1565b5f60208284031215610b21575f80fd5b81356109f0816109f7565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610b7357634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff6040840151166040830152606083015160608301526080830151610bac608084018264ffffffffff169052565b5060a0830151610bc560a084018264ffffffffff169052565b5092915050565b5f60208284031215610bdc575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610a9d578351835260209384019390920191600101610bfc565b602080825282518282018190525f918401906040840190835b81811015610a9d57835160ff16835260209384019390920191600101610c33565b602080825282518282018190525f918401906040840190835b81811015610a9d5783516001600160401b0316835260209384019390920191600101610c6d565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610cb8575f80fd5b81356001600160401b03811115610ccd575f80fd5b8201601f81018413610cdd575f80fd5b80356001600160401b03811115610cf657610cf6610c94565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d2457610d24610c94565b604052818152828201602001861015610d3b575f80fd5b816020840160208301375f91810160200191909152949350505050565b5f60208284031215610d68575f80fd5b81516109f0816109f7565b600181811c90821680610d8757607f821691505b602082108103610da557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610dbb575f80fd5b81516109f081610aa8565b5f60208284031215610dd6575f80fd5b5051919050565b5f60208284031215610ded575f80fd5b815180151581146109f0575f80fdfea26469706673582212204c0d7ebb813ff5ad503acfcee47f1869bb60e48b745f90355d07d48e2fe4e1e364736f6c634300081a0033",
421
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610132575f3560e01c806376b707b7116100b4578063c143892b11610079578063c143892b146102ba578063c5f34844146102e4578063c6a0017914610307578063da1b620b1461031a578063e8eba4351461032d578063f1d0102714610340575f80fd5b806376b707b714610255578063775f14b11461026f5780638899278a146102975780638c5397b01461029f578063b1040cf8146102b2575f80fd5b80635bfa5027116100fa5780635bfa5027146101d35780635c935ce0146101f357806363fe3b561461021657806368c55b131461022b5780637106139814610240575f80fd5b80631e4afbbf14610136578063363ed4961461015f5780633a591cf81461018a5780634322699b1461019f57806354e17da9146101b1575b5f80fd5b610149610144366004610a0e565b610348565b6040516101569190610a3c565b60405180910390f35b61017261016d366004610ab6565b6103f5565b6040516001600160401b039091168152602001610156565b610192610479565b6040516101569190610aff565b6004545b604051908152602001610156565b6101a36101bf366004610ab6565b60ff165f9081526001602052604090205490565b6101e66101e1366004610b11565b610509565b6040516101569190610b40565b610206610201366004610bcc565b6105e3565b6040519015158152602001610156565b61021e61060b565b6040516101569190610be3565b610233610660565b6040516101569190610c1a565b6102486106d1565b6040516101569190610c54565b61025d610757565b60405160ff9091168152602001610156565b61017261027d366004610bcc565b5f908152600760205260409020546001600160401b031690565b6101a3600381565b6102486102ad366004610bcc565b6107d0565b6005546101a3565b6101926040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61019260405180604001604052806004815260200163526f6c6560e01b81525081565b610206610315366004610b11565b610860565b6101a3610328366004610ca8565b61089d565b61017261033b366004610ab6565b610915565b610192610966565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b828210156103e9575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff16918301919091529083529092019101610386565b50505050905092915050565b6040516311da4a5b60e31b815260ff821660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d8906044015b602060405180830381865af415801561044f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104739190610d58565b92915050565b60606003805461048890610d73565b80601f01602080910402602001604051908101604052809291908181526020018280546104b490610d73565b80156104ff5780601f106104d6576101008083540402835291602001916104ff565b820191905f5260205f20905b8154815290600101906020018083116104e257829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600a82529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561058157610581610b2c565b600381111561059257610592610b2c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b5f6105f082600454610975565b806104735750505f9081526008602052604090205460ff1690565b606060068054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905b815481526020019060010190808311610643575050505050905090565b60605f8054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106995790505050505050905090565b606060098054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b03168152602001906008019060208260070104928301926001038202915080841161070b5790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156107a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107cb9190610dab565b905090565b5f818152600b602090815260409182902080548351818402810184019094528084526060939283018282801561085457602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116108115790505b50505050509050919050565b5f806001600160401b0383165f908152600a6020526040902054600160401b900460ff16600381111561089557610895610b2c565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906108d6908590600401610aff565b602060405180830381865af41580156108f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104739190610dc6565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d383610939610757565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401610434565b60606002805461048890610d73565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af41580156109cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f09190610ddd565b9392505050565b6001600160401b0381168114610a0b575f80fd5b50565b5f8060408385031215610a1f575f80fd5b823591506020830135610a31816109f7565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610a9d578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610a55565b509095945050505050565b60ff81168114610a0b575f80fd5b5f60208284031215610ac6575f80fd5b81356109f081610aa8565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6109f06020830184610ad1565b5f60208284031215610b21575f80fd5b81356109f0816109f7565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610b7357634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff6040840151166040830152606083015160608301526080830151610bac608084018264ffffffffff169052565b5060a0830151610bc560a084018264ffffffffff169052565b5092915050565b5f60208284031215610bdc575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610a9d578351835260209384019390920191600101610bfc565b602080825282518282018190525f918401906040840190835b81811015610a9d57835160ff16835260209384019390920191600101610c33565b602080825282518282018190525f918401906040840190835b81811015610a9d5783516001600160401b0316835260209384019390920191600101610c6d565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610cb8575f80fd5b81356001600160401b03811115610ccd575f80fd5b8201601f81018413610cdd575f80fd5b80356001600160401b03811115610cf657610cf6610c94565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d2457610d24610c94565b604052818152828201602001861015610d3b575f80fd5b816020840160208301375f91810160200191909152949350505050565b5f60208284031215610d68575f80fd5b81516109f0816109f7565b600181811c90821680610d8757607f821691505b602082108103610da557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610dbb575f80fd5b81516109f081610aa8565b5f60208284031215610dd6575f80fd5b5051919050565b5f60208284031215610ded575f80fd5b815180151581146109f0575f80fdfea26469706673582212204c0d7ebb813ff5ad503acfcee47f1869bb60e48b745f90355d07d48e2fe4e1e364736f6c634300081a0033",
306
422
  "linkReferences": {
423
+ "contracts/type/ObjectType.sol": {
424
+ "ObjectTypeLib": [
425
+ {
426
+ "length": 20,
427
+ "start": 188
428
+ }
429
+ ]
430
+ },
307
431
  "contracts/type/RoleId.sol": {
308
432
  "RoleIdLib": [
309
433
  {
310
434
  "length": 20,
311
- "start": 2373
435
+ "start": 403
436
+ },
437
+ {
438
+ "length": 20,
439
+ "start": 1473
440
+ },
441
+ {
442
+ "length": 20,
443
+ "start": 1662
444
+ },
445
+ {
446
+ "length": 20,
447
+ "start": 1912
448
+ },
449
+ {
450
+ "length": 20,
451
+ "start": 4822
452
+ },
453
+ {
454
+ "length": 20,
455
+ "start": 6104
312
456
  }
313
457
  ]
314
458
  },
@@ -316,7 +460,39 @@
316
460
  "StrLib": [
317
461
  {
318
462
  "length": 20,
319
- "start": 2586
463
+ "start": 677
464
+ },
465
+ {
466
+ "length": 20,
467
+ "start": 1063
468
+ },
469
+ {
470
+ "length": 20,
471
+ "start": 1267
472
+ },
473
+ {
474
+ "length": 20,
475
+ "start": 2121
476
+ },
477
+ {
478
+ "length": 20,
479
+ "start": 5998
480
+ },
481
+ {
482
+ "length": 20,
483
+ "start": 6228
484
+ }
485
+ ]
486
+ },
487
+ "contracts/type/Timestamp.sol": {
488
+ "TimestampLib": [
489
+ {
490
+ "length": 20,
491
+ "start": 2244
492
+ },
493
+ {
494
+ "length": 20,
495
+ "start": 2363
320
496
  }
321
497
  ]
322
498
  },
@@ -324,7 +500,7 @@
324
500
  "VersionPartLib": [
325
501
  {
326
502
  "length": 20,
327
- "start": 2065
503
+ "start": 5679
328
504
  }
329
505
  ]
330
506
  }
@@ -334,7 +510,11 @@
334
510
  "RoleIdLib": [
335
511
  {
336
512
  "length": 20,
337
- "start": 1746
513
+ "start": 1046
514
+ },
515
+ {
516
+ "length": 20,
517
+ "start": 2328
338
518
  }
339
519
  ]
340
520
  },
@@ -342,7 +522,11 @@
342
522
  "StrLib": [
343
523
  {
344
524
  "length": 20,
345
- "start": 1959
525
+ "start": 2222
526
+ },
527
+ {
528
+ "length": 20,
529
+ "start": 2452
346
530
  }
347
531
  ]
348
532
  },
@@ -350,7 +534,7 @@
350
534
  "VersionPartLib": [
351
535
  {
352
536
  "length": 20,
353
- "start": 1438
537
+ "start": 1903
354
538
  }
355
539
  ]
356
540
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/d6293332115c6e23ce2bcb947a6b49a3.json"
3
+ "buildInfo": "../../../build-info/f69f8848066553ad68b089bc54311003.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/d6293332115c6e23ce2bcb947a6b49a3.json"
3
+ "buildInfo": "../../../build-info/f69f8848066553ad68b089bc54311003.json"
4
4
  }
@@ -46,11 +46,6 @@
46
46
  "name": "ErrorAdminRoleMissing",
47
47
  "type": "error"
48
48
  },
49
- {
50
- "inputs": [],
51
- "name": "ErrorAuthorityAlreadySet",
52
- "type": "error"
53
- },
54
49
  {
55
50
  "inputs": [
56
51
  {
@@ -78,6 +73,17 @@
78
73
  "name": "ErrorNotDeployer",
79
74
  "type": "error"
80
75
  },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "registryAddress",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorNotRegistry",
85
+ "type": "error"
86
+ },
81
87
  {
82
88
  "inputs": [
83
89
  {
@@ -124,7 +130,7 @@
124
130
  "type": "uint64"
125
131
  }
126
132
  ],
127
- "name": "ErrorRoleIsDisabled",
133
+ "name": "ErrorRoleIsLocked",
128
134
  "type": "error"
129
135
  },
130
136
  {
@@ -135,7 +141,39 @@
135
141
  "type": "uint64"
136
142
  }
137
143
  ],
138
- "name": "ErrorRoleIsLocked",
144
+ "name": "ErrorRoleIsPaused",
145
+ "type": "error"
146
+ },
147
+ {
148
+ "inputs": [
149
+ {
150
+ "internalType": "RoleId",
151
+ "name": "roleId",
152
+ "type": "uint64"
153
+ },
154
+ {
155
+ "internalType": "address",
156
+ "name": "notContract",
157
+ "type": "address"
158
+ }
159
+ ],
160
+ "name": "ErrorRoleMemberNotContract",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [
165
+ {
166
+ "internalType": "RoleId",
167
+ "name": "roleId",
168
+ "type": "uint64"
169
+ },
170
+ {
171
+ "internalType": "address",
172
+ "name": "expectedMember",
173
+ "type": "address"
174
+ }
175
+ ],
176
+ "name": "ErrorRoleMemberRemovalDisabled",
139
177
  "type": "error"
140
178
  },
141
179
  {
@@ -186,17 +224,6 @@
186
224
  "name": "ErrorRoleNameEmpty",
187
225
  "type": "error"
188
226
  },
189
- {
190
- "inputs": [
191
- {
192
- "internalType": "RoleId",
193
- "name": "roleId",
194
- "type": "uint64"
195
- }
196
- ],
197
- "name": "ErrorRoleRemovalDisabled",
198
- "type": "error"
199
- },
200
227
  {
201
228
  "inputs": [
202
229
  {
@@ -229,6 +256,22 @@
229
256
  "name": "ErrorTargetAlreadyCreated",
230
257
  "type": "error"
231
258
  },
259
+ {
260
+ "inputs": [
261
+ {
262
+ "internalType": "address",
263
+ "name": "target",
264
+ "type": "address"
265
+ },
266
+ {
267
+ "internalType": "bool",
268
+ "name": "isLocked",
269
+ "type": "bool"
270
+ }
271
+ ],
272
+ "name": "ErrorTargetAlreadyLocked",
273
+ "type": "error"
274
+ },
232
275
  {
233
276
  "inputs": [
234
277
  {
@@ -323,18 +366,18 @@
323
366
  },
324
367
  {
325
368
  "indexed": false,
326
- "internalType": "Selector",
327
- "name": "selector",
328
- "type": "bytes4"
369
+ "internalType": "string",
370
+ "name": "functionName",
371
+ "type": "string"
329
372
  },
330
373
  {
331
374
  "indexed": false,
332
375
  "internalType": "string",
333
- "name": "name",
376
+ "name": "roleName",
334
377
  "type": "string"
335
378
  }
336
379
  ],
337
- "name": "LogFunctionCreated",
380
+ "name": "LogAccessAdminFunctionGranted",
338
381
  "type": "event"
339
382
  },
340
383
  {
@@ -365,7 +408,45 @@
365
408
  "type": "string"
366
409
  }
367
410
  ],
368
- "name": "LogRoleCreated",
411
+ "name": "LogAccessAdminRoleCreated",
412
+ "type": "event"
413
+ },
414
+ {
415
+ "anonymous": false,
416
+ "inputs": [
417
+ {
418
+ "indexed": false,
419
+ "internalType": "address",
420
+ "name": "account",
421
+ "type": "address"
422
+ },
423
+ {
424
+ "indexed": false,
425
+ "internalType": "string",
426
+ "name": "roleName",
427
+ "type": "string"
428
+ }
429
+ ],
430
+ "name": "LogAccessAdminRoleGranted",
431
+ "type": "event"
432
+ },
433
+ {
434
+ "anonymous": false,
435
+ "inputs": [
436
+ {
437
+ "indexed": false,
438
+ "internalType": "address",
439
+ "name": "account",
440
+ "type": "address"
441
+ },
442
+ {
443
+ "indexed": false,
444
+ "internalType": "string",
445
+ "name": "roleName",
446
+ "type": "string"
447
+ }
448
+ ],
449
+ "name": "LogAccessAdminRoleRevoked",
369
450
  "type": "event"
370
451
  },
371
452
  {
@@ -384,7 +465,7 @@
384
465
  "type": "string"
385
466
  }
386
467
  ],
387
- "name": "LogTargetCreated",
468
+ "name": "LogAccessAdminTargetCreated",
388
469
  "type": "event"
389
470
  },
390
471
  {
@@ -533,6 +614,32 @@
533
614
  "stateMutability": "view",
534
615
  "type": "function"
535
616
  },
617
+ {
618
+ "inputs": [],
619
+ "name": "getRegistry",
620
+ "outputs": [
621
+ {
622
+ "internalType": "contract IRegistry",
623
+ "name": "",
624
+ "type": "address"
625
+ }
626
+ ],
627
+ "stateMutability": "view",
628
+ "type": "function"
629
+ },
630
+ {
631
+ "inputs": [],
632
+ "name": "getRelease",
633
+ "outputs": [
634
+ {
635
+ "internalType": "VersionPart",
636
+ "name": "release",
637
+ "type": "uint8"
638
+ }
639
+ ],
640
+ "stateMutability": "view",
641
+ "type": "function"
642
+ },
536
643
  {
537
644
  "inputs": [
538
645
  {
@@ -619,6 +726,11 @@
619
726
  "internalType": "Timestamp",
620
727
  "name": "createdAt",
621
728
  "type": "uint40"
729
+ },
730
+ {
731
+ "internalType": "Timestamp",
732
+ "name": "pausedAt",
733
+ "type": "uint40"
622
734
  }
623
735
  ],
624
736
  "internalType": "struct IAccess.RoleInfo",
@@ -775,25 +887,6 @@
775
887
  "stateMutability": "view",
776
888
  "type": "function"
777
889
  },
778
- {
779
- "inputs": [
780
- {
781
- "internalType": "address",
782
- "name": "target",
783
- "type": "address"
784
- }
785
- ],
786
- "name": "isAccessManaged",
787
- "outputs": [
788
- {
789
- "internalType": "bool",
790
- "name": "",
791
- "type": "bool"
792
- }
793
- ],
794
- "stateMutability": "view",
795
- "type": "function"
796
- },
797
890
  {
798
891
  "inputs": [],
799
892
  "name": "isConsumingScheduledOp",
@@ -1014,6 +1107,11 @@
1014
1107
  "internalType": "Timestamp",
1015
1108
  "name": "createdAt",
1016
1109
  "type": "uint40"
1110
+ },
1111
+ {
1112
+ "internalType": "Timestamp",
1113
+ "name": "pausedAt",
1114
+ "type": "uint40"
1017
1115
  }
1018
1116
  ],
1019
1117
  "internalType": "struct IAccess.RoleInfo",