@etherisc/gif-next 0.0.2-c336201-668 → 0.0.2-c37b622-555

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