@etherisc/gif-next 0.0.2-8d47fa1-080 → 0.0.2-8d681eb-812

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (810) hide show
  1. package/README.md +305 -21
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1652 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1279 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1333 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1209 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +930 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1633 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +896 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1100 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1445 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1388 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +502 -1599
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +915 -0
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +627 -1971
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2338 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2698 -0
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1161 -0
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +734 -0
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3728 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  102. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  106. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  110. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  111. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  112. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  114. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  116. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  118. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  120. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  122. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +854 -0
  124. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  126. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  128. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  130. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  132. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  134. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  136. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
  138. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  140. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  144. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +879 -0
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +740 -0
  154. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  156. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  158. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  160. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  162. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  163. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +295 -330
  164. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  166. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  168. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
  170. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  172. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  173. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → product/IRiskService.sol/IRiskService.json} +246 -146
  174. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  176. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +349 -0
  178. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  180. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.json +911 -0
  182. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +764 -0
  184. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  185. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  186. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  188. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  190. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +103 -2
  192. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +810 -171
  194. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +561 -186
  196. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  197. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → registry/IRelease.sol/IRelease.json} +6 -6
  198. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  200. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/Registry.sol/Registry.json +1016 -148
  202. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2127 -0
  204. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  206. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +625 -217
  208. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +735 -0
  210. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2140 -0
  212. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  214. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1393 -0
  216. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  218. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  220. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  221. package/artifacts/contracts/shared/Component.sol/Component.json +686 -0
  222. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1556 -0
  224. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  226. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  227. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +253 -161
  228. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +616 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/{IOwnable.sol/IOwnable.json → ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  232. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  235. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  236. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  237. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +611 -0
  238. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1196 -0
  240. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  241. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  242. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +122 -172
  244. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  245. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  246. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  247. package/artifacts/contracts/{instance/module/component/ComponentModule.sol/ComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +82 -52
  248. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  249. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  250. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +213 -8
  252. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  253. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  254. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  255. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +189 -179
  256. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  258. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  259. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  260. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  261. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  262. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  263. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  264. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  265. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  266. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  267. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  268. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  269. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  270. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  271. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +226 -8
  272. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  273. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  274. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  275. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +196 -199
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  278. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  280. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  281. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  282. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1491 -0
  284. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  285. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
  286. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  287. package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
  288. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  290. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  292. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +792 -0
  294. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +560 -0
  296. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1380 -0
  298. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +736 -0
  300. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  301. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  302. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  303. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  304. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  305. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  306. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  308. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  310. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  312. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  314. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  316. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  318. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  319. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  320. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  322. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  323. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  324. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  326. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  328. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  330. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  332. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  334. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  336. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  342. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  344. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  346. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  348. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  350. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  352. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  354. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  356. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  358. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  360. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  362. package/contracts/accounting/AccountingService.sol +262 -0
  363. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  364. package/contracts/accounting/IAccountingService.sol +45 -0
  365. package/contracts/authorization/AccessAdmin.sol +789 -0
  366. package/contracts/authorization/AccessAdminLib.sol +387 -0
  367. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  368. package/contracts/authorization/Authorization.sol +174 -0
  369. package/contracts/authorization/IAccess.sol +67 -0
  370. package/contracts/authorization/IAccessAdmin.sol +137 -0
  371. package/contracts/authorization/IAuthorization.sol +27 -0
  372. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  373. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  374. package/contracts/distribution/BasicDistribution.sol +141 -0
  375. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  376. package/contracts/distribution/Distribution.sol +245 -0
  377. package/contracts/distribution/DistributionService.sol +438 -0
  378. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  379. package/contracts/distribution/IDistributionComponent.sol +45 -0
  380. package/contracts/distribution/IDistributionService.sol +109 -0
  381. package/contracts/examples/fire/DamageLevel.sol +59 -0
  382. package/contracts/examples/fire/FirePool.sol +86 -0
  383. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  384. package/contracts/examples/fire/FireProduct.sol +433 -0
  385. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  386. package/contracts/examples/fire/FireUSD.sol +26 -0
  387. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  388. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  389. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  390. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  391. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  392. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  393. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  394. package/contracts/instance/BundleSet.sol +130 -0
  395. package/contracts/instance/IInstance.sol +132 -47
  396. package/contracts/instance/IInstanceService.sol +105 -0
  397. package/contracts/instance/Instance.sol +328 -72
  398. package/contracts/instance/InstanceAdmin.sol +355 -0
  399. package/contracts/instance/InstanceAuthorizationV3.sol +262 -0
  400. package/contracts/instance/InstanceReader.sol +705 -0
  401. package/contracts/instance/InstanceService.sol +514 -0
  402. package/contracts/instance/InstanceServiceManager.sol +39 -0
  403. package/contracts/instance/InstanceStore.sol +298 -0
  404. package/contracts/instance/RiskSet.sol +118 -0
  405. package/contracts/instance/base/BalanceStore.sol +123 -0
  406. package/contracts/instance/base/Cloneable.sol +28 -0
  407. package/contracts/instance/base/ObjectCounter.sol +20 -0
  408. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  409. package/contracts/instance/base/ObjectSet.sol +77 -0
  410. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  411. package/contracts/instance/module/IBundle.sol +21 -0
  412. package/contracts/instance/module/IComponents.sol +62 -0
  413. package/contracts/instance/module/IDistribution.sol +54 -0
  414. package/contracts/instance/module/IPolicy.sol +105 -0
  415. package/contracts/instance/module/IRisk.sol +16 -0
  416. package/contracts/{test/TestToken.sol → mock/Dip.sol} +6 -6
  417. package/contracts/oracle/BasicOracle.sol +45 -0
  418. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  419. package/contracts/oracle/IOracle.sol +41 -0
  420. package/contracts/oracle/IOracleComponent.sol +33 -0
  421. package/contracts/oracle/IOracleService.sol +66 -0
  422. package/contracts/oracle/Oracle.sol +154 -0
  423. package/contracts/oracle/OracleService.sol +310 -0
  424. package/contracts/oracle/OracleServiceManager.sol +39 -0
  425. package/contracts/pool/BasicPool.sol +173 -0
  426. package/contracts/pool/BasicPoolAuthorization.sol +82 -0
  427. package/contracts/pool/BundleService.sol +395 -0
  428. package/contracts/pool/BundleServiceManager.sol +39 -0
  429. package/contracts/pool/IBundleService.sol +115 -0
  430. package/contracts/pool/IPoolComponent.sol +62 -0
  431. package/contracts/pool/IPoolService.sol +165 -0
  432. package/contracts/pool/Pool.sol +343 -0
  433. package/contracts/pool/PoolLib.sol +260 -0
  434. package/contracts/pool/PoolService.sol +733 -0
  435. package/contracts/pool/PoolServiceManager.sol +39 -0
  436. package/contracts/product/ApplicationService.sol +274 -0
  437. package/contracts/product/ApplicationServiceManager.sol +38 -0
  438. package/contracts/product/BasicProduct.sol +49 -0
  439. package/contracts/product/BasicProductAuthorization.sol +61 -0
  440. package/contracts/product/ClaimService.sol +630 -0
  441. package/contracts/product/ClaimServiceManager.sol +38 -0
  442. package/contracts/product/IApplicationService.sol +69 -0
  443. package/contracts/product/IClaimService.sol +135 -0
  444. package/contracts/product/IPolicyService.sol +95 -0
  445. package/contracts/product/IPricingService.sol +40 -0
  446. package/contracts/product/IProductComponent.sol +62 -0
  447. package/contracts/product/IRiskService.sol +33 -0
  448. package/contracts/product/PolicyService.sol +664 -0
  449. package/contracts/product/PolicyServiceLib.sol +86 -0
  450. package/contracts/product/PolicyServiceManager.sol +39 -0
  451. package/contracts/product/PricingService.sol +309 -0
  452. package/contracts/product/PricingServiceManager.sol +39 -0
  453. package/contracts/product/Product.sol +467 -0
  454. package/contracts/product/RiskService.sol +154 -0
  455. package/contracts/product/RiskServiceManager.sol +39 -0
  456. package/contracts/registry/ChainNft.sol +99 -37
  457. package/contracts/registry/IRegistry.sol +135 -40
  458. package/contracts/registry/IRegistryService.sol +49 -16
  459. package/contracts/registry/IRelease.sol +29 -0
  460. package/contracts/registry/ITransferInterceptor.sol +1 -1
  461. package/contracts/registry/Registry.sol +569 -344
  462. package/contracts/registry/RegistryAdmin.sol +188 -0
  463. package/contracts/registry/RegistryAuthorization.sol +277 -0
  464. package/contracts/registry/RegistryService.sol +147 -289
  465. package/contracts/registry/RegistryServiceManager.sol +53 -0
  466. package/contracts/registry/ReleaseAdmin.sol +195 -0
  467. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  468. package/contracts/registry/ReleaseRegistry.sol +520 -0
  469. package/contracts/registry/ServiceAuthorizationV3.sol +341 -0
  470. package/contracts/registry/TokenRegistry.sol +314 -0
  471. package/contracts/shared/Component.sol +210 -0
  472. package/contracts/shared/ComponentService.sol +708 -0
  473. package/contracts/shared/ComponentServiceManager.sol +38 -0
  474. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  475. package/contracts/shared/ContractLib.sol +292 -0
  476. package/contracts/shared/IComponent.sol +58 -0
  477. package/contracts/shared/IComponentService.sol +112 -0
  478. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  479. package/contracts/shared/IKeyValueStore.sol +54 -0
  480. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  481. package/contracts/shared/INftOwnable.sol +25 -0
  482. package/contracts/shared/IPolicyHolder.sol +35 -0
  483. package/contracts/shared/IRegisterable.sol +24 -9
  484. package/contracts/shared/IRegistryLinked.sol +11 -0
  485. package/contracts/shared/IService.sol +23 -0
  486. package/contracts/shared/InitializableERC165.sol +35 -0
  487. package/contracts/shared/InstanceLinkedComponent.sol +195 -0
  488. package/contracts/shared/KeyValueStore.sol +131 -0
  489. package/contracts/shared/Lifecycle.sol +88 -0
  490. package/contracts/shared/NftIdSet.sol +65 -0
  491. package/contracts/shared/NftOwnable.sol +127 -0
  492. package/contracts/shared/PolicyHolder.sol +62 -0
  493. package/contracts/shared/Registerable.sol +51 -62
  494. package/contracts/shared/RegistryLinked.sol +38 -0
  495. package/contracts/shared/Service.sol +67 -0
  496. package/contracts/shared/TokenHandler.sol +342 -0
  497. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  498. package/contracts/staking/IStaking.sol +179 -0
  499. package/contracts/staking/IStakingService.sol +172 -0
  500. package/contracts/staking/Staking.sol +546 -0
  501. package/contracts/staking/StakingLib.sol +281 -0
  502. package/contracts/staking/StakingLifecycle.sol +23 -0
  503. package/contracts/staking/StakingManager.sol +52 -0
  504. package/contracts/staking/StakingReader.sol +180 -0
  505. package/contracts/staking/StakingService.sol +464 -0
  506. package/contracts/staking/StakingServiceManager.sol +45 -0
  507. package/contracts/staking/StakingStore.sol +606 -0
  508. package/contracts/staking/TargetManagerLib.sol +211 -0
  509. package/contracts/{types → type}/AddressSet.sol +1 -1
  510. package/contracts/type/Amount.sol +150 -0
  511. package/contracts/{types → type}/Blocknumber.sol +27 -3
  512. package/contracts/type/ClaimId.sol +80 -0
  513. package/contracts/type/DistributorType.sol +55 -0
  514. package/contracts/type/Fee.sol +66 -0
  515. package/contracts/{types → type}/Key32.sol +10 -5
  516. package/contracts/type/Key32Set.sol +62 -0
  517. package/contracts/{types → type}/NftId.sol +28 -15
  518. package/contracts/type/NftIdSet.sol +62 -0
  519. package/contracts/type/ObjectType.sol +307 -0
  520. package/contracts/type/PayoutId.sol +82 -0
  521. package/contracts/type/Referral.sol +90 -0
  522. package/contracts/type/RequestId.sol +75 -0
  523. package/contracts/type/RiskId.sol +75 -0
  524. package/contracts/type/RoleId.sol +180 -0
  525. package/contracts/type/Seconds.sol +101 -0
  526. package/contracts/type/Selector.sol +107 -0
  527. package/contracts/{types → type}/StateId.sol +53 -5
  528. package/contracts/type/String.sol +53 -0
  529. package/contracts/{types → type}/Timestamp.sol +37 -19
  530. package/contracts/{types → type}/UFixed.sol +72 -19
  531. package/contracts/{types → type}/Version.sol +61 -6
  532. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  533. package/contracts/upgradeability/ProxyManager.sol +234 -0
  534. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +2 -4
  535. package/contracts/upgradeability/Versionable.sol +62 -0
  536. package/package.json +13 -8
  537. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  538. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -213
  539. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  540. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -445
  541. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  542. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -177
  543. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  544. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -343
  545. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  546. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -474
  547. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  548. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -373
  549. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  550. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -602
  551. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  552. package/artifacts/contracts/components/Product.sol/Product.json +0 -502
  553. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  555. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  557. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  559. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  561. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  563. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  567. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  568. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  569. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  570. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  571. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  572. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  573. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  577. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  579. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  581. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  583. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  584. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  585. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  586. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  587. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  588. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  589. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  590. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  591. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  592. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  593. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -344
  595. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  597. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -710
  598. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  599. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  600. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  601. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  602. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  603. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  604. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  605. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  607. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  609. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  611. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  612. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  613. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  614. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  615. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  616. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  617. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  618. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  619. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  620. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  621. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  622. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  624. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  625. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  627. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  628. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  629. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  630. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  631. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  632. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  633. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  635. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  636. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  637. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  638. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  639. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  640. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  641. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  642. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  643. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  644. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  645. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  646. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  647. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -690
  648. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  649. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -526
  650. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  651. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  652. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -369
  653. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  654. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -484
  655. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  656. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  657. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -649
  658. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  659. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -964
  660. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  661. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  662. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  663. package/artifacts/contracts/registry/RegistryInstaller.sol/RegistryInstaller.dbg.json +0 -4
  664. package/artifacts/contracts/registry/RegistryInstaller.sol/RegistryInstaller.json +0 -344
  665. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  666. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  667. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  668. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  669. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  670. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  671. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -310
  672. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  673. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  674. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  675. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  676. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  677. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -445
  678. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  679. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  680. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  681. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -602
  682. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  683. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -632
  684. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  685. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -191
  686. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  687. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  688. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  689. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -472
  690. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  691. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  692. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  693. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  694. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  695. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -270
  696. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  697. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  698. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  699. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  700. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  701. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  702. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  703. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  704. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  705. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  706. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  707. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  708. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  709. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  710. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  711. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  712. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  713. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  714. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  715. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  716. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  717. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  718. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  719. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  720. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  721. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  722. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  723. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  724. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  725. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  726. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  727. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  728. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  729. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  730. package/contracts/components/BaseComponent.sol +0 -79
  731. package/contracts/components/Distribution.sol +0 -155
  732. package/contracts/components/IBaseComponent.sol +0 -19
  733. package/contracts/components/IDistributionComponent.sol +0 -47
  734. package/contracts/components/IPoolComponent.sol +0 -65
  735. package/contracts/components/IProductComponent.sol +0 -39
  736. package/contracts/components/Pool.sol +0 -246
  737. package/contracts/components/Product.sol +0 -299
  738. package/contracts/experiment/errors/Require.sol +0 -38
  739. package/contracts/experiment/errors/Revert.sol +0 -44
  740. package/contracts/experiment/inheritance/A.sol +0 -53
  741. package/contracts/experiment/inheritance/B.sol +0 -28
  742. package/contracts/experiment/inheritance/C.sol +0 -34
  743. package/contracts/experiment/inheritance/IA.sol +0 -13
  744. package/contracts/experiment/inheritance/IB.sol +0 -10
  745. package/contracts/experiment/inheritance/IC.sol +0 -12
  746. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  747. package/contracts/experiment/statemachine/ISM.sol +0 -25
  748. package/contracts/experiment/statemachine/SM.sol +0 -57
  749. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  750. package/contracts/experiment/types/TypeA.sol +0 -47
  751. package/contracts/experiment/types/TypeB.sol +0 -29
  752. package/contracts/instance/IInstanceLinked.sol +0 -8
  753. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  754. package/contracts/instance/base/IInstanceBase.sol +0 -23
  755. package/contracts/instance/base/IKeyValueStore.sol +0 -50
  756. package/contracts/instance/base/IService.sol +0 -15
  757. package/contracts/instance/base/InstanceBase.sol +0 -89
  758. package/contracts/instance/base/KeyValueStore.sol +0 -161
  759. package/contracts/instance/base/Lifecycle.sol +0 -100
  760. package/contracts/instance/base/ModuleBase.sol +0 -57
  761. package/contracts/instance/base/ServiceBase.sol +0 -43
  762. package/contracts/instance/module/access/Access.sol +0 -149
  763. package/contracts/instance/module/access/IAccess.sol +0 -53
  764. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  765. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  766. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  767. package/contracts/instance/module/component/IComponent.sol +0 -28
  768. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  769. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  770. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  771. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  772. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  773. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  774. package/contracts/instance/module/risk/IRisk.sol +0 -26
  775. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  776. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  777. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  778. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  779. package/contracts/instance/service/ComponentOwnerService.sol +0 -272
  780. package/contracts/instance/service/DistributionService.sol +0 -54
  781. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  782. package/contracts/instance/service/IDistributionService.sol +0 -12
  783. package/contracts/instance/service/IPoolService.sol +0 -37
  784. package/contracts/instance/service/IProductService.sol +0 -107
  785. package/contracts/instance/service/PoolService.sol +0 -149
  786. package/contracts/instance/service/ProductService.sol +0 -509
  787. package/contracts/registry/IChainNft.sol +0 -22
  788. package/contracts/registry/IRegistryLinked.sol +0 -8
  789. package/contracts/registry/RegistryInstaller.sol +0 -100
  790. package/contracts/shared/ERC165.sol +0 -21
  791. package/contracts/shared/IOwnable.sol +0 -6
  792. package/contracts/shared/ProxyManager.sol +0 -115
  793. package/contracts/shared/Versionable.sol +0 -147
  794. package/contracts/test/TestDistribution.sol +0 -22
  795. package/contracts/test/TestFee.sol +0 -25
  796. package/contracts/test/TestPool.sol +0 -27
  797. package/contracts/test/TestProduct.sol +0 -74
  798. package/contracts/test/TestRegisterable.sol +0 -18
  799. package/contracts/test/TestRoleId.sol +0 -14
  800. package/contracts/test/TestService.sol +0 -26
  801. package/contracts/test/TestVersion.sol +0 -44
  802. package/contracts/test/TestVersionable.sol +0 -17
  803. package/contracts/test/Usdc.sol +0 -26
  804. package/contracts/types/ChainId.sol +0 -38
  805. package/contracts/types/Fee.sol +0 -56
  806. package/contracts/types/NftIdSet.sol +0 -60
  807. package/contracts/types/ObjectType.sol +0 -131
  808. package/contracts/types/ReferralId.sol +0 -48
  809. package/contracts/types/RiskId.sol +0 -43
  810. package/contracts/types/RoleId.sol +0 -38
@@ -0,0 +1,1652 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "AccessAdmin",
4
+ "sourceName": "contracts/authorization/AccessAdmin.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
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",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "address",
91
+ "name": "target",
92
+ "type": "address"
93
+ }
94
+ ],
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",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [
121
+ {
122
+ "internalType": "address",
123
+ "name": "target",
124
+ "type": "address"
125
+ },
126
+ {
127
+ "internalType": "enum IAccess.TargetType",
128
+ "name": "serviceTargetType",
129
+ "type": "uint8"
130
+ }
131
+ ],
132
+ "name": "ErrorAccessAdminInvalidServiceType",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [
137
+ {
138
+ "internalType": "address",
139
+ "name": "target",
140
+ "type": "address"
141
+ },
142
+ {
143
+ "internalType": "enum IAccess.TargetType",
144
+ "name": "targetType",
145
+ "type": "uint8"
146
+ }
147
+ ],
148
+ "name": "ErrorAccessAdminInvalidTargetType",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [
153
+ {
154
+ "internalType": "RoleId",
155
+ "name": "adminRoleId",
156
+ "type": "uint64"
157
+ },
158
+ {
159
+ "internalType": "address",
160
+ "name": "account",
161
+ "type": "address"
162
+ }
163
+ ],
164
+ "name": "ErrorAccessAdminNotAdminOfRole",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "address",
171
+ "name": "authorization",
172
+ "type": "address"
173
+ }
174
+ ],
175
+ "name": "ErrorAccessAdminNotAuthorization",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [],
180
+ "name": "ErrorAccessAdminNotDeployer",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "address",
187
+ "name": "registerable",
188
+ "type": "address"
189
+ }
190
+ ],
191
+ "name": "ErrorAccessAdminNotRegistered",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "address",
198
+ "name": "registry",
199
+ "type": "address"
200
+ }
201
+ ],
202
+ "name": "ErrorAccessAdminNotRegistry",
203
+ "type": "error"
204
+ },
205
+ {
206
+ "inputs": [
207
+ {
208
+ "internalType": "RoleId",
209
+ "name": "roleId",
210
+ "type": "uint64"
211
+ },
212
+ {
213
+ "internalType": "address",
214
+ "name": "account",
215
+ "type": "address"
216
+ }
217
+ ],
218
+ "name": "ErrorAccessAdminNotRoleOwner",
219
+ "type": "error"
220
+ },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "address",
225
+ "name": "serviceAuthorization",
226
+ "type": "address"
227
+ }
228
+ ],
229
+ "name": "ErrorAccessAdminNotServiceAuthorization",
230
+ "type": "error"
231
+ },
232
+ {
233
+ "inputs": [
234
+ {
235
+ "internalType": "address",
236
+ "name": "authorization",
237
+ "type": "address"
238
+ },
239
+ {
240
+ "internalType": "VersionPart",
241
+ "name": "expectedRelease",
242
+ "type": "uint8"
243
+ },
244
+ {
245
+ "internalType": "VersionPart",
246
+ "name": "actualRelease",
247
+ "type": "uint8"
248
+ }
249
+ ],
250
+ "name": "ErrorAccessAdminReleaseMismatch",
251
+ "type": "error"
252
+ },
253
+ {
254
+ "inputs": [
255
+ {
256
+ "internalType": "RoleId",
257
+ "name": "adminRoleId",
258
+ "type": "uint64"
259
+ }
260
+ ],
261
+ "name": "ErrorAccessAdminRoleAdminNotExisting",
262
+ "type": "error"
263
+ },
264
+ {
265
+ "inputs": [
266
+ {
267
+ "internalType": "RoleId",
268
+ "name": "roleId",
269
+ "type": "uint64"
270
+ },
271
+ {
272
+ "internalType": "string",
273
+ "name": "name",
274
+ "type": "string"
275
+ }
276
+ ],
277
+ "name": "ErrorAccessAdminRoleAlreadyCreated",
278
+ "type": "error"
279
+ },
280
+ {
281
+ "inputs": [
282
+ {
283
+ "internalType": "RoleId",
284
+ "name": "roleId",
285
+ "type": "uint64"
286
+ }
287
+ ],
288
+ "name": "ErrorAccessAdminRoleIsLocked",
289
+ "type": "error"
290
+ },
291
+ {
292
+ "inputs": [
293
+ {
294
+ "internalType": "RoleId",
295
+ "name": "roleId",
296
+ "type": "uint64"
297
+ }
298
+ ],
299
+ "name": "ErrorAccessAdminRoleIsPaused",
300
+ "type": "error"
301
+ },
302
+ {
303
+ "inputs": [
304
+ {
305
+ "internalType": "RoleId",
306
+ "name": "roleId",
307
+ "type": "uint64"
308
+ },
309
+ {
310
+ "internalType": "address",
311
+ "name": "notContract",
312
+ "type": "address"
313
+ }
314
+ ],
315
+ "name": "ErrorAccessAdminRoleMemberNotContract",
316
+ "type": "error"
317
+ },
318
+ {
319
+ "inputs": [
320
+ {
321
+ "internalType": "RoleId",
322
+ "name": "roleId",
323
+ "type": "uint64"
324
+ },
325
+ {
326
+ "internalType": "address",
327
+ "name": "expectedMember",
328
+ "type": "address"
329
+ }
330
+ ],
331
+ "name": "ErrorAccessAdminRoleMemberRemovalDisabled",
332
+ "type": "error"
333
+ },
334
+ {
335
+ "inputs": [
336
+ {
337
+ "internalType": "RoleId",
338
+ "name": "roleId",
339
+ "type": "uint64"
340
+ },
341
+ {
342
+ "internalType": "uint256",
343
+ "name": "memberCountLimit",
344
+ "type": "uint256"
345
+ }
346
+ ],
347
+ "name": "ErrorAccessAdminRoleMembersLimitReached",
348
+ "type": "error"
349
+ },
350
+ {
351
+ "inputs": [
352
+ {
353
+ "internalType": "RoleId",
354
+ "name": "roleId",
355
+ "type": "uint64"
356
+ },
357
+ {
358
+ "internalType": "string",
359
+ "name": "name",
360
+ "type": "string"
361
+ },
362
+ {
363
+ "internalType": "RoleId",
364
+ "name": "existingRoleId",
365
+ "type": "uint64"
366
+ }
367
+ ],
368
+ "name": "ErrorAccessAdminRoleNameAlreadyExists",
369
+ "type": "error"
370
+ },
371
+ {
372
+ "inputs": [
373
+ {
374
+ "internalType": "RoleId",
375
+ "name": "roleId",
376
+ "type": "uint64"
377
+ }
378
+ ],
379
+ "name": "ErrorAccessAdminRoleNameEmpty",
380
+ "type": "error"
381
+ },
382
+ {
383
+ "inputs": [
384
+ {
385
+ "internalType": "RoleId",
386
+ "name": "roleId",
387
+ "type": "uint64"
388
+ }
389
+ ],
390
+ "name": "ErrorAccessAdminRoleNotCustom",
391
+ "type": "error"
392
+ },
393
+ {
394
+ "inputs": [
395
+ {
396
+ "internalType": "RoleId",
397
+ "name": "roleId",
398
+ "type": "uint64"
399
+ }
400
+ ],
401
+ "name": "ErrorAccessAdminRoleUnknown",
402
+ "type": "error"
403
+ },
404
+ {
405
+ "inputs": [],
406
+ "name": "ErrorAccessAdminTagetNotLockable",
407
+ "type": "error"
408
+ },
409
+ {
410
+ "inputs": [
411
+ {
412
+ "internalType": "address",
413
+ "name": "target",
414
+ "type": "address"
415
+ },
416
+ {
417
+ "internalType": "string",
418
+ "name": "name",
419
+ "type": "string"
420
+ }
421
+ ],
422
+ "name": "ErrorAccessAdminTargetAlreadyCreated",
423
+ "type": "error"
424
+ },
425
+ {
426
+ "inputs": [
427
+ {
428
+ "internalType": "address",
429
+ "name": "target",
430
+ "type": "address"
431
+ },
432
+ {
433
+ "internalType": "bool",
434
+ "name": "isLocked",
435
+ "type": "bool"
436
+ }
437
+ ],
438
+ "name": "ErrorAccessAdminTargetAlreadyLocked",
439
+ "type": "error"
440
+ },
441
+ {
442
+ "inputs": [
443
+ {
444
+ "internalType": "address",
445
+ "name": "expectedAuthority",
446
+ "type": "address"
447
+ },
448
+ {
449
+ "internalType": "address",
450
+ "name": "actualAuthority",
451
+ "type": "address"
452
+ }
453
+ ],
454
+ "name": "ErrorAccessAdminTargetAuthorityMismatch",
455
+ "type": "error"
456
+ },
457
+ {
458
+ "inputs": [
459
+ {
460
+ "internalType": "address",
461
+ "name": "target",
462
+ "type": "address"
463
+ },
464
+ {
465
+ "internalType": "string",
466
+ "name": "name",
467
+ "type": "string"
468
+ },
469
+ {
470
+ "internalType": "address",
471
+ "name": "existingTarget",
472
+ "type": "address"
473
+ }
474
+ ],
475
+ "name": "ErrorAccessAdminTargetNameAlreadyExists",
476
+ "type": "error"
477
+ },
478
+ {
479
+ "inputs": [
480
+ {
481
+ "internalType": "address",
482
+ "name": "target",
483
+ "type": "address"
484
+ }
485
+ ],
486
+ "name": "ErrorAccessAdminTargetNameEmpty",
487
+ "type": "error"
488
+ },
489
+ {
490
+ "inputs": [
491
+ {
492
+ "internalType": "address",
493
+ "name": "target",
494
+ "type": "address"
495
+ }
496
+ ],
497
+ "name": "ErrorAccessAdminTargetNotAccessManaged",
498
+ "type": "error"
499
+ },
500
+ {
501
+ "inputs": [
502
+ {
503
+ "internalType": "address",
504
+ "name": "target",
505
+ "type": "address"
506
+ }
507
+ ],
508
+ "name": "ErrorAccessAdminTargetNotCreated",
509
+ "type": "error"
510
+ },
511
+ {
512
+ "inputs": [
513
+ {
514
+ "internalType": "address",
515
+ "name": "target",
516
+ "type": "address"
517
+ }
518
+ ],
519
+ "name": "ErrorAccessAdminTargetNotRegistered",
520
+ "type": "error"
521
+ },
522
+ {
523
+ "inputs": [
524
+ {
525
+ "internalType": "address",
526
+ "name": "target",
527
+ "type": "address"
528
+ },
529
+ {
530
+ "internalType": "ObjectType",
531
+ "name": "expectedType",
532
+ "type": "uint8"
533
+ },
534
+ {
535
+ "internalType": "ObjectType",
536
+ "name": "actualType",
537
+ "type": "uint8"
538
+ }
539
+ ],
540
+ "name": "ErrorAccessAdminTargetTypeMismatch",
541
+ "type": "error"
542
+ },
543
+ {
544
+ "inputs": [
545
+ {
546
+ "internalType": "address",
547
+ "name": "target",
548
+ "type": "address"
549
+ }
550
+ ],
551
+ "name": "ErrorAccessAdminTargetUnknown",
552
+ "type": "error"
553
+ },
554
+ {
555
+ "inputs": [
556
+ {
557
+ "internalType": "address",
558
+ "name": "registryAddress",
559
+ "type": "address"
560
+ }
561
+ ],
562
+ "name": "ErrorNotRegistry",
563
+ "type": "error"
564
+ },
565
+ {
566
+ "inputs": [],
567
+ "name": "InvalidInitialization",
568
+ "type": "error"
569
+ },
570
+ {
571
+ "inputs": [],
572
+ "name": "NotInitializing",
573
+ "type": "error"
574
+ },
575
+ {
576
+ "inputs": [],
577
+ "name": "ReentrancyGuardReentrantCall",
578
+ "type": "error"
579
+ },
580
+ {
581
+ "anonymous": false,
582
+ "inputs": [
583
+ {
584
+ "indexed": false,
585
+ "internalType": "address",
586
+ "name": "authority",
587
+ "type": "address"
588
+ }
589
+ ],
590
+ "name": "AuthorityUpdated",
591
+ "type": "event"
592
+ },
593
+ {
594
+ "anonymous": false,
595
+ "inputs": [
596
+ {
597
+ "indexed": false,
598
+ "internalType": "uint64",
599
+ "name": "version",
600
+ "type": "uint64"
601
+ }
602
+ ],
603
+ "name": "Initialized",
604
+ "type": "event"
605
+ },
606
+ {
607
+ "anonymous": false,
608
+ "inputs": [
609
+ {
610
+ "indexed": false,
611
+ "internalType": "string",
612
+ "name": "admin",
613
+ "type": "string"
614
+ },
615
+ {
616
+ "indexed": false,
617
+ "internalType": "address",
618
+ "name": "target",
619
+ "type": "address"
620
+ },
621
+ {
622
+ "indexed": false,
623
+ "internalType": "string",
624
+ "name": "func",
625
+ "type": "string"
626
+ }
627
+ ],
628
+ "name": "LogAccessAdminFunctionGranted",
629
+ "type": "event"
630
+ },
631
+ {
632
+ "anonymous": false,
633
+ "inputs": [
634
+ {
635
+ "indexed": false,
636
+ "internalType": "string",
637
+ "name": "admin",
638
+ "type": "string"
639
+ },
640
+ {
641
+ "indexed": false,
642
+ "internalType": "RoleId",
643
+ "name": "roleId",
644
+ "type": "uint64"
645
+ },
646
+ {
647
+ "indexed": false,
648
+ "internalType": "enum IAccess.RoleType",
649
+ "name": "roleType",
650
+ "type": "uint8"
651
+ },
652
+ {
653
+ "indexed": false,
654
+ "internalType": "RoleId",
655
+ "name": "roleAdminId",
656
+ "type": "uint64"
657
+ },
658
+ {
659
+ "indexed": false,
660
+ "internalType": "string",
661
+ "name": "name",
662
+ "type": "string"
663
+ }
664
+ ],
665
+ "name": "LogAccessAdminRoleCreated",
666
+ "type": "event"
667
+ },
668
+ {
669
+ "anonymous": false,
670
+ "inputs": [
671
+ {
672
+ "indexed": false,
673
+ "internalType": "string",
674
+ "name": "admin",
675
+ "type": "string"
676
+ },
677
+ {
678
+ "indexed": false,
679
+ "internalType": "address",
680
+ "name": "account",
681
+ "type": "address"
682
+ },
683
+ {
684
+ "indexed": false,
685
+ "internalType": "string",
686
+ "name": "roleName",
687
+ "type": "string"
688
+ }
689
+ ],
690
+ "name": "LogAccessAdminRoleGranted",
691
+ "type": "event"
692
+ },
693
+ {
694
+ "anonymous": false,
695
+ "inputs": [
696
+ {
697
+ "indexed": false,
698
+ "internalType": "string",
699
+ "name": "admin",
700
+ "type": "string"
701
+ },
702
+ {
703
+ "indexed": false,
704
+ "internalType": "address",
705
+ "name": "account",
706
+ "type": "address"
707
+ },
708
+ {
709
+ "indexed": false,
710
+ "internalType": "string",
711
+ "name": "roleName",
712
+ "type": "string"
713
+ }
714
+ ],
715
+ "name": "LogAccessAdminRoleRevoked",
716
+ "type": "event"
717
+ },
718
+ {
719
+ "anonymous": false,
720
+ "inputs": [
721
+ {
722
+ "indexed": false,
723
+ "internalType": "string",
724
+ "name": "admin",
725
+ "type": "string"
726
+ },
727
+ {
728
+ "indexed": false,
729
+ "internalType": "string",
730
+ "name": "name",
731
+ "type": "string"
732
+ },
733
+ {
734
+ "indexed": false,
735
+ "internalType": "bool",
736
+ "name": "managed",
737
+ "type": "bool"
738
+ },
739
+ {
740
+ "indexed": false,
741
+ "internalType": "address",
742
+ "name": "target",
743
+ "type": "address"
744
+ },
745
+ {
746
+ "indexed": false,
747
+ "internalType": "RoleId",
748
+ "name": "roleId",
749
+ "type": "uint64"
750
+ }
751
+ ],
752
+ "name": "LogAccessAdminTargetCreated",
753
+ "type": "event"
754
+ },
755
+ {
756
+ "inputs": [],
757
+ "name": "authority",
758
+ "outputs": [
759
+ {
760
+ "internalType": "address",
761
+ "name": "",
762
+ "type": "address"
763
+ }
764
+ ],
765
+ "stateMutability": "view",
766
+ "type": "function"
767
+ },
768
+ {
769
+ "inputs": [
770
+ {
771
+ "internalType": "address",
772
+ "name": "target",
773
+ "type": "address"
774
+ }
775
+ ],
776
+ "name": "authorizedFunctions",
777
+ "outputs": [
778
+ {
779
+ "internalType": "uint256",
780
+ "name": "numberOfFunctions",
781
+ "type": "uint256"
782
+ }
783
+ ],
784
+ "stateMutability": "view",
785
+ "type": "function"
786
+ },
787
+ {
788
+ "inputs": [],
789
+ "name": "deployer",
790
+ "outputs": [
791
+ {
792
+ "internalType": "address",
793
+ "name": "",
794
+ "type": "address"
795
+ }
796
+ ],
797
+ "stateMutability": "view",
798
+ "type": "function"
799
+ },
800
+ {
801
+ "inputs": [],
802
+ "name": "getAdminRole",
803
+ "outputs": [
804
+ {
805
+ "internalType": "RoleId",
806
+ "name": "roleId",
807
+ "type": "uint64"
808
+ }
809
+ ],
810
+ "stateMutability": "view",
811
+ "type": "function"
812
+ },
813
+ {
814
+ "inputs": [],
815
+ "name": "getAuthorization",
816
+ "outputs": [
817
+ {
818
+ "internalType": "contract IAuthorization",
819
+ "name": "authorization",
820
+ "type": "address"
821
+ }
822
+ ],
823
+ "stateMutability": "view",
824
+ "type": "function"
825
+ },
826
+ {
827
+ "inputs": [
828
+ {
829
+ "internalType": "address",
830
+ "name": "target",
831
+ "type": "address"
832
+ },
833
+ {
834
+ "internalType": "uint256",
835
+ "name": "idx",
836
+ "type": "uint256"
837
+ }
838
+ ],
839
+ "name": "getAuthorizedFunction",
840
+ "outputs": [
841
+ {
842
+ "components": [
843
+ {
844
+ "internalType": "Str",
845
+ "name": "name",
846
+ "type": "bytes32"
847
+ },
848
+ {
849
+ "internalType": "Selector",
850
+ "name": "selector",
851
+ "type": "bytes4"
852
+ },
853
+ {
854
+ "internalType": "Timestamp",
855
+ "name": "createdAt",
856
+ "type": "uint40"
857
+ }
858
+ ],
859
+ "internalType": "struct IAccess.FunctionInfo",
860
+ "name": "func",
861
+ "type": "tuple"
862
+ },
863
+ {
864
+ "internalType": "RoleId",
865
+ "name": "roleId",
866
+ "type": "uint64"
867
+ }
868
+ ],
869
+ "stateMutability": "view",
870
+ "type": "function"
871
+ },
872
+ {
873
+ "inputs": [],
874
+ "name": "getLinkedNftId",
875
+ "outputs": [
876
+ {
877
+ "internalType": "NftId",
878
+ "name": "linkedNftId",
879
+ "type": "uint96"
880
+ }
881
+ ],
882
+ "stateMutability": "view",
883
+ "type": "function"
884
+ },
885
+ {
886
+ "inputs": [],
887
+ "name": "getLinkedOwner",
888
+ "outputs": [
889
+ {
890
+ "internalType": "address",
891
+ "name": "linkedOwner",
892
+ "type": "address"
893
+ }
894
+ ],
895
+ "stateMutability": "view",
896
+ "type": "function"
897
+ },
898
+ {
899
+ "inputs": [],
900
+ "name": "getPublicRole",
901
+ "outputs": [
902
+ {
903
+ "internalType": "RoleId",
904
+ "name": "roleId",
905
+ "type": "uint64"
906
+ }
907
+ ],
908
+ "stateMutability": "view",
909
+ "type": "function"
910
+ },
911
+ {
912
+ "inputs": [],
913
+ "name": "getRegistry",
914
+ "outputs": [
915
+ {
916
+ "internalType": "contract IRegistry",
917
+ "name": "registry",
918
+ "type": "address"
919
+ }
920
+ ],
921
+ "stateMutability": "view",
922
+ "type": "function"
923
+ },
924
+ {
925
+ "inputs": [],
926
+ "name": "getRelease",
927
+ "outputs": [
928
+ {
929
+ "internalType": "VersionPart",
930
+ "name": "release",
931
+ "type": "uint8"
932
+ }
933
+ ],
934
+ "stateMutability": "view",
935
+ "type": "function"
936
+ },
937
+ {
938
+ "inputs": [
939
+ {
940
+ "internalType": "string",
941
+ "name": "name",
942
+ "type": "string"
943
+ }
944
+ ],
945
+ "name": "getRoleForName",
946
+ "outputs": [
947
+ {
948
+ "internalType": "RoleId",
949
+ "name": "roleId",
950
+ "type": "uint64"
951
+ }
952
+ ],
953
+ "stateMutability": "view",
954
+ "type": "function"
955
+ },
956
+ {
957
+ "inputs": [
958
+ {
959
+ "internalType": "uint256",
960
+ "name": "idx",
961
+ "type": "uint256"
962
+ }
963
+ ],
964
+ "name": "getRoleId",
965
+ "outputs": [
966
+ {
967
+ "internalType": "RoleId",
968
+ "name": "roleId",
969
+ "type": "uint64"
970
+ }
971
+ ],
972
+ "stateMutability": "view",
973
+ "type": "function"
974
+ },
975
+ {
976
+ "inputs": [
977
+ {
978
+ "internalType": "RoleId",
979
+ "name": "roleId",
980
+ "type": "uint64"
981
+ }
982
+ ],
983
+ "name": "getRoleInfo",
984
+ "outputs": [
985
+ {
986
+ "components": [
987
+ {
988
+ "internalType": "RoleId",
989
+ "name": "adminRoleId",
990
+ "type": "uint64"
991
+ },
992
+ {
993
+ "internalType": "enum IAccess.RoleType",
994
+ "name": "roleType",
995
+ "type": "uint8"
996
+ },
997
+ {
998
+ "internalType": "uint32",
999
+ "name": "maxMemberCount",
1000
+ "type": "uint32"
1001
+ },
1002
+ {
1003
+ "internalType": "Timestamp",
1004
+ "name": "createdAt",
1005
+ "type": "uint40"
1006
+ },
1007
+ {
1008
+ "internalType": "Timestamp",
1009
+ "name": "pausedAt",
1010
+ "type": "uint40"
1011
+ },
1012
+ {
1013
+ "internalType": "Str",
1014
+ "name": "name",
1015
+ "type": "bytes32"
1016
+ }
1017
+ ],
1018
+ "internalType": "struct IAccess.RoleInfo",
1019
+ "name": "",
1020
+ "type": "tuple"
1021
+ }
1022
+ ],
1023
+ "stateMutability": "view",
1024
+ "type": "function"
1025
+ },
1026
+ {
1027
+ "inputs": [
1028
+ {
1029
+ "internalType": "RoleId",
1030
+ "name": "roleId",
1031
+ "type": "uint64"
1032
+ },
1033
+ {
1034
+ "internalType": "uint256",
1035
+ "name": "idx",
1036
+ "type": "uint256"
1037
+ }
1038
+ ],
1039
+ "name": "getRoleMember",
1040
+ "outputs": [
1041
+ {
1042
+ "internalType": "address",
1043
+ "name": "account",
1044
+ "type": "address"
1045
+ }
1046
+ ],
1047
+ "stateMutability": "view",
1048
+ "type": "function"
1049
+ },
1050
+ {
1051
+ "inputs": [
1052
+ {
1053
+ "internalType": "uint256",
1054
+ "name": "idx",
1055
+ "type": "uint256"
1056
+ }
1057
+ ],
1058
+ "name": "getTargetAddress",
1059
+ "outputs": [
1060
+ {
1061
+ "internalType": "address",
1062
+ "name": "target",
1063
+ "type": "address"
1064
+ }
1065
+ ],
1066
+ "stateMutability": "view",
1067
+ "type": "function"
1068
+ },
1069
+ {
1070
+ "inputs": [
1071
+ {
1072
+ "internalType": "Str",
1073
+ "name": "name",
1074
+ "type": "bytes32"
1075
+ }
1076
+ ],
1077
+ "name": "getTargetForName",
1078
+ "outputs": [
1079
+ {
1080
+ "internalType": "address",
1081
+ "name": "target",
1082
+ "type": "address"
1083
+ }
1084
+ ],
1085
+ "stateMutability": "view",
1086
+ "type": "function"
1087
+ },
1088
+ {
1089
+ "inputs": [
1090
+ {
1091
+ "internalType": "address",
1092
+ "name": "target",
1093
+ "type": "address"
1094
+ }
1095
+ ],
1096
+ "name": "getTargetInfo",
1097
+ "outputs": [
1098
+ {
1099
+ "components": [
1100
+ {
1101
+ "internalType": "Str",
1102
+ "name": "name",
1103
+ "type": "bytes32"
1104
+ },
1105
+ {
1106
+ "internalType": "enum IAccess.TargetType",
1107
+ "name": "targetType",
1108
+ "type": "uint8"
1109
+ },
1110
+ {
1111
+ "internalType": "RoleId",
1112
+ "name": "roleId",
1113
+ "type": "uint64"
1114
+ },
1115
+ {
1116
+ "internalType": "Timestamp",
1117
+ "name": "createdAt",
1118
+ "type": "uint40"
1119
+ }
1120
+ ],
1121
+ "internalType": "struct IAccess.TargetInfo",
1122
+ "name": "targetInfo",
1123
+ "type": "tuple"
1124
+ }
1125
+ ],
1126
+ "stateMutability": "view",
1127
+ "type": "function"
1128
+ },
1129
+ {
1130
+ "inputs": [
1131
+ {
1132
+ "internalType": "address",
1133
+ "name": "authority",
1134
+ "type": "address"
1135
+ },
1136
+ {
1137
+ "internalType": "string",
1138
+ "name": "adminName",
1139
+ "type": "string"
1140
+ }
1141
+ ],
1142
+ "name": "initialize",
1143
+ "outputs": [],
1144
+ "stateMutability": "nonpayable",
1145
+ "type": "function"
1146
+ },
1147
+ {
1148
+ "inputs": [],
1149
+ "name": "isConsumingScheduledOp",
1150
+ "outputs": [
1151
+ {
1152
+ "internalType": "bytes4",
1153
+ "name": "",
1154
+ "type": "bytes4"
1155
+ }
1156
+ ],
1157
+ "stateMutability": "view",
1158
+ "type": "function"
1159
+ },
1160
+ {
1161
+ "inputs": [],
1162
+ "name": "isLocked",
1163
+ "outputs": [
1164
+ {
1165
+ "internalType": "bool",
1166
+ "name": "locked",
1167
+ "type": "bool"
1168
+ }
1169
+ ],
1170
+ "stateMutability": "view",
1171
+ "type": "function"
1172
+ },
1173
+ {
1174
+ "inputs": [
1175
+ {
1176
+ "internalType": "RoleId",
1177
+ "name": "roleId",
1178
+ "type": "uint64"
1179
+ }
1180
+ ],
1181
+ "name": "isRoleActive",
1182
+ "outputs": [
1183
+ {
1184
+ "internalType": "bool",
1185
+ "name": "isActive",
1186
+ "type": "bool"
1187
+ }
1188
+ ],
1189
+ "stateMutability": "view",
1190
+ "type": "function"
1191
+ },
1192
+ {
1193
+ "inputs": [
1194
+ {
1195
+ "internalType": "RoleId",
1196
+ "name": "roleId",
1197
+ "type": "uint64"
1198
+ },
1199
+ {
1200
+ "internalType": "address",
1201
+ "name": "account",
1202
+ "type": "address"
1203
+ }
1204
+ ],
1205
+ "name": "isRoleAdmin",
1206
+ "outputs": [
1207
+ {
1208
+ "internalType": "bool",
1209
+ "name": "",
1210
+ "type": "bool"
1211
+ }
1212
+ ],
1213
+ "stateMutability": "view",
1214
+ "type": "function"
1215
+ },
1216
+ {
1217
+ "inputs": [
1218
+ {
1219
+ "internalType": "RoleId",
1220
+ "name": "roleId",
1221
+ "type": "uint64"
1222
+ }
1223
+ ],
1224
+ "name": "isRoleCustom",
1225
+ "outputs": [
1226
+ {
1227
+ "internalType": "bool",
1228
+ "name": "isActive",
1229
+ "type": "bool"
1230
+ }
1231
+ ],
1232
+ "stateMutability": "view",
1233
+ "type": "function"
1234
+ },
1235
+ {
1236
+ "inputs": [
1237
+ {
1238
+ "internalType": "RoleId",
1239
+ "name": "roleId",
1240
+ "type": "uint64"
1241
+ },
1242
+ {
1243
+ "internalType": "address",
1244
+ "name": "account",
1245
+ "type": "address"
1246
+ }
1247
+ ],
1248
+ "name": "isRoleMember",
1249
+ "outputs": [
1250
+ {
1251
+ "internalType": "bool",
1252
+ "name": "",
1253
+ "type": "bool"
1254
+ }
1255
+ ],
1256
+ "stateMutability": "view",
1257
+ "type": "function"
1258
+ },
1259
+ {
1260
+ "inputs": [
1261
+ {
1262
+ "internalType": "address",
1263
+ "name": "target",
1264
+ "type": "address"
1265
+ }
1266
+ ],
1267
+ "name": "isTargetLocked",
1268
+ "outputs": [
1269
+ {
1270
+ "internalType": "bool",
1271
+ "name": "locked",
1272
+ "type": "bool"
1273
+ }
1274
+ ],
1275
+ "stateMutability": "view",
1276
+ "type": "function"
1277
+ },
1278
+ {
1279
+ "inputs": [
1280
+ {
1281
+ "internalType": "Str",
1282
+ "name": "roleName",
1283
+ "type": "bytes32"
1284
+ }
1285
+ ],
1286
+ "name": "roleExists",
1287
+ "outputs": [
1288
+ {
1289
+ "internalType": "bool",
1290
+ "name": "exists",
1291
+ "type": "bool"
1292
+ }
1293
+ ],
1294
+ "stateMutability": "view",
1295
+ "type": "function"
1296
+ },
1297
+ {
1298
+ "inputs": [
1299
+ {
1300
+ "internalType": "RoleId",
1301
+ "name": "roleId",
1302
+ "type": "uint64"
1303
+ }
1304
+ ],
1305
+ "name": "roleExists",
1306
+ "outputs": [
1307
+ {
1308
+ "internalType": "bool",
1309
+ "name": "exists",
1310
+ "type": "bool"
1311
+ }
1312
+ ],
1313
+ "stateMutability": "view",
1314
+ "type": "function"
1315
+ },
1316
+ {
1317
+ "inputs": [
1318
+ {
1319
+ "internalType": "RoleId",
1320
+ "name": "roleId",
1321
+ "type": "uint64"
1322
+ }
1323
+ ],
1324
+ "name": "roleMembers",
1325
+ "outputs": [
1326
+ {
1327
+ "internalType": "uint256",
1328
+ "name": "numberOfMembers",
1329
+ "type": "uint256"
1330
+ }
1331
+ ],
1332
+ "stateMutability": "view",
1333
+ "type": "function"
1334
+ },
1335
+ {
1336
+ "inputs": [],
1337
+ "name": "roles",
1338
+ "outputs": [
1339
+ {
1340
+ "internalType": "uint256",
1341
+ "name": "numberOfRoles",
1342
+ "type": "uint256"
1343
+ }
1344
+ ],
1345
+ "stateMutability": "view",
1346
+ "type": "function"
1347
+ },
1348
+ {
1349
+ "inputs": [
1350
+ {
1351
+ "internalType": "address",
1352
+ "name": "newAuthority",
1353
+ "type": "address"
1354
+ }
1355
+ ],
1356
+ "name": "setAuthority",
1357
+ "outputs": [],
1358
+ "stateMutability": "nonpayable",
1359
+ "type": "function"
1360
+ },
1361
+ {
1362
+ "inputs": [
1363
+ {
1364
+ "internalType": "address",
1365
+ "name": "target",
1366
+ "type": "address"
1367
+ }
1368
+ ],
1369
+ "name": "targetExists",
1370
+ "outputs": [
1371
+ {
1372
+ "internalType": "bool",
1373
+ "name": "exists",
1374
+ "type": "bool"
1375
+ }
1376
+ ],
1377
+ "stateMutability": "view",
1378
+ "type": "function"
1379
+ },
1380
+ {
1381
+ "inputs": [],
1382
+ "name": "targets",
1383
+ "outputs": [
1384
+ {
1385
+ "internalType": "uint256",
1386
+ "name": "numberOfTargets",
1387
+ "type": "uint256"
1388
+ }
1389
+ ],
1390
+ "stateMutability": "view",
1391
+ "type": "function"
1392
+ }
1393
+ ],
1394
+ "bytecode": "0x6080604052348015600e575f80fd5b506127568061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101f2575f3560e01c806376b707b711610114578063b3ecf236116100a9578063d5f3948811610079578063d5f39488146104aa578063d78a83b1146104bb578063dd22b08a146104ce578063f399e22e146104d6578063f60458ba146104e9575f80fd5b8063b3ecf2361461045f578063b41406f914610467578063bf7e214f1461047a578063c6a0017914610497575f80fd5b806387c73e5a116100e457806387c73e5a146104105780638fb36037146104235780639cad005214610444578063a4e2d63414610457575f80fd5b806376b707b7146103c65780637a9e5e4b146103e05780637f0cf947146103f55780638308ceb114610408575f80fd5b80633fd855611161018a578063605aa10a1161015a578063605aa10a1461037c57806366c3bc951461038f5780636bd1c0eb146103a2578063728a61a8146103b3575f80fd5b80633fd8556114610316578063480cebd1146103415780635ab1bd53146103545780635bfa50271461035c575f80fd5b806326decd40116101c557806326decd40146102985780633406b152146102bb57806335471f80146102fb578063392f5f641461030e575f80fd5b806303014974146101f657806312e1ebc51461021c57806324913ce61461023c57806326d60fb414610290575b5f80fd5b610209610204366004611eef565b610514565b6040519081526020015b60405180910390f35b61022f61022a366004611f1e565b61053a565b6040516102139190611f4d565b61024f61024a366004611f9c565b6105e6565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b03166060820152608001610213565b600a54610209565b6102ab6102a6366004611f1e565b610876565b6040519015158152602001610213565b6102e36102c9366004611fc6565b5f908152600960205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610213565b610209610309366004611f1e565b6108e2565b600654610209565b610329610324366004611fc6565b61096c565b6040516001600160401b039091168152602001610213565b6102ab61034f366004611fdd565b6109ae565b6102e36109db565b61036f61036a366004611eef565b610a4b565b6040516102139190612028565b6102ab61038a366004611f1e565b610b1e565b6102ab61039d366004611eef565b610b95565b6002546001600160a01b03166102e3565b6102e36103c1366004611fc6565b610c3d565b6103ce610c6b565b60405160ff9091168152602001610213565b6103f36103ee366004611f1e565b610cd6565b005b6102ab610403366004611fdd565b610d77565b610329610dfd565b6102ab61041e366004611eef565b610e68565b61042b610ea5565b6040516001600160e01b03199091168152602001610213565b610329610452366004612173565b610edb565b6102ab610f74565b610329610fdf565b6102ab610475366004611fc6565b611026565b5f80516020612701833981519152546001600160a01b03166102e3565b6102ab6104a5366004611eef565b611256565b6003546001600160a01b03166102e3565b6102e36104c93660046121ac565b6112b7565b6102e36112d8565b6103f36104e43660046121c8565b611338565b600354600160a01b90046001600160601b03166040516001600160601b039091168152602001610213565b6001600160401b0381165f90815260076020526040812061053490611446565b92915050565b60408051608080820183525f8083526020808401829052838501829052606084018290526001600160a01b038616825260088152908490208451928301909452835482526001840154929391929083019060ff16600681111561059f5761059f611f39565b60068111156105b0576105b0611f39565b81526001919091015461010081046001600160401b03166020830152600160481b900464ffffffffff1660409091015292915050565b604080516060810182525f80825260208083018290528284018290526001600160a01b0386168252600b9052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af415801561066e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610692919061221f565b6001600160a01b038681165f908152600c602090815260408083206001600160e01b03198681168086529184529382902082516060810184528154815260019182015460e081901b9096169481019490945264010000000090940464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__926368aebf7b921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015610774573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610798919061221f565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa1580156107e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610806919061223a565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610848573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086c919061223a565b9150509250929050565b60015460405163a166aa8960e01b81526001600160a01b0383811660048301525f92169063a166aa8990602401602060405180830381865afa1580156108be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105349190612269565b6001600160a01b0381165f908152600b6020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610948573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105349190612282565b5f6006828154811061098057610980612299565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6001600160401b038083165f9081526004602052604081205490916109d4911683610d77565b9392505050565b60015460408051635ab1bd5360e01b815290515f926001600160a01b031691635ab1bd539160048083019260209291908290030181865afa158015610a22573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4691906122ad565b905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600482529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610ac357610ac3611f39565b6003811115610ad457610ad4611f39565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b90910416606082015260019091015460809091015292915050565b6001600160a01b0381165f90815260086020526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af41580156108be573d5f803e3d5ffd5b6001600160401b0381165f9081526004602081815260408084205481516356db0c1960e11b8152915161053494600160901b90920464ffffffffff169373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb618329381810193918290030181865af4158015610c0a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2e91906122dc565b64ffffffffff90811691161190565b5f600a8281548110610c5157610c51612299565b5f918252602090912001546001600160a01b031692915050565b600154604080516376b707b760e01b815290515f926001600160a01b0316916376b707b79160048083019260209291908290030181865afa158015610cb2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4691906122f5565b33610cf55f80516020612701833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610d355760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610d6a576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d2c565b610d738261144f565b5050565b6001546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0383811660248301525f92839291169063d1f856ee906044016040805180830381865afa158015610dd0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610df49190612328565b50949350505050565b60015460408051631e53e01560e11b815290515f926001600160a01b031691633ca7c02a9160048083019260209291908290030181865afa158015610e44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a46919061223a565b5f60036001600160401b0383165f90815260046020526040902054600160401b900460ff166003811115610e9e57610e9e611f39565b1492915050565b5f8051602061270183398151915280545f9190600160a01b900460ff16610ecc575f610ed5565b638fb3603760e01b5b91505090565b5f60055f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610f169190612387565b602060405180830381865af4158015610f31573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f559190612282565b815260208101919091526040015f20546001600160401b031692915050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa158015610fbb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a469190612269565b60015460408051631d6c8e3f60e21b815290515f926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa158015610e44573d5f803e3d5ffd5b5f6110cb8273__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e6961106b60408051808201909152600981526841646d696e526f6c6560b81b602082015290565b6040518263ffffffff1660e01b81526004016110879190612387565b602060405180830381865af41580156110a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c69190612282565b6114b0565b8061111657506111168273__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e6961106b60408051808201909152600a8152695075626c6963526f6c6560b01b602082015290565b1561112357506001919050565b5f828152600560205260409081902054905163015c60ad60e21b81526001600160401b03909116600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063057182b490602401602060405180830381865af415801561118c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b09190612269565b156111bd57505f92915050565b6001600160401b0381165f90815260046020819052604091829020549151638d38cd4b60e01b8152600160681b90920464ffffffffff169082015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611232573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d49190612269565b6001600160401b0381165f908152600460208190526040808320549051638d38cd4b60e01b8152600160681b90910464ffffffffff169181019190915273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610b7a565b6001600160401b0382165f9081526007602052604081206109d49083611507565b5f6112e16109db565b600354604051631c5da14d60e11b8152600160a01b9091046001600160601b031660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a22573d5f803e3d5ffd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561137c5750825b90505f826001600160401b031660011480156113975750303b155b9050811580156113a5575080155b156113c35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156113ed57845460ff60401b1916600160401b1785555b6113f78787611512565b831561143d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f610534825490565b5f8051602061270183398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af4158015611232573d5f803e3d5ffd5b5f6109d483836117e2565b61151a611808565b6003546001600160a01b031661153d57600380546001600160a01b031916331790555b6003546001600160a01b031633146115685760405163410f583d60e11b815260040160405180910390fd5b604051631627905560e01b81526001600160a01b038316600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90631627905590602401602060405180830381865af41580156115be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e29190612269565b61160a5760405163a91c340960e01b81526001600160a01b0383166004820152602401610d2c565b80515f0361162b5760405163ea69a8ad60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b03841690811790915560405163189acdbd60e31b815230600482015263c4d66de8906024015f604051808303815f87803b15801561167c575f80fd5b505af115801561168e573d5f803e3d5ffd5b5050604051632330f24760e01b81526001600160a01b038516600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9250632330f2479150602401602060405180830381865af41580156116e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061170c9190612269565b61173457604051637595cb1960e01b81526001600160a01b0383166004820152602401610d2c565b61173d82611853565b5f611748828261241d565b5073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611790573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b491906124d7565b600360146101000a8154816001600160601b0302191690836001600160601b03160217905550610d73611867565b5f825f0182815481106117f7576117f7612299565b905f5260205f200154905092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661185157604051631afcd79f60e31b815260040160405180910390fd5b565b61185b611808565b61186481611a9e565b50565b61186f611808565b61192961187a611aaf565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a81966261189c611aaf565b600260016118c660408051808201909152600981526841646d696e526f6c6560b81b602082015290565b6040518563ffffffff1660e01b81526004016118e594939291906124fd565b60c060405180830381865af4158015611900573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119249190612541565b611b00565b611a423060075f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b60015f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561199a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119be919061223a565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015611a00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a24919061223a565b6001600160401b0316815260208101919091526040015f2090611e3b565b50611851611a4e611e4f565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a819662611a70611aaf565b600163ffffffff6118c660408051808201909152600a8152695075626c6963526f6c6560b01b602082015290565b611aa6611808565b6118648161144f565b6040516368aebf7b60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015610e44573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6b91906122dc565b64ffffffffff16606082015260408051636ac5db1960e01b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__91636ac5db199160048083019260209291908290030181865af4158015611bc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611be991906122dc565b64ffffffffff1660808201526001600160401b038083165f90815260046020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b836003811115611c5857611c58611f39565b021790555060408281015182546060850151608086015164ffffffffff908116600160901b0264ffffffffff60901b1991909216600160681b0264ffffffffff60681b1963ffffffff909516600160481b029490941671ffffffffffffffffff0000000000000000001990931692909217929092171617825560a092830151600192830155805180820182526001600160401b03808716808352602080840186815296880180515f908152600583528681209551865499511515600160401b0268ffffffffffffffffff19909a169086161798909817909455600680549687018155875260048087047ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01805460039098166008026101000a938402939094021990961691909117909155850151855191519251631623433d60e31b81527f089dc3e37715ee5f5f527a09ca053081e6a74ab2cde2b4471c37f8b9b81af45c9594889492939273__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e892611de992910190815260200190565b5f60405180830381865af4158015611e03573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e2a91908101906125c4565b6040516114a4959493929190612638565b5f6109d4836001600160a01b038416611e8f565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401611ae5565b5f818152600183016020526040812054611ed457508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610534565b505f610534565b6001600160401b0381168114611864575f80fd5b5f60208284031215611eff575f80fd5b81356109d481611edb565b6001600160a01b0381168114611864575f80fd5b5f60208284031215611f2e575f80fd5b81356109d481611f0a565b634e487b7160e01b5f52602160045260245ffd5b815181526020820151608082019060078110611f6b57611f6b611f39565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f8060408385031215611fad575f80fd5b8235611fb881611f0a565b946020939093013593505050565b5f60208284031215611fd6575f80fd5b5035919050565b5f8060408385031215611fee575f80fd5b8235611ff981611edb565b9150602083013561200981611f0a565b809150509250929050565b6004811061202457612024611f39565b9052565b81516001600160401b0316815260208083015160c083019161204c90840182612014565b5063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b03811182821017156120c5576120c561208f565b60405290565b604051601f8201601f191681016001600160401b03811182821017156120f3576120f361208f565b604052919050565b5f6001600160401b038211156121135761211361208f565b50601f01601f191660200190565b5f82601f830112612130575f80fd5b813561214361213e826120fb565b6120cb565b818152846020838601011115612157575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612183575f80fd5b81356001600160401b03811115612198575f80fd5b6121a484828501612121565b949350505050565b5f80604083850312156121bd575f80fd5b8235611fb881611edb565b5f80604083850312156121d9575f80fd5b82356121e481611f0a565b915060208301356001600160401b038111156121fe575f80fd5b61086c85828601612121565b6001600160e01b031981168114611864575f80fd5b5f6020828403121561222f575f80fd5b81516109d48161220a565b5f6020828403121561224a575f80fd5b81516109d481611edb565b80518015158114612264575f80fd5b919050565b5f60208284031215612279575f80fd5b6109d482612255565b5f60208284031215612292575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156122bd575f80fd5b81516109d481611f0a565b805164ffffffffff81168114612264575f80fd5b5f602082840312156122ec575f80fd5b6109d4826122c8565b5f60208284031215612305575f80fd5b815160ff811681146109d4575f80fd5b805163ffffffff81168114612264575f80fd5b5f8060408385031215612339575f80fd5b61234283612255565b915061235060208401612315565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6109d46020830184612359565b600181811c908216806123ad57607f821691505b6020821081036123cb57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561241857805f5260205f20601f840160051c810160208510156123f65750805b601f840160051c820191505b81811015612415575f8155600101612402565b50505b505050565b81516001600160401b038111156124365761243661208f565b61244a816124448454612399565b846123d1565b6020601f82116001811461247c575f83156124655750848201515b5f19600385901b1c1916600184901b178455612415565b5f84815260208120601f198516915b828110156124ab578785015182556020948501946001909201910161248b565b50848210156124c857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156124e7575f80fd5b81516001600160601b03811681146109d4575f80fd5b6001600160401b03851681526125166020820185612014565b63ffffffff83166040820152608060608201525f6125376080830184612359565b9695505050505050565b5f60c0828403128015612552575f80fd5b5061255b6120a3565b825161256681611edb565b8152602083015160048110612579575f80fd5b602082015261258a60408401612315565b604082015261259b606084016122c8565b60608201526125ac608084016122c8565b608082015260a0928301519281019290925250919050565b5f602082840312156125d4575f80fd5b81516001600160401b038111156125e9575f80fd5b8201601f810184136125f9575f80fd5b805161260761213e826120fb565b81815285602083850101111561261b575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b60a081525f80875461264981612399565b8060a0860152600182165f81146126675760018114612683576126b4565b60ff19831660c087015260c082151560051b87010193506126b4565b8a5f5260205f205f5b838110156126ab57815488820160c0015260019091019060200161268c565b870160c0019450505b5050506001600160401b03871660208401526126d36040840187612014565b6001600160401b038516606084015282810360808401526126f48185612359565b9897505050505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122004c40f6cf84b8bd2c6dfb9b5fd075681d8e63856aeecd469b065bc14155ba64164736f6c634300081a0033",
1395
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101f2575f3560e01c806376b707b711610114578063b3ecf236116100a9578063d5f3948811610079578063d5f39488146104aa578063d78a83b1146104bb578063dd22b08a146104ce578063f399e22e146104d6578063f60458ba146104e9575f80fd5b8063b3ecf2361461045f578063b41406f914610467578063bf7e214f1461047a578063c6a0017914610497575f80fd5b806387c73e5a116100e457806387c73e5a146104105780638fb36037146104235780639cad005214610444578063a4e2d63414610457575f80fd5b806376b707b7146103c65780637a9e5e4b146103e05780637f0cf947146103f55780638308ceb114610408575f80fd5b80633fd855611161018a578063605aa10a1161015a578063605aa10a1461037c57806366c3bc951461038f5780636bd1c0eb146103a2578063728a61a8146103b3575f80fd5b80633fd8556114610316578063480cebd1146103415780635ab1bd53146103545780635bfa50271461035c575f80fd5b806326decd40116101c557806326decd40146102985780633406b152146102bb57806335471f80146102fb578063392f5f641461030e575f80fd5b806303014974146101f657806312e1ebc51461021c57806324913ce61461023c57806326d60fb414610290575b5f80fd5b610209610204366004611eef565b610514565b6040519081526020015b60405180910390f35b61022f61022a366004611f1e565b61053a565b6040516102139190611f4d565b61024f61024a366004611f9c565b6105e6565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b03166060820152608001610213565b600a54610209565b6102ab6102a6366004611f1e565b610876565b6040519015158152602001610213565b6102e36102c9366004611fc6565b5f908152600960205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610213565b610209610309366004611f1e565b6108e2565b600654610209565b610329610324366004611fc6565b61096c565b6040516001600160401b039091168152602001610213565b6102ab61034f366004611fdd565b6109ae565b6102e36109db565b61036f61036a366004611eef565b610a4b565b6040516102139190612028565b6102ab61038a366004611f1e565b610b1e565b6102ab61039d366004611eef565b610b95565b6002546001600160a01b03166102e3565b6102e36103c1366004611fc6565b610c3d565b6103ce610c6b565b60405160ff9091168152602001610213565b6103f36103ee366004611f1e565b610cd6565b005b6102ab610403366004611fdd565b610d77565b610329610dfd565b6102ab61041e366004611eef565b610e68565b61042b610ea5565b6040516001600160e01b03199091168152602001610213565b610329610452366004612173565b610edb565b6102ab610f74565b610329610fdf565b6102ab610475366004611fc6565b611026565b5f80516020612701833981519152546001600160a01b03166102e3565b6102ab6104a5366004611eef565b611256565b6003546001600160a01b03166102e3565b6102e36104c93660046121ac565b6112b7565b6102e36112d8565b6103f36104e43660046121c8565b611338565b600354600160a01b90046001600160601b03166040516001600160601b039091168152602001610213565b6001600160401b0381165f90815260076020526040812061053490611446565b92915050565b60408051608080820183525f8083526020808401829052838501829052606084018290526001600160a01b038616825260088152908490208451928301909452835482526001840154929391929083019060ff16600681111561059f5761059f611f39565b60068111156105b0576105b0611f39565b81526001919091015461010081046001600160401b03166020830152600160481b900464ffffffffff1660409091015292915050565b604080516060810182525f80825260208083018290528284018290526001600160a01b0386168252600b9052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af415801561066e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610692919061221f565b6001600160a01b038681165f908152600c602090815260408083206001600160e01b03198681168086529184529382902082516060810184528154815260019182015460e081901b9096169481019490945264010000000090940464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__926368aebf7b921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015610774573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610798919061221f565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa1580156107e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610806919061223a565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610848573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086c919061223a565b9150509250929050565b60015460405163a166aa8960e01b81526001600160a01b0383811660048301525f92169063a166aa8990602401602060405180830381865afa1580156108be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105349190612269565b6001600160a01b0381165f908152600b6020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610948573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105349190612282565b5f6006828154811061098057610980612299565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6001600160401b038083165f9081526004602052604081205490916109d4911683610d77565b9392505050565b60015460408051635ab1bd5360e01b815290515f926001600160a01b031691635ab1bd539160048083019260209291908290030181865afa158015610a22573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4691906122ad565b905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600482529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610ac357610ac3611f39565b6003811115610ad457610ad4611f39565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b90910416606082015260019091015460809091015292915050565b6001600160a01b0381165f90815260086020526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af41580156108be573d5f803e3d5ffd5b6001600160401b0381165f9081526004602081815260408084205481516356db0c1960e11b8152915161053494600160901b90920464ffffffffff169373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb618329381810193918290030181865af4158015610c0a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2e91906122dc565b64ffffffffff90811691161190565b5f600a8281548110610c5157610c51612299565b5f918252602090912001546001600160a01b031692915050565b600154604080516376b707b760e01b815290515f926001600160a01b0316916376b707b79160048083019260209291908290030181865afa158015610cb2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4691906122f5565b33610cf55f80516020612701833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610d355760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610d6a576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d2c565b610d738261144f565b5050565b6001546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0383811660248301525f92839291169063d1f856ee906044016040805180830381865afa158015610dd0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610df49190612328565b50949350505050565b60015460408051631e53e01560e11b815290515f926001600160a01b031691633ca7c02a9160048083019260209291908290030181865afa158015610e44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a46919061223a565b5f60036001600160401b0383165f90815260046020526040902054600160401b900460ff166003811115610e9e57610e9e611f39565b1492915050565b5f8051602061270183398151915280545f9190600160a01b900460ff16610ecc575f610ed5565b638fb3603760e01b5b91505090565b5f60055f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610f169190612387565b602060405180830381865af4158015610f31573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f559190612282565b815260208101919091526040015f20546001600160401b031692915050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa158015610fbb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a469190612269565b60015460408051631d6c8e3f60e21b815290515f926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa158015610e44573d5f803e3d5ffd5b5f6110cb8273__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e6961106b60408051808201909152600981526841646d696e526f6c6560b81b602082015290565b6040518263ffffffff1660e01b81526004016110879190612387565b602060405180830381865af41580156110a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c69190612282565b6114b0565b8061111657506111168273__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e6961106b60408051808201909152600a8152695075626c6963526f6c6560b01b602082015290565b1561112357506001919050565b5f828152600560205260409081902054905163015c60ad60e21b81526001600160401b03909116600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063057182b490602401602060405180830381865af415801561118c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b09190612269565b156111bd57505f92915050565b6001600160401b0381165f90815260046020819052604091829020549151638d38cd4b60e01b8152600160681b90920464ffffffffff169082015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611232573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d49190612269565b6001600160401b0381165f908152600460208190526040808320549051638d38cd4b60e01b8152600160681b90910464ffffffffff169181019190915273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610b7a565b6001600160401b0382165f9081526007602052604081206109d49083611507565b5f6112e16109db565b600354604051631c5da14d60e11b8152600160a01b9091046001600160601b031660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a22573d5f803e3d5ffd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561137c5750825b90505f826001600160401b031660011480156113975750303b155b9050811580156113a5575080155b156113c35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156113ed57845460ff60401b1916600160401b1785555b6113f78787611512565b831561143d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f610534825490565b5f8051602061270183398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af4158015611232573d5f803e3d5ffd5b5f6109d483836117e2565b61151a611808565b6003546001600160a01b031661153d57600380546001600160a01b031916331790555b6003546001600160a01b031633146115685760405163410f583d60e11b815260040160405180910390fd5b604051631627905560e01b81526001600160a01b038316600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90631627905590602401602060405180830381865af41580156115be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e29190612269565b61160a5760405163a91c340960e01b81526001600160a01b0383166004820152602401610d2c565b80515f0361162b5760405163ea69a8ad60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b03841690811790915560405163189acdbd60e31b815230600482015263c4d66de8906024015f604051808303815f87803b15801561167c575f80fd5b505af115801561168e573d5f803e3d5ffd5b5050604051632330f24760e01b81526001600160a01b038516600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9250632330f2479150602401602060405180830381865af41580156116e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061170c9190612269565b61173457604051637595cb1960e01b81526001600160a01b0383166004820152602401610d2c565b61173d82611853565b5f611748828261241d565b5073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611790573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b491906124d7565b600360146101000a8154816001600160601b0302191690836001600160601b03160217905550610d73611867565b5f825f0182815481106117f7576117f7612299565b905f5260205f200154905092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661185157604051631afcd79f60e31b815260040160405180910390fd5b565b61185b611808565b61186481611a9e565b50565b61186f611808565b61192961187a611aaf565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a81966261189c611aaf565b600260016118c660408051808201909152600981526841646d696e526f6c6560b81b602082015290565b6040518563ffffffff1660e01b81526004016118e594939291906124fd565b60c060405180830381865af4158015611900573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119249190612541565b611b00565b611a423060075f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b60015f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561199a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119be919061223a565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015611a00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a24919061223a565b6001600160401b0316815260208101919091526040015f2090611e3b565b50611851611a4e611e4f565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a819662611a70611aaf565b600163ffffffff6118c660408051808201909152600a8152695075626c6963526f6c6560b01b602082015290565b611aa6611808565b6118648161144f565b6040516368aebf7b60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015610e44573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6b91906122dc565b64ffffffffff16606082015260408051636ac5db1960e01b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__91636ac5db199160048083019260209291908290030181865af4158015611bc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611be991906122dc565b64ffffffffff1660808201526001600160401b038083165f90815260046020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b836003811115611c5857611c58611f39565b021790555060408281015182546060850151608086015164ffffffffff908116600160901b0264ffffffffff60901b1991909216600160681b0264ffffffffff60681b1963ffffffff909516600160481b029490941671ffffffffffffffffff0000000000000000001990931692909217929092171617825560a092830151600192830155805180820182526001600160401b03808716808352602080840186815296880180515f908152600583528681209551865499511515600160401b0268ffffffffffffffffff19909a169086161798909817909455600680549687018155875260048087047ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01805460039098166008026101000a938402939094021990961691909117909155850151855191519251631623433d60e31b81527f089dc3e37715ee5f5f527a09ca053081e6a74ab2cde2b4471c37f8b9b81af45c9594889492939273__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e892611de992910190815260200190565b5f60405180830381865af4158015611e03573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e2a91908101906125c4565b6040516114a4959493929190612638565b5f6109d4836001600160a01b038416611e8f565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401611ae5565b5f818152600183016020526040812054611ed457508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610534565b505f610534565b6001600160401b0381168114611864575f80fd5b5f60208284031215611eff575f80fd5b81356109d481611edb565b6001600160a01b0381168114611864575f80fd5b5f60208284031215611f2e575f80fd5b81356109d481611f0a565b634e487b7160e01b5f52602160045260245ffd5b815181526020820151608082019060078110611f6b57611f6b611f39565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f8060408385031215611fad575f80fd5b8235611fb881611f0a565b946020939093013593505050565b5f60208284031215611fd6575f80fd5b5035919050565b5f8060408385031215611fee575f80fd5b8235611ff981611edb565b9150602083013561200981611f0a565b809150509250929050565b6004811061202457612024611f39565b9052565b81516001600160401b0316815260208083015160c083019161204c90840182612014565b5063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b03811182821017156120c5576120c561208f565b60405290565b604051601f8201601f191681016001600160401b03811182821017156120f3576120f361208f565b604052919050565b5f6001600160401b038211156121135761211361208f565b50601f01601f191660200190565b5f82601f830112612130575f80fd5b813561214361213e826120fb565b6120cb565b818152846020838601011115612157575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612183575f80fd5b81356001600160401b03811115612198575f80fd5b6121a484828501612121565b949350505050565b5f80604083850312156121bd575f80fd5b8235611fb881611edb565b5f80604083850312156121d9575f80fd5b82356121e481611f0a565b915060208301356001600160401b038111156121fe575f80fd5b61086c85828601612121565b6001600160e01b031981168114611864575f80fd5b5f6020828403121561222f575f80fd5b81516109d48161220a565b5f6020828403121561224a575f80fd5b81516109d481611edb565b80518015158114612264575f80fd5b919050565b5f60208284031215612279575f80fd5b6109d482612255565b5f60208284031215612292575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156122bd575f80fd5b81516109d481611f0a565b805164ffffffffff81168114612264575f80fd5b5f602082840312156122ec575f80fd5b6109d4826122c8565b5f60208284031215612305575f80fd5b815160ff811681146109d4575f80fd5b805163ffffffff81168114612264575f80fd5b5f8060408385031215612339575f80fd5b61234283612255565b915061235060208401612315565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6109d46020830184612359565b600181811c908216806123ad57607f821691505b6020821081036123cb57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561241857805f5260205f20601f840160051c810160208510156123f65750805b601f840160051c820191505b81811015612415575f8155600101612402565b50505b505050565b81516001600160401b038111156124365761243661208f565b61244a816124448454612399565b846123d1565b6020601f82116001811461247c575f83156124655750848201515b5f19600385901b1c1916600184901b178455612415565b5f84815260208120601f198516915b828110156124ab578785015182556020948501946001909201910161248b565b50848210156124c857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156124e7575f80fd5b81516001600160601b03811681146109d4575f80fd5b6001600160401b03851681526125166020820185612014565b63ffffffff83166040820152608060608201525f6125376080830184612359565b9695505050505050565b5f60c0828403128015612552575f80fd5b5061255b6120a3565b825161256681611edb565b8152602083015160048110612579575f80fd5b602082015261258a60408401612315565b604082015261259b606084016122c8565b60608201526125ac608084016122c8565b608082015260a0928301519281019290925250919050565b5f602082840312156125d4575f80fd5b81516001600160401b038111156125e9575f80fd5b8201601f810184136125f9575f80fd5b805161260761213e826120fb565b81815285602083850101111561261b575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b60a081525f80875461264981612399565b8060a0860152600182165f81146126675760018114612683576126b4565b60ff19831660c087015260c082151560051b87010193506126b4565b8a5f5260205f205f5b838110156126ab57815488820160c0015260019091019060200161268c565b870160c0019450505b5050506001600160401b03871660208401526126d36040840187612014565b6001600160401b038516606084015282810360808401526126f48185612359565b9897505050505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122004c40f6cf84b8bd2c6dfb9b5fd075681d8e63856aeecd469b065bc14155ba64164736f6c634300081a0033",
1396
+ "linkReferences": {
1397
+ "contracts/authorization/AccessAdminLib.sol": {
1398
+ "AccessAdminLib": [
1399
+ {
1400
+ "length": 20,
1401
+ "start": 6296
1402
+ },
1403
+ {
1404
+ "length": 20,
1405
+ "start": 6764
1406
+ }
1407
+ ]
1408
+ },
1409
+ "contracts/shared/ContractLib.sol": {
1410
+ "ContractLib": [
1411
+ {
1412
+ "length": 20,
1413
+ "start": 5538
1414
+ },
1415
+ {
1416
+ "length": 20,
1417
+ "start": 5834
1418
+ }
1419
+ ]
1420
+ },
1421
+ "contracts/type/NftId.sol": {
1422
+ "NftIdLib": [
1423
+ {
1424
+ "length": 20,
1425
+ "start": 5991
1426
+ }
1427
+ ]
1428
+ },
1429
+ "contracts/type/RoleId.sol": {
1430
+ "RoleIdLib": [
1431
+ {
1432
+ "length": 20,
1433
+ "start": 1842
1434
+ },
1435
+ {
1436
+ "length": 20,
1437
+ "start": 4464
1438
+ },
1439
+ {
1440
+ "length": 20,
1441
+ "start": 6478
1442
+ },
1443
+ {
1444
+ "length": 20,
1445
+ "start": 6883
1446
+ },
1447
+ {
1448
+ "length": 20,
1449
+ "start": 7817
1450
+ }
1451
+ ]
1452
+ },
1453
+ "contracts/type/Selector.sol": {
1454
+ "SelectorLib": [
1455
+ {
1456
+ "length": 20,
1457
+ "start": 1880
1458
+ }
1459
+ ],
1460
+ "SelectorSetLib": [
1461
+ {
1462
+ "length": 20,
1463
+ "start": 1618
1464
+ },
1465
+ {
1466
+ "length": 20,
1467
+ "start": 2348
1468
+ }
1469
+ ]
1470
+ },
1471
+ "contracts/type/String.sol": {
1472
+ "StrLib": [
1473
+ {
1474
+ "length": 20,
1475
+ "start": 3837
1476
+ },
1477
+ {
1478
+ "length": 20,
1479
+ "start": 4169
1480
+ },
1481
+ {
1482
+ "length": 20,
1483
+ "start": 4339
1484
+ },
1485
+ {
1486
+ "length": 20,
1487
+ "start": 5355
1488
+ },
1489
+ {
1490
+ "length": 20,
1491
+ "start": 7644
1492
+ }
1493
+ ]
1494
+ },
1495
+ "contracts/type/Timestamp.sol": {
1496
+ "TimestampLib": [
1497
+ {
1498
+ "length": 20,
1499
+ "start": 2936
1500
+ },
1501
+ {
1502
+ "length": 20,
1503
+ "start": 3056
1504
+ },
1505
+ {
1506
+ "length": 20,
1507
+ "start": 4630
1508
+ },
1509
+ {
1510
+ "length": 20,
1511
+ "start": 4785
1512
+ },
1513
+ {
1514
+ "length": 20,
1515
+ "start": 6942
1516
+ },
1517
+ {
1518
+ "length": 20,
1519
+ "start": 7077
1520
+ }
1521
+ ]
1522
+ }
1523
+ },
1524
+ "deployedLinkReferences": {
1525
+ "contracts/authorization/AccessAdminLib.sol": {
1526
+ "AccessAdminLib": [
1527
+ {
1528
+ "length": 20,
1529
+ "start": 6268
1530
+ },
1531
+ {
1532
+ "length": 20,
1533
+ "start": 6736
1534
+ }
1535
+ ]
1536
+ },
1537
+ "contracts/shared/ContractLib.sol": {
1538
+ "ContractLib": [
1539
+ {
1540
+ "length": 20,
1541
+ "start": 5510
1542
+ },
1543
+ {
1544
+ "length": 20,
1545
+ "start": 5806
1546
+ }
1547
+ ]
1548
+ },
1549
+ "contracts/type/NftId.sol": {
1550
+ "NftIdLib": [
1551
+ {
1552
+ "length": 20,
1553
+ "start": 5963
1554
+ }
1555
+ ]
1556
+ },
1557
+ "contracts/type/RoleId.sol": {
1558
+ "RoleIdLib": [
1559
+ {
1560
+ "length": 20,
1561
+ "start": 1814
1562
+ },
1563
+ {
1564
+ "length": 20,
1565
+ "start": 4436
1566
+ },
1567
+ {
1568
+ "length": 20,
1569
+ "start": 6450
1570
+ },
1571
+ {
1572
+ "length": 20,
1573
+ "start": 6855
1574
+ },
1575
+ {
1576
+ "length": 20,
1577
+ "start": 7789
1578
+ }
1579
+ ]
1580
+ },
1581
+ "contracts/type/Selector.sol": {
1582
+ "SelectorLib": [
1583
+ {
1584
+ "length": 20,
1585
+ "start": 1852
1586
+ }
1587
+ ],
1588
+ "SelectorSetLib": [
1589
+ {
1590
+ "length": 20,
1591
+ "start": 1590
1592
+ },
1593
+ {
1594
+ "length": 20,
1595
+ "start": 2320
1596
+ }
1597
+ ]
1598
+ },
1599
+ "contracts/type/String.sol": {
1600
+ "StrLib": [
1601
+ {
1602
+ "length": 20,
1603
+ "start": 3809
1604
+ },
1605
+ {
1606
+ "length": 20,
1607
+ "start": 4141
1608
+ },
1609
+ {
1610
+ "length": 20,
1611
+ "start": 4311
1612
+ },
1613
+ {
1614
+ "length": 20,
1615
+ "start": 5327
1616
+ },
1617
+ {
1618
+ "length": 20,
1619
+ "start": 7616
1620
+ }
1621
+ ]
1622
+ },
1623
+ "contracts/type/Timestamp.sol": {
1624
+ "TimestampLib": [
1625
+ {
1626
+ "length": 20,
1627
+ "start": 2908
1628
+ },
1629
+ {
1630
+ "length": 20,
1631
+ "start": 3028
1632
+ },
1633
+ {
1634
+ "length": 20,
1635
+ "start": 4602
1636
+ },
1637
+ {
1638
+ "length": 20,
1639
+ "start": 4757
1640
+ },
1641
+ {
1642
+ "length": 20,
1643
+ "start": 6914
1644
+ },
1645
+ {
1646
+ "length": 20,
1647
+ "start": 7049
1648
+ }
1649
+ ]
1650
+ }
1651
+ }
1652
+ }