@etherisc/gif-next 0.0.2-f78c672-338 → 0.0.2-f78f882-351

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