@etherisc/gif-next 0.0.2-e875d61-189 → 0.0.2-e8a628e-326

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