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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (810) hide show
  1. package/README.md +305 -21
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1652 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1279 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1333 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1209 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +930 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1633 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +896 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1100 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1445 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1388 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +502 -1599
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +915 -0
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +627 -1971
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2338 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2698 -0
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1161 -0
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +734 -0
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3728 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  102. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  106. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  110. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  111. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  112. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  114. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  116. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  118. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  120. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  122. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +854 -0
  124. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  126. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  128. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  130. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  132. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  134. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  136. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
  138. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  140. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  144. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +879 -0
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +740 -0
  154. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  156. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  158. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  160. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  162. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  163. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +295 -330
  164. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  166. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  168. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
  170. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  172. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  173. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → product/IRiskService.sol/IRiskService.json} +246 -146
  174. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  176. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +349 -0
  178. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  180. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.json +911 -0
  182. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +764 -0
  184. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  185. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  186. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  188. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  190. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +103 -2
  192. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +810 -171
  194. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +561 -186
  196. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  197. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → registry/IRelease.sol/IRelease.json} +6 -6
  198. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  200. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/Registry.sol/Registry.json +1016 -148
  202. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2127 -0
  204. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  206. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +625 -217
  208. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +735 -0
  210. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2140 -0
  212. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  214. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1393 -0
  216. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  218. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  220. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  221. package/artifacts/contracts/shared/Component.sol/Component.json +686 -0
  222. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1556 -0
  224. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  226. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  227. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +253 -161
  228. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +616 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/{IOwnable.sol/IOwnable.json → ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  232. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  235. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  236. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  237. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +611 -0
  238. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1196 -0
  240. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  241. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  242. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +122 -172
  244. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  245. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  246. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  247. package/artifacts/contracts/{instance/module/component/ComponentModule.sol/ComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +82 -52
  248. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  249. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  250. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +213 -8
  252. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  253. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  254. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  255. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +189 -179
  256. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  258. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  259. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  260. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  261. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  262. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  263. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  264. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  265. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  266. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  267. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  268. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  269. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  270. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  271. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +226 -8
  272. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  273. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  274. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  275. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +196 -199
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  278. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  280. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  281. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  282. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1491 -0
  284. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  285. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
  286. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  287. package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
  288. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  290. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  292. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +792 -0
  294. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +560 -0
  296. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1380 -0
  298. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +736 -0
  300. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  301. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  302. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  303. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  304. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  305. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  306. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  308. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  310. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  312. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  314. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  316. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  318. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  319. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  320. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  322. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  323. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  324. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  326. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  328. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  330. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  332. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  334. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  336. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  342. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  344. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  346. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  348. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  350. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  352. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  354. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  356. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  358. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  360. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  362. package/contracts/accounting/AccountingService.sol +262 -0
  363. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  364. package/contracts/accounting/IAccountingService.sol +45 -0
  365. package/contracts/authorization/AccessAdmin.sol +789 -0
  366. package/contracts/authorization/AccessAdminLib.sol +387 -0
  367. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  368. package/contracts/authorization/Authorization.sol +174 -0
  369. package/contracts/authorization/IAccess.sol +67 -0
  370. package/contracts/authorization/IAccessAdmin.sol +137 -0
  371. package/contracts/authorization/IAuthorization.sol +27 -0
  372. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  373. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  374. package/contracts/distribution/BasicDistribution.sol +141 -0
  375. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  376. package/contracts/distribution/Distribution.sol +245 -0
  377. package/contracts/distribution/DistributionService.sol +438 -0
  378. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  379. package/contracts/distribution/IDistributionComponent.sol +45 -0
  380. package/contracts/distribution/IDistributionService.sol +109 -0
  381. package/contracts/examples/fire/DamageLevel.sol +59 -0
  382. package/contracts/examples/fire/FirePool.sol +86 -0
  383. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  384. package/contracts/examples/fire/FireProduct.sol +433 -0
  385. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  386. package/contracts/examples/fire/FireUSD.sol +26 -0
  387. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  388. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  389. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  390. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  391. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  392. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  393. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  394. package/contracts/instance/BundleSet.sol +130 -0
  395. package/contracts/instance/IInstance.sol +132 -47
  396. package/contracts/instance/IInstanceService.sol +105 -0
  397. package/contracts/instance/Instance.sol +328 -72
  398. package/contracts/instance/InstanceAdmin.sol +355 -0
  399. package/contracts/instance/InstanceAuthorizationV3.sol +262 -0
  400. package/contracts/instance/InstanceReader.sol +705 -0
  401. package/contracts/instance/InstanceService.sol +514 -0
  402. package/contracts/instance/InstanceServiceManager.sol +39 -0
  403. package/contracts/instance/InstanceStore.sol +298 -0
  404. package/contracts/instance/RiskSet.sol +118 -0
  405. package/contracts/instance/base/BalanceStore.sol +123 -0
  406. package/contracts/instance/base/Cloneable.sol +28 -0
  407. package/contracts/instance/base/ObjectCounter.sol +20 -0
  408. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  409. package/contracts/instance/base/ObjectSet.sol +77 -0
  410. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  411. package/contracts/instance/module/IBundle.sol +21 -0
  412. package/contracts/instance/module/IComponents.sol +62 -0
  413. package/contracts/instance/module/IDistribution.sol +54 -0
  414. package/contracts/instance/module/IPolicy.sol +105 -0
  415. package/contracts/instance/module/IRisk.sol +16 -0
  416. package/contracts/{test/TestToken.sol → mock/Dip.sol} +6 -6
  417. package/contracts/oracle/BasicOracle.sol +45 -0
  418. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  419. package/contracts/oracle/IOracle.sol +41 -0
  420. package/contracts/oracle/IOracleComponent.sol +33 -0
  421. package/contracts/oracle/IOracleService.sol +66 -0
  422. package/contracts/oracle/Oracle.sol +154 -0
  423. package/contracts/oracle/OracleService.sol +310 -0
  424. package/contracts/oracle/OracleServiceManager.sol +39 -0
  425. package/contracts/pool/BasicPool.sol +173 -0
  426. package/contracts/pool/BasicPoolAuthorization.sol +82 -0
  427. package/contracts/pool/BundleService.sol +395 -0
  428. package/contracts/pool/BundleServiceManager.sol +39 -0
  429. package/contracts/pool/IBundleService.sol +115 -0
  430. package/contracts/pool/IPoolComponent.sol +62 -0
  431. package/contracts/pool/IPoolService.sol +165 -0
  432. package/contracts/pool/Pool.sol +343 -0
  433. package/contracts/pool/PoolLib.sol +260 -0
  434. package/contracts/pool/PoolService.sol +733 -0
  435. package/contracts/pool/PoolServiceManager.sol +39 -0
  436. package/contracts/product/ApplicationService.sol +274 -0
  437. package/contracts/product/ApplicationServiceManager.sol +38 -0
  438. package/contracts/product/BasicProduct.sol +49 -0
  439. package/contracts/product/BasicProductAuthorization.sol +61 -0
  440. package/contracts/product/ClaimService.sol +630 -0
  441. package/contracts/product/ClaimServiceManager.sol +38 -0
  442. package/contracts/product/IApplicationService.sol +69 -0
  443. package/contracts/product/IClaimService.sol +135 -0
  444. package/contracts/product/IPolicyService.sol +95 -0
  445. package/contracts/product/IPricingService.sol +40 -0
  446. package/contracts/product/IProductComponent.sol +62 -0
  447. package/contracts/product/IRiskService.sol +33 -0
  448. package/contracts/product/PolicyService.sol +664 -0
  449. package/contracts/product/PolicyServiceLib.sol +86 -0
  450. package/contracts/product/PolicyServiceManager.sol +39 -0
  451. package/contracts/product/PricingService.sol +309 -0
  452. package/contracts/product/PricingServiceManager.sol +39 -0
  453. package/contracts/product/Product.sol +467 -0
  454. package/contracts/product/RiskService.sol +154 -0
  455. package/contracts/product/RiskServiceManager.sol +39 -0
  456. package/contracts/registry/ChainNft.sol +99 -37
  457. package/contracts/registry/IRegistry.sol +135 -40
  458. package/contracts/registry/IRegistryService.sol +49 -16
  459. package/contracts/registry/IRelease.sol +29 -0
  460. package/contracts/registry/ITransferInterceptor.sol +1 -1
  461. package/contracts/registry/Registry.sol +569 -344
  462. package/contracts/registry/RegistryAdmin.sol +188 -0
  463. package/contracts/registry/RegistryAuthorization.sol +277 -0
  464. package/contracts/registry/RegistryService.sol +147 -289
  465. package/contracts/registry/RegistryServiceManager.sol +53 -0
  466. package/contracts/registry/ReleaseAdmin.sol +195 -0
  467. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  468. package/contracts/registry/ReleaseRegistry.sol +520 -0
  469. package/contracts/registry/ServiceAuthorizationV3.sol +341 -0
  470. package/contracts/registry/TokenRegistry.sol +314 -0
  471. package/contracts/shared/Component.sol +210 -0
  472. package/contracts/shared/ComponentService.sol +708 -0
  473. package/contracts/shared/ComponentServiceManager.sol +38 -0
  474. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  475. package/contracts/shared/ContractLib.sol +292 -0
  476. package/contracts/shared/IComponent.sol +58 -0
  477. package/contracts/shared/IComponentService.sol +112 -0
  478. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  479. package/contracts/shared/IKeyValueStore.sol +54 -0
  480. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  481. package/contracts/shared/INftOwnable.sol +25 -0
  482. package/contracts/shared/IPolicyHolder.sol +35 -0
  483. package/contracts/shared/IRegisterable.sol +24 -9
  484. package/contracts/shared/IRegistryLinked.sol +11 -0
  485. package/contracts/shared/IService.sol +23 -0
  486. package/contracts/shared/InitializableERC165.sol +35 -0
  487. package/contracts/shared/InstanceLinkedComponent.sol +195 -0
  488. package/contracts/shared/KeyValueStore.sol +131 -0
  489. package/contracts/shared/Lifecycle.sol +88 -0
  490. package/contracts/shared/NftIdSet.sol +65 -0
  491. package/contracts/shared/NftOwnable.sol +127 -0
  492. package/contracts/shared/PolicyHolder.sol +62 -0
  493. package/contracts/shared/Registerable.sol +51 -62
  494. package/contracts/shared/RegistryLinked.sol +38 -0
  495. package/contracts/shared/Service.sol +67 -0
  496. package/contracts/shared/TokenHandler.sol +342 -0
  497. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  498. package/contracts/staking/IStaking.sol +179 -0
  499. package/contracts/staking/IStakingService.sol +172 -0
  500. package/contracts/staking/Staking.sol +546 -0
  501. package/contracts/staking/StakingLib.sol +281 -0
  502. package/contracts/staking/StakingLifecycle.sol +23 -0
  503. package/contracts/staking/StakingManager.sol +52 -0
  504. package/contracts/staking/StakingReader.sol +180 -0
  505. package/contracts/staking/StakingService.sol +464 -0
  506. package/contracts/staking/StakingServiceManager.sol +45 -0
  507. package/contracts/staking/StakingStore.sol +606 -0
  508. package/contracts/staking/TargetManagerLib.sol +211 -0
  509. package/contracts/{types → type}/AddressSet.sol +1 -1
  510. package/contracts/type/Amount.sol +150 -0
  511. package/contracts/{types → type}/Blocknumber.sol +27 -3
  512. package/contracts/type/ClaimId.sol +80 -0
  513. package/contracts/type/DistributorType.sol +55 -0
  514. package/contracts/type/Fee.sol +66 -0
  515. package/contracts/{types → type}/Key32.sol +10 -5
  516. package/contracts/type/Key32Set.sol +62 -0
  517. package/contracts/{types → type}/NftId.sol +28 -15
  518. package/contracts/type/NftIdSet.sol +62 -0
  519. package/contracts/type/ObjectType.sol +307 -0
  520. package/contracts/type/PayoutId.sol +82 -0
  521. package/contracts/type/Referral.sol +90 -0
  522. package/contracts/type/RequestId.sol +75 -0
  523. package/contracts/type/RiskId.sol +75 -0
  524. package/contracts/type/RoleId.sol +180 -0
  525. package/contracts/type/Seconds.sol +101 -0
  526. package/contracts/type/Selector.sol +107 -0
  527. package/contracts/{types → type}/StateId.sol +53 -5
  528. package/contracts/type/String.sol +53 -0
  529. package/contracts/{types → type}/Timestamp.sol +37 -19
  530. package/contracts/{types → type}/UFixed.sol +72 -19
  531. package/contracts/{types → type}/Version.sol +61 -6
  532. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  533. package/contracts/upgradeability/ProxyManager.sol +234 -0
  534. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +2 -4
  535. package/contracts/upgradeability/Versionable.sol +62 -0
  536. package/package.json +13 -8
  537. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  538. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -213
  539. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  540. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -445
  541. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  542. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -177
  543. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  544. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -343
  545. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  546. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -474
  547. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  548. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -373
  549. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  550. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -602
  551. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  552. package/artifacts/contracts/components/Product.sol/Product.json +0 -502
  553. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  555. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  557. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  559. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  561. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  563. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  567. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  568. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  569. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  570. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  571. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  572. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  573. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  577. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  579. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  581. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  583. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  584. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  585. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  586. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  587. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  588. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  589. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  590. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  591. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  592. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  593. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -344
  595. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  597. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -710
  598. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  599. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  600. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  601. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  602. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  603. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  604. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  605. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  607. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  609. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  611. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  612. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  613. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  614. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  615. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  616. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  617. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  618. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  619. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  620. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  621. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  622. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  624. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  625. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  627. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  628. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  629. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  630. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  631. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  632. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  633. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  635. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  636. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  637. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  638. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  639. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  640. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  641. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  642. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  643. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  644. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  645. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  646. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  647. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -690
  648. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  649. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -526
  650. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  651. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  652. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -369
  653. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  654. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -484
  655. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  656. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  657. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -649
  658. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  659. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -964
  660. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  661. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  662. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  663. package/artifacts/contracts/registry/RegistryInstaller.sol/RegistryInstaller.dbg.json +0 -4
  664. package/artifacts/contracts/registry/RegistryInstaller.sol/RegistryInstaller.json +0 -344
  665. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  666. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  667. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  668. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  669. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  670. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  671. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -310
  672. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  673. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  674. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  675. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  676. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  677. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -445
  678. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  679. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  680. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  681. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -602
  682. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  683. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -632
  684. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  685. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -191
  686. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  687. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  688. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  689. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -472
  690. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  691. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  692. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  693. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  694. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  695. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -270
  696. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  697. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  698. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  699. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  700. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  701. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  702. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  703. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  704. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  705. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  706. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  707. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  708. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  709. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  710. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  711. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  712. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  713. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  714. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  715. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  716. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  717. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  718. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  719. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  720. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  721. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  722. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  723. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  724. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  725. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  726. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  727. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  728. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  729. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  730. package/contracts/components/BaseComponent.sol +0 -79
  731. package/contracts/components/Distribution.sol +0 -155
  732. package/contracts/components/IBaseComponent.sol +0 -19
  733. package/contracts/components/IDistributionComponent.sol +0 -47
  734. package/contracts/components/IPoolComponent.sol +0 -65
  735. package/contracts/components/IProductComponent.sol +0 -39
  736. package/contracts/components/Pool.sol +0 -246
  737. package/contracts/components/Product.sol +0 -299
  738. package/contracts/experiment/errors/Require.sol +0 -38
  739. package/contracts/experiment/errors/Revert.sol +0 -44
  740. package/contracts/experiment/inheritance/A.sol +0 -53
  741. package/contracts/experiment/inheritance/B.sol +0 -28
  742. package/contracts/experiment/inheritance/C.sol +0 -34
  743. package/contracts/experiment/inheritance/IA.sol +0 -13
  744. package/contracts/experiment/inheritance/IB.sol +0 -10
  745. package/contracts/experiment/inheritance/IC.sol +0 -12
  746. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  747. package/contracts/experiment/statemachine/ISM.sol +0 -25
  748. package/contracts/experiment/statemachine/SM.sol +0 -57
  749. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  750. package/contracts/experiment/types/TypeA.sol +0 -47
  751. package/contracts/experiment/types/TypeB.sol +0 -29
  752. package/contracts/instance/IInstanceLinked.sol +0 -8
  753. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  754. package/contracts/instance/base/IInstanceBase.sol +0 -23
  755. package/contracts/instance/base/IKeyValueStore.sol +0 -50
  756. package/contracts/instance/base/IService.sol +0 -15
  757. package/contracts/instance/base/InstanceBase.sol +0 -89
  758. package/contracts/instance/base/KeyValueStore.sol +0 -161
  759. package/contracts/instance/base/Lifecycle.sol +0 -100
  760. package/contracts/instance/base/ModuleBase.sol +0 -57
  761. package/contracts/instance/base/ServiceBase.sol +0 -43
  762. package/contracts/instance/module/access/Access.sol +0 -149
  763. package/contracts/instance/module/access/IAccess.sol +0 -53
  764. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  765. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  766. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  767. package/contracts/instance/module/component/IComponent.sol +0 -28
  768. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  769. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  770. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  771. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  772. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  773. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  774. package/contracts/instance/module/risk/IRisk.sol +0 -26
  775. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  776. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  777. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  778. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  779. package/contracts/instance/service/ComponentOwnerService.sol +0 -272
  780. package/contracts/instance/service/DistributionService.sol +0 -54
  781. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  782. package/contracts/instance/service/IDistributionService.sol +0 -12
  783. package/contracts/instance/service/IPoolService.sol +0 -37
  784. package/contracts/instance/service/IProductService.sol +0 -107
  785. package/contracts/instance/service/PoolService.sol +0 -149
  786. package/contracts/instance/service/ProductService.sol +0 -509
  787. package/contracts/registry/IChainNft.sol +0 -22
  788. package/contracts/registry/IRegistryLinked.sol +0 -8
  789. package/contracts/registry/RegistryInstaller.sol +0 -100
  790. package/contracts/shared/ERC165.sol +0 -21
  791. package/contracts/shared/IOwnable.sol +0 -6
  792. package/contracts/shared/ProxyManager.sol +0 -115
  793. package/contracts/shared/Versionable.sol +0 -147
  794. package/contracts/test/TestDistribution.sol +0 -22
  795. package/contracts/test/TestFee.sol +0 -25
  796. package/contracts/test/TestPool.sol +0 -27
  797. package/contracts/test/TestProduct.sol +0 -74
  798. package/contracts/test/TestRegisterable.sol +0 -18
  799. package/contracts/test/TestRoleId.sol +0 -14
  800. package/contracts/test/TestService.sol +0 -26
  801. package/contracts/test/TestVersion.sol +0 -44
  802. package/contracts/test/TestVersionable.sol +0 -17
  803. package/contracts/test/Usdc.sol +0 -26
  804. package/contracts/types/ChainId.sol +0 -38
  805. package/contracts/types/Fee.sol +0 -56
  806. package/contracts/types/NftIdSet.sol +0 -60
  807. package/contracts/types/ObjectType.sol +0 -131
  808. package/contracts/types/ReferralId.sol +0 -48
  809. package/contracts/types/RiskId.sol +0 -43
  810. package/contracts/types/RoleId.sol +0 -38
@@ -0,0 +1,2698 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceReader",
4
+ "sourceName": "contracts/instance/InstanceReader.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "poolNftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "activeBundles",
25
+ "outputs": [
26
+ {
27
+ "internalType": "uint256",
28
+ "name": "bundleCount",
29
+ "type": "uint256"
30
+ }
31
+ ],
32
+ "stateMutability": "view",
33
+ "type": "function"
34
+ },
35
+ {
36
+ "inputs": [
37
+ {
38
+ "internalType": "NftId",
39
+ "name": "productNftId",
40
+ "type": "uint96"
41
+ }
42
+ ],
43
+ "name": "activeRisks",
44
+ "outputs": [
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "activeRiskCount",
48
+ "type": "uint256"
49
+ }
50
+ ],
51
+ "stateMutability": "view",
52
+ "type": "function"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "NftId",
58
+ "name": "poolNftId",
59
+ "type": "uint96"
60
+ }
61
+ ],
62
+ "name": "bundles",
63
+ "outputs": [
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "bundleCount",
67
+ "type": "uint256"
68
+ }
69
+ ],
70
+ "stateMutability": "view",
71
+ "type": "function"
72
+ },
73
+ {
74
+ "inputs": [
75
+ {
76
+ "internalType": "NftId",
77
+ "name": "policyNftId",
78
+ "type": "uint96"
79
+ }
80
+ ],
81
+ "name": "claims",
82
+ "outputs": [
83
+ {
84
+ "internalType": "uint16",
85
+ "name": "claimCount",
86
+ "type": "uint16"
87
+ }
88
+ ],
89
+ "stateMutability": "view",
90
+ "type": "function"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "components",
95
+ "outputs": [
96
+ {
97
+ "internalType": "uint256",
98
+ "name": "componentCount",
99
+ "type": "uint256"
100
+ }
101
+ ],
102
+ "stateMutability": "view",
103
+ "type": "function"
104
+ },
105
+ {
106
+ "inputs": [
107
+ {
108
+ "internalType": "NftId",
109
+ "name": "poolNftId",
110
+ "type": "uint96"
111
+ },
112
+ {
113
+ "internalType": "uint256",
114
+ "name": "idx",
115
+ "type": "uint256"
116
+ }
117
+ ],
118
+ "name": "getActiveBundleNftId",
119
+ "outputs": [
120
+ {
121
+ "internalType": "NftId",
122
+ "name": "bundleNftId",
123
+ "type": "uint96"
124
+ }
125
+ ],
126
+ "stateMutability": "view",
127
+ "type": "function"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "NftId",
133
+ "name": "productNftId",
134
+ "type": "uint96"
135
+ },
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "idx",
139
+ "type": "uint256"
140
+ }
141
+ ],
142
+ "name": "getActiveRiskId",
143
+ "outputs": [
144
+ {
145
+ "internalType": "RiskId",
146
+ "name": "riskId",
147
+ "type": "bytes8"
148
+ }
149
+ ],
150
+ "stateMutability": "view",
151
+ "type": "function"
152
+ },
153
+ {
154
+ "inputs": [
155
+ {
156
+ "internalType": "NftId",
157
+ "name": "targetNftId",
158
+ "type": "uint96"
159
+ }
160
+ ],
161
+ "name": "getBalanceAmount",
162
+ "outputs": [
163
+ {
164
+ "internalType": "Amount",
165
+ "name": "",
166
+ "type": "uint96"
167
+ }
168
+ ],
169
+ "stateMutability": "view",
170
+ "type": "function"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "NftId",
176
+ "name": "bundleNftId",
177
+ "type": "uint96"
178
+ }
179
+ ],
180
+ "name": "getBundleInfo",
181
+ "outputs": [
182
+ {
183
+ "components": [
184
+ {
185
+ "internalType": "Timestamp",
186
+ "name": "activatedAt",
187
+ "type": "uint40"
188
+ },
189
+ {
190
+ "internalType": "Timestamp",
191
+ "name": "expiredAt",
192
+ "type": "uint40"
193
+ },
194
+ {
195
+ "internalType": "Timestamp",
196
+ "name": "closedAt",
197
+ "type": "uint40"
198
+ },
199
+ {
200
+ "internalType": "NftId",
201
+ "name": "poolNftId",
202
+ "type": "uint96"
203
+ },
204
+ {
205
+ "components": [
206
+ {
207
+ "internalType": "UFixed",
208
+ "name": "fractionalFee",
209
+ "type": "uint160"
210
+ },
211
+ {
212
+ "internalType": "Amount",
213
+ "name": "fixedFee",
214
+ "type": "uint96"
215
+ }
216
+ ],
217
+ "internalType": "struct Fee",
218
+ "name": "fee",
219
+ "type": "tuple"
220
+ },
221
+ {
222
+ "internalType": "bytes",
223
+ "name": "filter",
224
+ "type": "bytes"
225
+ }
226
+ ],
227
+ "internalType": "struct IBundle.BundleInfo",
228
+ "name": "info",
229
+ "type": "tuple"
230
+ }
231
+ ],
232
+ "stateMutability": "view",
233
+ "type": "function"
234
+ },
235
+ {
236
+ "inputs": [
237
+ {
238
+ "internalType": "NftId",
239
+ "name": "poolNftId",
240
+ "type": "uint96"
241
+ },
242
+ {
243
+ "internalType": "uint256",
244
+ "name": "idx",
245
+ "type": "uint256"
246
+ }
247
+ ],
248
+ "name": "getBundleNftId",
249
+ "outputs": [
250
+ {
251
+ "internalType": "NftId",
252
+ "name": "bundleNftId",
253
+ "type": "uint96"
254
+ }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [],
261
+ "name": "getBundleSet",
262
+ "outputs": [
263
+ {
264
+ "internalType": "contract BundleSet",
265
+ "name": "bundleSet",
266
+ "type": "address"
267
+ }
268
+ ],
269
+ "stateMutability": "view",
270
+ "type": "function"
271
+ },
272
+ {
273
+ "inputs": [
274
+ {
275
+ "internalType": "NftId",
276
+ "name": "bundleNftId",
277
+ "type": "uint96"
278
+ }
279
+ ],
280
+ "name": "getBundleState",
281
+ "outputs": [
282
+ {
283
+ "internalType": "StateId",
284
+ "name": "state",
285
+ "type": "uint8"
286
+ }
287
+ ],
288
+ "stateMutability": "view",
289
+ "type": "function"
290
+ },
291
+ {
292
+ "inputs": [
293
+ {
294
+ "internalType": "uint256",
295
+ "name": "idx",
296
+ "type": "uint256"
297
+ }
298
+ ],
299
+ "name": "getClaimId",
300
+ "outputs": [
301
+ {
302
+ "internalType": "ClaimId",
303
+ "name": "claimId",
304
+ "type": "uint16"
305
+ }
306
+ ],
307
+ "stateMutability": "pure",
308
+ "type": "function"
309
+ },
310
+ {
311
+ "inputs": [
312
+ {
313
+ "internalType": "NftId",
314
+ "name": "policyNftId",
315
+ "type": "uint96"
316
+ },
317
+ {
318
+ "internalType": "ClaimId",
319
+ "name": "claimId",
320
+ "type": "uint16"
321
+ }
322
+ ],
323
+ "name": "getClaimInfo",
324
+ "outputs": [
325
+ {
326
+ "components": [
327
+ {
328
+ "internalType": "Amount",
329
+ "name": "claimAmount",
330
+ "type": "uint96"
331
+ },
332
+ {
333
+ "internalType": "Amount",
334
+ "name": "paidAmount",
335
+ "type": "uint96"
336
+ },
337
+ {
338
+ "internalType": "Timestamp",
339
+ "name": "closedAt",
340
+ "type": "uint40"
341
+ },
342
+ {
343
+ "internalType": "uint24",
344
+ "name": "payoutsCount",
345
+ "type": "uint24"
346
+ },
347
+ {
348
+ "internalType": "uint24",
349
+ "name": "openPayoutsCount",
350
+ "type": "uint24"
351
+ },
352
+ {
353
+ "internalType": "bytes",
354
+ "name": "submissionData",
355
+ "type": "bytes"
356
+ },
357
+ {
358
+ "internalType": "bytes",
359
+ "name": "processData",
360
+ "type": "bytes"
361
+ }
362
+ ],
363
+ "internalType": "struct IPolicy.ClaimInfo",
364
+ "name": "info",
365
+ "type": "tuple"
366
+ }
367
+ ],
368
+ "stateMutability": "view",
369
+ "type": "function"
370
+ },
371
+ {
372
+ "inputs": [
373
+ {
374
+ "internalType": "NftId",
375
+ "name": "policyNftId",
376
+ "type": "uint96"
377
+ },
378
+ {
379
+ "internalType": "ClaimId",
380
+ "name": "claimId",
381
+ "type": "uint16"
382
+ }
383
+ ],
384
+ "name": "getClaimState",
385
+ "outputs": [
386
+ {
387
+ "internalType": "StateId",
388
+ "name": "state",
389
+ "type": "uint8"
390
+ }
391
+ ],
392
+ "stateMutability": "view",
393
+ "type": "function"
394
+ },
395
+ {
396
+ "inputs": [
397
+ {
398
+ "internalType": "NftId",
399
+ "name": "componentNftId",
400
+ "type": "uint96"
401
+ }
402
+ ],
403
+ "name": "getComponentInfo",
404
+ "outputs": [
405
+ {
406
+ "components": [
407
+ {
408
+ "internalType": "string",
409
+ "name": "name",
410
+ "type": "string"
411
+ },
412
+ {
413
+ "internalType": "contract TokenHandler",
414
+ "name": "tokenHandler",
415
+ "type": "address"
416
+ },
417
+ {
418
+ "internalType": "bytes",
419
+ "name": "data",
420
+ "type": "bytes"
421
+ }
422
+ ],
423
+ "internalType": "struct IComponents.ComponentInfo",
424
+ "name": "info",
425
+ "type": "tuple"
426
+ }
427
+ ],
428
+ "stateMutability": "view",
429
+ "type": "function"
430
+ },
431
+ {
432
+ "inputs": [
433
+ {
434
+ "internalType": "ReferralId",
435
+ "name": "referralId",
436
+ "type": "bytes8"
437
+ }
438
+ ],
439
+ "name": "getDiscountPercentage",
440
+ "outputs": [
441
+ {
442
+ "internalType": "UFixed",
443
+ "name": "discountPercentage",
444
+ "type": "uint160"
445
+ },
446
+ {
447
+ "internalType": "ReferralStatus",
448
+ "name": "status",
449
+ "type": "uint8"
450
+ }
451
+ ],
452
+ "stateMutability": "view",
453
+ "type": "function"
454
+ },
455
+ {
456
+ "inputs": [
457
+ {
458
+ "internalType": "NftId",
459
+ "name": "distributorNftId",
460
+ "type": "uint96"
461
+ }
462
+ ],
463
+ "name": "getDistributorInfo",
464
+ "outputs": [
465
+ {
466
+ "components": [
467
+ {
468
+ "internalType": "DistributorType",
469
+ "name": "distributorType",
470
+ "type": "bytes8"
471
+ },
472
+ {
473
+ "internalType": "bool",
474
+ "name": "active",
475
+ "type": "bool"
476
+ },
477
+ {
478
+ "internalType": "uint32",
479
+ "name": "numPoliciesSold",
480
+ "type": "uint32"
481
+ },
482
+ {
483
+ "internalType": "bytes",
484
+ "name": "data",
485
+ "type": "bytes"
486
+ }
487
+ ],
488
+ "internalType": "struct IDistribution.DistributorInfo",
489
+ "name": "info",
490
+ "type": "tuple"
491
+ }
492
+ ],
493
+ "stateMutability": "view",
494
+ "type": "function"
495
+ },
496
+ {
497
+ "inputs": [
498
+ {
499
+ "internalType": "DistributorType",
500
+ "name": "distributorType",
501
+ "type": "bytes8"
502
+ }
503
+ ],
504
+ "name": "getDistributorTypeInfo",
505
+ "outputs": [
506
+ {
507
+ "components": [
508
+ {
509
+ "internalType": "UFixed",
510
+ "name": "minDiscountPercentage",
511
+ "type": "uint160"
512
+ },
513
+ {
514
+ "internalType": "NftId",
515
+ "name": "distributionNftId",
516
+ "type": "uint96"
517
+ },
518
+ {
519
+ "internalType": "UFixed",
520
+ "name": "maxDiscountPercentage",
521
+ "type": "uint160"
522
+ },
523
+ {
524
+ "internalType": "uint32",
525
+ "name": "maxReferralCount",
526
+ "type": "uint32"
527
+ },
528
+ {
529
+ "internalType": "Seconds",
530
+ "name": "maxReferralLifetime",
531
+ "type": "uint40"
532
+ },
533
+ {
534
+ "internalType": "bool",
535
+ "name": "allowSelfReferrals",
536
+ "type": "bool"
537
+ },
538
+ {
539
+ "internalType": "bool",
540
+ "name": "allowRenewals",
541
+ "type": "bool"
542
+ },
543
+ {
544
+ "internalType": "UFixed",
545
+ "name": "commissionPercentage",
546
+ "type": "uint160"
547
+ },
548
+ {
549
+ "internalType": "string",
550
+ "name": "name",
551
+ "type": "string"
552
+ },
553
+ {
554
+ "internalType": "bytes",
555
+ "name": "data",
556
+ "type": "bytes"
557
+ }
558
+ ],
559
+ "internalType": "struct IDistribution.DistributorTypeInfo",
560
+ "name": "info",
561
+ "type": "tuple"
562
+ }
563
+ ],
564
+ "stateMutability": "view",
565
+ "type": "function"
566
+ },
567
+ {
568
+ "inputs": [
569
+ {
570
+ "internalType": "NftId",
571
+ "name": "targetNftId",
572
+ "type": "uint96"
573
+ }
574
+ ],
575
+ "name": "getFeeAmount",
576
+ "outputs": [
577
+ {
578
+ "internalType": "Amount",
579
+ "name": "",
580
+ "type": "uint96"
581
+ }
582
+ ],
583
+ "stateMutability": "view",
584
+ "type": "function"
585
+ },
586
+ {
587
+ "inputs": [
588
+ {
589
+ "internalType": "NftId",
590
+ "name": "productNftId",
591
+ "type": "uint96"
592
+ }
593
+ ],
594
+ "name": "getFeeInfo",
595
+ "outputs": [
596
+ {
597
+ "components": [
598
+ {
599
+ "components": [
600
+ {
601
+ "internalType": "UFixed",
602
+ "name": "fractionalFee",
603
+ "type": "uint160"
604
+ },
605
+ {
606
+ "internalType": "Amount",
607
+ "name": "fixedFee",
608
+ "type": "uint96"
609
+ }
610
+ ],
611
+ "internalType": "struct Fee",
612
+ "name": "productFee",
613
+ "type": "tuple"
614
+ },
615
+ {
616
+ "components": [
617
+ {
618
+ "internalType": "UFixed",
619
+ "name": "fractionalFee",
620
+ "type": "uint160"
621
+ },
622
+ {
623
+ "internalType": "Amount",
624
+ "name": "fixedFee",
625
+ "type": "uint96"
626
+ }
627
+ ],
628
+ "internalType": "struct Fee",
629
+ "name": "processingFee",
630
+ "type": "tuple"
631
+ },
632
+ {
633
+ "components": [
634
+ {
635
+ "internalType": "UFixed",
636
+ "name": "fractionalFee",
637
+ "type": "uint160"
638
+ },
639
+ {
640
+ "internalType": "Amount",
641
+ "name": "fixedFee",
642
+ "type": "uint96"
643
+ }
644
+ ],
645
+ "internalType": "struct Fee",
646
+ "name": "distributionFee",
647
+ "type": "tuple"
648
+ },
649
+ {
650
+ "components": [
651
+ {
652
+ "internalType": "UFixed",
653
+ "name": "fractionalFee",
654
+ "type": "uint160"
655
+ },
656
+ {
657
+ "internalType": "Amount",
658
+ "name": "fixedFee",
659
+ "type": "uint96"
660
+ }
661
+ ],
662
+ "internalType": "struct Fee",
663
+ "name": "minDistributionOwnerFee",
664
+ "type": "tuple"
665
+ },
666
+ {
667
+ "components": [
668
+ {
669
+ "internalType": "UFixed",
670
+ "name": "fractionalFee",
671
+ "type": "uint160"
672
+ },
673
+ {
674
+ "internalType": "Amount",
675
+ "name": "fixedFee",
676
+ "type": "uint96"
677
+ }
678
+ ],
679
+ "internalType": "struct Fee",
680
+ "name": "poolFee",
681
+ "type": "tuple"
682
+ },
683
+ {
684
+ "components": [
685
+ {
686
+ "internalType": "UFixed",
687
+ "name": "fractionalFee",
688
+ "type": "uint160"
689
+ },
690
+ {
691
+ "internalType": "Amount",
692
+ "name": "fixedFee",
693
+ "type": "uint96"
694
+ }
695
+ ],
696
+ "internalType": "struct Fee",
697
+ "name": "stakingFee",
698
+ "type": "tuple"
699
+ },
700
+ {
701
+ "components": [
702
+ {
703
+ "internalType": "UFixed",
704
+ "name": "fractionalFee",
705
+ "type": "uint160"
706
+ },
707
+ {
708
+ "internalType": "Amount",
709
+ "name": "fixedFee",
710
+ "type": "uint96"
711
+ }
712
+ ],
713
+ "internalType": "struct Fee",
714
+ "name": "performanceFee",
715
+ "type": "tuple"
716
+ }
717
+ ],
718
+ "internalType": "struct IComponents.FeeInfo",
719
+ "name": "feeInfo",
720
+ "type": "tuple"
721
+ }
722
+ ],
723
+ "stateMutability": "view",
724
+ "type": "function"
725
+ },
726
+ {
727
+ "inputs": [],
728
+ "name": "getInstance",
729
+ "outputs": [
730
+ {
731
+ "internalType": "contract IInstance",
732
+ "name": "instance",
733
+ "type": "address"
734
+ }
735
+ ],
736
+ "stateMutability": "view",
737
+ "type": "function"
738
+ },
739
+ {
740
+ "inputs": [],
741
+ "name": "getInstanceNftId",
742
+ "outputs": [
743
+ {
744
+ "internalType": "NftId",
745
+ "name": "instanceNftid",
746
+ "type": "uint96"
747
+ }
748
+ ],
749
+ "stateMutability": "view",
750
+ "type": "function"
751
+ },
752
+ {
753
+ "inputs": [],
754
+ "name": "getInstanceOwnerRole",
755
+ "outputs": [
756
+ {
757
+ "internalType": "RoleId",
758
+ "name": "roleId",
759
+ "type": "uint64"
760
+ }
761
+ ],
762
+ "stateMutability": "pure",
763
+ "type": "function"
764
+ },
765
+ {
766
+ "inputs": [],
767
+ "name": "getInstanceStore",
768
+ "outputs": [
769
+ {
770
+ "internalType": "contract IKeyValueStore",
771
+ "name": "store",
772
+ "type": "address"
773
+ }
774
+ ],
775
+ "stateMutability": "view",
776
+ "type": "function"
777
+ },
778
+ {
779
+ "inputs": [
780
+ {
781
+ "internalType": "NftId",
782
+ "name": "targetNftId",
783
+ "type": "uint96"
784
+ }
785
+ ],
786
+ "name": "getLockedAmount",
787
+ "outputs": [
788
+ {
789
+ "internalType": "Amount",
790
+ "name": "",
791
+ "type": "uint96"
792
+ }
793
+ ],
794
+ "stateMutability": "view",
795
+ "type": "function"
796
+ },
797
+ {
798
+ "inputs": [
799
+ {
800
+ "internalType": "Key32",
801
+ "name": "key",
802
+ "type": "bytes32"
803
+ }
804
+ ],
805
+ "name": "getMetadata",
806
+ "outputs": [
807
+ {
808
+ "components": [
809
+ {
810
+ "internalType": "ObjectType",
811
+ "name": "objectType",
812
+ "type": "uint8"
813
+ },
814
+ {
815
+ "internalType": "StateId",
816
+ "name": "state",
817
+ "type": "uint8"
818
+ },
819
+ {
820
+ "internalType": "Blocknumber",
821
+ "name": "updatedIn",
822
+ "type": "uint32"
823
+ },
824
+ {
825
+ "internalType": "Blocknumber",
826
+ "name": "createdIn",
827
+ "type": "uint32"
828
+ }
829
+ ],
830
+ "internalType": "struct IKeyValueStore.Metadata",
831
+ "name": "metadata",
832
+ "type": "tuple"
833
+ }
834
+ ],
835
+ "stateMutability": "view",
836
+ "type": "function"
837
+ },
838
+ {
839
+ "inputs": [
840
+ {
841
+ "internalType": "ClaimId",
842
+ "name": "claimId",
843
+ "type": "uint16"
844
+ },
845
+ {
846
+ "internalType": "uint24",
847
+ "name": "idx",
848
+ "type": "uint24"
849
+ }
850
+ ],
851
+ "name": "getPayoutId",
852
+ "outputs": [
853
+ {
854
+ "internalType": "PayoutId",
855
+ "name": "payoutId",
856
+ "type": "uint40"
857
+ }
858
+ ],
859
+ "stateMutability": "pure",
860
+ "type": "function"
861
+ },
862
+ {
863
+ "inputs": [
864
+ {
865
+ "internalType": "NftId",
866
+ "name": "policyNftId",
867
+ "type": "uint96"
868
+ },
869
+ {
870
+ "internalType": "PayoutId",
871
+ "name": "payoutId",
872
+ "type": "uint40"
873
+ }
874
+ ],
875
+ "name": "getPayoutInfo",
876
+ "outputs": [
877
+ {
878
+ "components": [
879
+ {
880
+ "internalType": "ClaimId",
881
+ "name": "claimId",
882
+ "type": "uint16"
883
+ },
884
+ {
885
+ "internalType": "Amount",
886
+ "name": "amount",
887
+ "type": "uint96"
888
+ },
889
+ {
890
+ "internalType": "Timestamp",
891
+ "name": "paidAt",
892
+ "type": "uint40"
893
+ },
894
+ {
895
+ "internalType": "address",
896
+ "name": "beneficiary",
897
+ "type": "address"
898
+ },
899
+ {
900
+ "internalType": "bytes",
901
+ "name": "data",
902
+ "type": "bytes"
903
+ }
904
+ ],
905
+ "internalType": "struct IPolicy.PayoutInfo",
906
+ "name": "info",
907
+ "type": "tuple"
908
+ }
909
+ ],
910
+ "stateMutability": "view",
911
+ "type": "function"
912
+ },
913
+ {
914
+ "inputs": [
915
+ {
916
+ "internalType": "NftId",
917
+ "name": "policyNftId",
918
+ "type": "uint96"
919
+ },
920
+ {
921
+ "internalType": "PayoutId",
922
+ "name": "payoutId",
923
+ "type": "uint40"
924
+ }
925
+ ],
926
+ "name": "getPayoutState",
927
+ "outputs": [
928
+ {
929
+ "internalType": "StateId",
930
+ "name": "state",
931
+ "type": "uint8"
932
+ }
933
+ ],
934
+ "stateMutability": "view",
935
+ "type": "function"
936
+ },
937
+ {
938
+ "inputs": [
939
+ {
940
+ "internalType": "NftId",
941
+ "name": "policyNftId",
942
+ "type": "uint96"
943
+ }
944
+ ],
945
+ "name": "getPolicyInfo",
946
+ "outputs": [
947
+ {
948
+ "components": [
949
+ {
950
+ "internalType": "NftId",
951
+ "name": "productNftId",
952
+ "type": "uint96"
953
+ },
954
+ {
955
+ "internalType": "NftId",
956
+ "name": "bundleNftId",
957
+ "type": "uint96"
958
+ },
959
+ {
960
+ "internalType": "RiskId",
961
+ "name": "riskId",
962
+ "type": "bytes8"
963
+ },
964
+ {
965
+ "internalType": "Amount",
966
+ "name": "sumInsuredAmount",
967
+ "type": "uint96"
968
+ },
969
+ {
970
+ "internalType": "Amount",
971
+ "name": "premiumAmount",
972
+ "type": "uint96"
973
+ },
974
+ {
975
+ "internalType": "ReferralId",
976
+ "name": "referralId",
977
+ "type": "bytes8"
978
+ },
979
+ {
980
+ "internalType": "uint16",
981
+ "name": "claimsCount",
982
+ "type": "uint16"
983
+ },
984
+ {
985
+ "internalType": "uint16",
986
+ "name": "openClaimsCount",
987
+ "type": "uint16"
988
+ },
989
+ {
990
+ "internalType": "Amount",
991
+ "name": "claimAmount",
992
+ "type": "uint96"
993
+ },
994
+ {
995
+ "internalType": "Amount",
996
+ "name": "payoutAmount",
997
+ "type": "uint96"
998
+ },
999
+ {
1000
+ "internalType": "Timestamp",
1001
+ "name": "activatedAt",
1002
+ "type": "uint40"
1003
+ },
1004
+ {
1005
+ "internalType": "Seconds",
1006
+ "name": "lifetime",
1007
+ "type": "uint40"
1008
+ },
1009
+ {
1010
+ "internalType": "Timestamp",
1011
+ "name": "expiredAt",
1012
+ "type": "uint40"
1013
+ },
1014
+ {
1015
+ "internalType": "Timestamp",
1016
+ "name": "closedAt",
1017
+ "type": "uint40"
1018
+ },
1019
+ {
1020
+ "internalType": "bytes",
1021
+ "name": "applicationData",
1022
+ "type": "bytes"
1023
+ },
1024
+ {
1025
+ "internalType": "bytes",
1026
+ "name": "processData",
1027
+ "type": "bytes"
1028
+ }
1029
+ ],
1030
+ "internalType": "struct IPolicy.PolicyInfo",
1031
+ "name": "info",
1032
+ "type": "tuple"
1033
+ }
1034
+ ],
1035
+ "stateMutability": "view",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [
1040
+ {
1041
+ "internalType": "RiskId",
1042
+ "name": "riskId",
1043
+ "type": "bytes8"
1044
+ },
1045
+ {
1046
+ "internalType": "uint256",
1047
+ "name": "idx",
1048
+ "type": "uint256"
1049
+ }
1050
+ ],
1051
+ "name": "getPolicyNftIdForRisk",
1052
+ "outputs": [
1053
+ {
1054
+ "internalType": "NftId",
1055
+ "name": "linkedPolicyNftId",
1056
+ "type": "uint96"
1057
+ }
1058
+ ],
1059
+ "stateMutability": "view",
1060
+ "type": "function"
1061
+ },
1062
+ {
1063
+ "inputs": [
1064
+ {
1065
+ "internalType": "NftId",
1066
+ "name": "policyNftId",
1067
+ "type": "uint96"
1068
+ }
1069
+ ],
1070
+ "name": "getPolicyState",
1071
+ "outputs": [
1072
+ {
1073
+ "internalType": "StateId",
1074
+ "name": "state",
1075
+ "type": "uint8"
1076
+ }
1077
+ ],
1078
+ "stateMutability": "view",
1079
+ "type": "function"
1080
+ },
1081
+ {
1082
+ "inputs": [
1083
+ {
1084
+ "internalType": "NftId",
1085
+ "name": "poolNftId",
1086
+ "type": "uint96"
1087
+ }
1088
+ ],
1089
+ "name": "getPoolInfo",
1090
+ "outputs": [
1091
+ {
1092
+ "components": [
1093
+ {
1094
+ "internalType": "Amount",
1095
+ "name": "maxBalanceAmount",
1096
+ "type": "uint96"
1097
+ },
1098
+ {
1099
+ "internalType": "UFixed",
1100
+ "name": "collateralizationLevel",
1101
+ "type": "uint160"
1102
+ },
1103
+ {
1104
+ "internalType": "UFixed",
1105
+ "name": "retentionLevel",
1106
+ "type": "uint160"
1107
+ },
1108
+ {
1109
+ "internalType": "bool",
1110
+ "name": "isInterceptingBundleTransfers",
1111
+ "type": "bool"
1112
+ },
1113
+ {
1114
+ "internalType": "bool",
1115
+ "name": "isProcessingConfirmedClaims",
1116
+ "type": "bool"
1117
+ },
1118
+ {
1119
+ "internalType": "bool",
1120
+ "name": "isExternallyManaged",
1121
+ "type": "bool"
1122
+ },
1123
+ {
1124
+ "internalType": "bool",
1125
+ "name": "isVerifyingApplications",
1126
+ "type": "bool"
1127
+ }
1128
+ ],
1129
+ "internalType": "struct IComponents.PoolInfo",
1130
+ "name": "info",
1131
+ "type": "tuple"
1132
+ }
1133
+ ],
1134
+ "stateMutability": "view",
1135
+ "type": "function"
1136
+ },
1137
+ {
1138
+ "inputs": [
1139
+ {
1140
+ "internalType": "NftId",
1141
+ "name": "policyNftId",
1142
+ "type": "uint96"
1143
+ }
1144
+ ],
1145
+ "name": "getPremiumInfo",
1146
+ "outputs": [
1147
+ {
1148
+ "components": [
1149
+ {
1150
+ "internalType": "Amount",
1151
+ "name": "productFeeAmount",
1152
+ "type": "uint96"
1153
+ },
1154
+ {
1155
+ "internalType": "Amount",
1156
+ "name": "distributionFeeAndCommissionAmount",
1157
+ "type": "uint96"
1158
+ },
1159
+ {
1160
+ "internalType": "Amount",
1161
+ "name": "poolPremiumAndFeeAmount",
1162
+ "type": "uint96"
1163
+ },
1164
+ {
1165
+ "internalType": "Amount",
1166
+ "name": "netPremiumAmount",
1167
+ "type": "uint96"
1168
+ },
1169
+ {
1170
+ "internalType": "Amount",
1171
+ "name": "fullPremiumAmount",
1172
+ "type": "uint96"
1173
+ },
1174
+ {
1175
+ "internalType": "Amount",
1176
+ "name": "premiumAmount",
1177
+ "type": "uint96"
1178
+ },
1179
+ {
1180
+ "internalType": "Amount",
1181
+ "name": "productFeeFixAmount",
1182
+ "type": "uint96"
1183
+ },
1184
+ {
1185
+ "internalType": "Amount",
1186
+ "name": "poolFeeFixAmount",
1187
+ "type": "uint96"
1188
+ },
1189
+ {
1190
+ "internalType": "Amount",
1191
+ "name": "bundleFeeFixAmount",
1192
+ "type": "uint96"
1193
+ },
1194
+ {
1195
+ "internalType": "Amount",
1196
+ "name": "distributionFeeFixAmount",
1197
+ "type": "uint96"
1198
+ },
1199
+ {
1200
+ "internalType": "Amount",
1201
+ "name": "productFeeVarAmount",
1202
+ "type": "uint96"
1203
+ },
1204
+ {
1205
+ "internalType": "Amount",
1206
+ "name": "poolFeeVarAmount",
1207
+ "type": "uint96"
1208
+ },
1209
+ {
1210
+ "internalType": "Amount",
1211
+ "name": "bundleFeeVarAmount",
1212
+ "type": "uint96"
1213
+ },
1214
+ {
1215
+ "internalType": "Amount",
1216
+ "name": "distributionFeeVarAmount",
1217
+ "type": "uint96"
1218
+ },
1219
+ {
1220
+ "internalType": "Amount",
1221
+ "name": "distributionOwnerFeeFixAmount",
1222
+ "type": "uint96"
1223
+ },
1224
+ {
1225
+ "internalType": "Amount",
1226
+ "name": "distributionOwnerFeeVarAmount",
1227
+ "type": "uint96"
1228
+ },
1229
+ {
1230
+ "internalType": "Amount",
1231
+ "name": "commissionAmount",
1232
+ "type": "uint96"
1233
+ },
1234
+ {
1235
+ "internalType": "Amount",
1236
+ "name": "discountAmount",
1237
+ "type": "uint96"
1238
+ }
1239
+ ],
1240
+ "internalType": "struct IPolicy.PremiumInfo",
1241
+ "name": "info",
1242
+ "type": "tuple"
1243
+ }
1244
+ ],
1245
+ "stateMutability": "view",
1246
+ "type": "function"
1247
+ },
1248
+ {
1249
+ "inputs": [
1250
+ {
1251
+ "internalType": "NftId",
1252
+ "name": "policyNftId",
1253
+ "type": "uint96"
1254
+ }
1255
+ ],
1256
+ "name": "getPremiumInfoState",
1257
+ "outputs": [
1258
+ {
1259
+ "internalType": "StateId",
1260
+ "name": "state",
1261
+ "type": "uint8"
1262
+ }
1263
+ ],
1264
+ "stateMutability": "view",
1265
+ "type": "function"
1266
+ },
1267
+ {
1268
+ "inputs": [
1269
+ {
1270
+ "internalType": "NftId",
1271
+ "name": "productNftId",
1272
+ "type": "uint96"
1273
+ }
1274
+ ],
1275
+ "name": "getProductInfo",
1276
+ "outputs": [
1277
+ {
1278
+ "components": [
1279
+ {
1280
+ "internalType": "bool",
1281
+ "name": "isProcessingFundedClaims",
1282
+ "type": "bool"
1283
+ },
1284
+ {
1285
+ "internalType": "bool",
1286
+ "name": "isInterceptingPolicyTransfers",
1287
+ "type": "bool"
1288
+ },
1289
+ {
1290
+ "internalType": "bool",
1291
+ "name": "hasDistribution",
1292
+ "type": "bool"
1293
+ },
1294
+ {
1295
+ "internalType": "uint8",
1296
+ "name": "expectedNumberOfOracles",
1297
+ "type": "uint8"
1298
+ },
1299
+ {
1300
+ "internalType": "uint8",
1301
+ "name": "numberOfOracles",
1302
+ "type": "uint8"
1303
+ },
1304
+ {
1305
+ "internalType": "NftId",
1306
+ "name": "poolNftId",
1307
+ "type": "uint96"
1308
+ },
1309
+ {
1310
+ "internalType": "NftId",
1311
+ "name": "distributionNftId",
1312
+ "type": "uint96"
1313
+ },
1314
+ {
1315
+ "internalType": "NftId[]",
1316
+ "name": "oracleNftId",
1317
+ "type": "uint96[]"
1318
+ }
1319
+ ],
1320
+ "internalType": "struct IComponents.ProductInfo",
1321
+ "name": "info",
1322
+ "type": "tuple"
1323
+ }
1324
+ ],
1325
+ "stateMutability": "view",
1326
+ "type": "function"
1327
+ },
1328
+ {
1329
+ "inputs": [
1330
+ {
1331
+ "internalType": "uint256",
1332
+ "name": "idx",
1333
+ "type": "uint256"
1334
+ }
1335
+ ],
1336
+ "name": "getProductNftId",
1337
+ "outputs": [
1338
+ {
1339
+ "internalType": "NftId",
1340
+ "name": "productNftId",
1341
+ "type": "uint96"
1342
+ }
1343
+ ],
1344
+ "stateMutability": "view",
1345
+ "type": "function"
1346
+ },
1347
+ {
1348
+ "inputs": [
1349
+ {
1350
+ "internalType": "ReferralId",
1351
+ "name": "referralId",
1352
+ "type": "bytes8"
1353
+ }
1354
+ ],
1355
+ "name": "getReferralInfo",
1356
+ "outputs": [
1357
+ {
1358
+ "components": [
1359
+ {
1360
+ "internalType": "NftId",
1361
+ "name": "distributionNftId",
1362
+ "type": "uint96"
1363
+ },
1364
+ {
1365
+ "internalType": "NftId",
1366
+ "name": "distributorNftId",
1367
+ "type": "uint96"
1368
+ },
1369
+ {
1370
+ "internalType": "uint32",
1371
+ "name": "maxReferrals",
1372
+ "type": "uint32"
1373
+ },
1374
+ {
1375
+ "internalType": "uint32",
1376
+ "name": "usedReferrals",
1377
+ "type": "uint32"
1378
+ },
1379
+ {
1380
+ "internalType": "UFixed",
1381
+ "name": "discountPercentage",
1382
+ "type": "uint160"
1383
+ },
1384
+ {
1385
+ "internalType": "Timestamp",
1386
+ "name": "expiryAt",
1387
+ "type": "uint40"
1388
+ },
1389
+ {
1390
+ "internalType": "string",
1391
+ "name": "referralCode",
1392
+ "type": "string"
1393
+ },
1394
+ {
1395
+ "internalType": "bytes",
1396
+ "name": "data",
1397
+ "type": "bytes"
1398
+ }
1399
+ ],
1400
+ "internalType": "struct IDistribution.ReferralInfo",
1401
+ "name": "info",
1402
+ "type": "tuple"
1403
+ }
1404
+ ],
1405
+ "stateMutability": "view",
1406
+ "type": "function"
1407
+ },
1408
+ {
1409
+ "inputs": [],
1410
+ "name": "getRegistry",
1411
+ "outputs": [
1412
+ {
1413
+ "internalType": "contract IRegistry",
1414
+ "name": "registry",
1415
+ "type": "address"
1416
+ }
1417
+ ],
1418
+ "stateMutability": "view",
1419
+ "type": "function"
1420
+ },
1421
+ {
1422
+ "inputs": [
1423
+ {
1424
+ "internalType": "NftId",
1425
+ "name": "policyNftId",
1426
+ "type": "uint96"
1427
+ }
1428
+ ],
1429
+ "name": "getRemainingClaimableAmount",
1430
+ "outputs": [
1431
+ {
1432
+ "internalType": "Amount",
1433
+ "name": "remainingClaimableAmount",
1434
+ "type": "uint96"
1435
+ }
1436
+ ],
1437
+ "stateMutability": "view",
1438
+ "type": "function"
1439
+ },
1440
+ {
1441
+ "inputs": [
1442
+ {
1443
+ "internalType": "RequestId",
1444
+ "name": "requestId",
1445
+ "type": "uint64"
1446
+ }
1447
+ ],
1448
+ "name": "getRequestInfo",
1449
+ "outputs": [
1450
+ {
1451
+ "components": [
1452
+ {
1453
+ "internalType": "NftId",
1454
+ "name": "requesterNftId",
1455
+ "type": "uint96"
1456
+ },
1457
+ {
1458
+ "internalType": "NftId",
1459
+ "name": "oracleNftId",
1460
+ "type": "uint96"
1461
+ },
1462
+ {
1463
+ "internalType": "bool",
1464
+ "name": "isCancelled",
1465
+ "type": "bool"
1466
+ },
1467
+ {
1468
+ "internalType": "Timestamp",
1469
+ "name": "respondedAt",
1470
+ "type": "uint40"
1471
+ },
1472
+ {
1473
+ "internalType": "Timestamp",
1474
+ "name": "expiredAt",
1475
+ "type": "uint40"
1476
+ },
1477
+ {
1478
+ "internalType": "string",
1479
+ "name": "callbackMethodName",
1480
+ "type": "string"
1481
+ },
1482
+ {
1483
+ "internalType": "bytes",
1484
+ "name": "requestData",
1485
+ "type": "bytes"
1486
+ },
1487
+ {
1488
+ "internalType": "bytes",
1489
+ "name": "responseData",
1490
+ "type": "bytes"
1491
+ }
1492
+ ],
1493
+ "internalType": "struct IOracle.RequestInfo",
1494
+ "name": "requestInfo",
1495
+ "type": "tuple"
1496
+ }
1497
+ ],
1498
+ "stateMutability": "view",
1499
+ "type": "function"
1500
+ },
1501
+ {
1502
+ "inputs": [
1503
+ {
1504
+ "internalType": "NftId",
1505
+ "name": "productNftId",
1506
+ "type": "uint96"
1507
+ },
1508
+ {
1509
+ "internalType": "uint256",
1510
+ "name": "idx",
1511
+ "type": "uint256"
1512
+ }
1513
+ ],
1514
+ "name": "getRiskId",
1515
+ "outputs": [
1516
+ {
1517
+ "internalType": "RiskId",
1518
+ "name": "riskId",
1519
+ "type": "bytes8"
1520
+ }
1521
+ ],
1522
+ "stateMutability": "view",
1523
+ "type": "function"
1524
+ },
1525
+ {
1526
+ "inputs": [
1527
+ {
1528
+ "internalType": "RiskId",
1529
+ "name": "riskId",
1530
+ "type": "bytes8"
1531
+ }
1532
+ ],
1533
+ "name": "getRiskInfo",
1534
+ "outputs": [
1535
+ {
1536
+ "components": [
1537
+ {
1538
+ "internalType": "NftId",
1539
+ "name": "productNftId",
1540
+ "type": "uint96"
1541
+ },
1542
+ {
1543
+ "internalType": "Timestamp",
1544
+ "name": "createdAt",
1545
+ "type": "uint40"
1546
+ },
1547
+ {
1548
+ "internalType": "bytes",
1549
+ "name": "data",
1550
+ "type": "bytes"
1551
+ }
1552
+ ],
1553
+ "internalType": "struct IRisk.RiskInfo",
1554
+ "name": "info",
1555
+ "type": "tuple"
1556
+ }
1557
+ ],
1558
+ "stateMutability": "view",
1559
+ "type": "function"
1560
+ },
1561
+ {
1562
+ "inputs": [],
1563
+ "name": "getRiskSet",
1564
+ "outputs": [
1565
+ {
1566
+ "internalType": "contract RiskSet",
1567
+ "name": "riskSet",
1568
+ "type": "address"
1569
+ }
1570
+ ],
1571
+ "stateMutability": "view",
1572
+ "type": "function"
1573
+ },
1574
+ {
1575
+ "inputs": [
1576
+ {
1577
+ "internalType": "RiskId",
1578
+ "name": "riskId",
1579
+ "type": "bytes8"
1580
+ }
1581
+ ],
1582
+ "name": "getRiskState",
1583
+ "outputs": [
1584
+ {
1585
+ "internalType": "StateId",
1586
+ "name": "stateId",
1587
+ "type": "uint8"
1588
+ }
1589
+ ],
1590
+ "stateMutability": "view",
1591
+ "type": "function"
1592
+ },
1593
+ {
1594
+ "inputs": [
1595
+ {
1596
+ "internalType": "uint256",
1597
+ "name": "idx",
1598
+ "type": "uint256"
1599
+ }
1600
+ ],
1601
+ "name": "getRoleId",
1602
+ "outputs": [
1603
+ {
1604
+ "internalType": "RoleId",
1605
+ "name": "roleId",
1606
+ "type": "uint64"
1607
+ }
1608
+ ],
1609
+ "stateMutability": "view",
1610
+ "type": "function"
1611
+ },
1612
+ {
1613
+ "inputs": [
1614
+ {
1615
+ "internalType": "RoleId",
1616
+ "name": "roleId",
1617
+ "type": "uint64"
1618
+ }
1619
+ ],
1620
+ "name": "getRoleInfo",
1621
+ "outputs": [
1622
+ {
1623
+ "components": [
1624
+ {
1625
+ "internalType": "RoleId",
1626
+ "name": "adminRoleId",
1627
+ "type": "uint64"
1628
+ },
1629
+ {
1630
+ "internalType": "enum IAccess.RoleType",
1631
+ "name": "roleType",
1632
+ "type": "uint8"
1633
+ },
1634
+ {
1635
+ "internalType": "uint32",
1636
+ "name": "maxMemberCount",
1637
+ "type": "uint32"
1638
+ },
1639
+ {
1640
+ "internalType": "Timestamp",
1641
+ "name": "createdAt",
1642
+ "type": "uint40"
1643
+ },
1644
+ {
1645
+ "internalType": "Timestamp",
1646
+ "name": "pausedAt",
1647
+ "type": "uint40"
1648
+ },
1649
+ {
1650
+ "internalType": "Str",
1651
+ "name": "name",
1652
+ "type": "bytes32"
1653
+ }
1654
+ ],
1655
+ "internalType": "struct IAccess.RoleInfo",
1656
+ "name": "roleInfo",
1657
+ "type": "tuple"
1658
+ }
1659
+ ],
1660
+ "stateMutability": "view",
1661
+ "type": "function"
1662
+ },
1663
+ {
1664
+ "inputs": [
1665
+ {
1666
+ "internalType": "RoleId",
1667
+ "name": "roleId",
1668
+ "type": "uint64"
1669
+ },
1670
+ {
1671
+ "internalType": "uint256",
1672
+ "name": "idx",
1673
+ "type": "uint256"
1674
+ }
1675
+ ],
1676
+ "name": "getRoleMember",
1677
+ "outputs": [
1678
+ {
1679
+ "internalType": "address",
1680
+ "name": "account",
1681
+ "type": "address"
1682
+ }
1683
+ ],
1684
+ "stateMutability": "view",
1685
+ "type": "function"
1686
+ },
1687
+ {
1688
+ "inputs": [
1689
+ {
1690
+ "internalType": "Key32",
1691
+ "name": "key",
1692
+ "type": "bytes32"
1693
+ }
1694
+ ],
1695
+ "name": "getState",
1696
+ "outputs": [
1697
+ {
1698
+ "internalType": "StateId",
1699
+ "name": "state",
1700
+ "type": "uint8"
1701
+ }
1702
+ ],
1703
+ "stateMutability": "view",
1704
+ "type": "function"
1705
+ },
1706
+ {
1707
+ "inputs": [
1708
+ {
1709
+ "internalType": "uint256",
1710
+ "name": "idx",
1711
+ "type": "uint256"
1712
+ }
1713
+ ],
1714
+ "name": "getTargetAddress",
1715
+ "outputs": [
1716
+ {
1717
+ "internalType": "address",
1718
+ "name": "target",
1719
+ "type": "address"
1720
+ }
1721
+ ],
1722
+ "stateMutability": "view",
1723
+ "type": "function"
1724
+ },
1725
+ {
1726
+ "inputs": [
1727
+ {
1728
+ "internalType": "address",
1729
+ "name": "target",
1730
+ "type": "address"
1731
+ }
1732
+ ],
1733
+ "name": "getTargetInfo",
1734
+ "outputs": [
1735
+ {
1736
+ "components": [
1737
+ {
1738
+ "internalType": "Str",
1739
+ "name": "name",
1740
+ "type": "bytes32"
1741
+ },
1742
+ {
1743
+ "internalType": "enum IAccess.TargetType",
1744
+ "name": "targetType",
1745
+ "type": "uint8"
1746
+ },
1747
+ {
1748
+ "internalType": "RoleId",
1749
+ "name": "roleId",
1750
+ "type": "uint64"
1751
+ },
1752
+ {
1753
+ "internalType": "Timestamp",
1754
+ "name": "createdAt",
1755
+ "type": "uint40"
1756
+ }
1757
+ ],
1758
+ "internalType": "struct IAccess.TargetInfo",
1759
+ "name": "targetInfo",
1760
+ "type": "tuple"
1761
+ }
1762
+ ],
1763
+ "stateMutability": "view",
1764
+ "type": "function"
1765
+ },
1766
+ {
1767
+ "inputs": [
1768
+ {
1769
+ "internalType": "NftId",
1770
+ "name": "componentNftId",
1771
+ "type": "uint96"
1772
+ }
1773
+ ],
1774
+ "name": "getToken",
1775
+ "outputs": [
1776
+ {
1777
+ "internalType": "contract IERC20Metadata",
1778
+ "name": "token",
1779
+ "type": "address"
1780
+ }
1781
+ ],
1782
+ "stateMutability": "view",
1783
+ "type": "function"
1784
+ },
1785
+ {
1786
+ "inputs": [
1787
+ {
1788
+ "internalType": "NftId",
1789
+ "name": "componentNftId",
1790
+ "type": "uint96"
1791
+ }
1792
+ ],
1793
+ "name": "getTokenHandler",
1794
+ "outputs": [
1795
+ {
1796
+ "internalType": "contract TokenHandler",
1797
+ "name": "tokenHandler",
1798
+ "type": "address"
1799
+ }
1800
+ ],
1801
+ "stateMutability": "view",
1802
+ "type": "function"
1803
+ },
1804
+ {
1805
+ "inputs": [
1806
+ {
1807
+ "internalType": "NftId",
1808
+ "name": "componentNftId",
1809
+ "type": "uint96"
1810
+ }
1811
+ ],
1812
+ "name": "getWallet",
1813
+ "outputs": [
1814
+ {
1815
+ "internalType": "address",
1816
+ "name": "wallet",
1817
+ "type": "address"
1818
+ }
1819
+ ],
1820
+ "stateMutability": "view",
1821
+ "type": "function"
1822
+ },
1823
+ {
1824
+ "inputs": [],
1825
+ "name": "initialize",
1826
+ "outputs": [],
1827
+ "stateMutability": "nonpayable",
1828
+ "type": "function"
1829
+ },
1830
+ {
1831
+ "inputs": [
1832
+ {
1833
+ "internalType": "address",
1834
+ "name": "instanceAddress",
1835
+ "type": "address"
1836
+ }
1837
+ ],
1838
+ "name": "initializeWithInstance",
1839
+ "outputs": [],
1840
+ "stateMutability": "nonpayable",
1841
+ "type": "function"
1842
+ },
1843
+ {
1844
+ "inputs": [
1845
+ {
1846
+ "internalType": "address",
1847
+ "name": "target",
1848
+ "type": "address"
1849
+ }
1850
+ ],
1851
+ "name": "isLocked",
1852
+ "outputs": [
1853
+ {
1854
+ "internalType": "bool",
1855
+ "name": "",
1856
+ "type": "bool"
1857
+ }
1858
+ ],
1859
+ "stateMutability": "view",
1860
+ "type": "function"
1861
+ },
1862
+ {
1863
+ "inputs": [
1864
+ {
1865
+ "internalType": "NftId",
1866
+ "name": "distributionNftId",
1867
+ "type": "uint96"
1868
+ },
1869
+ {
1870
+ "internalType": "ReferralId",
1871
+ "name": "referralId",
1872
+ "type": "bytes8"
1873
+ }
1874
+ ],
1875
+ "name": "isReferralValid",
1876
+ "outputs": [
1877
+ {
1878
+ "internalType": "bool",
1879
+ "name": "isValid",
1880
+ "type": "bool"
1881
+ }
1882
+ ],
1883
+ "stateMutability": "view",
1884
+ "type": "function"
1885
+ },
1886
+ {
1887
+ "inputs": [
1888
+ {
1889
+ "internalType": "RoleId",
1890
+ "name": "roleId",
1891
+ "type": "uint64"
1892
+ }
1893
+ ],
1894
+ "name": "isRoleActive",
1895
+ "outputs": [
1896
+ {
1897
+ "internalType": "bool",
1898
+ "name": "isActive",
1899
+ "type": "bool"
1900
+ }
1901
+ ],
1902
+ "stateMutability": "view",
1903
+ "type": "function"
1904
+ },
1905
+ {
1906
+ "inputs": [
1907
+ {
1908
+ "internalType": "RoleId",
1909
+ "name": "roleId",
1910
+ "type": "uint64"
1911
+ },
1912
+ {
1913
+ "internalType": "address",
1914
+ "name": "account",
1915
+ "type": "address"
1916
+ }
1917
+ ],
1918
+ "name": "isRoleAdmin",
1919
+ "outputs": [
1920
+ {
1921
+ "internalType": "bool",
1922
+ "name": "isMember",
1923
+ "type": "bool"
1924
+ }
1925
+ ],
1926
+ "stateMutability": "view",
1927
+ "type": "function"
1928
+ },
1929
+ {
1930
+ "inputs": [
1931
+ {
1932
+ "internalType": "RoleId",
1933
+ "name": "roleId",
1934
+ "type": "uint64"
1935
+ }
1936
+ ],
1937
+ "name": "isRoleCustom",
1938
+ "outputs": [
1939
+ {
1940
+ "internalType": "bool",
1941
+ "name": "isCustom",
1942
+ "type": "bool"
1943
+ }
1944
+ ],
1945
+ "stateMutability": "view",
1946
+ "type": "function"
1947
+ },
1948
+ {
1949
+ "inputs": [
1950
+ {
1951
+ "internalType": "RoleId",
1952
+ "name": "roleId",
1953
+ "type": "uint64"
1954
+ },
1955
+ {
1956
+ "internalType": "address",
1957
+ "name": "account",
1958
+ "type": "address"
1959
+ }
1960
+ ],
1961
+ "name": "isRoleMember",
1962
+ "outputs": [
1963
+ {
1964
+ "internalType": "bool",
1965
+ "name": "isMember",
1966
+ "type": "bool"
1967
+ }
1968
+ ],
1969
+ "stateMutability": "view",
1970
+ "type": "function"
1971
+ },
1972
+ {
1973
+ "inputs": [
1974
+ {
1975
+ "internalType": "NftId",
1976
+ "name": "policyNftId",
1977
+ "type": "uint96"
1978
+ },
1979
+ {
1980
+ "internalType": "ClaimId",
1981
+ "name": "claimId",
1982
+ "type": "uint16"
1983
+ }
1984
+ ],
1985
+ "name": "payouts",
1986
+ "outputs": [
1987
+ {
1988
+ "internalType": "uint24",
1989
+ "name": "payoutCount",
1990
+ "type": "uint24"
1991
+ }
1992
+ ],
1993
+ "stateMutability": "view",
1994
+ "type": "function"
1995
+ },
1996
+ {
1997
+ "inputs": [
1998
+ {
1999
+ "internalType": "RiskId",
2000
+ "name": "riskId",
2001
+ "type": "bytes8"
2002
+ }
2003
+ ],
2004
+ "name": "policiesForRisk",
2005
+ "outputs": [
2006
+ {
2007
+ "internalType": "uint256",
2008
+ "name": "linkedPolicies",
2009
+ "type": "uint256"
2010
+ }
2011
+ ],
2012
+ "stateMutability": "view",
2013
+ "type": "function"
2014
+ },
2015
+ {
2016
+ "inputs": [
2017
+ {
2018
+ "internalType": "NftId",
2019
+ "name": "policyNftId",
2020
+ "type": "uint96"
2021
+ }
2022
+ ],
2023
+ "name": "policyIsActive",
2024
+ "outputs": [
2025
+ {
2026
+ "internalType": "bool",
2027
+ "name": "isCloseable",
2028
+ "type": "bool"
2029
+ }
2030
+ ],
2031
+ "stateMutability": "view",
2032
+ "type": "function"
2033
+ },
2034
+ {
2035
+ "inputs": [],
2036
+ "name": "products",
2037
+ "outputs": [
2038
+ {
2039
+ "internalType": "uint256",
2040
+ "name": "productCount",
2041
+ "type": "uint256"
2042
+ }
2043
+ ],
2044
+ "stateMutability": "view",
2045
+ "type": "function"
2046
+ },
2047
+ {
2048
+ "inputs": [
2049
+ {
2050
+ "internalType": "NftId",
2051
+ "name": "productNftId",
2052
+ "type": "uint96"
2053
+ }
2054
+ ],
2055
+ "name": "risks",
2056
+ "outputs": [
2057
+ {
2058
+ "internalType": "uint256",
2059
+ "name": "riskCount",
2060
+ "type": "uint256"
2061
+ }
2062
+ ],
2063
+ "stateMutability": "view",
2064
+ "type": "function"
2065
+ },
2066
+ {
2067
+ "inputs": [
2068
+ {
2069
+ "internalType": "RoleId",
2070
+ "name": "roleId",
2071
+ "type": "uint64"
2072
+ }
2073
+ ],
2074
+ "name": "roleExists",
2075
+ "outputs": [
2076
+ {
2077
+ "internalType": "bool",
2078
+ "name": "exists",
2079
+ "type": "bool"
2080
+ }
2081
+ ],
2082
+ "stateMutability": "view",
2083
+ "type": "function"
2084
+ },
2085
+ {
2086
+ "inputs": [
2087
+ {
2088
+ "internalType": "RoleId",
2089
+ "name": "roleId",
2090
+ "type": "uint64"
2091
+ }
2092
+ ],
2093
+ "name": "roleMembers",
2094
+ "outputs": [
2095
+ {
2096
+ "internalType": "uint256",
2097
+ "name": "numberOfMembers",
2098
+ "type": "uint256"
2099
+ }
2100
+ ],
2101
+ "stateMutability": "view",
2102
+ "type": "function"
2103
+ },
2104
+ {
2105
+ "inputs": [],
2106
+ "name": "roles",
2107
+ "outputs": [
2108
+ {
2109
+ "internalType": "uint256",
2110
+ "name": "",
2111
+ "type": "uint256"
2112
+ }
2113
+ ],
2114
+ "stateMutability": "view",
2115
+ "type": "function"
2116
+ },
2117
+ {
2118
+ "inputs": [
2119
+ {
2120
+ "internalType": "address",
2121
+ "name": "target",
2122
+ "type": "address"
2123
+ }
2124
+ ],
2125
+ "name": "targetExists",
2126
+ "outputs": [
2127
+ {
2128
+ "internalType": "bool",
2129
+ "name": "exists",
2130
+ "type": "bool"
2131
+ }
2132
+ ],
2133
+ "stateMutability": "view",
2134
+ "type": "function"
2135
+ },
2136
+ {
2137
+ "inputs": [],
2138
+ "name": "targets",
2139
+ "outputs": [
2140
+ {
2141
+ "internalType": "uint256",
2142
+ "name": "targetCount",
2143
+ "type": "uint256"
2144
+ }
2145
+ ],
2146
+ "stateMutability": "view",
2147
+ "type": "function"
2148
+ },
2149
+ {
2150
+ "inputs": [
2151
+ {
2152
+ "internalType": "NftId",
2153
+ "name": "poolNftId",
2154
+ "type": "uint96"
2155
+ }
2156
+ ],
2157
+ "name": "toBundleKey",
2158
+ "outputs": [
2159
+ {
2160
+ "internalType": "Key32",
2161
+ "name": "",
2162
+ "type": "bytes32"
2163
+ }
2164
+ ],
2165
+ "stateMutability": "pure",
2166
+ "type": "function"
2167
+ },
2168
+ {
2169
+ "inputs": [
2170
+ {
2171
+ "internalType": "NftId",
2172
+ "name": "componentNftId",
2173
+ "type": "uint96"
2174
+ }
2175
+ ],
2176
+ "name": "toComponentKey",
2177
+ "outputs": [
2178
+ {
2179
+ "internalType": "Key32",
2180
+ "name": "",
2181
+ "type": "bytes32"
2182
+ }
2183
+ ],
2184
+ "stateMutability": "pure",
2185
+ "type": "function"
2186
+ },
2187
+ {
2188
+ "inputs": [
2189
+ {
2190
+ "internalType": "NftId",
2191
+ "name": "distributionNftId",
2192
+ "type": "uint96"
2193
+ }
2194
+ ],
2195
+ "name": "toDistributionKey",
2196
+ "outputs": [
2197
+ {
2198
+ "internalType": "Key32",
2199
+ "name": "",
2200
+ "type": "bytes32"
2201
+ }
2202
+ ],
2203
+ "stateMutability": "pure",
2204
+ "type": "function"
2205
+ },
2206
+ {
2207
+ "inputs": [
2208
+ {
2209
+ "internalType": "NftId",
2210
+ "name": "distributorNftId",
2211
+ "type": "uint96"
2212
+ }
2213
+ ],
2214
+ "name": "toDistributorKey",
2215
+ "outputs": [
2216
+ {
2217
+ "internalType": "Key32",
2218
+ "name": "",
2219
+ "type": "bytes32"
2220
+ }
2221
+ ],
2222
+ "stateMutability": "pure",
2223
+ "type": "function"
2224
+ },
2225
+ {
2226
+ "inputs": [
2227
+ {
2228
+ "internalType": "NftId",
2229
+ "name": "productNftId",
2230
+ "type": "uint96"
2231
+ }
2232
+ ],
2233
+ "name": "toFeeKey",
2234
+ "outputs": [
2235
+ {
2236
+ "internalType": "Key32",
2237
+ "name": "",
2238
+ "type": "bytes32"
2239
+ }
2240
+ ],
2241
+ "stateMutability": "pure",
2242
+ "type": "function"
2243
+ },
2244
+ {
2245
+ "inputs": [
2246
+ {
2247
+ "internalType": "UFixed",
2248
+ "name": "value",
2249
+ "type": "uint160"
2250
+ }
2251
+ ],
2252
+ "name": "toInt",
2253
+ "outputs": [
2254
+ {
2255
+ "internalType": "uint256",
2256
+ "name": "",
2257
+ "type": "uint256"
2258
+ }
2259
+ ],
2260
+ "stateMutability": "pure",
2261
+ "type": "function"
2262
+ },
2263
+ {
2264
+ "inputs": [
2265
+ {
2266
+ "internalType": "NftId",
2267
+ "name": "policyNftId",
2268
+ "type": "uint96"
2269
+ }
2270
+ ],
2271
+ "name": "toPolicyKey",
2272
+ "outputs": [
2273
+ {
2274
+ "internalType": "Key32",
2275
+ "name": "",
2276
+ "type": "bytes32"
2277
+ }
2278
+ ],
2279
+ "stateMutability": "pure",
2280
+ "type": "function"
2281
+ },
2282
+ {
2283
+ "inputs": [
2284
+ {
2285
+ "internalType": "NftId",
2286
+ "name": "poolNftId",
2287
+ "type": "uint96"
2288
+ }
2289
+ ],
2290
+ "name": "toPoolKey",
2291
+ "outputs": [
2292
+ {
2293
+ "internalType": "Key32",
2294
+ "name": "",
2295
+ "type": "bytes32"
2296
+ }
2297
+ ],
2298
+ "stateMutability": "pure",
2299
+ "type": "function"
2300
+ },
2301
+ {
2302
+ "inputs": [
2303
+ {
2304
+ "internalType": "NftId",
2305
+ "name": "policyNftId",
2306
+ "type": "uint96"
2307
+ }
2308
+ ],
2309
+ "name": "toPremiumKey",
2310
+ "outputs": [
2311
+ {
2312
+ "internalType": "Key32",
2313
+ "name": "",
2314
+ "type": "bytes32"
2315
+ }
2316
+ ],
2317
+ "stateMutability": "pure",
2318
+ "type": "function"
2319
+ },
2320
+ {
2321
+ "inputs": [
2322
+ {
2323
+ "internalType": "NftId",
2324
+ "name": "productNftId",
2325
+ "type": "uint96"
2326
+ }
2327
+ ],
2328
+ "name": "toProductKey",
2329
+ "outputs": [
2330
+ {
2331
+ "internalType": "Key32",
2332
+ "name": "",
2333
+ "type": "bytes32"
2334
+ }
2335
+ ],
2336
+ "stateMutability": "pure",
2337
+ "type": "function"
2338
+ },
2339
+ {
2340
+ "inputs": [
2341
+ {
2342
+ "internalType": "NftId",
2343
+ "name": "distributionNftId",
2344
+ "type": "uint96"
2345
+ },
2346
+ {
2347
+ "internalType": "string",
2348
+ "name": "referralCode",
2349
+ "type": "string"
2350
+ }
2351
+ ],
2352
+ "name": "toReferralId",
2353
+ "outputs": [
2354
+ {
2355
+ "internalType": "ReferralId",
2356
+ "name": "referralId",
2357
+ "type": "bytes8"
2358
+ }
2359
+ ],
2360
+ "stateMutability": "pure",
2361
+ "type": "function"
2362
+ },
2363
+ {
2364
+ "inputs": [
2365
+ {
2366
+ "internalType": "uint256",
2367
+ "name": "value",
2368
+ "type": "uint256"
2369
+ },
2370
+ {
2371
+ "internalType": "int8",
2372
+ "name": "exp",
2373
+ "type": "int8"
2374
+ }
2375
+ ],
2376
+ "name": "toUFixed",
2377
+ "outputs": [
2378
+ {
2379
+ "internalType": "UFixed",
2380
+ "name": "",
2381
+ "type": "uint160"
2382
+ }
2383
+ ],
2384
+ "stateMutability": "pure",
2385
+ "type": "function"
2386
+ }
2387
+ ],
2388
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b50615e8e806100255f395ff3fe608060405234801561000f575f80fd5b50600436106104a6575f3560e01c80636ebed9081161026e578063c6a0017911610156578063e444c3df116100ca578063f4809edd1161008f578063f4809edd14610c19578063f7f318d314610c2c578063fad77c3b14610c3f578063fcad2c4b14610c52578063fd80249214610c65578063febe92af14610c85575f80fd5b8063e444c3df14610b8a578063e98413ff14610baa578063f0b1d21014610bd3578063f0ea17c314610be6578063f3ed991914610c06575f80fd5b8063d78a83b11161011b578063d78a83b114610b1a578063db70354c14610b2d578063dd26287a14610b40578063de7b5d1414610b53578063dfbf164014610b64578063e2eb023b14610b77575f80fd5b8063c6a0017914610ac6578063c71e261f14610ad9578063d06458c614610ae1578063d299bf6214610b01578063d4cda0d814610b09575f80fd5b8063887b1fa9116101ed578063a5961b4c116101b2578063a5961b4c146109db578063a7ef3d2114610a37578063b82d7ef514610a57578063ba579bdc14610a8b578063ba62fbe414610a9e578063bd7d9d8514610aa6575f80fd5b8063887b1fa91461096f5780638eb9000d1461098f5780639096a1f3146109a257806394b9929b146109b5578063a310e2a3146109c8575f80fd5b80637e54602a116102335780637e54602a146109265780637e798669146109395780637f0cf947146109415780638129fc1c1461095457806387c73e5a1461095c575f80fd5b80636ebed908146108c7578063728a61a8146108da57806378ae9350146108ed5780637bfd3217146109005780637d8f1e8114610913575f80fd5b8063380bd950116103915780634fb784f51161031057806364eb3a9b116102d557806364eb3a9b146108485780636553994c1461085b57806366c3bc951461086e5780636791f7ab146108815780636a05a413146108965780636dddada4146108b6575f80fd5b80634fb784f5146107cd57806357f80bbf146107e05780635ab1bd53146108005780635bfa502714610815578063605aa10a14610835575f80fd5b80633fd85561116103565780633fd85561146107395780634793b4ab14610764578063480cebd1146107845780634a4fbeec146107a75780634d21a63d146107ba575f80fd5b8063380bd950146106d2578063392f5f64146106e55780633b046f09146106ed5780633f071275146107135780633f093cd614610726575f80fd5b80631488c8451161042857806327b1d792116103ed57806327b1d792146106535780632c0cd060146106735780632f458a111461068657806333fc7dee1461069957806334bd5be3146106ac57806335898f5d146106bf575f80fd5b80631488c845146105f257806315b74532146106055780631d3be47714610618578063228e42ec1461063857806326d60fb41461064b575f80fd5b80630e0c586d1161046e5780630e0c586d1461055357806310bf267b14610578578063128817d41461059f57806312e1ebc5146105bf57806313ab148d146105df575f80fd5b80630232ca49146104aa57806303014974146104da57806309648a9d146104fb57806309c5844f146105205780630b5d931c14610533575b5f80fd5b6104bd6104b8366004613e19565b610ca5565b6040516001600160601b0390911681526020015b60405180910390f35b6104ed6104e8366004613e48565b610d1f565b6040519081526020016104d1565b61050e610509366004613e63565b610dfb565b60405160ff90911681526020016104d1565b61050e61052e366004613e19565b610e70565b610546610541366004613e19565b610ee9565b6040516104d19190613ebd565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016104d1565b61058b610586366004613f64565b610fce565b60405162ffffff90911681526020016104d1565b6105b26105ad366004613f9b565b610fe4565b6040516104d19190613fc5565b6105d26105cd366004613fee565b611064565b6040516104d1919061401d565b6104ed6105ed366004613e19565b611165565b61056061060036600461406c565b61119e565b6104bd610613366004613e63565b61121a565b61062b6106263660046140a9565b61124b565b6040516104d191906140f2565b6104bd610646366004613e19565b61139f565b6104ed6113d8565b610666610661366004613e19565b6114a7565b6040516104d191906141b0565b6104bd610681366004613e19565b611562565b6104ed610694366004613e19565b611582565b6104ed6106a7366004613e19565b6115c0565b6104ed6106ba366004613e19565b6115fe565b6104ed6106cd366004613e19565b611671565b6104bd6106e03660046141fc565b61169d565b6104ed61171e565b6107006106fb366004613e19565b6117c4565b60405161ffff90911681526020016104d1565b6104ed610721366004613e19565b6117d8565b6105b26107343660046143be565b611804565b61074c610747366004613e63565b61185a565b6040516001600160401b0390911681526020016104d1565b610777610772366004613e19565b611936565b6040516104d1919061446b565b6107976107923660046144df565b611a16565b60405190151581526020016104d1565b6107976107b5366004613fee565b611afb565b6105606107c8366004613e19565b611bd0565b6104ed6107db366004613e19565b611c28565b6107f36107ee366004613e19565b611c54565b6040516104d1919061450b565b5f5461010090046001600160a01b0316610560565b610828610823366004613e48565b611d25565b6040516104d1919061458a565b610797610843366004613fee565b611e3b565b6104ed610856366004613e19565b611ed6565b6104ed6108693660046140a9565b611f02565b61079761087c366004613e48565b611f33565b61089461088f366004613fee565b611fd5565b005b6108a96108a4366004613e19565b61232e565b6040516104d191906145fa565b6003546001600160a01b0316610560565b6104bd6108d5366004613f9b565b6123cf565b6105606108e8366004613e63565b61240f565b61050e6108fb366004613f64565b6124e6565b6104ed61090e366004613e19565b6125dd565b61050e610921366004613e19565b612609565b6104ed610934366004613e19565b612625565b6104bd612651565b61079761094f3660046144df565b6126c4565b61089461276e565b61079761096a366004613e48565b61279c565b61098261097d3660046140a9565b61283e565b6040516104d19190614681565b6104bd61099d366004613e19565b61296b565b61050e6109b0366004613e19565b6129a4565b6104ed6109c3366004613e19565b6129c0565b6105606109d6366004613e19565b6129f9565b6109ee6109e9366004613e63565b612a9f565b6040516104d191905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b610a4a610a45366004613f64565b612b29565b6040516104d191906146bf565b610a6a610a653660046140a9565b612c88565b604080516001600160a01b03909316835260ff9091166020830152016104d1565b610797610a99366004613e19565b612dfd565b6104ed612e5b565b610ab9610ab4366004613e19565b612f33565b6040516104d19190614759565b610797610ad4366004613e48565b61304b565b6104ed6130ed565b610af4610aef3660046140a9565b613134565b6040516104d191906148c4565b61074c613298565b6002546001600160a01b0316610560565b610560610b283660046149a2565b6132a1565b6104bd610b3b366004613f9b565b613360565b6104ed610b4e366004613e19565b6133a0565b6001546001600160a01b0316610560565b610560610b72366004613e19565b6133cc565b6104ed610b85366004613fee565b613424565b610b9d610b98366004613e19565b613466565b6040516104d191906149be565b610bbd610bb8366004614bbe565b61358f565b60405164ffffffffff90911681526020016104d1565b610797610be1366004614bea565b613621565b610bf9610bf4366004613e19565b61366a565b6040516104d19190614c16565b61050e610c14366004614c76565b61371e565b6105b2610c27366004613f9b565b613780565b6104ed610c3a366004613e19565b6137c5565b610700610c4d366004613e63565b6137f1565b61050e610c603660046140a9565b613874565b610c78610c73366004614c76565b6139c3565b6040516104d19190614ca2565b610c98610c93366004613e48565b613b08565b6040516104d19190614d00565b600254604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610cf5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614dd1565b92915050565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015610d66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d8a9190614dec565b60405162c0525d60e21b81526001600160401b03841660048201526001600160a01b0391909116906303014974906024015b602060405180830381865afa158015610dd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614e07565b60025460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610e42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e669190614e53565b6020015192915050565b6002545f906001600160a01b03166309648a9d610e8c846115fe565b6040518263ffffffff1660e01b8152600401610eaa91815260200190565b602060405180830381865afa158015610ec5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614eba565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526002549091906001600160a01b03166354f6127f610f44856125dd565b6040518263ffffffff1660e01b8152600401610f6291815260200190565b5f60405180830381865afa158015610f7c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fa39190810190614f24565b805190915015610fc85780806020019051810190610fc19190614fec565b9392505050565b50919050565b5f610fd98383612b29565b606001519392505050565b600480546040516304a205f560e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063128817d4906044015b602060405180830381865afa158015611040573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc191906150d9565b604080516080810182525f80825260208201819052918101829052606081019190915260015f9054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110fb9190614dec565b6040516312e1ebc560e01b81526001600160a01b03848116600483015291909116906312e1ebc590602401608060405180830381865afa158015611141573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1991906150ff565b6003546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d90602401610dbc565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af41580156111f6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190614dec565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610cda565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810182905260e08101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906112e3906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156112fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113229190614e07565b6040518263ffffffff1660e01b815260040161134091815260200190565b5f60405180830381865afa15801561135a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113819190810190614f24565b805190915015610fc85780806020019051810190610fc1919061515f565b6002546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610cda565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa15801561141f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114439190614dec565b6001600160a01b03166326d60fb46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561147e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a29190614e07565b905090565b604080516080810182525f80825260208201819052918101919091526060808201526002545f906001600160a01b03166354f6127f6114e585612625565b6040518263ffffffff1660e01b815260040161150391815260200190565b5f60405180830381865afa15801561151d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526115449190810190614f24565b805190915015610fc85780806020019051810190610fc1919061524c565b5f8061156d83612f33565b9050610fc18160600151826101000151613c56565b60048054604051632f458a1160e01b81526001600160601b038416928101929092525f916001600160a01b0390911690632f458a1190602401610dbc565b600480546040516319fe3ef760e11b81526001600160601b038416928101929092525f916001600160a01b03909116906333fc7dee90602401610dbc565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610dd7573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e611626565b600480546040516346cad99560e11b81526001600160c01b0319851692810192909252602482018390525f916001600160a01b0390911690638d95b32a906044015b602060405180830381865afa1580156116fa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190614dd1565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611765573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117899190614dec565b6001600160a01b031663392f5f646040518163ffffffff1660e01b8152600401602060405180830381865afa15801561147e573d5f803e3d5ffd5b5f6117ce82612f33565b60c0015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166029611626565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061183f90869086906004016152ed565b602060405180830381865af4158015611040573d5f803e3d5ffd5b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156118a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c59190614dec565b604051633fd8556160e01b81526001600160401b03841660048201526001600160a01b039190911690633fd8556190602401602060405180830381865afa158015611912573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d19919061530e565b61197d6040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b6002545f906001600160a01b03166354f6127f611999856137c5565b6040518263ffffffff1660e01b81526004016119b791815260200190565b5f60405180830381865afa1580156119d1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119f89190810190614f24565b805190915015610fc85780806020019051810190610fc1919061538b565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611a5d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a819190614dec565b60405163480cebd160e01b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063480cebd1906044015b602060405180830381865afa158015611ad7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc1919061544f565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611b42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b669190614dec565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd40906024015b602060405180830381865afa158015611bac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d19919061544f565b5f80611bdb836129f9565b90506001600160a01b03811615610fc857806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f6573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b611626565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526002545f906001600160a01b03166354f6127f611ca8856133a0565b6040518263ffffffff1660e01b8152600401611cc691815260200190565b5f60405180830381865afa158015611ce0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d079190810190614f24565b805190915015610fc85780806020019051810190610fc19190615468565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a081019190915260015f9054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611da6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dca9190614dec565b604051635bfa502760e01b81526001600160401b03841660048201526001600160a01b039190911690635bfa50279060240160c060405180830381865afa158015611e17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190615500565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611e82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ea69190614dec565b60405163302d508560e11b81526001600160a01b038481166004830152919091169063605aa10a90602401611b91565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015611626565b6004805460405163380d295960e21b81525f926001600160a01b039092169163e034a56491610dbc91869101613fc5565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611f7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9e9190614dec565b6040516366c3bc9560e01b81526001600160401b03841660048201526001600160a01b0391909116906366c3bc9590602401611b91565b5f5460ff1615611ff85760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b0319909116811790915560408051635ab1bd5360e01b81529051635ab1bd53916004808201926020929091908290030181865afa15801561205d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120819190614dec565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa1580156120e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121059190614dec565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa158015612161573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121859190614dec565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa1580156121e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122059190614dec565b600480546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612280573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a49190614eba565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156122e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061230b9190614dec565b600580546001600160a01b0319166001600160a01b039290921691909117905550565b612336613d2a565b6002545f906001600160a01b03166354f6127f612352856117d8565b6040518263ffffffff1660e01b815260040161237091815260200190565b5f60405180830381865afa15801561238a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123b19190810190614f24565b805190915015610fc85780806020019051810190610fc19190615587565b600354604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed908906044016116df565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612456573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061247a9190614dec565b6001600160a01b031663728a61a8836040518263ffffffff1660e01b81526004016124a791815260200190565b602060405180830381865afa1580156124c2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614dec565b600254604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af415801561255c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125809190614e07565b6040518263ffffffff1660e01b815260040161259e91815260200190565b602060405180830381865afa1580156125b9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190614eba565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c611626565b6002545f906001600160a01b03166309648a9d610e8c846137c5565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166017611626565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa1580156126a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a29190614dd1565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa15801561270b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061272f9190614dec565b604051637f0cf94760e01b81526001600160401b03851660048201526001600160a01b0384811660248301529190911690637f0cf94790604401611abc565b5f5460ff16156127915760405163ae9eff1b60e01b815260040160405180910390fd5b61279a33611fd5565b565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156127e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128079190614dec565b6040516343e39f2d60e11b81526001600160401b03841660048201526001600160a01b0391909116906387c73e5a90602401611b91565b60408051606080820183525f8083526020830152918101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee6275906128af906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156128ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128ee9190614e07565b6040518263ffffffff1660e01b815260040161290c91815260200190565b5f60405180830381865afa158015612926573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261294d9190810190614f24565b805190915015610fc85780806020019051810190610fc19190615618565b600254604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610cda565b6002545f906001600160a01b03166309648a9d610e8c84611ed6565b6003546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610dbc565b6002545f9081906001600160a01b03166354f6127f612a1785611c28565b6040518263ffffffff1660e01b8152600401612a3591815260200190565b5f60405180830381865afa158015612a4f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a769190810190614f24565b805190915015610fc85780806020019051810190612a9491906156a8565b602001519392505050565b604080516080810182525f808252602082018190528183018190526060820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015612b05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614e53565b6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c0810191909152600254604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015612bd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bfc9190614e07565b6040518263ffffffff1660e01b8152600401612c1a91815260200190565b5f60405180830381865afa158015612c34573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612c5b9190810190614f24565b805190915015612c815780806020019051810190612c799190615723565b915050610d19565b5092915050565b5f8054819061010090046001600160a01b031663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cf2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d169190614eba565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d7d9190614dec565b60405163eed2831560e01b81523060048201526001600160c01b0319851660248201526001600160a01b03919091169063eed28315906044016040805180830381865afa158015612dd0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612df4919061580c565b91509150915091565b60405163034159f960e41b81523060048201526001600160601b03821660248201525f9073__$d4f8ac2ac7f53dfb2fb9ff92adbd6d29df$__906334159f9090604401602060405180830381865af4158015611bac573d5f803e3d5ffd5b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612ea2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ec69190614dec565b6001600160a01b031663ba62fbe46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f25919061530e565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e08201526002549091906001600160a01b03166354f6127f612fce85611ed6565b6040518263ffffffff1660e01b8152600401612fec91815260200190565b5f60405180830381865afa158015613006573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261302d9190810190614f24565b805190915015610fc85780806020019051810190610fc19190615844565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015613092573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130b69190614dec565b60405163c6a0017960e01b81526001600160401b03841660048201526001600160a01b03919091169063c6a0017990602401611b91565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa15801561147e573d5f803e3d5ffd5b60408051610140810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e082019290925261010081018290526101208101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee6275906131dc906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156131f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061321b9190614e07565b6040518263ffffffff1660e01b815260040161323991815260200190565b5f60405180830381865afa158015613253573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261327a9190810190614f24565b805190915015610fc85780806020019051810190610fc191906159d7565b5f6114a2613cb6565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156132e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061330c9190614dec565b60405163d78a83b160e01b81526001600160401b0385166004820152602481018490526001600160a01b03919091169063d78a83b190604401602060405180830381865afa1580156111f6573d5f803e3d5ffd5b6003546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c906044016116df565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f611626565b5f806133d7836129f9565b90506001600160a01b03811615610fc857806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f6573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b90602401611656565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526002545f906001600160a01b03166354f6127f613512856115fe565b6040518263ffffffff1660e01b815260040161353091815260200190565b5f60405180830381865afa15801561354a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526135719190810190614f24565b805190915015610fc85780806020019051810190610fc19190615af8565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca846135b6856001615c6e565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af41580156135fd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190615c89565b6005546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d0738490604401611abc565b60408051606080820183528082525f6020830152918101919091526002545f906001600160a01b03166354f6127f6136a185611c28565b6040518263ffffffff1660e01b81526004016136bf91815260200190565b5f60405180830381865afa1580156136d9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526137009190810190614f24565b805190915015610fc85780806020019051810190610fc191906156a8565b600254604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401612541565b6004805460405163f4809edd60e01b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063f4809edd90604401611025565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166016611626565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36613817846001615ca4565b6040518263ffffffff1660e01b815260040161383591815260200190565b602060405180830381865af4158015613850573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190615cb7565b6002546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee6275906138ce906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156138e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061390d9190614e07565b6040518263ffffffff1660e01b815260040161392b91815260200190565b5f60405180830381865afa158015613945573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261396c9190810190614f24565b6002546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590612541906001600160c01b0319891690600401613fc5565b6040805160a0810182525f808252602082018190529181018290526060808201929092526080810191909152600254604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af4158015613a67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a8b9190614e07565b6040518263ffffffff1660e01b8152600401613aa991815260200190565b5f60405180830381865afa158015613ac3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613aea9190810190614f24565b805190915015612c815780806020019051810190612c799190615cd2565b60408051610100810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c0810182905260e0810191909152600254604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613bb5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613bd99190614e07565b6040518263ffffffff1660e01b8152600401613bf791815260200190565b5f60405180830381865afa158015613c11573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613c389190810190614f24565b805190915015610fc85780806020019051810190610fc19190615d88565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156116fa573d5f803e3d5ffd5b6040516368aebf7b60e01b8152600560048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015613d06573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a2919061530e565b6040805161012081019091525f60e0820181815261010083019190915281908152602001613d67604080518082019091525f808252602082015290565b8152602001613d85604080518082019091525f808252602082015290565b8152602001613da3604080518082019091525f808252602082015290565b8152602001613dc1604080518082019091525f808252602082015290565b8152602001613ddf604080518082019091525f808252602082015290565b8152602001613dfd604080518082019091525f808252602082015290565b905290565b6001600160601b0381168114613e16575f80fd5b50565b5f60208284031215613e29575f80fd5b8135610fc181613e02565b6001600160401b0381168114613e16575f80fd5b5f60208284031215613e58575f80fd5b8135610fc181613e34565b5f60208284031215613e73575f80fd5b5035919050565b5f8151808452602084019350602083015f5b82811015613eb35781516001600160601b0316865260209586019590910190600101613e8c565b5093949350505050565b602081528151151560208201526020820151151560408201525f6040830151613eea606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152613f4d610120840182613e7a565b949350505050565b61ffff81168114613e16575f80fd5b5f8060408385031215613f75575f80fd5b8235613f8081613e02565b91506020830135613f9081613f55565b809150509250929050565b5f8060408385031215613fac575f80fd5b8235613fb781613e02565b946020939093013593505050565b6001600160c01b031991909116815260200190565b6001600160a01b0381168114613e16575f80fd5b5f60208284031215613ffe575f80fd5b8135610fc181613fda565b634e487b7160e01b5f52602160045260245ffd5b81518152602082015160808201906007811061403b5761403b614009565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f806040838503121561407d575f80fd5b8235915060208301355f81900b8114613f90575f80fd5b6001600160c01b031981168114613e16575f80fd5b5f602082840312156140b9575f80fd5b8135610fc181614094565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161412160408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526141896101208401826140c4565b905060e0840151601f19848303016101008501526141a782826140c4565b95945050505050565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f6060830151608080840152613f4d60a08401826140c4565b5f806040838503121561420d575f80fd5b8235613fb781614094565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561424e5761424e614218565b60405290565b60405161010081016001600160401b038111828210171561424e5761424e614218565b60405160c081016001600160401b038111828210171561424e5761424e614218565b60405160e081016001600160401b038111828210171561424e5761424e614218565b604051606081016001600160401b038111828210171561424e5761424e614218565b60405161020081016001600160401b038111828210171561424e5761424e614218565b60405161014081016001600160401b038111828210171561424e5761424e614218565b60405161024081016001600160401b038111828210171561424e5761424e614218565b60405160a081016001600160401b038111828210171561424e5761424e614218565b604051601f8201601f191681016001600160401b038111828210171561439057614390614218565b604052919050565b5f6001600160401b038211156143b0576143b0614218565b50601f01601f191660200190565b5f80604083850312156143cf575f80fd5b82356143da81613e02565b915060208301356001600160401b038111156143f4575f80fd5b8301601f81018513614404575f80fd5b803561441761441282614398565b614368565b81815286602083850101111561442b575f80fd5b816020840160208301375f602083830101528093505050509250929050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f60808301516144c560a084018261444a565b5060a083015160e080840152613f4d6101008401826140c4565b5f80604083850312156144f0575f80fd5b82356144fb81613e34565b91506020830135613f9081613fda565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b0360408401511660408301526060830151151560608301526080830151614562608084018215159052565b5060a083015161457660a084018215159052565b5060c0830151612c8160c084018215159052565b81516001600160401b03168152602082015160c0820190600481106145b1576145b1614009565b8060208401525063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b5f6101c08201905061460d82845161444a565b602083015161461f604084018261444a565b506040830151614632608084018261444a565b50606083015161464560c084018261444a565b50608083015161465961010084018261444a565b5060a083015161466d61014084018261444a565b5060c0830151612c8161018084018261444a565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152613f4d60808401826140c4565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f60408301516146ff606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c084015261473c6101008401826140c4565b905060c0840151601f198483030160e08501526141a782826140c4565b602081526147736020820183516001600160601b03169052565b5f602083015161478e60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e08401526148a56102208401826140c4565b90506101e0840151601f19848303016102008501526141a782826140c4565b602081526148de6020820183516001600160a01b03169052565b5f60208301516148f960408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526149836101608401826140c4565b9050610120840151601f19848303016101408501526141a782826140c4565b5f80604083850312156149b3575f80fd5b8235613fb781613e34565b81516001600160601b03168152610240810160208301516149ea60208401826001600160601b03169052565b506040830151614a0560408401826001600160601b03169052565b506060830151614a2060608401826001600160601b03169052565b506080830151614a3b60808401826001600160601b03169052565b5060a0830151614a5660a08401826001600160601b03169052565b5060c0830151614a7160c08401826001600160601b03169052565b5060e0830151614a8c60e08401826001600160601b03169052565b50610100830151614aa96101008401826001600160601b03169052565b50610120830151614ac66101208401826001600160601b03169052565b50610140830151614ae36101408401826001600160601b03169052565b50610160830151614b006101608401826001600160601b03169052565b50610180830151614b1d6101808401826001600160601b03169052565b506101a0830151614b3a6101a08401826001600160601b03169052565b506101c0830151614b576101c08401826001600160601b03169052565b506101e0830151614b746101e08401826001600160601b03169052565b50610200830151614b916102008401826001600160601b03169052565b50610220830151612c816102208401826001600160601b03169052565b62ffffff81168114613e16575f80fd5b5f8060408385031215614bcf575f80fd5b8235614bda81613f55565b91506020830135613f9081614bae565b5f8060408385031215614bfb575f80fd5b8235614c0681613e02565b91506020830135613f9081614094565b602081525f825160606020840152614c3160808401826140c4565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506141a782826140c4565b64ffffffffff81168114613e16575f80fd5b5f8060408385031215614c87575f80fd5b8235614c9281613e02565b91506020830135613f9081614c64565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a080840152613f4d60c08401826140c4565b60208152614d1a6020820183516001600160601b03169052565b5f6020830151614d3560408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c0840152614d856101208401826140c4565b905060c0840151601f198483030160e0850152614da282826140c4565b91505060e0840151601f19848303016101008501526141a782826140c4565b8051614dcc81613e02565b919050565b5f60208284031215614de1575f80fd5b8151610fc181613e02565b5f60208284031215614dfc575f80fd5b8151610fc181613fda565b5f60208284031215614e17575f80fd5b5051919050565b60ff81168114613e16575f80fd5b8051614dcc81614e1e565b63ffffffff81168114613e16575f80fd5b8051614dcc81614e37565b5f6080828403128015614e64575f80fd5b50614e6d61422c565b8251614e7881614e1e565b81526020830151614e8881614e1e565b60208201526040830151614e9b81614e37565b60408201526060830151614eae81614e37565b60608201529392505050565b5f60208284031215614eca575f80fd5b8151610fc181614e1e565b5f82601f830112614ee4575f80fd5b8151602083015f614ef761441284614398565b9050828152858383011115614f0a575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215614f34575f80fd5b81516001600160401b03811115614f49575f80fd5b613f4d84828501614ed5565b80518015158114614dcc575f80fd5b5f82601f830112614f73575f80fd5b81516001600160401b03811115614f8c57614f8c614218565b8060051b614f9c60208201614368565b91825260208185018101929081019086841115614fb7575f80fd5b6020860192505b83831015614fe2578251614fd181613e02565b825260209283019290910190614fbe565b9695505050505050565b5f60208284031215614ffc575f80fd5b81516001600160401b03811115615011575f80fd5b82016101008185031215615023575f80fd5b61502b614254565b61503482614f55565b815261504260208301614f55565b602082015261505360408301614f55565b604082015261506460608301614e2c565b606082015261507560808301614e2c565b608082015261508660a08301614dc1565b60a082015261509760c08301614dc1565b60c082015260e08201516001600160401b038111156150b4575f80fd5b6150c086828501614f64565b60e083015250949350505050565b8051614dcc81614094565b5f602082840312156150e9575f80fd5b8151610fc181614094565b8051614dcc81614c64565b5f6080828403128015615110575f80fd5b5061511961422c565b8251815260208301516007811061512e575f80fd5b6020820152604083015161514181613e34565b60408201526060830151614eae81614c64565b8051614dcc81613fda565b5f6020828403121561516f575f80fd5b81516001600160401b03811115615184575f80fd5b82016101008185031215615196575f80fd5b61519e614254565b6151a782614dc1565b81526151b560208301614dc1565b60208201526151c660408301614e48565b60408201526151d760608301614e48565b60608201526151e860808301615154565b60808201526151f960a083016150f4565b60a082015260c08201516001600160401b03811115615216575f80fd5b61522286828501614ed5565b60c08301525060e08201516001600160401b03811115615240575f80fd5b6150c086828501614ed5565b5f6020828403121561525c575f80fd5b81516001600160401b03811115615271575f80fd5b820160808185031215615282575f80fd5b61528a61422c565b815161529581614094565b81526152a360208301614f55565b602082015260408201516152b681614e37565b604082015260608201516001600160401b038111156152d3575f80fd5b6152df86828501614ed5565b606083015250949350505050565b6001600160601b0383168152604060208201525f613f4d60408301846140c4565b5f6020828403121561531e575f80fd5b8151610fc181613e34565b5f60408284031215615339575f80fd5b604080519081016001600160401b038111828210171561535b5761535b614218565b8060405250809150825161536e81613fda565b8152602083015161537e81613e02565b6020919091015292915050565b5f6020828403121561539b575f80fd5b81516001600160401b038111156153b0575f80fd5b820160e081850312156153c1575f80fd5b6153c9614277565b81516153d481614c64565b815260208201516153e481614c64565b60208201526153f5604083016150f4565b604082015261540660608301614dc1565b60608201526154188560808401615329565b608082015260c08201516001600160401b03811115615435575f80fd5b61544186828501614ed5565b60a083015250949350505050565b5f6020828403121561545f575f80fd5b610fc182614f55565b5f60e0828403128015615479575f80fd5b50615482614299565b825161548d81613e02565b8152602083015161549d81613fda565b602082015260408301516154b081613fda565b60408201526154c160608401614f55565b60608201526154d260808401614f55565b60808201526154e360a08401614f55565b60a08201526154f460c08401614f55565b60c08201529392505050565b5f60c0828403128015615511575f80fd5b5061551a614277565b825161552581613e34565b8152602083015160048110615538575f80fd5b6020820152604083015161554b81614e37565b6040820152606083015161555e81614c64565b606082015261556f608084016150f4565b608082015260a0928301519281019290925250919050565b5f6101c0828403128015615599575f80fd5b506155a2614299565b6155ac8484615329565b81526155bb8460408501615329565b60208201526155cd8460808501615329565b60408201526155df8460c08501615329565b60608201526155f2846101008501615329565b6080820152615605846101408501615329565b60a08201526154f4846101808501615329565b5f60208284031215615628575f80fd5b81516001600160401b0381111561563d575f80fd5b82016060818503121561564e575f80fd5b6156566142bb565b815161566181613e02565b8152602082015161567181614c64565b602082015260408201516001600160401b0381111561568e575f80fd5b61569a86828501614ed5565b604083015250949350505050565b5f602082840312156156b8575f80fd5b81516001600160401b038111156156cd575f80fd5b8201606081850312156156de575f80fd5b6156e66142bb565b81516001600160401b038111156156fb575f80fd5b61570786828501614ed5565b825250602082015161567181613fda565b8051614dcc81614bae565b5f60208284031215615733575f80fd5b81516001600160401b03811115615748575f80fd5b820160e08185031215615759575f80fd5b615761614299565b61576a82614dc1565b815261577860208301614dc1565b6020820152615789604083016150f4565b604082015261579a60608301615718565b60608201526157ab60808301615718565b608082015260a08201516001600160401b038111156157c8575f80fd5b6157d486828501614ed5565b60a08301525060c08201516001600160401b038111156157f2575f80fd5b6157fe86828501614ed5565b60c083015250949350505050565b5f806040838503121561581d575f80fd5b825161582881613fda565b6020840151909250613f9081614e1e565b8051614dcc81613f55565b5f60208284031215615854575f80fd5b81516001600160401b03811115615869575f80fd5b8201610200818503121561587b575f80fd5b6158836142dd565b61588c82614dc1565b815261589a60208301614dc1565b60208201526158ab604083016150ce565b60408201526158bc60608301614dc1565b60608201526158cd60808301614dc1565b60808201526158de60a083016150ce565b60a08201526158ef60c08301615839565b60c082015261590060e08301615839565b60e08201526159126101008301614dc1565b6101008201526159256101208301614dc1565b61012082015261593861014083016150f4565b61014082015261594b61016083016150f4565b61016082015261595e61018083016150f4565b6101808201526159716101a083016150f4565b6101a08201526101c08201516001600160401b03811115615990575f80fd5b61599c86828501614ed5565b6101c0830152506101e08201516001600160401b038111156159bc575f80fd5b6159c886828501614ed5565b6101e083015250949350505050565b5f602082840312156159e7575f80fd5b81516001600160401b038111156159fc575f80fd5b82016101408185031215615a0e575f80fd5b615a16614300565b615a1f82615154565b8152615a2d60208301614dc1565b6020820152615a3e60408301615154565b6040820152615a4f60608301614e48565b6060820152615a60608083016150f4565b6080820152615a7160a08301614f55565b60a0820152615a8260c08301614f55565b60c0820152615a9360e08301615154565b60e08201526101008201516001600160401b03811115615ab1575f80fd5b615abd86828501614ed5565b610100830152506101208201516001600160401b03811115615add575f80fd5b615ae986828501614ed5565b61012083015250949350505050565b5f610240828403128015615b0a575f80fd5b50615b13614323565b615b1c83614dc1565b8152615b2a60208401614dc1565b6020820152615b3b60408401614dc1565b6040820152615b4c60608401614dc1565b6060820152615b5d60808401614dc1565b6080820152615b6e60a08401614dc1565b60a0820152615b7f60c08401614dc1565b60c0820152615b9060e08401614dc1565b60e0820152615ba26101008401614dc1565b610100820152615bb56101208401614dc1565b610120820152615bc86101408401614dc1565b610140820152615bdb6101608401614dc1565b610160820152615bee6101808401614dc1565b610180820152615c016101a08401614dc1565b6101a0820152615c146101c08401614dc1565b6101c0820152615c276101e08401614dc1565b6101e0820152615c3a6102008401614dc1565b610200820152615c4d6102208401614dc1565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610d1957610d19615c5a565b5f60208284031215615c99575f80fd5b8151610fc181614c64565b80820180821115610d1957610d19615c5a565b5f60208284031215615cc7575f80fd5b8151610fc181613f55565b5f60208284031215615ce2575f80fd5b81516001600160401b03811115615cf7575f80fd5b820160a08185031215615d08575f80fd5b615d10614346565b8151615d1b81613f55565b81526020820151615d2b81613e02565b60208201526040820151615d3e81614c64565b60408201526060820151615d5181613fda565b606082015260808201516001600160401b03811115615d6e575f80fd5b615d7a86828501614ed5565b608083015250949350505050565b5f60208284031215615d98575f80fd5b81516001600160401b03811115615dad575f80fd5b82016101008185031215615dbf575f80fd5b615dc7614254565b615dd082614dc1565b8152615dde60208301614dc1565b6020820152615def60408301614f55565b6040820152615e00606083016150f4565b6060820152615e11608083016150f4565b608082015260a08201516001600160401b03811115615e2e575f80fd5b615e3a86828501614ed5565b60a08301525060c08201516001600160401b03811115615216575f80fdfea2646970667358221220bb6151f324479108eb0c48c7394e2570bcae7ef25d658ec4c297c3059f2d093364736f6c634300081a0033",
2389
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106104a6575f3560e01c80636ebed9081161026e578063c6a0017911610156578063e444c3df116100ca578063f4809edd1161008f578063f4809edd14610c19578063f7f318d314610c2c578063fad77c3b14610c3f578063fcad2c4b14610c52578063fd80249214610c65578063febe92af14610c85575f80fd5b8063e444c3df14610b8a578063e98413ff14610baa578063f0b1d21014610bd3578063f0ea17c314610be6578063f3ed991914610c06575f80fd5b8063d78a83b11161011b578063d78a83b114610b1a578063db70354c14610b2d578063dd26287a14610b40578063de7b5d1414610b53578063dfbf164014610b64578063e2eb023b14610b77575f80fd5b8063c6a0017914610ac6578063c71e261f14610ad9578063d06458c614610ae1578063d299bf6214610b01578063d4cda0d814610b09575f80fd5b8063887b1fa9116101ed578063a5961b4c116101b2578063a5961b4c146109db578063a7ef3d2114610a37578063b82d7ef514610a57578063ba579bdc14610a8b578063ba62fbe414610a9e578063bd7d9d8514610aa6575f80fd5b8063887b1fa91461096f5780638eb9000d1461098f5780639096a1f3146109a257806394b9929b146109b5578063a310e2a3146109c8575f80fd5b80637e54602a116102335780637e54602a146109265780637e798669146109395780637f0cf947146109415780638129fc1c1461095457806387c73e5a1461095c575f80fd5b80636ebed908146108c7578063728a61a8146108da57806378ae9350146108ed5780637bfd3217146109005780637d8f1e8114610913575f80fd5b8063380bd950116103915780634fb784f51161031057806364eb3a9b116102d557806364eb3a9b146108485780636553994c1461085b57806366c3bc951461086e5780636791f7ab146108815780636a05a413146108965780636dddada4146108b6575f80fd5b80634fb784f5146107cd57806357f80bbf146107e05780635ab1bd53146108005780635bfa502714610815578063605aa10a14610835575f80fd5b80633fd85561116103565780633fd85561146107395780634793b4ab14610764578063480cebd1146107845780634a4fbeec146107a75780634d21a63d146107ba575f80fd5b8063380bd950146106d2578063392f5f64146106e55780633b046f09146106ed5780633f071275146107135780633f093cd614610726575f80fd5b80631488c8451161042857806327b1d792116103ed57806327b1d792146106535780632c0cd060146106735780632f458a111461068657806333fc7dee1461069957806334bd5be3146106ac57806335898f5d146106bf575f80fd5b80631488c845146105f257806315b74532146106055780631d3be47714610618578063228e42ec1461063857806326d60fb41461064b575f80fd5b80630e0c586d1161046e5780630e0c586d1461055357806310bf267b14610578578063128817d41461059f57806312e1ebc5146105bf57806313ab148d146105df575f80fd5b80630232ca49146104aa57806303014974146104da57806309648a9d146104fb57806309c5844f146105205780630b5d931c14610533575b5f80fd5b6104bd6104b8366004613e19565b610ca5565b6040516001600160601b0390911681526020015b60405180910390f35b6104ed6104e8366004613e48565b610d1f565b6040519081526020016104d1565b61050e610509366004613e63565b610dfb565b60405160ff90911681526020016104d1565b61050e61052e366004613e19565b610e70565b610546610541366004613e19565b610ee9565b6040516104d19190613ebd565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016104d1565b61058b610586366004613f64565b610fce565b60405162ffffff90911681526020016104d1565b6105b26105ad366004613f9b565b610fe4565b6040516104d19190613fc5565b6105d26105cd366004613fee565b611064565b6040516104d1919061401d565b6104ed6105ed366004613e19565b611165565b61056061060036600461406c565b61119e565b6104bd610613366004613e63565b61121a565b61062b6106263660046140a9565b61124b565b6040516104d191906140f2565b6104bd610646366004613e19565b61139f565b6104ed6113d8565b610666610661366004613e19565b6114a7565b6040516104d191906141b0565b6104bd610681366004613e19565b611562565b6104ed610694366004613e19565b611582565b6104ed6106a7366004613e19565b6115c0565b6104ed6106ba366004613e19565b6115fe565b6104ed6106cd366004613e19565b611671565b6104bd6106e03660046141fc565b61169d565b6104ed61171e565b6107006106fb366004613e19565b6117c4565b60405161ffff90911681526020016104d1565b6104ed610721366004613e19565b6117d8565b6105b26107343660046143be565b611804565b61074c610747366004613e63565b61185a565b6040516001600160401b0390911681526020016104d1565b610777610772366004613e19565b611936565b6040516104d1919061446b565b6107976107923660046144df565b611a16565b60405190151581526020016104d1565b6107976107b5366004613fee565b611afb565b6105606107c8366004613e19565b611bd0565b6104ed6107db366004613e19565b611c28565b6107f36107ee366004613e19565b611c54565b6040516104d1919061450b565b5f5461010090046001600160a01b0316610560565b610828610823366004613e48565b611d25565b6040516104d1919061458a565b610797610843366004613fee565b611e3b565b6104ed610856366004613e19565b611ed6565b6104ed6108693660046140a9565b611f02565b61079761087c366004613e48565b611f33565b61089461088f366004613fee565b611fd5565b005b6108a96108a4366004613e19565b61232e565b6040516104d191906145fa565b6003546001600160a01b0316610560565b6104bd6108d5366004613f9b565b6123cf565b6105606108e8366004613e63565b61240f565b61050e6108fb366004613f64565b6124e6565b6104ed61090e366004613e19565b6125dd565b61050e610921366004613e19565b612609565b6104ed610934366004613e19565b612625565b6104bd612651565b61079761094f3660046144df565b6126c4565b61089461276e565b61079761096a366004613e48565b61279c565b61098261097d3660046140a9565b61283e565b6040516104d19190614681565b6104bd61099d366004613e19565b61296b565b61050e6109b0366004613e19565b6129a4565b6104ed6109c3366004613e19565b6129c0565b6105606109d6366004613e19565b6129f9565b6109ee6109e9366004613e63565b612a9f565b6040516104d191905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b610a4a610a45366004613f64565b612b29565b6040516104d191906146bf565b610a6a610a653660046140a9565b612c88565b604080516001600160a01b03909316835260ff9091166020830152016104d1565b610797610a99366004613e19565b612dfd565b6104ed612e5b565b610ab9610ab4366004613e19565b612f33565b6040516104d19190614759565b610797610ad4366004613e48565b61304b565b6104ed6130ed565b610af4610aef3660046140a9565b613134565b6040516104d191906148c4565b61074c613298565b6002546001600160a01b0316610560565b610560610b283660046149a2565b6132a1565b6104bd610b3b366004613f9b565b613360565b6104ed610b4e366004613e19565b6133a0565b6001546001600160a01b0316610560565b610560610b72366004613e19565b6133cc565b6104ed610b85366004613fee565b613424565b610b9d610b98366004613e19565b613466565b6040516104d191906149be565b610bbd610bb8366004614bbe565b61358f565b60405164ffffffffff90911681526020016104d1565b610797610be1366004614bea565b613621565b610bf9610bf4366004613e19565b61366a565b6040516104d19190614c16565b61050e610c14366004614c76565b61371e565b6105b2610c27366004613f9b565b613780565b6104ed610c3a366004613e19565b6137c5565b610700610c4d366004613e63565b6137f1565b61050e610c603660046140a9565b613874565b610c78610c73366004614c76565b6139c3565b6040516104d19190614ca2565b610c98610c93366004613e48565b613b08565b6040516104d19190614d00565b600254604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610cf5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614dd1565b92915050565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015610d66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d8a9190614dec565b60405162c0525d60e21b81526001600160401b03841660048201526001600160a01b0391909116906303014974906024015b602060405180830381865afa158015610dd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614e07565b60025460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610e42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e669190614e53565b6020015192915050565b6002545f906001600160a01b03166309648a9d610e8c846115fe565b6040518263ffffffff1660e01b8152600401610eaa91815260200190565b602060405180830381865afa158015610ec5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614eba565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526002549091906001600160a01b03166354f6127f610f44856125dd565b6040518263ffffffff1660e01b8152600401610f6291815260200190565b5f60405180830381865afa158015610f7c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fa39190810190614f24565b805190915015610fc85780806020019051810190610fc19190614fec565b9392505050565b50919050565b5f610fd98383612b29565b606001519392505050565b600480546040516304a205f560e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063128817d4906044015b602060405180830381865afa158015611040573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc191906150d9565b604080516080810182525f80825260208201819052918101829052606081019190915260015f9054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110fb9190614dec565b6040516312e1ebc560e01b81526001600160a01b03848116600483015291909116906312e1ebc590602401608060405180830381865afa158015611141573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1991906150ff565b6003546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d90602401610dbc565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af41580156111f6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190614dec565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610cda565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810182905260e08101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906112e3906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156112fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113229190614e07565b6040518263ffffffff1660e01b815260040161134091815260200190565b5f60405180830381865afa15801561135a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113819190810190614f24565b805190915015610fc85780806020019051810190610fc1919061515f565b6002546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610cda565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa15801561141f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114439190614dec565b6001600160a01b03166326d60fb46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561147e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a29190614e07565b905090565b604080516080810182525f80825260208201819052918101919091526060808201526002545f906001600160a01b03166354f6127f6114e585612625565b6040518263ffffffff1660e01b815260040161150391815260200190565b5f60405180830381865afa15801561151d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526115449190810190614f24565b805190915015610fc85780806020019051810190610fc1919061524c565b5f8061156d83612f33565b9050610fc18160600151826101000151613c56565b60048054604051632f458a1160e01b81526001600160601b038416928101929092525f916001600160a01b0390911690632f458a1190602401610dbc565b600480546040516319fe3ef760e11b81526001600160601b038416928101929092525f916001600160a01b03909116906333fc7dee90602401610dbc565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610dd7573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e611626565b600480546040516346cad99560e11b81526001600160c01b0319851692810192909252602482018390525f916001600160a01b0390911690638d95b32a906044015b602060405180830381865afa1580156116fa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190614dd1565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611765573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117899190614dec565b6001600160a01b031663392f5f646040518163ffffffff1660e01b8152600401602060405180830381865afa15801561147e573d5f803e3d5ffd5b5f6117ce82612f33565b60c0015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166029611626565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061183f90869086906004016152ed565b602060405180830381865af4158015611040573d5f803e3d5ffd5b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156118a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c59190614dec565b604051633fd8556160e01b81526001600160401b03841660048201526001600160a01b039190911690633fd8556190602401602060405180830381865afa158015611912573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d19919061530e565b61197d6040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b6002545f906001600160a01b03166354f6127f611999856137c5565b6040518263ffffffff1660e01b81526004016119b791815260200190565b5f60405180830381865afa1580156119d1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119f89190810190614f24565b805190915015610fc85780806020019051810190610fc1919061538b565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611a5d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a819190614dec565b60405163480cebd160e01b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063480cebd1906044015b602060405180830381865afa158015611ad7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc1919061544f565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611b42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b669190614dec565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd40906024015b602060405180830381865afa158015611bac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d19919061544f565b5f80611bdb836129f9565b90506001600160a01b03811615610fc857806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f6573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b611626565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526002545f906001600160a01b03166354f6127f611ca8856133a0565b6040518263ffffffff1660e01b8152600401611cc691815260200190565b5f60405180830381865afa158015611ce0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d079190810190614f24565b805190915015610fc85780806020019051810190610fc19190615468565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a081019190915260015f9054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611da6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dca9190614dec565b604051635bfa502760e01b81526001600160401b03841660048201526001600160a01b039190911690635bfa50279060240160c060405180830381865afa158015611e17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190615500565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611e82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ea69190614dec565b60405163302d508560e11b81526001600160a01b038481166004830152919091169063605aa10a90602401611b91565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015611626565b6004805460405163380d295960e21b81525f926001600160a01b039092169163e034a56491610dbc91869101613fc5565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611f7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9e9190614dec565b6040516366c3bc9560e01b81526001600160401b03841660048201526001600160a01b0391909116906366c3bc9590602401611b91565b5f5460ff1615611ff85760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b0319909116811790915560408051635ab1bd5360e01b81529051635ab1bd53916004808201926020929091908290030181865afa15801561205d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120819190614dec565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa1580156120e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121059190614dec565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa158015612161573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121859190614dec565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa1580156121e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122059190614dec565b600480546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612280573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a49190614eba565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156122e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061230b9190614dec565b600580546001600160a01b0319166001600160a01b039290921691909117905550565b612336613d2a565b6002545f906001600160a01b03166354f6127f612352856117d8565b6040518263ffffffff1660e01b815260040161237091815260200190565b5f60405180830381865afa15801561238a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123b19190810190614f24565b805190915015610fc85780806020019051810190610fc19190615587565b600354604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed908906044016116df565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612456573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061247a9190614dec565b6001600160a01b031663728a61a8836040518263ffffffff1660e01b81526004016124a791815260200190565b602060405180830381865afa1580156124c2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614dec565b600254604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af415801561255c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125809190614e07565b6040518263ffffffff1660e01b815260040161259e91815260200190565b602060405180830381865afa1580156125b9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190614eba565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c611626565b6002545f906001600160a01b03166309648a9d610e8c846137c5565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166017611626565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa1580156126a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a29190614dd1565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa15801561270b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061272f9190614dec565b604051637f0cf94760e01b81526001600160401b03851660048201526001600160a01b0384811660248301529190911690637f0cf94790604401611abc565b5f5460ff16156127915760405163ae9eff1b60e01b815260040160405180910390fd5b61279a33611fd5565b565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156127e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128079190614dec565b6040516343e39f2d60e11b81526001600160401b03841660048201526001600160a01b0391909116906387c73e5a90602401611b91565b60408051606080820183525f8083526020830152918101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee6275906128af906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156128ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128ee9190614e07565b6040518263ffffffff1660e01b815260040161290c91815260200190565b5f60405180830381865afa158015612926573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261294d9190810190614f24565b805190915015610fc85780806020019051810190610fc19190615618565b600254604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610cda565b6002545f906001600160a01b03166309648a9d610e8c84611ed6565b6003546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610dbc565b6002545f9081906001600160a01b03166354f6127f612a1785611c28565b6040518263ffffffff1660e01b8152600401612a3591815260200190565b5f60405180830381865afa158015612a4f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a769190810190614f24565b805190915015610fc85780806020019051810190612a9491906156a8565b602001519392505050565b604080516080810182525f808252602082018190528183018190526060820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015612b05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614e53565b6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c0810191909152600254604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015612bd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bfc9190614e07565b6040518263ffffffff1660e01b8152600401612c1a91815260200190565b5f60405180830381865afa158015612c34573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612c5b9190810190614f24565b805190915015612c815780806020019051810190612c799190615723565b915050610d19565b5092915050565b5f8054819061010090046001600160a01b031663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cf2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d169190614eba565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d7d9190614dec565b60405163eed2831560e01b81523060048201526001600160c01b0319851660248201526001600160a01b03919091169063eed28315906044016040805180830381865afa158015612dd0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612df4919061580c565b91509150915091565b60405163034159f960e41b81523060048201526001600160601b03821660248201525f9073__$d4f8ac2ac7f53dfb2fb9ff92adbd6d29df$__906334159f9090604401602060405180830381865af4158015611bac573d5f803e3d5ffd5b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612ea2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ec69190614dec565b6001600160a01b031663ba62fbe46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f25919061530e565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e08201526002549091906001600160a01b03166354f6127f612fce85611ed6565b6040518263ffffffff1660e01b8152600401612fec91815260200190565b5f60405180830381865afa158015613006573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261302d9190810190614f24565b805190915015610fc85780806020019051810190610fc19190615844565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015613092573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130b69190614dec565b60405163c6a0017960e01b81526001600160401b03841660048201526001600160a01b03919091169063c6a0017990602401611b91565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa15801561147e573d5f803e3d5ffd5b60408051610140810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e082019290925261010081018290526101208101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee6275906131dc906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156131f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061321b9190614e07565b6040518263ffffffff1660e01b815260040161323991815260200190565b5f60405180830381865afa158015613253573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261327a9190810190614f24565b805190915015610fc85780806020019051810190610fc191906159d7565b5f6114a2613cb6565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156132e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061330c9190614dec565b60405163d78a83b160e01b81526001600160401b0385166004820152602481018490526001600160a01b03919091169063d78a83b190604401602060405180830381865afa1580156111f6573d5f803e3d5ffd5b6003546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c906044016116df565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f611626565b5f806133d7836129f9565b90506001600160a01b03811615610fc857806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f6573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b90602401611656565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526002545f906001600160a01b03166354f6127f613512856115fe565b6040518263ffffffff1660e01b815260040161353091815260200190565b5f60405180830381865afa15801561354a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526135719190810190614f24565b805190915015610fc85780806020019051810190610fc19190615af8565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca846135b6856001615c6e565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af41580156135fd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190615c89565b6005546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d0738490604401611abc565b60408051606080820183528082525f6020830152918101919091526002545f906001600160a01b03166354f6127f6136a185611c28565b6040518263ffffffff1660e01b81526004016136bf91815260200190565b5f60405180830381865afa1580156136d9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526137009190810190614f24565b805190915015610fc85780806020019051810190610fc191906156a8565b600254604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401612541565b6004805460405163f4809edd60e01b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063f4809edd90604401611025565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166016611626565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36613817846001615ca4565b6040518263ffffffff1660e01b815260040161383591815260200190565b602060405180830381865af4158015613850573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190615cb7565b6002546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee6275906138ce906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156138e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061390d9190614e07565b6040518263ffffffff1660e01b815260040161392b91815260200190565b5f60405180830381865afa158015613945573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261396c9190810190614f24565b6002546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590612541906001600160c01b0319891690600401613fc5565b6040805160a0810182525f808252602082018190529181018290526060808201929092526080810191909152600254604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af4158015613a67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a8b9190614e07565b6040518263ffffffff1660e01b8152600401613aa991815260200190565b5f60405180830381865afa158015613ac3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613aea9190810190614f24565b805190915015612c815780806020019051810190612c799190615cd2565b60408051610100810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c0810182905260e0810191909152600254604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613bb5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613bd99190614e07565b6040518263ffffffff1660e01b8152600401613bf791815260200190565b5f60405180830381865afa158015613c11573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613c389190810190614f24565b805190915015610fc85780806020019051810190610fc19190615d88565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156116fa573d5f803e3d5ffd5b6040516368aebf7b60e01b8152600560048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015613d06573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a2919061530e565b6040805161012081019091525f60e0820181815261010083019190915281908152602001613d67604080518082019091525f808252602082015290565b8152602001613d85604080518082019091525f808252602082015290565b8152602001613da3604080518082019091525f808252602082015290565b8152602001613dc1604080518082019091525f808252602082015290565b8152602001613ddf604080518082019091525f808252602082015290565b8152602001613dfd604080518082019091525f808252602082015290565b905290565b6001600160601b0381168114613e16575f80fd5b50565b5f60208284031215613e29575f80fd5b8135610fc181613e02565b6001600160401b0381168114613e16575f80fd5b5f60208284031215613e58575f80fd5b8135610fc181613e34565b5f60208284031215613e73575f80fd5b5035919050565b5f8151808452602084019350602083015f5b82811015613eb35781516001600160601b0316865260209586019590910190600101613e8c565b5093949350505050565b602081528151151560208201526020820151151560408201525f6040830151613eea606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152613f4d610120840182613e7a565b949350505050565b61ffff81168114613e16575f80fd5b5f8060408385031215613f75575f80fd5b8235613f8081613e02565b91506020830135613f9081613f55565b809150509250929050565b5f8060408385031215613fac575f80fd5b8235613fb781613e02565b946020939093013593505050565b6001600160c01b031991909116815260200190565b6001600160a01b0381168114613e16575f80fd5b5f60208284031215613ffe575f80fd5b8135610fc181613fda565b634e487b7160e01b5f52602160045260245ffd5b81518152602082015160808201906007811061403b5761403b614009565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f806040838503121561407d575f80fd5b8235915060208301355f81900b8114613f90575f80fd5b6001600160c01b031981168114613e16575f80fd5b5f602082840312156140b9575f80fd5b8135610fc181614094565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161412160408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526141896101208401826140c4565b905060e0840151601f19848303016101008501526141a782826140c4565b95945050505050565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f6060830151608080840152613f4d60a08401826140c4565b5f806040838503121561420d575f80fd5b8235613fb781614094565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561424e5761424e614218565b60405290565b60405161010081016001600160401b038111828210171561424e5761424e614218565b60405160c081016001600160401b038111828210171561424e5761424e614218565b60405160e081016001600160401b038111828210171561424e5761424e614218565b604051606081016001600160401b038111828210171561424e5761424e614218565b60405161020081016001600160401b038111828210171561424e5761424e614218565b60405161014081016001600160401b038111828210171561424e5761424e614218565b60405161024081016001600160401b038111828210171561424e5761424e614218565b60405160a081016001600160401b038111828210171561424e5761424e614218565b604051601f8201601f191681016001600160401b038111828210171561439057614390614218565b604052919050565b5f6001600160401b038211156143b0576143b0614218565b50601f01601f191660200190565b5f80604083850312156143cf575f80fd5b82356143da81613e02565b915060208301356001600160401b038111156143f4575f80fd5b8301601f81018513614404575f80fd5b803561441761441282614398565b614368565b81815286602083850101111561442b575f80fd5b816020840160208301375f602083830101528093505050509250929050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f60808301516144c560a084018261444a565b5060a083015160e080840152613f4d6101008401826140c4565b5f80604083850312156144f0575f80fd5b82356144fb81613e34565b91506020830135613f9081613fda565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b0360408401511660408301526060830151151560608301526080830151614562608084018215159052565b5060a083015161457660a084018215159052565b5060c0830151612c8160c084018215159052565b81516001600160401b03168152602082015160c0820190600481106145b1576145b1614009565b8060208401525063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b5f6101c08201905061460d82845161444a565b602083015161461f604084018261444a565b506040830151614632608084018261444a565b50606083015161464560c084018261444a565b50608083015161465961010084018261444a565b5060a083015161466d61014084018261444a565b5060c0830151612c8161018084018261444a565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152613f4d60808401826140c4565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f60408301516146ff606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c084015261473c6101008401826140c4565b905060c0840151601f198483030160e08501526141a782826140c4565b602081526147736020820183516001600160601b03169052565b5f602083015161478e60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e08401526148a56102208401826140c4565b90506101e0840151601f19848303016102008501526141a782826140c4565b602081526148de6020820183516001600160a01b03169052565b5f60208301516148f960408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526149836101608401826140c4565b9050610120840151601f19848303016101408501526141a782826140c4565b5f80604083850312156149b3575f80fd5b8235613fb781613e34565b81516001600160601b03168152610240810160208301516149ea60208401826001600160601b03169052565b506040830151614a0560408401826001600160601b03169052565b506060830151614a2060608401826001600160601b03169052565b506080830151614a3b60808401826001600160601b03169052565b5060a0830151614a5660a08401826001600160601b03169052565b5060c0830151614a7160c08401826001600160601b03169052565b5060e0830151614a8c60e08401826001600160601b03169052565b50610100830151614aa96101008401826001600160601b03169052565b50610120830151614ac66101208401826001600160601b03169052565b50610140830151614ae36101408401826001600160601b03169052565b50610160830151614b006101608401826001600160601b03169052565b50610180830151614b1d6101808401826001600160601b03169052565b506101a0830151614b3a6101a08401826001600160601b03169052565b506101c0830151614b576101c08401826001600160601b03169052565b506101e0830151614b746101e08401826001600160601b03169052565b50610200830151614b916102008401826001600160601b03169052565b50610220830151612c816102208401826001600160601b03169052565b62ffffff81168114613e16575f80fd5b5f8060408385031215614bcf575f80fd5b8235614bda81613f55565b91506020830135613f9081614bae565b5f8060408385031215614bfb575f80fd5b8235614c0681613e02565b91506020830135613f9081614094565b602081525f825160606020840152614c3160808401826140c4565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506141a782826140c4565b64ffffffffff81168114613e16575f80fd5b5f8060408385031215614c87575f80fd5b8235614c9281613e02565b91506020830135613f9081614c64565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a080840152613f4d60c08401826140c4565b60208152614d1a6020820183516001600160601b03169052565b5f6020830151614d3560408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c0840152614d856101208401826140c4565b905060c0840151601f198483030160e0850152614da282826140c4565b91505060e0840151601f19848303016101008501526141a782826140c4565b8051614dcc81613e02565b919050565b5f60208284031215614de1575f80fd5b8151610fc181613e02565b5f60208284031215614dfc575f80fd5b8151610fc181613fda565b5f60208284031215614e17575f80fd5b5051919050565b60ff81168114613e16575f80fd5b8051614dcc81614e1e565b63ffffffff81168114613e16575f80fd5b8051614dcc81614e37565b5f6080828403128015614e64575f80fd5b50614e6d61422c565b8251614e7881614e1e565b81526020830151614e8881614e1e565b60208201526040830151614e9b81614e37565b60408201526060830151614eae81614e37565b60608201529392505050565b5f60208284031215614eca575f80fd5b8151610fc181614e1e565b5f82601f830112614ee4575f80fd5b8151602083015f614ef761441284614398565b9050828152858383011115614f0a575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215614f34575f80fd5b81516001600160401b03811115614f49575f80fd5b613f4d84828501614ed5565b80518015158114614dcc575f80fd5b5f82601f830112614f73575f80fd5b81516001600160401b03811115614f8c57614f8c614218565b8060051b614f9c60208201614368565b91825260208185018101929081019086841115614fb7575f80fd5b6020860192505b83831015614fe2578251614fd181613e02565b825260209283019290910190614fbe565b9695505050505050565b5f60208284031215614ffc575f80fd5b81516001600160401b03811115615011575f80fd5b82016101008185031215615023575f80fd5b61502b614254565b61503482614f55565b815261504260208301614f55565b602082015261505360408301614f55565b604082015261506460608301614e2c565b606082015261507560808301614e2c565b608082015261508660a08301614dc1565b60a082015261509760c08301614dc1565b60c082015260e08201516001600160401b038111156150b4575f80fd5b6150c086828501614f64565b60e083015250949350505050565b8051614dcc81614094565b5f602082840312156150e9575f80fd5b8151610fc181614094565b8051614dcc81614c64565b5f6080828403128015615110575f80fd5b5061511961422c565b8251815260208301516007811061512e575f80fd5b6020820152604083015161514181613e34565b60408201526060830151614eae81614c64565b8051614dcc81613fda565b5f6020828403121561516f575f80fd5b81516001600160401b03811115615184575f80fd5b82016101008185031215615196575f80fd5b61519e614254565b6151a782614dc1565b81526151b560208301614dc1565b60208201526151c660408301614e48565b60408201526151d760608301614e48565b60608201526151e860808301615154565b60808201526151f960a083016150f4565b60a082015260c08201516001600160401b03811115615216575f80fd5b61522286828501614ed5565b60c08301525060e08201516001600160401b03811115615240575f80fd5b6150c086828501614ed5565b5f6020828403121561525c575f80fd5b81516001600160401b03811115615271575f80fd5b820160808185031215615282575f80fd5b61528a61422c565b815161529581614094565b81526152a360208301614f55565b602082015260408201516152b681614e37565b604082015260608201516001600160401b038111156152d3575f80fd5b6152df86828501614ed5565b606083015250949350505050565b6001600160601b0383168152604060208201525f613f4d60408301846140c4565b5f6020828403121561531e575f80fd5b8151610fc181613e34565b5f60408284031215615339575f80fd5b604080519081016001600160401b038111828210171561535b5761535b614218565b8060405250809150825161536e81613fda565b8152602083015161537e81613e02565b6020919091015292915050565b5f6020828403121561539b575f80fd5b81516001600160401b038111156153b0575f80fd5b820160e081850312156153c1575f80fd5b6153c9614277565b81516153d481614c64565b815260208201516153e481614c64565b60208201526153f5604083016150f4565b604082015261540660608301614dc1565b60608201526154188560808401615329565b608082015260c08201516001600160401b03811115615435575f80fd5b61544186828501614ed5565b60a083015250949350505050565b5f6020828403121561545f575f80fd5b610fc182614f55565b5f60e0828403128015615479575f80fd5b50615482614299565b825161548d81613e02565b8152602083015161549d81613fda565b602082015260408301516154b081613fda565b60408201526154c160608401614f55565b60608201526154d260808401614f55565b60808201526154e360a08401614f55565b60a08201526154f460c08401614f55565b60c08201529392505050565b5f60c0828403128015615511575f80fd5b5061551a614277565b825161552581613e34565b8152602083015160048110615538575f80fd5b6020820152604083015161554b81614e37565b6040820152606083015161555e81614c64565b606082015261556f608084016150f4565b608082015260a0928301519281019290925250919050565b5f6101c0828403128015615599575f80fd5b506155a2614299565b6155ac8484615329565b81526155bb8460408501615329565b60208201526155cd8460808501615329565b60408201526155df8460c08501615329565b60608201526155f2846101008501615329565b6080820152615605846101408501615329565b60a08201526154f4846101808501615329565b5f60208284031215615628575f80fd5b81516001600160401b0381111561563d575f80fd5b82016060818503121561564e575f80fd5b6156566142bb565b815161566181613e02565b8152602082015161567181614c64565b602082015260408201516001600160401b0381111561568e575f80fd5b61569a86828501614ed5565b604083015250949350505050565b5f602082840312156156b8575f80fd5b81516001600160401b038111156156cd575f80fd5b8201606081850312156156de575f80fd5b6156e66142bb565b81516001600160401b038111156156fb575f80fd5b61570786828501614ed5565b825250602082015161567181613fda565b8051614dcc81614bae565b5f60208284031215615733575f80fd5b81516001600160401b03811115615748575f80fd5b820160e08185031215615759575f80fd5b615761614299565b61576a82614dc1565b815261577860208301614dc1565b6020820152615789604083016150f4565b604082015261579a60608301615718565b60608201526157ab60808301615718565b608082015260a08201516001600160401b038111156157c8575f80fd5b6157d486828501614ed5565b60a08301525060c08201516001600160401b038111156157f2575f80fd5b6157fe86828501614ed5565b60c083015250949350505050565b5f806040838503121561581d575f80fd5b825161582881613fda565b6020840151909250613f9081614e1e565b8051614dcc81613f55565b5f60208284031215615854575f80fd5b81516001600160401b03811115615869575f80fd5b8201610200818503121561587b575f80fd5b6158836142dd565b61588c82614dc1565b815261589a60208301614dc1565b60208201526158ab604083016150ce565b60408201526158bc60608301614dc1565b60608201526158cd60808301614dc1565b60808201526158de60a083016150ce565b60a08201526158ef60c08301615839565b60c082015261590060e08301615839565b60e08201526159126101008301614dc1565b6101008201526159256101208301614dc1565b61012082015261593861014083016150f4565b61014082015261594b61016083016150f4565b61016082015261595e61018083016150f4565b6101808201526159716101a083016150f4565b6101a08201526101c08201516001600160401b03811115615990575f80fd5b61599c86828501614ed5565b6101c0830152506101e08201516001600160401b038111156159bc575f80fd5b6159c886828501614ed5565b6101e083015250949350505050565b5f602082840312156159e7575f80fd5b81516001600160401b038111156159fc575f80fd5b82016101408185031215615a0e575f80fd5b615a16614300565b615a1f82615154565b8152615a2d60208301614dc1565b6020820152615a3e60408301615154565b6040820152615a4f60608301614e48565b6060820152615a60608083016150f4565b6080820152615a7160a08301614f55565b60a0820152615a8260c08301614f55565b60c0820152615a9360e08301615154565b60e08201526101008201516001600160401b03811115615ab1575f80fd5b615abd86828501614ed5565b610100830152506101208201516001600160401b03811115615add575f80fd5b615ae986828501614ed5565b61012083015250949350505050565b5f610240828403128015615b0a575f80fd5b50615b13614323565b615b1c83614dc1565b8152615b2a60208401614dc1565b6020820152615b3b60408401614dc1565b6040820152615b4c60608401614dc1565b6060820152615b5d60808401614dc1565b6080820152615b6e60a08401614dc1565b60a0820152615b7f60c08401614dc1565b60c0820152615b9060e08401614dc1565b60e0820152615ba26101008401614dc1565b610100820152615bb56101208401614dc1565b610120820152615bc86101408401614dc1565b610140820152615bdb6101608401614dc1565b610160820152615bee6101808401614dc1565b610180820152615c016101a08401614dc1565b6101a0820152615c146101c08401614dc1565b6101c0820152615c276101e08401614dc1565b6101e0820152615c3a6102008401614dc1565b610200820152615c4d6102208401614dc1565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610d1957610d19615c5a565b5f60208284031215615c99575f80fd5b8151610fc181614c64565b80820180821115610d1957610d19615c5a565b5f60208284031215615cc7575f80fd5b8151610fc181613f55565b5f60208284031215615ce2575f80fd5b81516001600160401b03811115615cf7575f80fd5b820160a08185031215615d08575f80fd5b615d10614346565b8151615d1b81613f55565b81526020820151615d2b81613e02565b60208201526040820151615d3e81614c64565b60408201526060820151615d5181613fda565b606082015260808201516001600160401b03811115615d6e575f80fd5b615d7a86828501614ed5565b608083015250949350505050565b5f60208284031215615d98575f80fd5b81516001600160401b03811115615dad575f80fd5b82016101008185031215615dbf575f80fd5b615dc7614254565b615dd082614dc1565b8152615dde60208301614dc1565b6020820152615def60408301614f55565b6040820152615e00606083016150f4565b6060820152615e11608083016150f4565b608082015260a08201516001600160401b03811115615e2e575f80fd5b615e3a86828501614ed5565b60a08301525060c08201516001600160401b03811115615216575f80fdfea2646970667358221220bb6151f324479108eb0c48c7394e2570bcae7ef25d658ec4c297c3059f2d093364736f6c634300081a0033",
2390
+ "linkReferences": {
2391
+ "contracts/product/PolicyServiceLib.sol": {
2392
+ "PolicyServiceLib": [
2393
+ {
2394
+ "length": 20,
2395
+ "start": 11848
2396
+ }
2397
+ ]
2398
+ },
2399
+ "contracts/type/Amount.sol": {
2400
+ "AmountLib": [
2401
+ {
2402
+ "length": 20,
2403
+ "start": 15523
2404
+ }
2405
+ ]
2406
+ },
2407
+ "contracts/type/ClaimId.sol": {
2408
+ "ClaimIdLib": [
2409
+ {
2410
+ "length": 20,
2411
+ "start": 9544
2412
+ },
2413
+ {
2414
+ "length": 20,
2415
+ "start": 11205
2416
+ },
2417
+ {
2418
+ "length": 20,
2419
+ "start": 14361
2420
+ }
2421
+ ]
2422
+ },
2423
+ "contracts/type/DistributorType.sol": {
2424
+ "DistributorTypeLib": [
2425
+ {
2426
+ "length": 20,
2427
+ "start": 12751
2428
+ }
2429
+ ]
2430
+ },
2431
+ "contracts/type/NftId.sol": {
2432
+ "NftIdLib": [
2433
+ {
2434
+ "length": 20,
2435
+ "start": 5670
2436
+ },
2437
+ {
2438
+ "length": 20,
2439
+ "start": 5785
2440
+ },
2441
+ {
2442
+ "length": 20,
2443
+ "start": 6144
2444
+ },
2445
+ {
2446
+ "length": 20,
2447
+ "start": 7248
2448
+ },
2449
+ {
2450
+ "length": 20,
2451
+ "start": 7934
2452
+ },
2453
+ {
2454
+ "length": 20,
2455
+ "start": 9733
2456
+ },
2457
+ {
2458
+ "length": 20,
2459
+ "start": 9805
2460
+ },
2461
+ {
2462
+ "length": 20,
2463
+ "start": 13256
2464
+ },
2465
+ {
2466
+ "length": 20,
2467
+ "start": 14317
2468
+ }
2469
+ ]
2470
+ },
2471
+ "contracts/type/PayoutId.sol": {
2472
+ "PayoutIdLib": [
2473
+ {
2474
+ "length": 20,
2475
+ "start": 13751
2476
+ },
2477
+ {
2478
+ "length": 20,
2479
+ "start": 14211
2480
+ },
2481
+ {
2482
+ "length": 20,
2483
+ "start": 14932
2484
+ }
2485
+ ]
2486
+ },
2487
+ "contracts/type/Referral.sol": {
2488
+ "ReferralLib": [
2489
+ {
2490
+ "length": 20,
2491
+ "start": 4822
2492
+ },
2493
+ {
2494
+ "length": 20,
2495
+ "start": 6202
2496
+ }
2497
+ ]
2498
+ },
2499
+ "contracts/type/RequestId.sol": {
2500
+ "RequestIdLib": [
2501
+ {
2502
+ "length": 20,
2503
+ "start": 15266
2504
+ }
2505
+ ]
2506
+ },
2507
+ "contracts/type/RiskId.sol": {
2508
+ "RiskIdLib": [
2509
+ {
2510
+ "length": 20,
2511
+ "start": 10402
2512
+ },
2513
+ {
2514
+ "length": 20,
2515
+ "start": 14529
2516
+ },
2517
+ {
2518
+ "length": 20,
2519
+ "start": 14774
2520
+ }
2521
+ ]
2522
+ },
2523
+ "contracts/type/RoleId.sol": {
2524
+ "RoleIdLib": [
2525
+ {
2526
+ "length": 20,
2527
+ "start": 15603
2528
+ }
2529
+ ]
2530
+ },
2531
+ "contracts/type/UFixed.sol": {
2532
+ "UFixedLib": [
2533
+ {
2534
+ "length": 20,
2535
+ "start": 4579
2536
+ },
2537
+ {
2538
+ "length": 20,
2539
+ "start": 13417
2540
+ }
2541
+ ]
2542
+ }
2543
+ },
2544
+ "deployedLinkReferences": {
2545
+ "contracts/product/PolicyServiceLib.sol": {
2546
+ "PolicyServiceLib": [
2547
+ {
2548
+ "length": 20,
2549
+ "start": 11811
2550
+ }
2551
+ ]
2552
+ },
2553
+ "contracts/type/Amount.sol": {
2554
+ "AmountLib": [
2555
+ {
2556
+ "length": 20,
2557
+ "start": 15486
2558
+ }
2559
+ ]
2560
+ },
2561
+ "contracts/type/ClaimId.sol": {
2562
+ "ClaimIdLib": [
2563
+ {
2564
+ "length": 20,
2565
+ "start": 9507
2566
+ },
2567
+ {
2568
+ "length": 20,
2569
+ "start": 11168
2570
+ },
2571
+ {
2572
+ "length": 20,
2573
+ "start": 14324
2574
+ }
2575
+ ]
2576
+ },
2577
+ "contracts/type/DistributorType.sol": {
2578
+ "DistributorTypeLib": [
2579
+ {
2580
+ "length": 20,
2581
+ "start": 12714
2582
+ }
2583
+ ]
2584
+ },
2585
+ "contracts/type/NftId.sol": {
2586
+ "NftIdLib": [
2587
+ {
2588
+ "length": 20,
2589
+ "start": 5633
2590
+ },
2591
+ {
2592
+ "length": 20,
2593
+ "start": 5748
2594
+ },
2595
+ {
2596
+ "length": 20,
2597
+ "start": 6107
2598
+ },
2599
+ {
2600
+ "length": 20,
2601
+ "start": 7211
2602
+ },
2603
+ {
2604
+ "length": 20,
2605
+ "start": 7897
2606
+ },
2607
+ {
2608
+ "length": 20,
2609
+ "start": 9696
2610
+ },
2611
+ {
2612
+ "length": 20,
2613
+ "start": 9768
2614
+ },
2615
+ {
2616
+ "length": 20,
2617
+ "start": 13219
2618
+ },
2619
+ {
2620
+ "length": 20,
2621
+ "start": 14280
2622
+ }
2623
+ ]
2624
+ },
2625
+ "contracts/type/PayoutId.sol": {
2626
+ "PayoutIdLib": [
2627
+ {
2628
+ "length": 20,
2629
+ "start": 13714
2630
+ },
2631
+ {
2632
+ "length": 20,
2633
+ "start": 14174
2634
+ },
2635
+ {
2636
+ "length": 20,
2637
+ "start": 14895
2638
+ }
2639
+ ]
2640
+ },
2641
+ "contracts/type/Referral.sol": {
2642
+ "ReferralLib": [
2643
+ {
2644
+ "length": 20,
2645
+ "start": 4785
2646
+ },
2647
+ {
2648
+ "length": 20,
2649
+ "start": 6165
2650
+ }
2651
+ ]
2652
+ },
2653
+ "contracts/type/RequestId.sol": {
2654
+ "RequestIdLib": [
2655
+ {
2656
+ "length": 20,
2657
+ "start": 15229
2658
+ }
2659
+ ]
2660
+ },
2661
+ "contracts/type/RiskId.sol": {
2662
+ "RiskIdLib": [
2663
+ {
2664
+ "length": 20,
2665
+ "start": 10365
2666
+ },
2667
+ {
2668
+ "length": 20,
2669
+ "start": 14492
2670
+ },
2671
+ {
2672
+ "length": 20,
2673
+ "start": 14737
2674
+ }
2675
+ ]
2676
+ },
2677
+ "contracts/type/RoleId.sol": {
2678
+ "RoleIdLib": [
2679
+ {
2680
+ "length": 20,
2681
+ "start": 15566
2682
+ }
2683
+ ]
2684
+ },
2685
+ "contracts/type/UFixed.sol": {
2686
+ "UFixedLib": [
2687
+ {
2688
+ "length": 20,
2689
+ "start": 4542
2690
+ },
2691
+ {
2692
+ "length": 20,
2693
+ "start": 13380
2694
+ }
2695
+ ]
2696
+ }
2697
+ }
2698
+ }