@etherisc/gif-next 0.0.2-e46206a-486 → 0.0.2-e4d7e1c-013

Sign up to get free protection for your applications and to get access to all the features.
Files changed (812) hide show
  1. package/README.md +205 -21
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/base/ModuleBase.sol/ModuleBase.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +949 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1809 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +930 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +848 -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 +1484 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2053 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1439 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2585 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +606 -1394
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +1082 -0
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +675 -1717
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2646 -0
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1328 -0
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +772 -0
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3792 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  102. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  103. package/artifacts/contracts/instance/module/{pool/IPoolModule.sol/IPool.json → IComponents.sol/IComponents.json} +2 -2
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  106. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  110. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  111. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  112. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  114. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  116. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  118. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  120. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  122. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  124. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  126. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  128. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  130. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  132. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
  134. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +866 -0
  136. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  138. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
  140. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.json +1025 -0
  144. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
  154. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  156. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  158. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1536 -0
  160. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +886 -0
  162. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  163. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +404 -351
  164. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  166. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  168. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +652 -0
  170. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -0
  172. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  173. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IRiskService.sol/IRiskService.json} +353 -249
  174. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  176. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  178. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +854 -0
  180. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  182. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
  184. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  185. package/artifacts/contracts/product/Product.sol/Product.json +1117 -0
  186. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  188. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  190. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  192. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +931 -154
  194. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +409 -209
  196. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  197. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  198. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  200. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/Registry.sol/Registry.json +1259 -258
  202. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  204. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  206. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +360 -323
  208. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +384 -115
  210. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  212. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  214. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  216. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  218. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +721 -0
  220. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  221. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Component.sol/Component.json} +374 -150
  222. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1551 -0
  224. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +862 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  229. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → shared/ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  230. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  234. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  235. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/IComponent.sol/IComponent.json} +286 -200
  236. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  238. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  240. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  241. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +128 -178
  242. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +61 -22
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  247. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +162 -15
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  251. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  252. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  253. package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +162 -155
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  258. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  259. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  260. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  261. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  262. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  263. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  264. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +98 -28
  266. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  267. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  268. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +178 -55
  270. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  271. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  272. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  273. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +179 -165
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  278. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  280. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2757 -0
  282. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  283. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1147 -0
  284. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  285. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  286. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  287. package/artifacts/contracts/staking/Staking.sol/Staking.json +3185 -0
  288. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  290. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +847 -0
  292. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  294. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1344 -0
  296. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +766 -0
  298. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  300. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  301. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  302. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  303. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  304. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  305. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  306. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  308. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +251 -0
  310. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  312. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  314. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  316. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  318. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  319. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  320. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  321. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  322. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  324. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  325. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  326. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  328. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  330. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  332. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  334. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  336. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  338. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +289 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  342. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  344. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  346. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  348. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  350. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  352. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  354. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  355. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  356. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  358. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  360. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  362. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  363. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  364. package/contracts/accounting/AccountingService.sol +274 -0
  365. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  366. package/contracts/accounting/IAccountingService.sol +47 -0
  367. package/contracts/authorization/AccessAdmin.sol +780 -0
  368. package/contracts/authorization/AccessAdminLib.sol +396 -0
  369. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  370. package/contracts/authorization/Authorization.sol +169 -0
  371. package/contracts/authorization/IAccess.sol +67 -0
  372. package/contracts/authorization/IAccessAdmin.sol +144 -0
  373. package/contracts/authorization/IAuthorization.sol +26 -0
  374. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  375. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  376. package/contracts/distribution/BasicDistribution.sol +141 -0
  377. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  378. package/contracts/distribution/Distribution.sol +247 -0
  379. package/contracts/distribution/DistributionService.sol +448 -0
  380. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  381. package/contracts/distribution/IDistributionComponent.sol +45 -0
  382. package/contracts/distribution/IDistributionService.sol +115 -0
  383. package/contracts/examples/fire/DamageLevel.sol +59 -0
  384. package/contracts/examples/fire/FirePool.sol +86 -0
  385. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  386. package/contracts/examples/fire/FireProduct.sol +433 -0
  387. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  388. package/contracts/examples/fire/FireUSD.sol +26 -0
  389. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  390. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  391. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  392. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  393. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  394. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  395. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  396. package/contracts/instance/BundleSet.sol +130 -0
  397. package/contracts/instance/IInstance.sol +138 -45
  398. package/contracts/instance/IInstanceService.sol +117 -0
  399. package/contracts/instance/Instance.sol +334 -70
  400. package/contracts/instance/InstanceAdmin.sol +383 -0
  401. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  402. package/contracts/instance/InstanceReader.sol +632 -0
  403. package/contracts/instance/InstanceService.sol +500 -0
  404. package/contracts/instance/InstanceServiceManager.sol +39 -0
  405. package/contracts/instance/InstanceStore.sol +298 -0
  406. package/contracts/instance/RiskSet.sol +126 -0
  407. package/contracts/instance/base/BalanceStore.sol +121 -0
  408. package/contracts/instance/base/Cloneable.sol +28 -0
  409. package/contracts/instance/base/ObjectCounter.sol +20 -0
  410. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  411. package/contracts/instance/base/ObjectSet.sol +77 -0
  412. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  413. package/contracts/instance/module/IBundle.sol +21 -0
  414. package/contracts/instance/module/IComponents.sol +62 -0
  415. package/contracts/instance/module/IDistribution.sol +54 -0
  416. package/contracts/instance/module/IPolicy.sol +105 -0
  417. package/contracts/instance/module/IRisk.sol +16 -0
  418. package/contracts/{test/TestToken.sol → mock/Dip.sol} +6 -6
  419. package/contracts/oracle/BasicOracle.sol +45 -0
  420. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  421. package/contracts/oracle/IOracle.sol +41 -0
  422. package/contracts/oracle/IOracleComponent.sol +33 -0
  423. package/contracts/oracle/IOracleService.sol +66 -0
  424. package/contracts/oracle/Oracle.sol +154 -0
  425. package/contracts/oracle/OracleService.sol +310 -0
  426. package/contracts/oracle/OracleServiceManager.sol +39 -0
  427. package/contracts/pool/BasicPool.sol +162 -0
  428. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  429. package/contracts/pool/BundleService.sol +386 -0
  430. package/contracts/pool/BundleServiceManager.sol +39 -0
  431. package/contracts/pool/IBundleService.sol +116 -0
  432. package/contracts/pool/IPoolComponent.sol +62 -0
  433. package/contracts/pool/IPoolService.sol +170 -0
  434. package/contracts/pool/Pool.sol +333 -0
  435. package/contracts/pool/PoolLib.sol +341 -0
  436. package/contracts/pool/PoolService.sol +614 -0
  437. package/contracts/pool/PoolServiceManager.sol +39 -0
  438. package/contracts/product/ApplicationService.sol +327 -0
  439. package/contracts/product/ApplicationServiceManager.sol +38 -0
  440. package/contracts/product/BasicProduct.sol +49 -0
  441. package/contracts/product/BasicProductAuthorization.sol +63 -0
  442. package/contracts/product/ClaimService.sol +630 -0
  443. package/contracts/product/ClaimServiceManager.sol +38 -0
  444. package/contracts/product/IApplicationService.sol +88 -0
  445. package/contracts/product/IClaimService.sol +136 -0
  446. package/contracts/product/IPolicyService.sol +102 -0
  447. package/contracts/product/IPricingService.sol +40 -0
  448. package/contracts/product/IProductComponent.sol +62 -0
  449. package/contracts/product/IRiskService.sol +48 -0
  450. package/contracts/product/PolicyService.sol +645 -0
  451. package/contracts/product/PolicyServiceLib.sol +139 -0
  452. package/contracts/product/PolicyServiceManager.sol +39 -0
  453. package/contracts/product/PricingService.sol +306 -0
  454. package/contracts/product/PricingServiceManager.sol +39 -0
  455. package/contracts/product/Product.sol +493 -0
  456. package/contracts/product/RiskService.sol +190 -0
  457. package/contracts/product/RiskServiceManager.sol +39 -0
  458. package/contracts/registry/ChainNft.sol +82 -35
  459. package/contracts/registry/IRegistry.sol +134 -19
  460. package/contracts/registry/IRegistryService.sol +47 -20
  461. package/contracts/registry/IRelease.sol +29 -0
  462. package/contracts/registry/ITransferInterceptor.sol +1 -1
  463. package/contracts/registry/Registry.sol +580 -267
  464. package/contracts/registry/RegistryAdmin.sol +191 -0
  465. package/contracts/registry/RegistryAuthorization.sol +336 -0
  466. package/contracts/registry/RegistryService.sol +124 -324
  467. package/contracts/registry/RegistryServiceManager.sol +27 -38
  468. package/contracts/registry/ReleaseAdmin.sol +195 -0
  469. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  470. package/contracts/registry/ReleaseRegistry.sol +525 -0
  471. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  472. package/contracts/registry/TokenRegistry.sol +317 -0
  473. package/contracts/shared/Component.sol +214 -0
  474. package/contracts/shared/ComponentService.sol +687 -0
  475. package/contracts/shared/ComponentServiceManager.sol +38 -0
  476. package/contracts/shared/ContractLib.sol +312 -0
  477. package/contracts/shared/IComponent.sol +58 -0
  478. package/contracts/shared/IComponentService.sol +111 -0
  479. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  480. package/contracts/shared/IKeyValueStore.sol +54 -0
  481. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  482. package/contracts/shared/INftOwnable.sol +17 -12
  483. package/contracts/shared/IPolicyHolder.sol +35 -0
  484. package/contracts/shared/IRegisterable.sol +24 -5
  485. package/contracts/shared/IRegistryLinked.sol +11 -0
  486. package/contracts/shared/IService.sol +23 -0
  487. package/contracts/shared/InitializableERC165.sol +35 -0
  488. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  489. package/contracts/shared/KeyValueStore.sol +131 -0
  490. package/contracts/shared/Lifecycle.sol +88 -0
  491. package/contracts/shared/NftIdSet.sol +65 -0
  492. package/contracts/shared/NftOwnable.sol +77 -84
  493. package/contracts/shared/PolicyHolder.sol +63 -0
  494. package/contracts/shared/Registerable.sol +54 -37
  495. package/contracts/shared/RegistryLinked.sol +38 -0
  496. package/contracts/shared/Service.sol +67 -0
  497. package/contracts/shared/TokenHandler.sol +342 -0
  498. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  499. package/contracts/staking/IStaking.sol +367 -0
  500. package/contracts/staking/IStakingService.sol +127 -0
  501. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  502. package/contracts/staking/Staking.sol +798 -0
  503. package/contracts/staking/StakingLib.sol +195 -0
  504. package/contracts/staking/StakingManager.sol +53 -0
  505. package/contracts/staking/StakingReader.sol +171 -0
  506. package/contracts/staking/StakingService.sol +321 -0
  507. package/contracts/staking/StakingServiceManager.sol +46 -0
  508. package/contracts/staking/StakingStore.sol +1368 -0
  509. package/contracts/staking/TargetHandler.sol +132 -0
  510. package/contracts/staking/TargetManagerLib.sol +234 -0
  511. package/contracts/{types → type}/AddressSet.sol +1 -1
  512. package/contracts/type/Amount.sol +154 -0
  513. package/contracts/{types → type}/Blocknumber.sol +36 -12
  514. package/contracts/type/ChainId.sol +101 -0
  515. package/contracts/type/ClaimId.sol +80 -0
  516. package/contracts/{types → type}/DistributorType.sol +2 -2
  517. package/contracts/type/Fee.sol +66 -0
  518. package/contracts/{types → type}/Key32.sol +2 -2
  519. package/contracts/type/Key32Set.sol +62 -0
  520. package/contracts/{types → type}/NftId.sol +28 -15
  521. package/contracts/type/NftIdSet.sol +62 -0
  522. package/contracts/type/ObjectType.sol +307 -0
  523. package/contracts/type/PayoutId.sol +82 -0
  524. package/contracts/{types → type}/Referral.sol +6 -1
  525. package/contracts/type/RequestId.sol +75 -0
  526. package/contracts/type/RiskId.sol +75 -0
  527. package/contracts/type/RoleId.sol +180 -0
  528. package/contracts/type/Seconds.sol +120 -0
  529. package/contracts/type/Selector.sol +107 -0
  530. package/contracts/{types → type}/StateId.sol +52 -4
  531. package/contracts/type/String.sol +65 -0
  532. package/contracts/{types → type}/Timestamp.sol +36 -20
  533. package/contracts/type/UFixed.sol +263 -0
  534. package/contracts/{types → type}/Version.sol +61 -6
  535. package/contracts/{shared → upgradeability}/IVersionable.sol +7 -47
  536. package/contracts/upgradeability/ProxyManager.sol +246 -0
  537. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  538. package/contracts/upgradeability/Versionable.sol +62 -0
  539. package/package.json +12 -8
  540. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  541. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -301
  542. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  543. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -557
  544. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  545. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -254
  546. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  547. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -177
  548. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  549. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -308
  550. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  551. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -207
  552. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  553. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -716
  554. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  555. package/artifacts/contracts/components/Product.sol/Product.json +0 -614
  556. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  558. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  560. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  562. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  564. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  566. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  568. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  570. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  572. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  574. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  576. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  579. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  581. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  583. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  584. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  585. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  586. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  587. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  588. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  589. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  590. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  591. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  592. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  593. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  594. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  595. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  597. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  598. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  599. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  600. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  601. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  602. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  603. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  604. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -718
  605. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  606. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  607. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  608. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  609. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  611. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  612. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  613. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  614. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  615. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  616. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  617. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  618. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  619. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  620. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  621. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  622. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  624. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  625. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  627. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  628. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  629. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  630. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  631. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  632. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  633. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  635. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  636. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  637. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  638. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  639. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  640. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  641. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  642. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  643. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  644. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  645. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  646. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  647. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  648. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  649. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -843
  650. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  651. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -646
  652. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  653. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -466
  654. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  655. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  656. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  657. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  658. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  659. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -769
  660. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  661. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1076
  662. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  663. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  664. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  665. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  666. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  667. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  668. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  669. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  670. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  671. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  672. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  673. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  674. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  675. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -557
  676. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  677. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  678. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  679. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -716
  680. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  681. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -744
  682. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  683. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  684. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  685. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  686. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  687. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  688. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  689. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  690. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  691. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  692. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  693. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  694. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  695. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  696. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  697. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  698. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  699. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  700. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  701. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  702. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  703. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  704. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  705. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  706. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  707. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  708. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  709. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  710. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  711. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  712. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  713. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  714. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  715. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  716. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  717. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  718. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  719. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  720. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  721. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  722. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  723. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  724. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  725. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  726. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  727. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  728. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  729. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  730. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  731. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  732. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  733. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  734. package/contracts/components/BaseComponent.sol +0 -79
  735. package/contracts/components/Distribution.sol +0 -155
  736. package/contracts/components/IBaseComponent.sol +0 -19
  737. package/contracts/components/IDistributionComponent.sol +0 -46
  738. package/contracts/components/IPoolComponent.sol +0 -64
  739. package/contracts/components/IProductComponent.sol +0 -37
  740. package/contracts/components/Pool.sol +0 -246
  741. package/contracts/components/Product.sol +0 -299
  742. package/contracts/experiment/cloning/Cloner.sol +0 -47
  743. package/contracts/experiment/errors/Require.sol +0 -38
  744. package/contracts/experiment/errors/Revert.sol +0 -44
  745. package/contracts/experiment/inheritance/A.sol +0 -53
  746. package/contracts/experiment/inheritance/B.sol +0 -28
  747. package/contracts/experiment/inheritance/C.sol +0 -34
  748. package/contracts/experiment/inheritance/IA.sol +0 -13
  749. package/contracts/experiment/inheritance/IB.sol +0 -10
  750. package/contracts/experiment/inheritance/IC.sol +0 -12
  751. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  752. package/contracts/experiment/statemachine/ISM.sol +0 -25
  753. package/contracts/experiment/statemachine/SM.sol +0 -57
  754. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  755. package/contracts/experiment/types/TypeA.sol +0 -47
  756. package/contracts/experiment/types/TypeB.sol +0 -29
  757. package/contracts/instance/IInstanceLinked.sol +0 -8
  758. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  759. package/contracts/instance/base/IInstanceBase.sol +0 -23
  760. package/contracts/instance/base/IKeyValueStore.sol +0 -50
  761. package/contracts/instance/base/IService.sol +0 -15
  762. package/contracts/instance/base/InstanceBase.sol +0 -89
  763. package/contracts/instance/base/KeyValueStore.sol +0 -162
  764. package/contracts/instance/base/Lifecycle.sol +0 -100
  765. package/contracts/instance/base/ModuleBase.sol +0 -57
  766. package/contracts/instance/base/ServiceBase.sol +0 -44
  767. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  768. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  769. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  770. package/contracts/instance/module/component/IComponent.sol +0 -28
  771. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  772. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  773. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  774. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  775. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  776. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  777. package/contracts/instance/module/risk/IRisk.sol +0 -26
  778. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  779. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  780. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  781. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  782. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  783. package/contracts/instance/service/DistributionService.sol +0 -54
  784. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  785. package/contracts/instance/service/IDistributionService.sol +0 -12
  786. package/contracts/instance/service/IPoolService.sol +0 -37
  787. package/contracts/instance/service/IProductService.sol +0 -107
  788. package/contracts/instance/service/PoolService.sol +0 -149
  789. package/contracts/instance/service/ProductService.sol +0 -510
  790. package/contracts/shared/ContractDeployerLib.sol +0 -72
  791. package/contracts/shared/ERC165.sol +0 -21
  792. package/contracts/shared/ProxyManager.sol +0 -94
  793. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
  794. package/contracts/shared/Versionable.sol +0 -147
  795. package/contracts/test/TestDistribution.sol +0 -22
  796. package/contracts/test/TestFee.sol +0 -25
  797. package/contracts/test/TestPool.sol +0 -27
  798. package/contracts/test/TestProduct.sol +0 -74
  799. package/contracts/test/TestRegisterable.sol +0 -18
  800. package/contracts/test/TestRoleId.sol +0 -14
  801. package/contracts/test/TestService.sol +0 -26
  802. package/contracts/test/TestVersion.sol +0 -44
  803. package/contracts/test/TestVersionable.sol +0 -17
  804. package/contracts/test/Usdc.sol +0 -26
  805. package/contracts/types/ChainId.sol +0 -38
  806. package/contracts/types/Fee.sol +0 -56
  807. package/contracts/types/NftIdSet.sol +0 -60
  808. package/contracts/types/NumberId.sol +0 -52
  809. package/contracts/types/ObjectType.sol +0 -152
  810. package/contracts/types/RiskId.sol +0 -43
  811. package/contracts/types/RoleId.sol +0 -82
  812. package/contracts/types/UFixed.sol +0 -325
@@ -0,0 +1,3792 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceStore",
4
+ "sourceName": "contracts/instance/InstanceStore.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "targetNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorBalanceStoreTargetAlreadyRegistered",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "targetNftId",
60
+ "type": "uint96"
61
+ }
62
+ ],
63
+ "name": "ErrorBalanceStoreTargetNotRegistered",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "contractAddress",
71
+ "type": "address"
72
+ },
73
+ {
74
+ "internalType": "ObjectType",
75
+ "name": "objectType",
76
+ "type": "uint8"
77
+ },
78
+ {
79
+ "internalType": "StateId",
80
+ "name": "actual",
81
+ "type": "uint8"
82
+ },
83
+ {
84
+ "internalType": "StateId",
85
+ "name": "required",
86
+ "type": "uint8"
87
+ }
88
+ ],
89
+ "name": "ErrorFromStateMissmatch",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "address",
96
+ "name": "contractAddress",
97
+ "type": "address"
98
+ },
99
+ {
100
+ "internalType": "ObjectType",
101
+ "name": "objectType",
102
+ "type": "uint8"
103
+ },
104
+ {
105
+ "internalType": "StateId",
106
+ "name": "fromStateId",
107
+ "type": "uint8"
108
+ },
109
+ {
110
+ "internalType": "StateId",
111
+ "name": "toStateId",
112
+ "type": "uint8"
113
+ }
114
+ ],
115
+ "name": "ErrorInvalidStateTransition",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "Key32",
122
+ "name": "key",
123
+ "type": "bytes32"
124
+ },
125
+ {
126
+ "internalType": "ObjectType",
127
+ "name": "objectType",
128
+ "type": "uint8"
129
+ }
130
+ ],
131
+ "name": "ErrorKeyValueStoreAlreadyCreated",
132
+ "type": "error"
133
+ },
134
+ {
135
+ "inputs": [
136
+ {
137
+ "internalType": "ObjectType",
138
+ "name": "objectType",
139
+ "type": "uint8"
140
+ }
141
+ ],
142
+ "name": "ErrorKeyValueStoreNoLifecycle",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "Key32",
149
+ "name": "key",
150
+ "type": "bytes32"
151
+ }
152
+ ],
153
+ "name": "ErrorKeyValueStoreNotExisting",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "Key32",
160
+ "name": "key",
161
+ "type": "bytes32"
162
+ }
163
+ ],
164
+ "name": "ErrorKeyValueStoreStateZero",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "ObjectType",
171
+ "name": "objectType",
172
+ "type": "uint8"
173
+ }
174
+ ],
175
+ "name": "ErrorKeyValueStoreTypeUndefined",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "address",
182
+ "name": "contractAddress",
183
+ "type": "address"
184
+ },
185
+ {
186
+ "internalType": "ObjectType",
187
+ "name": "objectType",
188
+ "type": "uint8"
189
+ }
190
+ ],
191
+ "name": "ErrorNoLifecycle",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "InvalidInitialization",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [],
201
+ "name": "NotInitializing",
202
+ "type": "error"
203
+ },
204
+ {
205
+ "anonymous": false,
206
+ "inputs": [
207
+ {
208
+ "indexed": false,
209
+ "internalType": "address",
210
+ "name": "authority",
211
+ "type": "address"
212
+ }
213
+ ],
214
+ "name": "AuthorityUpdated",
215
+ "type": "event"
216
+ },
217
+ {
218
+ "anonymous": false,
219
+ "inputs": [
220
+ {
221
+ "indexed": false,
222
+ "internalType": "uint64",
223
+ "name": "version",
224
+ "type": "uint64"
225
+ }
226
+ ],
227
+ "name": "Initialized",
228
+ "type": "event"
229
+ },
230
+ {
231
+ "anonymous": false,
232
+ "inputs": [
233
+ {
234
+ "indexed": false,
235
+ "internalType": "NftId",
236
+ "name": "targetNftId",
237
+ "type": "uint96"
238
+ },
239
+ {
240
+ "indexed": false,
241
+ "internalType": "Amount",
242
+ "name": "addedAmount",
243
+ "type": "uint96"
244
+ },
245
+ {
246
+ "indexed": false,
247
+ "internalType": "Amount",
248
+ "name": "newBalance",
249
+ "type": "uint96"
250
+ },
251
+ {
252
+ "indexed": false,
253
+ "internalType": "Blocknumber",
254
+ "name": "lastUpdatedIn",
255
+ "type": "uint40"
256
+ }
257
+ ],
258
+ "name": "LogBalanceStoreBalanceDecreased",
259
+ "type": "event"
260
+ },
261
+ {
262
+ "anonymous": false,
263
+ "inputs": [
264
+ {
265
+ "indexed": false,
266
+ "internalType": "NftId",
267
+ "name": "targetNftId",
268
+ "type": "uint96"
269
+ },
270
+ {
271
+ "indexed": false,
272
+ "internalType": "Amount",
273
+ "name": "addedAmount",
274
+ "type": "uint96"
275
+ },
276
+ {
277
+ "indexed": false,
278
+ "internalType": "Amount",
279
+ "name": "newBalance",
280
+ "type": "uint96"
281
+ },
282
+ {
283
+ "indexed": false,
284
+ "internalType": "Blocknumber",
285
+ "name": "lastUpdatedIn",
286
+ "type": "uint40"
287
+ }
288
+ ],
289
+ "name": "LogBalanceStoreBalanceIncreased",
290
+ "type": "event"
291
+ },
292
+ {
293
+ "anonymous": false,
294
+ "inputs": [
295
+ {
296
+ "indexed": false,
297
+ "internalType": "NftId",
298
+ "name": "targetNftId",
299
+ "type": "uint96"
300
+ },
301
+ {
302
+ "indexed": false,
303
+ "internalType": "Amount",
304
+ "name": "addedAmount",
305
+ "type": "uint96"
306
+ },
307
+ {
308
+ "indexed": false,
309
+ "internalType": "Amount",
310
+ "name": "newBalance",
311
+ "type": "uint96"
312
+ },
313
+ {
314
+ "indexed": false,
315
+ "internalType": "Blocknumber",
316
+ "name": "lastUpdatedIn",
317
+ "type": "uint40"
318
+ }
319
+ ],
320
+ "name": "LogBalanceStoreFeesDecreased",
321
+ "type": "event"
322
+ },
323
+ {
324
+ "anonymous": false,
325
+ "inputs": [
326
+ {
327
+ "indexed": false,
328
+ "internalType": "NftId",
329
+ "name": "targetNftId",
330
+ "type": "uint96"
331
+ },
332
+ {
333
+ "indexed": false,
334
+ "internalType": "Amount",
335
+ "name": "addedAmount",
336
+ "type": "uint96"
337
+ },
338
+ {
339
+ "indexed": false,
340
+ "internalType": "Amount",
341
+ "name": "newBalance",
342
+ "type": "uint96"
343
+ },
344
+ {
345
+ "indexed": false,
346
+ "internalType": "Blocknumber",
347
+ "name": "lastUpdatedIn",
348
+ "type": "uint40"
349
+ }
350
+ ],
351
+ "name": "LogBalanceStoreFeesIncreased",
352
+ "type": "event"
353
+ },
354
+ {
355
+ "anonymous": false,
356
+ "inputs": [
357
+ {
358
+ "indexed": false,
359
+ "internalType": "NftId",
360
+ "name": "targetNftId",
361
+ "type": "uint96"
362
+ },
363
+ {
364
+ "indexed": false,
365
+ "internalType": "Amount",
366
+ "name": "addedAmount",
367
+ "type": "uint96"
368
+ },
369
+ {
370
+ "indexed": false,
371
+ "internalType": "Amount",
372
+ "name": "newBalance",
373
+ "type": "uint96"
374
+ },
375
+ {
376
+ "indexed": false,
377
+ "internalType": "Blocknumber",
378
+ "name": "lastUpdatedIn",
379
+ "type": "uint40"
380
+ }
381
+ ],
382
+ "name": "LogBalanceStoreLockedDecreased",
383
+ "type": "event"
384
+ },
385
+ {
386
+ "anonymous": false,
387
+ "inputs": [
388
+ {
389
+ "indexed": false,
390
+ "internalType": "NftId",
391
+ "name": "targetNftId",
392
+ "type": "uint96"
393
+ },
394
+ {
395
+ "indexed": false,
396
+ "internalType": "Amount",
397
+ "name": "addedAmount",
398
+ "type": "uint96"
399
+ },
400
+ {
401
+ "indexed": false,
402
+ "internalType": "Amount",
403
+ "name": "newBalance",
404
+ "type": "uint96"
405
+ },
406
+ {
407
+ "indexed": false,
408
+ "internalType": "Blocknumber",
409
+ "name": "lastUpdatedIn",
410
+ "type": "uint40"
411
+ }
412
+ ],
413
+ "name": "LogBalanceStoreLockedIncreased",
414
+ "type": "event"
415
+ },
416
+ {
417
+ "anonymous": false,
418
+ "inputs": [
419
+ {
420
+ "indexed": false,
421
+ "internalType": "NftId",
422
+ "name": "targetNftId",
423
+ "type": "uint96"
424
+ }
425
+ ],
426
+ "name": "LogBalanceStoreTargetRegistered",
427
+ "type": "event"
428
+ },
429
+ {
430
+ "anonymous": false,
431
+ "inputs": [
432
+ {
433
+ "indexed": false,
434
+ "internalType": "ObjectType",
435
+ "name": "objectType",
436
+ "type": "uint8"
437
+ },
438
+ {
439
+ "indexed": false,
440
+ "internalType": "KeyId",
441
+ "name": "keyId",
442
+ "type": "bytes31"
443
+ },
444
+ {
445
+ "indexed": false,
446
+ "internalType": "StateId",
447
+ "name": "state",
448
+ "type": "uint8"
449
+ },
450
+ {
451
+ "indexed": false,
452
+ "internalType": "address",
453
+ "name": "createdBy",
454
+ "type": "address"
455
+ },
456
+ {
457
+ "indexed": false,
458
+ "internalType": "address",
459
+ "name": "txOrigin",
460
+ "type": "address"
461
+ }
462
+ ],
463
+ "name": "LogInfoCreated",
464
+ "type": "event"
465
+ },
466
+ {
467
+ "anonymous": false,
468
+ "inputs": [
469
+ {
470
+ "indexed": false,
471
+ "internalType": "ObjectType",
472
+ "name": "objectType",
473
+ "type": "uint8"
474
+ },
475
+ {
476
+ "indexed": false,
477
+ "internalType": "KeyId",
478
+ "name": "keyId",
479
+ "type": "bytes31"
480
+ },
481
+ {
482
+ "indexed": false,
483
+ "internalType": "StateId",
484
+ "name": "state",
485
+ "type": "uint8"
486
+ },
487
+ {
488
+ "indexed": false,
489
+ "internalType": "address",
490
+ "name": "updatedBy",
491
+ "type": "address"
492
+ },
493
+ {
494
+ "indexed": false,
495
+ "internalType": "address",
496
+ "name": "txOrigin",
497
+ "type": "address"
498
+ },
499
+ {
500
+ "indexed": false,
501
+ "internalType": "Blocknumber",
502
+ "name": "lastUpdatedIn",
503
+ "type": "uint40"
504
+ }
505
+ ],
506
+ "name": "LogInfoUpdated",
507
+ "type": "event"
508
+ },
509
+ {
510
+ "anonymous": false,
511
+ "inputs": [
512
+ {
513
+ "indexed": false,
514
+ "internalType": "ObjectType",
515
+ "name": "objectType",
516
+ "type": "uint8"
517
+ },
518
+ {
519
+ "indexed": false,
520
+ "internalType": "KeyId",
521
+ "name": "keyId",
522
+ "type": "bytes31"
523
+ },
524
+ {
525
+ "indexed": false,
526
+ "internalType": "StateId",
527
+ "name": "stateOld",
528
+ "type": "uint8"
529
+ },
530
+ {
531
+ "indexed": false,
532
+ "internalType": "StateId",
533
+ "name": "stateNew",
534
+ "type": "uint8"
535
+ },
536
+ {
537
+ "indexed": false,
538
+ "internalType": "address",
539
+ "name": "updatedBy",
540
+ "type": "address"
541
+ },
542
+ {
543
+ "indexed": false,
544
+ "internalType": "address",
545
+ "name": "txOrigin",
546
+ "type": "address"
547
+ },
548
+ {
549
+ "indexed": false,
550
+ "internalType": "Blocknumber",
551
+ "name": "lastUpdatedIn",
552
+ "type": "uint40"
553
+ }
554
+ ],
555
+ "name": "LogStateUpdated",
556
+ "type": "event"
557
+ },
558
+ {
559
+ "inputs": [],
560
+ "name": "authority",
561
+ "outputs": [
562
+ {
563
+ "internalType": "address",
564
+ "name": "",
565
+ "type": "address"
566
+ }
567
+ ],
568
+ "stateMutability": "view",
569
+ "type": "function"
570
+ },
571
+ {
572
+ "inputs": [
573
+ {
574
+ "internalType": "StateId",
575
+ "name": "stateId",
576
+ "type": "uint8"
577
+ },
578
+ {
579
+ "internalType": "ObjectType",
580
+ "name": "objectType",
581
+ "type": "uint8"
582
+ },
583
+ {
584
+ "internalType": "StateId",
585
+ "name": "expectedFromId",
586
+ "type": "uint8"
587
+ },
588
+ {
589
+ "internalType": "StateId",
590
+ "name": "toId",
591
+ "type": "uint8"
592
+ }
593
+ ],
594
+ "name": "checkTransition",
595
+ "outputs": [],
596
+ "stateMutability": "view",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [
601
+ {
602
+ "internalType": "NftId",
603
+ "name": "applicationNftId",
604
+ "type": "uint96"
605
+ },
606
+ {
607
+ "components": [
608
+ {
609
+ "internalType": "NftId",
610
+ "name": "productNftId",
611
+ "type": "uint96"
612
+ },
613
+ {
614
+ "internalType": "NftId",
615
+ "name": "bundleNftId",
616
+ "type": "uint96"
617
+ },
618
+ {
619
+ "internalType": "RiskId",
620
+ "name": "riskId",
621
+ "type": "bytes8"
622
+ },
623
+ {
624
+ "internalType": "Amount",
625
+ "name": "sumInsuredAmount",
626
+ "type": "uint96"
627
+ },
628
+ {
629
+ "internalType": "Amount",
630
+ "name": "premiumAmount",
631
+ "type": "uint96"
632
+ },
633
+ {
634
+ "internalType": "ReferralId",
635
+ "name": "referralId",
636
+ "type": "bytes8"
637
+ },
638
+ {
639
+ "internalType": "uint16",
640
+ "name": "claimsCount",
641
+ "type": "uint16"
642
+ },
643
+ {
644
+ "internalType": "uint16",
645
+ "name": "openClaimsCount",
646
+ "type": "uint16"
647
+ },
648
+ {
649
+ "internalType": "Amount",
650
+ "name": "claimAmount",
651
+ "type": "uint96"
652
+ },
653
+ {
654
+ "internalType": "Amount",
655
+ "name": "payoutAmount",
656
+ "type": "uint96"
657
+ },
658
+ {
659
+ "internalType": "Timestamp",
660
+ "name": "activatedAt",
661
+ "type": "uint40"
662
+ },
663
+ {
664
+ "internalType": "Seconds",
665
+ "name": "lifetime",
666
+ "type": "uint40"
667
+ },
668
+ {
669
+ "internalType": "Timestamp",
670
+ "name": "expiredAt",
671
+ "type": "uint40"
672
+ },
673
+ {
674
+ "internalType": "Timestamp",
675
+ "name": "closedAt",
676
+ "type": "uint40"
677
+ },
678
+ {
679
+ "internalType": "bytes",
680
+ "name": "applicationData",
681
+ "type": "bytes"
682
+ },
683
+ {
684
+ "internalType": "bytes",
685
+ "name": "processData",
686
+ "type": "bytes"
687
+ }
688
+ ],
689
+ "internalType": "struct IPolicy.PolicyInfo",
690
+ "name": "policy",
691
+ "type": "tuple"
692
+ }
693
+ ],
694
+ "name": "createApplication",
695
+ "outputs": [],
696
+ "stateMutability": "nonpayable",
697
+ "type": "function"
698
+ },
699
+ {
700
+ "inputs": [
701
+ {
702
+ "internalType": "NftId",
703
+ "name": "bundleNftId",
704
+ "type": "uint96"
705
+ },
706
+ {
707
+ "components": [
708
+ {
709
+ "internalType": "Timestamp",
710
+ "name": "activatedAt",
711
+ "type": "uint40"
712
+ },
713
+ {
714
+ "internalType": "Timestamp",
715
+ "name": "expiredAt",
716
+ "type": "uint40"
717
+ },
718
+ {
719
+ "internalType": "Timestamp",
720
+ "name": "closedAt",
721
+ "type": "uint40"
722
+ },
723
+ {
724
+ "internalType": "NftId",
725
+ "name": "poolNftId",
726
+ "type": "uint96"
727
+ },
728
+ {
729
+ "components": [
730
+ {
731
+ "internalType": "UFixed",
732
+ "name": "fractionalFee",
733
+ "type": "uint160"
734
+ },
735
+ {
736
+ "internalType": "Amount",
737
+ "name": "fixedFee",
738
+ "type": "uint96"
739
+ }
740
+ ],
741
+ "internalType": "struct Fee",
742
+ "name": "fee",
743
+ "type": "tuple"
744
+ },
745
+ {
746
+ "internalType": "bytes",
747
+ "name": "filter",
748
+ "type": "bytes"
749
+ }
750
+ ],
751
+ "internalType": "struct IBundle.BundleInfo",
752
+ "name": "bundle",
753
+ "type": "tuple"
754
+ }
755
+ ],
756
+ "name": "createBundle",
757
+ "outputs": [],
758
+ "stateMutability": "nonpayable",
759
+ "type": "function"
760
+ },
761
+ {
762
+ "inputs": [
763
+ {
764
+ "internalType": "NftId",
765
+ "name": "policyNftId",
766
+ "type": "uint96"
767
+ },
768
+ {
769
+ "internalType": "ClaimId",
770
+ "name": "claimId",
771
+ "type": "uint16"
772
+ },
773
+ {
774
+ "components": [
775
+ {
776
+ "internalType": "Amount",
777
+ "name": "claimAmount",
778
+ "type": "uint96"
779
+ },
780
+ {
781
+ "internalType": "Amount",
782
+ "name": "paidAmount",
783
+ "type": "uint96"
784
+ },
785
+ {
786
+ "internalType": "Timestamp",
787
+ "name": "closedAt",
788
+ "type": "uint40"
789
+ },
790
+ {
791
+ "internalType": "uint24",
792
+ "name": "payoutsCount",
793
+ "type": "uint24"
794
+ },
795
+ {
796
+ "internalType": "uint24",
797
+ "name": "openPayoutsCount",
798
+ "type": "uint24"
799
+ },
800
+ {
801
+ "internalType": "bytes",
802
+ "name": "submissionData",
803
+ "type": "bytes"
804
+ },
805
+ {
806
+ "internalType": "bytes",
807
+ "name": "processData",
808
+ "type": "bytes"
809
+ }
810
+ ],
811
+ "internalType": "struct IPolicy.ClaimInfo",
812
+ "name": "claim",
813
+ "type": "tuple"
814
+ }
815
+ ],
816
+ "name": "createClaim",
817
+ "outputs": [],
818
+ "stateMutability": "nonpayable",
819
+ "type": "function"
820
+ },
821
+ {
822
+ "inputs": [
823
+ {
824
+ "internalType": "NftId",
825
+ "name": "componentNftId",
826
+ "type": "uint96"
827
+ },
828
+ {
829
+ "components": [
830
+ {
831
+ "internalType": "string",
832
+ "name": "name",
833
+ "type": "string"
834
+ },
835
+ {
836
+ "internalType": "contract TokenHandler",
837
+ "name": "tokenHandler",
838
+ "type": "address"
839
+ },
840
+ {
841
+ "internalType": "bytes",
842
+ "name": "data",
843
+ "type": "bytes"
844
+ }
845
+ ],
846
+ "internalType": "struct IComponents.ComponentInfo",
847
+ "name": "componentInfo",
848
+ "type": "tuple"
849
+ }
850
+ ],
851
+ "name": "createComponent",
852
+ "outputs": [],
853
+ "stateMutability": "nonpayable",
854
+ "type": "function"
855
+ },
856
+ {
857
+ "inputs": [
858
+ {
859
+ "internalType": "NftId",
860
+ "name": "distributorNftId",
861
+ "type": "uint96"
862
+ },
863
+ {
864
+ "components": [
865
+ {
866
+ "internalType": "DistributorType",
867
+ "name": "distributorType",
868
+ "type": "bytes8"
869
+ },
870
+ {
871
+ "internalType": "bool",
872
+ "name": "active",
873
+ "type": "bool"
874
+ },
875
+ {
876
+ "internalType": "uint32",
877
+ "name": "numPoliciesSold",
878
+ "type": "uint32"
879
+ },
880
+ {
881
+ "internalType": "bytes",
882
+ "name": "data",
883
+ "type": "bytes"
884
+ }
885
+ ],
886
+ "internalType": "struct IDistribution.DistributorInfo",
887
+ "name": "info",
888
+ "type": "tuple"
889
+ }
890
+ ],
891
+ "name": "createDistributor",
892
+ "outputs": [],
893
+ "stateMutability": "nonpayable",
894
+ "type": "function"
895
+ },
896
+ {
897
+ "inputs": [
898
+ {
899
+ "internalType": "DistributorType",
900
+ "name": "distributorType",
901
+ "type": "bytes8"
902
+ },
903
+ {
904
+ "components": [
905
+ {
906
+ "internalType": "UFixed",
907
+ "name": "minDiscountPercentage",
908
+ "type": "uint160"
909
+ },
910
+ {
911
+ "internalType": "NftId",
912
+ "name": "distributionNftId",
913
+ "type": "uint96"
914
+ },
915
+ {
916
+ "internalType": "UFixed",
917
+ "name": "maxDiscountPercentage",
918
+ "type": "uint160"
919
+ },
920
+ {
921
+ "internalType": "uint32",
922
+ "name": "maxReferralCount",
923
+ "type": "uint32"
924
+ },
925
+ {
926
+ "internalType": "Seconds",
927
+ "name": "maxReferralLifetime",
928
+ "type": "uint40"
929
+ },
930
+ {
931
+ "internalType": "bool",
932
+ "name": "allowSelfReferrals",
933
+ "type": "bool"
934
+ },
935
+ {
936
+ "internalType": "bool",
937
+ "name": "allowRenewals",
938
+ "type": "bool"
939
+ },
940
+ {
941
+ "internalType": "UFixed",
942
+ "name": "commissionPercentage",
943
+ "type": "uint160"
944
+ },
945
+ {
946
+ "internalType": "string",
947
+ "name": "name",
948
+ "type": "string"
949
+ },
950
+ {
951
+ "internalType": "bytes",
952
+ "name": "data",
953
+ "type": "bytes"
954
+ }
955
+ ],
956
+ "internalType": "struct IDistribution.DistributorTypeInfo",
957
+ "name": "info",
958
+ "type": "tuple"
959
+ }
960
+ ],
961
+ "name": "createDistributorType",
962
+ "outputs": [],
963
+ "stateMutability": "nonpayable",
964
+ "type": "function"
965
+ },
966
+ {
967
+ "inputs": [
968
+ {
969
+ "internalType": "NftId",
970
+ "name": "productNftId",
971
+ "type": "uint96"
972
+ },
973
+ {
974
+ "components": [
975
+ {
976
+ "components": [
977
+ {
978
+ "internalType": "UFixed",
979
+ "name": "fractionalFee",
980
+ "type": "uint160"
981
+ },
982
+ {
983
+ "internalType": "Amount",
984
+ "name": "fixedFee",
985
+ "type": "uint96"
986
+ }
987
+ ],
988
+ "internalType": "struct Fee",
989
+ "name": "productFee",
990
+ "type": "tuple"
991
+ },
992
+ {
993
+ "components": [
994
+ {
995
+ "internalType": "UFixed",
996
+ "name": "fractionalFee",
997
+ "type": "uint160"
998
+ },
999
+ {
1000
+ "internalType": "Amount",
1001
+ "name": "fixedFee",
1002
+ "type": "uint96"
1003
+ }
1004
+ ],
1005
+ "internalType": "struct Fee",
1006
+ "name": "processingFee",
1007
+ "type": "tuple"
1008
+ },
1009
+ {
1010
+ "components": [
1011
+ {
1012
+ "internalType": "UFixed",
1013
+ "name": "fractionalFee",
1014
+ "type": "uint160"
1015
+ },
1016
+ {
1017
+ "internalType": "Amount",
1018
+ "name": "fixedFee",
1019
+ "type": "uint96"
1020
+ }
1021
+ ],
1022
+ "internalType": "struct Fee",
1023
+ "name": "distributionFee",
1024
+ "type": "tuple"
1025
+ },
1026
+ {
1027
+ "components": [
1028
+ {
1029
+ "internalType": "UFixed",
1030
+ "name": "fractionalFee",
1031
+ "type": "uint160"
1032
+ },
1033
+ {
1034
+ "internalType": "Amount",
1035
+ "name": "fixedFee",
1036
+ "type": "uint96"
1037
+ }
1038
+ ],
1039
+ "internalType": "struct Fee",
1040
+ "name": "minDistributionOwnerFee",
1041
+ "type": "tuple"
1042
+ },
1043
+ {
1044
+ "components": [
1045
+ {
1046
+ "internalType": "UFixed",
1047
+ "name": "fractionalFee",
1048
+ "type": "uint160"
1049
+ },
1050
+ {
1051
+ "internalType": "Amount",
1052
+ "name": "fixedFee",
1053
+ "type": "uint96"
1054
+ }
1055
+ ],
1056
+ "internalType": "struct Fee",
1057
+ "name": "poolFee",
1058
+ "type": "tuple"
1059
+ },
1060
+ {
1061
+ "components": [
1062
+ {
1063
+ "internalType": "UFixed",
1064
+ "name": "fractionalFee",
1065
+ "type": "uint160"
1066
+ },
1067
+ {
1068
+ "internalType": "Amount",
1069
+ "name": "fixedFee",
1070
+ "type": "uint96"
1071
+ }
1072
+ ],
1073
+ "internalType": "struct Fee",
1074
+ "name": "stakingFee",
1075
+ "type": "tuple"
1076
+ },
1077
+ {
1078
+ "components": [
1079
+ {
1080
+ "internalType": "UFixed",
1081
+ "name": "fractionalFee",
1082
+ "type": "uint160"
1083
+ },
1084
+ {
1085
+ "internalType": "Amount",
1086
+ "name": "fixedFee",
1087
+ "type": "uint96"
1088
+ }
1089
+ ],
1090
+ "internalType": "struct Fee",
1091
+ "name": "performanceFee",
1092
+ "type": "tuple"
1093
+ }
1094
+ ],
1095
+ "internalType": "struct IComponents.FeeInfo",
1096
+ "name": "info",
1097
+ "type": "tuple"
1098
+ }
1099
+ ],
1100
+ "name": "createFee",
1101
+ "outputs": [],
1102
+ "stateMutability": "nonpayable",
1103
+ "type": "function"
1104
+ },
1105
+ {
1106
+ "inputs": [
1107
+ {
1108
+ "internalType": "NftId",
1109
+ "name": "policyNftId",
1110
+ "type": "uint96"
1111
+ },
1112
+ {
1113
+ "internalType": "PayoutId",
1114
+ "name": "payoutId",
1115
+ "type": "uint40"
1116
+ },
1117
+ {
1118
+ "components": [
1119
+ {
1120
+ "internalType": "ClaimId",
1121
+ "name": "claimId",
1122
+ "type": "uint16"
1123
+ },
1124
+ {
1125
+ "internalType": "Amount",
1126
+ "name": "amount",
1127
+ "type": "uint96"
1128
+ },
1129
+ {
1130
+ "internalType": "Timestamp",
1131
+ "name": "paidAt",
1132
+ "type": "uint40"
1133
+ },
1134
+ {
1135
+ "internalType": "address",
1136
+ "name": "beneficiary",
1137
+ "type": "address"
1138
+ },
1139
+ {
1140
+ "internalType": "bytes",
1141
+ "name": "data",
1142
+ "type": "bytes"
1143
+ }
1144
+ ],
1145
+ "internalType": "struct IPolicy.PayoutInfo",
1146
+ "name": "payout",
1147
+ "type": "tuple"
1148
+ }
1149
+ ],
1150
+ "name": "createPayout",
1151
+ "outputs": [],
1152
+ "stateMutability": "nonpayable",
1153
+ "type": "function"
1154
+ },
1155
+ {
1156
+ "inputs": [
1157
+ {
1158
+ "internalType": "NftId",
1159
+ "name": "poolNftId",
1160
+ "type": "uint96"
1161
+ },
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
+ "name": "createPool",
1206
+ "outputs": [],
1207
+ "stateMutability": "nonpayable",
1208
+ "type": "function"
1209
+ },
1210
+ {
1211
+ "inputs": [
1212
+ {
1213
+ "internalType": "NftId",
1214
+ "name": "policyNftId",
1215
+ "type": "uint96"
1216
+ },
1217
+ {
1218
+ "components": [
1219
+ {
1220
+ "internalType": "Amount",
1221
+ "name": "productFeeAmount",
1222
+ "type": "uint96"
1223
+ },
1224
+ {
1225
+ "internalType": "Amount",
1226
+ "name": "distributionFeeAndCommissionAmount",
1227
+ "type": "uint96"
1228
+ },
1229
+ {
1230
+ "internalType": "Amount",
1231
+ "name": "poolPremiumAndFeeAmount",
1232
+ "type": "uint96"
1233
+ },
1234
+ {
1235
+ "internalType": "Amount",
1236
+ "name": "netPremiumAmount",
1237
+ "type": "uint96"
1238
+ },
1239
+ {
1240
+ "internalType": "Amount",
1241
+ "name": "fullPremiumAmount",
1242
+ "type": "uint96"
1243
+ },
1244
+ {
1245
+ "internalType": "Amount",
1246
+ "name": "premiumAmount",
1247
+ "type": "uint96"
1248
+ },
1249
+ {
1250
+ "internalType": "Amount",
1251
+ "name": "productFeeFixAmount",
1252
+ "type": "uint96"
1253
+ },
1254
+ {
1255
+ "internalType": "Amount",
1256
+ "name": "poolFeeFixAmount",
1257
+ "type": "uint96"
1258
+ },
1259
+ {
1260
+ "internalType": "Amount",
1261
+ "name": "bundleFeeFixAmount",
1262
+ "type": "uint96"
1263
+ },
1264
+ {
1265
+ "internalType": "Amount",
1266
+ "name": "distributionFeeFixAmount",
1267
+ "type": "uint96"
1268
+ },
1269
+ {
1270
+ "internalType": "Amount",
1271
+ "name": "productFeeVarAmount",
1272
+ "type": "uint96"
1273
+ },
1274
+ {
1275
+ "internalType": "Amount",
1276
+ "name": "poolFeeVarAmount",
1277
+ "type": "uint96"
1278
+ },
1279
+ {
1280
+ "internalType": "Amount",
1281
+ "name": "bundleFeeVarAmount",
1282
+ "type": "uint96"
1283
+ },
1284
+ {
1285
+ "internalType": "Amount",
1286
+ "name": "distributionFeeVarAmount",
1287
+ "type": "uint96"
1288
+ },
1289
+ {
1290
+ "internalType": "Amount",
1291
+ "name": "distributionOwnerFeeFixAmount",
1292
+ "type": "uint96"
1293
+ },
1294
+ {
1295
+ "internalType": "Amount",
1296
+ "name": "distributionOwnerFeeVarAmount",
1297
+ "type": "uint96"
1298
+ },
1299
+ {
1300
+ "internalType": "Amount",
1301
+ "name": "commissionAmount",
1302
+ "type": "uint96"
1303
+ },
1304
+ {
1305
+ "internalType": "Amount",
1306
+ "name": "discountAmount",
1307
+ "type": "uint96"
1308
+ }
1309
+ ],
1310
+ "internalType": "struct IPolicy.PremiumInfo",
1311
+ "name": "premium",
1312
+ "type": "tuple"
1313
+ }
1314
+ ],
1315
+ "name": "createPremium",
1316
+ "outputs": [],
1317
+ "stateMutability": "nonpayable",
1318
+ "type": "function"
1319
+ },
1320
+ {
1321
+ "inputs": [
1322
+ {
1323
+ "internalType": "NftId",
1324
+ "name": "productNftId",
1325
+ "type": "uint96"
1326
+ },
1327
+ {
1328
+ "components": [
1329
+ {
1330
+ "internalType": "bool",
1331
+ "name": "isProcessingFundedClaims",
1332
+ "type": "bool"
1333
+ },
1334
+ {
1335
+ "internalType": "bool",
1336
+ "name": "isInterceptingPolicyTransfers",
1337
+ "type": "bool"
1338
+ },
1339
+ {
1340
+ "internalType": "bool",
1341
+ "name": "hasDistribution",
1342
+ "type": "bool"
1343
+ },
1344
+ {
1345
+ "internalType": "uint8",
1346
+ "name": "expectedNumberOfOracles",
1347
+ "type": "uint8"
1348
+ },
1349
+ {
1350
+ "internalType": "uint8",
1351
+ "name": "numberOfOracles",
1352
+ "type": "uint8"
1353
+ },
1354
+ {
1355
+ "internalType": "NftId",
1356
+ "name": "poolNftId",
1357
+ "type": "uint96"
1358
+ },
1359
+ {
1360
+ "internalType": "NftId",
1361
+ "name": "distributionNftId",
1362
+ "type": "uint96"
1363
+ },
1364
+ {
1365
+ "internalType": "NftId[]",
1366
+ "name": "oracleNftId",
1367
+ "type": "uint96[]"
1368
+ }
1369
+ ],
1370
+ "internalType": "struct IComponents.ProductInfo",
1371
+ "name": "info",
1372
+ "type": "tuple"
1373
+ }
1374
+ ],
1375
+ "name": "createProduct",
1376
+ "outputs": [],
1377
+ "stateMutability": "nonpayable",
1378
+ "type": "function"
1379
+ },
1380
+ {
1381
+ "inputs": [
1382
+ {
1383
+ "internalType": "ReferralId",
1384
+ "name": "referralId",
1385
+ "type": "bytes8"
1386
+ },
1387
+ {
1388
+ "components": [
1389
+ {
1390
+ "internalType": "NftId",
1391
+ "name": "distributionNftId",
1392
+ "type": "uint96"
1393
+ },
1394
+ {
1395
+ "internalType": "NftId",
1396
+ "name": "distributorNftId",
1397
+ "type": "uint96"
1398
+ },
1399
+ {
1400
+ "internalType": "uint32",
1401
+ "name": "maxReferrals",
1402
+ "type": "uint32"
1403
+ },
1404
+ {
1405
+ "internalType": "uint32",
1406
+ "name": "usedReferrals",
1407
+ "type": "uint32"
1408
+ },
1409
+ {
1410
+ "internalType": "UFixed",
1411
+ "name": "discountPercentage",
1412
+ "type": "uint160"
1413
+ },
1414
+ {
1415
+ "internalType": "Timestamp",
1416
+ "name": "expiryAt",
1417
+ "type": "uint40"
1418
+ },
1419
+ {
1420
+ "internalType": "string",
1421
+ "name": "referralCode",
1422
+ "type": "string"
1423
+ },
1424
+ {
1425
+ "internalType": "bytes",
1426
+ "name": "data",
1427
+ "type": "bytes"
1428
+ }
1429
+ ],
1430
+ "internalType": "struct IDistribution.ReferralInfo",
1431
+ "name": "referralInfo",
1432
+ "type": "tuple"
1433
+ }
1434
+ ],
1435
+ "name": "createReferral",
1436
+ "outputs": [],
1437
+ "stateMutability": "nonpayable",
1438
+ "type": "function"
1439
+ },
1440
+ {
1441
+ "inputs": [
1442
+ {
1443
+ "components": [
1444
+ {
1445
+ "internalType": "NftId",
1446
+ "name": "requesterNftId",
1447
+ "type": "uint96"
1448
+ },
1449
+ {
1450
+ "internalType": "NftId",
1451
+ "name": "oracleNftId",
1452
+ "type": "uint96"
1453
+ },
1454
+ {
1455
+ "internalType": "bool",
1456
+ "name": "isCancelled",
1457
+ "type": "bool"
1458
+ },
1459
+ {
1460
+ "internalType": "Timestamp",
1461
+ "name": "respondedAt",
1462
+ "type": "uint40"
1463
+ },
1464
+ {
1465
+ "internalType": "Timestamp",
1466
+ "name": "expiredAt",
1467
+ "type": "uint40"
1468
+ },
1469
+ {
1470
+ "internalType": "string",
1471
+ "name": "callbackMethodName",
1472
+ "type": "string"
1473
+ },
1474
+ {
1475
+ "internalType": "bytes",
1476
+ "name": "requestData",
1477
+ "type": "bytes"
1478
+ },
1479
+ {
1480
+ "internalType": "bytes",
1481
+ "name": "responseData",
1482
+ "type": "bytes"
1483
+ }
1484
+ ],
1485
+ "internalType": "struct IOracle.RequestInfo",
1486
+ "name": "request",
1487
+ "type": "tuple"
1488
+ }
1489
+ ],
1490
+ "name": "createRequest",
1491
+ "outputs": [
1492
+ {
1493
+ "internalType": "RequestId",
1494
+ "name": "requestId",
1495
+ "type": "uint64"
1496
+ }
1497
+ ],
1498
+ "stateMutability": "nonpayable",
1499
+ "type": "function"
1500
+ },
1501
+ {
1502
+ "inputs": [
1503
+ {
1504
+ "internalType": "RiskId",
1505
+ "name": "riskId",
1506
+ "type": "bytes8"
1507
+ },
1508
+ {
1509
+ "components": [
1510
+ {
1511
+ "internalType": "NftId",
1512
+ "name": "productNftId",
1513
+ "type": "uint96"
1514
+ },
1515
+ {
1516
+ "internalType": "Timestamp",
1517
+ "name": "createdAt",
1518
+ "type": "uint40"
1519
+ },
1520
+ {
1521
+ "internalType": "bytes",
1522
+ "name": "data",
1523
+ "type": "bytes"
1524
+ }
1525
+ ],
1526
+ "internalType": "struct IRisk.RiskInfo",
1527
+ "name": "risk",
1528
+ "type": "tuple"
1529
+ }
1530
+ ],
1531
+ "name": "createRisk",
1532
+ "outputs": [],
1533
+ "stateMutability": "nonpayable",
1534
+ "type": "function"
1535
+ },
1536
+ {
1537
+ "inputs": [
1538
+ {
1539
+ "internalType": "NftId",
1540
+ "name": "targetNftId",
1541
+ "type": "uint96"
1542
+ },
1543
+ {
1544
+ "internalType": "Amount",
1545
+ "name": "amount",
1546
+ "type": "uint96"
1547
+ }
1548
+ ],
1549
+ "name": "decreaseBalance",
1550
+ "outputs": [
1551
+ {
1552
+ "internalType": "Amount",
1553
+ "name": "newBalance",
1554
+ "type": "uint96"
1555
+ }
1556
+ ],
1557
+ "stateMutability": "nonpayable",
1558
+ "type": "function"
1559
+ },
1560
+ {
1561
+ "inputs": [
1562
+ {
1563
+ "internalType": "NftId",
1564
+ "name": "targetNftId",
1565
+ "type": "uint96"
1566
+ },
1567
+ {
1568
+ "internalType": "Amount",
1569
+ "name": "amount",
1570
+ "type": "uint96"
1571
+ }
1572
+ ],
1573
+ "name": "decreaseFees",
1574
+ "outputs": [
1575
+ {
1576
+ "internalType": "Amount",
1577
+ "name": "newFeeBalance",
1578
+ "type": "uint96"
1579
+ }
1580
+ ],
1581
+ "stateMutability": "nonpayable",
1582
+ "type": "function"
1583
+ },
1584
+ {
1585
+ "inputs": [
1586
+ {
1587
+ "internalType": "NftId",
1588
+ "name": "targetNftId",
1589
+ "type": "uint96"
1590
+ },
1591
+ {
1592
+ "internalType": "Amount",
1593
+ "name": "amount",
1594
+ "type": "uint96"
1595
+ }
1596
+ ],
1597
+ "name": "decreaseLocked",
1598
+ "outputs": [
1599
+ {
1600
+ "internalType": "Amount",
1601
+ "name": "newBalance",
1602
+ "type": "uint96"
1603
+ }
1604
+ ],
1605
+ "stateMutability": "nonpayable",
1606
+ "type": "function"
1607
+ },
1608
+ {
1609
+ "inputs": [
1610
+ {
1611
+ "internalType": "Key32",
1612
+ "name": "key32",
1613
+ "type": "bytes32"
1614
+ }
1615
+ ],
1616
+ "name": "exists",
1617
+ "outputs": [
1618
+ {
1619
+ "internalType": "bool",
1620
+ "name": "",
1621
+ "type": "bool"
1622
+ }
1623
+ ],
1624
+ "stateMutability": "view",
1625
+ "type": "function"
1626
+ },
1627
+ {
1628
+ "inputs": [
1629
+ {
1630
+ "internalType": "Key32",
1631
+ "name": "key32",
1632
+ "type": "bytes32"
1633
+ }
1634
+ ],
1635
+ "name": "get",
1636
+ "outputs": [
1637
+ {
1638
+ "components": [
1639
+ {
1640
+ "components": [
1641
+ {
1642
+ "internalType": "ObjectType",
1643
+ "name": "objectType",
1644
+ "type": "uint8"
1645
+ },
1646
+ {
1647
+ "internalType": "StateId",
1648
+ "name": "state",
1649
+ "type": "uint8"
1650
+ },
1651
+ {
1652
+ "internalType": "Blocknumber",
1653
+ "name": "updatedIn",
1654
+ "type": "uint40"
1655
+ },
1656
+ {
1657
+ "internalType": "Blocknumber",
1658
+ "name": "createdIn",
1659
+ "type": "uint40"
1660
+ }
1661
+ ],
1662
+ "internalType": "struct IKeyValueStore.Metadata",
1663
+ "name": "metadata",
1664
+ "type": "tuple"
1665
+ },
1666
+ {
1667
+ "internalType": "bytes",
1668
+ "name": "data",
1669
+ "type": "bytes"
1670
+ }
1671
+ ],
1672
+ "internalType": "struct IKeyValueStore.Value",
1673
+ "name": "value",
1674
+ "type": "tuple"
1675
+ }
1676
+ ],
1677
+ "stateMutability": "view",
1678
+ "type": "function"
1679
+ },
1680
+ {
1681
+ "inputs": [
1682
+ {
1683
+ "internalType": "NftId",
1684
+ "name": "targetNftId",
1685
+ "type": "uint96"
1686
+ }
1687
+ ],
1688
+ "name": "getAmounts",
1689
+ "outputs": [
1690
+ {
1691
+ "internalType": "Amount",
1692
+ "name": "balanceAmount",
1693
+ "type": "uint96"
1694
+ },
1695
+ {
1696
+ "internalType": "Amount",
1697
+ "name": "lockedAmount",
1698
+ "type": "uint96"
1699
+ },
1700
+ {
1701
+ "internalType": "Amount",
1702
+ "name": "feeAmount",
1703
+ "type": "uint96"
1704
+ }
1705
+ ],
1706
+ "stateMutability": "view",
1707
+ "type": "function"
1708
+ },
1709
+ {
1710
+ "inputs": [
1711
+ {
1712
+ "internalType": "NftId",
1713
+ "name": "targetNftId",
1714
+ "type": "uint96"
1715
+ }
1716
+ ],
1717
+ "name": "getBalanceAmount",
1718
+ "outputs": [
1719
+ {
1720
+ "internalType": "Amount",
1721
+ "name": "balanceAmount",
1722
+ "type": "uint96"
1723
+ }
1724
+ ],
1725
+ "stateMutability": "view",
1726
+ "type": "function"
1727
+ },
1728
+ {
1729
+ "inputs": [
1730
+ {
1731
+ "internalType": "Key32",
1732
+ "name": "key32",
1733
+ "type": "bytes32"
1734
+ }
1735
+ ],
1736
+ "name": "getData",
1737
+ "outputs": [
1738
+ {
1739
+ "internalType": "bytes",
1740
+ "name": "data",
1741
+ "type": "bytes"
1742
+ }
1743
+ ],
1744
+ "stateMutability": "view",
1745
+ "type": "function"
1746
+ },
1747
+ {
1748
+ "inputs": [
1749
+ {
1750
+ "internalType": "NftId",
1751
+ "name": "targetNftId",
1752
+ "type": "uint96"
1753
+ }
1754
+ ],
1755
+ "name": "getFeeAmount",
1756
+ "outputs": [
1757
+ {
1758
+ "internalType": "Amount",
1759
+ "name": "feeAmount",
1760
+ "type": "uint96"
1761
+ }
1762
+ ],
1763
+ "stateMutability": "view",
1764
+ "type": "function"
1765
+ },
1766
+ {
1767
+ "inputs": [
1768
+ {
1769
+ "internalType": "ObjectType",
1770
+ "name": "objectType",
1771
+ "type": "uint8"
1772
+ }
1773
+ ],
1774
+ "name": "getInitialState",
1775
+ "outputs": [
1776
+ {
1777
+ "internalType": "StateId",
1778
+ "name": "",
1779
+ "type": "uint8"
1780
+ }
1781
+ ],
1782
+ "stateMutability": "view",
1783
+ "type": "function"
1784
+ },
1785
+ {
1786
+ "inputs": [
1787
+ {
1788
+ "internalType": "NftId",
1789
+ "name": "targetNftId",
1790
+ "type": "uint96"
1791
+ }
1792
+ ],
1793
+ "name": "getLockedAmount",
1794
+ "outputs": [
1795
+ {
1796
+ "internalType": "Amount",
1797
+ "name": "lockedAmount",
1798
+ "type": "uint96"
1799
+ }
1800
+ ],
1801
+ "stateMutability": "view",
1802
+ "type": "function"
1803
+ },
1804
+ {
1805
+ "inputs": [
1806
+ {
1807
+ "internalType": "Key32",
1808
+ "name": "key32",
1809
+ "type": "bytes32"
1810
+ }
1811
+ ],
1812
+ "name": "getMetadata",
1813
+ "outputs": [
1814
+ {
1815
+ "components": [
1816
+ {
1817
+ "internalType": "ObjectType",
1818
+ "name": "objectType",
1819
+ "type": "uint8"
1820
+ },
1821
+ {
1822
+ "internalType": "StateId",
1823
+ "name": "state",
1824
+ "type": "uint8"
1825
+ },
1826
+ {
1827
+ "internalType": "Blocknumber",
1828
+ "name": "updatedIn",
1829
+ "type": "uint40"
1830
+ },
1831
+ {
1832
+ "internalType": "Blocknumber",
1833
+ "name": "createdIn",
1834
+ "type": "uint40"
1835
+ }
1836
+ ],
1837
+ "internalType": "struct IKeyValueStore.Metadata",
1838
+ "name": "metadata",
1839
+ "type": "tuple"
1840
+ }
1841
+ ],
1842
+ "stateMutability": "view",
1843
+ "type": "function"
1844
+ },
1845
+ {
1846
+ "inputs": [
1847
+ {
1848
+ "internalType": "Key32",
1849
+ "name": "key32",
1850
+ "type": "bytes32"
1851
+ }
1852
+ ],
1853
+ "name": "getState",
1854
+ "outputs": [
1855
+ {
1856
+ "internalType": "StateId",
1857
+ "name": "state",
1858
+ "type": "uint8"
1859
+ }
1860
+ ],
1861
+ "stateMutability": "view",
1862
+ "type": "function"
1863
+ },
1864
+ {
1865
+ "inputs": [
1866
+ {
1867
+ "internalType": "ObjectType",
1868
+ "name": "objectType",
1869
+ "type": "uint8"
1870
+ }
1871
+ ],
1872
+ "name": "hasLifecycle",
1873
+ "outputs": [
1874
+ {
1875
+ "internalType": "bool",
1876
+ "name": "",
1877
+ "type": "bool"
1878
+ }
1879
+ ],
1880
+ "stateMutability": "view",
1881
+ "type": "function"
1882
+ },
1883
+ {
1884
+ "inputs": [
1885
+ {
1886
+ "internalType": "NftId",
1887
+ "name": "targetNftId",
1888
+ "type": "uint96"
1889
+ },
1890
+ {
1891
+ "internalType": "Amount",
1892
+ "name": "amount",
1893
+ "type": "uint96"
1894
+ }
1895
+ ],
1896
+ "name": "increaseBalance",
1897
+ "outputs": [
1898
+ {
1899
+ "internalType": "Amount",
1900
+ "name": "newBalance",
1901
+ "type": "uint96"
1902
+ }
1903
+ ],
1904
+ "stateMutability": "nonpayable",
1905
+ "type": "function"
1906
+ },
1907
+ {
1908
+ "inputs": [
1909
+ {
1910
+ "internalType": "NftId",
1911
+ "name": "targetNftId",
1912
+ "type": "uint96"
1913
+ },
1914
+ {
1915
+ "internalType": "Amount",
1916
+ "name": "amount",
1917
+ "type": "uint96"
1918
+ }
1919
+ ],
1920
+ "name": "increaseFees",
1921
+ "outputs": [
1922
+ {
1923
+ "internalType": "Amount",
1924
+ "name": "newFeeBalance",
1925
+ "type": "uint96"
1926
+ }
1927
+ ],
1928
+ "stateMutability": "nonpayable",
1929
+ "type": "function"
1930
+ },
1931
+ {
1932
+ "inputs": [
1933
+ {
1934
+ "internalType": "NftId",
1935
+ "name": "targetNftId",
1936
+ "type": "uint96"
1937
+ },
1938
+ {
1939
+ "internalType": "Amount",
1940
+ "name": "amount",
1941
+ "type": "uint96"
1942
+ }
1943
+ ],
1944
+ "name": "increaseLocked",
1945
+ "outputs": [
1946
+ {
1947
+ "internalType": "Amount",
1948
+ "name": "newBalance",
1949
+ "type": "uint96"
1950
+ }
1951
+ ],
1952
+ "stateMutability": "nonpayable",
1953
+ "type": "function"
1954
+ },
1955
+ {
1956
+ "inputs": [],
1957
+ "name": "initialize",
1958
+ "outputs": [],
1959
+ "stateMutability": "nonpayable",
1960
+ "type": "function"
1961
+ },
1962
+ {
1963
+ "inputs": [],
1964
+ "name": "isConsumingScheduledOp",
1965
+ "outputs": [
1966
+ {
1967
+ "internalType": "bytes4",
1968
+ "name": "",
1969
+ "type": "bytes4"
1970
+ }
1971
+ ],
1972
+ "stateMutability": "view",
1973
+ "type": "function"
1974
+ },
1975
+ {
1976
+ "inputs": [
1977
+ {
1978
+ "internalType": "ObjectType",
1979
+ "name": "objectType",
1980
+ "type": "uint8"
1981
+ },
1982
+ {
1983
+ "internalType": "StateId",
1984
+ "name": "fromId",
1985
+ "type": "uint8"
1986
+ },
1987
+ {
1988
+ "internalType": "StateId",
1989
+ "name": "toId",
1990
+ "type": "uint8"
1991
+ }
1992
+ ],
1993
+ "name": "isValidTransition",
1994
+ "outputs": [
1995
+ {
1996
+ "internalType": "bool",
1997
+ "name": "",
1998
+ "type": "bool"
1999
+ }
2000
+ ],
2001
+ "stateMutability": "view",
2002
+ "type": "function"
2003
+ },
2004
+ {
2005
+ "inputs": [
2006
+ {
2007
+ "internalType": "address",
2008
+ "name": "newAuthority",
2009
+ "type": "address"
2010
+ }
2011
+ ],
2012
+ "name": "setAuthority",
2013
+ "outputs": [],
2014
+ "stateMutability": "nonpayable",
2015
+ "type": "function"
2016
+ },
2017
+ {
2018
+ "inputs": [
2019
+ {
2020
+ "internalType": "ObjectType",
2021
+ "name": "objectType",
2022
+ "type": "uint8"
2023
+ },
2024
+ {
2025
+ "internalType": "KeyId",
2026
+ "name": "id",
2027
+ "type": "bytes31"
2028
+ }
2029
+ ],
2030
+ "name": "toKey32",
2031
+ "outputs": [
2032
+ {
2033
+ "internalType": "Key32",
2034
+ "name": "",
2035
+ "type": "bytes32"
2036
+ }
2037
+ ],
2038
+ "stateMutability": "pure",
2039
+ "type": "function"
2040
+ },
2041
+ {
2042
+ "inputs": [
2043
+ {
2044
+ "internalType": "NftId",
2045
+ "name": "applicationNftId",
2046
+ "type": "uint96"
2047
+ },
2048
+ {
2049
+ "components": [
2050
+ {
2051
+ "internalType": "NftId",
2052
+ "name": "productNftId",
2053
+ "type": "uint96"
2054
+ },
2055
+ {
2056
+ "internalType": "NftId",
2057
+ "name": "bundleNftId",
2058
+ "type": "uint96"
2059
+ },
2060
+ {
2061
+ "internalType": "RiskId",
2062
+ "name": "riskId",
2063
+ "type": "bytes8"
2064
+ },
2065
+ {
2066
+ "internalType": "Amount",
2067
+ "name": "sumInsuredAmount",
2068
+ "type": "uint96"
2069
+ },
2070
+ {
2071
+ "internalType": "Amount",
2072
+ "name": "premiumAmount",
2073
+ "type": "uint96"
2074
+ },
2075
+ {
2076
+ "internalType": "ReferralId",
2077
+ "name": "referralId",
2078
+ "type": "bytes8"
2079
+ },
2080
+ {
2081
+ "internalType": "uint16",
2082
+ "name": "claimsCount",
2083
+ "type": "uint16"
2084
+ },
2085
+ {
2086
+ "internalType": "uint16",
2087
+ "name": "openClaimsCount",
2088
+ "type": "uint16"
2089
+ },
2090
+ {
2091
+ "internalType": "Amount",
2092
+ "name": "claimAmount",
2093
+ "type": "uint96"
2094
+ },
2095
+ {
2096
+ "internalType": "Amount",
2097
+ "name": "payoutAmount",
2098
+ "type": "uint96"
2099
+ },
2100
+ {
2101
+ "internalType": "Timestamp",
2102
+ "name": "activatedAt",
2103
+ "type": "uint40"
2104
+ },
2105
+ {
2106
+ "internalType": "Seconds",
2107
+ "name": "lifetime",
2108
+ "type": "uint40"
2109
+ },
2110
+ {
2111
+ "internalType": "Timestamp",
2112
+ "name": "expiredAt",
2113
+ "type": "uint40"
2114
+ },
2115
+ {
2116
+ "internalType": "Timestamp",
2117
+ "name": "closedAt",
2118
+ "type": "uint40"
2119
+ },
2120
+ {
2121
+ "internalType": "bytes",
2122
+ "name": "applicationData",
2123
+ "type": "bytes"
2124
+ },
2125
+ {
2126
+ "internalType": "bytes",
2127
+ "name": "processData",
2128
+ "type": "bytes"
2129
+ }
2130
+ ],
2131
+ "internalType": "struct IPolicy.PolicyInfo",
2132
+ "name": "policy",
2133
+ "type": "tuple"
2134
+ },
2135
+ {
2136
+ "internalType": "StateId",
2137
+ "name": "newState",
2138
+ "type": "uint8"
2139
+ }
2140
+ ],
2141
+ "name": "updateApplication",
2142
+ "outputs": [],
2143
+ "stateMutability": "nonpayable",
2144
+ "type": "function"
2145
+ },
2146
+ {
2147
+ "inputs": [
2148
+ {
2149
+ "internalType": "NftId",
2150
+ "name": "applicationNftId",
2151
+ "type": "uint96"
2152
+ },
2153
+ {
2154
+ "internalType": "StateId",
2155
+ "name": "newState",
2156
+ "type": "uint8"
2157
+ }
2158
+ ],
2159
+ "name": "updateApplicationState",
2160
+ "outputs": [],
2161
+ "stateMutability": "nonpayable",
2162
+ "type": "function"
2163
+ },
2164
+ {
2165
+ "inputs": [
2166
+ {
2167
+ "internalType": "NftId",
2168
+ "name": "bundleNftId",
2169
+ "type": "uint96"
2170
+ },
2171
+ {
2172
+ "components": [
2173
+ {
2174
+ "internalType": "Timestamp",
2175
+ "name": "activatedAt",
2176
+ "type": "uint40"
2177
+ },
2178
+ {
2179
+ "internalType": "Timestamp",
2180
+ "name": "expiredAt",
2181
+ "type": "uint40"
2182
+ },
2183
+ {
2184
+ "internalType": "Timestamp",
2185
+ "name": "closedAt",
2186
+ "type": "uint40"
2187
+ },
2188
+ {
2189
+ "internalType": "NftId",
2190
+ "name": "poolNftId",
2191
+ "type": "uint96"
2192
+ },
2193
+ {
2194
+ "components": [
2195
+ {
2196
+ "internalType": "UFixed",
2197
+ "name": "fractionalFee",
2198
+ "type": "uint160"
2199
+ },
2200
+ {
2201
+ "internalType": "Amount",
2202
+ "name": "fixedFee",
2203
+ "type": "uint96"
2204
+ }
2205
+ ],
2206
+ "internalType": "struct Fee",
2207
+ "name": "fee",
2208
+ "type": "tuple"
2209
+ },
2210
+ {
2211
+ "internalType": "bytes",
2212
+ "name": "filter",
2213
+ "type": "bytes"
2214
+ }
2215
+ ],
2216
+ "internalType": "struct IBundle.BundleInfo",
2217
+ "name": "bundle",
2218
+ "type": "tuple"
2219
+ },
2220
+ {
2221
+ "internalType": "StateId",
2222
+ "name": "newState",
2223
+ "type": "uint8"
2224
+ }
2225
+ ],
2226
+ "name": "updateBundle",
2227
+ "outputs": [],
2228
+ "stateMutability": "nonpayable",
2229
+ "type": "function"
2230
+ },
2231
+ {
2232
+ "inputs": [
2233
+ {
2234
+ "internalType": "NftId",
2235
+ "name": "bundleNftId",
2236
+ "type": "uint96"
2237
+ },
2238
+ {
2239
+ "internalType": "StateId",
2240
+ "name": "newState",
2241
+ "type": "uint8"
2242
+ }
2243
+ ],
2244
+ "name": "updateBundleState",
2245
+ "outputs": [],
2246
+ "stateMutability": "nonpayable",
2247
+ "type": "function"
2248
+ },
2249
+ {
2250
+ "inputs": [
2251
+ {
2252
+ "internalType": "NftId",
2253
+ "name": "policyNftId",
2254
+ "type": "uint96"
2255
+ },
2256
+ {
2257
+ "internalType": "ClaimId",
2258
+ "name": "claimId",
2259
+ "type": "uint16"
2260
+ },
2261
+ {
2262
+ "components": [
2263
+ {
2264
+ "internalType": "Amount",
2265
+ "name": "claimAmount",
2266
+ "type": "uint96"
2267
+ },
2268
+ {
2269
+ "internalType": "Amount",
2270
+ "name": "paidAmount",
2271
+ "type": "uint96"
2272
+ },
2273
+ {
2274
+ "internalType": "Timestamp",
2275
+ "name": "closedAt",
2276
+ "type": "uint40"
2277
+ },
2278
+ {
2279
+ "internalType": "uint24",
2280
+ "name": "payoutsCount",
2281
+ "type": "uint24"
2282
+ },
2283
+ {
2284
+ "internalType": "uint24",
2285
+ "name": "openPayoutsCount",
2286
+ "type": "uint24"
2287
+ },
2288
+ {
2289
+ "internalType": "bytes",
2290
+ "name": "submissionData",
2291
+ "type": "bytes"
2292
+ },
2293
+ {
2294
+ "internalType": "bytes",
2295
+ "name": "processData",
2296
+ "type": "bytes"
2297
+ }
2298
+ ],
2299
+ "internalType": "struct IPolicy.ClaimInfo",
2300
+ "name": "claim",
2301
+ "type": "tuple"
2302
+ },
2303
+ {
2304
+ "internalType": "StateId",
2305
+ "name": "newState",
2306
+ "type": "uint8"
2307
+ }
2308
+ ],
2309
+ "name": "updateClaim",
2310
+ "outputs": [],
2311
+ "stateMutability": "nonpayable",
2312
+ "type": "function"
2313
+ },
2314
+ {
2315
+ "inputs": [
2316
+ {
2317
+ "internalType": "NftId",
2318
+ "name": "policyNftId",
2319
+ "type": "uint96"
2320
+ },
2321
+ {
2322
+ "internalType": "ClaimId",
2323
+ "name": "claimId",
2324
+ "type": "uint16"
2325
+ },
2326
+ {
2327
+ "internalType": "StateId",
2328
+ "name": "newState",
2329
+ "type": "uint8"
2330
+ }
2331
+ ],
2332
+ "name": "updateClaimState",
2333
+ "outputs": [],
2334
+ "stateMutability": "nonpayable",
2335
+ "type": "function"
2336
+ },
2337
+ {
2338
+ "inputs": [
2339
+ {
2340
+ "internalType": "NftId",
2341
+ "name": "componentNftId",
2342
+ "type": "uint96"
2343
+ },
2344
+ {
2345
+ "components": [
2346
+ {
2347
+ "internalType": "string",
2348
+ "name": "name",
2349
+ "type": "string"
2350
+ },
2351
+ {
2352
+ "internalType": "contract TokenHandler",
2353
+ "name": "tokenHandler",
2354
+ "type": "address"
2355
+ },
2356
+ {
2357
+ "internalType": "bytes",
2358
+ "name": "data",
2359
+ "type": "bytes"
2360
+ }
2361
+ ],
2362
+ "internalType": "struct IComponents.ComponentInfo",
2363
+ "name": "componentInfo",
2364
+ "type": "tuple"
2365
+ },
2366
+ {
2367
+ "internalType": "StateId",
2368
+ "name": "newState",
2369
+ "type": "uint8"
2370
+ }
2371
+ ],
2372
+ "name": "updateComponent",
2373
+ "outputs": [],
2374
+ "stateMutability": "nonpayable",
2375
+ "type": "function"
2376
+ },
2377
+ {
2378
+ "inputs": [
2379
+ {
2380
+ "internalType": "NftId",
2381
+ "name": "distributorNftId",
2382
+ "type": "uint96"
2383
+ },
2384
+ {
2385
+ "components": [
2386
+ {
2387
+ "internalType": "DistributorType",
2388
+ "name": "distributorType",
2389
+ "type": "bytes8"
2390
+ },
2391
+ {
2392
+ "internalType": "bool",
2393
+ "name": "active",
2394
+ "type": "bool"
2395
+ },
2396
+ {
2397
+ "internalType": "uint32",
2398
+ "name": "numPoliciesSold",
2399
+ "type": "uint32"
2400
+ },
2401
+ {
2402
+ "internalType": "bytes",
2403
+ "name": "data",
2404
+ "type": "bytes"
2405
+ }
2406
+ ],
2407
+ "internalType": "struct IDistribution.DistributorInfo",
2408
+ "name": "info",
2409
+ "type": "tuple"
2410
+ },
2411
+ {
2412
+ "internalType": "StateId",
2413
+ "name": "newState",
2414
+ "type": "uint8"
2415
+ }
2416
+ ],
2417
+ "name": "updateDistributor",
2418
+ "outputs": [],
2419
+ "stateMutability": "nonpayable",
2420
+ "type": "function"
2421
+ },
2422
+ {
2423
+ "inputs": [
2424
+ {
2425
+ "internalType": "NftId",
2426
+ "name": "distributorNftId",
2427
+ "type": "uint96"
2428
+ },
2429
+ {
2430
+ "internalType": "StateId",
2431
+ "name": "newState",
2432
+ "type": "uint8"
2433
+ }
2434
+ ],
2435
+ "name": "updateDistributorState",
2436
+ "outputs": [],
2437
+ "stateMutability": "nonpayable",
2438
+ "type": "function"
2439
+ },
2440
+ {
2441
+ "inputs": [
2442
+ {
2443
+ "internalType": "DistributorType",
2444
+ "name": "distributorType",
2445
+ "type": "bytes8"
2446
+ },
2447
+ {
2448
+ "components": [
2449
+ {
2450
+ "internalType": "UFixed",
2451
+ "name": "minDiscountPercentage",
2452
+ "type": "uint160"
2453
+ },
2454
+ {
2455
+ "internalType": "NftId",
2456
+ "name": "distributionNftId",
2457
+ "type": "uint96"
2458
+ },
2459
+ {
2460
+ "internalType": "UFixed",
2461
+ "name": "maxDiscountPercentage",
2462
+ "type": "uint160"
2463
+ },
2464
+ {
2465
+ "internalType": "uint32",
2466
+ "name": "maxReferralCount",
2467
+ "type": "uint32"
2468
+ },
2469
+ {
2470
+ "internalType": "Seconds",
2471
+ "name": "maxReferralLifetime",
2472
+ "type": "uint40"
2473
+ },
2474
+ {
2475
+ "internalType": "bool",
2476
+ "name": "allowSelfReferrals",
2477
+ "type": "bool"
2478
+ },
2479
+ {
2480
+ "internalType": "bool",
2481
+ "name": "allowRenewals",
2482
+ "type": "bool"
2483
+ },
2484
+ {
2485
+ "internalType": "UFixed",
2486
+ "name": "commissionPercentage",
2487
+ "type": "uint160"
2488
+ },
2489
+ {
2490
+ "internalType": "string",
2491
+ "name": "name",
2492
+ "type": "string"
2493
+ },
2494
+ {
2495
+ "internalType": "bytes",
2496
+ "name": "data",
2497
+ "type": "bytes"
2498
+ }
2499
+ ],
2500
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2501
+ "name": "info",
2502
+ "type": "tuple"
2503
+ },
2504
+ {
2505
+ "internalType": "StateId",
2506
+ "name": "newState",
2507
+ "type": "uint8"
2508
+ }
2509
+ ],
2510
+ "name": "updateDistributorType",
2511
+ "outputs": [],
2512
+ "stateMutability": "nonpayable",
2513
+ "type": "function"
2514
+ },
2515
+ {
2516
+ "inputs": [
2517
+ {
2518
+ "internalType": "DistributorType",
2519
+ "name": "distributorType",
2520
+ "type": "bytes8"
2521
+ },
2522
+ {
2523
+ "internalType": "StateId",
2524
+ "name": "newState",
2525
+ "type": "uint8"
2526
+ }
2527
+ ],
2528
+ "name": "updateDistributorTypeState",
2529
+ "outputs": [],
2530
+ "stateMutability": "nonpayable",
2531
+ "type": "function"
2532
+ },
2533
+ {
2534
+ "inputs": [
2535
+ {
2536
+ "internalType": "NftId",
2537
+ "name": "productNftId",
2538
+ "type": "uint96"
2539
+ },
2540
+ {
2541
+ "components": [
2542
+ {
2543
+ "components": [
2544
+ {
2545
+ "internalType": "UFixed",
2546
+ "name": "fractionalFee",
2547
+ "type": "uint160"
2548
+ },
2549
+ {
2550
+ "internalType": "Amount",
2551
+ "name": "fixedFee",
2552
+ "type": "uint96"
2553
+ }
2554
+ ],
2555
+ "internalType": "struct Fee",
2556
+ "name": "productFee",
2557
+ "type": "tuple"
2558
+ },
2559
+ {
2560
+ "components": [
2561
+ {
2562
+ "internalType": "UFixed",
2563
+ "name": "fractionalFee",
2564
+ "type": "uint160"
2565
+ },
2566
+ {
2567
+ "internalType": "Amount",
2568
+ "name": "fixedFee",
2569
+ "type": "uint96"
2570
+ }
2571
+ ],
2572
+ "internalType": "struct Fee",
2573
+ "name": "processingFee",
2574
+ "type": "tuple"
2575
+ },
2576
+ {
2577
+ "components": [
2578
+ {
2579
+ "internalType": "UFixed",
2580
+ "name": "fractionalFee",
2581
+ "type": "uint160"
2582
+ },
2583
+ {
2584
+ "internalType": "Amount",
2585
+ "name": "fixedFee",
2586
+ "type": "uint96"
2587
+ }
2588
+ ],
2589
+ "internalType": "struct Fee",
2590
+ "name": "distributionFee",
2591
+ "type": "tuple"
2592
+ },
2593
+ {
2594
+ "components": [
2595
+ {
2596
+ "internalType": "UFixed",
2597
+ "name": "fractionalFee",
2598
+ "type": "uint160"
2599
+ },
2600
+ {
2601
+ "internalType": "Amount",
2602
+ "name": "fixedFee",
2603
+ "type": "uint96"
2604
+ }
2605
+ ],
2606
+ "internalType": "struct Fee",
2607
+ "name": "minDistributionOwnerFee",
2608
+ "type": "tuple"
2609
+ },
2610
+ {
2611
+ "components": [
2612
+ {
2613
+ "internalType": "UFixed",
2614
+ "name": "fractionalFee",
2615
+ "type": "uint160"
2616
+ },
2617
+ {
2618
+ "internalType": "Amount",
2619
+ "name": "fixedFee",
2620
+ "type": "uint96"
2621
+ }
2622
+ ],
2623
+ "internalType": "struct Fee",
2624
+ "name": "poolFee",
2625
+ "type": "tuple"
2626
+ },
2627
+ {
2628
+ "components": [
2629
+ {
2630
+ "internalType": "UFixed",
2631
+ "name": "fractionalFee",
2632
+ "type": "uint160"
2633
+ },
2634
+ {
2635
+ "internalType": "Amount",
2636
+ "name": "fixedFee",
2637
+ "type": "uint96"
2638
+ }
2639
+ ],
2640
+ "internalType": "struct Fee",
2641
+ "name": "stakingFee",
2642
+ "type": "tuple"
2643
+ },
2644
+ {
2645
+ "components": [
2646
+ {
2647
+ "internalType": "UFixed",
2648
+ "name": "fractionalFee",
2649
+ "type": "uint160"
2650
+ },
2651
+ {
2652
+ "internalType": "Amount",
2653
+ "name": "fixedFee",
2654
+ "type": "uint96"
2655
+ }
2656
+ ],
2657
+ "internalType": "struct Fee",
2658
+ "name": "performanceFee",
2659
+ "type": "tuple"
2660
+ }
2661
+ ],
2662
+ "internalType": "struct IComponents.FeeInfo",
2663
+ "name": "info",
2664
+ "type": "tuple"
2665
+ }
2666
+ ],
2667
+ "name": "updateFee",
2668
+ "outputs": [],
2669
+ "stateMutability": "nonpayable",
2670
+ "type": "function"
2671
+ },
2672
+ {
2673
+ "inputs": [
2674
+ {
2675
+ "internalType": "NftId",
2676
+ "name": "policyNftId",
2677
+ "type": "uint96"
2678
+ },
2679
+ {
2680
+ "internalType": "PayoutId",
2681
+ "name": "payoutId",
2682
+ "type": "uint40"
2683
+ },
2684
+ {
2685
+ "components": [
2686
+ {
2687
+ "internalType": "ClaimId",
2688
+ "name": "claimId",
2689
+ "type": "uint16"
2690
+ },
2691
+ {
2692
+ "internalType": "Amount",
2693
+ "name": "amount",
2694
+ "type": "uint96"
2695
+ },
2696
+ {
2697
+ "internalType": "Timestamp",
2698
+ "name": "paidAt",
2699
+ "type": "uint40"
2700
+ },
2701
+ {
2702
+ "internalType": "address",
2703
+ "name": "beneficiary",
2704
+ "type": "address"
2705
+ },
2706
+ {
2707
+ "internalType": "bytes",
2708
+ "name": "data",
2709
+ "type": "bytes"
2710
+ }
2711
+ ],
2712
+ "internalType": "struct IPolicy.PayoutInfo",
2713
+ "name": "payout",
2714
+ "type": "tuple"
2715
+ },
2716
+ {
2717
+ "internalType": "StateId",
2718
+ "name": "newState",
2719
+ "type": "uint8"
2720
+ }
2721
+ ],
2722
+ "name": "updatePayout",
2723
+ "outputs": [],
2724
+ "stateMutability": "nonpayable",
2725
+ "type": "function"
2726
+ },
2727
+ {
2728
+ "inputs": [
2729
+ {
2730
+ "internalType": "NftId",
2731
+ "name": "policyNftId",
2732
+ "type": "uint96"
2733
+ },
2734
+ {
2735
+ "internalType": "PayoutId",
2736
+ "name": "payoutId",
2737
+ "type": "uint40"
2738
+ },
2739
+ {
2740
+ "internalType": "StateId",
2741
+ "name": "newState",
2742
+ "type": "uint8"
2743
+ }
2744
+ ],
2745
+ "name": "updatePayoutState",
2746
+ "outputs": [],
2747
+ "stateMutability": "nonpayable",
2748
+ "type": "function"
2749
+ },
2750
+ {
2751
+ "inputs": [
2752
+ {
2753
+ "internalType": "NftId",
2754
+ "name": "policyNftId",
2755
+ "type": "uint96"
2756
+ },
2757
+ {
2758
+ "components": [
2759
+ {
2760
+ "internalType": "NftId",
2761
+ "name": "productNftId",
2762
+ "type": "uint96"
2763
+ },
2764
+ {
2765
+ "internalType": "NftId",
2766
+ "name": "bundleNftId",
2767
+ "type": "uint96"
2768
+ },
2769
+ {
2770
+ "internalType": "RiskId",
2771
+ "name": "riskId",
2772
+ "type": "bytes8"
2773
+ },
2774
+ {
2775
+ "internalType": "Amount",
2776
+ "name": "sumInsuredAmount",
2777
+ "type": "uint96"
2778
+ },
2779
+ {
2780
+ "internalType": "Amount",
2781
+ "name": "premiumAmount",
2782
+ "type": "uint96"
2783
+ },
2784
+ {
2785
+ "internalType": "ReferralId",
2786
+ "name": "referralId",
2787
+ "type": "bytes8"
2788
+ },
2789
+ {
2790
+ "internalType": "uint16",
2791
+ "name": "claimsCount",
2792
+ "type": "uint16"
2793
+ },
2794
+ {
2795
+ "internalType": "uint16",
2796
+ "name": "openClaimsCount",
2797
+ "type": "uint16"
2798
+ },
2799
+ {
2800
+ "internalType": "Amount",
2801
+ "name": "claimAmount",
2802
+ "type": "uint96"
2803
+ },
2804
+ {
2805
+ "internalType": "Amount",
2806
+ "name": "payoutAmount",
2807
+ "type": "uint96"
2808
+ },
2809
+ {
2810
+ "internalType": "Timestamp",
2811
+ "name": "activatedAt",
2812
+ "type": "uint40"
2813
+ },
2814
+ {
2815
+ "internalType": "Seconds",
2816
+ "name": "lifetime",
2817
+ "type": "uint40"
2818
+ },
2819
+ {
2820
+ "internalType": "Timestamp",
2821
+ "name": "expiredAt",
2822
+ "type": "uint40"
2823
+ },
2824
+ {
2825
+ "internalType": "Timestamp",
2826
+ "name": "closedAt",
2827
+ "type": "uint40"
2828
+ },
2829
+ {
2830
+ "internalType": "bytes",
2831
+ "name": "applicationData",
2832
+ "type": "bytes"
2833
+ },
2834
+ {
2835
+ "internalType": "bytes",
2836
+ "name": "processData",
2837
+ "type": "bytes"
2838
+ }
2839
+ ],
2840
+ "internalType": "struct IPolicy.PolicyInfo",
2841
+ "name": "policy",
2842
+ "type": "tuple"
2843
+ },
2844
+ {
2845
+ "internalType": "StateId",
2846
+ "name": "newState",
2847
+ "type": "uint8"
2848
+ }
2849
+ ],
2850
+ "name": "updatePolicy",
2851
+ "outputs": [],
2852
+ "stateMutability": "nonpayable",
2853
+ "type": "function"
2854
+ },
2855
+ {
2856
+ "inputs": [
2857
+ {
2858
+ "internalType": "NftId",
2859
+ "name": "policyNftId",
2860
+ "type": "uint96"
2861
+ },
2862
+ {
2863
+ "components": [
2864
+ {
2865
+ "internalType": "NftId",
2866
+ "name": "productNftId",
2867
+ "type": "uint96"
2868
+ },
2869
+ {
2870
+ "internalType": "NftId",
2871
+ "name": "bundleNftId",
2872
+ "type": "uint96"
2873
+ },
2874
+ {
2875
+ "internalType": "RiskId",
2876
+ "name": "riskId",
2877
+ "type": "bytes8"
2878
+ },
2879
+ {
2880
+ "internalType": "Amount",
2881
+ "name": "sumInsuredAmount",
2882
+ "type": "uint96"
2883
+ },
2884
+ {
2885
+ "internalType": "Amount",
2886
+ "name": "premiumAmount",
2887
+ "type": "uint96"
2888
+ },
2889
+ {
2890
+ "internalType": "ReferralId",
2891
+ "name": "referralId",
2892
+ "type": "bytes8"
2893
+ },
2894
+ {
2895
+ "internalType": "uint16",
2896
+ "name": "claimsCount",
2897
+ "type": "uint16"
2898
+ },
2899
+ {
2900
+ "internalType": "uint16",
2901
+ "name": "openClaimsCount",
2902
+ "type": "uint16"
2903
+ },
2904
+ {
2905
+ "internalType": "Amount",
2906
+ "name": "claimAmount",
2907
+ "type": "uint96"
2908
+ },
2909
+ {
2910
+ "internalType": "Amount",
2911
+ "name": "payoutAmount",
2912
+ "type": "uint96"
2913
+ },
2914
+ {
2915
+ "internalType": "Timestamp",
2916
+ "name": "activatedAt",
2917
+ "type": "uint40"
2918
+ },
2919
+ {
2920
+ "internalType": "Seconds",
2921
+ "name": "lifetime",
2922
+ "type": "uint40"
2923
+ },
2924
+ {
2925
+ "internalType": "Timestamp",
2926
+ "name": "expiredAt",
2927
+ "type": "uint40"
2928
+ },
2929
+ {
2930
+ "internalType": "Timestamp",
2931
+ "name": "closedAt",
2932
+ "type": "uint40"
2933
+ },
2934
+ {
2935
+ "internalType": "bytes",
2936
+ "name": "applicationData",
2937
+ "type": "bytes"
2938
+ },
2939
+ {
2940
+ "internalType": "bytes",
2941
+ "name": "processData",
2942
+ "type": "bytes"
2943
+ }
2944
+ ],
2945
+ "internalType": "struct IPolicy.PolicyInfo",
2946
+ "name": "policy",
2947
+ "type": "tuple"
2948
+ },
2949
+ {
2950
+ "internalType": "StateId",
2951
+ "name": "newState",
2952
+ "type": "uint8"
2953
+ }
2954
+ ],
2955
+ "name": "updatePolicyClaims",
2956
+ "outputs": [],
2957
+ "stateMutability": "nonpayable",
2958
+ "type": "function"
2959
+ },
2960
+ {
2961
+ "inputs": [
2962
+ {
2963
+ "internalType": "NftId",
2964
+ "name": "policyNftId",
2965
+ "type": "uint96"
2966
+ },
2967
+ {
2968
+ "internalType": "StateId",
2969
+ "name": "newState",
2970
+ "type": "uint8"
2971
+ }
2972
+ ],
2973
+ "name": "updatePolicyState",
2974
+ "outputs": [],
2975
+ "stateMutability": "nonpayable",
2976
+ "type": "function"
2977
+ },
2978
+ {
2979
+ "inputs": [
2980
+ {
2981
+ "internalType": "NftId",
2982
+ "name": "poolNftId",
2983
+ "type": "uint96"
2984
+ },
2985
+ {
2986
+ "components": [
2987
+ {
2988
+ "internalType": "Amount",
2989
+ "name": "maxBalanceAmount",
2990
+ "type": "uint96"
2991
+ },
2992
+ {
2993
+ "internalType": "UFixed",
2994
+ "name": "collateralizationLevel",
2995
+ "type": "uint160"
2996
+ },
2997
+ {
2998
+ "internalType": "UFixed",
2999
+ "name": "retentionLevel",
3000
+ "type": "uint160"
3001
+ },
3002
+ {
3003
+ "internalType": "bool",
3004
+ "name": "isInterceptingBundleTransfers",
3005
+ "type": "bool"
3006
+ },
3007
+ {
3008
+ "internalType": "bool",
3009
+ "name": "isProcessingConfirmedClaims",
3010
+ "type": "bool"
3011
+ },
3012
+ {
3013
+ "internalType": "bool",
3014
+ "name": "isExternallyManaged",
3015
+ "type": "bool"
3016
+ },
3017
+ {
3018
+ "internalType": "bool",
3019
+ "name": "isVerifyingApplications",
3020
+ "type": "bool"
3021
+ }
3022
+ ],
3023
+ "internalType": "struct IComponents.PoolInfo",
3024
+ "name": "info",
3025
+ "type": "tuple"
3026
+ },
3027
+ {
3028
+ "internalType": "StateId",
3029
+ "name": "newState",
3030
+ "type": "uint8"
3031
+ }
3032
+ ],
3033
+ "name": "updatePool",
3034
+ "outputs": [],
3035
+ "stateMutability": "nonpayable",
3036
+ "type": "function"
3037
+ },
3038
+ {
3039
+ "inputs": [
3040
+ {
3041
+ "internalType": "NftId",
3042
+ "name": "policyNftId",
3043
+ "type": "uint96"
3044
+ },
3045
+ {
3046
+ "internalType": "StateId",
3047
+ "name": "newState",
3048
+ "type": "uint8"
3049
+ }
3050
+ ],
3051
+ "name": "updatePremiumState",
3052
+ "outputs": [],
3053
+ "stateMutability": "nonpayable",
3054
+ "type": "function"
3055
+ },
3056
+ {
3057
+ "inputs": [
3058
+ {
3059
+ "internalType": "NftId",
3060
+ "name": "productNftId",
3061
+ "type": "uint96"
3062
+ },
3063
+ {
3064
+ "components": [
3065
+ {
3066
+ "internalType": "bool",
3067
+ "name": "isProcessingFundedClaims",
3068
+ "type": "bool"
3069
+ },
3070
+ {
3071
+ "internalType": "bool",
3072
+ "name": "isInterceptingPolicyTransfers",
3073
+ "type": "bool"
3074
+ },
3075
+ {
3076
+ "internalType": "bool",
3077
+ "name": "hasDistribution",
3078
+ "type": "bool"
3079
+ },
3080
+ {
3081
+ "internalType": "uint8",
3082
+ "name": "expectedNumberOfOracles",
3083
+ "type": "uint8"
3084
+ },
3085
+ {
3086
+ "internalType": "uint8",
3087
+ "name": "numberOfOracles",
3088
+ "type": "uint8"
3089
+ },
3090
+ {
3091
+ "internalType": "NftId",
3092
+ "name": "poolNftId",
3093
+ "type": "uint96"
3094
+ },
3095
+ {
3096
+ "internalType": "NftId",
3097
+ "name": "distributionNftId",
3098
+ "type": "uint96"
3099
+ },
3100
+ {
3101
+ "internalType": "NftId[]",
3102
+ "name": "oracleNftId",
3103
+ "type": "uint96[]"
3104
+ }
3105
+ ],
3106
+ "internalType": "struct IComponents.ProductInfo",
3107
+ "name": "info",
3108
+ "type": "tuple"
3109
+ },
3110
+ {
3111
+ "internalType": "StateId",
3112
+ "name": "newState",
3113
+ "type": "uint8"
3114
+ }
3115
+ ],
3116
+ "name": "updateProduct",
3117
+ "outputs": [],
3118
+ "stateMutability": "nonpayable",
3119
+ "type": "function"
3120
+ },
3121
+ {
3122
+ "inputs": [
3123
+ {
3124
+ "internalType": "ReferralId",
3125
+ "name": "referralId",
3126
+ "type": "bytes8"
3127
+ },
3128
+ {
3129
+ "components": [
3130
+ {
3131
+ "internalType": "NftId",
3132
+ "name": "distributionNftId",
3133
+ "type": "uint96"
3134
+ },
3135
+ {
3136
+ "internalType": "NftId",
3137
+ "name": "distributorNftId",
3138
+ "type": "uint96"
3139
+ },
3140
+ {
3141
+ "internalType": "uint32",
3142
+ "name": "maxReferrals",
3143
+ "type": "uint32"
3144
+ },
3145
+ {
3146
+ "internalType": "uint32",
3147
+ "name": "usedReferrals",
3148
+ "type": "uint32"
3149
+ },
3150
+ {
3151
+ "internalType": "UFixed",
3152
+ "name": "discountPercentage",
3153
+ "type": "uint160"
3154
+ },
3155
+ {
3156
+ "internalType": "Timestamp",
3157
+ "name": "expiryAt",
3158
+ "type": "uint40"
3159
+ },
3160
+ {
3161
+ "internalType": "string",
3162
+ "name": "referralCode",
3163
+ "type": "string"
3164
+ },
3165
+ {
3166
+ "internalType": "bytes",
3167
+ "name": "data",
3168
+ "type": "bytes"
3169
+ }
3170
+ ],
3171
+ "internalType": "struct IDistribution.ReferralInfo",
3172
+ "name": "referralInfo",
3173
+ "type": "tuple"
3174
+ },
3175
+ {
3176
+ "internalType": "StateId",
3177
+ "name": "newState",
3178
+ "type": "uint8"
3179
+ }
3180
+ ],
3181
+ "name": "updateReferral",
3182
+ "outputs": [],
3183
+ "stateMutability": "nonpayable",
3184
+ "type": "function"
3185
+ },
3186
+ {
3187
+ "inputs": [
3188
+ {
3189
+ "internalType": "ReferralId",
3190
+ "name": "referralId",
3191
+ "type": "bytes8"
3192
+ },
3193
+ {
3194
+ "internalType": "StateId",
3195
+ "name": "newState",
3196
+ "type": "uint8"
3197
+ }
3198
+ ],
3199
+ "name": "updateReferralState",
3200
+ "outputs": [],
3201
+ "stateMutability": "nonpayable",
3202
+ "type": "function"
3203
+ },
3204
+ {
3205
+ "inputs": [
3206
+ {
3207
+ "internalType": "RequestId",
3208
+ "name": "requestId",
3209
+ "type": "uint64"
3210
+ },
3211
+ {
3212
+ "components": [
3213
+ {
3214
+ "internalType": "NftId",
3215
+ "name": "requesterNftId",
3216
+ "type": "uint96"
3217
+ },
3218
+ {
3219
+ "internalType": "NftId",
3220
+ "name": "oracleNftId",
3221
+ "type": "uint96"
3222
+ },
3223
+ {
3224
+ "internalType": "bool",
3225
+ "name": "isCancelled",
3226
+ "type": "bool"
3227
+ },
3228
+ {
3229
+ "internalType": "Timestamp",
3230
+ "name": "respondedAt",
3231
+ "type": "uint40"
3232
+ },
3233
+ {
3234
+ "internalType": "Timestamp",
3235
+ "name": "expiredAt",
3236
+ "type": "uint40"
3237
+ },
3238
+ {
3239
+ "internalType": "string",
3240
+ "name": "callbackMethodName",
3241
+ "type": "string"
3242
+ },
3243
+ {
3244
+ "internalType": "bytes",
3245
+ "name": "requestData",
3246
+ "type": "bytes"
3247
+ },
3248
+ {
3249
+ "internalType": "bytes",
3250
+ "name": "responseData",
3251
+ "type": "bytes"
3252
+ }
3253
+ ],
3254
+ "internalType": "struct IOracle.RequestInfo",
3255
+ "name": "request",
3256
+ "type": "tuple"
3257
+ },
3258
+ {
3259
+ "internalType": "StateId",
3260
+ "name": "newState",
3261
+ "type": "uint8"
3262
+ }
3263
+ ],
3264
+ "name": "updateRequest",
3265
+ "outputs": [],
3266
+ "stateMutability": "nonpayable",
3267
+ "type": "function"
3268
+ },
3269
+ {
3270
+ "inputs": [
3271
+ {
3272
+ "internalType": "RequestId",
3273
+ "name": "requestId",
3274
+ "type": "uint64"
3275
+ },
3276
+ {
3277
+ "internalType": "StateId",
3278
+ "name": "newState",
3279
+ "type": "uint8"
3280
+ }
3281
+ ],
3282
+ "name": "updateRequestState",
3283
+ "outputs": [],
3284
+ "stateMutability": "nonpayable",
3285
+ "type": "function"
3286
+ },
3287
+ {
3288
+ "inputs": [
3289
+ {
3290
+ "internalType": "RiskId",
3291
+ "name": "riskId",
3292
+ "type": "bytes8"
3293
+ },
3294
+ {
3295
+ "components": [
3296
+ {
3297
+ "internalType": "NftId",
3298
+ "name": "productNftId",
3299
+ "type": "uint96"
3300
+ },
3301
+ {
3302
+ "internalType": "Timestamp",
3303
+ "name": "createdAt",
3304
+ "type": "uint40"
3305
+ },
3306
+ {
3307
+ "internalType": "bytes",
3308
+ "name": "data",
3309
+ "type": "bytes"
3310
+ }
3311
+ ],
3312
+ "internalType": "struct IRisk.RiskInfo",
3313
+ "name": "risk",
3314
+ "type": "tuple"
3315
+ },
3316
+ {
3317
+ "internalType": "StateId",
3318
+ "name": "newState",
3319
+ "type": "uint8"
3320
+ }
3321
+ ],
3322
+ "name": "updateRisk",
3323
+ "outputs": [],
3324
+ "stateMutability": "nonpayable",
3325
+ "type": "function"
3326
+ },
3327
+ {
3328
+ "inputs": [
3329
+ {
3330
+ "internalType": "RiskId",
3331
+ "name": "riskId",
3332
+ "type": "bytes8"
3333
+ },
3334
+ {
3335
+ "internalType": "StateId",
3336
+ "name": "newState",
3337
+ "type": "uint8"
3338
+ }
3339
+ ],
3340
+ "name": "updateRiskState",
3341
+ "outputs": [],
3342
+ "stateMutability": "nonpayable",
3343
+ "type": "function"
3344
+ }
3345
+ ],
3346
+ "bytecode": "0x60806040525f6007553480156012575f80fd5b50615ca3806100205f395ff3fe608060405234801561000f575f80fd5b50600436106103bf575f3560e01c80637cef4842116101f5578063b4d7efe211610114578063e80c61ed116100a9578063f48016ce11610079578063f48016ce146109f3578063f9b3fe3c14610a14578063fe1f18d614610a27578063fe2ee79214610a3a575f80fd5b8063e80c61ed1461097d578063e9e96c7014610990578063ea113322146109cd578063ebb41c0c146109e0575f80fd5b8063c75e9a1c116100e4578063c75e9a1c1461040b578063cb2e87d214610944578063d7719f4614610957578063e2586c581461096a575f80fd5b8063b4d7efe2146108eb578063b6d7cd62146108fe578063bf1db3f914610911578063bf7e214f14610924575f80fd5b806396f4df2f1161018a578063abef1bb21161015a578063abef1bb21461089f578063af902500146108b2578063b0628dc3146108c5578063b33ef41a146108d8575f80fd5b806396f4df2f146107d95780639f8151e5146107ec578063a2842229146107ff578063a5961b4c14610812575f80fd5b80638eb9000d116101c55780638eb9000d146107675780638fb36037146107925780639505838e146107b357806396260559146107c6575f80fd5b80637cef4842146107195780637d417f0d1461072c5780638129fc1c1461073f5780638eaa6ac014610747575f80fd5b806338a699a4116102e157806354f1fa81116102765780635eede174116102465780635eede1741461066d578063623e7a0f146106e0578063733044ca146106f35780637a9e5e4b14610706575f80fd5b806354f1fa811461062757806354f6127f1461063a578063555e55911461065a5780635d4345cc146104a4575f80fd5b80634bb2d197116102b15780634bb2d197146105db5780634d4a7ae9146105ee578063533086d41461060157806353ebe12914610614575f80fd5b806338a699a41461057f57806340529b0f146105a2578063490840b4146105b55780634a824392146105c8575f80fd5b80631c7c8155116103575780632ae5819d116103275780632ae5819d1461051b5780632bce2d7c1461052e5780633477771214610541578063353e5b751461056c575f80fd5b80631c7c8155146104ca578063228e42ec146104dd578063248a77dd14610508578063297023ef1461040b575f80fd5b80630ccd44d7116103925780630ccd44d71461046c5780630d3581811461047f5780630fad0eb1146104a45780631aa41163146104b7575f80fd5b80630232ca49146103c3578063036b1ffb1461040b57806308077cd91461042057806309648a9d14610433575b5f80fd5b6103ee6103d13660046136d3565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61041e610419366004613a7f565b610a4d565b005b61041e61042e366004613bfb565b610a92565b61045a610441366004613c3e565b5f90815260066020526040902054610100900460ff1690565b60405160ff9091168152602001610402565b61041e61047a366004613d04565b610aba565b61045a61048d366004613d74565b60ff9081165f908152602081905260409020541690565b61041e6104b2366004613d8f565b610ae7565b61041e6104c5366004613dc6565b610b04565b61041e6104d8366004613f5f565b610b44565b6103ee6104eb3660046136d3565b6001600160601b039081165f908152600260205260409020541690565b6103ee610516366004613fbc565b610b6b565b61041e610529366004613d8f565b610b88565b61041e61053c3660046140b8565b610b9f565b61055461054f3660046141e9565b610bc7565b6040516001600160401b039091168152602001610402565b61041e61057a366004614222565b610c70565b61059261058d366004613c3e565b610c86565b6040519015158152602001610402565b61041e6105b0366004613d8f565b610d0e565b61041e6105c33660046142f8565b610d25565b61041e6105d63660046143c0565b610d4d565b61041e6105e9366004614507565b610deb565b61041e6105fc366004614549565b610e89565b6103ee61060f366004613fbc565b610eb1565b6103ee610622366004613fbc565b610ec5565b61041e6106353660046146d3565b610ed9565b61064d610648366004613c3e565b611031565b604051610402919061474f565b61041e6106683660046147cb565b6110d3565b6106b661067b3660046136d3565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b0394851681529284166020840152921691810191909152606001610402565b61041e6106ee36600461485a565b611171565b61041e6107013660046148b1565b611199565b61041e6107143660046148f4565b611231565b61041e61072736600461490f565b6112b3565b61041e61073a36600461492b565b611340565b61041e6113de565b61075a610755366004613c3e565b61155a565b604051610402919061496e565b6103ee6107753660046136d3565b6001600160601b039081165f908152600360205260409020541690565b61079a61167c565b6040516001600160e01b03199091168152602001610402565b61041e6107c13660046149ce565b6116b2565b61041e6107d4366004614a10565b6116e3565b61041e6107e7366004614a53565b611781565b6103ee6107fa366004613fbc565b6117a9565b61041e61080d36600461490f565b6117bd565b610892610820366004613c3e565b60408051608080820183525f8083526020808401829052838501829052606093840182905294815260068552839020835191820184525460ff80821683526101008204169482019490945264ffffffffff620100008504811693820193909352600160381b9093049091169082015290565b6040516104029190614a91565b61041e6108ad366004614ad4565b61180b565b61041e6108c036600461490f565b611832565b6103ee6108d3366004613fbc565b611880565b61041e6108e6366004614b28565b611894565b61041e6108f9366004614b7b565b6118bb565b61041e61090c366004614b97565b611908565b61059261091f366004613d74565b61191e565b61092c61196a565b6040516001600160a01b039091168152602001610402565b61041e610952366004614cfc565b611985565b61041e610965366004614d3f565b6119ad565b61041e610978366004614d81565b6119de565b6103ee61098b366004613fbc565b611a0f565b61059261099e366004614dc3565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b61041e6109db366004614df0565b611a23565b61041e6109ee366004613dc6565b611ac1565b610a06610a01366004614e41565b611b05565b604051908152602001610402565b61041e610a22366004614e6d565b611b86565b61041e610a35366004613d8f565b611bb7565b61041e610a48366004614eaf565b611bce565b610a59335b5f36611bf6565b610a8d610a67846015611cf4565b83604051602001610a789190614ef1565b60405160208183030381529060405283611d3f565b505050565b610a9b33610a52565b610a8d610aa9846016611cf4565b83604051602001610a789190615086565b610ac333610a52565b610ae1610ad08585611eb6565b83604051602001610a7891906150fa565b50505050565b610af033610a52565b610a8d610afe836015611cf4565b82611f05565b610b0d33610a52565b610b40610b1b836029611cf4565b82604051602001610b2c9190615158565b604051602081830303815290604052612269565b5050565b610b4d33610a52565b610a8d610b5a8484612695565b82604051602001610b2c91906151df565b5f610b7533610a52565b610b7f83836126e1565b90505b92915050565b610b9133610a52565b610a8d610afe83602b611cf4565b610ba833610a52565b610a8d610bb6846017611cf4565b83604051602001610a789190615279565b5f610bd133610a52565b610bd9612851565b604051630f37f38f60e41b81526001600160401b0382166004820152909150610c6b9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610c36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5a91906152c5565b83604051602001610b2c91906152dc565b919050565b610c7933610a52565b610ae1610afe8484611eb6565b5f8181526006602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610cea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b82919061539d565b610d1733610a52565b610a8d610afe836017611cf4565b610d2e33610a52565b610b40610d3c83600f611cf4565b82604051602001610b2c91906153b8565b610d5633610a52565b6040516355ee627560e01b8152610b409073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610d9b906001600160c01b0319871690600401615437565b602060405180830381865af4158015610db6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dda91906152c5565b82604051602001610b2c919061544c565b610df433610a52565b6040516355ee627560e01b8152610b409073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e39906001600160c01b0319871690600401615437565b602060405180830381865af4158015610e54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e7891906152c5565b82604051602001610b2c9190615501565b610e9233610a52565b610b40610ea083602b611cf4565b82604051602001610b2c91906155df565b5f610ebb33610a52565b610b7f83836128e1565b5f610ecf33610a52565b610b7f8383612a39565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610f3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5f919061539d565b15610f8d5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610fce5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610f84565b60ff8084165f90815260016020908152604080832088851684528252808320858516845290915290205416610ae15760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401610f84565b5f818152600660205260409020600101805460609190611050906157cf565b80601f016020809104026020016040519081016040528092919081815260200182805461107c906157cf565b80156110c75780601f1061109e576101008083540402835291602001916110c7565b820191905f5260205f20905b8154815290600101906020018083116110aa57829003601f168201915b50505050509050919050565b6110dc33610a52565b6040516355ee627560e01b8152610a8d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611121906001600160c01b0319881690600401615437565b602060405180830381865af415801561113c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061116091906152c5565b83604051602001610a789190615807565b61117a33610a52565b610a8d61118884600b611cf4565b83604051602001610a789190615845565b6111a233610a52565b604051630f37f38f60e41b81526001600160401b0384166004820152610a8d9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af41580156111fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061122091906152c5565b83604051602001610a7891906152dc565b3361123a61196a565b6001600160a01b0316816001600160a01b0316146112755760405162d1953b60e31b81526001600160a01b0382166004820152602401610f84565b816001600160a01b03163b5f036112aa576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f84565b610b4082612b91565b6112bc33610a52565b6040516355ee627560e01b8152610a8d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611301906001600160c01b0319871690600401615437565b602060405180830381865af415801561131c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe91906152c5565b61134933610a52565b6040516355ee627560e01b8152610a8d9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061138e906001600160c01b0319881690600401615437565b602060405180830381865af41580156113a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113cd91906152c5565b83604051602001610a789190615501565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156114225750825b90505f826001600160401b0316600114801561143d5750303b155b90508115801561144b575080155b156114695760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561149357845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f89190615893565b905061150381612bf1565b61150b612c05565b5050831561155357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b6040805160c0810182525f91810182815260608083018490526080830184905260a0830193909352815260208101919091525f82815260066020908152604091829020825160c081018452815460ff808216958301958652610100820416606083015264ffffffffff62010000820481166080840152600160381b9091041660a082015292835260018101805491928401916115f5906157cf565b80601f0160208091040260200160405190810160405280929190818152602001828054611621906157cf565b801561166c5780601f106116435761010080835404028352916020019161166c565b820191905f5260205f20905b81548152906001019060200180831161164f57829003601f168201915b5050505050815250509050919050565b5f80516020615c4e83398151915280545f9190600160a01b900460ff166116a3575f6116ac565b638fb3603760e01b5b91505090565b6116bb33610a52565b6116c482612c17565b610b406116d2836015611cf4565b82604051602001610b2c9190614ef1565b6116ec33610a52565b6040516355ee627560e01b8152610a8d9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611731906001600160c01b0319881690600401615437565b602060405180830381865af415801561174c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177091906152c5565b83604051602001610a78919061544c565b61178a33610a52565b610a8d61179884600f611cf4565b83604051602001610a7891906153b8565b5f6117b333610a52565b610b7f8383612d1a565b6117c633610a52565b6040516355ee627560e01b8152610a8d9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611301906001600160c01b0319871690600401615437565b61181433610a52565b610ae16118218585612695565b83604051602001610a7891906151df565b61183b33610a52565b6040516355ee627560e01b8152610a8d9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611301906001600160c01b0319871690600401615437565b5f61188a33610a52565b610b7f8383612e72565b61189d33610a52565b610a8d6118aa8484611eb6565b82604051602001610b2c91906150fa565b6118c433610a52565b604051630f37f38f60e41b81526001600160401b0383166004820152610a8d9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401611301565b61191133610a52565b610ae1610afe8484612695565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610ccf565b5f80516020615c4e833981519152546001600160a01b031690565b61198e33610a52565b610a8d61199c84600c611cf4565b83604051602001610a7891906158f1565b6119b633610a52565b6119bf82612c17565b610b406119cd836016611cf4565b82604051602001610b2c9190615086565b6119e733610a52565b6119f082612c17565b610b406119fe83600b611cf4565b82604051602001610b2c9190615845565b5f611a1933610a52565b610b7f8383612fca565b611a2c33610a52565b6040516355ee627560e01b8152610b409073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611a71906001600160c01b0319871690600401615437565b602060405180830381865af4158015611a8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab091906152c5565b82604051602001610b2c9190615807565b611aca33610a52565b610b40611ad8836029611cf4565b82604051602001611ae99190615158565b604051602081830303815290604052611b0060ff90565b611d3f565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611b62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7f91906152c5565b611b8f33610a52565b611b9882612c17565b610b40611ba6836017611cf4565b82604051602001610b2c9190615279565b611bc033610a52565b610a8d610afe836016611cf4565b611bd733610a52565b610b40611be583600c611cf4565b82604051602001610b2c91906158f1565b5f80516020615c4e8339815191525f80611c2e611c1161196a565b8730611c2060045f8a8c615981565b611c29916159a8565b613122565b9150915081611cec5763ffffffff811615611cc957825460ff60a01b1916600160a01b178355611c5c61196a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c8b939291906159de565b5f604051808303815f87803b158015611ca2575f80fd5b505af1158015611cb4573d5f803e3d5ffd5b5050845460ff60a01b1916855550611cec9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610f84565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611b47565b5f611d4a8483611f05565b5f858152600660205260409020909150600101611d678482615a61565b50604051634b00e98f60e11b8152600481018590527fdbbb264bf3560def22c1457cb693395546e7a0a2053566eb78e6f5eebf9831979073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611dd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dfc9190615b1b565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611e4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6e9190615b36565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015264ffffffffff841660a082015290519081900360c00190a150505050565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611b47565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611f57573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7b919061539d565b15611f9c5760405163093b89e160e11b815260048101849052602401610f84565b505f82815260066020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930464ffffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612013573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612037919061539d565b156120585760405163566ebf7960e01b815260048101869052602401610f84565b60ff808516146121d657815461207490829060ff168187610ed9565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527f8f1ee60b80a6d161c3408fa78af057311e20d28c1a7a12a336a549e26d7104b69073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156120f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061211a9190615b1b565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612168573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061218c9190615b36565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015264ffffffffff851660c082015260e00160405180910390a15b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561221d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122419190615b51565b825464ffffffffff91909116620100000266ffffffffff000019909116179091555092915050565b604051634b00e98f60e11b8152600481018390525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156122b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122dd9190615b1b565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015612330573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612354919061539d565b15612377576040516307014a8d60e51b815260ff82166004820152602401610f84565b5f83815260066020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af41580156123dd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612401919061539d565b1561242b57604051633f92eac960e21b81526004810185905260ff83166024820152604401610f84565b6124348261191e565b61245657604051636cb0978b60e11b815260ff83166004820152602401610f84565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561249e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124c29190615b51565b60ff8085165f908152602081905260408120549293509116835460ff86811661ffff199092169190911761010091831691909102176bffffffffffffffffffff000019166201000064ffffffffff85169081026bffffffffff00000000000000191691909117600160381b919091021784555f8781526006602052604090209091506001016125518682615a61565b50604051634b00e98f60e11b8152600481018790527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156125c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125e69190615b1b565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612634573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126589190615b36565b6040805160ff938416815260ff199290921660208301529184168183015233606082015232608082015290519081900360a00190a1505050505050565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611b47565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612750573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612774919061539d565b61279c57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f908152600360205260409020546127c091168461322a565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fc813323abc29b7cc59ddd274e5941cad2a987aa85c181fbde230bfb449b00096916128399187918791879164ffffffffff90911690615b6c565b60405180910390a161284a846132af565b5092915050565b600780545f918261286183615b9c565b9091555050600754604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af41580156128b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128dc9190615bc0565b905090565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612950573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612974919061539d565b61299c57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f908152600460205260409020546129c091168461334e565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f5d0252a8f87c13449ff1a0e89d6a9d8dff6a3860c4cbbae6bd98d16f0924115b916128399187918791879164ffffffffff90911690615b6c565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612aa8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612acc919061539d565b612af457604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f90815260036020526040902054612b1891168461334e565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fcc72dbc9604f941e2273f4dfa0b71700384aa0f5da7c3fef80ecb075ac0010f8916128399187918791879164ffffffffff90911690615b6c565b5f80516020615c4e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612bf9613398565b612c02816133e1565b50565b612c0d613398565b612c156133f2565b565b6001600160601b0381165f9081526005602052604090819020549051638d38cd4b60e01b815264ffffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612c85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ca9919061539d565b15612cd2576040516314d5804160e01b81526001600160601b0382166004820152602401610f84565b612cdb816132af565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612d89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dad919061539d565b612dd557604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f90815260026020526040902054612df991168461322a565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fa9c12735dda7f4e5a00ab4e6a4cfdc194c4f03f3885a5f18abfa66b77b8cdae3916128399187918791879164ffffffffff90911690615b6c565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612ee1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f05919061539d565b612f2d57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f90815260026020526040902054612f5191168461334e565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f561cfda68ea43752c3141f3761d148409c741e20d766a95c64721f2c6ace5ba2916128399187918791879164ffffffffff90911690615b6c565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613039573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061305d919061539d565b61308557604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f908152600460205260409020546130a991168461322a565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f52a6c3cc342afb5a41442a5b4757dbdd11e508f0f75a902a75a29d0409905a99916128399187918791879164ffffffffff90911690615b6c565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516131909190615bdb565b5f60405180830381855afa9150503d805f81146131c8576040519150601f19603f3d011682016040523d82523d5f602084013e6131cd565b606091505b5091509150811561321f5760408151106131ff57808060200190518101906131f59190615bf1565b909450925061321f565b602081511061321f578080602001905181019061321c919061539d565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af415801561328b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7f9190615c1e565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156132f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061331a9190615b51565b6001600160601b03919091165f908152600560205260409020805464ffffffffff191664ffffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401613270565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612c1557604051631afcd79f60e31b815260040160405180910390fd5b6133e9613398565b612c0281612b91565b6133fa61344a565b613402613467565b61340a61349b565b6134126134df565b61341a6134fb565b613422613548565b61342a613568565b61343261357c565b61343a6135bb565b6134426135c5565b612c156135d9565b61345760165b6005613601565b612c1560165b60055b60c8613643565b613471600b613450565b61347f600b6005606e613643565b61348d600b606e6005613643565b612c15600b606e60d2613643565b6134a76015600a613601565b6134b66015600a5b6014613643565b6134c56015600a5b601e613643565b6134d36015600a6028613643565b612c1560156028613460565b6134ec602b5b603c613601565b612c15602b5b603c60dc613643565b613507602d6032613601565b613513602d60326134af565b613521602d60326033613643565b61352d602d60326134be565b613539602d6033613460565b612c15602d60335b6048613643565b613552602e6134e5565b61355c602e6134f2565b612c15602e603c613541565b613572602c613450565b612c15602c61345d565b613586602f613450565b613595602f60055b6046613643565b6135a3602f60056007613643565b6135af602f600761358e565b612c15602f6005613541565b612c15600f613450565b6135cf600c613450565b612c156029613450565b6135e3600e613450565b6135ed6017613450565b6135f76030613450565b612c156031613450565b60ff8281165f90815260208190526040902054161561362257613622615c39565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f908152600160209081526040808320868516845282528083208585168452909152902054161561367b5761367b615c39565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b0381168114612c02575f80fd5b8035610c6b816136b4565b5f602082840312156136e3575f80fd5b81356136ee816136b4565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b038111828210171561372c5761372c6136f5565b60405290565b60405160c081016001600160401b038111828210171561372c5761372c6136f5565b60405160e081016001600160401b038111828210171561372c5761372c6136f5565b60405161010081016001600160401b038111828210171561372c5761372c6136f5565b60405161014081016001600160401b038111828210171561372c5761372c6136f5565b60405161024081016001600160401b038111828210171561372c5761372c6136f5565b604051606081016001600160401b038111828210171561372c5761372c6136f5565b604051601f8201601f191681016001600160401b0381118282101715613829576138296136f5565b604052919050565b6001600160c01b031981168114612c02575f80fd5b8035610c6b81613831565b61ffff81168114612c02575f80fd5b8035610c6b81613851565b64ffffffffff81168114612c02575f80fd5b8035610c6b8161386b565b5f82601f830112613897575f80fd5b8135602083015f806001600160401b038411156138b6576138b66136f5565b50601f8301601f19166020016138cb81613801565b9150508281528583830111156138df575f80fd5b828260208301375f92810160200192909252509392505050565b5f610200828403121561390a575f80fd5b613912613709565b905061391d826136c8565b815261392b602083016136c8565b602082015261393c60408301613846565b604082015261394d606083016136c8565b606082015261395e608083016136c8565b608082015261396f60a08301613846565b60a082015261398060c08301613860565b60c082015261399160e08301613860565b60e08201526139a361010083016136c8565b6101008201526139b661012083016136c8565b6101208201526139c9610140830161387d565b6101408201526139dc610160830161387d565b6101608201526139ef610180830161387d565b610180820152613a026101a0830161387d565b6101a08201526101c08201356001600160401b03811115613a21575f80fd5b613a2d84828501613888565b6101c0830152506101e08201356001600160401b03811115613a4d575f80fd5b613a5984828501613888565b6101e08301525092915050565b60ff81168114612c02575f80fd5b8035610c6b81613a66565b5f805f60608486031215613a91575f80fd5b8335613a9c816136b4565b925060208401356001600160401b03811115613ab6575f80fd5b613ac2868287016138f9565b9250506040840135613ad381613a66565b809150509250925092565b6001600160a01b0381168114612c02575f80fd5b8035610c6b81613ade565b5f60408284031215613b0d575f80fd5b604080519081016001600160401b0381118282101715613b2f57613b2f6136f5565b6040529050808235613b4081613ade565b81526020830135613b50816136b4565b6020919091015292915050565b5f60e08284031215613b6d575f80fd5b613b75613732565b90508135613b828161386b565b81526020820135613b928161386b565b6020820152613ba36040830161387d565b6040820152613bb4606083016136c8565b6060820152613bc68360808401613afd565b608082015260c08201356001600160401b03811115613be3575f80fd5b613bef84828501613888565b60a08301525092915050565b5f805f60608486031215613c0d575f80fd5b8335613c18816136b4565b925060208401356001600160401b03811115613c32575f80fd5b613ac286828701613b5d565b5f60208284031215613c4e575f80fd5b5035919050565b5f60a08284031215613c65575f80fd5b60405160a081016001600160401b0381118282101715613c8757613c876136f5565b6040529050808235613c9881613851565b81526020830135613ca8816136b4565b60208201526040830135613cbb8161386b565b60408201526060830135613cce81613ade565b606082015260808301356001600160401b03811115613ceb575f80fd5b613cf785828601613888565b6080830152505092915050565b5f805f8060808587031215613d17575f80fd5b8435613d22816136b4565b93506020850135613d328161386b565b925060408501356001600160401b03811115613d4c575f80fd5b613d5887828801613c55565b9250506060850135613d6981613a66565b939692955090935050565b5f60208284031215613d84575f80fd5b81356136ee81613a66565b5f8060408385031215613da0575f80fd5b8235613dab816136b4565b91506020830135613dbb81613a66565b809150509250929050565b5f808284036101e0811215613dd9575f80fd5b8335613de4816136b4565b92506101c0601f1982011215613df8575f80fd5b50613e01613754565b613e0e8560208601613afd565b8152613e1d8560608601613afd565b6020820152613e2f8560a08601613afd565b6040820152613e418560e08601613afd565b6060820152613e54856101208601613afd565b6080820152613e67856101608601613afd565b60a0820152613e7a856101a08601613afd565b60c0820152809150509250929050565b803562ffffff81168114610c6b575f80fd5b5f60e08284031215613eac575f80fd5b613eb4613754565b9050613ebf826136c8565b8152613ecd602083016136c8565b6020820152613ede6040830161387d565b6040820152613eef60608301613e8a565b6060820152613f0060808301613e8a565b608082015260a08201356001600160401b03811115613f1d575f80fd5b613f2984828501613888565b60a08301525060c08201356001600160401b03811115613f47575f80fd5b613f5384828501613888565b60c08301525092915050565b5f805f60608486031215613f71575f80fd5b8335613f7c816136b4565b92506020840135613f8c81613851565b915060408401356001600160401b03811115613fa6575f80fd5b613fb286828701613e9c565b9150509250925092565b5f8060408385031215613fcd575f80fd5b8235613fd8816136b4565b91506020830135613dbb816136b4565b8015158114612c02575f80fd5b8035610c6b81613fe8565b63ffffffff81168114612c02575f80fd5b8035610c6b81614000565b5f6080828403121561402c575f80fd5b604051608081016001600160401b038111828210171561404e5761404e6136f5565b604052905080823561405f81613831565b8152602083013561406f81613fe8565b6020820152604083013561408281614000565b604082015260608301356001600160401b0381111561409f575f80fd5b6140ab85828601613888565b6060830152505092915050565b5f805f606084860312156140ca575f80fd5b83356140d5816136b4565b925060208401356001600160401b038111156140ef575f80fd5b613ac28682870161401c565b5f610100828403121561410c575f80fd5b614114613776565b905061411f826136c8565b815261412d602083016136c8565b602082015261413e60408301613ff5565b604082015261414f6060830161387d565b60608201526141606080830161387d565b608082015260a08201356001600160401b0381111561417d575f80fd5b61418984828501613888565b60a08301525060c08201356001600160401b038111156141a7575f80fd5b6141b384828501613888565b60c08301525060e08201356001600160401b038111156141d1575f80fd5b6141dd84828501613888565b60e08301525092915050565b5f602082840312156141f9575f80fd5b81356001600160401b0381111561420e575f80fd5b61421a848285016140fb565b949350505050565b5f805f60608486031215614234575f80fd5b833561423f816136b4565b9250602084013561424f8161386b565b91506040840135613ad381613a66565b5f60e0828403121561426f575f80fd5b614277613754565b90508135614284816136b4565b8152602082013561429481613ade565b602082015260408201356142a781613ade565b604082015260608201356142ba81613fe8565b60608201526142cb60808301613ff5565b60808201526142dc60a08301613ff5565b60a08201526142ed60c08301613ff5565b60c082015292915050565b5f80610100838503121561430a575f80fd5b8235614315816136b4565b9150614324846020850161425f565b90509250929050565b5f610100828403121561433e575f80fd5b614346613776565b9050614351826136c8565b815261435f602083016136c8565b602082015261437060408301614011565b604082015261438160608301614011565b606082015261439260808301613af2565b60808201526143a360a0830161387d565b60a082015260c08201356001600160401b038111156141a7575f80fd5b5f80604083850312156143d1575f80fd5b82356143dc81613831565b915060208301356001600160401b038111156143f6575f80fd5b6144028582860161432d565b9150509250929050565b5f610140828403121561441d575f80fd5b614425613799565b905061443082613af2565b815261443e602083016136c8565b602082015261444f60408301613af2565b604082015261446060608301614011565b60608201526144716080830161387d565b608082015261448260a08301613ff5565b60a082015261449360c08301613ff5565b60c08201526144a460e08301613af2565b60e08201526101008201356001600160401b038111156144c2575f80fd5b6144ce84828501613888565b610100830152506101208201356001600160401b038111156144ee575f80fd5b6144fa84828501613888565b6101208301525092915050565b5f8060408385031215614518575f80fd5b823561452381613831565b915060208301356001600160401b0381111561453d575f80fd5b6144028582860161440c565b5f8082840361026081121561455c575f80fd5b8335614567816136b4565b9250610240601f198201121561457b575f80fd5b506145846137bc565b614590602085016136c8565b815261459e604085016136c8565b60208201526145af606085016136c8565b60408201526145c0608085016136c8565b60608201526145d160a085016136c8565b60808201526145e260c085016136c8565b60a08201526145f360e085016136c8565b60c082015261460561010085016136c8565b60e082015261461761012085016136c8565b61010082015261462a61014085016136c8565b61012082015261463d61016085016136c8565b61014082015261465061018085016136c8565b6101608201526146636101a085016136c8565b6101808201526146766101c085016136c8565b6101a08201526146896101e085016136c8565b6101c082015261469c61020085016136c8565b6101e08201526146af61022085016136c8565b6102008201526146c261024085016136c8565b610220820152809150509250929050565b5f805f80608085870312156146e6575f80fd5b84356146f181613a66565b9350602085013561470181613a66565b9250604085013561471181613a66565b91506060850135613d6981613a66565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610b7f6020830184614721565b5f60608284031215614771575f80fd5b6147796137df565b90508135614786816136b4565b815260208201356147968161386b565b602082015260408201356001600160401b038111156147b3575f80fd5b6147bf84828501613888565b60408301525092915050565b5f805f606084860312156147dd575f80fd5b83356147e881613831565b925060208401356001600160401b03811115614802575f80fd5b613ac286828701614761565b5f6060828403121561481e575f80fd5b6148266137df565b905081356001600160401b0381111561483d575f80fd5b61484984828501613888565b825250602082013561479681613ade565b5f805f6060848603121561486c575f80fd5b8335614877816136b4565b925060208401356001600160401b03811115614891575f80fd5b613ac28682870161480e565b6001600160401b0381168114612c02575f80fd5b5f805f606084860312156148c3575f80fd5b83356148ce8161489d565b925060208401356001600160401b038111156148e8575f80fd5b613ac2868287016140fb565b5f60208284031215614904575f80fd5b81356136ee81613ade565b5f8060408385031215614920575f80fd5b8235613dab81613831565b5f805f6060848603121561493d575f80fd5b833561494881613831565b925060208401356001600160401b03811115614962575f80fd5b613ac28682870161440c565b602081526149b560208201835160ff815116825260ff602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b5f602083015160a08084015261421a60c0840182614721565b5f80604083850312156149df575f80fd5b82356149ea816136b4565b915060208301356001600160401b03811115614a04575f80fd5b614402858286016138f9565b5f805f60608486031215614a22575f80fd5b8335614a2d81613831565b925060208401356001600160401b03811115614a47575f80fd5b613ac28682870161432d565b5f805f6101208486031215614a66575f80fd5b8335614a71816136b4565b9250614a80856020860161425f565b9150610100840135613ad381613a66565b60808101610b82828460ff815116825260ff602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b5f805f8060808587031215614ae7575f80fd5b8435614af2816136b4565b93506020850135614b0281613851565b925060408501356001600160401b03811115614b1c575f80fd5b613d5887828801613e9c565b5f805f60608486031215614b3a575f80fd5b8335614b45816136b4565b92506020840135614b558161386b565b915060408401356001600160401b03811115614b6f575f80fd5b613fb286828701613c55565b5f8060408385031215614b8c575f80fd5b8235613dab8161489d565b5f805f60608486031215614ba9575f80fd5b8335614bb4816136b4565b9250602084013561424f81613851565b5f82601f830112614bd3575f80fd5b81356001600160401b03811115614bec57614bec6136f5565b8060051b614bfc60208201613801565b91825260208185018101929081019086841115614c17575f80fd5b6020860192505b83831015614c42578235614c31816136b4565b825260209283019290910190614c1e565b9695505050505050565b5f6101008284031215614c5d575f80fd5b614c65613776565b9050614c7082613ff5565b8152614c7e60208301613ff5565b6020820152614c8f60408301613ff5565b6040820152614ca060608301613a74565b6060820152614cb160808301613a74565b6080820152614cc260a083016136c8565b60a0820152614cd360c083016136c8565b60c082015260e08201356001600160401b03811115614cf0575f80fd5b6141dd84828501614bc4565b5f805f60608486031215614d0e575f80fd5b8335614d19816136b4565b925060208401356001600160401b03811115614d33575f80fd5b613ac286828701614c4c565b5f8060408385031215614d50575f80fd5b8235614d5b816136b4565b915060208301356001600160401b03811115614d75575f80fd5b61440285828601613b5d565b5f8060408385031215614d92575f80fd5b8235614d9d816136b4565b915060208301356001600160401b03811115614db7575f80fd5b6144028582860161480e565b5f805f60608486031215614dd5575f80fd5b8335614de081613a66565b9250602084013561424f81613a66565b5f8060408385031215614e01575f80fd5b8235614e0c81613831565b915060208301356001600160401b03811115614e26575f80fd5b61440285828601614761565b60ff1981168114612c02575f80fd5b5f8060408385031215614e52575f80fd5b8235614e5d81613a66565b91506020830135613dbb81614e32565b5f8060408385031215614e7e575f80fd5b8235614e89816136b4565b915060208301356001600160401b03811115614ea3575f80fd5b6144028582860161401c565b5f8060408385031215614ec0575f80fd5b8235614ecb816136b4565b915060208301356001600160401b03811115614ee5575f80fd5b61440285828601614c4c565b60208152614f0b6020820183516001600160601b03169052565b5f6020830151614f2660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e084015261503d610220840182614721565b90506101e0840151601f198483030161020085015261505c8282614721565b95945050505050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f60808301516150e060a0840182615065565b5060a083015160e08084015261421a610100840182614721565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a08084015261421a60c0840182614721565b5f6101c08201905061516b828451615065565b602083015161517d6040840182615065565b5060408301516151906080840182615065565b5060608301516151a360c0840182615065565b5060808301516151b7610100840182615065565b5060a08301516151cb610140840182615065565b5060c083015161284a610180840182615065565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f604083015161521f606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c084015261525c610100840182614721565b905060c0840151601f198483030160e085015261505c8282614721565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f606083015160808084015261421a60a0840182614721565b5f602082840312156152d5575f80fd5b5051919050565b602081526152f66020820183516001600160601b03169052565b5f602083015161531160408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c0840152615361610120840182614721565b905060c0840151601f198483030160e085015261537e8282614721565b91505060e0840151601f198483030161010085015261505c8282614721565b5f602082840312156153ad575f80fd5b81516136ee81613fe8565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b036040840151166040830152606083015115156060830152608083015161540f608084018215159052565b5060a083015161542360a084018215159052565b5060c083015161284a60c084018215159052565b6001600160c01b031991909116815260200190565b602081526001600160601b0382511660208201525f602083015161547b60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526154e3610120840182614721565b905060e0840151601f198483030161010085015261505c8282614721565b6020815261551b6020820183516001600160a01b03169052565b5f602083015161553660408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526155c0610160840182614721565b9050610120840151601f198483030161014085015261505c8282614721565b81516001600160601b031681526102408101602083015161560b60208401826001600160601b03169052565b50604083015161562660408401826001600160601b03169052565b50606083015161564160608401826001600160601b03169052565b50608083015161565c60808401826001600160601b03169052565b5060a083015161567760a08401826001600160601b03169052565b5060c083015161569260c08401826001600160601b03169052565b5060e08301516156ad60e08401826001600160601b03169052565b506101008301516156ca6101008401826001600160601b03169052565b506101208301516156e76101208401826001600160601b03169052565b506101408301516157046101408401826001600160601b03169052565b506101608301516157216101608401826001600160601b03169052565b5061018083015161573e6101808401826001600160601b03169052565b506101a083015161575b6101a08401826001600160601b03169052565b506101c08301516157786101c08401826001600160601b03169052565b506101e08301516157956101e08401826001600160601b03169052565b506102008301516157b26102008401826001600160601b03169052565b5061022083015161284a6102208401826001600160601b03169052565b600181811c908216806157e357607f821691505b60208210810361580157634e487b7160e01b5f52602260045260245ffd5b50919050565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f604083015160608084015261421a6080840182614721565b602081525f8251606060208401526158606080840182614721565b60208501516001600160a01b0316604085810191909152850151848203601f1901606086015290915061505c8282614721565b5f602082840312156158a3575f80fd5b81516136ee81613ade565b5f8151808452602084019350602083015f5b828110156158e75781516001600160601b03168652602095860195909101906001016158c0565b5093949350505050565b602081528151151560208201526020820151151560408201525f604083015161591e606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101008084015261421a6101208401826158ae565b5f808585111561598f575f80fd5b8386111561599b575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561284a576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f821115610a8d57805f5260205f20601f840160051c81016020851015615a425750805b601f840160051c820191505b81811015611553575f8155600101615a4e565b81516001600160401b03811115615a7a57615a7a6136f5565b615a8e81615a8884546157cf565b84615a1d565b6020601f821160018114615ac0575f8315615aa95750848201515b5f19600385901b1c1916600184901b178455611553565b5f84815260208120601f198516915b82811015615aef5787850151825560209485019460019092019101615acf565b5084821015615b0c57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215615b2b575f80fd5b81516136ee81613a66565b5f60208284031215615b46575f80fd5b81516136ee81614e32565b5f60208284031215615b61575f80fd5b81516136ee8161386b565b6001600160601b03948516815292841660208401529216604082015264ffffffffff909116606082015260800190565b5f60018201615bb957634e487b7160e01b5f52601160045260245ffd5b5060010190565b5f60208284031215615bd0575f80fd5b81516136ee8161489d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615c02575f80fd5b8251615c0d81613fe8565b6020840151909250613dbb81614000565b5f60208284031215615c2e575f80fd5b81516136ee816136b4565b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122097fe7f511433f813a19cfa1e79a280e383cf07e9a342e4ded63723203de7cb6464736f6c634300081a0033",
3347
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106103bf575f3560e01c80637cef4842116101f5578063b4d7efe211610114578063e80c61ed116100a9578063f48016ce11610079578063f48016ce146109f3578063f9b3fe3c14610a14578063fe1f18d614610a27578063fe2ee79214610a3a575f80fd5b8063e80c61ed1461097d578063e9e96c7014610990578063ea113322146109cd578063ebb41c0c146109e0575f80fd5b8063c75e9a1c116100e4578063c75e9a1c1461040b578063cb2e87d214610944578063d7719f4614610957578063e2586c581461096a575f80fd5b8063b4d7efe2146108eb578063b6d7cd62146108fe578063bf1db3f914610911578063bf7e214f14610924575f80fd5b806396f4df2f1161018a578063abef1bb21161015a578063abef1bb21461089f578063af902500146108b2578063b0628dc3146108c5578063b33ef41a146108d8575f80fd5b806396f4df2f146107d95780639f8151e5146107ec578063a2842229146107ff578063a5961b4c14610812575f80fd5b80638eb9000d116101c55780638eb9000d146107675780638fb36037146107925780639505838e146107b357806396260559146107c6575f80fd5b80637cef4842146107195780637d417f0d1461072c5780638129fc1c1461073f5780638eaa6ac014610747575f80fd5b806338a699a4116102e157806354f1fa81116102765780635eede174116102465780635eede1741461066d578063623e7a0f146106e0578063733044ca146106f35780637a9e5e4b14610706575f80fd5b806354f1fa811461062757806354f6127f1461063a578063555e55911461065a5780635d4345cc146104a4575f80fd5b80634bb2d197116102b15780634bb2d197146105db5780634d4a7ae9146105ee578063533086d41461060157806353ebe12914610614575f80fd5b806338a699a41461057f57806340529b0f146105a2578063490840b4146105b55780634a824392146105c8575f80fd5b80631c7c8155116103575780632ae5819d116103275780632ae5819d1461051b5780632bce2d7c1461052e5780633477771214610541578063353e5b751461056c575f80fd5b80631c7c8155146104ca578063228e42ec146104dd578063248a77dd14610508578063297023ef1461040b575f80fd5b80630ccd44d7116103925780630ccd44d71461046c5780630d3581811461047f5780630fad0eb1146104a45780631aa41163146104b7575f80fd5b80630232ca49146103c3578063036b1ffb1461040b57806308077cd91461042057806309648a9d14610433575b5f80fd5b6103ee6103d13660046136d3565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61041e610419366004613a7f565b610a4d565b005b61041e61042e366004613bfb565b610a92565b61045a610441366004613c3e565b5f90815260066020526040902054610100900460ff1690565b60405160ff9091168152602001610402565b61041e61047a366004613d04565b610aba565b61045a61048d366004613d74565b60ff9081165f908152602081905260409020541690565b61041e6104b2366004613d8f565b610ae7565b61041e6104c5366004613dc6565b610b04565b61041e6104d8366004613f5f565b610b44565b6103ee6104eb3660046136d3565b6001600160601b039081165f908152600260205260409020541690565b6103ee610516366004613fbc565b610b6b565b61041e610529366004613d8f565b610b88565b61041e61053c3660046140b8565b610b9f565b61055461054f3660046141e9565b610bc7565b6040516001600160401b039091168152602001610402565b61041e61057a366004614222565b610c70565b61059261058d366004613c3e565b610c86565b6040519015158152602001610402565b61041e6105b0366004613d8f565b610d0e565b61041e6105c33660046142f8565b610d25565b61041e6105d63660046143c0565b610d4d565b61041e6105e9366004614507565b610deb565b61041e6105fc366004614549565b610e89565b6103ee61060f366004613fbc565b610eb1565b6103ee610622366004613fbc565b610ec5565b61041e6106353660046146d3565b610ed9565b61064d610648366004613c3e565b611031565b604051610402919061474f565b61041e6106683660046147cb565b6110d3565b6106b661067b3660046136d3565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b0394851681529284166020840152921691810191909152606001610402565b61041e6106ee36600461485a565b611171565b61041e6107013660046148b1565b611199565b61041e6107143660046148f4565b611231565b61041e61072736600461490f565b6112b3565b61041e61073a36600461492b565b611340565b61041e6113de565b61075a610755366004613c3e565b61155a565b604051610402919061496e565b6103ee6107753660046136d3565b6001600160601b039081165f908152600360205260409020541690565b61079a61167c565b6040516001600160e01b03199091168152602001610402565b61041e6107c13660046149ce565b6116b2565b61041e6107d4366004614a10565b6116e3565b61041e6107e7366004614a53565b611781565b6103ee6107fa366004613fbc565b6117a9565b61041e61080d36600461490f565b6117bd565b610892610820366004613c3e565b60408051608080820183525f8083526020808401829052838501829052606093840182905294815260068552839020835191820184525460ff80821683526101008204169482019490945264ffffffffff620100008504811693820193909352600160381b9093049091169082015290565b6040516104029190614a91565b61041e6108ad366004614ad4565b61180b565b61041e6108c036600461490f565b611832565b6103ee6108d3366004613fbc565b611880565b61041e6108e6366004614b28565b611894565b61041e6108f9366004614b7b565b6118bb565b61041e61090c366004614b97565b611908565b61059261091f366004613d74565b61191e565b61092c61196a565b6040516001600160a01b039091168152602001610402565b61041e610952366004614cfc565b611985565b61041e610965366004614d3f565b6119ad565b61041e610978366004614d81565b6119de565b6103ee61098b366004613fbc565b611a0f565b61059261099e366004614dc3565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b61041e6109db366004614df0565b611a23565b61041e6109ee366004613dc6565b611ac1565b610a06610a01366004614e41565b611b05565b604051908152602001610402565b61041e610a22366004614e6d565b611b86565b61041e610a35366004613d8f565b611bb7565b61041e610a48366004614eaf565b611bce565b610a59335b5f36611bf6565b610a8d610a67846015611cf4565b83604051602001610a789190614ef1565b60405160208183030381529060405283611d3f565b505050565b610a9b33610a52565b610a8d610aa9846016611cf4565b83604051602001610a789190615086565b610ac333610a52565b610ae1610ad08585611eb6565b83604051602001610a7891906150fa565b50505050565b610af033610a52565b610a8d610afe836015611cf4565b82611f05565b610b0d33610a52565b610b40610b1b836029611cf4565b82604051602001610b2c9190615158565b604051602081830303815290604052612269565b5050565b610b4d33610a52565b610a8d610b5a8484612695565b82604051602001610b2c91906151df565b5f610b7533610a52565b610b7f83836126e1565b90505b92915050565b610b9133610a52565b610a8d610afe83602b611cf4565b610ba833610a52565b610a8d610bb6846017611cf4565b83604051602001610a789190615279565b5f610bd133610a52565b610bd9612851565b604051630f37f38f60e41b81526001600160401b0382166004820152909150610c6b9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610c36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5a91906152c5565b83604051602001610b2c91906152dc565b919050565b610c7933610a52565b610ae1610afe8484611eb6565b5f8181526006602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610cea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b82919061539d565b610d1733610a52565b610a8d610afe836017611cf4565b610d2e33610a52565b610b40610d3c83600f611cf4565b82604051602001610b2c91906153b8565b610d5633610a52565b6040516355ee627560e01b8152610b409073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610d9b906001600160c01b0319871690600401615437565b602060405180830381865af4158015610db6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dda91906152c5565b82604051602001610b2c919061544c565b610df433610a52565b6040516355ee627560e01b8152610b409073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e39906001600160c01b0319871690600401615437565b602060405180830381865af4158015610e54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e7891906152c5565b82604051602001610b2c9190615501565b610e9233610a52565b610b40610ea083602b611cf4565b82604051602001610b2c91906155df565b5f610ebb33610a52565b610b7f83836128e1565b5f610ecf33610a52565b610b7f8383612a39565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610f3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5f919061539d565b15610f8d5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610fce5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610f84565b60ff8084165f90815260016020908152604080832088851684528252808320858516845290915290205416610ae15760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401610f84565b5f818152600660205260409020600101805460609190611050906157cf565b80601f016020809104026020016040519081016040528092919081815260200182805461107c906157cf565b80156110c75780601f1061109e576101008083540402835291602001916110c7565b820191905f5260205f20905b8154815290600101906020018083116110aa57829003601f168201915b50505050509050919050565b6110dc33610a52565b6040516355ee627560e01b8152610a8d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611121906001600160c01b0319881690600401615437565b602060405180830381865af415801561113c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061116091906152c5565b83604051602001610a789190615807565b61117a33610a52565b610a8d61118884600b611cf4565b83604051602001610a789190615845565b6111a233610a52565b604051630f37f38f60e41b81526001600160401b0384166004820152610a8d9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af41580156111fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061122091906152c5565b83604051602001610a7891906152dc565b3361123a61196a565b6001600160a01b0316816001600160a01b0316146112755760405162d1953b60e31b81526001600160a01b0382166004820152602401610f84565b816001600160a01b03163b5f036112aa576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f84565b610b4082612b91565b6112bc33610a52565b6040516355ee627560e01b8152610a8d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611301906001600160c01b0319871690600401615437565b602060405180830381865af415801561131c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe91906152c5565b61134933610a52565b6040516355ee627560e01b8152610a8d9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061138e906001600160c01b0319881690600401615437565b602060405180830381865af41580156113a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113cd91906152c5565b83604051602001610a789190615501565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156114225750825b90505f826001600160401b0316600114801561143d5750303b155b90508115801561144b575080155b156114695760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561149357845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f89190615893565b905061150381612bf1565b61150b612c05565b5050831561155357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b6040805160c0810182525f91810182815260608083018490526080830184905260a0830193909352815260208101919091525f82815260066020908152604091829020825160c081018452815460ff808216958301958652610100820416606083015264ffffffffff62010000820481166080840152600160381b9091041660a082015292835260018101805491928401916115f5906157cf565b80601f0160208091040260200160405190810160405280929190818152602001828054611621906157cf565b801561166c5780601f106116435761010080835404028352916020019161166c565b820191905f5260205f20905b81548152906001019060200180831161164f57829003601f168201915b5050505050815250509050919050565b5f80516020615c4e83398151915280545f9190600160a01b900460ff166116a3575f6116ac565b638fb3603760e01b5b91505090565b6116bb33610a52565b6116c482612c17565b610b406116d2836015611cf4565b82604051602001610b2c9190614ef1565b6116ec33610a52565b6040516355ee627560e01b8152610a8d9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611731906001600160c01b0319881690600401615437565b602060405180830381865af415801561174c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177091906152c5565b83604051602001610a78919061544c565b61178a33610a52565b610a8d61179884600f611cf4565b83604051602001610a7891906153b8565b5f6117b333610a52565b610b7f8383612d1a565b6117c633610a52565b6040516355ee627560e01b8152610a8d9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611301906001600160c01b0319871690600401615437565b61181433610a52565b610ae16118218585612695565b83604051602001610a7891906151df565b61183b33610a52565b6040516355ee627560e01b8152610a8d9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611301906001600160c01b0319871690600401615437565b5f61188a33610a52565b610b7f8383612e72565b61189d33610a52565b610a8d6118aa8484611eb6565b82604051602001610b2c91906150fa565b6118c433610a52565b604051630f37f38f60e41b81526001600160401b0383166004820152610a8d9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401611301565b61191133610a52565b610ae1610afe8484612695565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610ccf565b5f80516020615c4e833981519152546001600160a01b031690565b61198e33610a52565b610a8d61199c84600c611cf4565b83604051602001610a7891906158f1565b6119b633610a52565b6119bf82612c17565b610b406119cd836016611cf4565b82604051602001610b2c9190615086565b6119e733610a52565b6119f082612c17565b610b406119fe83600b611cf4565b82604051602001610b2c9190615845565b5f611a1933610a52565b610b7f8383612fca565b611a2c33610a52565b6040516355ee627560e01b8152610b409073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611a71906001600160c01b0319871690600401615437565b602060405180830381865af4158015611a8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab091906152c5565b82604051602001610b2c9190615807565b611aca33610a52565b610b40611ad8836029611cf4565b82604051602001611ae99190615158565b604051602081830303815290604052611b0060ff90565b611d3f565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611b62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7f91906152c5565b611b8f33610a52565b611b9882612c17565b610b40611ba6836017611cf4565b82604051602001610b2c9190615279565b611bc033610a52565b610a8d610afe836016611cf4565b611bd733610a52565b610b40611be583600c611cf4565b82604051602001610b2c91906158f1565b5f80516020615c4e8339815191525f80611c2e611c1161196a565b8730611c2060045f8a8c615981565b611c29916159a8565b613122565b9150915081611cec5763ffffffff811615611cc957825460ff60a01b1916600160a01b178355611c5c61196a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c8b939291906159de565b5f604051808303815f87803b158015611ca2575f80fd5b505af1158015611cb4573d5f803e3d5ffd5b5050845460ff60a01b1916855550611cec9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610f84565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611b47565b5f611d4a8483611f05565b5f858152600660205260409020909150600101611d678482615a61565b50604051634b00e98f60e11b8152600481018590527fdbbb264bf3560def22c1457cb693395546e7a0a2053566eb78e6f5eebf9831979073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611dd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dfc9190615b1b565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611e4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6e9190615b36565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015264ffffffffff841660a082015290519081900360c00190a150505050565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611b47565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611f57573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7b919061539d565b15611f9c5760405163093b89e160e11b815260048101849052602401610f84565b505f82815260066020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930464ffffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612013573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612037919061539d565b156120585760405163566ebf7960e01b815260048101869052602401610f84565b60ff808516146121d657815461207490829060ff168187610ed9565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527f8f1ee60b80a6d161c3408fa78af057311e20d28c1a7a12a336a549e26d7104b69073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156120f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061211a9190615b1b565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612168573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061218c9190615b36565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015264ffffffffff851660c082015260e00160405180910390a15b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561221d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122419190615b51565b825464ffffffffff91909116620100000266ffffffffff000019909116179091555092915050565b604051634b00e98f60e11b8152600481018390525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156122b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122dd9190615b1b565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015612330573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612354919061539d565b15612377576040516307014a8d60e51b815260ff82166004820152602401610f84565b5f83815260066020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af41580156123dd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612401919061539d565b1561242b57604051633f92eac960e21b81526004810185905260ff83166024820152604401610f84565b6124348261191e565b61245657604051636cb0978b60e11b815260ff83166004820152602401610f84565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561249e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124c29190615b51565b60ff8085165f908152602081905260408120549293509116835460ff86811661ffff199092169190911761010091831691909102176bffffffffffffffffffff000019166201000064ffffffffff85169081026bffffffffff00000000000000191691909117600160381b919091021784555f8781526006602052604090209091506001016125518682615a61565b50604051634b00e98f60e11b8152600481018790527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156125c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125e69190615b1b565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612634573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126589190615b36565b6040805160ff938416815260ff199290921660208301529184168183015233606082015232608082015290519081900360a00190a1505050505050565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611b47565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612750573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612774919061539d565b61279c57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f908152600360205260409020546127c091168461322a565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fc813323abc29b7cc59ddd274e5941cad2a987aa85c181fbde230bfb449b00096916128399187918791879164ffffffffff90911690615b6c565b60405180910390a161284a846132af565b5092915050565b600780545f918261286183615b9c565b9091555050600754604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af41580156128b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128dc9190615bc0565b905090565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612950573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612974919061539d565b61299c57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f908152600460205260409020546129c091168461334e565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f5d0252a8f87c13449ff1a0e89d6a9d8dff6a3860c4cbbae6bd98d16f0924115b916128399187918791879164ffffffffff90911690615b6c565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612aa8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612acc919061539d565b612af457604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f90815260036020526040902054612b1891168461334e565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fcc72dbc9604f941e2273f4dfa0b71700384aa0f5da7c3fef80ecb075ac0010f8916128399187918791879164ffffffffff90911690615b6c565b5f80516020615c4e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612bf9613398565b612c02816133e1565b50565b612c0d613398565b612c156133f2565b565b6001600160601b0381165f9081526005602052604090819020549051638d38cd4b60e01b815264ffffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612c85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ca9919061539d565b15612cd2576040516314d5804160e01b81526001600160601b0382166004820152602401610f84565b612cdb816132af565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612d89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dad919061539d565b612dd557604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f90815260026020526040902054612df991168461322a565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fa9c12735dda7f4e5a00ab4e6a4cfdc194c4f03f3885a5f18abfa66b77b8cdae3916128399187918791879164ffffffffff90911690615b6c565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015612ee1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f05919061539d565b612f2d57604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f90815260026020526040902054612f5191168461334e565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f561cfda68ea43752c3141f3761d148409c741e20d766a95c64721f2c6ace5ba2916128399187918791879164ffffffffff90911690615b6c565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613039573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061305d919061539d565b61308557604051631e94ffd760e11b81526001600160601b0382166004820152602401610f84565b6001600160601b038085165f908152600460205260409020546130a991168461322a565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f52a6c3cc342afb5a41442a5b4757dbdd11e508f0f75a902a75a29d0409905a99916128399187918791879164ffffffffff90911690615b6c565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516131909190615bdb565b5f60405180830381855afa9150503d805f81146131c8576040519150601f19603f3d011682016040523d82523d5f602084013e6131cd565b606091505b5091509150811561321f5760408151106131ff57808060200190518101906131f59190615bf1565b909450925061321f565b602081511061321f578080602001905181019061321c919061539d565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af415801561328b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7f9190615c1e565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156132f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061331a9190615b51565b6001600160601b03919091165f908152600560205260409020805464ffffffffff191664ffffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401613270565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612c1557604051631afcd79f60e31b815260040160405180910390fd5b6133e9613398565b612c0281612b91565b6133fa61344a565b613402613467565b61340a61349b565b6134126134df565b61341a6134fb565b613422613548565b61342a613568565b61343261357c565b61343a6135bb565b6134426135c5565b612c156135d9565b61345760165b6005613601565b612c1560165b60055b60c8613643565b613471600b613450565b61347f600b6005606e613643565b61348d600b606e6005613643565b612c15600b606e60d2613643565b6134a76015600a613601565b6134b66015600a5b6014613643565b6134c56015600a5b601e613643565b6134d36015600a6028613643565b612c1560156028613460565b6134ec602b5b603c613601565b612c15602b5b603c60dc613643565b613507602d6032613601565b613513602d60326134af565b613521602d60326033613643565b61352d602d60326134be565b613539602d6033613460565b612c15602d60335b6048613643565b613552602e6134e5565b61355c602e6134f2565b612c15602e603c613541565b613572602c613450565b612c15602c61345d565b613586602f613450565b613595602f60055b6046613643565b6135a3602f60056007613643565b6135af602f600761358e565b612c15602f6005613541565b612c15600f613450565b6135cf600c613450565b612c156029613450565b6135e3600e613450565b6135ed6017613450565b6135f76030613450565b612c156031613450565b60ff8281165f90815260208190526040902054161561362257613622615c39565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f908152600160209081526040808320868516845282528083208585168452909152902054161561367b5761367b615c39565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b0381168114612c02575f80fd5b8035610c6b816136b4565b5f602082840312156136e3575f80fd5b81356136ee816136b4565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b038111828210171561372c5761372c6136f5565b60405290565b60405160c081016001600160401b038111828210171561372c5761372c6136f5565b60405160e081016001600160401b038111828210171561372c5761372c6136f5565b60405161010081016001600160401b038111828210171561372c5761372c6136f5565b60405161014081016001600160401b038111828210171561372c5761372c6136f5565b60405161024081016001600160401b038111828210171561372c5761372c6136f5565b604051606081016001600160401b038111828210171561372c5761372c6136f5565b604051601f8201601f191681016001600160401b0381118282101715613829576138296136f5565b604052919050565b6001600160c01b031981168114612c02575f80fd5b8035610c6b81613831565b61ffff81168114612c02575f80fd5b8035610c6b81613851565b64ffffffffff81168114612c02575f80fd5b8035610c6b8161386b565b5f82601f830112613897575f80fd5b8135602083015f806001600160401b038411156138b6576138b66136f5565b50601f8301601f19166020016138cb81613801565b9150508281528583830111156138df575f80fd5b828260208301375f92810160200192909252509392505050565b5f610200828403121561390a575f80fd5b613912613709565b905061391d826136c8565b815261392b602083016136c8565b602082015261393c60408301613846565b604082015261394d606083016136c8565b606082015261395e608083016136c8565b608082015261396f60a08301613846565b60a082015261398060c08301613860565b60c082015261399160e08301613860565b60e08201526139a361010083016136c8565b6101008201526139b661012083016136c8565b6101208201526139c9610140830161387d565b6101408201526139dc610160830161387d565b6101608201526139ef610180830161387d565b610180820152613a026101a0830161387d565b6101a08201526101c08201356001600160401b03811115613a21575f80fd5b613a2d84828501613888565b6101c0830152506101e08201356001600160401b03811115613a4d575f80fd5b613a5984828501613888565b6101e08301525092915050565b60ff81168114612c02575f80fd5b8035610c6b81613a66565b5f805f60608486031215613a91575f80fd5b8335613a9c816136b4565b925060208401356001600160401b03811115613ab6575f80fd5b613ac2868287016138f9565b9250506040840135613ad381613a66565b809150509250925092565b6001600160a01b0381168114612c02575f80fd5b8035610c6b81613ade565b5f60408284031215613b0d575f80fd5b604080519081016001600160401b0381118282101715613b2f57613b2f6136f5565b6040529050808235613b4081613ade565b81526020830135613b50816136b4565b6020919091015292915050565b5f60e08284031215613b6d575f80fd5b613b75613732565b90508135613b828161386b565b81526020820135613b928161386b565b6020820152613ba36040830161387d565b6040820152613bb4606083016136c8565b6060820152613bc68360808401613afd565b608082015260c08201356001600160401b03811115613be3575f80fd5b613bef84828501613888565b60a08301525092915050565b5f805f60608486031215613c0d575f80fd5b8335613c18816136b4565b925060208401356001600160401b03811115613c32575f80fd5b613ac286828701613b5d565b5f60208284031215613c4e575f80fd5b5035919050565b5f60a08284031215613c65575f80fd5b60405160a081016001600160401b0381118282101715613c8757613c876136f5565b6040529050808235613c9881613851565b81526020830135613ca8816136b4565b60208201526040830135613cbb8161386b565b60408201526060830135613cce81613ade565b606082015260808301356001600160401b03811115613ceb575f80fd5b613cf785828601613888565b6080830152505092915050565b5f805f8060808587031215613d17575f80fd5b8435613d22816136b4565b93506020850135613d328161386b565b925060408501356001600160401b03811115613d4c575f80fd5b613d5887828801613c55565b9250506060850135613d6981613a66565b939692955090935050565b5f60208284031215613d84575f80fd5b81356136ee81613a66565b5f8060408385031215613da0575f80fd5b8235613dab816136b4565b91506020830135613dbb81613a66565b809150509250929050565b5f808284036101e0811215613dd9575f80fd5b8335613de4816136b4565b92506101c0601f1982011215613df8575f80fd5b50613e01613754565b613e0e8560208601613afd565b8152613e1d8560608601613afd565b6020820152613e2f8560a08601613afd565b6040820152613e418560e08601613afd565b6060820152613e54856101208601613afd565b6080820152613e67856101608601613afd565b60a0820152613e7a856101a08601613afd565b60c0820152809150509250929050565b803562ffffff81168114610c6b575f80fd5b5f60e08284031215613eac575f80fd5b613eb4613754565b9050613ebf826136c8565b8152613ecd602083016136c8565b6020820152613ede6040830161387d565b6040820152613eef60608301613e8a565b6060820152613f0060808301613e8a565b608082015260a08201356001600160401b03811115613f1d575f80fd5b613f2984828501613888565b60a08301525060c08201356001600160401b03811115613f47575f80fd5b613f5384828501613888565b60c08301525092915050565b5f805f60608486031215613f71575f80fd5b8335613f7c816136b4565b92506020840135613f8c81613851565b915060408401356001600160401b03811115613fa6575f80fd5b613fb286828701613e9c565b9150509250925092565b5f8060408385031215613fcd575f80fd5b8235613fd8816136b4565b91506020830135613dbb816136b4565b8015158114612c02575f80fd5b8035610c6b81613fe8565b63ffffffff81168114612c02575f80fd5b8035610c6b81614000565b5f6080828403121561402c575f80fd5b604051608081016001600160401b038111828210171561404e5761404e6136f5565b604052905080823561405f81613831565b8152602083013561406f81613fe8565b6020820152604083013561408281614000565b604082015260608301356001600160401b0381111561409f575f80fd5b6140ab85828601613888565b6060830152505092915050565b5f805f606084860312156140ca575f80fd5b83356140d5816136b4565b925060208401356001600160401b038111156140ef575f80fd5b613ac28682870161401c565b5f610100828403121561410c575f80fd5b614114613776565b905061411f826136c8565b815261412d602083016136c8565b602082015261413e60408301613ff5565b604082015261414f6060830161387d565b60608201526141606080830161387d565b608082015260a08201356001600160401b0381111561417d575f80fd5b61418984828501613888565b60a08301525060c08201356001600160401b038111156141a7575f80fd5b6141b384828501613888565b60c08301525060e08201356001600160401b038111156141d1575f80fd5b6141dd84828501613888565b60e08301525092915050565b5f602082840312156141f9575f80fd5b81356001600160401b0381111561420e575f80fd5b61421a848285016140fb565b949350505050565b5f805f60608486031215614234575f80fd5b833561423f816136b4565b9250602084013561424f8161386b565b91506040840135613ad381613a66565b5f60e0828403121561426f575f80fd5b614277613754565b90508135614284816136b4565b8152602082013561429481613ade565b602082015260408201356142a781613ade565b604082015260608201356142ba81613fe8565b60608201526142cb60808301613ff5565b60808201526142dc60a08301613ff5565b60a08201526142ed60c08301613ff5565b60c082015292915050565b5f80610100838503121561430a575f80fd5b8235614315816136b4565b9150614324846020850161425f565b90509250929050565b5f610100828403121561433e575f80fd5b614346613776565b9050614351826136c8565b815261435f602083016136c8565b602082015261437060408301614011565b604082015261438160608301614011565b606082015261439260808301613af2565b60808201526143a360a0830161387d565b60a082015260c08201356001600160401b038111156141a7575f80fd5b5f80604083850312156143d1575f80fd5b82356143dc81613831565b915060208301356001600160401b038111156143f6575f80fd5b6144028582860161432d565b9150509250929050565b5f610140828403121561441d575f80fd5b614425613799565b905061443082613af2565b815261443e602083016136c8565b602082015261444f60408301613af2565b604082015261446060608301614011565b60608201526144716080830161387d565b608082015261448260a08301613ff5565b60a082015261449360c08301613ff5565b60c08201526144a460e08301613af2565b60e08201526101008201356001600160401b038111156144c2575f80fd5b6144ce84828501613888565b610100830152506101208201356001600160401b038111156144ee575f80fd5b6144fa84828501613888565b6101208301525092915050565b5f8060408385031215614518575f80fd5b823561452381613831565b915060208301356001600160401b0381111561453d575f80fd5b6144028582860161440c565b5f8082840361026081121561455c575f80fd5b8335614567816136b4565b9250610240601f198201121561457b575f80fd5b506145846137bc565b614590602085016136c8565b815261459e604085016136c8565b60208201526145af606085016136c8565b60408201526145c0608085016136c8565b60608201526145d160a085016136c8565b60808201526145e260c085016136c8565b60a08201526145f360e085016136c8565b60c082015261460561010085016136c8565b60e082015261461761012085016136c8565b61010082015261462a61014085016136c8565b61012082015261463d61016085016136c8565b61014082015261465061018085016136c8565b6101608201526146636101a085016136c8565b6101808201526146766101c085016136c8565b6101a08201526146896101e085016136c8565b6101c082015261469c61020085016136c8565b6101e08201526146af61022085016136c8565b6102008201526146c261024085016136c8565b610220820152809150509250929050565b5f805f80608085870312156146e6575f80fd5b84356146f181613a66565b9350602085013561470181613a66565b9250604085013561471181613a66565b91506060850135613d6981613a66565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610b7f6020830184614721565b5f60608284031215614771575f80fd5b6147796137df565b90508135614786816136b4565b815260208201356147968161386b565b602082015260408201356001600160401b038111156147b3575f80fd5b6147bf84828501613888565b60408301525092915050565b5f805f606084860312156147dd575f80fd5b83356147e881613831565b925060208401356001600160401b03811115614802575f80fd5b613ac286828701614761565b5f6060828403121561481e575f80fd5b6148266137df565b905081356001600160401b0381111561483d575f80fd5b61484984828501613888565b825250602082013561479681613ade565b5f805f6060848603121561486c575f80fd5b8335614877816136b4565b925060208401356001600160401b03811115614891575f80fd5b613ac28682870161480e565b6001600160401b0381168114612c02575f80fd5b5f805f606084860312156148c3575f80fd5b83356148ce8161489d565b925060208401356001600160401b038111156148e8575f80fd5b613ac2868287016140fb565b5f60208284031215614904575f80fd5b81356136ee81613ade565b5f8060408385031215614920575f80fd5b8235613dab81613831565b5f805f6060848603121561493d575f80fd5b833561494881613831565b925060208401356001600160401b03811115614962575f80fd5b613ac28682870161440c565b602081526149b560208201835160ff815116825260ff602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b5f602083015160a08084015261421a60c0840182614721565b5f80604083850312156149df575f80fd5b82356149ea816136b4565b915060208301356001600160401b03811115614a04575f80fd5b614402858286016138f9565b5f805f60608486031215614a22575f80fd5b8335614a2d81613831565b925060208401356001600160401b03811115614a47575f80fd5b613ac28682870161432d565b5f805f6101208486031215614a66575f80fd5b8335614a71816136b4565b9250614a80856020860161425f565b9150610100840135613ad381613a66565b60808101610b82828460ff815116825260ff602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b5f805f8060808587031215614ae7575f80fd5b8435614af2816136b4565b93506020850135614b0281613851565b925060408501356001600160401b03811115614b1c575f80fd5b613d5887828801613e9c565b5f805f60608486031215614b3a575f80fd5b8335614b45816136b4565b92506020840135614b558161386b565b915060408401356001600160401b03811115614b6f575f80fd5b613fb286828701613c55565b5f8060408385031215614b8c575f80fd5b8235613dab8161489d565b5f805f60608486031215614ba9575f80fd5b8335614bb4816136b4565b9250602084013561424f81613851565b5f82601f830112614bd3575f80fd5b81356001600160401b03811115614bec57614bec6136f5565b8060051b614bfc60208201613801565b91825260208185018101929081019086841115614c17575f80fd5b6020860192505b83831015614c42578235614c31816136b4565b825260209283019290910190614c1e565b9695505050505050565b5f6101008284031215614c5d575f80fd5b614c65613776565b9050614c7082613ff5565b8152614c7e60208301613ff5565b6020820152614c8f60408301613ff5565b6040820152614ca060608301613a74565b6060820152614cb160808301613a74565b6080820152614cc260a083016136c8565b60a0820152614cd360c083016136c8565b60c082015260e08201356001600160401b03811115614cf0575f80fd5b6141dd84828501614bc4565b5f805f60608486031215614d0e575f80fd5b8335614d19816136b4565b925060208401356001600160401b03811115614d33575f80fd5b613ac286828701614c4c565b5f8060408385031215614d50575f80fd5b8235614d5b816136b4565b915060208301356001600160401b03811115614d75575f80fd5b61440285828601613b5d565b5f8060408385031215614d92575f80fd5b8235614d9d816136b4565b915060208301356001600160401b03811115614db7575f80fd5b6144028582860161480e565b5f805f60608486031215614dd5575f80fd5b8335614de081613a66565b9250602084013561424f81613a66565b5f8060408385031215614e01575f80fd5b8235614e0c81613831565b915060208301356001600160401b03811115614e26575f80fd5b61440285828601614761565b60ff1981168114612c02575f80fd5b5f8060408385031215614e52575f80fd5b8235614e5d81613a66565b91506020830135613dbb81614e32565b5f8060408385031215614e7e575f80fd5b8235614e89816136b4565b915060208301356001600160401b03811115614ea3575f80fd5b6144028582860161401c565b5f8060408385031215614ec0575f80fd5b8235614ecb816136b4565b915060208301356001600160401b03811115614ee5575f80fd5b61440285828601614c4c565b60208152614f0b6020820183516001600160601b03169052565b5f6020830151614f2660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e084015261503d610220840182614721565b90506101e0840151601f198483030161020085015261505c8282614721565b95945050505050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f60808301516150e060a0840182615065565b5060a083015160e08084015261421a610100840182614721565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a08084015261421a60c0840182614721565b5f6101c08201905061516b828451615065565b602083015161517d6040840182615065565b5060408301516151906080840182615065565b5060608301516151a360c0840182615065565b5060808301516151b7610100840182615065565b5060a08301516151cb610140840182615065565b5060c083015161284a610180840182615065565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f604083015161521f606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c084015261525c610100840182614721565b905060c0840151601f198483030160e085015261505c8282614721565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f606083015160808084015261421a60a0840182614721565b5f602082840312156152d5575f80fd5b5051919050565b602081526152f66020820183516001600160601b03169052565b5f602083015161531160408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c0840152615361610120840182614721565b905060c0840151601f198483030160e085015261537e8282614721565b91505060e0840151601f198483030161010085015261505c8282614721565b5f602082840312156153ad575f80fd5b81516136ee81613fe8565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b036040840151166040830152606083015115156060830152608083015161540f608084018215159052565b5060a083015161542360a084018215159052565b5060c083015161284a60c084018215159052565b6001600160c01b031991909116815260200190565b602081526001600160601b0382511660208201525f602083015161547b60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526154e3610120840182614721565b905060e0840151601f198483030161010085015261505c8282614721565b6020815261551b6020820183516001600160a01b03169052565b5f602083015161553660408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526155c0610160840182614721565b9050610120840151601f198483030161014085015261505c8282614721565b81516001600160601b031681526102408101602083015161560b60208401826001600160601b03169052565b50604083015161562660408401826001600160601b03169052565b50606083015161564160608401826001600160601b03169052565b50608083015161565c60808401826001600160601b03169052565b5060a083015161567760a08401826001600160601b03169052565b5060c083015161569260c08401826001600160601b03169052565b5060e08301516156ad60e08401826001600160601b03169052565b506101008301516156ca6101008401826001600160601b03169052565b506101208301516156e76101208401826001600160601b03169052565b506101408301516157046101408401826001600160601b03169052565b506101608301516157216101608401826001600160601b03169052565b5061018083015161573e6101808401826001600160601b03169052565b506101a083015161575b6101a08401826001600160601b03169052565b506101c08301516157786101c08401826001600160601b03169052565b506101e08301516157956101e08401826001600160601b03169052565b506102008301516157b26102008401826001600160601b03169052565b5061022083015161284a6102208401826001600160601b03169052565b600181811c908216806157e357607f821691505b60208210810361580157634e487b7160e01b5f52602260045260245ffd5b50919050565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f604083015160608084015261421a6080840182614721565b602081525f8251606060208401526158606080840182614721565b60208501516001600160a01b0316604085810191909152850151848203601f1901606086015290915061505c8282614721565b5f602082840312156158a3575f80fd5b81516136ee81613ade565b5f8151808452602084019350602083015f5b828110156158e75781516001600160601b03168652602095860195909101906001016158c0565b5093949350505050565b602081528151151560208201526020820151151560408201525f604083015161591e606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101008084015261421a6101208401826158ae565b5f808585111561598f575f80fd5b8386111561599b575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561284a576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f821115610a8d57805f5260205f20601f840160051c81016020851015615a425750805b601f840160051c820191505b81811015611553575f8155600101615a4e565b81516001600160401b03811115615a7a57615a7a6136f5565b615a8e81615a8884546157cf565b84615a1d565b6020601f821160018114615ac0575f8315615aa95750848201515b5f19600385901b1c1916600184901b178455611553565b5f84815260208120601f198516915b82811015615aef5787850151825560209485019460019092019101615acf565b5084821015615b0c57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215615b2b575f80fd5b81516136ee81613a66565b5f60208284031215615b46575f80fd5b81516136ee81614e32565b5f60208284031215615b61575f80fd5b81516136ee8161386b565b6001600160601b03948516815292841660208401529216604082015264ffffffffff909116606082015260800190565b5f60018201615bb957634e487b7160e01b5f52601160045260245ffd5b5060010190565b5f60208284031215615bd0575f80fd5b81516136ee8161489d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615c02575f80fd5b8251615c0d81613fe8565b6020840151909250613dbb81614000565b5f60208284031215615c2e575f80fd5b81516136ee816136b4565b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122097fe7f511433f813a19cfa1e79a280e383cf07e9a342e4ded63723203de7cb6464736f6c634300081a0033",
3348
+ "linkReferences": {
3349
+ "contracts/type/Amount.sol": {
3350
+ "AmountLib": [
3351
+ {
3352
+ "length": 20,
3353
+ "start": 12914
3354
+ },
3355
+ {
3356
+ "length": 20,
3357
+ "start": 13206
3358
+ }
3359
+ ]
3360
+ },
3361
+ "contracts/type/Blocknumber.sol": {
3362
+ "BlocknumberLib": [
3363
+ {
3364
+ "length": 20,
3365
+ "start": 8696
3366
+ },
3367
+ {
3368
+ "length": 20,
3369
+ "start": 9337
3370
+ },
3371
+ {
3372
+ "length": 20,
3373
+ "start": 10040
3374
+ },
3375
+ {
3376
+ "length": 20,
3377
+ "start": 10552
3378
+ },
3379
+ {
3380
+ "length": 20,
3381
+ "start": 10896
3382
+ },
3383
+ {
3384
+ "length": 20,
3385
+ "start": 11373
3386
+ },
3387
+ {
3388
+ "length": 20,
3389
+ "start": 11633
3390
+ },
3391
+ {
3392
+ "length": 20,
3393
+ "start": 11977
3394
+ },
3395
+ {
3396
+ "length": 20,
3397
+ "start": 12321
3398
+ },
3399
+ {
3400
+ "length": 20,
3401
+ "start": 13009
3402
+ }
3403
+ ]
3404
+ },
3405
+ "contracts/type/ClaimId.sol": {
3406
+ "ClaimIdLib": [
3407
+ {
3408
+ "length": 20,
3409
+ "start": 9951
3410
+ }
3411
+ ]
3412
+ },
3413
+ "contracts/type/DistributorType.sol": {
3414
+ "DistributorTypeLib": [
3415
+ {
3416
+ "length": 20,
3417
+ "start": 3623
3418
+ },
3419
+ {
3420
+ "length": 20,
3421
+ "start": 4988
3422
+ },
3423
+ {
3424
+ "length": 20,
3425
+ "start": 6137
3426
+ }
3427
+ ]
3428
+ },
3429
+ "contracts/type/Key32.sol": {
3430
+ "Key32Lib": [
3431
+ {
3432
+ "length": 20,
3433
+ "start": 6985
3434
+ },
3435
+ {
3436
+ "length": 20,
3437
+ "start": 7616
3438
+ },
3439
+ {
3440
+ "length": 20,
3441
+ "start": 7730
3442
+ },
3443
+ {
3444
+ "length": 20,
3445
+ "start": 8414
3446
+ },
3447
+ {
3448
+ "length": 20,
3449
+ "start": 8528
3450
+ },
3451
+ {
3452
+ "length": 20,
3453
+ "start": 8865
3454
+ },
3455
+ {
3456
+ "length": 20,
3457
+ "start": 9642
3458
+ },
3459
+ {
3460
+ "length": 20,
3461
+ "start": 9756
3462
+ }
3463
+ ]
3464
+ },
3465
+ "contracts/type/NftId.sol": {
3466
+ "NftIdLib": [
3467
+ {
3468
+ "length": 20,
3469
+ "start": 7485
3470
+ }
3471
+ ]
3472
+ },
3473
+ "contracts/type/ObjectType.sol": {
3474
+ "ObjectTypeLib": [
3475
+ {
3476
+ "length": 20,
3477
+ "start": 8984
3478
+ }
3479
+ ]
3480
+ },
3481
+ "contracts/type/PayoutId.sol": {
3482
+ "PayoutIdLib": [
3483
+ {
3484
+ "length": 20,
3485
+ "start": 7939
3486
+ }
3487
+ ]
3488
+ },
3489
+ "contracts/type/Referral.sol": {
3490
+ "ReferralLib": [
3491
+ {
3492
+ "length": 20,
3493
+ "start": 3465
3494
+ },
3495
+ {
3496
+ "length": 20,
3497
+ "start": 5919
3498
+ },
3499
+ {
3500
+ "length": 20,
3501
+ "start": 6254
3502
+ }
3503
+ ]
3504
+ },
3505
+ "contracts/type/RequestId.sol": {
3506
+ "RequestIdLib": [
3507
+ {
3508
+ "length": 20,
3509
+ "start": 3102
3510
+ },
3511
+ {
3512
+ "length": 20,
3513
+ "start": 4580
3514
+ },
3515
+ {
3516
+ "length": 20,
3517
+ "start": 6406
3518
+ },
3519
+ {
3520
+ "length": 20,
3521
+ "start": 10400
3522
+ }
3523
+ ]
3524
+ },
3525
+ "contracts/type/RiskId.sol": {
3526
+ "RiskIdLib": [
3527
+ {
3528
+ "length": 20,
3529
+ "start": 4367
3530
+ },
3531
+ {
3532
+ "length": 20,
3533
+ "start": 4847
3534
+ },
3535
+ {
3536
+ "length": 20,
3537
+ "start": 6751
3538
+ }
3539
+ ]
3540
+ },
3541
+ "contracts/type/StateId.sol": {
3542
+ "StateIdLib": [
3543
+ {
3544
+ "length": 20,
3545
+ "start": 3281
3546
+ },
3547
+ {
3548
+ "length": 20,
3549
+ "start": 3875
3550
+ },
3551
+ {
3552
+ "length": 20,
3553
+ "start": 6504
3554
+ },
3555
+ {
3556
+ "length": 20,
3557
+ "start": 7999
3558
+ },
3559
+ {
3560
+ "length": 20,
3561
+ "start": 8187
3562
+ },
3563
+ {
3564
+ "length": 20,
3565
+ "start": 9157
3566
+ }
3567
+ ]
3568
+ }
3569
+ },
3570
+ "deployedLinkReferences": {
3571
+ "contracts/type/Amount.sol": {
3572
+ "AmountLib": [
3573
+ {
3574
+ "length": 20,
3575
+ "start": 12882
3576
+ },
3577
+ {
3578
+ "length": 20,
3579
+ "start": 13174
3580
+ }
3581
+ ]
3582
+ },
3583
+ "contracts/type/Blocknumber.sol": {
3584
+ "BlocknumberLib": [
3585
+ {
3586
+ "length": 20,
3587
+ "start": 8664
3588
+ },
3589
+ {
3590
+ "length": 20,
3591
+ "start": 9305
3592
+ },
3593
+ {
3594
+ "length": 20,
3595
+ "start": 10008
3596
+ },
3597
+ {
3598
+ "length": 20,
3599
+ "start": 10520
3600
+ },
3601
+ {
3602
+ "length": 20,
3603
+ "start": 10864
3604
+ },
3605
+ {
3606
+ "length": 20,
3607
+ "start": 11341
3608
+ },
3609
+ {
3610
+ "length": 20,
3611
+ "start": 11601
3612
+ },
3613
+ {
3614
+ "length": 20,
3615
+ "start": 11945
3616
+ },
3617
+ {
3618
+ "length": 20,
3619
+ "start": 12289
3620
+ },
3621
+ {
3622
+ "length": 20,
3623
+ "start": 12977
3624
+ }
3625
+ ]
3626
+ },
3627
+ "contracts/type/ClaimId.sol": {
3628
+ "ClaimIdLib": [
3629
+ {
3630
+ "length": 20,
3631
+ "start": 9919
3632
+ }
3633
+ ]
3634
+ },
3635
+ "contracts/type/DistributorType.sol": {
3636
+ "DistributorTypeLib": [
3637
+ {
3638
+ "length": 20,
3639
+ "start": 3591
3640
+ },
3641
+ {
3642
+ "length": 20,
3643
+ "start": 4956
3644
+ },
3645
+ {
3646
+ "length": 20,
3647
+ "start": 6105
3648
+ }
3649
+ ]
3650
+ },
3651
+ "contracts/type/Key32.sol": {
3652
+ "Key32Lib": [
3653
+ {
3654
+ "length": 20,
3655
+ "start": 6953
3656
+ },
3657
+ {
3658
+ "length": 20,
3659
+ "start": 7584
3660
+ },
3661
+ {
3662
+ "length": 20,
3663
+ "start": 7698
3664
+ },
3665
+ {
3666
+ "length": 20,
3667
+ "start": 8382
3668
+ },
3669
+ {
3670
+ "length": 20,
3671
+ "start": 8496
3672
+ },
3673
+ {
3674
+ "length": 20,
3675
+ "start": 8833
3676
+ },
3677
+ {
3678
+ "length": 20,
3679
+ "start": 9610
3680
+ },
3681
+ {
3682
+ "length": 20,
3683
+ "start": 9724
3684
+ }
3685
+ ]
3686
+ },
3687
+ "contracts/type/NftId.sol": {
3688
+ "NftIdLib": [
3689
+ {
3690
+ "length": 20,
3691
+ "start": 7453
3692
+ }
3693
+ ]
3694
+ },
3695
+ "contracts/type/ObjectType.sol": {
3696
+ "ObjectTypeLib": [
3697
+ {
3698
+ "length": 20,
3699
+ "start": 8952
3700
+ }
3701
+ ]
3702
+ },
3703
+ "contracts/type/PayoutId.sol": {
3704
+ "PayoutIdLib": [
3705
+ {
3706
+ "length": 20,
3707
+ "start": 7907
3708
+ }
3709
+ ]
3710
+ },
3711
+ "contracts/type/Referral.sol": {
3712
+ "ReferralLib": [
3713
+ {
3714
+ "length": 20,
3715
+ "start": 3433
3716
+ },
3717
+ {
3718
+ "length": 20,
3719
+ "start": 5887
3720
+ },
3721
+ {
3722
+ "length": 20,
3723
+ "start": 6222
3724
+ }
3725
+ ]
3726
+ },
3727
+ "contracts/type/RequestId.sol": {
3728
+ "RequestIdLib": [
3729
+ {
3730
+ "length": 20,
3731
+ "start": 3070
3732
+ },
3733
+ {
3734
+ "length": 20,
3735
+ "start": 4548
3736
+ },
3737
+ {
3738
+ "length": 20,
3739
+ "start": 6374
3740
+ },
3741
+ {
3742
+ "length": 20,
3743
+ "start": 10368
3744
+ }
3745
+ ]
3746
+ },
3747
+ "contracts/type/RiskId.sol": {
3748
+ "RiskIdLib": [
3749
+ {
3750
+ "length": 20,
3751
+ "start": 4335
3752
+ },
3753
+ {
3754
+ "length": 20,
3755
+ "start": 4815
3756
+ },
3757
+ {
3758
+ "length": 20,
3759
+ "start": 6719
3760
+ }
3761
+ ]
3762
+ },
3763
+ "contracts/type/StateId.sol": {
3764
+ "StateIdLib": [
3765
+ {
3766
+ "length": 20,
3767
+ "start": 3249
3768
+ },
3769
+ {
3770
+ "length": 20,
3771
+ "start": 3843
3772
+ },
3773
+ {
3774
+ "length": 20,
3775
+ "start": 6472
3776
+ },
3777
+ {
3778
+ "length": 20,
3779
+ "start": 7967
3780
+ },
3781
+ {
3782
+ "length": 20,
3783
+ "start": 8155
3784
+ },
3785
+ {
3786
+ "length": 20,
3787
+ "start": 9125
3788
+ }
3789
+ ]
3790
+ }
3791
+ }
3792
+ }