@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
@@ -1,690 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "ComponentOwnerService",
4
- "sourceName": "contracts/instance/service/ComponentOwnerService.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "registryNftId",
16
- "type": "uint96"
17
- },
18
- {
19
- "internalType": "address",
20
- "name": "initialOwner",
21
- "type": "address"
22
- }
23
- ],
24
- "stateMutability": "nonpayable",
25
- "type": "constructor"
26
- },
27
- {
28
- "inputs": [],
29
- "name": "CollateralizationLevelIsZero",
30
- "type": "error"
31
- },
32
- {
33
- "inputs": [],
34
- "name": "InvalidDistribution",
35
- "type": "error"
36
- },
37
- {
38
- "inputs": [],
39
- "name": "InvalidDistributionsInstance",
40
- "type": "error"
41
- },
42
- {
43
- "inputs": [],
44
- "name": "InvalidInitialization",
45
- "type": "error"
46
- },
47
- {
48
- "inputs": [],
49
- "name": "InvalidPool",
50
- "type": "error"
51
- },
52
- {
53
- "inputs": [],
54
- "name": "InvalidPoolsInstance",
55
- "type": "error"
56
- },
57
- {
58
- "inputs": [],
59
- "name": "InvalidToken",
60
- "type": "error"
61
- },
62
- {
63
- "inputs": [],
64
- "name": "MissingTypeRole",
65
- "type": "error"
66
- },
67
- {
68
- "inputs": [],
69
- "name": "NotInitializing",
70
- "type": "error"
71
- },
72
- {
73
- "inputs": [],
74
- "name": "WalletIsZero",
75
- "type": "error"
76
- },
77
- {
78
- "anonymous": false,
79
- "inputs": [
80
- {
81
- "indexed": false,
82
- "internalType": "uint64",
83
- "name": "version",
84
- "type": "uint64"
85
- }
86
- ],
87
- "name": "Initialized",
88
- "type": "event"
89
- },
90
- {
91
- "anonymous": false,
92
- "inputs": [
93
- {
94
- "indexed": false,
95
- "internalType": "Version",
96
- "name": "version",
97
- "type": "uint24"
98
- },
99
- {
100
- "indexed": false,
101
- "internalType": "address",
102
- "name": "implementation",
103
- "type": "address"
104
- },
105
- {
106
- "indexed": false,
107
- "internalType": "address",
108
- "name": "activatedBy",
109
- "type": "address"
110
- }
111
- ],
112
- "name": "LogVersionableInitialized",
113
- "type": "event"
114
- },
115
- {
116
- "inputs": [],
117
- "name": "NAME",
118
- "outputs": [
119
- {
120
- "internalType": "string",
121
- "name": "",
122
- "type": "string"
123
- }
124
- ],
125
- "stateMutability": "view",
126
- "type": "function"
127
- },
128
- {
129
- "inputs": [],
130
- "name": "REGISTERABLE_LOCATION_V1",
131
- "outputs": [
132
- {
133
- "internalType": "bytes32",
134
- "name": "",
135
- "type": "bytes32"
136
- }
137
- ],
138
- "stateMutability": "view",
139
- "type": "function"
140
- },
141
- {
142
- "inputs": [],
143
- "name": "getInitialInfo",
144
- "outputs": [
145
- {
146
- "components": [
147
- {
148
- "internalType": "NftId",
149
- "name": "nftId",
150
- "type": "uint96"
151
- },
152
- {
153
- "internalType": "NftId",
154
- "name": "parentNftId",
155
- "type": "uint96"
156
- },
157
- {
158
- "internalType": "ObjectType",
159
- "name": "objectType",
160
- "type": "uint8"
161
- },
162
- {
163
- "internalType": "bool",
164
- "name": "isInterceptor",
165
- "type": "bool"
166
- },
167
- {
168
- "internalType": "address",
169
- "name": "objectAddress",
170
- "type": "address"
171
- },
172
- {
173
- "internalType": "address",
174
- "name": "initialOwner",
175
- "type": "address"
176
- },
177
- {
178
- "internalType": "bytes",
179
- "name": "data",
180
- "type": "bytes"
181
- }
182
- ],
183
- "internalType": "struct IRegistry.ObjectInfo",
184
- "name": "",
185
- "type": "tuple"
186
- },
187
- {
188
- "internalType": "bytes",
189
- "name": "data",
190
- "type": "bytes"
191
- }
192
- ],
193
- "stateMutability": "view",
194
- "type": "function"
195
- },
196
- {
197
- "inputs": [],
198
- "name": "getInitializedVersion",
199
- "outputs": [
200
- {
201
- "internalType": "uint64",
202
- "name": "",
203
- "type": "uint64"
204
- }
205
- ],
206
- "stateMutability": "view",
207
- "type": "function"
208
- },
209
- {
210
- "inputs": [],
211
- "name": "getMajorVersion",
212
- "outputs": [
213
- {
214
- "internalType": "VersionPart",
215
- "name": "majorVersion",
216
- "type": "uint8"
217
- }
218
- ],
219
- "stateMutability": "view",
220
- "type": "function"
221
- },
222
- {
223
- "inputs": [],
224
- "name": "getName",
225
- "outputs": [
226
- {
227
- "internalType": "string",
228
- "name": "name",
229
- "type": "string"
230
- }
231
- ],
232
- "stateMutability": "pure",
233
- "type": "function"
234
- },
235
- {
236
- "inputs": [],
237
- "name": "getNftId",
238
- "outputs": [
239
- {
240
- "internalType": "NftId",
241
- "name": "nftId",
242
- "type": "uint96"
243
- }
244
- ],
245
- "stateMutability": "view",
246
- "type": "function"
247
- },
248
- {
249
- "inputs": [],
250
- "name": "getOwner",
251
- "outputs": [
252
- {
253
- "internalType": "address",
254
- "name": "",
255
- "type": "address"
256
- }
257
- ],
258
- "stateMutability": "view",
259
- "type": "function"
260
- },
261
- {
262
- "inputs": [],
263
- "name": "getRegistry",
264
- "outputs": [
265
- {
266
- "internalType": "contract IRegistry",
267
- "name": "registry",
268
- "type": "address"
269
- }
270
- ],
271
- "stateMutability": "view",
272
- "type": "function"
273
- },
274
- {
275
- "inputs": [],
276
- "name": "getRegistryService",
277
- "outputs": [
278
- {
279
- "internalType": "contract IRegistryService",
280
- "name": "",
281
- "type": "address"
282
- }
283
- ],
284
- "stateMutability": "view",
285
- "type": "function"
286
- },
287
- {
288
- "inputs": [
289
- {
290
- "internalType": "ObjectType",
291
- "name": "cType",
292
- "type": "uint8"
293
- }
294
- ],
295
- "name": "getRoleForType",
296
- "outputs": [
297
- {
298
- "internalType": "RoleId",
299
- "name": "role",
300
- "type": "bytes8"
301
- }
302
- ],
303
- "stateMutability": "pure",
304
- "type": "function"
305
- },
306
- {
307
- "inputs": [],
308
- "name": "getVersion",
309
- "outputs": [
310
- {
311
- "internalType": "Version",
312
- "name": "",
313
- "type": "uint24"
314
- }
315
- ],
316
- "stateMutability": "pure",
317
- "type": "function"
318
- },
319
- {
320
- "inputs": [
321
- {
322
- "internalType": "uint256",
323
- "name": "idx",
324
- "type": "uint256"
325
- }
326
- ],
327
- "name": "getVersion",
328
- "outputs": [
329
- {
330
- "internalType": "Version",
331
- "name": "",
332
- "type": "uint24"
333
- }
334
- ],
335
- "stateMutability": "view",
336
- "type": "function"
337
- },
338
- {
339
- "inputs": [],
340
- "name": "getVersionCount",
341
- "outputs": [
342
- {
343
- "internalType": "uint256",
344
- "name": "",
345
- "type": "uint256"
346
- }
347
- ],
348
- "stateMutability": "view",
349
- "type": "function"
350
- },
351
- {
352
- "inputs": [
353
- {
354
- "internalType": "Version",
355
- "name": "_version",
356
- "type": "uint24"
357
- }
358
- ],
359
- "name": "getVersionInfo",
360
- "outputs": [
361
- {
362
- "components": [
363
- {
364
- "internalType": "Version",
365
- "name": "version",
366
- "type": "uint24"
367
- },
368
- {
369
- "internalType": "address",
370
- "name": "implementation",
371
- "type": "address"
372
- },
373
- {
374
- "internalType": "address",
375
- "name": "activatedBy",
376
- "type": "address"
377
- },
378
- {
379
- "internalType": "Timestamp",
380
- "name": "activatedAt",
381
- "type": "uint40"
382
- },
383
- {
384
- "internalType": "Blocknumber",
385
- "name": "activatedIn",
386
- "type": "uint32"
387
- }
388
- ],
389
- "internalType": "struct IVersionable.VersionInfo",
390
- "name": "",
391
- "type": "tuple"
392
- }
393
- ],
394
- "stateMutability": "view",
395
- "type": "function"
396
- },
397
- {
398
- "inputs": [
399
- {
400
- "internalType": "address",
401
- "name": "implementation",
402
- "type": "address"
403
- },
404
- {
405
- "internalType": "address",
406
- "name": "activatedBy",
407
- "type": "address"
408
- },
409
- {
410
- "internalType": "bytes",
411
- "name": "data",
412
- "type": "bytes"
413
- }
414
- ],
415
- "name": "initialize",
416
- "outputs": [],
417
- "stateMutability": "nonpayable",
418
- "type": "function"
419
- },
420
- {
421
- "inputs": [
422
- {
423
- "internalType": "Version",
424
- "name": "_version",
425
- "type": "uint24"
426
- }
427
- ],
428
- "name": "isInitialized",
429
- "outputs": [
430
- {
431
- "internalType": "bool",
432
- "name": "",
433
- "type": "bool"
434
- }
435
- ],
436
- "stateMutability": "view",
437
- "type": "function"
438
- },
439
- {
440
- "inputs": [
441
- {
442
- "internalType": "contract IBaseComponent",
443
- "name": "component",
444
- "type": "address"
445
- }
446
- ],
447
- "name": "lock",
448
- "outputs": [],
449
- "stateMutability": "nonpayable",
450
- "type": "function"
451
- },
452
- {
453
- "inputs": [
454
- {
455
- "internalType": "contract IBaseComponent",
456
- "name": "component",
457
- "type": "address"
458
- },
459
- {
460
- "internalType": "ObjectType",
461
- "name": "componentType",
462
- "type": "uint8"
463
- }
464
- ],
465
- "name": "register",
466
- "outputs": [
467
- {
468
- "internalType": "NftId",
469
- "name": "nftId",
470
- "type": "uint96"
471
- }
472
- ],
473
- "stateMutability": "nonpayable",
474
- "type": "function"
475
- },
476
- {
477
- "inputs": [
478
- {
479
- "internalType": "bytes4",
480
- "name": "interfaceId",
481
- "type": "bytes4"
482
- }
483
- ],
484
- "name": "supportsInterface",
485
- "outputs": [
486
- {
487
- "internalType": "bool",
488
- "name": "",
489
- "type": "bool"
490
- }
491
- ],
492
- "stateMutability": "view",
493
- "type": "function"
494
- },
495
- {
496
- "inputs": [
497
- {
498
- "internalType": "contract IBaseComponent",
499
- "name": "component",
500
- "type": "address"
501
- }
502
- ],
503
- "name": "unlock",
504
- "outputs": [],
505
- "stateMutability": "nonpayable",
506
- "type": "function"
507
- },
508
- {
509
- "inputs": [
510
- {
511
- "internalType": "address",
512
- "name": "implementation",
513
- "type": "address"
514
- },
515
- {
516
- "internalType": "address",
517
- "name": "activatedBy",
518
- "type": "address"
519
- },
520
- {
521
- "internalType": "bytes",
522
- "name": "data",
523
- "type": "bytes"
524
- }
525
- ],
526
- "name": "upgrade",
527
- "outputs": [],
528
- "stateMutability": "nonpayable",
529
- "type": "function"
530
- }
531
- ],
532
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162003161380380620031618339810160408190526200003491620005a7565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790556200007a620000cc565b6200008783838362000180565b6327535ccf60e01b60009081526020527fdf85129a843b1189784b76e4b72b0cde3e9c7821233b206b7eed6ac5a2fce6f7805460ff1916600117905550505062000841565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156200011d5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146200017d5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6000620001bd60408051808201909152601581527f436f6d706f6e656e744f776e6572536572766963650000000000000000000000602082015290565b620001c762000240565b604051602001620001da929190620005ff565b60408051808303601f190181529190529050620001fe8484602860008686620002cd565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff1916600117905550505050565b60006200024c62000502565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620002a2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c8919062000659565b905090565b6001600160a01b038616620003295760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6040516301ffc9a760e01b815263d053988160e01b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa15801562000377573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200039d919062000685565b620003eb5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f5245474953545259000000000000604482015260640162000320565b6001600160a01b03818116600160a01b6001600160601b0389168102919091177f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3009081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa302620004bb84826200074e565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562000564573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c891906200081a565b80516001600160a01b0381168114620005a257600080fd5b919050565b600080600060608486031215620005bd57600080fd5b620005c8846200058a565b60208501519093506001600160601b0381168114620005e657600080fd5b9150620005f6604085016200058a565b90509250925092565b604081526000835180604084015260005b818110156200062f576020818701810151606086840101520162000610565b506000606082850101526060601f19601f83011684010191505060ff831660208301529392505050565b6000602082840312156200066c57600080fd5b815160ff811681146200067e57600080fd5b9392505050565b6000602082840312156200069857600080fd5b815180151581146200067e57600080fd5b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006d457607f821691505b602082108103620006f557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200074957600081815260208120601f850160051c81016020861015620007245750805b601f850160051c820191505b81811015620007455782815560010162000730565b5050505b505050565b81516001600160401b038111156200076a576200076a620006a9565b62000782816200077b8454620006bf565b84620006fb565b602080601f831160018114620007ba5760008415620007a15750858301515b600019600386901b1c1916600185901b17855562000745565b600085815260208120601f198616915b82811015620007eb57888601518255948401946001909101908401620007ca565b50858210156200080a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200082d57600080fd5b815162ffffff811681146200067e57600080fd5b61291080620008516000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063893d20e8116100b8578063b88da7591161007c578063b88da75914610442578063caf4e3d414610455578063cde749f41461045d578063cf7a1d7714610477578063f435f5a71461048a578063fc0ae0541461049d57600080fd5b8063893d20e8146103ac578063946dfcfe146103b4578063a3f4df7e146103db578063a745e3df1461040f578063b3c650151461042257600080fd5b80631eff4b221161010a5780631eff4b22146102205780632f6c493c146102435780634d459c90146102585780634f421333146103715780635ab1bd5314610384578063644c45e0146103a457600080fd5b806301ffc9a71461014757806307e49598146101895780630d8e6e2c146101b45780630fec111c146101d057806317d7de7c146101e6575b600080fd5b610174610155366004611f29565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c610197366004611f81565b6104c9565b6040516001600160601b039091168152602001610180565b6101bc6106e5565b60405162ffffff9091168152602001610180565b6101d861076f565b60405161018092919061200a565b604080518082019091526015815274436f6d706f6e656e744f776e65725365727669636560581b60208201525b60405161018091906120b1565b61023560008051602061287b83398151915281565b604051908152602001610180565b6102566102513660046120c4565b6108d2565b005b6103146102663660046120f2565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206128bb83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b61017461037f3660046120f2565b610bf3565b61038c610ca6565b6040516001600160a01b039091168152602001610180565b61019c610cc2565b61038c610d3d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610235565b61021360405180604001604052806015815260200174436f6d706f6e656e744f776e65725365727669636560581b81525081565b61025661041d3660046121e9565b610db8565b61042a610f12565b6040516001600160401b039091168152602001610180565b6101bc61045036600461228d565b610f33565b61038c610f84565b610465611035565b60405160ff9091168152602001610180565b6102566104853660046121e9565b6110b8565b6102566104983660046120c4565b6111c1565b6104b06104ab3660046122a6565b611480565b6040516001600160c01b03199091168152602001610180565b60008060006104d6610f84565b60405163d943342d60e01b81526001600160a01b03878116600483015260ff87166024830152336044830152919091169063d943342d906064016000604051808303816000875af115801561052f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261055791908101906123fa565b60208201519193509150600061056b610ca6565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156105ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105e2919081019061245d565b6080015190508060006105f488611480565b6040516399fd467760e01b81526001600160c01b0319821660048201523360248201529091506001600160a01b038316906399fd467790604401602060405180830381865afa15801561064b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066f9190612491565b15156000036106915760405163337d32e360e01b815260040160405180910390fd5b6106a388606e5b60ff90811691161490565b156106bb5785516106b6908584886114e7565b6106d9565b6106c688608c610698565b156106d95785516106d990858488611883565b50505050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a91906124ac565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909160008051602061287b83398151915290506040518060e001604052806107ce600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610838906124c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610864906124c9565b80156108b15780601f10610886576101008083540402835291602001916108b1565b820191906000526020600020905b81548152906001019060200180831161089457829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b8060006108dd610ca6565b604051636939560f60e11b81526001600160a01b038481166004830152919091169063d272ac1e90602401602060405180830381865afa158015610925573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109499190612503565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c89190612491565b610a195760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e0060448201526064015b60405180910390fd5b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7d919061251e565b90506000846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae39190612503565b9050600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610b59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7d919061253b565b90506001600160a01b03831663a238accd8260645b6040516001600160e01b031960e085901b168152600481019290925260ff166024820152604401600060405180830381600087803b158015610bd357600080fd5b505af1158015610be7573d6000803e3d6000fd5b50505050505050505050565b6000806000805160206128bb83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9f919061253b565b1192915050565b60008051602061287b833981519152546001600160a01b031690565b600060008051602061287b83398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612503565b600060008051602061287b83398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610d94573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a919061251e565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610dda6106e5565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3e9190612554565b60008051602061289b8339815191528054600160401b900460ff1680610e71575080546001600160401b03808416911610155b15610e8f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610eba8585611b03565b610ec383611d3e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061076a60008051602061289b833981519152546001600160401b031690565b60006000805160206128bb8339815191526001018281548110610f5857610f5861257d565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610f8f610ca6565b6001600160a01b031663a3bcd81d610fa5611035565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561100b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102f919061251e565b92915050565b600061103f6106e5565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611094573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612593565b60008051602061289b8339815191528054600160401b810460ff1615906001600160401b03166000811580156110eb5750825b90506000826001600160401b031660011480156111075750303b155b905081158015611115575080155b156111335760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561115d57845460ff60401b1916600160401b1785555b6111678888611b03565b6111718787611d3e565b83156111b757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b8060006111cc610ca6565b604051636939560f60e11b81526001600160a01b038481166004830152919091169063d272ac1e90602401602060405180830381865afa158015611214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112389190612503565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b79190612491565b6113035760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e006044820152606401610a10565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611343573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611367919061251e565b90506000846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cd9190612503565b9050600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611467919061253b565b90506001600160a01b03831663a238accd82606e610b92565b600061148d82606e610698565b1561149a5761102f611d46565b6114a582608c610698565b156114b25761102f611dde565b6114bd826078610698565b156114ca5761102f611e36565b6114d5826082610698565b156114e25761102f611e96565b919050565b600080828060200190518101906114fe91906125e0565b91509150600061150c610ca6565b90506001600160a01b038216611535576040516361a02c4f60e11b815260040160405180910390fd5b60408381015190516308b09a5f60e41b81526001600160a01b039182166004820152600091831690638b09a5f090602401600060405180830381865afa158015611583573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115ab919081019061245d565b90506115c981604001516115bd601e90565b60ff9081169116141590565b156115e75760405163c1ab6dc160e01b815260040160405180910390fd5b83516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561163a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611662919081019061245d565b905061167481604001516115bd608c90565b156116915760405162820f3560e61b815260040160405180910390fd5b60208101516001600160601b038981169116146116c157604051636721a3e960e11b815260040160405180910390fd5b60208501516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015611717573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261173f919081019061245d565b905061175181604001516115bd607890565b1561176f57604051630d16b83360e31b815260040160405180910390fd5b60208101516001600160601b038a811691161461179f57604051631c33ddfb60e31b815260040160405180910390fd5b604086810151905163ea5fa54b60e01b81526001600160601b038c1660048201526001600160a01b03918216602482015286821660448201529089169063ea5fa54b90606401600060405180830381600087803b1580156117ff57600080fd5b505af1158015611813573d6000803e3d6000fd5b505060405163042c74ed60e41b81526001600160a01b038b1692506342c74ed09150611845908d908a906004016126c5565b600060405180830381600087803b15801561185f57600080fd5b505af1158015611873573d6000803e3d6000fd5b5050505050505050505050505050565b60008060008380602001905181019061189c91906127ac565b50505092509250925060006118af610ca6565b90506001600160a01b0383166118d8576040516361a02c4f60e11b815260040160405180910390fd5b6040516308b09a5f60e41b81526001600160a01b03838116600483015260009190831690638b09a5f090602401600060405180830381865afa158015611922573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261194a919081019061245d565b60400151905061195b81601e6115bd565b156119795760405163c1ab6dc160e01b815260040160405180910390fd5b602085015160405163753b14a560e01b8152600481019190915273__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__9063753b14a590602401602060405180830381865af41580156119cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f39190612491565b15611a11576040516313e89cb760e31b815260040160405180910390fd5b60405163ea5fa54b60e01b81526001600160601b038a1660048201526001600160a01b038481166024830152858116604483015288169063ea5fa54b90606401600060405180830381600087803b158015611a6b57600080fd5b505af1158015611a7f573d6000803e3d6000fd5b50506040516373617bf160e01b81526001600160601b038c166004820152875115156024820152602088015160448201526001600160a01b038a1692506373617bf19150606401600060405180830381600087803b158015611ae057600080fd5b505af1158015611af4573d6000803e3d6000fd5b50505050505050505050505050565b611b0b611ef0565b6000805160206128bb8339815191526000611b3b60008051602061289b833981519152546001600160401b031690565b90506000611b476106e5565b9050816001600160401b0316600103611b745760028301805462ffffff191662ffffff8316179055611bc2565b600283015462ffffff90811690821611611bc25760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a10565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101611c364290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610f039083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610142611ef0565b60405163e14787cb60e01b815260206004820152601060248201526f50726f647563744f776e6572526f6c6560801b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906064015b602060405180830381865af4158015611dba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612850565b60405163e14787cb60e01b815260206004820152600d60248201526c506f6f6c4f776e6572526f6c6560981b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60405163e14787cb60e01b8152602060048201526015602482015274446973747269627574696f6e4f776e6572526f6c6560581b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60405163e14787cb60e01b815260206004820152600f60248201526e4f7261636c654f776e6572526f6c6560881b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60008051602061289b83398151915254600160401b900460ff16611f2757604051631afcd79f60e31b815260040160405180910390fd5b565b600060208284031215611f3b57600080fd5b81356001600160e01b031981168114611f5357600080fd5b9392505050565b6001600160a01b0381168114611f6f57600080fd5b50565b60ff81168114611f6f57600080fd5b60008060408385031215611f9457600080fd5b8235611f9f81611f5a565b91506020830135611faf81611f72565b809150509250929050565b60005b83811015611fd5578181015183820152602001611fbd565b50506000910152565b60008151808452611ff6816020860160208601611fba565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161204e60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152612094610120840182611fde565b905082810360208401526120a88185611fde565b95945050505050565b602081526000611f536020830184611fde565b6000602082840312156120d657600080fd5b8135611f5381611f5a565b62ffffff81168114611f6f57600080fd5b60006020828403121561210457600080fd5b8135611f53816120e1565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156121475761214761210f565b60405290565b604080519081016001600160401b03811182821017156121475761214761210f565b60405161012081016001600160401b03811182821017156121475761214761210f565b604051601f8201601f191681016001600160401b03811182821017156121ba576121ba61210f565b604052919050565b60006001600160401b038211156121db576121db61210f565b50601f01601f191660200190565b6000806000606084860312156121fe57600080fd5b833561220981611f5a565b9250602084013561221981611f5a565b915060408401356001600160401b0381111561223457600080fd5b8401601f8101861361224557600080fd5b8035612258612253826121c2565b612192565b81815287602083850101111561226d57600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561229f57600080fd5b5035919050565b6000602082840312156122b857600080fd5b8135611f5381611f72565b80516001600160601b03811681146114e257600080fd5b80516114e281611f72565b805180151581146114e257600080fd5b80516114e281611f5a565b600082601f83011261231157600080fd5b815161231f612253826121c2565b81815284602083860101111561233457600080fd5b612345826020830160208701611fba565b949350505050565b600060e0828403121561235f57600080fd5b612367612125565b9050612372826122c3565b8152612380602083016122c3565b6020820152612391604083016122da565b60408201526123a2606083016122e5565b60608201526123b3608083016122f5565b60808201526123c460a083016122f5565b60a082015260c08201516001600160401b038111156123e257600080fd5b6123ee84828501612300565b60c08301525092915050565b6000806040838503121561240d57600080fd5b82516001600160401b038082111561242457600080fd5b6124308683870161234d565b9350602085015191508082111561244657600080fd5b5061245385828601612300565b9150509250929050565b60006020828403121561246f57600080fd5b81516001600160401b0381111561248557600080fd5b6123458482850161234d565b6000602082840312156124a357600080fd5b611f53826122e5565b6000602082840312156124be57600080fd5b8151611f53816120e1565b600181811c908216806124dd57607f821691505b6020821081036124fd57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561251557600080fd5b611f53826122c3565b60006020828403121561253057600080fd5b8151611f5381611f5a565b60006020828403121561254d57600080fd5b5051919050565b60006020828403121561256657600080fd5b81516001600160401b0381168114611f5357600080fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156125a557600080fd5b8151611f5381611f72565b6000604082840312156125c257600080fd5b6125ca61214d565b9050815181526020820151602082015292915050565b6000808284036102008112156125f557600080fd5b6101e08082121561260557600080fd5b61260d61216f565b9150612618856122c3565b8252612626602086016122c3565b6020830152612637604086016122f5565b604083015261264986606087016125b0565b606083015261265b8660a087016125b0565b608083015261266d8660e087016125b0565b60a08301526126808661012087016125b0565b60c08301526126938661016087016125b0565b60e08301526126a6866101a087016125b0565b6101008301528193506126ba8186016122f5565b925050509250929050565b6001600160601b0383811682528251166020808301919091528201516102008201906126fc60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061275e8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000806000806000808688036101408112156127c757600080fd5b60408112156127d557600080fd5b506127de61214d565b6127e7886122e5565b81526020880151602082015280965050604087015161280581611f5a565b606088015190955061281681611f5a565b935061282588608089016125b0565b92506128348860c089016125b0565b91506128448861010089016125b0565b90509295509295509295565b60006020828403121561286257600080fd5b81516001600160c01b031981168114611f5357600080fdfe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220f122b1856af39991b4b5d278e877b9211a0507ab2a0f5ff4ea831a7954743e0564736f6c63430008140033",
533
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101425760003560e01c8063893d20e8116100b8578063b88da7591161007c578063b88da75914610442578063caf4e3d414610455578063cde749f41461045d578063cf7a1d7714610477578063f435f5a71461048a578063fc0ae0541461049d57600080fd5b8063893d20e8146103ac578063946dfcfe146103b4578063a3f4df7e146103db578063a745e3df1461040f578063b3c650151461042257600080fd5b80631eff4b221161010a5780631eff4b22146102205780632f6c493c146102435780634d459c90146102585780634f421333146103715780635ab1bd5314610384578063644c45e0146103a457600080fd5b806301ffc9a71461014757806307e49598146101895780630d8e6e2c146101b45780630fec111c146101d057806317d7de7c146101e6575b600080fd5b610174610155366004611f29565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c610197366004611f81565b6104c9565b6040516001600160601b039091168152602001610180565b6101bc6106e5565b60405162ffffff9091168152602001610180565b6101d861076f565b60405161018092919061200a565b604080518082019091526015815274436f6d706f6e656e744f776e65725365727669636560581b60208201525b60405161018091906120b1565b61023560008051602061287b83398151915281565b604051908152602001610180565b6102566102513660046120c4565b6108d2565b005b6103146102663660046120f2565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206128bb83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b61017461037f3660046120f2565b610bf3565b61038c610ca6565b6040516001600160a01b039091168152602001610180565b61019c610cc2565b61038c610d3d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610235565b61021360405180604001604052806015815260200174436f6d706f6e656e744f776e65725365727669636560581b81525081565b61025661041d3660046121e9565b610db8565b61042a610f12565b6040516001600160401b039091168152602001610180565b6101bc61045036600461228d565b610f33565b61038c610f84565b610465611035565b60405160ff9091168152602001610180565b6102566104853660046121e9565b6110b8565b6102566104983660046120c4565b6111c1565b6104b06104ab3660046122a6565b611480565b6040516001600160c01b03199091168152602001610180565b60008060006104d6610f84565b60405163d943342d60e01b81526001600160a01b03878116600483015260ff87166024830152336044830152919091169063d943342d906064016000604051808303816000875af115801561052f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261055791908101906123fa565b60208201519193509150600061056b610ca6565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156105ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105e2919081019061245d565b6080015190508060006105f488611480565b6040516399fd467760e01b81526001600160c01b0319821660048201523360248201529091506001600160a01b038316906399fd467790604401602060405180830381865afa15801561064b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066f9190612491565b15156000036106915760405163337d32e360e01b815260040160405180910390fd5b6106a388606e5b60ff90811691161490565b156106bb5785516106b6908584886114e7565b6106d9565b6106c688608c610698565b156106d95785516106d990858488611883565b50505050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a91906124ac565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909160008051602061287b83398151915290506040518060e001604052806107ce600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610838906124c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610864906124c9565b80156108b15780601f10610886576101008083540402835291602001916108b1565b820191906000526020600020905b81548152906001019060200180831161089457829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b8060006108dd610ca6565b604051636939560f60e11b81526001600160a01b038481166004830152919091169063d272ac1e90602401602060405180830381865afa158015610925573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109499190612503565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c89190612491565b610a195760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e0060448201526064015b60405180910390fd5b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7d919061251e565b90506000846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae39190612503565b9050600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610b59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7d919061253b565b90506001600160a01b03831663a238accd8260645b6040516001600160e01b031960e085901b168152600481019290925260ff166024820152604401600060405180830381600087803b158015610bd357600080fd5b505af1158015610be7573d6000803e3d6000fd5b50505050505050505050565b6000806000805160206128bb83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9f919061253b565b1192915050565b60008051602061287b833981519152546001600160a01b031690565b600060008051602061287b83398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612503565b600060008051602061287b83398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610d94573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a919061251e565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610dda6106e5565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3e9190612554565b60008051602061289b8339815191528054600160401b900460ff1680610e71575080546001600160401b03808416911610155b15610e8f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610eba8585611b03565b610ec383611d3e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061076a60008051602061289b833981519152546001600160401b031690565b60006000805160206128bb8339815191526001018281548110610f5857610f5861257d565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610f8f610ca6565b6001600160a01b031663a3bcd81d610fa5611035565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561100b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102f919061251e565b92915050565b600061103f6106e5565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611094573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612593565b60008051602061289b8339815191528054600160401b810460ff1615906001600160401b03166000811580156110eb5750825b90506000826001600160401b031660011480156111075750303b155b905081158015611115575080155b156111335760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561115d57845460ff60401b1916600160401b1785555b6111678888611b03565b6111718787611d3e565b83156111b757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b8060006111cc610ca6565b604051636939560f60e11b81526001600160a01b038481166004830152919091169063d272ac1e90602401602060405180830381865afa158015611214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112389190612503565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b79190612491565b6113035760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e006044820152606401610a10565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611343573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611367919061251e565b90506000846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cd9190612503565b9050600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611467919061253b565b90506001600160a01b03831663a238accd82606e610b92565b600061148d82606e610698565b1561149a5761102f611d46565b6114a582608c610698565b156114b25761102f611dde565b6114bd826078610698565b156114ca5761102f611e36565b6114d5826082610698565b156114e25761102f611e96565b919050565b600080828060200190518101906114fe91906125e0565b91509150600061150c610ca6565b90506001600160a01b038216611535576040516361a02c4f60e11b815260040160405180910390fd5b60408381015190516308b09a5f60e41b81526001600160a01b039182166004820152600091831690638b09a5f090602401600060405180830381865afa158015611583573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115ab919081019061245d565b90506115c981604001516115bd601e90565b60ff9081169116141590565b156115e75760405163c1ab6dc160e01b815260040160405180910390fd5b83516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561163a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611662919081019061245d565b905061167481604001516115bd608c90565b156116915760405162820f3560e61b815260040160405180910390fd5b60208101516001600160601b038981169116146116c157604051636721a3e960e11b815260040160405180910390fd5b60208501516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015611717573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261173f919081019061245d565b905061175181604001516115bd607890565b1561176f57604051630d16b83360e31b815260040160405180910390fd5b60208101516001600160601b038a811691161461179f57604051631c33ddfb60e31b815260040160405180910390fd5b604086810151905163ea5fa54b60e01b81526001600160601b038c1660048201526001600160a01b03918216602482015286821660448201529089169063ea5fa54b90606401600060405180830381600087803b1580156117ff57600080fd5b505af1158015611813573d6000803e3d6000fd5b505060405163042c74ed60e41b81526001600160a01b038b1692506342c74ed09150611845908d908a906004016126c5565b600060405180830381600087803b15801561185f57600080fd5b505af1158015611873573d6000803e3d6000fd5b5050505050505050505050505050565b60008060008380602001905181019061189c91906127ac565b50505092509250925060006118af610ca6565b90506001600160a01b0383166118d8576040516361a02c4f60e11b815260040160405180910390fd5b6040516308b09a5f60e41b81526001600160a01b03838116600483015260009190831690638b09a5f090602401600060405180830381865afa158015611922573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261194a919081019061245d565b60400151905061195b81601e6115bd565b156119795760405163c1ab6dc160e01b815260040160405180910390fd5b602085015160405163753b14a560e01b8152600481019190915273__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__9063753b14a590602401602060405180830381865af41580156119cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f39190612491565b15611a11576040516313e89cb760e31b815260040160405180910390fd5b60405163ea5fa54b60e01b81526001600160601b038a1660048201526001600160a01b038481166024830152858116604483015288169063ea5fa54b90606401600060405180830381600087803b158015611a6b57600080fd5b505af1158015611a7f573d6000803e3d6000fd5b50506040516373617bf160e01b81526001600160601b038c166004820152875115156024820152602088015160448201526001600160a01b038a1692506373617bf19150606401600060405180830381600087803b158015611ae057600080fd5b505af1158015611af4573d6000803e3d6000fd5b50505050505050505050505050565b611b0b611ef0565b6000805160206128bb8339815191526000611b3b60008051602061289b833981519152546001600160401b031690565b90506000611b476106e5565b9050816001600160401b0316600103611b745760028301805462ffffff191662ffffff8316179055611bc2565b600283015462ffffff90811690821611611bc25760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a10565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101611c364290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610f039083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610142611ef0565b60405163e14787cb60e01b815260206004820152601060248201526f50726f647563744f776e6572526f6c6560801b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906064015b602060405180830381865af4158015611dba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612850565b60405163e14787cb60e01b815260206004820152600d60248201526c506f6f6c4f776e6572526f6c6560981b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60405163e14787cb60e01b8152602060048201526015602482015274446973747269627574696f6e4f776e6572526f6c6560581b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60405163e14787cb60e01b815260206004820152600f60248201526e4f7261636c654f776e6572526f6c6560881b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60008051602061289b83398151915254600160401b900460ff16611f2757604051631afcd79f60e31b815260040160405180910390fd5b565b600060208284031215611f3b57600080fd5b81356001600160e01b031981168114611f5357600080fd5b9392505050565b6001600160a01b0381168114611f6f57600080fd5b50565b60ff81168114611f6f57600080fd5b60008060408385031215611f9457600080fd5b8235611f9f81611f5a565b91506020830135611faf81611f72565b809150509250929050565b60005b83811015611fd5578181015183820152602001611fbd565b50506000910152565b60008151808452611ff6816020860160208601611fba565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161204e60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152612094610120840182611fde565b905082810360208401526120a88185611fde565b95945050505050565b602081526000611f536020830184611fde565b6000602082840312156120d657600080fd5b8135611f5381611f5a565b62ffffff81168114611f6f57600080fd5b60006020828403121561210457600080fd5b8135611f53816120e1565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156121475761214761210f565b60405290565b604080519081016001600160401b03811182821017156121475761214761210f565b60405161012081016001600160401b03811182821017156121475761214761210f565b604051601f8201601f191681016001600160401b03811182821017156121ba576121ba61210f565b604052919050565b60006001600160401b038211156121db576121db61210f565b50601f01601f191660200190565b6000806000606084860312156121fe57600080fd5b833561220981611f5a565b9250602084013561221981611f5a565b915060408401356001600160401b0381111561223457600080fd5b8401601f8101861361224557600080fd5b8035612258612253826121c2565b612192565b81815287602083850101111561226d57600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561229f57600080fd5b5035919050565b6000602082840312156122b857600080fd5b8135611f5381611f72565b80516001600160601b03811681146114e257600080fd5b80516114e281611f72565b805180151581146114e257600080fd5b80516114e281611f5a565b600082601f83011261231157600080fd5b815161231f612253826121c2565b81815284602083860101111561233457600080fd5b612345826020830160208701611fba565b949350505050565b600060e0828403121561235f57600080fd5b612367612125565b9050612372826122c3565b8152612380602083016122c3565b6020820152612391604083016122da565b60408201526123a2606083016122e5565b60608201526123b3608083016122f5565b60808201526123c460a083016122f5565b60a082015260c08201516001600160401b038111156123e257600080fd5b6123ee84828501612300565b60c08301525092915050565b6000806040838503121561240d57600080fd5b82516001600160401b038082111561242457600080fd5b6124308683870161234d565b9350602085015191508082111561244657600080fd5b5061245385828601612300565b9150509250929050565b60006020828403121561246f57600080fd5b81516001600160401b0381111561248557600080fd5b6123458482850161234d565b6000602082840312156124a357600080fd5b611f53826122e5565b6000602082840312156124be57600080fd5b8151611f53816120e1565b600181811c908216806124dd57607f821691505b6020821081036124fd57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561251557600080fd5b611f53826122c3565b60006020828403121561253057600080fd5b8151611f5381611f5a565b60006020828403121561254d57600080fd5b5051919050565b60006020828403121561256657600080fd5b81516001600160401b0381168114611f5357600080fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156125a557600080fd5b8151611f5381611f72565b6000604082840312156125c257600080fd5b6125ca61214d565b9050815181526020820151602082015292915050565b6000808284036102008112156125f557600080fd5b6101e08082121561260557600080fd5b61260d61216f565b9150612618856122c3565b8252612626602086016122c3565b6020830152612637604086016122f5565b604083015261264986606087016125b0565b606083015261265b8660a087016125b0565b608083015261266d8660e087016125b0565b60a08301526126808661012087016125b0565b60c08301526126938661016087016125b0565b60e08301526126a6866101a087016125b0565b6101008301528193506126ba8186016122f5565b925050509250929050565b6001600160601b0383811682528251166020808301919091528201516102008201906126fc60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061275e8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000806000806000808688036101408112156127c757600080fd5b60408112156127d557600080fd5b506127de61214d565b6127e7886122e5565b81526020880151602082015280965050604087015161280581611f5a565b606088015190955061281681611f5a565b935061282588608089016125b0565b92506128348860c089016125b0565b91506128448861010089016125b0565b90509295509295509295565b60006020828403121561286257600080fd5b81516001600160c01b031981168114611f5357600080fdfe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220f122b1856af39991b4b5d278e877b9211a0507ab2a0f5ff4ea831a7954743e0564736f6c63430008140033",
534
- "linkReferences": {
535
- "contracts/types/Blocknumber.sol": {
536
- "BlocknumberLib": [
537
- {
538
- "length": 20,
539
- "start": 5266
540
- }
541
- ]
542
- },
543
- "contracts/types/NftId.sol": {
544
- "NftIdLib": [
545
- {
546
- "length": 20,
547
- "start": 4539
548
- },
549
- {
550
- "length": 20,
551
- "start": 4922
552
- },
553
- {
554
- "length": 20,
555
- "start": 6826
556
- },
557
- {
558
- "length": 20,
559
- "start": 7204
560
- }
561
- ]
562
- },
563
- "contracts/types/RoleId.sol": {
564
- "RoleIdLib": [
565
- {
566
- "length": 20,
567
- "start": 9680
568
- },
569
- {
570
- "length": 20,
571
- "start": 9829
572
- },
573
- {
574
- "length": 20,
575
- "start": 9925
576
- },
577
- {
578
- "length": 20,
579
- "start": 10015
580
- }
581
- ]
582
- },
583
- "contracts/types/UFixed.sol": {
584
- "UFixedMathLib": [
585
- {
586
- "length": 20,
587
- "start": 8678
588
- }
589
- ]
590
- },
591
- "contracts/types/Version.sol": {
592
- "VersionLib": [
593
- {
594
- "length": 20,
595
- "start": 615
596
- },
597
- {
598
- "length": 20,
599
- "start": 1321
600
- },
601
- {
602
- "length": 20,
603
- "start": 3933
604
- },
605
- {
606
- "length": 20,
607
- "start": 5643
608
- },
609
- {
610
- "length": 20,
611
- "start": 6315
612
- }
613
- ]
614
- }
615
- },
616
- "deployedLinkReferences": {
617
- "contracts/types/Blocknumber.sol": {
618
- "BlocknumberLib": [
619
- {
620
- "length": 20,
621
- "start": 3137
622
- }
623
- ]
624
- },
625
- "contracts/types/NftId.sol": {
626
- "NftIdLib": [
627
- {
628
- "length": 20,
629
- "start": 2410
630
- },
631
- {
632
- "length": 20,
633
- "start": 2793
634
- },
635
- {
636
- "length": 20,
637
- "start": 4697
638
- },
639
- {
640
- "length": 20,
641
- "start": 5075
642
- }
643
- ]
644
- },
645
- "contracts/types/RoleId.sol": {
646
- "RoleIdLib": [
647
- {
648
- "length": 20,
649
- "start": 7551
650
- },
651
- {
652
- "length": 20,
653
- "start": 7700
654
- },
655
- {
656
- "length": 20,
657
- "start": 7796
658
- },
659
- {
660
- "length": 20,
661
- "start": 7886
662
- }
663
- ]
664
- },
665
- "contracts/types/UFixed.sol": {
666
- "UFixedMathLib": [
667
- {
668
- "length": 20,
669
- "start": 6549
670
- }
671
- ]
672
- },
673
- "contracts/types/Version.sol": {
674
- "VersionLib": [
675
- {
676
- "length": 20,
677
- "start": 1804
678
- },
679
- {
680
- "length": 20,
681
- "start": 3514
682
- },
683
- {
684
- "length": 20,
685
- "start": 4186
686
- }
687
- ]
688
- }
689
- }
690
- }