@etherisc/gif-next 0.0.2-f752d2a-551 → 0.0.2-f78c672-338

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