@etherisc/gif-next 0.0.2-d13bb9e-069 → 0.0.2-d1ee1ae-450

Sign up to get free protection for your applications and to get access to all the features.
Files changed (510) hide show
  1. package/README.md +81 -7
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1023 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +752 -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 +504 -244
  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/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +277 -20
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +400 -189
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +143 -19
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +184 -301
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +265 -31
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +103 -185
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +354 -163
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +133 -75
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +90 -167
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +209 -70
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +196 -226
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +265 -31
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +420 -348
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +262 -32
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +259 -266
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +156 -175
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +311 -228
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +756 -331
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -0
  65. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  67. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +236 -39
  69. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +144 -93
  71. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/Instance.sol/Instance.json +284 -62
  73. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +738 -325
  75. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +209 -94
  77. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +720 -305
  79. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +170 -169
  81. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +79 -59
  83. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +800 -623
  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 +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  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/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +142 -183
  106. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +247 -33
  108. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  109. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +104 -116
  111. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
  113. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +118 -135
  115. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +167 -81
  117. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +113 -51
  119. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +137 -182
  121. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +265 -31
  123. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +174 -328
  125. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +95 -109
  127. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  128. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +90 -141
  129. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  130. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +112 -163
  131. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +210 -247
  133. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  134. package/artifacts/contracts/pool/Pool.sol/Pool.json +125 -181
  135. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  136. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +472 -0
  137. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  138. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +385 -391
  139. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +143 -77
  141. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  142. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +205 -47
  143. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +98 -48
  145. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  146. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +265 -223
  147. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  148. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +265 -31
  149. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  150. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +288 -173
  151. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  152. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +118 -88
  153. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +131 -9
  155. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  156. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +170 -19
  157. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +139 -54
  159. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +117 -43
  161. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  162. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +242 -195
  163. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +86 -6
  165. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  166. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +257 -184
  167. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  168. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +727 -0
  169. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  170. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +125 -83
  171. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  172. package/artifacts/contracts/product/PricingService.sol/PricingService.json +192 -130
  173. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +93 -67
  175. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  176. package/artifacts/contracts/product/Product.sol/Product.json +255 -213
  177. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  178. package/artifacts/contracts/product/RiskService.sol/RiskService.json +167 -67
  179. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  180. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +102 -48
  181. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  182. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  183. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  184. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +107 -26
  185. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  186. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +144 -41
  187. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  188. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  189. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  190. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  191. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  192. package/artifacts/contracts/registry/Registry.sol/Registry.json +151 -62
  193. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  194. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +606 -446
  195. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  196. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  197. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  198. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +181 -74
  199. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  200. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +78 -44
  201. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  202. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  203. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  204. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  205. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  206. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +426 -258
  207. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  208. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  209. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  210. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +15 -15
  211. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  212. package/artifacts/contracts/shared/Component.sol/Component.json +94 -93
  213. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  214. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +449 -535
  215. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  216. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +106 -84
  217. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  218. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +55 -2
  219. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  220. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +573 -4
  221. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  227. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  228. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +81 -75
  229. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +394 -300
  231. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +104 -116
  233. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  235. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  236. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  237. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  238. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  239. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  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 +1 -1
  246. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  247. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  248. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +117 -134
  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 +1 -1
  254. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  255. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  256. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +18 -2
  257. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  258. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  259. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  260. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +152 -38
  261. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  262. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  263. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  264. package/artifacts/contracts/shared/Service.sol/Service.json +55 -2
  265. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +327 -73
  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 +1 -1
  270. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
  271. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  272. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +170 -117
  273. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  274. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +155 -23
  275. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  276. package/artifacts/contracts/staking/Staking.sol/Staking.json +276 -200
  277. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  278. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  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 +108 -58
  283. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  284. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +41 -73
  285. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  286. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +222 -62
  287. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  288. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +95 -49
  289. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  290. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +205 -150
  291. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  292. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +60 -50
  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 +11 -11
  296. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  299. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  301. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  303. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  304. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  305. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  306. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  307. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  309. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  310. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  311. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  313. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  315. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  316. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  317. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  319. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +69 -7
  321. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
  323. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  326. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  328. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  330. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  333. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +61 -37
  335. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  337. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  339. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  340. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  341. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +54 -22
  342. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  343. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  344. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  345. package/contracts/accounting/AccountingService.sol +261 -0
  346. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  347. package/contracts/accounting/IAccountingService.sol +45 -0
  348. package/contracts/authorization/AccessAdmin.sol +342 -230
  349. package/contracts/authorization/AccessAdminLib.sol +183 -0
  350. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  351. package/contracts/authorization/Authorization.sol +350 -206
  352. package/contracts/authorization/IAccess.sol +13 -4
  353. package/contracts/authorization/IAccessAdmin.sol +69 -34
  354. package/contracts/authorization/IAuthorization.sol +33 -7
  355. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  356. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  357. package/contracts/distribution/BasicDistribution.sol +20 -17
  358. package/contracts/distribution/BasicDistributionAuthorization.sol +22 -9
  359. package/contracts/distribution/Distribution.sol +39 -88
  360. package/contracts/distribution/DistributionService.sol +150 -95
  361. package/contracts/distribution/DistributionServiceManager.sol +1 -1
  362. package/contracts/distribution/IDistributionComponent.sol +1 -10
  363. package/contracts/distribution/IDistributionService.sol +22 -20
  364. package/contracts/examples/fire/FirePool.sol +24 -13
  365. package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
  366. package/contracts/examples/fire/FireProduct.sol +74 -51
  367. package/contracts/examples/fire/FireProductAuthorization.sol +3 -3
  368. package/contracts/examples/unpermissioned/SimpleDistribution.sol +43 -12
  369. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  370. package/contracts/examples/unpermissioned/SimpleOracle.sol +8 -12
  371. package/contracts/examples/unpermissioned/SimplePool.sol +36 -10
  372. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  373. package/contracts/examples/unpermissioned/SimpleProduct.sol +51 -29
  374. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  375. package/contracts/instance/BundleSet.sol +42 -38
  376. package/contracts/instance/IInstance.sol +60 -17
  377. package/contracts/instance/IInstanceService.sol +27 -31
  378. package/contracts/instance/Instance.sol +116 -40
  379. package/contracts/instance/InstanceAdmin.sol +282 -120
  380. package/contracts/instance/InstanceAuthorizationV3.sol +91 -59
  381. package/contracts/instance/InstanceReader.sol +187 -32
  382. package/contracts/instance/InstanceService.sol +187 -190
  383. package/contracts/instance/InstanceServiceManager.sol +1 -1
  384. package/contracts/instance/InstanceStore.sol +13 -2
  385. package/contracts/instance/RiskSet.sol +118 -0
  386. package/contracts/instance/base/BalanceStore.sol +3 -5
  387. package/contracts/instance/base/ObjectCounter.sol +1 -2
  388. package/contracts/instance/base/ObjectLifecycle.sol +4 -2
  389. package/contracts/instance/base/ObjectSet.sol +31 -33
  390. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  391. package/contracts/instance/module/IBundle.sol +6 -5
  392. package/contracts/instance/module/IComponents.sol +26 -12
  393. package/contracts/instance/module/IDistribution.sol +21 -8
  394. package/contracts/instance/module/IPolicy.sol +28 -7
  395. package/contracts/instance/module/IRisk.sol +5 -0
  396. package/contracts/oracle/BasicOracle.sol +1 -4
  397. package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
  398. package/contracts/oracle/IOracle.sol +9 -4
  399. package/contracts/oracle/IOracleService.sol +2 -1
  400. package/contracts/oracle/Oracle.sol +5 -18
  401. package/contracts/oracle/OracleService.sol +111 -82
  402. package/contracts/oracle/OracleServiceManager.sol +1 -1
  403. package/contracts/pool/BasicPool.sol +32 -25
  404. package/contracts/pool/BasicPoolAuthorization.sol +27 -9
  405. package/contracts/pool/BundleService.sol +88 -154
  406. package/contracts/pool/BundleServiceManager.sol +1 -1
  407. package/contracts/pool/IBundleService.sol +15 -43
  408. package/contracts/pool/IPoolComponent.sol +1 -7
  409. package/contracts/pool/IPoolService.sol +58 -64
  410. package/contracts/pool/Pool.sol +112 -122
  411. package/contracts/pool/PoolLib.sol +309 -0
  412. package/contracts/pool/PoolService.sol +280 -256
  413. package/contracts/pool/PoolServiceManager.sol +1 -1
  414. package/contracts/product/ApplicationService.sol +43 -16
  415. package/contracts/product/ApplicationServiceManager.sol +1 -1
  416. package/contracts/product/BasicProduct.sol +9 -13
  417. package/contracts/product/BasicProductAuthorization.sol +26 -11
  418. package/contracts/product/ClaimService.sol +210 -151
  419. package/contracts/product/ClaimServiceManager.sol +1 -1
  420. package/contracts/product/IApplicationService.sol +8 -2
  421. package/contracts/product/IClaimService.sol +14 -2
  422. package/contracts/product/IPolicyService.sol +26 -11
  423. package/contracts/product/IPricingService.sol +10 -9
  424. package/contracts/product/IProductComponent.sol +10 -1
  425. package/contracts/product/IRiskService.sol +7 -7
  426. package/contracts/product/PolicyService.sol +246 -292
  427. package/contracts/product/PolicyServiceLib.sol +119 -0
  428. package/contracts/product/PolicyServiceManager.sol +1 -1
  429. package/contracts/product/PricingService.sol +37 -28
  430. package/contracts/product/PricingServiceManager.sol +3 -3
  431. package/contracts/product/Product.sol +101 -64
  432. package/contracts/product/RiskService.sol +92 -31
  433. package/contracts/product/RiskServiceManager.sol +1 -1
  434. package/contracts/registry/ChainNft.sol +10 -11
  435. package/contracts/registry/IRegistry.sol +18 -18
  436. package/contracts/registry/IRegistryService.sol +6 -4
  437. package/contracts/registry/IRelease.sol +29 -0
  438. package/contracts/registry/ITransferInterceptor.sol +1 -2
  439. package/contracts/registry/Registry.sol +29 -6
  440. package/contracts/registry/RegistryAdmin.sol +145 -351
  441. package/contracts/registry/RegistryAuthorization.sol +271 -0
  442. package/contracts/registry/RegistryService.sol +40 -58
  443. package/contracts/registry/RegistryServiceManager.sol +1 -1
  444. package/contracts/registry/ReleaseAdmin.sol +253 -0
  445. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  446. package/contracts/registry/ReleaseRegistry.sol +271 -245
  447. package/contracts/registry/ServiceAuthorizationV3.sol +182 -48
  448. package/contracts/registry/TokenRegistry.sol +10 -9
  449. package/contracts/shared/Component.sol +61 -119
  450. package/contracts/shared/ComponentService.sol +391 -371
  451. package/contracts/shared/ComponentServiceManager.sol +1 -1
  452. package/contracts/shared/ComponentVerifyingService.sol +27 -15
  453. package/contracts/shared/ContractLib.sol +312 -3
  454. package/contracts/shared/IComponent.sol +5 -17
  455. package/contracts/shared/IComponentService.sol +42 -40
  456. package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
  457. package/contracts/shared/ILifecycle.sol +3 -1
  458. package/contracts/shared/INftOwnable.sol +2 -0
  459. package/contracts/shared/IRegisterable.sol +23 -1
  460. package/contracts/shared/IService.sol +3 -5
  461. package/contracts/shared/InitializableERC165.sol +9 -1
  462. package/contracts/shared/InstanceLinkedComponent.sol +68 -45
  463. package/contracts/shared/KeyValueStore.sol +1 -1
  464. package/contracts/shared/Lifecycle.sol +15 -4
  465. package/contracts/shared/NftOwnable.sol +27 -7
  466. package/contracts/shared/PolicyHolder.sol +1 -1
  467. package/contracts/shared/Registerable.sol +50 -19
  468. package/contracts/shared/RegistryLinked.sol +7 -13
  469. package/contracts/shared/Service.sol +9 -31
  470. package/contracts/shared/TokenHandler.sol +275 -72
  471. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  472. package/contracts/staking/IStaking.sol +23 -12
  473. package/contracts/staking/IStakingService.sol +19 -4
  474. package/contracts/staking/Staking.sol +103 -51
  475. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +80 -23
  476. package/contracts/staking/StakingReader.sol +18 -21
  477. package/contracts/staking/StakingService.sol +84 -24
  478. package/contracts/staking/StakingServiceManager.sol +5 -4
  479. package/contracts/staking/StakingStore.sol +2 -1
  480. package/contracts/type/Fee.sol +8 -8
  481. package/contracts/type/Key32.sol +2 -2
  482. package/contracts/type/Key32Set.sol +62 -0
  483. package/contracts/type/NftId.sol +6 -0
  484. package/contracts/type/ObjectType.sol +54 -35
  485. package/contracts/type/RiskId.sol +26 -8
  486. package/contracts/type/RoleId.sol +23 -15
  487. package/contracts/type/Selector.sol +5 -0
  488. package/contracts/type/StateId.sol +14 -1
  489. package/contracts/type/Timestamp.sol +0 -5
  490. package/contracts/type/UFixed.sol +34 -127
  491. package/contracts/type/Version.sol +54 -5
  492. package/contracts/upgradeability/ProxyManager.sol +13 -10
  493. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +7 -1
  494. package/package.json +5 -4
  495. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  496. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  497. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  498. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  499. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  500. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  501. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  502. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  503. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  504. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  505. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  506. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  507. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  508. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  509. package/contracts/instance/module/IAccess.sol +0 -46
  510. package/contracts/shared/InitializableCustom.sol +0 -177
@@ -0,0 +1,673 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "AccessAdminLib",
4
+ "sourceName": "contracts/authorization/AccessAdminLib.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authorization",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "ErrorAccessAdminAlreadyInitialized",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "authorization",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "ObjectType",
26
+ "name": "expectedDomain",
27
+ "type": "uint8"
28
+ },
29
+ {
30
+ "internalType": "ObjectType",
31
+ "name": "actualDomain",
32
+ "type": "uint8"
33
+ }
34
+ ],
35
+ "name": "ErrorAccessAdminDomainMismatch",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "authorization",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "ErrorAccessAdminNotAuthorization",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "registerable",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorAccessAdminNotRegistered",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "address",
64
+ "name": "authorization",
65
+ "type": "address"
66
+ },
67
+ {
68
+ "internalType": "VersionPart",
69
+ "name": "expectedRelease",
70
+ "type": "uint8"
71
+ },
72
+ {
73
+ "internalType": "VersionPart",
74
+ "name": "actualRelease",
75
+ "type": "uint8"
76
+ }
77
+ ],
78
+ "name": "ErrorAccessAdminReleaseMismatch",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "RoleId",
85
+ "name": "adminRoleId",
86
+ "type": "uint64"
87
+ }
88
+ ],
89
+ "name": "ErrorAccessAdminRoleAdminNotExisting",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "RoleId",
96
+ "name": "roleId",
97
+ "type": "uint64"
98
+ },
99
+ {
100
+ "internalType": "string",
101
+ "name": "name",
102
+ "type": "string"
103
+ }
104
+ ],
105
+ "name": "ErrorAccessAdminRoleAlreadyCreated",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "RoleId",
112
+ "name": "roleId",
113
+ "type": "uint64"
114
+ },
115
+ {
116
+ "internalType": "string",
117
+ "name": "name",
118
+ "type": "string"
119
+ },
120
+ {
121
+ "internalType": "RoleId",
122
+ "name": "existingRoleId",
123
+ "type": "uint64"
124
+ }
125
+ ],
126
+ "name": "ErrorAccessAdminRoleNameAlreadyExists",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "RoleId",
133
+ "name": "roleId",
134
+ "type": "uint64"
135
+ }
136
+ ],
137
+ "name": "ErrorAccessAdminRoleNameEmpty",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "address",
144
+ "name": "target",
145
+ "type": "address"
146
+ },
147
+ {
148
+ "internalType": "string",
149
+ "name": "name",
150
+ "type": "string"
151
+ }
152
+ ],
153
+ "name": "ErrorAccessAdminTargetAlreadyCreated",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "address",
160
+ "name": "expectedAuthority",
161
+ "type": "address"
162
+ },
163
+ {
164
+ "internalType": "address",
165
+ "name": "actualAuthority",
166
+ "type": "address"
167
+ }
168
+ ],
169
+ "name": "ErrorAccessAdminTargetAuthorityMismatch",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "address",
176
+ "name": "target",
177
+ "type": "address"
178
+ },
179
+ {
180
+ "internalType": "string",
181
+ "name": "name",
182
+ "type": "string"
183
+ },
184
+ {
185
+ "internalType": "address",
186
+ "name": "existingTarget",
187
+ "type": "address"
188
+ }
189
+ ],
190
+ "name": "ErrorAccessAdminTargetNameAlreadyExists",
191
+ "type": "error"
192
+ },
193
+ {
194
+ "inputs": [
195
+ {
196
+ "internalType": "address",
197
+ "name": "target",
198
+ "type": "address"
199
+ }
200
+ ],
201
+ "name": "ErrorAccessAdminTargetNameEmpty",
202
+ "type": "error"
203
+ },
204
+ {
205
+ "inputs": [
206
+ {
207
+ "internalType": "address",
208
+ "name": "target",
209
+ "type": "address"
210
+ }
211
+ ],
212
+ "name": "ErrorAccessAdminTargetNotAccessManaged",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "inputs": [
217
+ {
218
+ "internalType": "address",
219
+ "name": "target",
220
+ "type": "address"
221
+ },
222
+ {
223
+ "internalType": "ObjectType",
224
+ "name": "expectedType",
225
+ "type": "uint8"
226
+ },
227
+ {
228
+ "internalType": "ObjectType",
229
+ "name": "actualType",
230
+ "type": "uint8"
231
+ }
232
+ ],
233
+ "name": "ErrorAccessAdminTargetTypeMismatch",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "address",
240
+ "name": "authorizationOld",
241
+ "type": "address"
242
+ },
243
+ {
244
+ "internalType": "address",
245
+ "name": "authorization",
246
+ "type": "address"
247
+ },
248
+ {
249
+ "internalType": "ObjectType",
250
+ "name": "expectedDomain",
251
+ "type": "uint8"
252
+ },
253
+ {
254
+ "internalType": "VersionPart",
255
+ "name": "expectedRelease",
256
+ "type": "uint8"
257
+ },
258
+ {
259
+ "internalType": "bool",
260
+ "name": "checkAlreadyInitialized",
261
+ "type": "bool"
262
+ }
263
+ ],
264
+ "name": "checkAuthorization",
265
+ "outputs": [],
266
+ "stateMutability": "view",
267
+ "type": "function"
268
+ },
269
+ {
270
+ "inputs": [
271
+ {
272
+ "internalType": "address",
273
+ "name": "registry",
274
+ "type": "address"
275
+ },
276
+ {
277
+ "internalType": "address",
278
+ "name": "target",
279
+ "type": "address"
280
+ },
281
+ {
282
+ "internalType": "ObjectType",
283
+ "name": "expectedType",
284
+ "type": "uint8"
285
+ }
286
+ ],
287
+ "name": "checkIsRegistered",
288
+ "outputs": [],
289
+ "stateMutability": "view",
290
+ "type": "function"
291
+ },
292
+ {
293
+ "inputs": [
294
+ {
295
+ "internalType": "contract IAccessAdmin",
296
+ "name": "accessAdmin",
297
+ "type": "IAccessAdmin"
298
+ },
299
+ {
300
+ "internalType": "RoleId",
301
+ "name": "roleId",
302
+ "type": "uint64"
303
+ },
304
+ {
305
+ "components": [
306
+ {
307
+ "internalType": "RoleId",
308
+ "name": "adminRoleId",
309
+ "type": "uint64"
310
+ },
311
+ {
312
+ "internalType": "enum IAccess.RoleType",
313
+ "name": "roleType",
314
+ "type": "IAccess.RoleType"
315
+ },
316
+ {
317
+ "internalType": "uint32",
318
+ "name": "maxMemberCount",
319
+ "type": "uint32"
320
+ },
321
+ {
322
+ "internalType": "Timestamp",
323
+ "name": "createdAt",
324
+ "type": "uint40"
325
+ },
326
+ {
327
+ "internalType": "Timestamp",
328
+ "name": "pausedAt",
329
+ "type": "uint40"
330
+ },
331
+ {
332
+ "internalType": "Str",
333
+ "name": "name",
334
+ "type": "bytes32"
335
+ }
336
+ ],
337
+ "internalType": "struct IAccess.RoleInfo",
338
+ "name": "info",
339
+ "type": "tuple"
340
+ }
341
+ ],
342
+ "name": "checkRoleCreation",
343
+ "outputs": [],
344
+ "stateMutability": "view",
345
+ "type": "function"
346
+ },
347
+ {
348
+ "inputs": [
349
+ {
350
+ "internalType": "contract IAccessAdmin",
351
+ "name": "accessAdmin",
352
+ "type": "IAccessAdmin"
353
+ },
354
+ {
355
+ "internalType": "address",
356
+ "name": "target",
357
+ "type": "address"
358
+ },
359
+ {
360
+ "internalType": "string",
361
+ "name": "targetName",
362
+ "type": "string"
363
+ },
364
+ {
365
+ "internalType": "bool",
366
+ "name": "checkAuthority",
367
+ "type": "bool"
368
+ }
369
+ ],
370
+ "name": "checkTargetCreation",
371
+ "outputs": [],
372
+ "stateMutability": "view",
373
+ "type": "function"
374
+ },
375
+ {
376
+ "inputs": [
377
+ {
378
+ "internalType": "bytes4",
379
+ "name": "selector",
380
+ "type": "bytes4"
381
+ },
382
+ {
383
+ "internalType": "string",
384
+ "name": "name",
385
+ "type": "string"
386
+ }
387
+ ],
388
+ "name": "toFunction",
389
+ "outputs": [
390
+ {
391
+ "components": [
392
+ {
393
+ "internalType": "Str",
394
+ "name": "name",
395
+ "type": "bytes32"
396
+ },
397
+ {
398
+ "internalType": "Selector",
399
+ "name": "selector",
400
+ "type": "bytes4"
401
+ },
402
+ {
403
+ "internalType": "Timestamp",
404
+ "name": "createdAt",
405
+ "type": "uint40"
406
+ }
407
+ ],
408
+ "internalType": "struct IAccess.FunctionInfo",
409
+ "name": "",
410
+ "type": "tuple"
411
+ }
412
+ ],
413
+ "stateMutability": "view",
414
+ "type": "function"
415
+ },
416
+ {
417
+ "inputs": [
418
+ {
419
+ "internalType": "RoleId",
420
+ "name": "adminRoleId",
421
+ "type": "uint64"
422
+ },
423
+ {
424
+ "internalType": "enum IAccess.RoleType",
425
+ "name": "roleType",
426
+ "type": "IAccess.RoleType"
427
+ },
428
+ {
429
+ "internalType": "uint32",
430
+ "name": "maxMemberCount",
431
+ "type": "uint32"
432
+ },
433
+ {
434
+ "internalType": "string",
435
+ "name": "name",
436
+ "type": "string"
437
+ }
438
+ ],
439
+ "name": "toRole",
440
+ "outputs": [
441
+ {
442
+ "components": [
443
+ {
444
+ "internalType": "RoleId",
445
+ "name": "adminRoleId",
446
+ "type": "uint64"
447
+ },
448
+ {
449
+ "internalType": "enum IAccess.RoleType",
450
+ "name": "roleType",
451
+ "type": "IAccess.RoleType"
452
+ },
453
+ {
454
+ "internalType": "uint32",
455
+ "name": "maxMemberCount",
456
+ "type": "uint32"
457
+ },
458
+ {
459
+ "internalType": "Timestamp",
460
+ "name": "createdAt",
461
+ "type": "uint40"
462
+ },
463
+ {
464
+ "internalType": "Timestamp",
465
+ "name": "pausedAt",
466
+ "type": "uint40"
467
+ },
468
+ {
469
+ "internalType": "Str",
470
+ "name": "name",
471
+ "type": "bytes32"
472
+ }
473
+ ],
474
+ "internalType": "struct IAccess.RoleInfo",
475
+ "name": "",
476
+ "type": "tuple"
477
+ }
478
+ ],
479
+ "stateMutability": "view",
480
+ "type": "function"
481
+ }
482
+ ],
483
+ "bytecode": "0x611b91610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c806301c7b6b21461006f57806315fb0abb146100845780634924730a146100cf5780635a819662146100e25780639b7ec44c14610102578063cdfdf2a814610115575b5f80fd5b61008261007d36600461126b565b610128565b005b6100976100923660046113f3565b61036d565b60408051825181526020808401516001600160e01b031916908201529181015164ffffffffff16908201526060015b60405180910390f35b6100826100dd36600461143f565b610510565b6100f56100f03660046114e0565b610a41565b6040516100c69190611564565b6100826101103660046115ee565b610c1e565b610082610123366004611648565b610d78565b80801561013d57506001600160a01b03851615155b1561016b57604051631032fd6b60e01b81526001600160a01b03861660048201526024015b60405180910390fd5b60405163d905700760e01b81526001600160a01b0385166004820152632d137dd560e01b602482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9063d905700790604401602060405180830381865af41580156101ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101f29190611713565b61021a57604051637737699b60e01b81526001600160a01b0385166004820152602401610162565b5f846001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015610257573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061027b9190611740565b905060ff808216908516146102bf5760405163a1eb7bc960e01b81526001600160a01b038616600482015260ff808616602483015282166044820152606401610162565b5f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103209190611740565b905060ff8082169085161461036457604051630fc1a0bf60e41b81526001600160a01b038716600482015260ff808616602483015282166044820152606401610162565b50505050505050565b60408051606080820183525f808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696103c48660648501611789565b602060405180830381865af41580156103df573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610403919061179b565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015610462573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061048691906117b2565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156104dc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061050091906117cd565b64ffffffffff1690529392505050565b60405163302d508560e11b81526001600160a01b03848116600483015285169063605aa10a90602401602060405180830381865afa158015610554573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105789190611713565b15610679576040516312e1ebc560e01b81526001600160a01b0380851660048301528491908616906312e1ebc590602401606060405180830381865afa1580156105c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e891906117e8565b51604051631623433d60e31b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063b11a19e8906024015f60405180830381865af4158015610637573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261065e9190810190611886565b604051630bf898a560e31b81526004016101629291906118d2565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906106b2908690600401611789565b602060405180830381865af41580156106cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f1919061179b565b60405163a9dbaf2560e01b81526004810182905290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063a9dbaf2590602401602060405180830381865af4158015610742573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610766919061179b565b5f0361079057604051638a0b84e560e01b81526001600160a01b0385166004820152602401610162565b604051631a0358a960e11b8152600481018290525f906001600160a01b03871690633406b15290602401602060405180830381865afa1580156107d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f99190611900565b90506001600160a01b038116156108295784848260405163375fd50360e11b81526004016101629392919061191b565b6040516303d2026b60e21b81526001600160a01b038616600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90630f4809ac90602401602060405180830381865af415801561087f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190611713565b6108cb57604051637693f8d560e01b81526001600160a01b0386166004820152602401610162565b8215610a39575f856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561090e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109329190611900565b9050866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610970573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109949190611900565b6001600160a01b0316816001600160a01b03161461036457866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109e8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a0c9190611900565b604051630deaa28d60e31b81526001600160a01b0391821660048201529082166024820152604401610162565b505050505050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b03168152602001856003811115610a9e57610a9e611550565b81526020018463ffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610af6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1a91906117cd565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b9191906117cd565b64ffffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610bd49190611789565b602060405180830381865af4158015610bef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c13919061179b565b905295945050505050565b6040516308b09a5f60e41b81526001600160a01b0383811660048301525f9190851690638b09a5f0906024015f60405180830381865afa158015610c64573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8b919081019061198f565b604090810151905163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015610ce3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d079190611713565b15610d3057604051633b69638960e11b81526001600160a01b0384166004820152602401610162565b60ff80821690831614610d725760405163b1feebfb60e01b81526001600160a01b038416600482015260ff808416602483015282166044820152606401610162565b50505050565b60405163c6a0017960e01b81526001600160401b03831660048201526001600160a01b0384169063c6a0017990602401602060405180830381865afa158015610dc3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de79190611713565b15610ef157604051635bfa502760e01b81526001600160401b038316600482015282906001600160a01b03851690635bfa50279060240160c060405180830381865afa158015610e39573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e5d9190611a5f565b60a00151604051631623433d60e31b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063b11a19e8906024015f60405180830381865af4158015610eaf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ed69190810190611886565b60405163c2f92fd360e01b8152600401610162929190611ae5565b805160405163c6a0017960e01b81526001600160401b0390911660048201526001600160a01b0384169063c6a0017990602401602060405180830381865afa158015610f3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f639190611713565b610f8e578051604051634731add760e11b81526001600160401b039091166004820152602401610162565b60a081015160405163a9dbaf2560e01b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063a9dbaf2590602401602060405180830381865af4158015610fe2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611006919061179b565b5f036110305760405163ce242fe760e01b81526001600160401b0383166004820152602401610162565b5f836001600160a01b0316639cad005273__$9a094f9b231ed0f5f85a69be8408d93180$__63b11a19e88560a001516040518263ffffffff1660e01b815260040161107d91815260200190565b5f60405180830381865af4158015611097573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110be9190810190611886565b6040518263ffffffff1660e01b81526004016110da9190611789565b602060405180830381865afa1580156110f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111199190611b06565b60405163a42e52e960e01b81526001600160401b038216600482015290915073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401602060405180830381865af4158015611172573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111969190611713565b15610d725760a0820151604051631623433d60e31b8152849173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e8916111db9160040190815260200190565b5f60405180830381865af41580156111f5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261121c9190810190611886565b8260405163ab0b63a360e01b815260040161016293929190611b21565b6001600160a01b038116811461124d575f80fd5b50565b60ff8116811461124d575f80fd5b801515811461124d575f80fd5b5f805f805f60a0868803121561127f575f80fd5b853561128a81611239565b9450602086013561129a81611239565b935060408601356112aa81611250565b925060608601356112ba81611250565b915060808601356112ca8161125e565b809150509295509295909350565b6001600160e01b03198116811461124d575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b0381118282101715611323576113236112ed565b60405290565b60405160e081016001600160401b0381118282101715611323576113236112ed565b604051601f8201601f191681016001600160401b0381118282101715611373576113736112ed565b604052919050565b5f6001600160401b03821115611393576113936112ed565b50601f01601f191660200190565b5f82601f8301126113b0575f80fd5b81356113c36113be8261137b565b61134b565b8181528460208386010111156113d7575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611404575f80fd5b823561140f816112d8565b915060208301356001600160401b03811115611429575f80fd5b611435858286016113a1565b9150509250929050565b5f805f8060808587031215611452575f80fd5b843561145d81611239565b9350602085013561146d81611239565b925060408501356001600160401b03811115611487575f80fd5b611493878288016113a1565b92505060608501356114a48161125e565b939692955090935050565b6001600160401b038116811461124d575f80fd5b6004811061124d575f80fd5b63ffffffff8116811461124d575f80fd5b5f805f80608085870312156114f3575f80fd5b84356114fe816114af565b9350602085013561150e816114c3565b9250604085013561151e816114cf565b915060608501356001600160401b03811115611538575f80fd5b611544878288016113a1565b91505092959194509250565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c08201906004811061159757634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff604084015116604083015260608301516115c6606084018264ffffffffff169052565b5060808301516115df608084018264ffffffffff169052565b5060a092830151919092015290565b5f805f60608486031215611600575f80fd5b833561160b81611239565b9250602084013561161b81611239565b9150604084013561162b81611250565b809150509250925092565b64ffffffffff8116811461124d575f80fd5b5f805f83850361010081121561165c575f80fd5b843561166781611239565b93506020850135611677816114af565b925060c0603f198201121561168a575f80fd5b50611693611301565b60408501356116a1816114af565b815260608501356116b1816114c3565b602082015260808501356116c4816114cf565b604082015260a08501356116d781611636565b606082015260c08501356116ea81611636565b608082015260e0949094013560a0850152509093909250565b805161170e8161125e565b919050565b5f60208284031215611723575f80fd5b815161172e8161125e565b9392505050565b805161170e81611250565b5f60208284031215611750575f80fd5b815161172e81611250565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61172e602083018461175b565b5f602082840312156117ab575f80fd5b5051919050565b5f602082840312156117c2575f80fd5b815161172e816112d8565b5f602082840312156117dd575f80fd5b815161172e81611636565b5f60608284031280156117f9575f80fd5b50604051606081016001600160401b038111828210171561181c5761181c6112ed565b6040528251815260208301516118318161125e565b6020820152604083015161184481611636565b60408201529392505050565b5f61185d6113be8461137b565b9050828152838383011115611870575f80fd5b8282602083015e5f602084830101529392505050565b5f60208284031215611896575f80fd5b81516001600160401b038111156118ab575f80fd5b8201601f810184136118bb575f80fd5b6118ca84825160208401611850565b949350505050565b6001600160a01b03831681526040602082018190525f906118ca9083018461175b565b805161170e81611239565b5f60208284031215611910575f80fd5b815161172e81611239565b6001600160a01b03841681526060602082018190525f9061193e9083018561175b565b905060018060a01b0383166040830152949350505050565b80516bffffffffffffffffffffffff8116811461170e575f80fd5b5f82601f830112611980575f80fd5b61172e83835160208501611850565b5f6020828403121561199f575f80fd5b81516001600160401b038111156119b4575f80fd5b820160e081850312156119c5575f80fd5b6119cd611329565b6119d682611956565b81526119e460208301611956565b60208201526119f560408301611735565b6040820152611a0660608301611703565b6060820152611a17608083016118f5565b6080820152611a2860a083016118f5565b60a082015260c08201516001600160401b03811115611a45575f80fd5b611a5186828501611971565b60c083015250949350505050565b5f60c0828403128015611a70575f80fd5b50611a79611301565b8251611a84816114af565b81526020830151611a94816114c3565b60208201526040830151611aa7816114cf565b60408201526060830151611aba81611636565b60608201526080830151611acd81611636565b608082015260a0928301519281019290925250919050565b6001600160401b0383168152604060208201525f6118ca604083018461175b565b5f60208284031215611b16575f80fd5b815161172e816114af565b6001600160401b0384168152606060208201525f611b42606083018561175b565b90506001600160401b038316604083015294935050505056fea264697066735822122032df2fb6ef3f29bbb3505bec7ceafff6afa698a7ad64817faaf77fe91f23ae6864736f6c634300081a0033",
484
+ "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c806301c7b6b21461006f57806315fb0abb146100845780634924730a146100cf5780635a819662146100e25780639b7ec44c14610102578063cdfdf2a814610115575b5f80fd5b61008261007d36600461126b565b610128565b005b6100976100923660046113f3565b61036d565b60408051825181526020808401516001600160e01b031916908201529181015164ffffffffff16908201526060015b60405180910390f35b6100826100dd36600461143f565b610510565b6100f56100f03660046114e0565b610a41565b6040516100c69190611564565b6100826101103660046115ee565b610c1e565b610082610123366004611648565b610d78565b80801561013d57506001600160a01b03851615155b1561016b57604051631032fd6b60e01b81526001600160a01b03861660048201526024015b60405180910390fd5b60405163d905700760e01b81526001600160a01b0385166004820152632d137dd560e01b602482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9063d905700790604401602060405180830381865af41580156101ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101f29190611713565b61021a57604051637737699b60e01b81526001600160a01b0385166004820152602401610162565b5f846001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015610257573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061027b9190611740565b905060ff808216908516146102bf5760405163a1eb7bc960e01b81526001600160a01b038616600482015260ff808616602483015282166044820152606401610162565b5f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103209190611740565b905060ff8082169085161461036457604051630fc1a0bf60e41b81526001600160a01b038716600482015260ff808616602483015282166044820152606401610162565b50505050505050565b60408051606080820183525f808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696103c48660648501611789565b602060405180830381865af41580156103df573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610403919061179b565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015610462573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061048691906117b2565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156104dc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061050091906117cd565b64ffffffffff1690529392505050565b60405163302d508560e11b81526001600160a01b03848116600483015285169063605aa10a90602401602060405180830381865afa158015610554573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105789190611713565b15610679576040516312e1ebc560e01b81526001600160a01b0380851660048301528491908616906312e1ebc590602401606060405180830381865afa1580156105c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e891906117e8565b51604051631623433d60e31b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063b11a19e8906024015f60405180830381865af4158015610637573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261065e9190810190611886565b604051630bf898a560e31b81526004016101629291906118d2565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906106b2908690600401611789565b602060405180830381865af41580156106cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f1919061179b565b60405163a9dbaf2560e01b81526004810182905290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063a9dbaf2590602401602060405180830381865af4158015610742573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610766919061179b565b5f0361079057604051638a0b84e560e01b81526001600160a01b0385166004820152602401610162565b604051631a0358a960e11b8152600481018290525f906001600160a01b03871690633406b15290602401602060405180830381865afa1580156107d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f99190611900565b90506001600160a01b038116156108295784848260405163375fd50360e11b81526004016101629392919061191b565b6040516303d2026b60e21b81526001600160a01b038616600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90630f4809ac90602401602060405180830381865af415801561087f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190611713565b6108cb57604051637693f8d560e01b81526001600160a01b0386166004820152602401610162565b8215610a39575f856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561090e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109329190611900565b9050866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610970573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109949190611900565b6001600160a01b0316816001600160a01b03161461036457866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109e8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a0c9190611900565b604051630deaa28d60e31b81526001600160a01b0391821660048201529082166024820152604401610162565b505050505050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b03168152602001856003811115610a9e57610a9e611550565b81526020018463ffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610af6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1a91906117cd565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b9191906117cd565b64ffffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610bd49190611789565b602060405180830381865af4158015610bef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c13919061179b565b905295945050505050565b6040516308b09a5f60e41b81526001600160a01b0383811660048301525f9190851690638b09a5f0906024015f60405180830381865afa158015610c64573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8b919081019061198f565b604090810151905163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015610ce3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d079190611713565b15610d3057604051633b69638960e11b81526001600160a01b0384166004820152602401610162565b60ff80821690831614610d725760405163b1feebfb60e01b81526001600160a01b038416600482015260ff808416602483015282166044820152606401610162565b50505050565b60405163c6a0017960e01b81526001600160401b03831660048201526001600160a01b0384169063c6a0017990602401602060405180830381865afa158015610dc3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de79190611713565b15610ef157604051635bfa502760e01b81526001600160401b038316600482015282906001600160a01b03851690635bfa50279060240160c060405180830381865afa158015610e39573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e5d9190611a5f565b60a00151604051631623433d60e31b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063b11a19e8906024015f60405180830381865af4158015610eaf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ed69190810190611886565b60405163c2f92fd360e01b8152600401610162929190611ae5565b805160405163c6a0017960e01b81526001600160401b0390911660048201526001600160a01b0384169063c6a0017990602401602060405180830381865afa158015610f3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f639190611713565b610f8e578051604051634731add760e11b81526001600160401b039091166004820152602401610162565b60a081015160405163a9dbaf2560e01b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063a9dbaf2590602401602060405180830381865af4158015610fe2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611006919061179b565b5f036110305760405163ce242fe760e01b81526001600160401b0383166004820152602401610162565b5f836001600160a01b0316639cad005273__$9a094f9b231ed0f5f85a69be8408d93180$__63b11a19e88560a001516040518263ffffffff1660e01b815260040161107d91815260200190565b5f60405180830381865af4158015611097573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110be9190810190611886565b6040518263ffffffff1660e01b81526004016110da9190611789565b602060405180830381865afa1580156110f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111199190611b06565b60405163a42e52e960e01b81526001600160401b038216600482015290915073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401602060405180830381865af4158015611172573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111969190611713565b15610d725760a0820151604051631623433d60e31b8152849173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e8916111db9160040190815260200190565b5f60405180830381865af41580156111f5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261121c9190810190611886565b8260405163ab0b63a360e01b815260040161016293929190611b21565b6001600160a01b038116811461124d575f80fd5b50565b60ff8116811461124d575f80fd5b801515811461124d575f80fd5b5f805f805f60a0868803121561127f575f80fd5b853561128a81611239565b9450602086013561129a81611239565b935060408601356112aa81611250565b925060608601356112ba81611250565b915060808601356112ca8161125e565b809150509295509295909350565b6001600160e01b03198116811461124d575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b0381118282101715611323576113236112ed565b60405290565b60405160e081016001600160401b0381118282101715611323576113236112ed565b604051601f8201601f191681016001600160401b0381118282101715611373576113736112ed565b604052919050565b5f6001600160401b03821115611393576113936112ed565b50601f01601f191660200190565b5f82601f8301126113b0575f80fd5b81356113c36113be8261137b565b61134b565b8181528460208386010111156113d7575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611404575f80fd5b823561140f816112d8565b915060208301356001600160401b03811115611429575f80fd5b611435858286016113a1565b9150509250929050565b5f805f8060808587031215611452575f80fd5b843561145d81611239565b9350602085013561146d81611239565b925060408501356001600160401b03811115611487575f80fd5b611493878288016113a1565b92505060608501356114a48161125e565b939692955090935050565b6001600160401b038116811461124d575f80fd5b6004811061124d575f80fd5b63ffffffff8116811461124d575f80fd5b5f805f80608085870312156114f3575f80fd5b84356114fe816114af565b9350602085013561150e816114c3565b9250604085013561151e816114cf565b915060608501356001600160401b03811115611538575f80fd5b611544878288016113a1565b91505092959194509250565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c08201906004811061159757634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff604084015116604083015260608301516115c6606084018264ffffffffff169052565b5060808301516115df608084018264ffffffffff169052565b5060a092830151919092015290565b5f805f60608486031215611600575f80fd5b833561160b81611239565b9250602084013561161b81611239565b9150604084013561162b81611250565b809150509250925092565b64ffffffffff8116811461124d575f80fd5b5f805f83850361010081121561165c575f80fd5b843561166781611239565b93506020850135611677816114af565b925060c0603f198201121561168a575f80fd5b50611693611301565b60408501356116a1816114af565b815260608501356116b1816114c3565b602082015260808501356116c4816114cf565b604082015260a08501356116d781611636565b606082015260c08501356116ea81611636565b608082015260e0949094013560a0850152509093909250565b805161170e8161125e565b919050565b5f60208284031215611723575f80fd5b815161172e8161125e565b9392505050565b805161170e81611250565b5f60208284031215611750575f80fd5b815161172e81611250565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61172e602083018461175b565b5f602082840312156117ab575f80fd5b5051919050565b5f602082840312156117c2575f80fd5b815161172e816112d8565b5f602082840312156117dd575f80fd5b815161172e81611636565b5f60608284031280156117f9575f80fd5b50604051606081016001600160401b038111828210171561181c5761181c6112ed565b6040528251815260208301516118318161125e565b6020820152604083015161184481611636565b60408201529392505050565b5f61185d6113be8461137b565b9050828152838383011115611870575f80fd5b8282602083015e5f602084830101529392505050565b5f60208284031215611896575f80fd5b81516001600160401b038111156118ab575f80fd5b8201601f810184136118bb575f80fd5b6118ca84825160208401611850565b949350505050565b6001600160a01b03831681526040602082018190525f906118ca9083018461175b565b805161170e81611239565b5f60208284031215611910575f80fd5b815161172e81611239565b6001600160a01b03841681526060602082018190525f9061193e9083018561175b565b905060018060a01b0383166040830152949350505050565b80516bffffffffffffffffffffffff8116811461170e575f80fd5b5f82601f830112611980575f80fd5b61172e83835160208501611850565b5f6020828403121561199f575f80fd5b81516001600160401b038111156119b4575f80fd5b820160e081850312156119c5575f80fd5b6119cd611329565b6119d682611956565b81526119e460208301611956565b60208201526119f560408301611735565b6040820152611a0660608301611703565b6060820152611a17608083016118f5565b6080820152611a2860a083016118f5565b60a082015260c08201516001600160401b03811115611a45575f80fd5b611a5186828501611971565b60c083015250949350505050565b5f60c0828403128015611a70575f80fd5b50611a79611301565b8251611a84816114af565b81526020830151611a94816114c3565b60208201526040830151611aa7816114cf565b60408201526060830151611aba81611636565b60608201526080830151611acd81611636565b608082015260a0928301519281019290925250919050565b6001600160401b0383168152604060208201525f6118ca604083018461175b565b5f60208284031215611b16575f80fd5b815161172e816114af565b6001600160401b0384168152606060208201525f611b42606083018561175b565b90506001600160401b038316604083015294935050505056fea264697066735822122032df2fb6ef3f29bbb3505bec7ceafff6afa698a7ad64817faaf77fe91f23ae6864736f6c634300081a0033",
485
+ "linkReferences": {
486
+ "contracts/shared/ContractLib.sol": {
487
+ "ContractLib": [
488
+ {
489
+ "length": 20,
490
+ "start": 458
491
+ },
492
+ {
493
+ "length": 20,
494
+ "start": 2171
495
+ }
496
+ ]
497
+ },
498
+ "contracts/type/ObjectType.sol": {
499
+ "ObjectTypeLib": [
500
+ {
501
+ "length": 20,
502
+ "start": 3295
503
+ }
504
+ ]
505
+ },
506
+ "contracts/type/RoleId.sol": {
507
+ "RoleIdLib": [
508
+ {
509
+ "length": 20,
510
+ "start": 4462
511
+ }
512
+ ]
513
+ },
514
+ "contracts/type/Selector.sol": {
515
+ "SelectorLib": [
516
+ {
517
+ "length": 20,
518
+ "start": 1118
519
+ }
520
+ ]
521
+ },
522
+ "contracts/type/String.sol": {
523
+ "StrLib": [
524
+ {
525
+ "length": 20,
526
+ "start": 979
527
+ },
528
+ {
529
+ "length": 20,
530
+ "start": 1588
531
+ },
532
+ {
533
+ "length": 20,
534
+ "start": 1726
535
+ },
536
+ {
537
+ "length": 20,
538
+ "start": 1854
539
+ },
540
+ {
541
+ "length": 20,
542
+ "start": 3027
543
+ },
544
+ {
545
+ "length": 20,
546
+ "start": 3756
547
+ },
548
+ {
549
+ "length": 20,
550
+ "start": 4062
551
+ },
552
+ {
553
+ "length": 20,
554
+ "start": 4214
555
+ },
556
+ {
557
+ "length": 20,
558
+ "start": 4581
559
+ }
560
+ ]
561
+ },
562
+ "contracts/type/Timestamp.sol": {
563
+ "TimestampLib": [
564
+ {
565
+ "length": 20,
566
+ "start": 1227
567
+ },
568
+ {
569
+ "length": 20,
570
+ "start": 2789
571
+ },
572
+ {
573
+ "length": 20,
574
+ "start": 2908
575
+ }
576
+ ]
577
+ }
578
+ },
579
+ "deployedLinkReferences": {
580
+ "contracts/shared/ContractLib.sol": {
581
+ "ContractLib": [
582
+ {
583
+ "length": 20,
584
+ "start": 406
585
+ },
586
+ {
587
+ "length": 20,
588
+ "start": 2119
589
+ }
590
+ ]
591
+ },
592
+ "contracts/type/ObjectType.sol": {
593
+ "ObjectTypeLib": [
594
+ {
595
+ "length": 20,
596
+ "start": 3243
597
+ }
598
+ ]
599
+ },
600
+ "contracts/type/RoleId.sol": {
601
+ "RoleIdLib": [
602
+ {
603
+ "length": 20,
604
+ "start": 4410
605
+ }
606
+ ]
607
+ },
608
+ "contracts/type/Selector.sol": {
609
+ "SelectorLib": [
610
+ {
611
+ "length": 20,
612
+ "start": 1066
613
+ }
614
+ ]
615
+ },
616
+ "contracts/type/String.sol": {
617
+ "StrLib": [
618
+ {
619
+ "length": 20,
620
+ "start": 927
621
+ },
622
+ {
623
+ "length": 20,
624
+ "start": 1536
625
+ },
626
+ {
627
+ "length": 20,
628
+ "start": 1674
629
+ },
630
+ {
631
+ "length": 20,
632
+ "start": 1802
633
+ },
634
+ {
635
+ "length": 20,
636
+ "start": 2975
637
+ },
638
+ {
639
+ "length": 20,
640
+ "start": 3704
641
+ },
642
+ {
643
+ "length": 20,
644
+ "start": 4010
645
+ },
646
+ {
647
+ "length": 20,
648
+ "start": 4162
649
+ },
650
+ {
651
+ "length": 20,
652
+ "start": 4529
653
+ }
654
+ ]
655
+ },
656
+ "contracts/type/Timestamp.sol": {
657
+ "TimestampLib": [
658
+ {
659
+ "length": 20,
660
+ "start": 1175
661
+ },
662
+ {
663
+ "length": 20,
664
+ "start": 2737
665
+ },
666
+ {
667
+ "length": 20,
668
+ "start": 2856
669
+ }
670
+ ]
671
+ }
672
+ }
673
+ }