@etherisc/gif-next 0.0.2-f0d86c2-077 → 0.0.2-f0ebcc7-306

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