@etherisc/gif-next 0.0.2-e876b87-961 → 0.0.2-e8a628e-326

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