@etherisc/gif-next 0.0.2-f7eda15-119 → 0.0.2-f7fa064-035

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