@etherisc/gif-next 0.0.2-ff1bf36-818 → 0.0.2-ff3a8a0-504

Sign up to get free protection for your applications and to get access to all the features.
Files changed (547) hide show
  1. package/README.md +91 -8
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → accounting/IAccountingService.sol/IAccountingService.json} +408 -104
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +673 -262
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +456 -24
  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 +549 -209
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +215 -18
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +265 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +473 -17
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +196 -441
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +431 -36
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +115 -325
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +682 -375
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +218 -130
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +102 -160
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +478 -108
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1484 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2053 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  49. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1439 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2585 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  65. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  66. package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +55 -197
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  69. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  70. package/artifacts/contracts/{shared/KeyValueStore.sol/KeyValueStore.json → instance/IBaseStore.sol/IBaseStore.json} +34 -227
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +578 -65
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +395 -60
  75. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  76. package/artifacts/contracts/instance/Instance.sol/Instance.json +616 -183
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1021 -363
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +328 -92
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1635 -804
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +409 -231
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +143 -105
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1275 -1690
  89. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  91. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  93. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  95. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  96. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  97. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  98. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  100. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  101. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  102. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  104. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  109. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +148 -317
  112. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +429 -37
  114. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +116 -109
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  120. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +124 -269
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  122. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +198 -190
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +177 -97
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +173 -326
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  128. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +430 -35
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +352 -380
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  132. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +174 -126
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +247 -121
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  136. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +154 -158
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  138. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +500 -269
  139. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  140. package/artifacts/contracts/pool/Pool.sol/Pool.json +152 -308
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  142. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  144. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +723 -515
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  146. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +218 -110
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  148. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +357 -173
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +165 -97
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  152. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +305 -389
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  154. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +430 -35
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  156. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +458 -253
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  158. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +187 -123
  159. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +296 -9
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +335 -19
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +300 -64
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  166. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +183 -80
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  168. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +270 -202
  169. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  170. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +286 -21
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  172. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +428 -287
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  174. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  176. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +193 -121
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  178. package/artifacts/contracts/product/PricingService.sol/PricingService.json +247 -332
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  180. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +165 -137
  181. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  182. package/artifacts/contracts/product/Product.sol/Product.json +278 -362
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  184. package/artifacts/contracts/product/RiskService.sol/RiskService.json +364 -186
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  186. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +166 -94
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  188. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +359 -48
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  192. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  194. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  196. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  197. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  198. package/artifacts/contracts/registry/Registry.sol/Registry.json +565 -109
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  200. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +791 -377
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  202. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +136 -290
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  206. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +141 -89
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  210. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  212. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +483 -253
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  214. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +489 -20
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  216. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  217. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  218. package/artifacts/contracts/shared/Component.sol/Component.json +100 -227
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  220. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +496 -625
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  222. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +188 -130
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  231. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +93 -68
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  236. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +116 -109
  237. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  239. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  241. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  243. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  245. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  248. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  250. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +123 -268
  252. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  253. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  254. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  255. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  256. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  257. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +41 -57
  258. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  259. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  260. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +141 -97
  262. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  263. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  264. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Service.sol/Service.json +86 -111
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +327 -73
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  270. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
  272. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  273. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1512 -167
  274. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  275. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
  276. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  277. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  278. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  279. package/artifacts/contracts/staking/Staking.sol/Staking.json +1646 -402
  280. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  281. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  282. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  283. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +193 -107
  284. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  285. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +295 -183
  286. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  287. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +282 -281
  288. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +144 -96
  290. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  291. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1645 -790
  292. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  293. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  294. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +180 -77
  296. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  297. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/Amount.sol/AmountLib.json +35 -11
  299. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
  301. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  302. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  303. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  305. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  307. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  309. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  311. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  313. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  315. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  317. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  319. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  321. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  323. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  325. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  327. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +69 -2
  331. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  333. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  335. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  337. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  339. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +3 -3
  341. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +73 -36
  343. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  345. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  347. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  349. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +118 -79
  351. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  353. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  355. package/contracts/accounting/AccountingService.sol +274 -0
  356. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  357. package/contracts/accounting/IAccountingService.sol +47 -0
  358. package/contracts/authorization/AccessAdmin.sol +458 -269
  359. package/contracts/authorization/AccessAdminLib.sol +396 -0
  360. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  361. package/contracts/authorization/Authorization.sol +159 -207
  362. package/contracts/authorization/IAccess.sol +25 -6
  363. package/contracts/authorization/IAccessAdmin.sol +87 -79
  364. package/contracts/authorization/IAuthorization.sol +9 -37
  365. package/contracts/authorization/IServiceAuthorization.sol +57 -17
  366. package/contracts/authorization/ServiceAuthorization.sol +255 -25
  367. package/contracts/distribution/BasicDistribution.sol +20 -17
  368. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  369. package/contracts/distribution/Distribution.sol +44 -92
  370. package/contracts/distribution/DistributionService.sol +243 -117
  371. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  372. package/contracts/distribution/IDistributionComponent.sol +4 -11
  373. package/contracts/distribution/IDistributionService.sol +46 -26
  374. package/contracts/examples/fire/DamageLevel.sol +59 -0
  375. package/contracts/examples/fire/FirePool.sol +86 -0
  376. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  377. package/contracts/examples/fire/FireProduct.sol +433 -0
  378. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  379. package/contracts/examples/fire/FireUSD.sol +26 -0
  380. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  381. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  383. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  384. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  386. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  387. package/contracts/instance/BaseStore.sol +93 -0
  388. package/contracts/instance/BundleSet.sol +42 -38
  389. package/contracts/instance/IBaseStore.sol +37 -0
  390. package/contracts/instance/IInstance.sol +111 -18
  391. package/contracts/instance/IInstanceService.sol +61 -34
  392. package/contracts/instance/Instance.sol +197 -75
  393. package/contracts/instance/InstanceAdmin.sol +276 -182
  394. package/contracts/instance/InstanceAuthorizationV3.sol +152 -81
  395. package/contracts/instance/InstanceReader.sol +463 -257
  396. package/contracts/instance/InstanceService.sol +320 -273
  397. package/contracts/instance/InstanceServiceManager.sol +6 -7
  398. package/contracts/instance/InstanceStore.sol +165 -107
  399. package/contracts/instance/ProductStore.sol +303 -0
  400. package/contracts/instance/RiskSet.sol +126 -0
  401. package/contracts/instance/TargetNames.sol +10 -0
  402. package/contracts/instance/base/BalanceStore.sol +4 -6
  403. package/contracts/instance/base/ObjectCounter.sol +1 -2
  404. package/contracts/instance/base/ObjectLifecycle.sol +12 -8
  405. package/contracts/instance/base/ObjectSet.sol +31 -33
  406. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  407. package/contracts/instance/module/IBundle.sol +6 -5
  408. package/contracts/instance/module/IComponents.sol +29 -13
  409. package/contracts/instance/module/IDistribution.sol +21 -8
  410. package/contracts/instance/module/IPolicy.sol +49 -28
  411. package/contracts/instance/module/IRisk.sol +5 -0
  412. package/contracts/oracle/BasicOracle.sol +2 -5
  413. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  414. package/contracts/oracle/IOracle.sol +9 -4
  415. package/contracts/oracle/IOracleService.sol +2 -1
  416. package/contracts/oracle/Oracle.sol +9 -21
  417. package/contracts/oracle/OracleService.sol +119 -87
  418. package/contracts/oracle/OracleServiceManager.sol +6 -6
  419. package/contracts/pool/BasicPool.sol +34 -38
  420. package/contracts/pool/BasicPoolAuthorization.sol +34 -11
  421. package/contracts/pool/BundleService.sol +117 -167
  422. package/contracts/pool/BundleServiceManager.sol +6 -6
  423. package/contracts/pool/IBundleService.sol +28 -46
  424. package/contracts/pool/IPoolComponent.sol +19 -15
  425. package/contracts/pool/IPoolService.sol +80 -73
  426. package/contracts/pool/Pool.sol +142 -137
  427. package/contracts/pool/PoolLib.sol +341 -0
  428. package/contracts/pool/PoolService.sol +361 -288
  429. package/contracts/pool/PoolServiceManager.sol +4 -4
  430. package/contracts/product/ApplicationService.sol +113 -36
  431. package/contracts/product/ApplicationServiceManager.sol +4 -4
  432. package/contracts/product/BasicProduct.sol +11 -14
  433. package/contracts/product/BasicProductAuthorization.sol +32 -12
  434. package/contracts/product/ClaimService.sol +391 -181
  435. package/contracts/product/ClaimServiceManager.sol +4 -4
  436. package/contracts/product/IApplicationService.sol +28 -3
  437. package/contracts/product/IClaimService.sol +47 -11
  438. package/contracts/product/IPolicyService.sol +47 -29
  439. package/contracts/product/IPricingService.sol +11 -10
  440. package/contracts/product/IProductComponent.sol +27 -5
  441. package/contracts/product/IRiskService.sol +25 -10
  442. package/contracts/product/PolicyService.sol +379 -318
  443. package/contracts/product/PolicyServiceLib.sol +139 -0
  444. package/contracts/product/PolicyServiceManager.sol +4 -4
  445. package/contracts/product/PricingService.sol +85 -83
  446. package/contracts/product/PricingServiceManager.sol +4 -4
  447. package/contracts/product/Product.sol +177 -94
  448. package/contracts/product/RiskService.sol +132 -40
  449. package/contracts/product/RiskServiceManager.sol +4 -4
  450. package/contracts/registry/ChainNft.sol +72 -40
  451. package/contracts/registry/IRegistry.sol +70 -32
  452. package/contracts/registry/IRegistryService.sol +5 -12
  453. package/contracts/registry/IRelease.sol +29 -0
  454. package/contracts/registry/ITransferInterceptor.sol +1 -2
  455. package/contracts/registry/Registry.sol +367 -207
  456. package/contracts/registry/RegistryAdmin.sol +114 -297
  457. package/contracts/registry/RegistryAuthorization.sol +336 -0
  458. package/contracts/registry/RegistryService.sol +38 -49
  459. package/contracts/registry/RegistryServiceManager.sol +3 -3
  460. package/contracts/registry/ReleaseAdmin.sol +195 -0
  461. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  462. package/contracts/registry/ReleaseRegistry.sol +279 -239
  463. package/contracts/registry/ServiceAuthorizationV3.sol +205 -63
  464. package/contracts/registry/TokenRegistry.sol +61 -59
  465. package/contracts/shared/Component.sol +69 -123
  466. package/contracts/shared/ComponentService.sol +429 -379
  467. package/contracts/shared/ComponentServiceManager.sol +8 -5
  468. package/contracts/shared/ContractLib.sol +312 -0
  469. package/contracts/shared/IComponent.sol +6 -18
  470. package/contracts/shared/IComponentService.sol +43 -40
  471. package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
  472. package/contracts/shared/ILifecycle.sol +3 -1
  473. package/contracts/shared/INftOwnable.sol +4 -0
  474. package/contracts/shared/IPolicyHolder.sol +12 -22
  475. package/contracts/shared/IRegisterable.sol +22 -1
  476. package/contracts/shared/IService.sol +3 -5
  477. package/contracts/shared/InitializableERC165.sol +10 -2
  478. package/contracts/shared/InstanceLinkedComponent.sol +73 -51
  479. package/contracts/shared/Lifecycle.sol +15 -4
  480. package/contracts/shared/NftOwnable.sol +31 -9
  481. package/contracts/shared/PolicyHolder.sol +18 -54
  482. package/contracts/shared/Registerable.sol +52 -21
  483. package/contracts/shared/RegistryLinked.sol +9 -14
  484. package/contracts/shared/Service.sol +20 -35
  485. package/contracts/shared/TokenHandler.sol +275 -72
  486. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  487. package/contracts/staking/IStaking.sol +271 -71
  488. package/contracts/staking/IStakingService.sol +45 -78
  489. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  490. package/contracts/staking/Staking.sol +523 -222
  491. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +70 -81
  492. package/contracts/staking/StakingManager.sol +12 -9
  493. package/contracts/staking/StakingReader.sol +70 -82
  494. package/contracts/staking/StakingService.sol +63 -149
  495. package/contracts/staking/StakingServiceManager.sol +7 -5
  496. package/contracts/staking/StakingStore.sol +1093 -330
  497. package/contracts/staking/TargetHandler.sol +132 -0
  498. package/contracts/staking/TargetManagerLib.sol +73 -46
  499. package/contracts/type/Amount.sol +19 -0
  500. package/contracts/type/Blocknumber.sol +15 -15
  501. package/contracts/type/ChainId.sol +101 -0
  502. package/contracts/type/ClaimId.sol +6 -1
  503. package/contracts/type/Fee.sol +8 -8
  504. package/contracts/type/Key32.sol +2 -2
  505. package/contracts/type/Key32Set.sol +62 -0
  506. package/contracts/type/NftId.sol +7 -0
  507. package/contracts/type/ObjectType.sol +73 -37
  508. package/contracts/type/PayoutId.sol +10 -10
  509. package/contracts/type/RiskId.sol +38 -6
  510. package/contracts/type/RoleId.sol +61 -55
  511. package/contracts/type/Seconds.sol +27 -0
  512. package/contracts/type/Selector.sol +5 -0
  513. package/contracts/type/StateId.sol +15 -1
  514. package/contracts/type/String.sol +12 -0
  515. package/contracts/type/Timestamp.sol +4 -7
  516. package/contracts/type/UFixed.sol +38 -126
  517. package/contracts/type/Version.sol +54 -5
  518. package/contracts/upgradeability/IVersionable.sol +3 -0
  519. package/contracts/upgradeability/ProxyManager.sol +93 -45
  520. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  521. package/contracts/upgradeability/Versionable.sol +8 -5
  522. package/package.json +5 -4
  523. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  524. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  525. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  526. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  527. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  528. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  529. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  530. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  531. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  532. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  533. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  534. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  535. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -387
  536. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  537. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -164
  538. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  539. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  540. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  541. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  542. package/contracts/instance/module/IAccess.sol +0 -46
  543. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  544. package/contracts/shared/IKeyValueStore.sol +0 -54
  545. package/contracts/shared/InitializableCustom.sol +0 -177
  546. package/contracts/shared/KeyValueStore.sol +0 -131
  547. 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": "0x60806040525f6007553480156012575f80fd5b50615632806100205f395ff3fe608060405234801561000f575f80fd5b506004361061026b575f3560e01c80638129fc1c1161014b578063bf1db3f9116100bf578063e9e96c7011610084578063e9e96c70146106f9578063ea11332214610736578063ebb41c0c14610749578063f48016ce1461075c578063fd8024921461077d578063fe2ee7921461079d575f80fd5b8063bf1db3f914610693578063bf7e214f146106a6578063c75e9a1c146102b7578063cb2e87d2146106c6578063e444c3df146106d9575f80fd5b8063a5961b4c11610110578063a5961b4c14610583578063a7ef3d211461061a578063abef1bb21461063a578063b33ef41a1461064d578063b6d7cd6214610660578063bd7d9d8514610673575f80fd5b80638129fc1c146104fc578063887b1fa9146105045780638eb9000d146105245780638fb360371461054f5780639505838e14610570575f80fd5b80632ae5819d116101e2578063555e5591116101a7578063555e5591146104305780635d4345cc1461035d5780635eede174146104435780636a05a413146104b65780637a9e5e4b146104d65780637cef4842146104e9575f80fd5b80632ae5819d146103c1578063353e5b75146103d457806338a699a4146103e75780634d4a7ae91461040a57806354f1fa811461041d575f80fd5b80630d358181116102335780630d358181146103385780630fad0eb11461035d5780631aa41163146103705780631c7c815514610383578063228e42ec14610396578063297023ef146102b7575f80fd5b80630232ca491461026f578063036b1ffb146102b757806309648a9d146102cc5780630b5d931c146103055780630ccd44d714610325575b5f80fd5b61029a61027d366004613cdc565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b6102ca6102c5366004614014565b6107b0565b005b6102f36102da366004614073565b5f90815260066020526040902054610100900460ff1690565b60405160ff90911681526020016102ae565b610318610313366004613cdc565b610ac0565b6040516102ae91906140cd565b6102ca610333366004614228565b610c1e565b6102f3610346366004614298565b60ff9081165f908152602081905260409020541690565b6102ca61036b3660046142b3565b610d4f565b6102ca61037e36600461434a565b610dd5565b6102ca6103913660046144e3565b610f35565b61029a6103a4366004613cdc565b6001600160601b039081165f908152600260205260409020541690565b6102ca6103cf3660046142b3565b61109e565b6102ca6103e2366004614540565b611115565b6103fa6103f5366004614073565b61118d565b60405190151581526020016102ae565b6102ca61041836600461457d565b61121b565b6102ca61042b366004614707565b6113cd565b6102ca61043e3660046147de565b61152b565b61048c610451366004613cdc565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016102ae565b6104c96104c4366004613cdc565b611671565b6040516102ae9190614842565b6102ca6104e43660046148d0565b611794565b6102ca6104f73660046148eb565b61181a565b6102ca611902565b610517610512366004614907565b611a7a565b6040516102ae9190614950565b61029a610532366004613cdc565b6001600160601b039081165f908152600360205260409020541690565b610557611be4565b6040516001600160e01b031990911681526020016102ae565b6102ca61057e36600461498e565b611c1a565b6105e9610591366004614073565b60408051606080820183525f80835260208084018290529284018190529384526006825292829020825193840183525460ff80821685526101008204169184019190915262010000900464ffffffffff169082015290565b60408051825160ff9081168252602080850151909116908201529181015164ffffffffff16908201526060016102ae565b61062d6106283660046149da565b611e48565b6040516102ae9190614a06565b6102ca610648366004614aa9565b612028565b6102ca61065b366004614afd565b61216e565b6102ca61066e366004614b50565b6122aa565b610686610681366004613cdc565b612322565b6040516102ae9190614b7d565b6103fa6106a1366004614298565b612558565b6106ae6125a4565b6040516001600160a01b0390911681526020016102ae565b6102ca6106d4366004614e44565b6125bf565b6106ec6106e7366004613cdc565b61273a565b6040516102ae9190614e87565b6103fa610707366004615077565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b6102ca6107443660046150a4565b6128e2565b6102ca61075736600461434a565b612a39565b61076f61076a3660046150e6565b612b8f565b6040519081526020016102ae565b61079061078b366004615118565b612c17565b6040516102ae9190615144565b6102ca6107ab3660046151a2565b612cc4565b6107bc335b5f36612e27565b5f6107c8846015612f25565b5f8181526006602052604081205491925090610100900460ff1690505f6107ef8385612f70565b905084600b5f8581526020019081526020015f205f820151815f015f6101000a8154816001600160601b0302191690836001600160601b031602179055506020820151815f01600c6101000a8154816001600160601b0302191690836001600160601b031602179055506040820151815f0160186101000a8154816001600160401b03021916908360c01c02179055506060820151816001015f6101000a8154816001600160601b0302191690836001600160601b03160217905550608082015181600101600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060a08201518160010160186101000a8154816001600160401b03021916908360c01c021790555060c0820151816002015f6101000a81548161ffff021916908361ffff16021790555060e08201518160020160026101000a81548161ffff021916908361ffff1602179055506101008201518160020160046101000a8154816001600160601b0302191690836001600160601b031602179055506101208201518160020160106101000a8154816001600160601b0302191690836001600160601b03160217905550610140820151816003015f6101000a81548164ffffffffff021916908364ffffffffff1602179055506101608201518160030160056101000a81548164ffffffffff021916908364ffffffffff16021790555061018082015181600301600a6101000a81548164ffffffffff021916908364ffffffffff1602179055506101a082015181600301600f6101000a81548164ffffffffff021916908364ffffffffff1602179055506101c0820151816004019081610a5d9190615265565b506101e08201516005820190610a739082615265565b509050507fe5effcf96bb744518e09cc69ad226c65cece5fb0047e35c272ac6b34f4a262ee868386333286604051610ab09695949392919061531f565b60405180910390a1505050505050565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e082015290600890610b0d84600c612f25565b815260208082019290925260409081015f2081516101008082018452825460ff80821615158452918104821615158387015262010000810482161515838601526301000000810482166060840152640100000000810490911660808301526001600160601b03600160281b8204811660a0840152600160881b9091041660c08201526001820180548451818702810187019095528085529194929360e0860193909290830182828015610c0e57602002820191905f5260205f20905f905b82829054906101000a90046001600160601b03166001600160601b0316815260200190600c0190602082600b01049283019260010382029150808411610bcb5790505b5050505050815250509050919050565b610c27336107b5565b5f610c328585613185565b5f8181526006602052604081205491925090610100900460ff1690505f610c598385612f70565b5f848152600e602090815260409182902088518154928a0151938a015164ffffffffff16600160701b0264ffffffffff60701b196001600160601b0390951662010000026001600160701b031990941661ffff90921691909117929092179290921617815560608701516001820180546001600160a01b039092166001600160a01b0319909216919091179055608087015191925086916002820190610cff9082615265565b509050507f7af9363d2e71c6ec6d07d0aefbb5824e442032ec2fa137fa45493b4c50fb99c887878487333287604051610d3e979695949392919061536a565b60405180910390a150505050505050565b610d58336107b5565b5f610d64836015612f25565b5f8181526006602052604081205491925090610100900460ff1690505f610d8b8385612f70565b90507fe5effcf96bb744518e09cc69ad226c65cece5fb0047e35c272ac6b34f4a262ee858386333286604051610dc69695949392919061531f565b60405180910390a15050505050565b610dde336107b5565b5f610dea836029612f25565b9050610df5816131d4565b5f8181526009602090815260409182902084518051908301516001600160601b03908116600160a01b9081026001600160a01b039384161784558488015180519086015183168202908416176001850155948701518051908501518216860290831617600284015560608701518051908501518216860290831617600384015560808701518051908501518216860290831617600484015560a08701518051908501518216860290831617600584015560c087015180519401511690930291909216176006909101557f068d69ce011cb769fcc969f7de53a6f937dacaa7712d3cf0a7317516472bcc6183610efe835f9081526006602052604090205460ff6101009091041690565b604080516001600160601b03909316835260ff909116602083015233908201523260608201526080015b60405180910390a1505050565b610f3e336107b5565b5f610f49848461347f565b9050610f54816131d4565b5f818152600d602090815260409182902084518154928601519386015160608701516001600160601b039283166001600160c01b031990951694909417600160601b9290951691909102939093176001600160c01b0316600160c01b64ffffffffff909416939093026001600160e81b031692909217600160e81b62ffffff92831602178255608084015160018301805462ffffff19169190921617905560a083015183919060028201906110099082615265565b5060c0820151600382019061101e9082615265565b5050505f818152600660205260409020547f3f3f91bb4a0ca5a1acfb8684778cbacc746013e2717c10ad77346313e123e9649085908590610100900460ff16604080516001600160601b03909416845261ffff909216602084015260ff169082015233606082015232608082015260a0015b60405180910390a150505050565b6110a7336107b5565b5f6110b383602b612f25565b5f8181526006602052604081205491925090610100900460ff1690505f6110da8385612f70565b90507fa44a207f9035ca27480b5f4b3d8979a7fc8ca357e9fe64049ac482f0073cb79b858386333286604051610dc69695949392919061531f565b61111e336107b5565b5f6111298484613185565b5f8181526006602052604081205491925090610100900460ff1690505f6111508385612f70565b90507f7af9363d2e71c6ec6d07d0aefbb5824e442032ec2fa137fa45493b4c50fb99c886868487333287604051610ab0979695949392919061536a565b5f8181526006602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af41580156111f1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121591906153bd565b92915050565b611224336107b5565b5f61123083602b612f25565b905061123b816131d4565b5f818152600c6020908152604080832085518154878501516001600160601b039283166001600160c01b031992831617600160601b91841682021784558885015160018501805460608c0151928616908516179185168302919091179055608089015160028501805460a08c015192861690851617918516830291909117905560c089015160038501805460e08c0151928616908516179185168302919091179055610100808a01516004860180546101208d01519287169086161791861684029190911790556101408a01516005860180546101608d01519287169086161791861684029190911790556101808a0151600680870180546101a08e0151938816908716179287168502929092179091556101c08b01516007870180546101e08e01519288169087161791871685029190911790556102008b0151600890960180546102208d015197871695169490941795909416909102939093179055909252909120547f4062c09a712022085eea90b805606ba55832938ec04b0278852487ff1bf011ec9185910460ff16610efe565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561142f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061145391906153bd565b156114815760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff808516908316146114c25760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401611478565b60ff8084165f908152600160209081526040808320888516845282528083208585168452909152902054166115255760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401611478565b50505050565b611534336107b5565b6040516355ee627560e01b81526001600160c01b0319841660048201525f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af415801561158d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b191906153d8565b5f8181526006602052604081205491925090610100900460ff1690505f6115d88385612f70565b5f848152600a602090815260409182902088518154928a015164ffffffffff16600160601b026001600160881b03199093166001600160601b039091161791909117815590870151919250869160018201906116349082615265565b509050507f71ca834bbebe8c200ec2275d797a5a0950fa5adb86313479af773c38307a782c868386333286604051610ab0969594939291906153ef565b611679613b17565b60095f611687846029612f25565b815260208082019290925260409081015f2081516101208101835281546001600160a01b0380821660e084019081526001600160601b03600160a01b9384900481166101008601529084528551808701875260018601548084168252849004821681890152848801528551808701875260028601548084168252849004821681890152848701528551808701875260038601548084168252849004821681890152606085015285518087018752600486015480841682528490048216818901526080850152855180870187526005860154808416825284900482168189015260a085015285518087019096526006909401549081168552049091169282019290925260c082015292915050565b3361179d6125a4565b6001600160a01b0316816001600160a01b0316146117d85760405162d1953b60e31b81526001600160a01b0382166004820152602401611478565b816001600160a01b03163b5f0361180d576040516361798f2f60e11b81526001600160a01b0383166004820152602401611478565b611816826134cb565b5050565b611823336107b5565b6040516355ee627560e01b81526001600160c01b0319831660048201525f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af415801561187c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a091906153d8565b5f8181526006602052604081205491925090610100900460ff1690505f6118c78385612f70565b90507f71ca834bbebe8c200ec2275d797a5a0950fa5adb86313479af773c38307a782c858386333286604051610dc6969594939291906153ef565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156119465750825b90505f826001600160401b031660011480156119615750303b155b90508115801561196f575080155b1561198d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156119b757845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a1c919061543b565b9050611a278161352b565b611a2f61353f565b50508315611a7357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dc6565b5050505050565b60408051606080820183525f8083526020830152918101919091526040516355ee627560e01b81526001600160c01b031983166004820152600a905f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611af1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1591906153d8565b815260208082019290925260409081015f20815160608101835281546001600160601b0381168252600160601b900464ffffffffff16938101939093526001810180549192840191611b66906151e4565b80601f0160208091040260200160405190810160405280929190818152602001828054611b92906151e4565b8015610c0e5780601f10611bb457610100808354040283529160200191610c0e565b820191905f5260205f20905b815481529060010190602001808311611bc057505050919092525091949350505050565b5f805160206155dd83398151915280545f9190600160a01b900460ff16611c0b575f611c14565b638fb3603760e01b5b91505090565b611c23336107b5565b611c2c82613551565b5f611c38836015612f25565b9050611c43816131d4565b5f818152600b602090815260409182902084518154928601519386015160c090811c600160c01b9081026001600160c01b036001600160601b03978816600160601b9081026001600160c01b0319988916968a1696909617959095178116919091178555606089015160018601805460808c015160a08d0151871c909502948a16909602959097169088161793909317909216919091179092559084015160028201805460e08701516101008801516101208901518716600160801b026bffffffffffffffffffffffff60801b19919097166401000000000216640100000000600160e01b031961ffff928316620100000263ffffffff199094169290951691909117919091179290921691909117929092179091556101408301516003820180546101608601516101808701516101a088015164ffffffffff908116600160781b0264ffffffffff60781b19928216600160501b029290921669ffffffffffffffffffff60501b19938216600160281b0269ffffffffffffffffffff1990951691909616179290921716929092179190911790556101c08301518391906004820190611df09082615265565b506101e08201516005820190611e069082615265565b5050505f818152600660205260409020547ff20995ffc314df588b8ab4c972d20b5572ff246c225c07826e29c6e11c5866a3908490610100900460ff16610efe565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820181905260c082015290600d90611e8c858561347f565b815260208082019290925260409081015f20815160e08101835281546001600160601b038082168352600160601b82041694820194909452600160c01b840464ffffffffff1692810192909252600160e81b90920462ffffff9081166060830152600183015416608082015260028201805491929160a084019190611f10906151e4565b80601f0160208091040260200160405190810160405280929190818152602001828054611f3c906151e4565b8015611f875780601f10611f5e57610100808354040283529160200191611f87565b820191905f5260205f20905b815481529060010190602001808311611f6a57829003601f168201915b50505050508152602001600382018054611fa0906151e4565b80601f0160208091040260200160405190810160405280929190818152602001828054611fcc906151e4565b80156120175780601f10611fee57610100808354040283529160200191612017565b820191905f5260205f20905b815481529060010190602001808311611ffa57829003601f168201915b505050505081525050905092915050565b612031336107b5565b5f61203c858561347f565b5f8181526006602052604081205491925090610100900460ff1690505f6120638385612f70565b5f848152600d602090815260409182902088518154928a0151938a015160608b01516001600160601b039283166001600160c01b031990951694909417600160601b9290951691909102939093176001600160c01b0316600160c01b64ffffffffff909416939093026001600160e81b031692909217600160e81b62ffffff92831602178255608088015160018301805462ffffff19169190921617905560a08701519192508691600282019061211a9082615265565b5060c0820151600382019061212f9082615265565b509050507f35026c70a8e03bb609091c98d27fbb83fcccc64783e4c29df2702bdf4492318187878487333287604051610d3e9796959493929190615456565b612177336107b5565b5f6121828484613185565b905061218d816131d4565b5f818152600e602090815260409182902084518154928601519386015164ffffffffff16600160701b0264ffffffffff60701b196001600160601b0390951662010000026001600160701b031990941661ffff90921691909117929092179290921617815560608301516001820180546001600160a01b039092166001600160a01b0319909216919091179055608083015183919060028201906122319082615265565b5050505f818152600660205260409020547ffa2f5d128b878e446332990268d00c54cd310ad17e61178e902e1c8eade295539085908590610100900460ff16604080516001600160601b03909416845264ffffffffff909216602084015260ff169082015233606082015232608082015260a001611090565b6122b3336107b5565b5f6122be848461347f565b5f8181526006602052604081205491925090610100900460ff1690505f6122e58385612f70565b90507f35026c70a8e03bb609091c98d27fbb83fcccc64783e4c29df2702bdf4492318186868487333287604051610ab09796959493929190615456565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e082015290600b906123af846015612f25565b815260208082019290925260409081015f2081516102008101835281546001600160601b038082168352600160601b8083048216968401969096526001600160c01b0319600160c01b9283900460c090811b821696850196909652600185015480831660608601529687048216608085015291909504841b1660a0820152600282015461ffff8082169483019490945262010000810490931660e082015264010000000083048416610100820152600160801b909204909216610120820152600382015464ffffffffff808216610140840152600160281b82048116610160840152600160501b82048116610180840152600160781b909104166101a08201526004820180549192916101c0840191906124c8906151e4565b80601f01602080910402602001604051908101604052809291908181526020018280546124f4906151e4565b801561253f5780601f106125165761010080835404028352916020019161253f565b820191905f5260205f20905b81548152906001019060200180831161252257829003601f168201915b50505050508152602001600582018054611b66906151e4565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024016111d6565b5f805160206155dd833981519152546001600160a01b031690565b6125c8336107b5565b5f6125d484600c612f25565b5f8181526006602052604081205491925090610100900460ff1690505f6125fb8385612f70565b5f84815260086020908152604091829020885181548a840151948b015160608c015160808d015160a08e015160c08f015161ffff1990951695151561ff00191695909517610100981515989098029790971763ffff00001916620100009215159290920263ff000000191691909117630100000060ff928316021770ffffffffffffffffffffffffff000000001916640100000000919096160270ffffffffffffffffffffffff0000000000191694909417600160281b6001600160601b0392831602176bffffffffffffffffffffffff60881b1916600160881b919094160292909217825560e0880151805193945088936126fd9260018501920190613bef565b509050507ffd07266138b2f83dc615e7b1aeafaf298f891cfd308d00705cff13693af983f8868386333286604051610ab09695949392919061531f565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101829052610220810191909152600c5f6127d884602b612f25565b815260208082019290925260409081015f2081516102408101835281546001600160601b038082168352600160601b91829004811695830195909552600183015480861694830194909452928390048416606082015260028201548085166080830152839004841660a0820152600382015480851660c0830152839004841660e08201526004820154808516610100830152839004841661012082015260058201548085166101408301528390048416610160820152600682015480851661018083015283900484166101a082015260078201548085166101c083015283900484166101e08201526008909101548084166102008301529190910490911661022082015292915050565b6128eb336107b5565b6040516355ee627560e01b81526001600160c01b0319831660048201525f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015612944573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061296891906153d8565b9050612973816131d4565b5f818152600a6020908152604091829020845181549286015164ffffffffff16600160601b026001600160881b03199093166001600160601b03909116179190911781559083015183919060018201906129cd9082615265565b5050505f818152600660205260409020547f0ae9235dd84177810ab4e630bde66fadcc2f2bdbb249c6e226006ce17bfcde4d908490610100900460ff16604080516001600160c01b0319909316835260ff90911660208301523390820152326060820152608001610f28565b612a42336107b5565b5f612a4e836029612f25565b90505f612a5c8260ff612f70565b5f8381526009602090815260409182902086518051908301516001600160601b03908116600160a01b9081026001600160a01b03938416178455848a015180519086015183168202908416176001850155858a01518051908601518316820290841617600285015560608a01518051908601518316820290841617600385015560808a01518051908601518316820290841617600485015560a08a01518051908601518316820290841617600585015560c08a0151805195015190911602921691909117600690910155519091507f599ccdc84510a5701e437f3679bb1fb4d68a6b3100cf84e9d7c2a650e779c4f2906110909086903390329086906001600160601b039490941684526001600160a01b0392831660208501529116604083015264ffffffffff16606082015260800190565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015612bec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c1091906153d8565b9392505050565b6040805160a0810182525f808252602082018190529181018290526060808201839052608082015290600e90612c4d8585613185565b815260208082019290925260409081015f20815160a081018352815461ffff811682526201000081046001600160601b031694820194909452600160701b90930464ffffffffff169183019190915260018101546001600160a01b03166060830152600281018054608084019190611fa0906151e4565b612ccd336107b5565b5f612cd983600c612f25565b9050612ce4816131d4565b5f818152600860209081526040918290208451815486840151948701516060880151608089015160a08a015160c08b015161ffff1990951695151561ff00191695909517610100981515989098029790971763ffff00001916620100009215159290920263ff000000191691909117630100000060ff928316021770ffffffffffffffffffffffffff000000001916640100000000919096160270ffffffffffffffffffffffff0000000000191694909417600160281b6001600160601b0392831602176bffffffffffffffffffffffff60881b1916600160881b919094160292909217825560e08401518051859392612de5926001850192910190613bef565b5050505f818152600660205260409020547fd0381ee84b0f7f22e39cf4fab22dc41fa1ceedf30e5b76a7b110a0a861ecfceb908490610100900460ff16610efe565b5f805160206155dd8339815191525f80612e5f612e426125a4565b8730612e5160045f8a8c6154ab565b612e5a916154d2565b613654565b9150915081612f1d5763ffffffff811615612efa57825460ff60a01b1916600160a01b178355612e8d6125a4565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612ebc93929190615508565b5f604051808303815f87803b158015612ed3575f80fd5b505af1158015612ee5573d5f803e3d5ffd5b5050845460ff60a01b1916855550612f1d9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401611478565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401612bd1565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612fc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fe691906153bd565b1561300757604051631260077f60e21b815260048101849052602401611478565b505f82815260066020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930464ffffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561307e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130a291906153bd565b156130c3576040516310b1404560e21b815260048101869052602401611478565b60ff808516146130f25781546130df90829060ff1681876113cd565b815461ff00191661010060ff8616021782555b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613139573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061315d9190615547565b825464ffffffffff91909116620100000266ffffffffff000019909116179091555092915050565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401612bd1565b604051634b00e98f60e11b8152600481018290525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015613224573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132489190615562565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561329b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132bf91906153bd565b156132e257604051633d61be7d60e11b815260ff82166004820152602401611478565b5f828152600660205260409081902080549151638d38cd4b60e01b81526201000090920464ffffffffff1660048301529073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af415801561334d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061337191906153bd565b1561339b57604051637791d47d60e01b81526004810184905260ff83166024820152604401611478565b6133a482612558565b6133c6576040516391eb5e8760e01b815260ff83166004820152602401611478565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561340e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134329190615547565b60ff9384165f81815260208190526040902054845461ffff19169091179416610100029390931766ffffffffff000019166201000064ffffffffff94909416939093029290921790555050565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401612bd1565b5f805160206155dd83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61353361375c565b61353c816137a5565b50565b61354761375c565b61354f6137b6565b565b6001600160601b0381165f9081526005602052604090819020549051638d38cd4b60e01b815264ffffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af41580156135bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135e391906153bd565b1561360c576040516314d5804160e01b81526001600160601b0382166004820152602401611478565b6136158161380e565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516136c2919061557d565b5f60405180830381855afa9150503d805f81146136fa576040519150601f19603f3d011682016040523d82523d5f602084013e6136ff565b606091505b5091509150811561375157604081511061373157808060200190518101906137279190615593565b9094509250613751565b6020815110613751578080602001905181019061374e91906153bd565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661354f57604051631afcd79f60e31b815260040160405180910390fd5b6137ad61375c565b61353c816134cb565b6137be6138ad565b6137c66138ca565b6137ce6138fe565b6137d6613942565b6137de61395e565b6137e66139ab565b6137ee6139cb565b6137f66139df565b6137fe613a1e565b613806613a28565b61354f613a3c565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613855573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138799190615547565b6001600160601b03919091165f908152600560205260409020805464ffffffffff191664ffffffffff909216919091179055565b6138ba60165b6005613a64565b61354f60165b60055b60c8613aa6565b6138d4600b6138b3565b6138e2600b6005606e613aa6565b6138f0600b606e6005613aa6565b61354f600b606e60d2613aa6565b61390a6015600a613a64565b6139196015600a5b6014613aa6565b6139286015600a5b601e613aa6565b6139366015600a6028613aa6565b61354f601560286138c3565b61394f602b5b603c613a64565b61354f602b5b603c60dc613aa6565b61396a602d6032613a64565b613976602d6032613912565b613984602d60326033613aa6565b613990602d6032613921565b61399c602d60336138c3565b61354f602d60335b6048613aa6565b6139b5602e613948565b6139bf602e613955565b61354f602e603c6139a4565b6139d5602c6138b3565b61354f602c6138c0565b6139e9602f6138b3565b6139f8602f60055b6046613aa6565b613a06602f60056007613aa6565b613a12602f60076139f1565b61354f602f60056139a4565b61354f600f6138b3565b613a32600c6138b3565b61354f60296138b3565b613a46600e6138b3565b613a5060176138b3565b613a5a60306138b3565b61354f60316138b3565b60ff8281165f908152602081905260409020541615613a8557613a856155c8565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f9081526001602090815260408083208685168452825280832085851684529091529020541615613ade57613ade6155c8565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6040805161012081019091525f60e0820181815261010083019190915281908152602001613b54604080518082019091525f808252602082015290565b8152602001613b72604080518082019091525f808252602082015290565b8152602001613b90604080518082019091525f808252602082015290565b8152602001613bae604080518082019091525f808252602082015290565b8152602001613bcc604080518082019091525f808252602082015290565b8152602001613bea604080518082019091525f808252602082015290565b905290565b828054828255905f5260205f2090600101600290048101928215613c94579160200282015f5b83821115613c5f57835183826101000a8154816001600160601b0302191690836001600160601b031602179055509260200192600c01602081600b01049283019260010302613c15565b8015613c925782816101000a8154906001600160601b030219169055600c01602081600b01049283019260010302613c5f565b505b50613ca0929150613ca4565b5090565b5b80821115613ca0575f8155600101613ca5565b6001600160601b038116811461353c575f80fd5b8035613cd781613cb8565b919050565b5f60208284031215613cec575f80fd5b8135612c1081613cb8565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b0381118282101715613d2e57613d2e613cf7565b60405290565b60405160e081016001600160401b0381118282101715613d2e57613d2e613cf7565b60405161024081016001600160401b0381118282101715613d2e57613d2e613cf7565b60405161010081016001600160401b0381118282101715613d2e57613d2e613cf7565b604051601f8201601f191681016001600160401b0381118282101715613dc457613dc4613cf7565b604052919050565b6001600160c01b03198116811461353c575f80fd5b8035613cd781613dcc565b61ffff8116811461353c575f80fd5b8035613cd781613dec565b64ffffffffff8116811461353c575f80fd5b8035613cd781613e06565b5f82601f830112613e32575f80fd5b81356001600160401b03811115613e4b57613e4b613cf7565b613e5e601f8201601f1916602001613d9c565b818152846020838601011115613e72575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6102008284031215613e9f575f80fd5b613ea7613d0b565b9050613eb282613ccc565b8152613ec060208301613ccc565b6020820152613ed160408301613de1565b6040820152613ee260608301613ccc565b6060820152613ef360808301613ccc565b6080820152613f0460a08301613de1565b60a0820152613f1560c08301613dfb565b60c0820152613f2660e08301613dfb565b60e0820152613f386101008301613ccc565b610100820152613f4b6101208301613ccc565b610120820152613f5e6101408301613e18565b610140820152613f716101608301613e18565b610160820152613f846101808301613e18565b610180820152613f976101a08301613e18565b6101a08201526101c08201356001600160401b03811115613fb6575f80fd5b613fc284828501613e23565b6101c0830152506101e08201356001600160401b03811115613fe2575f80fd5b613fee84828501613e23565b6101e08301525092915050565b60ff8116811461353c575f80fd5b8035613cd781613ffb565b5f805f60608486031215614026575f80fd5b833561403181613cb8565b925060208401356001600160401b0381111561404b575f80fd5b61405786828701613e8e565b925050604084013561406881613ffb565b809150509250925092565b5f60208284031215614083575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156140c35781516001600160601b031686526020958601959091019060010161409c565b5093949350505050565b602081528151151560208201526020820151151560408201525f60408301516140fa606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101008084015261415d61012084018261408a565b949350505050565b6001600160a01b038116811461353c575f80fd5b5f60a08284031215614189575f80fd5b60405160a081016001600160401b03811182821017156141ab576141ab613cf7565b60405290508082356141bc81613dec565b815260208301356141cc81613cb8565b602082015260408301356141df81613e06565b604082015260608301356141f281614165565b606082015260808301356001600160401b0381111561420f575f80fd5b61421b85828601613e23565b6080830152505092915050565b5f805f806080858703121561423b575f80fd5b843561424681613cb8565b9350602085013561425681613e06565b925060408501356001600160401b03811115614270575f80fd5b61427c87828801614179565b925050606085013561428d81613ffb565b939692955090935050565b5f602082840312156142a8575f80fd5b8135612c1081613ffb565b5f80604083850312156142c4575f80fd5b82356142cf81613cb8565b915060208301356142df81613ffb565b809150509250929050565b5f604082840312156142fa575f80fd5b604080519081016001600160401b038111828210171561431c5761431c613cf7565b604052905080823561432d81614165565b8152602083013561433d81613cb8565b6020919091015292915050565b5f808284036101e081121561435d575f80fd5b833561436881613cb8565b92506101c0601f198201121561437c575f80fd5b50614385613d34565b61439285602086016142ea565b81526143a185606086016142ea565b60208201526143b38560a086016142ea565b60408201526143c58560e086016142ea565b60608201526143d88561012086016142ea565b60808201526143eb8561016086016142ea565b60a08201526143fe856101a086016142ea565b60c0820152809150509250929050565b803562ffffff81168114613cd7575f80fd5b5f60e08284031215614430575f80fd5b614438613d34565b905061444382613ccc565b815261445160208301613ccc565b602082015261446260408301613e18565b60408201526144736060830161440e565b60608201526144846080830161440e565b608082015260a08201356001600160401b038111156144a1575f80fd5b6144ad84828501613e23565b60a08301525060c08201356001600160401b038111156144cb575f80fd5b6144d784828501613e23565b60c08301525092915050565b5f805f606084860312156144f5575f80fd5b833561450081613cb8565b9250602084013561451081613dec565b915060408401356001600160401b0381111561452a575f80fd5b61453686828701614420565b9150509250925092565b5f805f60608486031215614552575f80fd5b833561455d81613cb8565b9250602084013561456d81613e06565b9150604084013561406881613ffb565b5f80828403610260811215614590575f80fd5b833561459b81613cb8565b9250610240601f19820112156145af575f80fd5b506145b8613d56565b6145c460208501613ccc565b81526145d260408501613ccc565b60208201526145e360608501613ccc565b60408201526145f460808501613ccc565b606082015261460560a08501613ccc565b608082015261461660c08501613ccc565b60a082015261462760e08501613ccc565b60c08201526146396101008501613ccc565b60e082015261464b6101208501613ccc565b61010082015261465e6101408501613ccc565b6101208201526146716101608501613ccc565b6101408201526146846101808501613ccc565b6101608201526146976101a08501613ccc565b6101808201526146aa6101c08501613ccc565b6101a08201526146bd6101e08501613ccc565b6101c08201526146d06102008501613ccc565b6101e08201526146e36102208501613ccc565b6102008201526146f66102408501613ccc565b610220820152809150509250929050565b5f805f806080858703121561471a575f80fd5b843561472581613ffb565b9350602085013561473581613ffb565b9250604085013561474581613ffb565b9150606085013561428d81613ffb565b5f60608284031215614765575f80fd5b604051606081016001600160401b038111828210171561478757614787613cf7565b604052905080823561479881613cb8565b815260208301356147a881613e06565b602082015260408301356001600160401b038111156147c5575f80fd5b6147d185828601613e23565b6040830152505092915050565b5f805f606084860312156147f0575f80fd5b83356147fb81613dcc565b925060208401356001600160401b03811115614815575f80fd5b61405786828701614755565b80516001600160a01b031682526020908101516001600160601b0316910152565b5f6101c082019050614855828451614821565b60208301516148676040840182614821565b50604083015161487a6080840182614821565b50606083015161488d60c0840182614821565b5060808301516148a1610100840182614821565b5060a08301516148b5610140840182614821565b5060c08301516148c9610180840182614821565b5092915050565b5f602082840312156148e0575f80fd5b8135612c1081614165565b5f80604083850312156148fc575f80fd5b82356142cf81613dcc565b5f60208284031215614917575f80fd5b8135612c1081613dcc565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f604083015160608084015261415d6080840182614922565b5f806040838503121561499f575f80fd5b82356149aa81613cb8565b915060208301356001600160401b038111156149c4575f80fd5b6149d085828601613e8e565b9150509250929050565b5f80604083850312156149eb575f80fd5b82356149f681613cb8565b915060208301356142df81613dec565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151614a46606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c0840152614a83610100840182614922565b905060c0840151601f198483030160e0850152614aa08282614922565b95945050505050565b5f805f8060808587031215614abc575f80fd5b8435614ac781613cb8565b93506020850135614ad781613dec565b925060408501356001600160401b03811115614af1575f80fd5b61427c87828801614420565b5f805f60608486031215614b0f575f80fd5b8335614b1a81613cb8565b92506020840135614b2a81613e06565b915060408401356001600160401b03811115614b44575f80fd5b61453686828701614179565b5f805f60608486031215614b62575f80fd5b8335614b6d81613cb8565b9250602084013561456d81613dec565b60208152614b976020820183516001600160601b03169052565b5f6020830151614bb260408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152614cc9610220840182614922565b90506101e0840151601f1984830301610200850152614aa08282614922565b801515811461353c575f80fd5b8035613cd781614ce8565b5f82601f830112614d0f575f80fd5b81356001600160401b03811115614d2857614d28613cf7565b8060051b614d3860208201613d9c565b91825260208185018101929081019086841115614d53575f80fd5b6020860192505b83831015614d7e578235614d6d81613cb8565b825260209283019290910190614d5a565b9695505050505050565b5f6101008284031215614d99575f80fd5b614da1613d79565b9050614dac82614cf5565b8152614dba60208301614cf5565b6020820152614dcb60408301614cf5565b6040820152614ddc60608301614009565b6060820152614ded60808301614009565b6080820152614dfe60a08301613ccc565b60a0820152614e0f60c08301613ccc565b60c082015260e08201356001600160401b03811115614e2c575f80fd5b614e3884828501614d00565b60e08301525092915050565b5f805f60608486031215614e56575f80fd5b8335614e6181613cb8565b925060208401356001600160401b03811115614e7b575f80fd5b61405786828701614d88565b81516001600160601b0316815261024081016020830151614eb360208401826001600160601b03169052565b506040830151614ece60408401826001600160601b03169052565b506060830151614ee960608401826001600160601b03169052565b506080830151614f0460808401826001600160601b03169052565b5060a0830151614f1f60a08401826001600160601b03169052565b5060c0830151614f3a60c08401826001600160601b03169052565b5060e0830151614f5560e08401826001600160601b03169052565b50610100830151614f726101008401826001600160601b03169052565b50610120830151614f8f6101208401826001600160601b03169052565b50610140830151614fac6101408401826001600160601b03169052565b50610160830151614fc96101608401826001600160601b03169052565b50610180830151614fe66101808401826001600160601b03169052565b506101a08301516150036101a08401826001600160601b03169052565b506101c08301516150206101c08401826001600160601b03169052565b506101e083015161503d6101e08401826001600160601b03169052565b5061020083015161505a6102008401826001600160601b03169052565b506102208301516148c96102208401826001600160601b03169052565b5f805f60608486031215615089575f80fd5b833561509481613ffb565b9250602084013561456d81613ffb565b5f80604083850312156150b5575f80fd5b82356150c081613dcc565b915060208301356001600160401b038111156150da575f80fd5b6149d085828601614755565b5f80604083850312156150f7575f80fd5b823561510281613ffb565b9150602083013560ff19811681146142df575f80fd5b5f8060408385031215615129575f80fd5b823561513481613cb8565b915060208301356142df81613e06565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a08084015261415d60c0840182614922565b5f80604083850312156151b3575f80fd5b82356151be81613cb8565b915060208301356001600160401b038111156151d8575f80fd5b6149d085828601614d88565b600181811c908216806151f857607f821691505b60208210810361521657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561526057805f5260205f20601f840160051c810160208510156152415750805b601f840160051c820191505b81811015611a73575f815560010161524d565b505050565b81516001600160401b0381111561527e5761527e613cf7565b6152928161528c84546151e4565b8461521c565b6020601f8211600181146152c4575f83156152ad5750848201515b5f19600385901b1c1916600184901b178455611a73565b5f84815260208120601f198516915b828110156152f357878501518255602094850194600190920191016152d3565b508482101561531057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160601b0396909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b6001600160601b0397909716875264ffffffffff958616602088015260ff94851660408801529290931660608601526001600160a01b03908116608086015290911660a08401521660c082015260e00190565b5f602082840312156153cd575f80fd5b8151612c1081614ce8565b5f602082840312156153e8575f80fd5b5051919050565b6001600160c01b031996909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b5f6020828403121561544b575f80fd5b8151612c1081614165565b6001600160601b0397909716875261ffff95909516602087015260ff93841660408701529190921660608501526001600160a01b0391821660808501521660a083015264ffffffffff1660c082015260e00190565b5f80858511156154b9575f80fd5b838611156154c5575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156148c9576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215615557575f80fd5b8151612c1081613e06565b5f60208284031215615572575f80fd5b8151612c1081613ffb565b5f82518060208501845e5f920191825250919050565b5f80604083850312156155a4575f80fd5b82516155af81614ce8565b602084015190925063ffffffff811681146142df575f80fd5b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122004321cdc69f69087ad1c343ccfc8f0b5e278740daf5cf70e7fa450b351f454dc64736f6c634300081a0033",
3198
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061026b575f3560e01c80638129fc1c1161014b578063bf1db3f9116100bf578063e9e96c7011610084578063e9e96c70146106f9578063ea11332214610736578063ebb41c0c14610749578063f48016ce1461075c578063fd8024921461077d578063fe2ee7921461079d575f80fd5b8063bf1db3f914610693578063bf7e214f146106a6578063c75e9a1c146102b7578063cb2e87d2146106c6578063e444c3df146106d9575f80fd5b8063a5961b4c11610110578063a5961b4c14610583578063a7ef3d211461061a578063abef1bb21461063a578063b33ef41a1461064d578063b6d7cd6214610660578063bd7d9d8514610673575f80fd5b80638129fc1c146104fc578063887b1fa9146105045780638eb9000d146105245780638fb360371461054f5780639505838e14610570575f80fd5b80632ae5819d116101e2578063555e5591116101a7578063555e5591146104305780635d4345cc1461035d5780635eede174146104435780636a05a413146104b65780637a9e5e4b146104d65780637cef4842146104e9575f80fd5b80632ae5819d146103c1578063353e5b75146103d457806338a699a4146103e75780634d4a7ae91461040a57806354f1fa811461041d575f80fd5b80630d358181116102335780630d358181146103385780630fad0eb11461035d5780631aa41163146103705780631c7c815514610383578063228e42ec14610396578063297023ef146102b7575f80fd5b80630232ca491461026f578063036b1ffb146102b757806309648a9d146102cc5780630b5d931c146103055780630ccd44d714610325575b5f80fd5b61029a61027d366004613cdc565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b6102ca6102c5366004614014565b6107b0565b005b6102f36102da366004614073565b5f90815260066020526040902054610100900460ff1690565b60405160ff90911681526020016102ae565b610318610313366004613cdc565b610ac0565b6040516102ae91906140cd565b6102ca610333366004614228565b610c1e565b6102f3610346366004614298565b60ff9081165f908152602081905260409020541690565b6102ca61036b3660046142b3565b610d4f565b6102ca61037e36600461434a565b610dd5565b6102ca6103913660046144e3565b610f35565b61029a6103a4366004613cdc565b6001600160601b039081165f908152600260205260409020541690565b6102ca6103cf3660046142b3565b61109e565b6102ca6103e2366004614540565b611115565b6103fa6103f5366004614073565b61118d565b60405190151581526020016102ae565b6102ca61041836600461457d565b61121b565b6102ca61042b366004614707565b6113cd565b6102ca61043e3660046147de565b61152b565b61048c610451366004613cdc565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016102ae565b6104c96104c4366004613cdc565b611671565b6040516102ae9190614842565b6102ca6104e43660046148d0565b611794565b6102ca6104f73660046148eb565b61181a565b6102ca611902565b610517610512366004614907565b611a7a565b6040516102ae9190614950565b61029a610532366004613cdc565b6001600160601b039081165f908152600360205260409020541690565b610557611be4565b6040516001600160e01b031990911681526020016102ae565b6102ca61057e36600461498e565b611c1a565b6105e9610591366004614073565b60408051606080820183525f80835260208084018290529284018190529384526006825292829020825193840183525460ff80821685526101008204169184019190915262010000900464ffffffffff169082015290565b60408051825160ff9081168252602080850151909116908201529181015164ffffffffff16908201526060016102ae565b61062d6106283660046149da565b611e48565b6040516102ae9190614a06565b6102ca610648366004614aa9565b612028565b6102ca61065b366004614afd565b61216e565b6102ca61066e366004614b50565b6122aa565b610686610681366004613cdc565b612322565b6040516102ae9190614b7d565b6103fa6106a1366004614298565b612558565b6106ae6125a4565b6040516001600160a01b0390911681526020016102ae565b6102ca6106d4366004614e44565b6125bf565b6106ec6106e7366004613cdc565b61273a565b6040516102ae9190614e87565b6103fa610707366004615077565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b6102ca6107443660046150a4565b6128e2565b6102ca61075736600461434a565b612a39565b61076f61076a3660046150e6565b612b8f565b6040519081526020016102ae565b61079061078b366004615118565b612c17565b6040516102ae9190615144565b6102ca6107ab3660046151a2565b612cc4565b6107bc335b5f36612e27565b5f6107c8846015612f25565b5f8181526006602052604081205491925090610100900460ff1690505f6107ef8385612f70565b905084600b5f8581526020019081526020015f205f820151815f015f6101000a8154816001600160601b0302191690836001600160601b031602179055506020820151815f01600c6101000a8154816001600160601b0302191690836001600160601b031602179055506040820151815f0160186101000a8154816001600160401b03021916908360c01c02179055506060820151816001015f6101000a8154816001600160601b0302191690836001600160601b03160217905550608082015181600101600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060a08201518160010160186101000a8154816001600160401b03021916908360c01c021790555060c0820151816002015f6101000a81548161ffff021916908361ffff16021790555060e08201518160020160026101000a81548161ffff021916908361ffff1602179055506101008201518160020160046101000a8154816001600160601b0302191690836001600160601b031602179055506101208201518160020160106101000a8154816001600160601b0302191690836001600160601b03160217905550610140820151816003015f6101000a81548164ffffffffff021916908364ffffffffff1602179055506101608201518160030160056101000a81548164ffffffffff021916908364ffffffffff16021790555061018082015181600301600a6101000a81548164ffffffffff021916908364ffffffffff1602179055506101a082015181600301600f6101000a81548164ffffffffff021916908364ffffffffff1602179055506101c0820151816004019081610a5d9190615265565b506101e08201516005820190610a739082615265565b509050507fe5effcf96bb744518e09cc69ad226c65cece5fb0047e35c272ac6b34f4a262ee868386333286604051610ab09695949392919061531f565b60405180910390a1505050505050565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e082015290600890610b0d84600c612f25565b815260208082019290925260409081015f2081516101008082018452825460ff80821615158452918104821615158387015262010000810482161515838601526301000000810482166060840152640100000000810490911660808301526001600160601b03600160281b8204811660a0840152600160881b9091041660c08201526001820180548451818702810187019095528085529194929360e0860193909290830182828015610c0e57602002820191905f5260205f20905f905b82829054906101000a90046001600160601b03166001600160601b0316815260200190600c0190602082600b01049283019260010382029150808411610bcb5790505b5050505050815250509050919050565b610c27336107b5565b5f610c328585613185565b5f8181526006602052604081205491925090610100900460ff1690505f610c598385612f70565b5f848152600e602090815260409182902088518154928a0151938a015164ffffffffff16600160701b0264ffffffffff60701b196001600160601b0390951662010000026001600160701b031990941661ffff90921691909117929092179290921617815560608701516001820180546001600160a01b039092166001600160a01b0319909216919091179055608087015191925086916002820190610cff9082615265565b509050507f7af9363d2e71c6ec6d07d0aefbb5824e442032ec2fa137fa45493b4c50fb99c887878487333287604051610d3e979695949392919061536a565b60405180910390a150505050505050565b610d58336107b5565b5f610d64836015612f25565b5f8181526006602052604081205491925090610100900460ff1690505f610d8b8385612f70565b90507fe5effcf96bb744518e09cc69ad226c65cece5fb0047e35c272ac6b34f4a262ee858386333286604051610dc69695949392919061531f565b60405180910390a15050505050565b610dde336107b5565b5f610dea836029612f25565b9050610df5816131d4565b5f8181526009602090815260409182902084518051908301516001600160601b03908116600160a01b9081026001600160a01b039384161784558488015180519086015183168202908416176001850155948701518051908501518216860290831617600284015560608701518051908501518216860290831617600384015560808701518051908501518216860290831617600484015560a08701518051908501518216860290831617600584015560c087015180519401511690930291909216176006909101557f068d69ce011cb769fcc969f7de53a6f937dacaa7712d3cf0a7317516472bcc6183610efe835f9081526006602052604090205460ff6101009091041690565b604080516001600160601b03909316835260ff909116602083015233908201523260608201526080015b60405180910390a1505050565b610f3e336107b5565b5f610f49848461347f565b9050610f54816131d4565b5f818152600d602090815260409182902084518154928601519386015160608701516001600160601b039283166001600160c01b031990951694909417600160601b9290951691909102939093176001600160c01b0316600160c01b64ffffffffff909416939093026001600160e81b031692909217600160e81b62ffffff92831602178255608084015160018301805462ffffff19169190921617905560a083015183919060028201906110099082615265565b5060c0820151600382019061101e9082615265565b5050505f818152600660205260409020547f3f3f91bb4a0ca5a1acfb8684778cbacc746013e2717c10ad77346313e123e9649085908590610100900460ff16604080516001600160601b03909416845261ffff909216602084015260ff169082015233606082015232608082015260a0015b60405180910390a150505050565b6110a7336107b5565b5f6110b383602b612f25565b5f8181526006602052604081205491925090610100900460ff1690505f6110da8385612f70565b90507fa44a207f9035ca27480b5f4b3d8979a7fc8ca357e9fe64049ac482f0073cb79b858386333286604051610dc69695949392919061531f565b61111e336107b5565b5f6111298484613185565b5f8181526006602052604081205491925090610100900460ff1690505f6111508385612f70565b90507f7af9363d2e71c6ec6d07d0aefbb5824e442032ec2fa137fa45493b4c50fb99c886868487333287604051610ab0979695949392919061536a565b5f8181526006602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af41580156111f1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121591906153bd565b92915050565b611224336107b5565b5f61123083602b612f25565b905061123b816131d4565b5f818152600c6020908152604080832085518154878501516001600160601b039283166001600160c01b031992831617600160601b91841682021784558885015160018501805460608c0151928616908516179185168302919091179055608089015160028501805460a08c015192861690851617918516830291909117905560c089015160038501805460e08c0151928616908516179185168302919091179055610100808a01516004860180546101208d01519287169086161791861684029190911790556101408a01516005860180546101608d01519287169086161791861684029190911790556101808a0151600680870180546101a08e0151938816908716179287168502929092179091556101c08b01516007870180546101e08e01519288169087161791871685029190911790556102008b0151600890960180546102208d015197871695169490941795909416909102939093179055909252909120547f4062c09a712022085eea90b805606ba55832938ec04b0278852487ff1bf011ec9185910460ff16610efe565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561142f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061145391906153bd565b156114815760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff808516908316146114c25760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401611478565b60ff8084165f908152600160209081526040808320888516845282528083208585168452909152902054166115255760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401611478565b50505050565b611534336107b5565b6040516355ee627560e01b81526001600160c01b0319841660048201525f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af415801561158d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b191906153d8565b5f8181526006602052604081205491925090610100900460ff1690505f6115d88385612f70565b5f848152600a602090815260409182902088518154928a015164ffffffffff16600160601b026001600160881b03199093166001600160601b039091161791909117815590870151919250869160018201906116349082615265565b509050507f71ca834bbebe8c200ec2275d797a5a0950fa5adb86313479af773c38307a782c868386333286604051610ab0969594939291906153ef565b611679613b17565b60095f611687846029612f25565b815260208082019290925260409081015f2081516101208101835281546001600160a01b0380821660e084019081526001600160601b03600160a01b9384900481166101008601529084528551808701875260018601548084168252849004821681890152848801528551808701875260028601548084168252849004821681890152848701528551808701875260038601548084168252849004821681890152606085015285518087018752600486015480841682528490048216818901526080850152855180870187526005860154808416825284900482168189015260a085015285518087019096526006909401549081168552049091169282019290925260c082015292915050565b3361179d6125a4565b6001600160a01b0316816001600160a01b0316146117d85760405162d1953b60e31b81526001600160a01b0382166004820152602401611478565b816001600160a01b03163b5f0361180d576040516361798f2f60e11b81526001600160a01b0383166004820152602401611478565b611816826134cb565b5050565b611823336107b5565b6040516355ee627560e01b81526001600160c01b0319831660048201525f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af415801561187c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a091906153d8565b5f8181526006602052604081205491925090610100900460ff1690505f6118c78385612f70565b90507f71ca834bbebe8c200ec2275d797a5a0950fa5adb86313479af773c38307a782c858386333286604051610dc6969594939291906153ef565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156119465750825b90505f826001600160401b031660011480156119615750303b155b90508115801561196f575080155b1561198d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156119b757845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a1c919061543b565b9050611a278161352b565b611a2f61353f565b50508315611a7357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dc6565b5050505050565b60408051606080820183525f8083526020830152918101919091526040516355ee627560e01b81526001600160c01b031983166004820152600a905f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611af1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1591906153d8565b815260208082019290925260409081015f20815160608101835281546001600160601b0381168252600160601b900464ffffffffff16938101939093526001810180549192840191611b66906151e4565b80601f0160208091040260200160405190810160405280929190818152602001828054611b92906151e4565b8015610c0e5780601f10611bb457610100808354040283529160200191610c0e565b820191905f5260205f20905b815481529060010190602001808311611bc057505050919092525091949350505050565b5f805160206155dd83398151915280545f9190600160a01b900460ff16611c0b575f611c14565b638fb3603760e01b5b91505090565b611c23336107b5565b611c2c82613551565b5f611c38836015612f25565b9050611c43816131d4565b5f818152600b602090815260409182902084518154928601519386015160c090811c600160c01b9081026001600160c01b036001600160601b03978816600160601b9081026001600160c01b0319988916968a1696909617959095178116919091178555606089015160018601805460808c015160a08d0151871c909502948a16909602959097169088161793909317909216919091179092559084015160028201805460e08701516101008801516101208901518716600160801b026bffffffffffffffffffffffff60801b19919097166401000000000216640100000000600160e01b031961ffff928316620100000263ffffffff199094169290951691909117919091179290921691909117929092179091556101408301516003820180546101608601516101808701516101a088015164ffffffffff908116600160781b0264ffffffffff60781b19928216600160501b029290921669ffffffffffffffffffff60501b19938216600160281b0269ffffffffffffffffffff1990951691909616179290921716929092179190911790556101c08301518391906004820190611df09082615265565b506101e08201516005820190611e069082615265565b5050505f818152600660205260409020547ff20995ffc314df588b8ab4c972d20b5572ff246c225c07826e29c6e11c5866a3908490610100900460ff16610efe565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820181905260c082015290600d90611e8c858561347f565b815260208082019290925260409081015f20815160e08101835281546001600160601b038082168352600160601b82041694820194909452600160c01b840464ffffffffff1692810192909252600160e81b90920462ffffff9081166060830152600183015416608082015260028201805491929160a084019190611f10906151e4565b80601f0160208091040260200160405190810160405280929190818152602001828054611f3c906151e4565b8015611f875780601f10611f5e57610100808354040283529160200191611f87565b820191905f5260205f20905b815481529060010190602001808311611f6a57829003601f168201915b50505050508152602001600382018054611fa0906151e4565b80601f0160208091040260200160405190810160405280929190818152602001828054611fcc906151e4565b80156120175780601f10611fee57610100808354040283529160200191612017565b820191905f5260205f20905b815481529060010190602001808311611ffa57829003601f168201915b505050505081525050905092915050565b612031336107b5565b5f61203c858561347f565b5f8181526006602052604081205491925090610100900460ff1690505f6120638385612f70565b5f848152600d602090815260409182902088518154928a0151938a015160608b01516001600160601b039283166001600160c01b031990951694909417600160601b9290951691909102939093176001600160c01b0316600160c01b64ffffffffff909416939093026001600160e81b031692909217600160e81b62ffffff92831602178255608088015160018301805462ffffff19169190921617905560a08701519192508691600282019061211a9082615265565b5060c0820151600382019061212f9082615265565b509050507f35026c70a8e03bb609091c98d27fbb83fcccc64783e4c29df2702bdf4492318187878487333287604051610d3e9796959493929190615456565b612177336107b5565b5f6121828484613185565b905061218d816131d4565b5f818152600e602090815260409182902084518154928601519386015164ffffffffff16600160701b0264ffffffffff60701b196001600160601b0390951662010000026001600160701b031990941661ffff90921691909117929092179290921617815560608301516001820180546001600160a01b039092166001600160a01b0319909216919091179055608083015183919060028201906122319082615265565b5050505f818152600660205260409020547ffa2f5d128b878e446332990268d00c54cd310ad17e61178e902e1c8eade295539085908590610100900460ff16604080516001600160601b03909416845264ffffffffff909216602084015260ff169082015233606082015232608082015260a001611090565b6122b3336107b5565b5f6122be848461347f565b5f8181526006602052604081205491925090610100900460ff1690505f6122e58385612f70565b90507f35026c70a8e03bb609091c98d27fbb83fcccc64783e4c29df2702bdf4492318186868487333287604051610ab09796959493929190615456565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e082015290600b906123af846015612f25565b815260208082019290925260409081015f2081516102008101835281546001600160601b038082168352600160601b8083048216968401969096526001600160c01b0319600160c01b9283900460c090811b821696850196909652600185015480831660608601529687048216608085015291909504841b1660a0820152600282015461ffff8082169483019490945262010000810490931660e082015264010000000083048416610100820152600160801b909204909216610120820152600382015464ffffffffff808216610140840152600160281b82048116610160840152600160501b82048116610180840152600160781b909104166101a08201526004820180549192916101c0840191906124c8906151e4565b80601f01602080910402602001604051908101604052809291908181526020018280546124f4906151e4565b801561253f5780601f106125165761010080835404028352916020019161253f565b820191905f5260205f20905b81548152906001019060200180831161252257829003601f168201915b50505050508152602001600582018054611b66906151e4565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024016111d6565b5f805160206155dd833981519152546001600160a01b031690565b6125c8336107b5565b5f6125d484600c612f25565b5f8181526006602052604081205491925090610100900460ff1690505f6125fb8385612f70565b5f84815260086020908152604091829020885181548a840151948b015160608c015160808d015160a08e015160c08f015161ffff1990951695151561ff00191695909517610100981515989098029790971763ffff00001916620100009215159290920263ff000000191691909117630100000060ff928316021770ffffffffffffffffffffffffff000000001916640100000000919096160270ffffffffffffffffffffffff0000000000191694909417600160281b6001600160601b0392831602176bffffffffffffffffffffffff60881b1916600160881b919094160292909217825560e0880151805193945088936126fd9260018501920190613bef565b509050507ffd07266138b2f83dc615e7b1aeafaf298f891cfd308d00705cff13693af983f8868386333286604051610ab09695949392919061531f565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101829052610220810191909152600c5f6127d884602b612f25565b815260208082019290925260409081015f2081516102408101835281546001600160601b038082168352600160601b91829004811695830195909552600183015480861694830194909452928390048416606082015260028201548085166080830152839004841660a0820152600382015480851660c0830152839004841660e08201526004820154808516610100830152839004841661012082015260058201548085166101408301528390048416610160820152600682015480851661018083015283900484166101a082015260078201548085166101c083015283900484166101e08201526008909101548084166102008301529190910490911661022082015292915050565b6128eb336107b5565b6040516355ee627560e01b81526001600160c01b0319831660048201525f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015612944573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061296891906153d8565b9050612973816131d4565b5f818152600a6020908152604091829020845181549286015164ffffffffff16600160601b026001600160881b03199093166001600160601b03909116179190911781559083015183919060018201906129cd9082615265565b5050505f818152600660205260409020547f0ae9235dd84177810ab4e630bde66fadcc2f2bdbb249c6e226006ce17bfcde4d908490610100900460ff16604080516001600160c01b0319909316835260ff90911660208301523390820152326060820152608001610f28565b612a42336107b5565b5f612a4e836029612f25565b90505f612a5c8260ff612f70565b5f8381526009602090815260409182902086518051908301516001600160601b03908116600160a01b9081026001600160a01b03938416178455848a015180519086015183168202908416176001850155858a01518051908601518316820290841617600285015560608a01518051908601518316820290841617600385015560808a01518051908601518316820290841617600485015560a08a01518051908601518316820290841617600585015560c08a0151805195015190911602921691909117600690910155519091507f599ccdc84510a5701e437f3679bb1fb4d68a6b3100cf84e9d7c2a650e779c4f2906110909086903390329086906001600160601b039490941684526001600160a01b0392831660208501529116604083015264ffffffffff16606082015260800190565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015612bec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c1091906153d8565b9392505050565b6040805160a0810182525f808252602082018190529181018290526060808201839052608082015290600e90612c4d8585613185565b815260208082019290925260409081015f20815160a081018352815461ffff811682526201000081046001600160601b031694820194909452600160701b90930464ffffffffff169183019190915260018101546001600160a01b03166060830152600281018054608084019190611fa0906151e4565b612ccd336107b5565b5f612cd983600c612f25565b9050612ce4816131d4565b5f818152600860209081526040918290208451815486840151948701516060880151608089015160a08a015160c08b015161ffff1990951695151561ff00191695909517610100981515989098029790971763ffff00001916620100009215159290920263ff000000191691909117630100000060ff928316021770ffffffffffffffffffffffffff000000001916640100000000919096160270ffffffffffffffffffffffff0000000000191694909417600160281b6001600160601b0392831602176bffffffffffffffffffffffff60881b1916600160881b919094160292909217825560e08401518051859392612de5926001850192910190613bef565b5050505f818152600660205260409020547fd0381ee84b0f7f22e39cf4fab22dc41fa1ceedf30e5b76a7b110a0a861ecfceb908490610100900460ff16610efe565b5f805160206155dd8339815191525f80612e5f612e426125a4565b8730612e5160045f8a8c6154ab565b612e5a916154d2565b613654565b9150915081612f1d5763ffffffff811615612efa57825460ff60a01b1916600160a01b178355612e8d6125a4565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612ebc93929190615508565b5f604051808303815f87803b158015612ed3575f80fd5b505af1158015612ee5573d5f803e3d5ffd5b5050845460ff60a01b1916855550612f1d9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401611478565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401612bd1565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612fc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fe691906153bd565b1561300757604051631260077f60e21b815260048101849052602401611478565b505f82815260066020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930464ffffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561307e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130a291906153bd565b156130c3576040516310b1404560e21b815260048101869052602401611478565b60ff808516146130f25781546130df90829060ff1681876113cd565b815461ff00191661010060ff8616021782555b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613139573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061315d9190615547565b825464ffffffffff91909116620100000266ffffffffff000019909116179091555092915050565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401612bd1565b604051634b00e98f60e11b8152600481018290525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015613224573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132489190615562565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561329b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132bf91906153bd565b156132e257604051633d61be7d60e11b815260ff82166004820152602401611478565b5f828152600660205260409081902080549151638d38cd4b60e01b81526201000090920464ffffffffff1660048301529073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af415801561334d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061337191906153bd565b1561339b57604051637791d47d60e01b81526004810184905260ff83166024820152604401611478565b6133a482612558565b6133c6576040516391eb5e8760e01b815260ff83166004820152602401611478565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561340e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134329190615547565b60ff9384165f81815260208190526040902054845461ffff19169091179416610100029390931766ffffffffff000019166201000064ffffffffff94909416939093029290921790555050565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401612bd1565b5f805160206155dd83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61353361375c565b61353c816137a5565b50565b61354761375c565b61354f6137b6565b565b6001600160601b0381165f9081526005602052604090819020549051638d38cd4b60e01b815264ffffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af41580156135bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135e391906153bd565b1561360c576040516314d5804160e01b81526001600160601b0382166004820152602401611478565b6136158161380e565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516136c2919061557d565b5f60405180830381855afa9150503d805f81146136fa576040519150601f19603f3d011682016040523d82523d5f602084013e6136ff565b606091505b5091509150811561375157604081511061373157808060200190518101906137279190615593565b9094509250613751565b6020815110613751578080602001905181019061374e91906153bd565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661354f57604051631afcd79f60e31b815260040160405180910390fd5b6137ad61375c565b61353c816134cb565b6137be6138ad565b6137c66138ca565b6137ce6138fe565b6137d6613942565b6137de61395e565b6137e66139ab565b6137ee6139cb565b6137f66139df565b6137fe613a1e565b613806613a28565b61354f613a3c565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613855573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138799190615547565b6001600160601b03919091165f908152600560205260409020805464ffffffffff191664ffffffffff909216919091179055565b6138ba60165b6005613a64565b61354f60165b60055b60c8613aa6565b6138d4600b6138b3565b6138e2600b6005606e613aa6565b6138f0600b606e6005613aa6565b61354f600b606e60d2613aa6565b61390a6015600a613a64565b6139196015600a5b6014613aa6565b6139286015600a5b601e613aa6565b6139366015600a6028613aa6565b61354f601560286138c3565b61394f602b5b603c613a64565b61354f602b5b603c60dc613aa6565b61396a602d6032613a64565b613976602d6032613912565b613984602d60326033613aa6565b613990602d6032613921565b61399c602d60336138c3565b61354f602d60335b6048613aa6565b6139b5602e613948565b6139bf602e613955565b61354f602e603c6139a4565b6139d5602c6138b3565b61354f602c6138c0565b6139e9602f6138b3565b6139f8602f60055b6046613aa6565b613a06602f60056007613aa6565b613a12602f60076139f1565b61354f602f60056139a4565b61354f600f6138b3565b613a32600c6138b3565b61354f60296138b3565b613a46600e6138b3565b613a5060176138b3565b613a5a60306138b3565b61354f60316138b3565b60ff8281165f908152602081905260409020541615613a8557613a856155c8565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f9081526001602090815260408083208685168452825280832085851684529091529020541615613ade57613ade6155c8565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6040805161012081019091525f60e0820181815261010083019190915281908152602001613b54604080518082019091525f808252602082015290565b8152602001613b72604080518082019091525f808252602082015290565b8152602001613b90604080518082019091525f808252602082015290565b8152602001613bae604080518082019091525f808252602082015290565b8152602001613bcc604080518082019091525f808252602082015290565b8152602001613bea604080518082019091525f808252602082015290565b905290565b828054828255905f5260205f2090600101600290048101928215613c94579160200282015f5b83821115613c5f57835183826101000a8154816001600160601b0302191690836001600160601b031602179055509260200192600c01602081600b01049283019260010302613c15565b8015613c925782816101000a8154906001600160601b030219169055600c01602081600b01049283019260010302613c5f565b505b50613ca0929150613ca4565b5090565b5b80821115613ca0575f8155600101613ca5565b6001600160601b038116811461353c575f80fd5b8035613cd781613cb8565b919050565b5f60208284031215613cec575f80fd5b8135612c1081613cb8565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b0381118282101715613d2e57613d2e613cf7565b60405290565b60405160e081016001600160401b0381118282101715613d2e57613d2e613cf7565b60405161024081016001600160401b0381118282101715613d2e57613d2e613cf7565b60405161010081016001600160401b0381118282101715613d2e57613d2e613cf7565b604051601f8201601f191681016001600160401b0381118282101715613dc457613dc4613cf7565b604052919050565b6001600160c01b03198116811461353c575f80fd5b8035613cd781613dcc565b61ffff8116811461353c575f80fd5b8035613cd781613dec565b64ffffffffff8116811461353c575f80fd5b8035613cd781613e06565b5f82601f830112613e32575f80fd5b81356001600160401b03811115613e4b57613e4b613cf7565b613e5e601f8201601f1916602001613d9c565b818152846020838601011115613e72575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6102008284031215613e9f575f80fd5b613ea7613d0b565b9050613eb282613ccc565b8152613ec060208301613ccc565b6020820152613ed160408301613de1565b6040820152613ee260608301613ccc565b6060820152613ef360808301613ccc565b6080820152613f0460a08301613de1565b60a0820152613f1560c08301613dfb565b60c0820152613f2660e08301613dfb565b60e0820152613f386101008301613ccc565b610100820152613f4b6101208301613ccc565b610120820152613f5e6101408301613e18565b610140820152613f716101608301613e18565b610160820152613f846101808301613e18565b610180820152613f976101a08301613e18565b6101a08201526101c08201356001600160401b03811115613fb6575f80fd5b613fc284828501613e23565b6101c0830152506101e08201356001600160401b03811115613fe2575f80fd5b613fee84828501613e23565b6101e08301525092915050565b60ff8116811461353c575f80fd5b8035613cd781613ffb565b5f805f60608486031215614026575f80fd5b833561403181613cb8565b925060208401356001600160401b0381111561404b575f80fd5b61405786828701613e8e565b925050604084013561406881613ffb565b809150509250925092565b5f60208284031215614083575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156140c35781516001600160601b031686526020958601959091019060010161409c565b5093949350505050565b602081528151151560208201526020820151151560408201525f60408301516140fa606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101008084015261415d61012084018261408a565b949350505050565b6001600160a01b038116811461353c575f80fd5b5f60a08284031215614189575f80fd5b60405160a081016001600160401b03811182821017156141ab576141ab613cf7565b60405290508082356141bc81613dec565b815260208301356141cc81613cb8565b602082015260408301356141df81613e06565b604082015260608301356141f281614165565b606082015260808301356001600160401b0381111561420f575f80fd5b61421b85828601613e23565b6080830152505092915050565b5f805f806080858703121561423b575f80fd5b843561424681613cb8565b9350602085013561425681613e06565b925060408501356001600160401b03811115614270575f80fd5b61427c87828801614179565b925050606085013561428d81613ffb565b939692955090935050565b5f602082840312156142a8575f80fd5b8135612c1081613ffb565b5f80604083850312156142c4575f80fd5b82356142cf81613cb8565b915060208301356142df81613ffb565b809150509250929050565b5f604082840312156142fa575f80fd5b604080519081016001600160401b038111828210171561431c5761431c613cf7565b604052905080823561432d81614165565b8152602083013561433d81613cb8565b6020919091015292915050565b5f808284036101e081121561435d575f80fd5b833561436881613cb8565b92506101c0601f198201121561437c575f80fd5b50614385613d34565b61439285602086016142ea565b81526143a185606086016142ea565b60208201526143b38560a086016142ea565b60408201526143c58560e086016142ea565b60608201526143d88561012086016142ea565b60808201526143eb8561016086016142ea565b60a08201526143fe856101a086016142ea565b60c0820152809150509250929050565b803562ffffff81168114613cd7575f80fd5b5f60e08284031215614430575f80fd5b614438613d34565b905061444382613ccc565b815261445160208301613ccc565b602082015261446260408301613e18565b60408201526144736060830161440e565b60608201526144846080830161440e565b608082015260a08201356001600160401b038111156144a1575f80fd5b6144ad84828501613e23565b60a08301525060c08201356001600160401b038111156144cb575f80fd5b6144d784828501613e23565b60c08301525092915050565b5f805f606084860312156144f5575f80fd5b833561450081613cb8565b9250602084013561451081613dec565b915060408401356001600160401b0381111561452a575f80fd5b61453686828701614420565b9150509250925092565b5f805f60608486031215614552575f80fd5b833561455d81613cb8565b9250602084013561456d81613e06565b9150604084013561406881613ffb565b5f80828403610260811215614590575f80fd5b833561459b81613cb8565b9250610240601f19820112156145af575f80fd5b506145b8613d56565b6145c460208501613ccc565b81526145d260408501613ccc565b60208201526145e360608501613ccc565b60408201526145f460808501613ccc565b606082015261460560a08501613ccc565b608082015261461660c08501613ccc565b60a082015261462760e08501613ccc565b60c08201526146396101008501613ccc565b60e082015261464b6101208501613ccc565b61010082015261465e6101408501613ccc565b6101208201526146716101608501613ccc565b6101408201526146846101808501613ccc565b6101608201526146976101a08501613ccc565b6101808201526146aa6101c08501613ccc565b6101a08201526146bd6101e08501613ccc565b6101c08201526146d06102008501613ccc565b6101e08201526146e36102208501613ccc565b6102008201526146f66102408501613ccc565b610220820152809150509250929050565b5f805f806080858703121561471a575f80fd5b843561472581613ffb565b9350602085013561473581613ffb565b9250604085013561474581613ffb565b9150606085013561428d81613ffb565b5f60608284031215614765575f80fd5b604051606081016001600160401b038111828210171561478757614787613cf7565b604052905080823561479881613cb8565b815260208301356147a881613e06565b602082015260408301356001600160401b038111156147c5575f80fd5b6147d185828601613e23565b6040830152505092915050565b5f805f606084860312156147f0575f80fd5b83356147fb81613dcc565b925060208401356001600160401b03811115614815575f80fd5b61405786828701614755565b80516001600160a01b031682526020908101516001600160601b0316910152565b5f6101c082019050614855828451614821565b60208301516148676040840182614821565b50604083015161487a6080840182614821565b50606083015161488d60c0840182614821565b5060808301516148a1610100840182614821565b5060a08301516148b5610140840182614821565b5060c08301516148c9610180840182614821565b5092915050565b5f602082840312156148e0575f80fd5b8135612c1081614165565b5f80604083850312156148fc575f80fd5b82356142cf81613dcc565b5f60208284031215614917575f80fd5b8135612c1081613dcc565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f604083015160608084015261415d6080840182614922565b5f806040838503121561499f575f80fd5b82356149aa81613cb8565b915060208301356001600160401b038111156149c4575f80fd5b6149d085828601613e8e565b9150509250929050565b5f80604083850312156149eb575f80fd5b82356149f681613cb8565b915060208301356142df81613dec565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151614a46606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c0840152614a83610100840182614922565b905060c0840151601f198483030160e0850152614aa08282614922565b95945050505050565b5f805f8060808587031215614abc575f80fd5b8435614ac781613cb8565b93506020850135614ad781613dec565b925060408501356001600160401b03811115614af1575f80fd5b61427c87828801614420565b5f805f60608486031215614b0f575f80fd5b8335614b1a81613cb8565b92506020840135614b2a81613e06565b915060408401356001600160401b03811115614b44575f80fd5b61453686828701614179565b5f805f60608486031215614b62575f80fd5b8335614b6d81613cb8565b9250602084013561456d81613dec565b60208152614b976020820183516001600160601b03169052565b5f6020830151614bb260408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152614cc9610220840182614922565b90506101e0840151601f1984830301610200850152614aa08282614922565b801515811461353c575f80fd5b8035613cd781614ce8565b5f82601f830112614d0f575f80fd5b81356001600160401b03811115614d2857614d28613cf7565b8060051b614d3860208201613d9c565b91825260208185018101929081019086841115614d53575f80fd5b6020860192505b83831015614d7e578235614d6d81613cb8565b825260209283019290910190614d5a565b9695505050505050565b5f6101008284031215614d99575f80fd5b614da1613d79565b9050614dac82614cf5565b8152614dba60208301614cf5565b6020820152614dcb60408301614cf5565b6040820152614ddc60608301614009565b6060820152614ded60808301614009565b6080820152614dfe60a08301613ccc565b60a0820152614e0f60c08301613ccc565b60c082015260e08201356001600160401b03811115614e2c575f80fd5b614e3884828501614d00565b60e08301525092915050565b5f805f60608486031215614e56575f80fd5b8335614e6181613cb8565b925060208401356001600160401b03811115614e7b575f80fd5b61405786828701614d88565b81516001600160601b0316815261024081016020830151614eb360208401826001600160601b03169052565b506040830151614ece60408401826001600160601b03169052565b506060830151614ee960608401826001600160601b03169052565b506080830151614f0460808401826001600160601b03169052565b5060a0830151614f1f60a08401826001600160601b03169052565b5060c0830151614f3a60c08401826001600160601b03169052565b5060e0830151614f5560e08401826001600160601b03169052565b50610100830151614f726101008401826001600160601b03169052565b50610120830151614f8f6101208401826001600160601b03169052565b50610140830151614fac6101408401826001600160601b03169052565b50610160830151614fc96101608401826001600160601b03169052565b50610180830151614fe66101808401826001600160601b03169052565b506101a08301516150036101a08401826001600160601b03169052565b506101c08301516150206101c08401826001600160601b03169052565b506101e083015161503d6101e08401826001600160601b03169052565b5061020083015161505a6102008401826001600160601b03169052565b506102208301516148c96102208401826001600160601b03169052565b5f805f60608486031215615089575f80fd5b833561509481613ffb565b9250602084013561456d81613ffb565b5f80604083850312156150b5575f80fd5b82356150c081613dcc565b915060208301356001600160401b038111156150da575f80fd5b6149d085828601614755565b5f80604083850312156150f7575f80fd5b823561510281613ffb565b9150602083013560ff19811681146142df575f80fd5b5f8060408385031215615129575f80fd5b823561513481613cb8565b915060208301356142df81613e06565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a08084015261415d60c0840182614922565b5f80604083850312156151b3575f80fd5b82356151be81613cb8565b915060208301356001600160401b038111156151d8575f80fd5b6149d085828601614d88565b600181811c908216806151f857607f821691505b60208210810361521657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561526057805f5260205f20601f840160051c810160208510156152415750805b601f840160051c820191505b81811015611a73575f815560010161524d565b505050565b81516001600160401b0381111561527e5761527e613cf7565b6152928161528c84546151e4565b8461521c565b6020601f8211600181146152c4575f83156152ad5750848201515b5f19600385901b1c1916600184901b178455611a73565b5f84815260208120601f198516915b828110156152f357878501518255602094850194600190920191016152d3565b508482101561531057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160601b0396909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b6001600160601b0397909716875264ffffffffff958616602088015260ff94851660408801529290931660608601526001600160a01b03908116608086015290911660a08401521660c082015260e00190565b5f602082840312156153cd575f80fd5b8151612c1081614ce8565b5f602082840312156153e8575f80fd5b5051919050565b6001600160c01b031996909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b5f6020828403121561544b575f80fd5b8151612c1081614165565b6001600160601b0397909716875261ffff95909516602087015260ff93841660408701529190921660608501526001600160a01b0391821660808501521660a083015264ffffffffff1660c082015260e00190565b5f80858511156154b9575f80fd5b838611156154c5575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156148c9576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215615557575f80fd5b8151612c1081613e06565b5f60208284031215615572575f80fd5b8151612c1081613ffb565b5f82518060208501845e5f920191825250919050565b5f80604083850312156155a4575f80fd5b82516155af81614ce8565b602084015190925063ffffffff811681146142df575f80fd5b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122004321cdc69f69087ad1c343ccfc8f0b5e278740daf5cf70e7fa450b351f454dc64736f6c634300081a0033",
3199
+ "linkReferences": {
3200
+ "contracts/type/Blocknumber.sol": {
3201
+ "BlocknumberLib": [
3202
+ {
3203
+ "length": 20,
3204
+ "start": 12564
3205
+ },
3206
+ {
3207
+ "length": 20,
3208
+ "start": 13109
3209
+ },
3210
+ {
3211
+ "length": 20,
3212
+ "start": 13289
3213
+ },
3214
+ {
3215
+ "length": 20,
3216
+ "start": 13735
3217
+ },
3218
+ {
3219
+ "length": 20,
3220
+ "start": 14384
3221
+ }
3222
+ ]
3223
+ },
3224
+ "contracts/type/ClaimId.sol": {
3225
+ "ClaimIdLib": [
3226
+ {
3227
+ "length": 20,
3228
+ "start": 13513
3229
+ }
3230
+ ]
3231
+ },
3232
+ "contracts/type/Key32.sol": {
3233
+ "Key32Lib": [
3234
+ {
3235
+ "length": 20,
3236
+ "start": 11219
3237
+ },
3238
+ {
3239
+ "length": 20,
3240
+ "start": 12812
3241
+ }
3242
+ ]
3243
+ },
3244
+ "contracts/type/NftId.sol": {
3245
+ "NftIdLib": [
3246
+ {
3247
+ "length": 20,
3248
+ "start": 12142
3249
+ }
3250
+ ]
3251
+ },
3252
+ "contracts/type/ObjectType.sol": {
3253
+ "ObjectTypeLib": [
3254
+ {
3255
+ "length": 20,
3256
+ "start": 12931
3257
+ }
3258
+ ]
3259
+ },
3260
+ "contracts/type/PayoutId.sol": {
3261
+ "PayoutIdLib": [
3262
+ {
3263
+ "length": 20,
3264
+ "start": 12754
3265
+ }
3266
+ ]
3267
+ },
3268
+ "contracts/type/RiskId.sol": {
3269
+ "RiskIdLib": [
3270
+ {
3271
+ "length": 20,
3272
+ "start": 5493
3273
+ },
3274
+ {
3275
+ "length": 20,
3276
+ "start": 6244
3277
+ },
3278
+ {
3279
+ "length": 20,
3280
+ "start": 6873
3281
+ },
3282
+ {
3283
+ "length": 20,
3284
+ "start": 10540
3285
+ }
3286
+ ]
3287
+ },
3288
+ "contracts/type/StateId.sol": {
3289
+ "StateIdLib": [
3290
+ {
3291
+ "length": 20,
3292
+ "start": 4568
3293
+ },
3294
+ {
3295
+ "length": 20,
3296
+ "start": 5143
3297
+ },
3298
+ {
3299
+ "length": 20,
3300
+ "start": 9634
3301
+ },
3302
+ {
3303
+ "length": 20,
3304
+ "start": 12202
3305
+ },
3306
+ {
3307
+ "length": 20,
3308
+ "start": 12390
3309
+ }
3310
+ ]
3311
+ }
3312
+ },
3313
+ "deployedLinkReferences": {
3314
+ "contracts/type/Blocknumber.sol": {
3315
+ "BlocknumberLib": [
3316
+ {
3317
+ "length": 20,
3318
+ "start": 12532
3319
+ },
3320
+ {
3321
+ "length": 20,
3322
+ "start": 13077
3323
+ },
3324
+ {
3325
+ "length": 20,
3326
+ "start": 13257
3327
+ },
3328
+ {
3329
+ "length": 20,
3330
+ "start": 13703
3331
+ },
3332
+ {
3333
+ "length": 20,
3334
+ "start": 14352
3335
+ }
3336
+ ]
3337
+ },
3338
+ "contracts/type/ClaimId.sol": {
3339
+ "ClaimIdLib": [
3340
+ {
3341
+ "length": 20,
3342
+ "start": 13481
3343
+ }
3344
+ ]
3345
+ },
3346
+ "contracts/type/Key32.sol": {
3347
+ "Key32Lib": [
3348
+ {
3349
+ "length": 20,
3350
+ "start": 11187
3351
+ },
3352
+ {
3353
+ "length": 20,
3354
+ "start": 12780
3355
+ }
3356
+ ]
3357
+ },
3358
+ "contracts/type/NftId.sol": {
3359
+ "NftIdLib": [
3360
+ {
3361
+ "length": 20,
3362
+ "start": 12110
3363
+ }
3364
+ ]
3365
+ },
3366
+ "contracts/type/ObjectType.sol": {
3367
+ "ObjectTypeLib": [
3368
+ {
3369
+ "length": 20,
3370
+ "start": 12899
3371
+ }
3372
+ ]
3373
+ },
3374
+ "contracts/type/PayoutId.sol": {
3375
+ "PayoutIdLib": [
3376
+ {
3377
+ "length": 20,
3378
+ "start": 12722
3379
+ }
3380
+ ]
3381
+ },
3382
+ "contracts/type/RiskId.sol": {
3383
+ "RiskIdLib": [
3384
+ {
3385
+ "length": 20,
3386
+ "start": 5461
3387
+ },
3388
+ {
3389
+ "length": 20,
3390
+ "start": 6212
3391
+ },
3392
+ {
3393
+ "length": 20,
3394
+ "start": 6841
3395
+ },
3396
+ {
3397
+ "length": 20,
3398
+ "start": 10508
3399
+ }
3400
+ ]
3401
+ },
3402
+ "contracts/type/StateId.sol": {
3403
+ "StateIdLib": [
3404
+ {
3405
+ "length": 20,
3406
+ "start": 4536
3407
+ },
3408
+ {
3409
+ "length": 20,
3410
+ "start": 5111
3411
+ },
3412
+ {
3413
+ "length": 20,
3414
+ "start": 9602
3415
+ },
3416
+ {
3417
+ "length": 20,
3418
+ "start": 12170
3419
+ },
3420
+ {
3421
+ "length": 20,
3422
+ "start": 12358
3423
+ }
3424
+ ]
3425
+ }
3426
+ }
3427
+ }