@etherisc/gif-next 0.0.2-f15b559-661 → 0.0.2-f1b01e0-214

Sign up to get free protection for your applications and to get access to all the features.
Files changed (396) hide show
  1. package/README.md +43 -0
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +38 -38
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +26 -26
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +6 -6
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +366 -251
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +8 -39
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +101 -28
  17. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +283 -189
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +37 -5
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +32 -145
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +101 -46
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1 -87
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +160 -89
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +56 -52
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +1 -87
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +68 -5
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +44 -74
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +101 -46
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +94 -124
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +101 -46
  48. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  50. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +82 -173
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +101 -46
  53. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  54. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +20 -63
  55. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +69 -112
  57. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +101 -46
  59. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  60. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +95 -138
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +101 -46
  63. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  64. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  65. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  66. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +104 -8
  67. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +62 -13
  69. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/Instance.sol/Instance.json +119 -26
  71. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  72. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +520 -413
  73. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +101 -46
  75. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +225 -196
  77. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +94 -65
  79. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +26 -36
  81. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +356 -346
  83. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +2 -2
  85. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  87. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  89. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  90. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  94. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +20 -20
  96. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  97. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  98. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  101. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  103. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +14 -35
  104. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +98 -35
  106. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +0 -21
  109. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +0 -21
  112. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +42 -42
  114. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +31 -31
  116. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  117. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +22 -43
  118. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  119. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +101 -46
  120. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  121. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +64 -64
  122. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  123. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +39 -39
  124. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  125. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +6 -6
  126. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  127. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +10 -31
  128. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  129. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +18 -18
  130. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  131. package/artifacts/contracts/pool/Pool.sol/Pool.json +10 -31
  132. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
  133. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +34 -34
  134. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  135. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +80 -80
  136. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  137. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +41 -41
  138. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  139. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +90 -24
  140. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  141. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +34 -22
  142. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  143. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +27 -48
  144. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  145. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +101 -46
  146. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  147. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +78 -78
  148. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  149. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +50 -50
  150. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  151. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +42 -0
  152. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  153. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  155. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +21 -0
  156. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  157. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +21 -42
  158. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +21 -0
  160. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  161. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +62 -62
  162. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
  163. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +32 -32
  164. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +41 -41
  166. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  167. package/artifacts/contracts/product/PricingService.sol/PricingService.json +63 -82
  168. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  169. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +31 -51
  170. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  171. package/artifacts/contracts/product/Product.sol/Product.json +21 -42
  172. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  173. package/artifacts/contracts/product/RiskService.sol/RiskService.json +55 -26
  174. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  175. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +27 -23
  176. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  177. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  178. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  179. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +1 -1
  180. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  181. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  182. package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
  183. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  184. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +445 -355
  185. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  186. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  187. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  188. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +18 -18
  189. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  190. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +19 -19
  191. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
  192. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +481 -376
  193. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  194. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  195. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  196. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +128 -124
  197. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  198. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +6 -6
  199. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  200. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  201. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  202. package/artifacts/contracts/shared/Component.sol/Component.json +0 -21
  203. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  204. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +114 -129
  205. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  206. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +45 -49
  207. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  208. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  209. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +60 -4
  210. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
  211. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  212. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +1 -1
  213. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  214. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +0 -21
  215. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  216. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +44 -51
  217. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  218. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +0 -21
  219. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  220. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  221. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  222. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  224. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  226. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  227. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  228. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  229. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +0 -21
  230. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  231. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  232. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  233. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  234. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  235. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  236. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  237. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  238. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  239. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  240. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  241. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  242. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  243. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  244. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  245. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +2 -2
  246. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  247. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
  248. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  249. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +83 -39
  250. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  251. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +75 -4
  252. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  253. package/artifacts/contracts/staking/Staking.sol/Staking.json +133 -94
  254. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  255. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  256. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  257. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
  258. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  259. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +41 -37
  260. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  261. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +34 -61
  262. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  263. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +109 -30
  264. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  265. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +27 -23
  266. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  267. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +148 -134
  268. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  269. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +47 -37
  270. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  271. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  272. package/artifacts/contracts/type/Amount.sol/AmountLib.json +10 -10
  273. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  276. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  278. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/Fee.sol/FeeLib.json +93 -37
  280. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  281. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  282. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
  283. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
  284. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  286. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  287. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  288. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  290. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  291. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  292. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  294. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  296. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
  298. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  300. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +60 -36
  308. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  310. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +56 -2
  312. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  313. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  314. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +4 -4
  315. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  316. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  317. package/contracts/accounting/IAccountingService.sol +2 -2
  318. package/contracts/authorization/AccessAdmin.sol +201 -186
  319. package/contracts/authorization/AccessAdminLib.sol +183 -0
  320. package/contracts/authorization/AccessManagerCloneable.sol +40 -31
  321. package/contracts/authorization/Authorization.sol +61 -33
  322. package/contracts/authorization/IAccess.sol +13 -5
  323. package/contracts/authorization/IAccessAdmin.sol +63 -36
  324. package/contracts/authorization/IAuthorization.sol +6 -0
  325. package/contracts/distribution/BasicDistribution.sol +6 -6
  326. package/contracts/distribution/BasicDistributionAuthorization.sol +1 -1
  327. package/contracts/distribution/Distribution.sol +3 -48
  328. package/contracts/distribution/DistributionService.sol +57 -30
  329. package/contracts/distribution/IDistributionComponent.sol +0 -9
  330. package/contracts/distribution/IDistributionService.sol +4 -2
  331. package/contracts/examples/fire/FirePool.sol +0 -4
  332. package/contracts/examples/fire/FireProduct.sol +0 -4
  333. package/contracts/examples/unpermissioned/SimpleDistribution.sol +32 -8
  334. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
  335. package/contracts/examples/unpermissioned/SimplePool.sol +0 -4
  336. package/contracts/examples/unpermissioned/SimpleProduct.sol +0 -4
  337. package/contracts/instance/IInstance.sol +45 -9
  338. package/contracts/instance/IInstanceService.sol +19 -3
  339. package/contracts/instance/Instance.sol +73 -16
  340. package/contracts/instance/InstanceAdmin.sol +120 -107
  341. package/contracts/instance/InstanceAuthorizationV3.sol +43 -21
  342. package/contracts/instance/InstanceReader.sol +13 -0
  343. package/contracts/instance/InstanceService.sol +128 -73
  344. package/contracts/instance/module/IBundle.sol +6 -5
  345. package/contracts/instance/module/IComponents.sol +16 -5
  346. package/contracts/instance/module/IDistribution.sol +19 -7
  347. package/contracts/instance/module/IPolicy.sol +28 -8
  348. package/contracts/instance/module/IRisk.sol +2 -0
  349. package/contracts/oracle/BasicOracle.sol +1 -3
  350. package/contracts/oracle/BasicOracleAuthorization.sol +1 -1
  351. package/contracts/oracle/IOracle.sol +9 -4
  352. package/contracts/oracle/Oracle.sol +0 -2
  353. package/contracts/pool/BasicPool.sol +0 -2
  354. package/contracts/pool/BasicPoolAuthorization.sol +1 -1
  355. package/contracts/pool/Pool.sol +0 -2
  356. package/contracts/pool/PoolService.sol +1 -3
  357. package/contracts/product/ApplicationService.sol +21 -6
  358. package/contracts/product/BasicProduct.sol +0 -2
  359. package/contracts/product/BasicProductAuthorization.sol +1 -1
  360. package/contracts/product/IApplicationService.sol +3 -0
  361. package/contracts/product/IPricingService.sol +1 -0
  362. package/contracts/product/IRiskService.sol +3 -0
  363. package/contracts/product/PolicyService.sol +0 -18
  364. package/contracts/product/PricingService.sol +11 -6
  365. package/contracts/product/Product.sol +0 -2
  366. package/contracts/product/RiskService.sol +10 -0
  367. package/contracts/registry/IRegistry.sol +4 -0
  368. package/contracts/registry/RegistryAdmin.sol +133 -229
  369. package/contracts/registry/RegistryAuthorization.sol +267 -0
  370. package/contracts/registry/ReleaseAdmin.sol +30 -22
  371. package/contracts/registry/ReleaseRegistry.sol +39 -33
  372. package/contracts/registry/ServiceAuthorizationV3.sol +87 -3
  373. package/contracts/shared/Component.sol +13 -30
  374. package/contracts/shared/ComponentService.sol +58 -42
  375. package/contracts/shared/ContractLib.sol +28 -0
  376. package/contracts/shared/IComponent.sol +0 -3
  377. package/contracts/shared/IComponentService.sol +9 -9
  378. package/contracts/shared/InitializableERC165.sol +9 -1
  379. package/contracts/shared/InstanceLinkedComponent.sol +0 -2
  380. package/contracts/shared/NftOwnable.sol +1 -1
  381. package/contracts/shared/Registerable.sol +1 -4
  382. package/contracts/shared/TokenHandler.sol +5 -4
  383. package/contracts/staking/IStaking.sol +12 -2
  384. package/contracts/staking/IStakingService.sol +8 -1
  385. package/contracts/staking/Staking.sol +35 -15
  386. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +79 -22
  387. package/contracts/staking/StakingReader.sol +5 -15
  388. package/contracts/staking/StakingService.sol +36 -2
  389. package/contracts/staking/StakingStore.sol +2 -1
  390. package/contracts/type/Fee.sol +8 -8
  391. package/contracts/type/ObjectType.sol +5 -14
  392. package/contracts/type/UFixed.sol +27 -10
  393. package/contracts/type/Version.sol +39 -0
  394. package/package.json +2 -2
  395. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  396. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
@@ -43,7 +43,45 @@
43
43
  },
44
44
  {
45
45
  "inputs": [],
46
- "name": "ErrorAdminRoleMissing",
46
+ "name": "ErrorAccessAdminAccessManagerEmptyName",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "authority",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorAccessAdminAccessManagerNotAccessManager",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorAccessAdminAdminRoleMissing",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "authorization",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorAccessAdminAlreadyInitialized",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "authority",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorAccessAdminAuthorityNotContract",
47
85
  "type": "error"
48
86
  },
49
87
  {
@@ -54,7 +92,28 @@
54
92
  "type": "address"
55
93
  }
56
94
  ],
57
- "name": "ErrorAuthorizeForAdminRoleInvalid",
95
+ "name": "ErrorAccessAdminAuthorizeForAdminRoleInvalid",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "authorization",
103
+ "type": "address"
104
+ },
105
+ {
106
+ "internalType": "ObjectType",
107
+ "name": "expectedDomain",
108
+ "type": "uint8"
109
+ },
110
+ {
111
+ "internalType": "ObjectType",
112
+ "name": "actualDomain",
113
+ "type": "uint8"
114
+ }
115
+ ],
116
+ "name": "ErrorAccessAdminDomainMismatch",
58
117
  "type": "error"
59
118
  },
60
119
  {
@@ -63,25 +122,52 @@
63
122
  "internalType": "RoleId",
64
123
  "name": "adminRoleId",
65
124
  "type": "uint64"
125
+ },
126
+ {
127
+ "internalType": "address",
128
+ "name": "account",
129
+ "type": "address"
66
130
  }
67
131
  ],
68
- "name": "ErrorNotAdminOfRole",
132
+ "name": "ErrorAccessAdminNotAdminOfRole",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [
137
+ {
138
+ "internalType": "address",
139
+ "name": "authorization",
140
+ "type": "address"
141
+ }
142
+ ],
143
+ "name": "ErrorAccessAdminNotAuthorization",
69
144
  "type": "error"
70
145
  },
71
146
  {
72
147
  "inputs": [],
73
- "name": "ErrorNotDeployer",
148
+ "name": "ErrorAccessAdminNotDeployer",
74
149
  "type": "error"
75
150
  },
76
151
  {
77
152
  "inputs": [
78
153
  {
79
154
  "internalType": "address",
80
- "name": "registryAddress",
155
+ "name": "registerable",
81
156
  "type": "address"
82
157
  }
83
158
  ],
84
- "name": "ErrorNotRegistry",
159
+ "name": "ErrorAccessAdminNotRegistered",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [
164
+ {
165
+ "internalType": "address",
166
+ "name": "registry",
167
+ "type": "address"
168
+ }
169
+ ],
170
+ "name": "ErrorAccessAdminNotRegistry",
85
171
  "type": "error"
86
172
  },
87
173
  {
@@ -90,9 +176,35 @@
90
176
  "internalType": "RoleId",
91
177
  "name": "roleId",
92
178
  "type": "uint64"
179
+ },
180
+ {
181
+ "internalType": "address",
182
+ "name": "account",
183
+ "type": "address"
184
+ }
185
+ ],
186
+ "name": "ErrorAccessAdminNotRoleOwner",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "address",
193
+ "name": "authorization",
194
+ "type": "address"
195
+ },
196
+ {
197
+ "internalType": "VersionPart",
198
+ "name": "expectedRelease",
199
+ "type": "uint8"
200
+ },
201
+ {
202
+ "internalType": "VersionPart",
203
+ "name": "actualRelease",
204
+ "type": "uint8"
93
205
  }
94
206
  ],
95
- "name": "ErrorNotRoleOwner",
207
+ "name": "ErrorAccessAdminReleaseMismatch",
96
208
  "type": "error"
97
209
  },
98
210
  {
@@ -103,7 +215,7 @@
103
215
  "type": "uint64"
104
216
  }
105
217
  ],
106
- "name": "ErrorRoleAdminNotExisting",
218
+ "name": "ErrorAccessAdminRoleAdminNotExisting",
107
219
  "type": "error"
108
220
  },
109
221
  {
@@ -119,7 +231,7 @@
119
231
  "type": "string"
120
232
  }
121
233
  ],
122
- "name": "ErrorRoleAlreadyCreated",
234
+ "name": "ErrorAccessAdminRoleAlreadyCreated",
123
235
  "type": "error"
124
236
  },
125
237
  {
@@ -130,7 +242,7 @@
130
242
  "type": "uint64"
131
243
  }
132
244
  ],
133
- "name": "ErrorRoleIsLocked",
245
+ "name": "ErrorAccessAdminRoleIsLocked",
134
246
  "type": "error"
135
247
  },
136
248
  {
@@ -141,7 +253,7 @@
141
253
  "type": "uint64"
142
254
  }
143
255
  ],
144
- "name": "ErrorRoleIsPaused",
256
+ "name": "ErrorAccessAdminRoleIsPaused",
145
257
  "type": "error"
146
258
  },
147
259
  {
@@ -157,7 +269,7 @@
157
269
  "type": "address"
158
270
  }
159
271
  ],
160
- "name": "ErrorRoleMemberNotContract",
272
+ "name": "ErrorAccessAdminRoleMemberNotContract",
161
273
  "type": "error"
162
274
  },
163
275
  {
@@ -173,7 +285,7 @@
173
285
  "type": "address"
174
286
  }
175
287
  ],
176
- "name": "ErrorRoleMemberRemovalDisabled",
288
+ "name": "ErrorAccessAdminRoleMemberRemovalDisabled",
177
289
  "type": "error"
178
290
  },
179
291
  {
@@ -189,7 +301,7 @@
189
301
  "type": "uint256"
190
302
  }
191
303
  ],
192
- "name": "ErrorRoleMembersLimitReached",
304
+ "name": "ErrorAccessAdminRoleMembersLimitReached",
193
305
  "type": "error"
194
306
  },
195
307
  {
@@ -210,7 +322,7 @@
210
322
  "type": "uint64"
211
323
  }
212
324
  ],
213
- "name": "ErrorRoleNameAlreadyExists",
325
+ "name": "ErrorAccessAdminRoleNameAlreadyExists",
214
326
  "type": "error"
215
327
  },
216
328
  {
@@ -221,7 +333,7 @@
221
333
  "type": "uint64"
222
334
  }
223
335
  ],
224
- "name": "ErrorRoleNameEmpty",
336
+ "name": "ErrorAccessAdminRoleNameEmpty",
225
337
  "type": "error"
226
338
  },
227
339
  {
@@ -232,12 +344,12 @@
232
344
  "type": "uint64"
233
345
  }
234
346
  ],
235
- "name": "ErrorRoleUnknown",
347
+ "name": "ErrorAccessAdminRoleUnknown",
236
348
  "type": "error"
237
349
  },
238
350
  {
239
351
  "inputs": [],
240
- "name": "ErrorTagetNotLockable",
352
+ "name": "ErrorAccessAdminTagetNotLockable",
241
353
  "type": "error"
242
354
  },
243
355
  {
@@ -253,7 +365,7 @@
253
365
  "type": "string"
254
366
  }
255
367
  ],
256
- "name": "ErrorTargetAlreadyCreated",
368
+ "name": "ErrorAccessAdminTargetAlreadyCreated",
257
369
  "type": "error"
258
370
  },
259
371
  {
@@ -269,7 +381,7 @@
269
381
  "type": "bool"
270
382
  }
271
383
  ],
272
- "name": "ErrorTargetAlreadyLocked",
384
+ "name": "ErrorAccessAdminTargetAlreadyLocked",
273
385
  "type": "error"
274
386
  },
275
387
  {
@@ -285,7 +397,7 @@
285
397
  "type": "address"
286
398
  }
287
399
  ],
288
- "name": "ErrorTargetAuthorityMismatch",
400
+ "name": "ErrorAccessAdminTargetAuthorityMismatch",
289
401
  "type": "error"
290
402
  },
291
403
  {
@@ -306,7 +418,18 @@
306
418
  "type": "address"
307
419
  }
308
420
  ],
309
- "name": "ErrorTargetNameAlreadyExists",
421
+ "name": "ErrorAccessAdminTargetNameAlreadyExists",
422
+ "type": "error"
423
+ },
424
+ {
425
+ "inputs": [
426
+ {
427
+ "internalType": "address",
428
+ "name": "target",
429
+ "type": "address"
430
+ }
431
+ ],
432
+ "name": "ErrorAccessAdminTargetNameEmpty",
310
433
  "type": "error"
311
434
  },
312
435
  {
@@ -317,7 +440,7 @@
317
440
  "type": "address"
318
441
  }
319
442
  ],
320
- "name": "ErrorTargetNameEmpty",
443
+ "name": "ErrorAccessAdminTargetNotAccessManaged",
321
444
  "type": "error"
322
445
  },
323
446
  {
@@ -328,7 +451,7 @@
328
451
  "type": "address"
329
452
  }
330
453
  ],
331
- "name": "ErrorTargetNotAccessManaged",
454
+ "name": "ErrorAccessAdminTargetNotCreated",
332
455
  "type": "error"
333
456
  },
334
457
  {
@@ -339,7 +462,50 @@
339
462
  "type": "address"
340
463
  }
341
464
  ],
342
- "name": "ErrorTargetUnknown",
465
+ "name": "ErrorAccessAdminTargetNotRegistered",
466
+ "type": "error"
467
+ },
468
+ {
469
+ "inputs": [
470
+ {
471
+ "internalType": "address",
472
+ "name": "target",
473
+ "type": "address"
474
+ },
475
+ {
476
+ "internalType": "ObjectType",
477
+ "name": "expectedType",
478
+ "type": "uint8"
479
+ },
480
+ {
481
+ "internalType": "ObjectType",
482
+ "name": "actualType",
483
+ "type": "uint8"
484
+ }
485
+ ],
486
+ "name": "ErrorAccessAdminTargetTypeMismatch",
487
+ "type": "error"
488
+ },
489
+ {
490
+ "inputs": [
491
+ {
492
+ "internalType": "address",
493
+ "name": "target",
494
+ "type": "address"
495
+ }
496
+ ],
497
+ "name": "ErrorAccessAdminTargetUnknown",
498
+ "type": "error"
499
+ },
500
+ {
501
+ "inputs": [
502
+ {
503
+ "internalType": "address",
504
+ "name": "registryAddress",
505
+ "type": "address"
506
+ }
507
+ ],
508
+ "name": "ErrorNotRegistry",
343
509
  "type": "error"
344
510
  },
345
511
  {
@@ -360,20 +526,20 @@
360
526
  "inputs": [
361
527
  {
362
528
  "indexed": false,
363
- "internalType": "address",
364
- "name": "target",
365
- "type": "address"
529
+ "internalType": "string",
530
+ "name": "admin",
531
+ "type": "string"
366
532
  },
367
533
  {
368
534
  "indexed": false,
369
- "internalType": "string",
370
- "name": "functionName",
371
- "type": "string"
535
+ "internalType": "address",
536
+ "name": "target",
537
+ "type": "address"
372
538
  },
373
539
  {
374
540
  "indexed": false,
375
541
  "internalType": "string",
376
- "name": "roleName",
542
+ "name": "func",
377
543
  "type": "string"
378
544
  }
379
545
  ],
@@ -383,6 +549,12 @@
383
549
  {
384
550
  "anonymous": false,
385
551
  "inputs": [
552
+ {
553
+ "indexed": false,
554
+ "internalType": "string",
555
+ "name": "admin",
556
+ "type": "string"
557
+ },
386
558
  {
387
559
  "indexed": false,
388
560
  "internalType": "RoleId",
@@ -414,6 +586,12 @@
414
586
  {
415
587
  "anonymous": false,
416
588
  "inputs": [
589
+ {
590
+ "indexed": false,
591
+ "internalType": "string",
592
+ "name": "admin",
593
+ "type": "string"
594
+ },
417
595
  {
418
596
  "indexed": false,
419
597
  "internalType": "address",
@@ -433,6 +611,12 @@
433
611
  {
434
612
  "anonymous": false,
435
613
  "inputs": [
614
+ {
615
+ "indexed": false,
616
+ "internalType": "string",
617
+ "name": "admin",
618
+ "type": "string"
619
+ },
436
620
  {
437
621
  "indexed": false,
438
622
  "internalType": "address",
@@ -452,6 +636,12 @@
452
636
  {
453
637
  "anonymous": false,
454
638
  "inputs": [
639
+ {
640
+ "indexed": false,
641
+ "internalType": "string",
642
+ "name": "admin",
643
+ "type": "string"
644
+ },
455
645
  {
456
646
  "indexed": false,
457
647
  "internalType": "address",
@@ -501,29 +691,13 @@
501
691
  "type": "function"
502
692
  },
503
693
  {
504
- "inputs": [
505
- {
506
- "internalType": "address",
507
- "name": "caller",
508
- "type": "address"
509
- },
694
+ "inputs": [],
695
+ "name": "deployer",
696
+ "outputs": [
510
697
  {
511
698
  "internalType": "address",
512
- "name": "target",
699
+ "name": "",
513
700
  "type": "address"
514
- },
515
- {
516
- "internalType": "Selector",
517
- "name": "selector",
518
- "type": "bytes4"
519
- }
520
- ],
521
- "name": "canCall",
522
- "outputs": [
523
- {
524
- "internalType": "bool",
525
- "name": "can",
526
- "type": "bool"
527
701
  }
528
702
  ],
529
703
  "stateMutability": "view",
@@ -531,12 +705,12 @@
531
705
  },
532
706
  {
533
707
  "inputs": [],
534
- "name": "deployer",
708
+ "name": "getAdminRole",
535
709
  "outputs": [
536
710
  {
537
- "internalType": "address",
538
- "name": "",
539
- "type": "address"
711
+ "internalType": "RoleId",
712
+ "name": "roleId",
713
+ "type": "uint64"
540
714
  }
541
715
  ],
542
716
  "stateMutability": "view",
@@ -544,12 +718,12 @@
544
718
  },
545
719
  {
546
720
  "inputs": [],
547
- "name": "getAdminRole",
721
+ "name": "getAuthorization",
548
722
  "outputs": [
549
723
  {
550
- "internalType": "RoleId",
551
- "name": "roleId",
552
- "type": "uint64"
724
+ "internalType": "contract IAuthorization",
725
+ "name": "authorization",
726
+ "type": "address"
553
727
  }
554
728
  ],
555
729
  "stateMutability": "view",
@@ -601,6 +775,32 @@
601
775
  "stateMutability": "view",
602
776
  "type": "function"
603
777
  },
778
+ {
779
+ "inputs": [],
780
+ "name": "getLinkedNftId",
781
+ "outputs": [
782
+ {
783
+ "internalType": "NftId",
784
+ "name": "linkedNftId",
785
+ "type": "uint96"
786
+ }
787
+ ],
788
+ "stateMutability": "view",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [],
793
+ "name": "getLinkedOwner",
794
+ "outputs": [
795
+ {
796
+ "internalType": "address",
797
+ "name": "linkedOwner",
798
+ "type": "address"
799
+ }
800
+ ],
801
+ "stateMutability": "view",
802
+ "type": "function"
803
+ },
604
804
  {
605
805
  "inputs": [],
606
806
  "name": "getPublicRole",
@@ -643,29 +843,17 @@
643
843
  {
644
844
  "inputs": [
645
845
  {
646
- "internalType": "Str",
846
+ "internalType": "string",
647
847
  "name": "name",
648
- "type": "bytes32"
848
+ "type": "string"
649
849
  }
650
850
  ],
651
851
  "name": "getRoleForName",
652
852
  "outputs": [
653
853
  {
654
- "components": [
655
- {
656
- "internalType": "RoleId",
657
- "name": "roleId",
658
- "type": "uint64"
659
- },
660
- {
661
- "internalType": "bool",
662
- "name": "exists",
663
- "type": "bool"
664
- }
665
- ],
666
- "internalType": "struct IAccess.RoleNameInfo",
667
- "name": "",
668
- "type": "tuple"
854
+ "internalType": "RoleId",
855
+ "name": "roleId",
856
+ "type": "uint64"
669
857
  }
670
858
  ],
671
859
  "stateMutability": "view",
@@ -717,11 +905,6 @@
717
905
  "name": "maxMemberCount",
718
906
  "type": "uint32"
719
907
  },
720
- {
721
- "internalType": "Str",
722
- "name": "name",
723
- "type": "bytes32"
724
- },
725
908
  {
726
909
  "internalType": "Timestamp",
727
910
  "name": "createdAt",
@@ -731,6 +914,11 @@
731
914
  "internalType": "Timestamp",
732
915
  "name": "pausedAt",
733
916
  "type": "uint40"
917
+ },
918
+ {
919
+ "internalType": "Str",
920
+ "name": "name",
921
+ "type": "bytes32"
734
922
  }
735
923
  ],
736
924
  "internalType": "struct IAccess.RoleInfo",
@@ -900,6 +1088,19 @@
900
1088
  "stateMutability": "view",
901
1089
  "type": "function"
902
1090
  },
1091
+ {
1092
+ "inputs": [],
1093
+ "name": "isLocked",
1094
+ "outputs": [
1095
+ {
1096
+ "internalType": "bool",
1097
+ "name": "locked",
1098
+ "type": "bool"
1099
+ }
1100
+ ],
1101
+ "stateMutability": "view",
1102
+ "type": "function"
1103
+ },
903
1104
  {
904
1105
  "inputs": [
905
1106
  {
@@ -1014,113 +1215,6 @@
1014
1215
  ],
1015
1216
  "stateMutability": "view",
1016
1217
  "type": "function"
1017
- },
1018
- {
1019
- "inputs": [
1020
- {
1021
- "internalType": "bytes4",
1022
- "name": "selector",
1023
- "type": "bytes4"
1024
- },
1025
- {
1026
- "internalType": "string",
1027
- "name": "name",
1028
- "type": "string"
1029
- }
1030
- ],
1031
- "name": "toFunction",
1032
- "outputs": [
1033
- {
1034
- "components": [
1035
- {
1036
- "internalType": "Str",
1037
- "name": "name",
1038
- "type": "bytes32"
1039
- },
1040
- {
1041
- "internalType": "Selector",
1042
- "name": "selector",
1043
- "type": "bytes4"
1044
- },
1045
- {
1046
- "internalType": "Timestamp",
1047
- "name": "createdAt",
1048
- "type": "uint40"
1049
- }
1050
- ],
1051
- "internalType": "struct IAccess.FunctionInfo",
1052
- "name": "",
1053
- "type": "tuple"
1054
- }
1055
- ],
1056
- "stateMutability": "view",
1057
- "type": "function"
1058
- },
1059
- {
1060
- "inputs": [
1061
- {
1062
- "internalType": "RoleId",
1063
- "name": "adminRoleId",
1064
- "type": "uint64"
1065
- },
1066
- {
1067
- "internalType": "enum IAccess.RoleType",
1068
- "name": "roleType",
1069
- "type": "uint8"
1070
- },
1071
- {
1072
- "internalType": "uint32",
1073
- "name": "maxMemberCount",
1074
- "type": "uint32"
1075
- },
1076
- {
1077
- "internalType": "string",
1078
- "name": "name",
1079
- "type": "string"
1080
- }
1081
- ],
1082
- "name": "toRole",
1083
- "outputs": [
1084
- {
1085
- "components": [
1086
- {
1087
- "internalType": "RoleId",
1088
- "name": "adminRoleId",
1089
- "type": "uint64"
1090
- },
1091
- {
1092
- "internalType": "enum IAccess.RoleType",
1093
- "name": "roleType",
1094
- "type": "uint8"
1095
- },
1096
- {
1097
- "internalType": "uint32",
1098
- "name": "maxMemberCount",
1099
- "type": "uint32"
1100
- },
1101
- {
1102
- "internalType": "Str",
1103
- "name": "name",
1104
- "type": "bytes32"
1105
- },
1106
- {
1107
- "internalType": "Timestamp",
1108
- "name": "createdAt",
1109
- "type": "uint40"
1110
- },
1111
- {
1112
- "internalType": "Timestamp",
1113
- "name": "pausedAt",
1114
- "type": "uint40"
1115
- }
1116
- ],
1117
- "internalType": "struct IAccess.RoleInfo",
1118
- "name": "",
1119
- "type": "tuple"
1120
- }
1121
- ],
1122
- "stateMutability": "view",
1123
- "type": "function"
1124
1218
  }
1125
1219
  ],
1126
1220
  "bytecode": "0x",