@etherisc/gif-next 0.0.2-ee7cb16-393 → 0.0.2-ef15ccf-423

Sign up to get free protection for your applications and to get access to all the features.
Files changed (781) hide show
  1. package/README.md +147 -23
  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/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +949 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1809 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +930 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +848 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1284 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1484 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2053 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1439 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2585 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.json +332 -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 +304 -0
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +683 -1216
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +748 -141
  76. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  77. package/artifacts/contracts/instance/Instance.sol/Instance.json +596 -2802
  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 +1 -1
  83. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1963 -739
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +775 -409
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +385 -125
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3250 -0
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +1852 -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/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  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 +1 -1
  107. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  108. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  109. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  110. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  111. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  112. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  113. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  121. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → oracle/IOracleComponent.sol/IOracleComponent.json} +414 -370
  122. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  130. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  137. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +866 -0
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  140. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  144. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  145. package/artifacts/contracts/pool/Pool.sol/Pool.json +1025 -0
  146. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  148. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  150. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
  152. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  154. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
  156. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  158. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  159. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  160. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1536 -0
  162. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  163. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +886 -0
  164. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  165. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +394 -350
  166. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  168. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  170. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  171. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +652 -0
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  173. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -0
  174. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  175. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +372 -173
  176. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  178. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  180. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +854 -0
  182. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  184. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
  186. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  187. package/artifacts/contracts/product/Product.sol/Product.json +1117 -0
  188. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  190. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  191. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  192. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  194. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +689 -113
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  197. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +351 -226
  198. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  199. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  200. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  201. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  202. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  203. package/artifacts/contracts/registry/Registry.sol/Registry.json +1027 -149
  204. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  206. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  207. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  208. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  209. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +327 -322
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  211. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +375 -119
  212. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  214. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  216. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  218. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  219. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  220. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  221. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +391 -80
  222. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  223. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/Component.sol/Component.json} +350 -98
  224. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1551 -0
  226. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +862 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  235. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  236. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/IComponent.sol/IComponent.json} +291 -201
  238. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  240. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  241. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  242. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +139 -40
  244. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  245. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  246. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  247. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +61 -22
  248. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  249. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  250. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +162 -15
  252. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  253. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  254. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  255. package/artifacts/contracts/shared/IService.sol/IService.json +161 -154
  256. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  258. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  259. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  260. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  261. package/artifacts/contracts/{instance/base/IKeyValueStore.sol/IKeyValueStore.json → shared/KeyValueStore.sol/KeyValueStore.json} +172 -26
  262. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  263. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  264. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  265. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  266. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  267. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +98 -28
  268. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  269. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  270. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  271. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +178 -55
  272. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  273. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  274. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  275. package/artifacts/contracts/shared/Service.sol/Service.json +177 -163
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  277. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  278. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  280. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  281. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  282. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2757 -0
  284. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  285. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1147 -0
  286. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  287. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  288. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  289. package/artifacts/contracts/staking/Staking.sol/Staking.json +3185 -0
  290. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  292. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +847 -0
  294. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  296. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1344 -0
  298. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +766 -0
  300. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  301. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  302. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  303. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  304. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  305. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  306. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  307. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  308. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  310. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +251 -0
  312. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  314. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  316. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  318. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  320. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  321. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  322. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  323. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  324. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  326. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  327. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  328. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  330. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  332. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  334. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  336. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  338. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  340. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +289 -0
  342. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  344. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  346. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  348. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  350. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  352. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  354. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  355. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  356. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  357. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  358. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  360. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  362. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  363. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  364. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  365. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  366. package/contracts/accounting/AccountingService.sol +274 -0
  367. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  368. package/contracts/accounting/IAccountingService.sol +47 -0
  369. package/contracts/authorization/AccessAdmin.sol +780 -0
  370. package/contracts/authorization/AccessAdminLib.sol +396 -0
  371. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  372. package/contracts/authorization/Authorization.sol +169 -0
  373. package/contracts/authorization/IAccess.sol +67 -0
  374. package/contracts/authorization/IAccessAdmin.sol +144 -0
  375. package/contracts/authorization/IAuthorization.sol +26 -0
  376. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  377. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  378. package/contracts/distribution/BasicDistribution.sol +141 -0
  379. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  380. package/contracts/distribution/Distribution.sol +247 -0
  381. package/contracts/distribution/DistributionService.sol +448 -0
  382. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  383. package/contracts/distribution/IDistributionComponent.sol +45 -0
  384. package/contracts/distribution/IDistributionService.sol +115 -0
  385. package/contracts/examples/fire/DamageLevel.sol +59 -0
  386. package/contracts/examples/fire/FirePool.sol +86 -0
  387. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  388. package/contracts/examples/fire/FireProduct.sol +433 -0
  389. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  390. package/contracts/examples/fire/FireUSD.sol +26 -0
  391. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  392. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  393. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  394. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  395. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  396. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  397. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  398. package/contracts/instance/BaseStore.sol +93 -0
  399. package/contracts/instance/BundleSet.sol +130 -0
  400. package/contracts/instance/IBaseStore.sol +37 -0
  401. package/contracts/instance/IInstance.sol +138 -38
  402. package/contracts/instance/IInstanceService.sol +106 -19
  403. package/contracts/instance/Instance.sol +250 -354
  404. package/contracts/instance/InstanceAdmin.sol +379 -0
  405. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  406. package/contracts/instance/InstanceReader.sol +526 -208
  407. package/contracts/instance/InstanceService.sol +465 -196
  408. package/contracts/instance/InstanceServiceManager.sol +14 -32
  409. package/contracts/instance/InstanceStore.sol +259 -0
  410. package/contracts/instance/ProductStore.sol +143 -0
  411. package/contracts/instance/RiskSet.sol +126 -0
  412. package/contracts/instance/TargetNames.sol +10 -0
  413. package/contracts/instance/base/BalanceStore.sol +121 -0
  414. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  415. package/contracts/instance/base/ObjectCounter.sol +20 -0
  416. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  417. package/contracts/instance/base/ObjectSet.sol +77 -0
  418. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  419. package/contracts/instance/module/IBundle.sol +10 -9
  420. package/contracts/instance/module/IComponents.sol +62 -0
  421. package/contracts/instance/module/IDistribution.sol +25 -10
  422. package/contracts/instance/module/IPolicy.sol +81 -21
  423. package/contracts/instance/module/IRisk.sol +6 -1
  424. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  425. package/contracts/oracle/BasicOracle.sol +45 -0
  426. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  427. package/contracts/oracle/IOracle.sol +41 -0
  428. package/contracts/oracle/IOracleComponent.sol +33 -0
  429. package/contracts/oracle/IOracleService.sol +66 -0
  430. package/contracts/oracle/Oracle.sol +154 -0
  431. package/contracts/oracle/OracleService.sol +310 -0
  432. package/contracts/oracle/OracleServiceManager.sol +39 -0
  433. package/contracts/pool/BasicPool.sol +162 -0
  434. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  435. package/contracts/pool/BundleService.sol +386 -0
  436. package/contracts/pool/BundleServiceManager.sol +39 -0
  437. package/contracts/pool/IBundleService.sol +116 -0
  438. package/contracts/pool/IPoolComponent.sol +62 -0
  439. package/contracts/pool/IPoolService.sol +170 -0
  440. package/contracts/pool/Pool.sol +333 -0
  441. package/contracts/pool/PoolLib.sol +341 -0
  442. package/contracts/pool/PoolService.sol +614 -0
  443. package/contracts/pool/PoolServiceManager.sol +39 -0
  444. package/contracts/product/ApplicationService.sol +327 -0
  445. package/contracts/product/ApplicationServiceManager.sol +38 -0
  446. package/contracts/product/BasicProduct.sol +49 -0
  447. package/contracts/product/BasicProductAuthorization.sol +63 -0
  448. package/contracts/product/ClaimService.sol +626 -0
  449. package/contracts/product/ClaimServiceManager.sol +38 -0
  450. package/contracts/product/IApplicationService.sol +88 -0
  451. package/contracts/product/IClaimService.sol +136 -0
  452. package/contracts/product/IPolicyService.sol +102 -0
  453. package/contracts/product/IPricingService.sol +40 -0
  454. package/contracts/product/IProductComponent.sol +62 -0
  455. package/contracts/product/IRiskService.sol +48 -0
  456. package/contracts/product/PolicyService.sol +645 -0
  457. package/contracts/product/PolicyServiceLib.sol +139 -0
  458. package/contracts/product/PolicyServiceManager.sol +39 -0
  459. package/contracts/product/PricingService.sol +306 -0
  460. package/contracts/product/PricingServiceManager.sol +39 -0
  461. package/contracts/product/Product.sol +493 -0
  462. package/contracts/product/RiskService.sol +190 -0
  463. package/contracts/product/RiskServiceManager.sol +39 -0
  464. package/contracts/registry/ChainNft.sol +82 -35
  465. package/contracts/registry/IRegistry.sol +123 -32
  466. package/contracts/registry/IRegistryService.sol +40 -28
  467. package/contracts/registry/IRelease.sol +29 -0
  468. package/contracts/registry/ITransferInterceptor.sol +1 -1
  469. package/contracts/registry/Registry.sol +561 -273
  470. package/contracts/registry/RegistryAdmin.sol +191 -0
  471. package/contracts/registry/RegistryAuthorization.sol +336 -0
  472. package/contracts/registry/RegistryService.sol +116 -233
  473. package/contracts/registry/RegistryServiceManager.sol +26 -53
  474. package/contracts/registry/ReleaseAdmin.sol +195 -0
  475. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  476. package/contracts/registry/ReleaseRegistry.sol +525 -0
  477. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  478. package/contracts/registry/TokenRegistry.sol +265 -59
  479. package/contracts/shared/Component.sol +214 -0
  480. package/contracts/shared/ComponentService.sol +687 -0
  481. package/contracts/shared/ComponentServiceManager.sol +38 -0
  482. package/contracts/shared/ContractLib.sol +312 -0
  483. package/contracts/shared/IComponent.sol +58 -0
  484. package/contracts/shared/IComponentService.sol +111 -0
  485. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  486. package/contracts/{instance/base → shared}/IKeyValueStore.sol +23 -10
  487. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  488. package/contracts/shared/INftOwnable.sol +17 -12
  489. package/contracts/shared/IPolicyHolder.sol +35 -0
  490. package/contracts/shared/IRegisterable.sol +24 -5
  491. package/contracts/shared/IRegistryLinked.sol +11 -0
  492. package/contracts/shared/IService.sol +13 -5
  493. package/contracts/shared/InitializableERC165.sol +35 -0
  494. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  495. package/contracts/shared/KeyValueStore.sol +131 -0
  496. package/contracts/shared/Lifecycle.sol +88 -0
  497. package/contracts/shared/NftIdSet.sol +65 -0
  498. package/contracts/shared/NftOwnable.sol +77 -82
  499. package/contracts/shared/PolicyHolder.sol +63 -0
  500. package/contracts/shared/Registerable.sol +54 -38
  501. package/contracts/shared/RegistryLinked.sol +38 -0
  502. package/contracts/shared/Service.sol +45 -33
  503. package/contracts/shared/TokenHandler.sol +327 -12
  504. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  505. package/contracts/staking/IStaking.sol +367 -0
  506. package/contracts/staking/IStakingService.sol +127 -0
  507. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  508. package/contracts/staking/Staking.sol +798 -0
  509. package/contracts/staking/StakingLib.sol +195 -0
  510. package/contracts/staking/StakingManager.sol +53 -0
  511. package/contracts/staking/StakingReader.sol +171 -0
  512. package/contracts/staking/StakingService.sol +321 -0
  513. package/contracts/staking/StakingServiceManager.sol +46 -0
  514. package/contracts/staking/StakingStore.sol +1368 -0
  515. package/contracts/staking/TargetHandler.sol +132 -0
  516. package/contracts/staking/TargetManagerLib.sol +234 -0
  517. package/contracts/{types → type}/AddressSet.sol +1 -1
  518. package/contracts/type/Amount.sol +154 -0
  519. package/contracts/{types → type}/Blocknumber.sol +36 -12
  520. package/contracts/type/ChainId.sol +101 -0
  521. package/contracts/type/ClaimId.sol +80 -0
  522. package/contracts/{types → type}/DistributorType.sol +2 -2
  523. package/contracts/type/Fee.sol +66 -0
  524. package/contracts/{types → type}/Key32.sol +2 -2
  525. package/contracts/type/Key32Set.sol +62 -0
  526. package/contracts/{types → type}/NftId.sol +28 -15
  527. package/contracts/{types → type}/NftIdSet.sol +2 -2
  528. package/contracts/type/ObjectType.sol +307 -0
  529. package/contracts/type/PayoutId.sol +82 -0
  530. package/contracts/{types → type}/Referral.sol +6 -1
  531. package/contracts/type/RequestId.sol +75 -0
  532. package/contracts/type/RiskId.sol +75 -0
  533. package/contracts/type/RoleId.sol +180 -0
  534. package/contracts/type/Seconds.sol +120 -0
  535. package/contracts/type/Selector.sol +107 -0
  536. package/contracts/{types → type}/StateId.sol +48 -4
  537. package/contracts/type/String.sol +65 -0
  538. package/contracts/{types → type}/Timestamp.sol +36 -20
  539. package/contracts/type/UFixed.sol +263 -0
  540. package/contracts/{types → type}/Version.sol +59 -7
  541. package/contracts/{shared → upgradeability}/IVersionable.sol +7 -47
  542. package/contracts/upgradeability/ProxyManager.sol +246 -0
  543. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  544. package/contracts/upgradeability/Versionable.sol +62 -0
  545. package/package.json +12 -8
  546. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  547. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  548. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -744
  549. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  550. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -368
  551. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  552. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  553. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  554. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  555. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  556. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  557. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  558. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -939
  559. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  560. package/artifacts/contracts/components/Product.sol/Product.json +0 -855
  561. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  563. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  565. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  567. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  568. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  569. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  570. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  571. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  572. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  573. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  575. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  577. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  579. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  581. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  583. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  584. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  585. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  586. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  587. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  588. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  589. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  590. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  591. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  592. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  593. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  594. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  595. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  596. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  597. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  598. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  599. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  600. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  601. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  602. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  603. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -788
  604. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  605. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  606. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  607. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  608. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  609. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -940
  610. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  611. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  612. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  613. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  614. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  615. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  616. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  617. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  618. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  619. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  620. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  621. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  622. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  623. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  624. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -211
  625. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  627. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  628. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  629. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  630. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -716
  631. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  632. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -444
  633. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  634. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  635. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  636. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  637. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  638. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  639. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1049
  640. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  641. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -464
  642. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  643. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1147
  644. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  645. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -488
  646. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  647. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  648. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  649. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  650. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  651. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  652. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  653. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  654. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  655. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  656. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  657. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  658. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  659. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  660. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  661. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  662. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  663. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  664. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  665. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  666. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  667. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  668. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  669. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  670. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  671. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  672. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  673. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  674. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  675. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  676. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  677. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  678. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  679. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  680. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  681. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  682. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  683. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  684. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  685. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  686. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  687. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  688. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  689. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  690. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  691. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  692. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  693. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  694. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  695. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  696. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  697. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  698. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  699. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  700. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  701. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  702. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  703. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  704. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  705. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  706. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  707. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  708. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  709. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  710. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  711. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  712. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  713. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  714. package/contracts/components/BaseComponent.sol +0 -132
  715. package/contracts/components/Distribution.sol +0 -163
  716. package/contracts/components/IBaseComponent.sol +0 -31
  717. package/contracts/components/IDistributionComponent.sol +0 -44
  718. package/contracts/components/IPoolComponent.sol +0 -66
  719. package/contracts/components/IProductComponent.sol +0 -35
  720. package/contracts/components/Pool.sol +0 -267
  721. package/contracts/components/Product.sol +0 -289
  722. package/contracts/experiment/cloning/Cloner.sol +0 -47
  723. package/contracts/experiment/errors/Require.sol +0 -38
  724. package/contracts/experiment/errors/Revert.sol +0 -44
  725. package/contracts/experiment/inheritance/A.sol +0 -53
  726. package/contracts/experiment/inheritance/B.sol +0 -28
  727. package/contracts/experiment/inheritance/C.sol +0 -34
  728. package/contracts/experiment/inheritance/IA.sol +0 -13
  729. package/contracts/experiment/inheritance/IB.sol +0 -10
  730. package/contracts/experiment/inheritance/IC.sol +0 -12
  731. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  732. package/contracts/experiment/statemachine/ISM.sol +0 -25
  733. package/contracts/experiment/statemachine/SM.sol +0 -57
  734. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  735. package/contracts/experiment/types/TypeA.sol +0 -47
  736. package/contracts/experiment/types/TypeB.sol +0 -29
  737. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  738. package/contracts/instance/BundleManager.sol +0 -129
  739. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  740. package/contracts/instance/IInstanceBase.sol +0 -26
  741. package/contracts/instance/InstanceAccessManager.sol +0 -288
  742. package/contracts/instance/InstanceBase.sol +0 -41
  743. package/contracts/instance/ObjectManager.sol +0 -101
  744. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  745. package/contracts/instance/base/IInstanceBase.sol +0 -23
  746. package/contracts/instance/base/KeyValueStore.sol +0 -172
  747. package/contracts/instance/base/Lifecycle.sol +0 -100
  748. package/contracts/instance/module/IAccess.sol +0 -38
  749. package/contracts/instance/module/ISetup.sol +0 -46
  750. package/contracts/instance/module/ITreasury.sol +0 -23
  751. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  752. package/contracts/instance/service/DistributionService.sol +0 -88
  753. package/contracts/instance/service/DistributionServiceManager.sol +0 -54
  754. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  755. package/contracts/instance/service/IDistributionService.sol +0 -12
  756. package/contracts/instance/service/IPoolService.sol +0 -51
  757. package/contracts/instance/service/IProductService.sol +0 -110
  758. package/contracts/instance/service/PoolService.sol +0 -287
  759. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  760. package/contracts/instance/service/ProductService.sol +0 -570
  761. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  762. package/contracts/shared/ContractDeployerLib.sol +0 -72
  763. package/contracts/shared/ERC165.sol +0 -25
  764. package/contracts/shared/ProxyManager.sol +0 -94
  765. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  766. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
  767. package/contracts/shared/Versionable.sol +0 -147
  768. package/contracts/test/TestFee.sol +0 -25
  769. package/contracts/test/TestRegisterable.sol +0 -18
  770. package/contracts/test/TestRoleId.sol +0 -14
  771. package/contracts/test/TestService.sol +0 -24
  772. package/contracts/test/TestToken.sol +0 -26
  773. package/contracts/test/TestVersion.sol +0 -44
  774. package/contracts/test/TestVersionable.sol +0 -17
  775. package/contracts/types/ChainId.sol +0 -38
  776. package/contracts/types/Fee.sol +0 -56
  777. package/contracts/types/NumberId.sol +0 -52
  778. package/contracts/types/ObjectType.sol +0 -152
  779. package/contracts/types/RiskId.sol +0 -43
  780. package/contracts/types/RoleId.sol +0 -90
  781. package/contracts/types/UFixed.sol +0 -325
@@ -0,0 +1,1852 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ProductStore",
4
+ "sourceName": "contracts/instance/ProductStore.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "targetNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorBalanceStoreTargetAlreadyRegistered",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "targetNftId",
60
+ "type": "uint96"
61
+ }
62
+ ],
63
+ "name": "ErrorBalanceStoreTargetNotRegistered",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "Key32",
70
+ "name": "key",
71
+ "type": "bytes32"
72
+ },
73
+ {
74
+ "internalType": "ObjectType",
75
+ "name": "objectType",
76
+ "type": "uint8"
77
+ }
78
+ ],
79
+ "name": "ErrorBaseStoreAlreadyCreated",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "ObjectType",
86
+ "name": "objectType",
87
+ "type": "uint8"
88
+ }
89
+ ],
90
+ "name": "ErrorBaseStoreNoLifecycle",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "Key32",
97
+ "name": "key",
98
+ "type": "bytes32"
99
+ }
100
+ ],
101
+ "name": "ErrorBaseStoreNotExisting",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [
106
+ {
107
+ "internalType": "Key32",
108
+ "name": "key",
109
+ "type": "bytes32"
110
+ }
111
+ ],
112
+ "name": "ErrorBaseStoreStateZero",
113
+ "type": "error"
114
+ },
115
+ {
116
+ "inputs": [
117
+ {
118
+ "internalType": "ObjectType",
119
+ "name": "objectType",
120
+ "type": "uint8"
121
+ }
122
+ ],
123
+ "name": "ErrorBaseStoreTypeUndefined",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [
128
+ {
129
+ "internalType": "address",
130
+ "name": "contractAddress",
131
+ "type": "address"
132
+ },
133
+ {
134
+ "internalType": "ObjectType",
135
+ "name": "objectType",
136
+ "type": "uint8"
137
+ },
138
+ {
139
+ "internalType": "StateId",
140
+ "name": "actual",
141
+ "type": "uint8"
142
+ },
143
+ {
144
+ "internalType": "StateId",
145
+ "name": "required",
146
+ "type": "uint8"
147
+ }
148
+ ],
149
+ "name": "ErrorFromStateMissmatch",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "address",
156
+ "name": "contractAddress",
157
+ "type": "address"
158
+ },
159
+ {
160
+ "internalType": "ObjectType",
161
+ "name": "objectType",
162
+ "type": "uint8"
163
+ },
164
+ {
165
+ "internalType": "StateId",
166
+ "name": "fromStateId",
167
+ "type": "uint8"
168
+ },
169
+ {
170
+ "internalType": "StateId",
171
+ "name": "toStateId",
172
+ "type": "uint8"
173
+ }
174
+ ],
175
+ "name": "ErrorInvalidStateTransition",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "address",
182
+ "name": "contractAddress",
183
+ "type": "address"
184
+ },
185
+ {
186
+ "internalType": "ObjectType",
187
+ "name": "objectType",
188
+ "type": "uint8"
189
+ }
190
+ ],
191
+ "name": "ErrorNoLifecycle",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "InvalidInitialization",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [],
201
+ "name": "NotInitializing",
202
+ "type": "error"
203
+ },
204
+ {
205
+ "anonymous": false,
206
+ "inputs": [
207
+ {
208
+ "indexed": false,
209
+ "internalType": "address",
210
+ "name": "authority",
211
+ "type": "address"
212
+ }
213
+ ],
214
+ "name": "AuthorityUpdated",
215
+ "type": "event"
216
+ },
217
+ {
218
+ "anonymous": false,
219
+ "inputs": [
220
+ {
221
+ "indexed": false,
222
+ "internalType": "uint64",
223
+ "name": "version",
224
+ "type": "uint64"
225
+ }
226
+ ],
227
+ "name": "Initialized",
228
+ "type": "event"
229
+ },
230
+ {
231
+ "anonymous": false,
232
+ "inputs": [
233
+ {
234
+ "indexed": false,
235
+ "internalType": "NftId",
236
+ "name": "targetNftId",
237
+ "type": "uint96"
238
+ },
239
+ {
240
+ "indexed": false,
241
+ "internalType": "Amount",
242
+ "name": "addedAmount",
243
+ "type": "uint96"
244
+ },
245
+ {
246
+ "indexed": false,
247
+ "internalType": "Amount",
248
+ "name": "newBalance",
249
+ "type": "uint96"
250
+ },
251
+ {
252
+ "indexed": false,
253
+ "internalType": "Blocknumber",
254
+ "name": "lastUpdatedIn",
255
+ "type": "uint40"
256
+ }
257
+ ],
258
+ "name": "LogBalanceStoreBalanceDecreased",
259
+ "type": "event"
260
+ },
261
+ {
262
+ "anonymous": false,
263
+ "inputs": [
264
+ {
265
+ "indexed": false,
266
+ "internalType": "NftId",
267
+ "name": "targetNftId",
268
+ "type": "uint96"
269
+ },
270
+ {
271
+ "indexed": false,
272
+ "internalType": "Amount",
273
+ "name": "addedAmount",
274
+ "type": "uint96"
275
+ },
276
+ {
277
+ "indexed": false,
278
+ "internalType": "Amount",
279
+ "name": "newBalance",
280
+ "type": "uint96"
281
+ },
282
+ {
283
+ "indexed": false,
284
+ "internalType": "Blocknumber",
285
+ "name": "lastUpdatedIn",
286
+ "type": "uint40"
287
+ }
288
+ ],
289
+ "name": "LogBalanceStoreBalanceIncreased",
290
+ "type": "event"
291
+ },
292
+ {
293
+ "anonymous": false,
294
+ "inputs": [
295
+ {
296
+ "indexed": false,
297
+ "internalType": "NftId",
298
+ "name": "targetNftId",
299
+ "type": "uint96"
300
+ },
301
+ {
302
+ "indexed": false,
303
+ "internalType": "Amount",
304
+ "name": "addedAmount",
305
+ "type": "uint96"
306
+ },
307
+ {
308
+ "indexed": false,
309
+ "internalType": "Amount",
310
+ "name": "newBalance",
311
+ "type": "uint96"
312
+ },
313
+ {
314
+ "indexed": false,
315
+ "internalType": "Blocknumber",
316
+ "name": "lastUpdatedIn",
317
+ "type": "uint40"
318
+ }
319
+ ],
320
+ "name": "LogBalanceStoreFeesDecreased",
321
+ "type": "event"
322
+ },
323
+ {
324
+ "anonymous": false,
325
+ "inputs": [
326
+ {
327
+ "indexed": false,
328
+ "internalType": "NftId",
329
+ "name": "targetNftId",
330
+ "type": "uint96"
331
+ },
332
+ {
333
+ "indexed": false,
334
+ "internalType": "Amount",
335
+ "name": "addedAmount",
336
+ "type": "uint96"
337
+ },
338
+ {
339
+ "indexed": false,
340
+ "internalType": "Amount",
341
+ "name": "newBalance",
342
+ "type": "uint96"
343
+ },
344
+ {
345
+ "indexed": false,
346
+ "internalType": "Blocknumber",
347
+ "name": "lastUpdatedIn",
348
+ "type": "uint40"
349
+ }
350
+ ],
351
+ "name": "LogBalanceStoreFeesIncreased",
352
+ "type": "event"
353
+ },
354
+ {
355
+ "anonymous": false,
356
+ "inputs": [
357
+ {
358
+ "indexed": false,
359
+ "internalType": "NftId",
360
+ "name": "targetNftId",
361
+ "type": "uint96"
362
+ },
363
+ {
364
+ "indexed": false,
365
+ "internalType": "Amount",
366
+ "name": "addedAmount",
367
+ "type": "uint96"
368
+ },
369
+ {
370
+ "indexed": false,
371
+ "internalType": "Amount",
372
+ "name": "newBalance",
373
+ "type": "uint96"
374
+ },
375
+ {
376
+ "indexed": false,
377
+ "internalType": "Blocknumber",
378
+ "name": "lastUpdatedIn",
379
+ "type": "uint40"
380
+ }
381
+ ],
382
+ "name": "LogBalanceStoreLockedDecreased",
383
+ "type": "event"
384
+ },
385
+ {
386
+ "anonymous": false,
387
+ "inputs": [
388
+ {
389
+ "indexed": false,
390
+ "internalType": "NftId",
391
+ "name": "targetNftId",
392
+ "type": "uint96"
393
+ },
394
+ {
395
+ "indexed": false,
396
+ "internalType": "Amount",
397
+ "name": "addedAmount",
398
+ "type": "uint96"
399
+ },
400
+ {
401
+ "indexed": false,
402
+ "internalType": "Amount",
403
+ "name": "newBalance",
404
+ "type": "uint96"
405
+ },
406
+ {
407
+ "indexed": false,
408
+ "internalType": "Blocknumber",
409
+ "name": "lastUpdatedIn",
410
+ "type": "uint40"
411
+ }
412
+ ],
413
+ "name": "LogBalanceStoreLockedIncreased",
414
+ "type": "event"
415
+ },
416
+ {
417
+ "anonymous": false,
418
+ "inputs": [
419
+ {
420
+ "indexed": false,
421
+ "internalType": "NftId",
422
+ "name": "targetNftId",
423
+ "type": "uint96"
424
+ }
425
+ ],
426
+ "name": "LogBalanceStoreTargetRegistered",
427
+ "type": "event"
428
+ },
429
+ {
430
+ "anonymous": false,
431
+ "inputs": [
432
+ {
433
+ "indexed": false,
434
+ "internalType": "NftId",
435
+ "name": "policyNftId",
436
+ "type": "uint96"
437
+ },
438
+ {
439
+ "indexed": false,
440
+ "internalType": "StateId",
441
+ "name": "state",
442
+ "type": "uint8"
443
+ },
444
+ {
445
+ "indexed": false,
446
+ "internalType": "address",
447
+ "name": "createdBy",
448
+ "type": "address"
449
+ },
450
+ {
451
+ "indexed": false,
452
+ "internalType": "address",
453
+ "name": "txOrigin",
454
+ "type": "address"
455
+ }
456
+ ],
457
+ "name": "LogProductStorePolicyInfoCreated",
458
+ "type": "event"
459
+ },
460
+ {
461
+ "anonymous": false,
462
+ "inputs": [
463
+ {
464
+ "indexed": false,
465
+ "internalType": "NftId",
466
+ "name": "policyNftId",
467
+ "type": "uint96"
468
+ },
469
+ {
470
+ "indexed": false,
471
+ "internalType": "StateId",
472
+ "name": "oldState",
473
+ "type": "uint8"
474
+ },
475
+ {
476
+ "indexed": false,
477
+ "internalType": "StateId",
478
+ "name": "newState",
479
+ "type": "uint8"
480
+ },
481
+ {
482
+ "indexed": false,
483
+ "internalType": "address",
484
+ "name": "updatedBy",
485
+ "type": "address"
486
+ },
487
+ {
488
+ "indexed": false,
489
+ "internalType": "address",
490
+ "name": "txOrigin",
491
+ "type": "address"
492
+ },
493
+ {
494
+ "indexed": false,
495
+ "internalType": "Blocknumber",
496
+ "name": "lastUpdatedIn",
497
+ "type": "uint40"
498
+ }
499
+ ],
500
+ "name": "LogProductStorePolicyInfoUpdated",
501
+ "type": "event"
502
+ },
503
+ {
504
+ "anonymous": false,
505
+ "inputs": [
506
+ {
507
+ "indexed": false,
508
+ "internalType": "NftId",
509
+ "name": "policyNftId",
510
+ "type": "uint96"
511
+ },
512
+ {
513
+ "indexed": false,
514
+ "internalType": "StateId",
515
+ "name": "state",
516
+ "type": "uint8"
517
+ },
518
+ {
519
+ "indexed": false,
520
+ "internalType": "address",
521
+ "name": "createdBy",
522
+ "type": "address"
523
+ },
524
+ {
525
+ "indexed": false,
526
+ "internalType": "address",
527
+ "name": "txOrigin",
528
+ "type": "address"
529
+ }
530
+ ],
531
+ "name": "LogProductStorePremiumInfoCreated",
532
+ "type": "event"
533
+ },
534
+ {
535
+ "anonymous": false,
536
+ "inputs": [
537
+ {
538
+ "indexed": false,
539
+ "internalType": "NftId",
540
+ "name": "policyNftId",
541
+ "type": "uint96"
542
+ },
543
+ {
544
+ "indexed": false,
545
+ "internalType": "StateId",
546
+ "name": "oldState",
547
+ "type": "uint8"
548
+ },
549
+ {
550
+ "indexed": false,
551
+ "internalType": "StateId",
552
+ "name": "newState",
553
+ "type": "uint8"
554
+ },
555
+ {
556
+ "indexed": false,
557
+ "internalType": "address",
558
+ "name": "updatedBy",
559
+ "type": "address"
560
+ },
561
+ {
562
+ "indexed": false,
563
+ "internalType": "address",
564
+ "name": "txOrigin",
565
+ "type": "address"
566
+ },
567
+ {
568
+ "indexed": false,
569
+ "internalType": "Blocknumber",
570
+ "name": "lastUpdatedIn",
571
+ "type": "uint40"
572
+ }
573
+ ],
574
+ "name": "LogProductStorePremiumInfoUpdated",
575
+ "type": "event"
576
+ },
577
+ {
578
+ "inputs": [],
579
+ "name": "authority",
580
+ "outputs": [
581
+ {
582
+ "internalType": "address",
583
+ "name": "",
584
+ "type": "address"
585
+ }
586
+ ],
587
+ "stateMutability": "view",
588
+ "type": "function"
589
+ },
590
+ {
591
+ "inputs": [
592
+ {
593
+ "internalType": "StateId",
594
+ "name": "stateId",
595
+ "type": "uint8"
596
+ },
597
+ {
598
+ "internalType": "ObjectType",
599
+ "name": "objectType",
600
+ "type": "uint8"
601
+ },
602
+ {
603
+ "internalType": "StateId",
604
+ "name": "expectedFromId",
605
+ "type": "uint8"
606
+ },
607
+ {
608
+ "internalType": "StateId",
609
+ "name": "toId",
610
+ "type": "uint8"
611
+ }
612
+ ],
613
+ "name": "checkTransition",
614
+ "outputs": [],
615
+ "stateMutability": "view",
616
+ "type": "function"
617
+ },
618
+ {
619
+ "inputs": [
620
+ {
621
+ "internalType": "NftId",
622
+ "name": "applicationNftId",
623
+ "type": "uint96"
624
+ },
625
+ {
626
+ "components": [
627
+ {
628
+ "internalType": "NftId",
629
+ "name": "productNftId",
630
+ "type": "uint96"
631
+ },
632
+ {
633
+ "internalType": "NftId",
634
+ "name": "bundleNftId",
635
+ "type": "uint96"
636
+ },
637
+ {
638
+ "internalType": "RiskId",
639
+ "name": "riskId",
640
+ "type": "bytes8"
641
+ },
642
+ {
643
+ "internalType": "Amount",
644
+ "name": "sumInsuredAmount",
645
+ "type": "uint96"
646
+ },
647
+ {
648
+ "internalType": "Amount",
649
+ "name": "premiumAmount",
650
+ "type": "uint96"
651
+ },
652
+ {
653
+ "internalType": "ReferralId",
654
+ "name": "referralId",
655
+ "type": "bytes8"
656
+ },
657
+ {
658
+ "internalType": "uint16",
659
+ "name": "claimsCount",
660
+ "type": "uint16"
661
+ },
662
+ {
663
+ "internalType": "uint16",
664
+ "name": "openClaimsCount",
665
+ "type": "uint16"
666
+ },
667
+ {
668
+ "internalType": "Amount",
669
+ "name": "claimAmount",
670
+ "type": "uint96"
671
+ },
672
+ {
673
+ "internalType": "Amount",
674
+ "name": "payoutAmount",
675
+ "type": "uint96"
676
+ },
677
+ {
678
+ "internalType": "Timestamp",
679
+ "name": "activatedAt",
680
+ "type": "uint40"
681
+ },
682
+ {
683
+ "internalType": "Seconds",
684
+ "name": "lifetime",
685
+ "type": "uint40"
686
+ },
687
+ {
688
+ "internalType": "Timestamp",
689
+ "name": "expiredAt",
690
+ "type": "uint40"
691
+ },
692
+ {
693
+ "internalType": "Timestamp",
694
+ "name": "closedAt",
695
+ "type": "uint40"
696
+ },
697
+ {
698
+ "internalType": "bytes",
699
+ "name": "applicationData",
700
+ "type": "bytes"
701
+ },
702
+ {
703
+ "internalType": "bytes",
704
+ "name": "processData",
705
+ "type": "bytes"
706
+ }
707
+ ],
708
+ "internalType": "struct IPolicy.PolicyInfo",
709
+ "name": "policy",
710
+ "type": "tuple"
711
+ }
712
+ ],
713
+ "name": "createApplication",
714
+ "outputs": [],
715
+ "stateMutability": "nonpayable",
716
+ "type": "function"
717
+ },
718
+ {
719
+ "inputs": [
720
+ {
721
+ "internalType": "NftId",
722
+ "name": "policyNftId",
723
+ "type": "uint96"
724
+ },
725
+ {
726
+ "components": [
727
+ {
728
+ "internalType": "Amount",
729
+ "name": "productFeeAmount",
730
+ "type": "uint96"
731
+ },
732
+ {
733
+ "internalType": "Amount",
734
+ "name": "distributionFeeAndCommissionAmount",
735
+ "type": "uint96"
736
+ },
737
+ {
738
+ "internalType": "Amount",
739
+ "name": "poolPremiumAndFeeAmount",
740
+ "type": "uint96"
741
+ },
742
+ {
743
+ "internalType": "Amount",
744
+ "name": "netPremiumAmount",
745
+ "type": "uint96"
746
+ },
747
+ {
748
+ "internalType": "Amount",
749
+ "name": "fullPremiumAmount",
750
+ "type": "uint96"
751
+ },
752
+ {
753
+ "internalType": "Amount",
754
+ "name": "premiumAmount",
755
+ "type": "uint96"
756
+ },
757
+ {
758
+ "internalType": "Amount",
759
+ "name": "productFeeFixAmount",
760
+ "type": "uint96"
761
+ },
762
+ {
763
+ "internalType": "Amount",
764
+ "name": "poolFeeFixAmount",
765
+ "type": "uint96"
766
+ },
767
+ {
768
+ "internalType": "Amount",
769
+ "name": "bundleFeeFixAmount",
770
+ "type": "uint96"
771
+ },
772
+ {
773
+ "internalType": "Amount",
774
+ "name": "distributionFeeFixAmount",
775
+ "type": "uint96"
776
+ },
777
+ {
778
+ "internalType": "Amount",
779
+ "name": "productFeeVarAmount",
780
+ "type": "uint96"
781
+ },
782
+ {
783
+ "internalType": "Amount",
784
+ "name": "poolFeeVarAmount",
785
+ "type": "uint96"
786
+ },
787
+ {
788
+ "internalType": "Amount",
789
+ "name": "bundleFeeVarAmount",
790
+ "type": "uint96"
791
+ },
792
+ {
793
+ "internalType": "Amount",
794
+ "name": "distributionFeeVarAmount",
795
+ "type": "uint96"
796
+ },
797
+ {
798
+ "internalType": "Amount",
799
+ "name": "distributionOwnerFeeFixAmount",
800
+ "type": "uint96"
801
+ },
802
+ {
803
+ "internalType": "Amount",
804
+ "name": "distributionOwnerFeeVarAmount",
805
+ "type": "uint96"
806
+ },
807
+ {
808
+ "internalType": "Amount",
809
+ "name": "commissionAmount",
810
+ "type": "uint96"
811
+ },
812
+ {
813
+ "internalType": "Amount",
814
+ "name": "discountAmount",
815
+ "type": "uint96"
816
+ }
817
+ ],
818
+ "internalType": "struct IPolicy.PremiumInfo",
819
+ "name": "premium",
820
+ "type": "tuple"
821
+ }
822
+ ],
823
+ "name": "createPremium",
824
+ "outputs": [],
825
+ "stateMutability": "nonpayable",
826
+ "type": "function"
827
+ },
828
+ {
829
+ "inputs": [
830
+ {
831
+ "internalType": "Key32",
832
+ "name": "key32",
833
+ "type": "bytes32"
834
+ }
835
+ ],
836
+ "name": "exists",
837
+ "outputs": [
838
+ {
839
+ "internalType": "bool",
840
+ "name": "",
841
+ "type": "bool"
842
+ }
843
+ ],
844
+ "stateMutability": "view",
845
+ "type": "function"
846
+ },
847
+ {
848
+ "inputs": [
849
+ {
850
+ "internalType": "NftId",
851
+ "name": "targetNftId",
852
+ "type": "uint96"
853
+ }
854
+ ],
855
+ "name": "getAmounts",
856
+ "outputs": [
857
+ {
858
+ "internalType": "Amount",
859
+ "name": "balanceAmount",
860
+ "type": "uint96"
861
+ },
862
+ {
863
+ "internalType": "Amount",
864
+ "name": "lockedAmount",
865
+ "type": "uint96"
866
+ },
867
+ {
868
+ "internalType": "Amount",
869
+ "name": "feeAmount",
870
+ "type": "uint96"
871
+ }
872
+ ],
873
+ "stateMutability": "view",
874
+ "type": "function"
875
+ },
876
+ {
877
+ "inputs": [
878
+ {
879
+ "internalType": "NftId",
880
+ "name": "targetNftId",
881
+ "type": "uint96"
882
+ }
883
+ ],
884
+ "name": "getBalanceAmount",
885
+ "outputs": [
886
+ {
887
+ "internalType": "Amount",
888
+ "name": "balanceAmount",
889
+ "type": "uint96"
890
+ }
891
+ ],
892
+ "stateMutability": "view",
893
+ "type": "function"
894
+ },
895
+ {
896
+ "inputs": [
897
+ {
898
+ "internalType": "NftId",
899
+ "name": "targetNftId",
900
+ "type": "uint96"
901
+ }
902
+ ],
903
+ "name": "getFeeAmount",
904
+ "outputs": [
905
+ {
906
+ "internalType": "Amount",
907
+ "name": "feeAmount",
908
+ "type": "uint96"
909
+ }
910
+ ],
911
+ "stateMutability": "view",
912
+ "type": "function"
913
+ },
914
+ {
915
+ "inputs": [
916
+ {
917
+ "internalType": "ObjectType",
918
+ "name": "objectType",
919
+ "type": "uint8"
920
+ }
921
+ ],
922
+ "name": "getInitialState",
923
+ "outputs": [
924
+ {
925
+ "internalType": "StateId",
926
+ "name": "",
927
+ "type": "uint8"
928
+ }
929
+ ],
930
+ "stateMutability": "view",
931
+ "type": "function"
932
+ },
933
+ {
934
+ "inputs": [
935
+ {
936
+ "internalType": "NftId",
937
+ "name": "targetNftId",
938
+ "type": "uint96"
939
+ }
940
+ ],
941
+ "name": "getLockedAmount",
942
+ "outputs": [
943
+ {
944
+ "internalType": "Amount",
945
+ "name": "lockedAmount",
946
+ "type": "uint96"
947
+ }
948
+ ],
949
+ "stateMutability": "view",
950
+ "type": "function"
951
+ },
952
+ {
953
+ "inputs": [
954
+ {
955
+ "internalType": "Key32",
956
+ "name": "key32",
957
+ "type": "bytes32"
958
+ }
959
+ ],
960
+ "name": "getMetadata",
961
+ "outputs": [
962
+ {
963
+ "components": [
964
+ {
965
+ "internalType": "ObjectType",
966
+ "name": "objectType",
967
+ "type": "uint8"
968
+ },
969
+ {
970
+ "internalType": "StateId",
971
+ "name": "state",
972
+ "type": "uint8"
973
+ },
974
+ {
975
+ "internalType": "Blocknumber",
976
+ "name": "updatedIn",
977
+ "type": "uint40"
978
+ }
979
+ ],
980
+ "internalType": "struct IBaseStore.Metadata",
981
+ "name": "metadata",
982
+ "type": "tuple"
983
+ }
984
+ ],
985
+ "stateMutability": "view",
986
+ "type": "function"
987
+ },
988
+ {
989
+ "inputs": [
990
+ {
991
+ "internalType": "NftId",
992
+ "name": "policyNftId",
993
+ "type": "uint96"
994
+ }
995
+ ],
996
+ "name": "getPolicy",
997
+ "outputs": [
998
+ {
999
+ "components": [
1000
+ {
1001
+ "internalType": "NftId",
1002
+ "name": "productNftId",
1003
+ "type": "uint96"
1004
+ },
1005
+ {
1006
+ "internalType": "NftId",
1007
+ "name": "bundleNftId",
1008
+ "type": "uint96"
1009
+ },
1010
+ {
1011
+ "internalType": "RiskId",
1012
+ "name": "riskId",
1013
+ "type": "bytes8"
1014
+ },
1015
+ {
1016
+ "internalType": "Amount",
1017
+ "name": "sumInsuredAmount",
1018
+ "type": "uint96"
1019
+ },
1020
+ {
1021
+ "internalType": "Amount",
1022
+ "name": "premiumAmount",
1023
+ "type": "uint96"
1024
+ },
1025
+ {
1026
+ "internalType": "ReferralId",
1027
+ "name": "referralId",
1028
+ "type": "bytes8"
1029
+ },
1030
+ {
1031
+ "internalType": "uint16",
1032
+ "name": "claimsCount",
1033
+ "type": "uint16"
1034
+ },
1035
+ {
1036
+ "internalType": "uint16",
1037
+ "name": "openClaimsCount",
1038
+ "type": "uint16"
1039
+ },
1040
+ {
1041
+ "internalType": "Amount",
1042
+ "name": "claimAmount",
1043
+ "type": "uint96"
1044
+ },
1045
+ {
1046
+ "internalType": "Amount",
1047
+ "name": "payoutAmount",
1048
+ "type": "uint96"
1049
+ },
1050
+ {
1051
+ "internalType": "Timestamp",
1052
+ "name": "activatedAt",
1053
+ "type": "uint40"
1054
+ },
1055
+ {
1056
+ "internalType": "Seconds",
1057
+ "name": "lifetime",
1058
+ "type": "uint40"
1059
+ },
1060
+ {
1061
+ "internalType": "Timestamp",
1062
+ "name": "expiredAt",
1063
+ "type": "uint40"
1064
+ },
1065
+ {
1066
+ "internalType": "Timestamp",
1067
+ "name": "closedAt",
1068
+ "type": "uint40"
1069
+ },
1070
+ {
1071
+ "internalType": "bytes",
1072
+ "name": "applicationData",
1073
+ "type": "bytes"
1074
+ },
1075
+ {
1076
+ "internalType": "bytes",
1077
+ "name": "processData",
1078
+ "type": "bytes"
1079
+ }
1080
+ ],
1081
+ "internalType": "struct IPolicy.PolicyInfo",
1082
+ "name": "policy",
1083
+ "type": "tuple"
1084
+ }
1085
+ ],
1086
+ "stateMutability": "view",
1087
+ "type": "function"
1088
+ },
1089
+ {
1090
+ "inputs": [
1091
+ {
1092
+ "internalType": "NftId",
1093
+ "name": "policyNftId",
1094
+ "type": "uint96"
1095
+ }
1096
+ ],
1097
+ "name": "getPremium",
1098
+ "outputs": [
1099
+ {
1100
+ "components": [
1101
+ {
1102
+ "internalType": "Amount",
1103
+ "name": "productFeeAmount",
1104
+ "type": "uint96"
1105
+ },
1106
+ {
1107
+ "internalType": "Amount",
1108
+ "name": "distributionFeeAndCommissionAmount",
1109
+ "type": "uint96"
1110
+ },
1111
+ {
1112
+ "internalType": "Amount",
1113
+ "name": "poolPremiumAndFeeAmount",
1114
+ "type": "uint96"
1115
+ },
1116
+ {
1117
+ "internalType": "Amount",
1118
+ "name": "netPremiumAmount",
1119
+ "type": "uint96"
1120
+ },
1121
+ {
1122
+ "internalType": "Amount",
1123
+ "name": "fullPremiumAmount",
1124
+ "type": "uint96"
1125
+ },
1126
+ {
1127
+ "internalType": "Amount",
1128
+ "name": "premiumAmount",
1129
+ "type": "uint96"
1130
+ },
1131
+ {
1132
+ "internalType": "Amount",
1133
+ "name": "productFeeFixAmount",
1134
+ "type": "uint96"
1135
+ },
1136
+ {
1137
+ "internalType": "Amount",
1138
+ "name": "poolFeeFixAmount",
1139
+ "type": "uint96"
1140
+ },
1141
+ {
1142
+ "internalType": "Amount",
1143
+ "name": "bundleFeeFixAmount",
1144
+ "type": "uint96"
1145
+ },
1146
+ {
1147
+ "internalType": "Amount",
1148
+ "name": "distributionFeeFixAmount",
1149
+ "type": "uint96"
1150
+ },
1151
+ {
1152
+ "internalType": "Amount",
1153
+ "name": "productFeeVarAmount",
1154
+ "type": "uint96"
1155
+ },
1156
+ {
1157
+ "internalType": "Amount",
1158
+ "name": "poolFeeVarAmount",
1159
+ "type": "uint96"
1160
+ },
1161
+ {
1162
+ "internalType": "Amount",
1163
+ "name": "bundleFeeVarAmount",
1164
+ "type": "uint96"
1165
+ },
1166
+ {
1167
+ "internalType": "Amount",
1168
+ "name": "distributionFeeVarAmount",
1169
+ "type": "uint96"
1170
+ },
1171
+ {
1172
+ "internalType": "Amount",
1173
+ "name": "distributionOwnerFeeFixAmount",
1174
+ "type": "uint96"
1175
+ },
1176
+ {
1177
+ "internalType": "Amount",
1178
+ "name": "distributionOwnerFeeVarAmount",
1179
+ "type": "uint96"
1180
+ },
1181
+ {
1182
+ "internalType": "Amount",
1183
+ "name": "commissionAmount",
1184
+ "type": "uint96"
1185
+ },
1186
+ {
1187
+ "internalType": "Amount",
1188
+ "name": "discountAmount",
1189
+ "type": "uint96"
1190
+ }
1191
+ ],
1192
+ "internalType": "struct IPolicy.PremiumInfo",
1193
+ "name": "premium",
1194
+ "type": "tuple"
1195
+ }
1196
+ ],
1197
+ "stateMutability": "view",
1198
+ "type": "function"
1199
+ },
1200
+ {
1201
+ "inputs": [
1202
+ {
1203
+ "internalType": "Key32",
1204
+ "name": "key32",
1205
+ "type": "bytes32"
1206
+ }
1207
+ ],
1208
+ "name": "getState",
1209
+ "outputs": [
1210
+ {
1211
+ "internalType": "StateId",
1212
+ "name": "state",
1213
+ "type": "uint8"
1214
+ }
1215
+ ],
1216
+ "stateMutability": "view",
1217
+ "type": "function"
1218
+ },
1219
+ {
1220
+ "inputs": [
1221
+ {
1222
+ "internalType": "ObjectType",
1223
+ "name": "objectType",
1224
+ "type": "uint8"
1225
+ }
1226
+ ],
1227
+ "name": "hasLifecycle",
1228
+ "outputs": [
1229
+ {
1230
+ "internalType": "bool",
1231
+ "name": "",
1232
+ "type": "bool"
1233
+ }
1234
+ ],
1235
+ "stateMutability": "view",
1236
+ "type": "function"
1237
+ },
1238
+ {
1239
+ "inputs": [],
1240
+ "name": "initialize",
1241
+ "outputs": [],
1242
+ "stateMutability": "nonpayable",
1243
+ "type": "function"
1244
+ },
1245
+ {
1246
+ "inputs": [],
1247
+ "name": "isConsumingScheduledOp",
1248
+ "outputs": [
1249
+ {
1250
+ "internalType": "bytes4",
1251
+ "name": "",
1252
+ "type": "bytes4"
1253
+ }
1254
+ ],
1255
+ "stateMutability": "view",
1256
+ "type": "function"
1257
+ },
1258
+ {
1259
+ "inputs": [
1260
+ {
1261
+ "internalType": "ObjectType",
1262
+ "name": "objectType",
1263
+ "type": "uint8"
1264
+ },
1265
+ {
1266
+ "internalType": "StateId",
1267
+ "name": "fromId",
1268
+ "type": "uint8"
1269
+ },
1270
+ {
1271
+ "internalType": "StateId",
1272
+ "name": "toId",
1273
+ "type": "uint8"
1274
+ }
1275
+ ],
1276
+ "name": "isValidTransition",
1277
+ "outputs": [
1278
+ {
1279
+ "internalType": "bool",
1280
+ "name": "",
1281
+ "type": "bool"
1282
+ }
1283
+ ],
1284
+ "stateMutability": "view",
1285
+ "type": "function"
1286
+ },
1287
+ {
1288
+ "inputs": [
1289
+ {
1290
+ "internalType": "address",
1291
+ "name": "newAuthority",
1292
+ "type": "address"
1293
+ }
1294
+ ],
1295
+ "name": "setAuthority",
1296
+ "outputs": [],
1297
+ "stateMutability": "nonpayable",
1298
+ "type": "function"
1299
+ },
1300
+ {
1301
+ "inputs": [
1302
+ {
1303
+ "internalType": "ObjectType",
1304
+ "name": "objectType",
1305
+ "type": "uint8"
1306
+ },
1307
+ {
1308
+ "internalType": "KeyId",
1309
+ "name": "id",
1310
+ "type": "bytes31"
1311
+ }
1312
+ ],
1313
+ "name": "toKey32",
1314
+ "outputs": [
1315
+ {
1316
+ "internalType": "Key32",
1317
+ "name": "",
1318
+ "type": "bytes32"
1319
+ }
1320
+ ],
1321
+ "stateMutability": "pure",
1322
+ "type": "function"
1323
+ },
1324
+ {
1325
+ "inputs": [
1326
+ {
1327
+ "internalType": "NftId",
1328
+ "name": "applicationNftId",
1329
+ "type": "uint96"
1330
+ },
1331
+ {
1332
+ "components": [
1333
+ {
1334
+ "internalType": "NftId",
1335
+ "name": "productNftId",
1336
+ "type": "uint96"
1337
+ },
1338
+ {
1339
+ "internalType": "NftId",
1340
+ "name": "bundleNftId",
1341
+ "type": "uint96"
1342
+ },
1343
+ {
1344
+ "internalType": "RiskId",
1345
+ "name": "riskId",
1346
+ "type": "bytes8"
1347
+ },
1348
+ {
1349
+ "internalType": "Amount",
1350
+ "name": "sumInsuredAmount",
1351
+ "type": "uint96"
1352
+ },
1353
+ {
1354
+ "internalType": "Amount",
1355
+ "name": "premiumAmount",
1356
+ "type": "uint96"
1357
+ },
1358
+ {
1359
+ "internalType": "ReferralId",
1360
+ "name": "referralId",
1361
+ "type": "bytes8"
1362
+ },
1363
+ {
1364
+ "internalType": "uint16",
1365
+ "name": "claimsCount",
1366
+ "type": "uint16"
1367
+ },
1368
+ {
1369
+ "internalType": "uint16",
1370
+ "name": "openClaimsCount",
1371
+ "type": "uint16"
1372
+ },
1373
+ {
1374
+ "internalType": "Amount",
1375
+ "name": "claimAmount",
1376
+ "type": "uint96"
1377
+ },
1378
+ {
1379
+ "internalType": "Amount",
1380
+ "name": "payoutAmount",
1381
+ "type": "uint96"
1382
+ },
1383
+ {
1384
+ "internalType": "Timestamp",
1385
+ "name": "activatedAt",
1386
+ "type": "uint40"
1387
+ },
1388
+ {
1389
+ "internalType": "Seconds",
1390
+ "name": "lifetime",
1391
+ "type": "uint40"
1392
+ },
1393
+ {
1394
+ "internalType": "Timestamp",
1395
+ "name": "expiredAt",
1396
+ "type": "uint40"
1397
+ },
1398
+ {
1399
+ "internalType": "Timestamp",
1400
+ "name": "closedAt",
1401
+ "type": "uint40"
1402
+ },
1403
+ {
1404
+ "internalType": "bytes",
1405
+ "name": "applicationData",
1406
+ "type": "bytes"
1407
+ },
1408
+ {
1409
+ "internalType": "bytes",
1410
+ "name": "processData",
1411
+ "type": "bytes"
1412
+ }
1413
+ ],
1414
+ "internalType": "struct IPolicy.PolicyInfo",
1415
+ "name": "policy",
1416
+ "type": "tuple"
1417
+ },
1418
+ {
1419
+ "internalType": "StateId",
1420
+ "name": "newState",
1421
+ "type": "uint8"
1422
+ }
1423
+ ],
1424
+ "name": "updateApplication",
1425
+ "outputs": [],
1426
+ "stateMutability": "nonpayable",
1427
+ "type": "function"
1428
+ },
1429
+ {
1430
+ "inputs": [
1431
+ {
1432
+ "internalType": "NftId",
1433
+ "name": "applicationNftId",
1434
+ "type": "uint96"
1435
+ },
1436
+ {
1437
+ "internalType": "StateId",
1438
+ "name": "newState",
1439
+ "type": "uint8"
1440
+ }
1441
+ ],
1442
+ "name": "updateApplicationState",
1443
+ "outputs": [],
1444
+ "stateMutability": "nonpayable",
1445
+ "type": "function"
1446
+ },
1447
+ {
1448
+ "inputs": [
1449
+ {
1450
+ "internalType": "NftId",
1451
+ "name": "policyNftId",
1452
+ "type": "uint96"
1453
+ },
1454
+ {
1455
+ "components": [
1456
+ {
1457
+ "internalType": "NftId",
1458
+ "name": "productNftId",
1459
+ "type": "uint96"
1460
+ },
1461
+ {
1462
+ "internalType": "NftId",
1463
+ "name": "bundleNftId",
1464
+ "type": "uint96"
1465
+ },
1466
+ {
1467
+ "internalType": "RiskId",
1468
+ "name": "riskId",
1469
+ "type": "bytes8"
1470
+ },
1471
+ {
1472
+ "internalType": "Amount",
1473
+ "name": "sumInsuredAmount",
1474
+ "type": "uint96"
1475
+ },
1476
+ {
1477
+ "internalType": "Amount",
1478
+ "name": "premiumAmount",
1479
+ "type": "uint96"
1480
+ },
1481
+ {
1482
+ "internalType": "ReferralId",
1483
+ "name": "referralId",
1484
+ "type": "bytes8"
1485
+ },
1486
+ {
1487
+ "internalType": "uint16",
1488
+ "name": "claimsCount",
1489
+ "type": "uint16"
1490
+ },
1491
+ {
1492
+ "internalType": "uint16",
1493
+ "name": "openClaimsCount",
1494
+ "type": "uint16"
1495
+ },
1496
+ {
1497
+ "internalType": "Amount",
1498
+ "name": "claimAmount",
1499
+ "type": "uint96"
1500
+ },
1501
+ {
1502
+ "internalType": "Amount",
1503
+ "name": "payoutAmount",
1504
+ "type": "uint96"
1505
+ },
1506
+ {
1507
+ "internalType": "Timestamp",
1508
+ "name": "activatedAt",
1509
+ "type": "uint40"
1510
+ },
1511
+ {
1512
+ "internalType": "Seconds",
1513
+ "name": "lifetime",
1514
+ "type": "uint40"
1515
+ },
1516
+ {
1517
+ "internalType": "Timestamp",
1518
+ "name": "expiredAt",
1519
+ "type": "uint40"
1520
+ },
1521
+ {
1522
+ "internalType": "Timestamp",
1523
+ "name": "closedAt",
1524
+ "type": "uint40"
1525
+ },
1526
+ {
1527
+ "internalType": "bytes",
1528
+ "name": "applicationData",
1529
+ "type": "bytes"
1530
+ },
1531
+ {
1532
+ "internalType": "bytes",
1533
+ "name": "processData",
1534
+ "type": "bytes"
1535
+ }
1536
+ ],
1537
+ "internalType": "struct IPolicy.PolicyInfo",
1538
+ "name": "policy",
1539
+ "type": "tuple"
1540
+ },
1541
+ {
1542
+ "internalType": "StateId",
1543
+ "name": "newState",
1544
+ "type": "uint8"
1545
+ }
1546
+ ],
1547
+ "name": "updatePolicy",
1548
+ "outputs": [],
1549
+ "stateMutability": "nonpayable",
1550
+ "type": "function"
1551
+ },
1552
+ {
1553
+ "inputs": [
1554
+ {
1555
+ "internalType": "NftId",
1556
+ "name": "policyNftId",
1557
+ "type": "uint96"
1558
+ },
1559
+ {
1560
+ "components": [
1561
+ {
1562
+ "internalType": "NftId",
1563
+ "name": "productNftId",
1564
+ "type": "uint96"
1565
+ },
1566
+ {
1567
+ "internalType": "NftId",
1568
+ "name": "bundleNftId",
1569
+ "type": "uint96"
1570
+ },
1571
+ {
1572
+ "internalType": "RiskId",
1573
+ "name": "riskId",
1574
+ "type": "bytes8"
1575
+ },
1576
+ {
1577
+ "internalType": "Amount",
1578
+ "name": "sumInsuredAmount",
1579
+ "type": "uint96"
1580
+ },
1581
+ {
1582
+ "internalType": "Amount",
1583
+ "name": "premiumAmount",
1584
+ "type": "uint96"
1585
+ },
1586
+ {
1587
+ "internalType": "ReferralId",
1588
+ "name": "referralId",
1589
+ "type": "bytes8"
1590
+ },
1591
+ {
1592
+ "internalType": "uint16",
1593
+ "name": "claimsCount",
1594
+ "type": "uint16"
1595
+ },
1596
+ {
1597
+ "internalType": "uint16",
1598
+ "name": "openClaimsCount",
1599
+ "type": "uint16"
1600
+ },
1601
+ {
1602
+ "internalType": "Amount",
1603
+ "name": "claimAmount",
1604
+ "type": "uint96"
1605
+ },
1606
+ {
1607
+ "internalType": "Amount",
1608
+ "name": "payoutAmount",
1609
+ "type": "uint96"
1610
+ },
1611
+ {
1612
+ "internalType": "Timestamp",
1613
+ "name": "activatedAt",
1614
+ "type": "uint40"
1615
+ },
1616
+ {
1617
+ "internalType": "Seconds",
1618
+ "name": "lifetime",
1619
+ "type": "uint40"
1620
+ },
1621
+ {
1622
+ "internalType": "Timestamp",
1623
+ "name": "expiredAt",
1624
+ "type": "uint40"
1625
+ },
1626
+ {
1627
+ "internalType": "Timestamp",
1628
+ "name": "closedAt",
1629
+ "type": "uint40"
1630
+ },
1631
+ {
1632
+ "internalType": "bytes",
1633
+ "name": "applicationData",
1634
+ "type": "bytes"
1635
+ },
1636
+ {
1637
+ "internalType": "bytes",
1638
+ "name": "processData",
1639
+ "type": "bytes"
1640
+ }
1641
+ ],
1642
+ "internalType": "struct IPolicy.PolicyInfo",
1643
+ "name": "policy",
1644
+ "type": "tuple"
1645
+ },
1646
+ {
1647
+ "internalType": "StateId",
1648
+ "name": "newState",
1649
+ "type": "uint8"
1650
+ }
1651
+ ],
1652
+ "name": "updatePolicyClaims",
1653
+ "outputs": [],
1654
+ "stateMutability": "nonpayable",
1655
+ "type": "function"
1656
+ },
1657
+ {
1658
+ "inputs": [
1659
+ {
1660
+ "internalType": "NftId",
1661
+ "name": "policyNftId",
1662
+ "type": "uint96"
1663
+ },
1664
+ {
1665
+ "internalType": "StateId",
1666
+ "name": "newState",
1667
+ "type": "uint8"
1668
+ }
1669
+ ],
1670
+ "name": "updatePolicyState",
1671
+ "outputs": [],
1672
+ "stateMutability": "nonpayable",
1673
+ "type": "function"
1674
+ },
1675
+ {
1676
+ "inputs": [
1677
+ {
1678
+ "internalType": "NftId",
1679
+ "name": "policyNftId",
1680
+ "type": "uint96"
1681
+ },
1682
+ {
1683
+ "internalType": "StateId",
1684
+ "name": "newState",
1685
+ "type": "uint8"
1686
+ }
1687
+ ],
1688
+ "name": "updatePremiumState",
1689
+ "outputs": [],
1690
+ "stateMutability": "nonpayable",
1691
+ "type": "function"
1692
+ }
1693
+ ],
1694
+ "bytecode": "0x60806040525f6007553480156012575f80fd5b5061309b806100205f395ff3fe608060405234801561000f575f80fd5b5060043610610187575f3560e01c80635eede174116100d95780639505838e11610093578063bf7e214f1161006e578063bf7e214f146104b7578063c75e9a1c146101d3578063e9e96c70146104d7578063f48016ce14610514575f80fd5b80639505838e146103fa578063a5961b4c1461040d578063bf1db3f9146104a4575f80fd5b80635eede174146103005780636c36e7db146103735780637a9e5e4b146103935780638129fc1c146103a65780638eb9000d146103ae5780638fb36037146103d9575f80fd5b8063228e42ec1161014457806338a699a41161011f57806338a699a4146102b75780634d4a7ae9146102da57806354f1fa81146102ed5780635d4345cc14610246575f80fd5b8063228e42ec14610279578063297023ef146101d35780632ae5819d146102a4575f80fd5b80630232ca491461018b578063036b1ffb146101d357806309648a9d146101e85780630d358181146102215780630fad0eb114610246578063193c608114610259575b5f80fd5b6101b6610199366004612345565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b6101e66101e1366004612609565b610535565b005b61020f6101f6366004612668565b5f90815260066020526040902054610100900460ff1690565b60405160ff90911681526020016101ca565b61020f61022f36600461267f565b60ff9081165f908152602081905260409020541690565b6101e661025436600461269a565b610845565b61026c610267366004612345565b6108cb565b6040516101ca91906126d1565b6101b6610287366004612345565b6001600160601b039081165f908152600260205260409020541690565b6101e66102b236600461269a565b610a73565b6102ca6102c5366004612668565b610aea565b60405190151581526020016101ca565b6101e66102e83660046128c8565b610b78565b6101e66102fb366004612a52565b610d5c565b61034961030e366004612345565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016101ca565b610386610381366004612345565b610eba565b6040516101ca9190612ad9565b6101e66103a1366004612c61565b611179565b6101e66111ff565b6101b66103bc366004612345565b6001600160601b039081165f908152600360205260409020541690565b6103e1611377565b6040516001600160e01b031990911681526020016101ca565b6101e6610408366004612c7c565b6113ad565b61047361041b366004612668565b60408051606080820183525f80835260208084018290529284018190529384526006825292829020825193840183525460ff80821685526101008204169184019190915262010000900464ffffffffff169082015290565b60408051825160ff9081168252602080850151909116908201529181015164ffffffffff16908201526060016101ca565b6102ca6104b236600461267f565b6115dd565b6104bf611629565b6040516001600160a01b0390911681526020016101ca565b6102ca6104e5366004612cc8565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b610527610522366004612d05565b611644565b6040519081526020016101ca565b610541335b5f366116cc565b5f61054d8460156117ca565b90505f61055a8284611815565b5f8381526006602052604081205491925090610100900460ff1690508460085f8581526020019081526020015f205f820151815f015f6101000a8154816001600160601b0302191690836001600160601b031602179055506020820151815f01600c6101000a8154816001600160601b0302191690836001600160601b031602179055506040820151815f0160186101000a8154816001600160401b03021916908360c01c02179055506060820151816001015f6101000a8154816001600160601b0302191690836001600160601b03160217905550608082015181600101600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060a08201518160010160186101000a8154816001600160401b03021916908360c01c021790555060c0820151816002015f6101000a81548161ffff021916908361ffff16021790555060e08201518160020160026101000a81548161ffff021916908361ffff1602179055506101008201518160020160046101000a8154816001600160601b0302191690836001600160601b031602179055506101208201518160020160106101000a8154816001600160601b0302191690836001600160601b03160217905550610140820151816003015f6101000a81548164ffffffffff021916908364ffffffffff1602179055506101608201518160030160056101000a81548164ffffffffff021916908364ffffffffff16021790555061018082015181600301600a6101000a81548164ffffffffff021916908364ffffffffff1602179055506101a082015181600301600f6101000a81548164ffffffffff021916908364ffffffffff1602179055506101c08201518160040190816107e29190612db8565b506101e082015160058201906107f89082612db8565b509050507fe5effcf96bb744518e09cc69ad226c65cece5fb0047e35c272ac6b34f4a262ee86828633328760405161083596959493929190612e72565b60405180910390a1505050505050565b61084e3361053a565b5f61085a8360156117ca565b90505f6108678284611815565b5f8381526006602052604081205491925090610100900460ff1690507fe5effcf96bb744518e09cc69ad226c65cece5fb0047e35c272ac6b34f4a262ee8582863332876040516108bc96959493929190612e72565b60405180910390a15050505050565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081019190915260095f61096984602b6117ca565b815260208082019290925260409081015f2081516102408101835281546001600160601b038082168352600160601b91829004811695830195909552600183015480861694830194909452928390048416606082015260028201548085166080830152839004841660a0820152600382015480851660c0830152839004841660e08201526004820154808516610100830152839004841661012082015260058201548085166101408301528390048416610160820152600682015480851661018083015283900484166101a082015260078201548085166101c083015283900484166101e08201526008909101548084166102008301529190910490911661022082015292915050565b610a7c3361053a565b5f610a8883602b6117ca565b90505f610a958284611815565b5f8381526006602052604081205491925090610100900460ff1690507fa44a207f9035ca27480b5f4b3d8979a7fc8ca357e9fe64049ac482f0073cb79b8582863332876040516108bc96959493929190612e72565b5f8181526006602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610b4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b729190612ecc565b92915050565b610b813361053a565b5f610b8d83602b6117ca565b9050610b9881611a2a565b5f81815260096020908152604080832085518154878501516001600160601b039283166001600160c01b031992831617600160601b91841682021784558885015160018501805460608c0151928616908516179185168302919091179055608089015160028501805460a08c015192861690851617918516830291909117905560c089015160038501805460e08c0151928616908516179185168302919091179055610100808a01516004860180546101208d01519287169086161791861684029190911790556101408a01516005860180546101608d01519287169086161791861684029190911790556101808a0151600680870180546101a08e0151938816908716179287168502929092179091556101c08b01516007870180546101e08e01519288169087161791871685029190911790556102008b0151600890960180546102208d015197871695169490941795909416909102939093179055909252909120547f4062c09a712022085eea90b805606ba55832938ec04b0278852487ff1bf011ec9185910460ff165b604080516001600160601b03909316835260ff9091166020830152339082015232606082015260800160405180910390a1505050565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610dbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de29190612ecc565b15610e105760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610e515760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610e07565b60ff8084165f90815260016020908152604080832088851684528252808320858516845290915290205416610eb45760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401610e07565b50505050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e082015290600890610f478460156117ca565b815260208082019290925260409081015f2081516102008101835281546001600160601b038082168352600160601b8083048216968401969096526001600160c01b0319600160c01b9283900460c090811b821696850196909652600185015480831660608601529687048216608085015291909504841b1660a0820152600282015461ffff8082169483019490945262010000810490931660e082015264010000000083048416610100820152600160801b909204909216610120820152600382015464ffffffffff8082166101408401526501000000000082048116610160840152600160501b82048116610180840152600160781b909104166101a08201526004820180549192916101c08401919061106290612d37565b80601f016020809104026020016040519081016040528092919081815260200182805461108e90612d37565b80156110d95780601f106110b0576101008083540402835291602001916110d9565b820191905f5260205f20905b8154815290600101906020018083116110bc57829003601f168201915b505050505081526020016005820180546110f290612d37565b80601f016020809104026020016040519081016040528092919081815260200182805461111e90612d37565b80156111695780601f1061114057610100808354040283529160200191611169565b820191905f5260205f20905b81548152906001019060200180831161114c57829003601f168201915b5050505050815250509050919050565b33611182611629565b6001600160a01b0316816001600160a01b0316146111bd5760405162d1953b60e31b81526001600160a01b0382166004820152602401610e07565b816001600160a01b03163b5f036111f2576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e07565b6111fb82611cd5565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156112435750825b90505f826001600160401b0316600114801561125e5750303b155b90508115801561126c575080155b1561128a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112b457845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113199190612ee5565b905061132481611d35565b61132c611d49565b5050831561137057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016108bc565b5050505050565b5f8051602061304683398151915280545f9190600160a01b900460ff1661139e575f6113a7565b638fb3603760e01b5b91505090565b6113b63361053a565b6113bf82611d5b565b5f6113cb8360156117ca565b90506113d681611a2a565b5f8181526008602090815260409182902084518154928601519386015160c090811c600160c01b9081026001600160c01b036001600160601b03978816600160601b9081026001600160c01b0319988916968a1696909617959095178116919091178555606089015160018601805460808c015160a08d0151871c909502948a16909602959097169088161793909317909216919091179092559084015160028201805460e08701516101008801516101208901518716600160801b026bffffffffffffffffffffffff60801b19919097166401000000000216640100000000600160e01b031961ffff928316620100000263ffffffff199094169290951691909117919091179290921691909117929092179091556101408301516003820180546101608601516101808701516101a088015164ffffffffff908116600160781b0264ffffffffff60781b19928216600160501b029290921669ffffffffffffffffffff60501b19938216650100000000000269ffffffffffffffffffff1990951691909616179290921716929092179190911790556101c083015183919060048201906115859082612db8565b506101e0820151600582019061159b9082612db8565b5050505f818152600660205260409020547ff20995ffc314df588b8ab4c972d20b5572ff246c225c07826e29c6e11c5866a3908490610100900460ff16610d26565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610b33565b5f80516020613046833981519152546001600160a01b031690565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af41580156116a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c59190612f00565b9392505050565b5f805160206130468339815191525f806117046116e7611629565b87306116f660045f8a8c612f17565b6116ff91612f3e565b611e5e565b91509150816117c25763ffffffff81161561179f57825460ff60a01b1916600160a01b178355611732611629565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161176193929190612f74565b5f604051808303815f87803b158015611778575f80fd5b505af115801561178a573d5f803e3d5ffd5b5050845460ff60a01b19168555506117c29050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610e07565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611686565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611867573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188b9190612ecc565b156118ac57604051631260077f60e21b815260048101849052602401610e07565b505f82815260066020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930464ffffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611923573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119479190612ecc565b15611968576040516310b1404560e21b815260048101869052602401610e07565b60ff8085161461199757815461198490829060ff168187610d5c565b815461ff00191661010060ff8616021782555b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156119de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a029190612fb3565b825464ffffffffff91909116620100000266ffffffffff000019909116179091555092915050565b604051634b00e98f60e11b8152600481018290525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611a7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9e9190612fce565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611af1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b159190612ecc565b15611b3857604051633d61be7d60e11b815260ff82166004820152602401610e07565b5f828152600660205260409081902080549151638d38cd4b60e01b81526201000090920464ffffffffff1660048301529073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015611ba3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc79190612ecc565b15611bf157604051637791d47d60e01b81526004810184905260ff83166024820152604401610e07565b611bfa826115dd565b611c1c576040516391eb5e8760e01b815260ff83166004820152602401610e07565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c889190612fb3565b60ff9384165f81815260208190526040902054845461ffff19169091179416610100029390931766ffffffffff000019166201000064ffffffffff94909416939093029290921790555050565b5f8051602061304683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611d3d611f66565b611d4681611faf565b50565b611d51611f66565b611d59611fc0565b565b6001600160601b0381165f9081526005602052604090819020549051638d38cd4b60e01b815264ffffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015611dc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ded9190612ecc565b15611e16576040516314d5804160e01b81526001600160601b0382166004820152602401610e07565b611e1f81612018565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611ecc9190612fe9565b5f60405180830381855afa9150503d805f8114611f04576040519150601f19603f3d011682016040523d82523d5f602084013e611f09565b606091505b50915091508115611f5b576040815110611f3b5780806020019051810190611f319190612fff565b9094509250611f5b565b6020815110611f5b5780806020019051810190611f589190612ecc565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611d5957604051631afcd79f60e31b815260040160405180910390fd5b611fb7611f66565b611d4681611cd5565b611fc86120b7565b611fd06120d4565b611fd8612108565b611fe061214c565b611fe8612168565b611ff06121b5565b611ff86121d5565b6120006121e9565b612008612228565b612010612232565b611d59612246565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561205f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120839190612fb3565b6001600160601b03919091165f908152600560205260409020805464ffffffffff191664ffffffffff909216919091179055565b6120c460165b600561226e565b611d5960165b60055b60c86122b0565b6120de600b6120bd565b6120ec600b6005606e6122b0565b6120fa600b606e60056122b0565b611d59600b606e60d26122b0565b6121146015600a61226e565b6121236015600a5b60146122b0565b6121326015600a5b601e6122b0565b6121406015600a60286122b0565b611d59601560286120cd565b612159602b5b603c61226e565b611d59602b5b603c60dc6122b0565b612174602d603261226e565b612180602d603261211c565b61218e602d603260336122b0565b61219a602d603261212b565b6121a6602d60336120cd565b611d59602d60335b60486122b0565b6121bf602e612152565b6121c9602e61215f565b611d59602e603c6121ae565b6121df602c6120bd565b611d59602c6120ca565b6121f3602f6120bd565b612202602f60055b60466122b0565b612210602f600560076122b0565b61221c602f60076121fb565b611d59602f60056121ae565b611d59600f6120bd565b61223c600c6120bd565b611d5960296120bd565b612250600e6120bd565b61225a60176120bd565b61226460306120bd565b611d5960316120bd565b60ff8281165f90815260208190526040902054161561228f5761228f613031565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f90815260016020908152604080832086851684528252808320858516845290915290205416156122e8576122e8613031565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b0381168114611d46575f80fd5b803561234081612321565b919050565b5f60208284031215612355575f80fd5b81356116c581612321565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b038111828210171561239757612397612360565b60405290565b60405161024081016001600160401b038111828210171561239757612397612360565b80356001600160c01b031981168114612340575f80fd5b803561ffff81168114612340575f80fd5b64ffffffffff81168114611d46575f80fd5b8035612340816123e8565b5f82601f830112612414575f80fd5b81356001600160401b0381111561242d5761242d612360565b604051601f8201601f19908116603f011681016001600160401b038111828210171561245b5761245b612360565b604052818152838201602001851015612472575f80fd5b816020850160208301375f918101602001919091529392505050565b5f610200828403121561249f575f80fd5b6124a7612374565b90506124b282612335565b81526124c060208301612335565b60208201526124d1604083016123c0565b60408201526124e260608301612335565b60608201526124f360808301612335565b608082015261250460a083016123c0565b60a082015261251560c083016123d7565b60c082015261252660e083016123d7565b60e08201526125386101008301612335565b61010082015261254b6101208301612335565b61012082015261255e61014083016123fa565b61014082015261257161016083016123fa565b61016082015261258461018083016123fa565b6101808201526125976101a083016123fa565b6101a08201526101c08201356001600160401b038111156125b6575f80fd5b6125c284828501612405565b6101c0830152506101e08201356001600160401b038111156125e2575f80fd5b6125ee84828501612405565b6101e08301525092915050565b60ff81168114611d46575f80fd5b5f805f6060848603121561261b575f80fd5b833561262681612321565b925060208401356001600160401b03811115612640575f80fd5b61264c8682870161248e565b925050604084013561265d816125fb565b809150509250925092565b5f60208284031215612678575f80fd5b5035919050565b5f6020828403121561268f575f80fd5b81356116c5816125fb565b5f80604083850312156126ab575f80fd5b82356126b681612321565b915060208301356126c6816125fb565b809150509250929050565b81516001600160601b03168152610240810160208301516126fd60208401826001600160601b03169052565b50604083015161271860408401826001600160601b03169052565b50606083015161273360608401826001600160601b03169052565b50608083015161274e60808401826001600160601b03169052565b5060a083015161276960a08401826001600160601b03169052565b5060c083015161278460c08401826001600160601b03169052565b5060e083015161279f60e08401826001600160601b03169052565b506101008301516127bc6101008401826001600160601b03169052565b506101208301516127d96101208401826001600160601b03169052565b506101408301516127f66101408401826001600160601b03169052565b506101608301516128136101608401826001600160601b03169052565b506101808301516128306101808401826001600160601b03169052565b506101a083015161284d6101a08401826001600160601b03169052565b506101c083015161286a6101c08401826001600160601b03169052565b506101e08301516128876101e08401826001600160601b03169052565b506102008301516128a46102008401826001600160601b03169052565b506102208301516128c16102208401826001600160601b03169052565b5092915050565b5f808284036102608112156128db575f80fd5b83356128e681612321565b9250610240601f19820112156128fa575f80fd5b5061290361239d565b61290f60208501612335565b815261291d60408501612335565b602082015261292e60608501612335565b604082015261293f60808501612335565b606082015261295060a08501612335565b608082015261296160c08501612335565b60a082015261297260e08501612335565b60c08201526129846101008501612335565b60e08201526129966101208501612335565b6101008201526129a96101408501612335565b6101208201526129bc6101608501612335565b6101408201526129cf6101808501612335565b6101608201526129e26101a08501612335565b6101808201526129f56101c08501612335565b6101a0820152612a086101e08501612335565b6101c0820152612a1b6102008501612335565b6101e0820152612a2e6102208501612335565b610200820152612a416102408501612335565b610220820152809150509250929050565b5f805f8060808587031215612a65575f80fd5b8435612a70816125fb565b93506020850135612a80816125fb565b92506040850135612a90816125fb565b91506060850135612aa0816125fb565b939692955090935050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b60208152612af36020820183516001600160601b03169052565b5f6020830151612b0e60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152612c25610220840182612aab565b90506101e0840151601f1984830301610200850152612c448282612aab565b95945050505050565b6001600160a01b0381168114611d46575f80fd5b5f60208284031215612c71575f80fd5b81356116c581612c4d565b5f8060408385031215612c8d575f80fd5b8235612c9881612321565b915060208301356001600160401b03811115612cb2575f80fd5b612cbe8582860161248e565b9150509250929050565b5f805f60608486031215612cda575f80fd5b8335612ce5816125fb565b92506020840135612cf5816125fb565b9150604084013561265d816125fb565b5f8060408385031215612d16575f80fd5b8235612d21816125fb565b9150602083013560ff19811681146126c6575f80fd5b600181811c90821680612d4b57607f821691505b602082108103612d6957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115612db357805f5260205f20601f840160051c81016020851015612d945750805b601f840160051c820191505b81811015611370575f8155600101612da0565b505050565b81516001600160401b03811115612dd157612dd1612360565b612de581612ddf8454612d37565b84612d6f565b6020601f821160018114612e17575f8315612e005750848201515b5f19600385901b1c1916600184901b178455611370565b5f84815260208120601f198516915b82811015612e465787850151825560209485019460019092019101612e26565b5084821015612e6357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160601b0396909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b80518015158114612340575f80fd5b5f60208284031215612edc575f80fd5b6116c582612ebd565b5f60208284031215612ef5575f80fd5b81516116c581612c4d565b5f60208284031215612f10575f80fd5b5051919050565b5f8085851115612f25575f80fd5b83861115612f31575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156128c1576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215612fc3575f80fd5b81516116c5816123e8565b5f60208284031215612fde575f80fd5b81516116c5816125fb565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613010575f80fd5b61301983612ebd565b9150602083015163ffffffff811681146126c6575f80fd5b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220cf214490d2fad5fa16d612637d0bd5a5430d525918999b304d08419db412015c64736f6c634300081a0033",
1695
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610187575f3560e01c80635eede174116100d95780639505838e11610093578063bf7e214f1161006e578063bf7e214f146104b7578063c75e9a1c146101d3578063e9e96c70146104d7578063f48016ce14610514575f80fd5b80639505838e146103fa578063a5961b4c1461040d578063bf1db3f9146104a4575f80fd5b80635eede174146103005780636c36e7db146103735780637a9e5e4b146103935780638129fc1c146103a65780638eb9000d146103ae5780638fb36037146103d9575f80fd5b8063228e42ec1161014457806338a699a41161011f57806338a699a4146102b75780634d4a7ae9146102da57806354f1fa81146102ed5780635d4345cc14610246575f80fd5b8063228e42ec14610279578063297023ef146101d35780632ae5819d146102a4575f80fd5b80630232ca491461018b578063036b1ffb146101d357806309648a9d146101e85780630d358181146102215780630fad0eb114610246578063193c608114610259575b5f80fd5b6101b6610199366004612345565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b6101e66101e1366004612609565b610535565b005b61020f6101f6366004612668565b5f90815260066020526040902054610100900460ff1690565b60405160ff90911681526020016101ca565b61020f61022f36600461267f565b60ff9081165f908152602081905260409020541690565b6101e661025436600461269a565b610845565b61026c610267366004612345565b6108cb565b6040516101ca91906126d1565b6101b6610287366004612345565b6001600160601b039081165f908152600260205260409020541690565b6101e66102b236600461269a565b610a73565b6102ca6102c5366004612668565b610aea565b60405190151581526020016101ca565b6101e66102e83660046128c8565b610b78565b6101e66102fb366004612a52565b610d5c565b61034961030e366004612345565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016101ca565b610386610381366004612345565b610eba565b6040516101ca9190612ad9565b6101e66103a1366004612c61565b611179565b6101e66111ff565b6101b66103bc366004612345565b6001600160601b039081165f908152600360205260409020541690565b6103e1611377565b6040516001600160e01b031990911681526020016101ca565b6101e6610408366004612c7c565b6113ad565b61047361041b366004612668565b60408051606080820183525f80835260208084018290529284018190529384526006825292829020825193840183525460ff80821685526101008204169184019190915262010000900464ffffffffff169082015290565b60408051825160ff9081168252602080850151909116908201529181015164ffffffffff16908201526060016101ca565b6102ca6104b236600461267f565b6115dd565b6104bf611629565b6040516001600160a01b0390911681526020016101ca565b6102ca6104e5366004612cc8565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b610527610522366004612d05565b611644565b6040519081526020016101ca565b610541335b5f366116cc565b5f61054d8460156117ca565b90505f61055a8284611815565b5f8381526006602052604081205491925090610100900460ff1690508460085f8581526020019081526020015f205f820151815f015f6101000a8154816001600160601b0302191690836001600160601b031602179055506020820151815f01600c6101000a8154816001600160601b0302191690836001600160601b031602179055506040820151815f0160186101000a8154816001600160401b03021916908360c01c02179055506060820151816001015f6101000a8154816001600160601b0302191690836001600160601b03160217905550608082015181600101600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060a08201518160010160186101000a8154816001600160401b03021916908360c01c021790555060c0820151816002015f6101000a81548161ffff021916908361ffff16021790555060e08201518160020160026101000a81548161ffff021916908361ffff1602179055506101008201518160020160046101000a8154816001600160601b0302191690836001600160601b031602179055506101208201518160020160106101000a8154816001600160601b0302191690836001600160601b03160217905550610140820151816003015f6101000a81548164ffffffffff021916908364ffffffffff1602179055506101608201518160030160056101000a81548164ffffffffff021916908364ffffffffff16021790555061018082015181600301600a6101000a81548164ffffffffff021916908364ffffffffff1602179055506101a082015181600301600f6101000a81548164ffffffffff021916908364ffffffffff1602179055506101c08201518160040190816107e29190612db8565b506101e082015160058201906107f89082612db8565b509050507fe5effcf96bb744518e09cc69ad226c65cece5fb0047e35c272ac6b34f4a262ee86828633328760405161083596959493929190612e72565b60405180910390a1505050505050565b61084e3361053a565b5f61085a8360156117ca565b90505f6108678284611815565b5f8381526006602052604081205491925090610100900460ff1690507fe5effcf96bb744518e09cc69ad226c65cece5fb0047e35c272ac6b34f4a262ee8582863332876040516108bc96959493929190612e72565b60405180910390a15050505050565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081019190915260095f61096984602b6117ca565b815260208082019290925260409081015f2081516102408101835281546001600160601b038082168352600160601b91829004811695830195909552600183015480861694830194909452928390048416606082015260028201548085166080830152839004841660a0820152600382015480851660c0830152839004841660e08201526004820154808516610100830152839004841661012082015260058201548085166101408301528390048416610160820152600682015480851661018083015283900484166101a082015260078201548085166101c083015283900484166101e08201526008909101548084166102008301529190910490911661022082015292915050565b610a7c3361053a565b5f610a8883602b6117ca565b90505f610a958284611815565b5f8381526006602052604081205491925090610100900460ff1690507fa44a207f9035ca27480b5f4b3d8979a7fc8ca357e9fe64049ac482f0073cb79b8582863332876040516108bc96959493929190612e72565b5f8181526006602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610b4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b729190612ecc565b92915050565b610b813361053a565b5f610b8d83602b6117ca565b9050610b9881611a2a565b5f81815260096020908152604080832085518154878501516001600160601b039283166001600160c01b031992831617600160601b91841682021784558885015160018501805460608c0151928616908516179185168302919091179055608089015160028501805460a08c015192861690851617918516830291909117905560c089015160038501805460e08c0151928616908516179185168302919091179055610100808a01516004860180546101208d01519287169086161791861684029190911790556101408a01516005860180546101608d01519287169086161791861684029190911790556101808a0151600680870180546101a08e0151938816908716179287168502929092179091556101c08b01516007870180546101e08e01519288169087161791871685029190911790556102008b0151600890960180546102208d015197871695169490941795909416909102939093179055909252909120547f4062c09a712022085eea90b805606ba55832938ec04b0278852487ff1bf011ec9185910460ff165b604080516001600160601b03909316835260ff9091166020830152339082015232606082015260800160405180910390a1505050565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610dbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de29190612ecc565b15610e105760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610e515760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610e07565b60ff8084165f90815260016020908152604080832088851684528252808320858516845290915290205416610eb45760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401610e07565b50505050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e082015290600890610f478460156117ca565b815260208082019290925260409081015f2081516102008101835281546001600160601b038082168352600160601b8083048216968401969096526001600160c01b0319600160c01b9283900460c090811b821696850196909652600185015480831660608601529687048216608085015291909504841b1660a0820152600282015461ffff8082169483019490945262010000810490931660e082015264010000000083048416610100820152600160801b909204909216610120820152600382015464ffffffffff8082166101408401526501000000000082048116610160840152600160501b82048116610180840152600160781b909104166101a08201526004820180549192916101c08401919061106290612d37565b80601f016020809104026020016040519081016040528092919081815260200182805461108e90612d37565b80156110d95780601f106110b0576101008083540402835291602001916110d9565b820191905f5260205f20905b8154815290600101906020018083116110bc57829003601f168201915b505050505081526020016005820180546110f290612d37565b80601f016020809104026020016040519081016040528092919081815260200182805461111e90612d37565b80156111695780601f1061114057610100808354040283529160200191611169565b820191905f5260205f20905b81548152906001019060200180831161114c57829003601f168201915b5050505050815250509050919050565b33611182611629565b6001600160a01b0316816001600160a01b0316146111bd5760405162d1953b60e31b81526001600160a01b0382166004820152602401610e07565b816001600160a01b03163b5f036111f2576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e07565b6111fb82611cd5565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156112435750825b90505f826001600160401b0316600114801561125e5750303b155b90508115801561126c575080155b1561128a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112b457845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113199190612ee5565b905061132481611d35565b61132c611d49565b5050831561137057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016108bc565b5050505050565b5f8051602061304683398151915280545f9190600160a01b900460ff1661139e575f6113a7565b638fb3603760e01b5b91505090565b6113b63361053a565b6113bf82611d5b565b5f6113cb8360156117ca565b90506113d681611a2a565b5f8181526008602090815260409182902084518154928601519386015160c090811c600160c01b9081026001600160c01b036001600160601b03978816600160601b9081026001600160c01b0319988916968a1696909617959095178116919091178555606089015160018601805460808c015160a08d0151871c909502948a16909602959097169088161793909317909216919091179092559084015160028201805460e08701516101008801516101208901518716600160801b026bffffffffffffffffffffffff60801b19919097166401000000000216640100000000600160e01b031961ffff928316620100000263ffffffff199094169290951691909117919091179290921691909117929092179091556101408301516003820180546101608601516101808701516101a088015164ffffffffff908116600160781b0264ffffffffff60781b19928216600160501b029290921669ffffffffffffffffffff60501b19938216650100000000000269ffffffffffffffffffff1990951691909616179290921716929092179190911790556101c083015183919060048201906115859082612db8565b506101e0820151600582019061159b9082612db8565b5050505f818152600660205260409020547ff20995ffc314df588b8ab4c972d20b5572ff246c225c07826e29c6e11c5866a3908490610100900460ff16610d26565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610b33565b5f80516020613046833981519152546001600160a01b031690565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af41580156116a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c59190612f00565b9392505050565b5f805160206130468339815191525f806117046116e7611629565b87306116f660045f8a8c612f17565b6116ff91612f3e565b611e5e565b91509150816117c25763ffffffff81161561179f57825460ff60a01b1916600160a01b178355611732611629565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161176193929190612f74565b5f604051808303815f87803b158015611778575f80fd5b505af115801561178a573d5f803e3d5ffd5b5050845460ff60a01b19168555506117c29050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610e07565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611686565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611867573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188b9190612ecc565b156118ac57604051631260077f60e21b815260048101849052602401610e07565b505f82815260066020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930464ffffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611923573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119479190612ecc565b15611968576040516310b1404560e21b815260048101869052602401610e07565b60ff8085161461199757815461198490829060ff168187610d5c565b815461ff00191661010060ff8616021782555b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156119de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a029190612fb3565b825464ffffffffff91909116620100000266ffffffffff000019909116179091555092915050565b604051634b00e98f60e11b8152600481018290525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611a7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9e9190612fce565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611af1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b159190612ecc565b15611b3857604051633d61be7d60e11b815260ff82166004820152602401610e07565b5f828152600660205260409081902080549151638d38cd4b60e01b81526201000090920464ffffffffff1660048301529073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015611ba3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc79190612ecc565b15611bf157604051637791d47d60e01b81526004810184905260ff83166024820152604401610e07565b611bfa826115dd565b611c1c576040516391eb5e8760e01b815260ff83166004820152602401610e07565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c889190612fb3565b60ff9384165f81815260208190526040902054845461ffff19169091179416610100029390931766ffffffffff000019166201000064ffffffffff94909416939093029290921790555050565b5f8051602061304683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611d3d611f66565b611d4681611faf565b50565b611d51611f66565b611d59611fc0565b565b6001600160601b0381165f9081526005602052604090819020549051638d38cd4b60e01b815264ffffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015611dc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ded9190612ecc565b15611e16576040516314d5804160e01b81526001600160601b0382166004820152602401610e07565b611e1f81612018565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611ecc9190612fe9565b5f60405180830381855afa9150503d805f8114611f04576040519150601f19603f3d011682016040523d82523d5f602084013e611f09565b606091505b50915091508115611f5b576040815110611f3b5780806020019051810190611f319190612fff565b9094509250611f5b565b6020815110611f5b5780806020019051810190611f589190612ecc565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611d5957604051631afcd79f60e31b815260040160405180910390fd5b611fb7611f66565b611d4681611cd5565b611fc86120b7565b611fd06120d4565b611fd8612108565b611fe061214c565b611fe8612168565b611ff06121b5565b611ff86121d5565b6120006121e9565b612008612228565b612010612232565b611d59612246565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561205f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120839190612fb3565b6001600160601b03919091165f908152600560205260409020805464ffffffffff191664ffffffffff909216919091179055565b6120c460165b600561226e565b611d5960165b60055b60c86122b0565b6120de600b6120bd565b6120ec600b6005606e6122b0565b6120fa600b606e60056122b0565b611d59600b606e60d26122b0565b6121146015600a61226e565b6121236015600a5b60146122b0565b6121326015600a5b601e6122b0565b6121406015600a60286122b0565b611d59601560286120cd565b612159602b5b603c61226e565b611d59602b5b603c60dc6122b0565b612174602d603261226e565b612180602d603261211c565b61218e602d603260336122b0565b61219a602d603261212b565b6121a6602d60336120cd565b611d59602d60335b60486122b0565b6121bf602e612152565b6121c9602e61215f565b611d59602e603c6121ae565b6121df602c6120bd565b611d59602c6120ca565b6121f3602f6120bd565b612202602f60055b60466122b0565b612210602f600560076122b0565b61221c602f60076121fb565b611d59602f60056121ae565b611d59600f6120bd565b61223c600c6120bd565b611d5960296120bd565b612250600e6120bd565b61225a60176120bd565b61226460306120bd565b611d5960316120bd565b60ff8281165f90815260208190526040902054161561228f5761228f613031565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f90815260016020908152604080832086851684528252808320858516845290915290205416156122e8576122e8613031565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b0381168114611d46575f80fd5b803561234081612321565b919050565b5f60208284031215612355575f80fd5b81356116c581612321565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b038111828210171561239757612397612360565b60405290565b60405161024081016001600160401b038111828210171561239757612397612360565b80356001600160c01b031981168114612340575f80fd5b803561ffff81168114612340575f80fd5b64ffffffffff81168114611d46575f80fd5b8035612340816123e8565b5f82601f830112612414575f80fd5b81356001600160401b0381111561242d5761242d612360565b604051601f8201601f19908116603f011681016001600160401b038111828210171561245b5761245b612360565b604052818152838201602001851015612472575f80fd5b816020850160208301375f918101602001919091529392505050565b5f610200828403121561249f575f80fd5b6124a7612374565b90506124b282612335565b81526124c060208301612335565b60208201526124d1604083016123c0565b60408201526124e260608301612335565b60608201526124f360808301612335565b608082015261250460a083016123c0565b60a082015261251560c083016123d7565b60c082015261252660e083016123d7565b60e08201526125386101008301612335565b61010082015261254b6101208301612335565b61012082015261255e61014083016123fa565b61014082015261257161016083016123fa565b61016082015261258461018083016123fa565b6101808201526125976101a083016123fa565b6101a08201526101c08201356001600160401b038111156125b6575f80fd5b6125c284828501612405565b6101c0830152506101e08201356001600160401b038111156125e2575f80fd5b6125ee84828501612405565b6101e08301525092915050565b60ff81168114611d46575f80fd5b5f805f6060848603121561261b575f80fd5b833561262681612321565b925060208401356001600160401b03811115612640575f80fd5b61264c8682870161248e565b925050604084013561265d816125fb565b809150509250925092565b5f60208284031215612678575f80fd5b5035919050565b5f6020828403121561268f575f80fd5b81356116c5816125fb565b5f80604083850312156126ab575f80fd5b82356126b681612321565b915060208301356126c6816125fb565b809150509250929050565b81516001600160601b03168152610240810160208301516126fd60208401826001600160601b03169052565b50604083015161271860408401826001600160601b03169052565b50606083015161273360608401826001600160601b03169052565b50608083015161274e60808401826001600160601b03169052565b5060a083015161276960a08401826001600160601b03169052565b5060c083015161278460c08401826001600160601b03169052565b5060e083015161279f60e08401826001600160601b03169052565b506101008301516127bc6101008401826001600160601b03169052565b506101208301516127d96101208401826001600160601b03169052565b506101408301516127f66101408401826001600160601b03169052565b506101608301516128136101608401826001600160601b03169052565b506101808301516128306101808401826001600160601b03169052565b506101a083015161284d6101a08401826001600160601b03169052565b506101c083015161286a6101c08401826001600160601b03169052565b506101e08301516128876101e08401826001600160601b03169052565b506102008301516128a46102008401826001600160601b03169052565b506102208301516128c16102208401826001600160601b03169052565b5092915050565b5f808284036102608112156128db575f80fd5b83356128e681612321565b9250610240601f19820112156128fa575f80fd5b5061290361239d565b61290f60208501612335565b815261291d60408501612335565b602082015261292e60608501612335565b604082015261293f60808501612335565b606082015261295060a08501612335565b608082015261296160c08501612335565b60a082015261297260e08501612335565b60c08201526129846101008501612335565b60e08201526129966101208501612335565b6101008201526129a96101408501612335565b6101208201526129bc6101608501612335565b6101408201526129cf6101808501612335565b6101608201526129e26101a08501612335565b6101808201526129f56101c08501612335565b6101a0820152612a086101e08501612335565b6101c0820152612a1b6102008501612335565b6101e0820152612a2e6102208501612335565b610200820152612a416102408501612335565b610220820152809150509250929050565b5f805f8060808587031215612a65575f80fd5b8435612a70816125fb565b93506020850135612a80816125fb565b92506040850135612a90816125fb565b91506060850135612aa0816125fb565b939692955090935050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b60208152612af36020820183516001600160601b03169052565b5f6020830151612b0e60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152612c25610220840182612aab565b90506101e0840151601f1984830301610200850152612c448282612aab565b95945050505050565b6001600160a01b0381168114611d46575f80fd5b5f60208284031215612c71575f80fd5b81356116c581612c4d565b5f8060408385031215612c8d575f80fd5b8235612c9881612321565b915060208301356001600160401b03811115612cb2575f80fd5b612cbe8582860161248e565b9150509250929050565b5f805f60608486031215612cda575f80fd5b8335612ce5816125fb565b92506020840135612cf5816125fb565b9150604084013561265d816125fb565b5f8060408385031215612d16575f80fd5b8235612d21816125fb565b9150602083013560ff19811681146126c6575f80fd5b600181811c90821680612d4b57607f821691505b602082108103612d6957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115612db357805f5260205f20601f840160051c81016020851015612d945750805b601f840160051c820191505b81811015611370575f8155600101612da0565b505050565b81516001600160401b03811115612dd157612dd1612360565b612de581612ddf8454612d37565b84612d6f565b6020601f821160018114612e17575f8315612e005750848201515b5f19600385901b1c1916600184901b178455611370565b5f84815260208120601f198516915b82811015612e465787850151825560209485019460019092019101612e26565b5084821015612e6357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160601b0396909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b80518015158114612340575f80fd5b5f60208284031215612edc575f80fd5b6116c582612ebd565b5f60208284031215612ef5575f80fd5b81516116c581612c4d565b5f60208284031215612f10575f80fd5b5051919050565b5f8085851115612f25575f80fd5b83861115612f31575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156128c1576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215612fc3575f80fd5b81516116c5816123e8565b5f60208284031215612fde575f80fd5b81516116c5816125fb565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613010575f80fd5b61301983612ebd565b9150602083015163ffffffff811681146126c6575f80fd5b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220cf214490d2fad5fa16d612637d0bd5a5430d525918999b304d08419db412015c64736f6c634300081a0033",
1696
+ "linkReferences": {
1697
+ "contracts/type/Blocknumber.sol": {
1698
+ "BlocknumberLib": [
1699
+ {
1700
+ "length": 20,
1701
+ "start": 6585
1702
+ },
1703
+ {
1704
+ "length": 20,
1705
+ "start": 7051
1706
+ },
1707
+ {
1708
+ "length": 20,
1709
+ "start": 7231
1710
+ },
1711
+ {
1712
+ "length": 20,
1713
+ "start": 7601
1714
+ },
1715
+ {
1716
+ "length": 20,
1717
+ "start": 8250
1718
+ }
1719
+ ]
1720
+ },
1721
+ "contracts/type/Key32.sol": {
1722
+ "Key32Lib": [
1723
+ {
1724
+ "length": 20,
1725
+ "start": 5768
1726
+ },
1727
+ {
1728
+ "length": 20,
1729
+ "start": 6754
1730
+ }
1731
+ ]
1732
+ },
1733
+ "contracts/type/NftId.sol": {
1734
+ "NftIdLib": [
1735
+ {
1736
+ "length": 20,
1737
+ "start": 6163
1738
+ }
1739
+ ]
1740
+ },
1741
+ "contracts/type/ObjectType.sol": {
1742
+ "ObjectTypeLib": [
1743
+ {
1744
+ "length": 20,
1745
+ "start": 6873
1746
+ }
1747
+ ]
1748
+ },
1749
+ "contracts/type/StateId.sol": {
1750
+ "StateIdLib": [
1751
+ {
1752
+ "length": 20,
1753
+ "start": 2869
1754
+ },
1755
+ {
1756
+ "length": 20,
1757
+ "start": 3494
1758
+ },
1759
+ {
1760
+ "length": 20,
1761
+ "start": 5671
1762
+ },
1763
+ {
1764
+ "length": 20,
1765
+ "start": 6223
1766
+ },
1767
+ {
1768
+ "length": 20,
1769
+ "start": 6411
1770
+ }
1771
+ ]
1772
+ }
1773
+ },
1774
+ "deployedLinkReferences": {
1775
+ "contracts/type/Blocknumber.sol": {
1776
+ "BlocknumberLib": [
1777
+ {
1778
+ "length": 20,
1779
+ "start": 6553
1780
+ },
1781
+ {
1782
+ "length": 20,
1783
+ "start": 7019
1784
+ },
1785
+ {
1786
+ "length": 20,
1787
+ "start": 7199
1788
+ },
1789
+ {
1790
+ "length": 20,
1791
+ "start": 7569
1792
+ },
1793
+ {
1794
+ "length": 20,
1795
+ "start": 8218
1796
+ }
1797
+ ]
1798
+ },
1799
+ "contracts/type/Key32.sol": {
1800
+ "Key32Lib": [
1801
+ {
1802
+ "length": 20,
1803
+ "start": 5736
1804
+ },
1805
+ {
1806
+ "length": 20,
1807
+ "start": 6722
1808
+ }
1809
+ ]
1810
+ },
1811
+ "contracts/type/NftId.sol": {
1812
+ "NftIdLib": [
1813
+ {
1814
+ "length": 20,
1815
+ "start": 6131
1816
+ }
1817
+ ]
1818
+ },
1819
+ "contracts/type/ObjectType.sol": {
1820
+ "ObjectTypeLib": [
1821
+ {
1822
+ "length": 20,
1823
+ "start": 6841
1824
+ }
1825
+ ]
1826
+ },
1827
+ "contracts/type/StateId.sol": {
1828
+ "StateIdLib": [
1829
+ {
1830
+ "length": 20,
1831
+ "start": 2837
1832
+ },
1833
+ {
1834
+ "length": 20,
1835
+ "start": 3462
1836
+ },
1837
+ {
1838
+ "length": 20,
1839
+ "start": 5639
1840
+ },
1841
+ {
1842
+ "length": 20,
1843
+ "start": 6191
1844
+ },
1845
+ {
1846
+ "length": 20,
1847
+ "start": 6379
1848
+ }
1849
+ ]
1850
+ }
1851
+ }
1852
+ }