@etherisc/gif-next 0.0.2-ffba655 → 3.0.0-06d5e8b-738

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