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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (707) hide show
  1. package/README.md +59 -18
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  14. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  16. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  18. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  20. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  21. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1402 -0
  22. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  24. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1048 -0
  26. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1455 -0
  28. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +838 -0
  30. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +929 -0
  32. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +961 -0
  34. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  36. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1519 -0
  38. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
  40. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2072 -0
  42. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  44. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1471 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1231 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1573 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2095 -0
  54. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  55. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  56. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +250 -1556
  58. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +318 -202
  60. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/Instance.sol/Instance.json +338 -2560
  62. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1653 -0
  64. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +561 -0
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1054 -377
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +415 -444
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +355 -106
  72. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  73. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3678 -0
  74. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  75. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  76. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  77. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  78. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  79. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  80. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  82. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  84. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
  86. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  88. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  89. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  90. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  91. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  92. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  93. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  94. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  95. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1039 -0
  96. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  97. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  98. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  99. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  100. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  101. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → oracle/IOracleComponent.sol/IOracleComponent.json} +345 -326
  102. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  103. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +291 -348
  104. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  105. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +907 -0
  106. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  107. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +966 -0
  108. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +722 -0
  110. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  111. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1280 -0
  112. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  113. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +470 -0
  114. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  115. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1465 -0
  116. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  117. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +834 -0
  118. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  119. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +497 -252
  120. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  121. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/IPoolComponent.sol/IPoolComponent.json} +398 -408
  122. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  123. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1283 -0
  124. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/Pool.sol/Pool.json +1079 -0
  126. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  127. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1625 -0
  128. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +766 -0
  130. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  131. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +771 -0
  132. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  133. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +710 -0
  134. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  135. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → product/BasicProduct.sol/BasicProduct.json} +653 -228
  136. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  137. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  138. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  139. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1431 -0
  140. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  141. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +838 -0
  142. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  143. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +238 -223
  144. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  145. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +942 -0
  146. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  147. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +925 -0
  148. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  149. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → product/IPricingService.sol/IPricingService.json} +252 -277
  150. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  151. package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +424 -361
  152. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  153. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → product/IRiskService.sol/IRiskService.json} +148 -160
  154. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  155. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1302 -0
  156. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +782 -0
  158. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  159. package/artifacts/contracts/product/PricingService.sol/PricingService.json +907 -0
  160. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +762 -0
  162. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  163. package/artifacts/contracts/product/Product.sol/Product.json +1131 -0
  164. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  165. package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
  166. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  167. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
  168. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  169. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  170. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  171. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +463 -25
  172. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  173. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +268 -230
  174. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  175. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  176. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  177. package/artifacts/contracts/registry/Registry.sol/Registry.json +951 -122
  178. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  179. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1886 -0
  180. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  181. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +333 -287
  182. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  183. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +344 -95
  184. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  185. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  186. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  187. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
  188. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  189. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  190. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  191. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +349 -82
  192. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  193. package/artifacts/contracts/shared/Component.sol/Component.json +725 -0
  194. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  195. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1768 -0
  196. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  197. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +814 -0
  198. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  199. package/artifacts/contracts/{components/IComponent.sol/IComponent.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +180 -161
  200. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  201. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  202. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  203. package/artifacts/contracts/{components/Component.sol/Component.json → shared/IComponent.sol/IComponent.json} +203 -227
  204. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  205. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1335 -0
  206. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  207. package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +302 -227
  208. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  209. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  210. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  211. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  212. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  213. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
  214. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  215. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  216. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  217. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +40 -26
  218. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  219. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  220. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  221. package/artifacts/contracts/shared/IService.sol/IService.json +106 -147
  222. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  223. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  224. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  225. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json} +303 -323
  226. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  227. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  228. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  229. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  230. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  231. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  232. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  233. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +74 -36
  234. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  235. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  236. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  237. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +95 -55
  238. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  239. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  240. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  241. package/artifacts/contracts/shared/Service.sol/Service.json +137 -171
  242. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  243. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
  244. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  245. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  246. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  247. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1465 -0
  248. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  249. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1043 -0
  250. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  251. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  252. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  253. package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
  254. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  255. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  256. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  257. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +776 -0
  258. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  259. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  260. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  261. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1249 -0
  262. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  263. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +710 -0
  264. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  265. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  266. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  267. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  268. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  269. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  270. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  272. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  274. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  276. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  278. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  280. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  281. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  282. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  284. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  285. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  286. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  288. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  290. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  292. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  294. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +142 -0
  296. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  298. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  300. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  302. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  304. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  306. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  308. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  310. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  312. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  314. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  316. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  318. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  319. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  320. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  321. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +602 -0
  322. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  323. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  324. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  325. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  326. package/contracts/authorization/AccessAdmin.sol +596 -0
  327. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  328. package/contracts/authorization/Authorization.sol +289 -0
  329. package/contracts/authorization/IAccess.sol +49 -0
  330. package/contracts/authorization/IAccessAdmin.sol +137 -0
  331. package/contracts/authorization/IAuthorization.sol +60 -0
  332. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  333. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  334. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  335. package/contracts/distribution/BasicDistribution.sol +139 -0
  336. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  337. package/contracts/distribution/Distribution.sol +285 -0
  338. package/contracts/distribution/DistributionService.sol +355 -0
  339. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  340. package/contracts/distribution/IDistributionComponent.sol +52 -0
  341. package/contracts/distribution/IDistributionService.sol +101 -0
  342. package/contracts/examples/fire/DamageLevel.sol +59 -0
  343. package/contracts/examples/fire/FirePool.sol +73 -0
  344. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  345. package/contracts/examples/fire/FireProduct.sol +415 -0
  346. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  347. package/contracts/examples/fire/FireUSD.sol +26 -0
  348. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  349. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  350. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  351. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  352. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +33 -32
  353. package/contracts/instance/IInstance.sol +46 -52
  354. package/contracts/instance/IInstanceService.sol +52 -22
  355. package/contracts/instance/Instance.sol +167 -204
  356. package/contracts/instance/InstanceAdmin.sol +277 -0
  357. package/contracts/instance/InstanceAuthorizationV3.sol +194 -0
  358. package/contracts/instance/InstanceReader.sol +264 -62
  359. package/contracts/instance/InstanceService.sol +300 -321
  360. package/contracts/instance/InstanceServiceManager.sol +14 -29
  361. package/contracts/instance/InstanceStore.sol +287 -0
  362. package/contracts/instance/base/BalanceStore.sol +123 -0
  363. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  364. package/contracts/instance/base/ObjectCounter.sol +21 -0
  365. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  366. package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +19 -24
  367. package/contracts/instance/module/IAccess.sol +19 -21
  368. package/contracts/instance/module/IBundle.sol +8 -8
  369. package/contracts/instance/module/IComponents.sol +51 -0
  370. package/contracts/instance/module/IDistribution.sol +6 -4
  371. package/contracts/instance/module/IPolicy.sol +58 -19
  372. package/contracts/instance/module/IRisk.sol +1 -1
  373. package/contracts/{test/TestToken.sol → mock/Dip.sol} +6 -6
  374. package/contracts/oracle/BasicOracle.sol +47 -0
  375. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  376. package/contracts/oracle/IOracle.sol +36 -0
  377. package/contracts/oracle/IOracleComponent.sol +33 -0
  378. package/contracts/oracle/IOracleService.sol +66 -0
  379. package/contracts/oracle/Oracle.sol +156 -0
  380. package/contracts/oracle/OracleService.sol +291 -0
  381. package/contracts/oracle/OracleServiceManager.sol +39 -0
  382. package/contracts/pool/BasicPool.sol +154 -0
  383. package/contracts/pool/BasicPoolAuthorization.sol +57 -0
  384. package/contracts/pool/BundleService.sol +493 -0
  385. package/contracts/pool/BundleServiceManager.sol +39 -0
  386. package/contracts/pool/IBundleService.sol +143 -0
  387. package/contracts/pool/IPoolComponent.sol +68 -0
  388. package/contracts/pool/IPoolService.sol +167 -0
  389. package/contracts/pool/Pool.sol +330 -0
  390. package/contracts/pool/PoolService.sol +544 -0
  391. package/contracts/pool/PoolServiceManager.sol +39 -0
  392. package/contracts/product/ApplicationService.sol +259 -0
  393. package/contracts/product/ApplicationServiceManager.sol +38 -0
  394. package/contracts/product/BasicProduct.sol +53 -0
  395. package/contracts/product/BasicProductAuthorization.sol +42 -0
  396. package/contracts/product/ClaimService.sol +612 -0
  397. package/contracts/product/ClaimServiceManager.sol +38 -0
  398. package/contracts/product/IApplicationService.sol +63 -0
  399. package/contracts/product/IClaimService.sol +123 -0
  400. package/contracts/product/IPolicyService.sol +80 -0
  401. package/contracts/product/IPricingService.sol +39 -0
  402. package/contracts/product/IProductComponent.sol +59 -0
  403. package/contracts/product/IRiskService.sol +33 -0
  404. package/contracts/product/PolicyService.sol +691 -0
  405. package/contracts/product/PolicyServiceManager.sol +39 -0
  406. package/contracts/product/PricingService.sol +300 -0
  407. package/contracts/product/PricingServiceManager.sol +39 -0
  408. package/contracts/product/Product.sol +455 -0
  409. package/contracts/product/RiskService.sol +96 -0
  410. package/contracts/product/RiskServiceManager.sol +39 -0
  411. package/contracts/registry/ChainNft.sol +79 -34
  412. package/contracts/registry/IRegistry.sol +99 -26
  413. package/contracts/registry/IRegistryService.sol +38 -41
  414. package/contracts/registry/ITransferInterceptor.sol +1 -1
  415. package/contracts/registry/Registry.sol +470 -205
  416. package/contracts/registry/RegistryAdmin.sol +448 -0
  417. package/contracts/registry/RegistryService.sol +118 -139
  418. package/contracts/registry/RegistryServiceManager.sol +24 -33
  419. package/contracts/registry/ReleaseLifecycle.sol +30 -0
  420. package/contracts/registry/ReleaseRegistry.sol +501 -0
  421. package/contracts/registry/ServiceAuthorizationV3.sol +194 -0
  422. package/contracts/registry/TokenRegistry.sol +263 -60
  423. package/contracts/shared/Component.sol +265 -0
  424. package/contracts/shared/ComponentService.sol +745 -0
  425. package/contracts/shared/ComponentServiceManager.sol +38 -0
  426. package/contracts/shared/ComponentVerifyingService.sol +126 -0
  427. package/contracts/shared/ContractLib.sol +38 -0
  428. package/contracts/shared/IComponent.sol +74 -0
  429. package/contracts/shared/IComponentService.sol +120 -0
  430. package/contracts/shared/IInstanceLinkedComponent.sol +41 -0
  431. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  432. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  433. package/contracts/shared/INftOwnable.sol +15 -12
  434. package/contracts/shared/IPolicyHolder.sol +35 -0
  435. package/contracts/shared/IRegisterable.sol +14 -3
  436. package/contracts/shared/IRegistryLinked.sol +11 -0
  437. package/contracts/shared/IService.sol +15 -6
  438. package/contracts/shared/InitializableERC165.sol +27 -0
  439. package/contracts/shared/InstanceLinkedComponent.sol +213 -0
  440. package/contracts/shared/KeyValueStore.sol +131 -0
  441. package/contracts/shared/Lifecycle.sol +88 -0
  442. package/contracts/shared/NftIdSet.sol +65 -0
  443. package/contracts/shared/NftOwnable.sol +75 -87
  444. package/contracts/shared/PolicyHolder.sol +62 -0
  445. package/contracts/shared/Registerable.sol +27 -28
  446. package/contracts/shared/RegistryLinked.sol +44 -0
  447. package/contracts/shared/Service.sol +57 -33
  448. package/contracts/shared/TokenHandler.sol +122 -10
  449. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  450. package/contracts/staking/IStaking.sol +168 -0
  451. package/contracts/staking/IStakingService.sol +157 -0
  452. package/contracts/staking/StakeManagerLib.sol +224 -0
  453. package/contracts/staking/Staking.sol +497 -0
  454. package/contracts/staking/StakingLifecycle.sol +23 -0
  455. package/contracts/staking/StakingManager.sol +52 -0
  456. package/contracts/staking/StakingReader.sol +190 -0
  457. package/contracts/staking/StakingService.sol +407 -0
  458. package/contracts/staking/StakingServiceManager.sol +44 -0
  459. package/contracts/staking/StakingStore.sol +605 -0
  460. package/contracts/staking/TargetManagerLib.sol +211 -0
  461. package/contracts/{types → type}/AddressSet.sol +1 -1
  462. package/contracts/type/Amount.sol +150 -0
  463. package/contracts/{types → type}/Blocknumber.sol +27 -3
  464. package/contracts/type/ClaimId.sol +80 -0
  465. package/contracts/{types → type}/DistributorType.sol +2 -2
  466. package/contracts/{types → type}/Fee.sol +33 -23
  467. package/contracts/{types → type}/NftId.sol +22 -15
  468. package/contracts/{types → type}/NftIdSet.sol +2 -2
  469. package/contracts/type/ObjectType.sol +276 -0
  470. package/contracts/type/PayoutId.sol +82 -0
  471. package/contracts/{types → type}/Referral.sol +6 -1
  472. package/contracts/type/RequestId.sol +75 -0
  473. package/contracts/{types → type}/RiskId.sol +16 -2
  474. package/contracts/type/RoleId.sol +162 -0
  475. package/contracts/type/Seconds.sol +101 -0
  476. package/contracts/type/Selector.sol +102 -0
  477. package/contracts/{types → type}/StateId.sol +48 -4
  478. package/contracts/type/String.sol +53 -0
  479. package/contracts/{types → type}/Timestamp.sol +34 -15
  480. package/contracts/{types → type}/UFixed.sol +39 -9
  481. package/contracts/{types → type}/Version.sol +5 -2
  482. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  483. package/contracts/upgradeability/ProxyManager.sol +232 -0
  484. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  485. package/contracts/upgradeability/Versionable.sol +59 -0
  486. package/package.json +11 -7
  487. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  488. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  489. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  490. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  491. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  492. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  493. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  494. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  495. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  496. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  497. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  498. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  499. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  500. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  501. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  502. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  503. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  504. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  505. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  506. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  507. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  508. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  509. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  510. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  511. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  512. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  513. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  514. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  515. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  516. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  517. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  518. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  519. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  520. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  521. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  522. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  523. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  524. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  525. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  526. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  527. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  528. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  529. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  530. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  531. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  532. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  533. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  534. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  535. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -764
  536. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  537. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  538. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1034
  539. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  540. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  541. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  542. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  543. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  544. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  545. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  546. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  547. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  548. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  549. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  550. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  551. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1102
  552. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  553. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -449
  554. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  555. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -772
  556. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  557. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -437
  558. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  559. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  560. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  561. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  562. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -494
  563. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  564. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  565. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1227
  566. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  567. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -505
  568. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  569. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -806
  570. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  571. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -437
  572. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  573. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -856
  574. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  575. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -437
  576. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  577. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  578. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  579. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
  580. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  581. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  582. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  583. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  584. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  585. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  586. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  587. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -362
  588. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  589. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  590. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  591. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  592. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  593. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  594. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  595. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -313
  596. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  597. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  598. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  599. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -608
  600. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  601. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  602. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  603. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  604. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  605. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  606. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  607. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  608. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  609. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  610. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  611. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  612. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  613. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  614. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  615. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  616. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  617. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  618. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  619. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  620. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  621. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  622. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  623. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  624. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  625. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  626. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  627. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  628. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  629. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  630. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  631. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  632. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  633. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  634. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  635. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  636. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  637. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  638. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  639. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  640. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  641. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  642. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  643. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  644. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  645. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  646. package/contracts/components/Component.sol +0 -216
  647. package/contracts/components/Distribution.sol +0 -150
  648. package/contracts/components/IComponent.sol +0 -43
  649. package/contracts/components/IDistributionComponent.sol +0 -47
  650. package/contracts/components/IPoolComponent.sol +0 -60
  651. package/contracts/components/IProductComponent.sol +0 -39
  652. package/contracts/components/Pool.sol +0 -227
  653. package/contracts/components/Product.sol +0 -265
  654. package/contracts/experiment/cloning/Cloner.sol +0 -47
  655. package/contracts/experiment/errors/Require.sol +0 -38
  656. package/contracts/experiment/errors/Revert.sol +0 -44
  657. package/contracts/experiment/inheritance/A.sol +0 -53
  658. package/contracts/experiment/inheritance/B.sol +0 -28
  659. package/contracts/experiment/inheritance/C.sol +0 -34
  660. package/contracts/experiment/inheritance/IA.sol +0 -13
  661. package/contracts/experiment/inheritance/IB.sol +0 -10
  662. package/contracts/experiment/inheritance/IC.sol +0 -12
  663. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  664. package/contracts/experiment/statemachine/ISM.sol +0 -25
  665. package/contracts/experiment/statemachine/SM.sol +0 -57
  666. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  667. package/contracts/experiment/types/TypeA.sol +0 -47
  668. package/contracts/experiment/types/TypeB.sol +0 -29
  669. package/contracts/instance/InstanceAccessManager.sol +0 -298
  670. package/contracts/instance/base/ComponentService.sol +0 -134
  671. package/contracts/instance/base/KeyValueStore.sol +0 -172
  672. package/contracts/instance/base/Lifecycle.sol +0 -100
  673. package/contracts/instance/module/ISetup.sol +0 -46
  674. package/contracts/instance/module/ITreasury.sol +0 -23
  675. package/contracts/instance/service/BundleService.sol +0 -293
  676. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  677. package/contracts/instance/service/DistributionService.sol +0 -106
  678. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  679. package/contracts/instance/service/IBundleService.sol +0 -44
  680. package/contracts/instance/service/IDistributionService.sol +0 -12
  681. package/contracts/instance/service/IPolicyService.sol +0 -94
  682. package/contracts/instance/service/IPoolService.sol +0 -20
  683. package/contracts/instance/service/IProductService.sol +0 -40
  684. package/contracts/instance/service/PolicyService.sol +0 -538
  685. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  686. package/contracts/instance/service/PoolService.sol +0 -110
  687. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  688. package/contracts/instance/service/ProductService.sol +0 -234
  689. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  690. package/contracts/registry/RegistryAccessManager.sol +0 -216
  691. package/contracts/registry/ReleaseManager.sol +0 -332
  692. package/contracts/shared/ContractDeployerLib.sol +0 -72
  693. package/contracts/shared/ERC165.sol +0 -25
  694. package/contracts/shared/ProxyManager.sol +0 -94
  695. package/contracts/shared/Versionable.sol +0 -147
  696. package/contracts/test/TestFee.sol +0 -25
  697. package/contracts/test/TestRegisterable.sol +0 -18
  698. package/contracts/test/TestRoleId.sol +0 -14
  699. package/contracts/test/TestService.sol +0 -25
  700. package/contracts/test/TestVersion.sol +0 -44
  701. package/contracts/test/TestVersionable.sol +0 -17
  702. package/contracts/test/Usdc.sol +0 -26
  703. package/contracts/types/ChainId.sol +0 -38
  704. package/contracts/types/NumberId.sol +0 -52
  705. package/contracts/types/ObjectType.sol +0 -152
  706. package/contracts/types/RoleId.sol +0 -90
  707. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -0,0 +1,1625 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PoolService",
4
+ "sourceName": "contracts/pool/PoolService.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": "componentNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentVerifyingServiceComponentIsLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "componentNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "actualType",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentVerifyingServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "nftId",
81
+ "type": "uint96"
82
+ }
83
+ ],
84
+ "name": "ErrorNftOwnableAlreadyLinked",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "address",
91
+ "name": "contractAddress",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorNftOwnableContractNotRegistered",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [],
100
+ "name": "ErrorNftOwnableInitialOwnerZero",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "NftId",
107
+ "name": "nftId",
108
+ "type": "uint96"
109
+ },
110
+ {
111
+ "internalType": "ObjectType",
112
+ "name": "expectedObjectType",
113
+ "type": "uint8"
114
+ }
115
+ ],
116
+ "name": "ErrorNftOwnableInvalidType",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [
121
+ {
122
+ "internalType": "address",
123
+ "name": "account",
124
+ "type": "address"
125
+ }
126
+ ],
127
+ "name": "ErrorNftOwnableNotOwner",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [
132
+ {
133
+ "internalType": "address",
134
+ "name": "registryAddress",
135
+ "type": "address"
136
+ }
137
+ ],
138
+ "name": "ErrorNotRegistry",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [
143
+ {
144
+ "internalType": "NftId",
145
+ "name": "poolNftId",
146
+ "type": "uint96"
147
+ }
148
+ ],
149
+ "name": "ErrorPoolServiceBundleOwnerRoleAlreadySet",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "NftId",
156
+ "name": "bundleNftId",
157
+ "type": "uint96"
158
+ },
159
+ {
160
+ "internalType": "NftId",
161
+ "name": "poolNftId",
162
+ "type": "uint96"
163
+ }
164
+ ],
165
+ "name": "ErrorPoolServiceBundlePoolMismatch",
166
+ "type": "error"
167
+ },
168
+ {
169
+ "inputs": [
170
+ {
171
+ "internalType": "Amount",
172
+ "name": "expectedAmount",
173
+ "type": "uint96"
174
+ },
175
+ {
176
+ "internalType": "Amount",
177
+ "name": "actualAmount",
178
+ "type": "uint96"
179
+ }
180
+ ],
181
+ "name": "ErrorPoolServiceInvalidTransferAmount",
182
+ "type": "error"
183
+ },
184
+ {
185
+ "inputs": [
186
+ {
187
+ "internalType": "NftId",
188
+ "name": "poolNftId",
189
+ "type": "uint96"
190
+ },
191
+ {
192
+ "internalType": "Amount",
193
+ "name": "maxBalanceAmount",
194
+ "type": "uint96"
195
+ },
196
+ {
197
+ "internalType": "Amount",
198
+ "name": "currentBalanceAmount",
199
+ "type": "uint96"
200
+ },
201
+ {
202
+ "internalType": "Amount",
203
+ "name": "transferAmount",
204
+ "type": "uint96"
205
+ }
206
+ ],
207
+ "name": "ErrorPoolServiceMaxBalanceAmountExceeded",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "NftId",
214
+ "name": "policyNftId",
215
+ "type": "uint96"
216
+ },
217
+ {
218
+ "internalType": "NftId",
219
+ "name": "productNftId",
220
+ "type": "uint96"
221
+ },
222
+ {
223
+ "internalType": "NftId",
224
+ "name": "expectedProductNftId",
225
+ "type": "uint96"
226
+ }
227
+ ],
228
+ "name": "ErrorPoolServicePolicyPoolMismatch",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [],
233
+ "name": "ErrorServiceNotImplemented",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [],
238
+ "name": "InvalidInitialization",
239
+ "type": "error"
240
+ },
241
+ {
242
+ "inputs": [],
243
+ "name": "MathLigMulDivOverflow",
244
+ "type": "error"
245
+ },
246
+ {
247
+ "inputs": [],
248
+ "name": "NotInitializing",
249
+ "type": "error"
250
+ },
251
+ {
252
+ "inputs": [],
253
+ "name": "ReentrancyGuardReentrantCall",
254
+ "type": "error"
255
+ },
256
+ {
257
+ "anonymous": false,
258
+ "inputs": [
259
+ {
260
+ "indexed": false,
261
+ "internalType": "address",
262
+ "name": "authority",
263
+ "type": "address"
264
+ }
265
+ ],
266
+ "name": "AuthorityUpdated",
267
+ "type": "event"
268
+ },
269
+ {
270
+ "anonymous": false,
271
+ "inputs": [
272
+ {
273
+ "indexed": false,
274
+ "internalType": "uint64",
275
+ "name": "version",
276
+ "type": "uint64"
277
+ }
278
+ ],
279
+ "name": "Initialized",
280
+ "type": "event"
281
+ },
282
+ {
283
+ "anonymous": false,
284
+ "inputs": [
285
+ {
286
+ "indexed": false,
287
+ "internalType": "NftId",
288
+ "name": "instanceNftId",
289
+ "type": "uint96"
290
+ },
291
+ {
292
+ "indexed": false,
293
+ "internalType": "NftId",
294
+ "name": "poolNftId",
295
+ "type": "uint96"
296
+ },
297
+ {
298
+ "indexed": false,
299
+ "internalType": "NftId",
300
+ "name": "bundleNftId",
301
+ "type": "uint96"
302
+ }
303
+ ],
304
+ "name": "LogPoolServiceBundleClosed",
305
+ "type": "event"
306
+ },
307
+ {
308
+ "anonymous": false,
309
+ "inputs": [
310
+ {
311
+ "indexed": false,
312
+ "internalType": "NftId",
313
+ "name": "instanceNftId",
314
+ "type": "uint96"
315
+ },
316
+ {
317
+ "indexed": false,
318
+ "internalType": "NftId",
319
+ "name": "poolNftId",
320
+ "type": "uint96"
321
+ },
322
+ {
323
+ "indexed": false,
324
+ "internalType": "NftId",
325
+ "name": "bundleNftId",
326
+ "type": "uint96"
327
+ }
328
+ ],
329
+ "name": "LogPoolServiceBundleCreated",
330
+ "type": "event"
331
+ },
332
+ {
333
+ "anonymous": false,
334
+ "inputs": [
335
+ {
336
+ "indexed": false,
337
+ "internalType": "NftId",
338
+ "name": "poolNftId",
339
+ "type": "uint96"
340
+ },
341
+ {
342
+ "indexed": false,
343
+ "internalType": "RoleId",
344
+ "name": "bundleOwnerRole",
345
+ "type": "uint64"
346
+ }
347
+ ],
348
+ "name": "LogPoolServiceBundleOwnerRoleSet",
349
+ "type": "event"
350
+ },
351
+ {
352
+ "anonymous": false,
353
+ "inputs": [
354
+ {
355
+ "indexed": false,
356
+ "internalType": "NftId",
357
+ "name": "instanceNftId",
358
+ "type": "uint96"
359
+ },
360
+ {
361
+ "indexed": false,
362
+ "internalType": "NftId",
363
+ "name": "poolNftId",
364
+ "type": "uint96"
365
+ },
366
+ {
367
+ "indexed": false,
368
+ "internalType": "NftId",
369
+ "name": "bundleNftId",
370
+ "type": "uint96"
371
+ },
372
+ {
373
+ "indexed": false,
374
+ "internalType": "Amount",
375
+ "name": "amount",
376
+ "type": "uint96"
377
+ },
378
+ {
379
+ "indexed": false,
380
+ "internalType": "Amount",
381
+ "name": "netAmount",
382
+ "type": "uint96"
383
+ }
384
+ ],
385
+ "name": "LogPoolServiceBundleStaked",
386
+ "type": "event"
387
+ },
388
+ {
389
+ "anonymous": false,
390
+ "inputs": [
391
+ {
392
+ "indexed": false,
393
+ "internalType": "NftId",
394
+ "name": "instanceNftId",
395
+ "type": "uint96"
396
+ },
397
+ {
398
+ "indexed": false,
399
+ "internalType": "NftId",
400
+ "name": "poolNftId",
401
+ "type": "uint96"
402
+ },
403
+ {
404
+ "indexed": false,
405
+ "internalType": "NftId",
406
+ "name": "bundleNftId",
407
+ "type": "uint96"
408
+ },
409
+ {
410
+ "indexed": false,
411
+ "internalType": "Amount",
412
+ "name": "amount",
413
+ "type": "uint96"
414
+ }
415
+ ],
416
+ "name": "LogPoolServiceBundleUnstaked",
417
+ "type": "event"
418
+ },
419
+ {
420
+ "anonymous": false,
421
+ "inputs": [
422
+ {
423
+ "indexed": false,
424
+ "internalType": "NftId",
425
+ "name": "poolNftId",
426
+ "type": "uint96"
427
+ },
428
+ {
429
+ "indexed": false,
430
+ "internalType": "Amount",
431
+ "name": "previousMaxCapitalAmount",
432
+ "type": "uint96"
433
+ },
434
+ {
435
+ "indexed": false,
436
+ "internalType": "Amount",
437
+ "name": "currentMaxCapitalAmount",
438
+ "type": "uint96"
439
+ }
440
+ ],
441
+ "name": "LogPoolServiceMaxBalanceAmountUpdated",
442
+ "type": "event"
443
+ },
444
+ {
445
+ "anonymous": false,
446
+ "inputs": [
447
+ {
448
+ "indexed": false,
449
+ "internalType": "NftId",
450
+ "name": "policyNftId",
451
+ "type": "uint96"
452
+ },
453
+ {
454
+ "indexed": false,
455
+ "internalType": "ClaimId",
456
+ "name": "claimId",
457
+ "type": "uint16"
458
+ },
459
+ {
460
+ "indexed": false,
461
+ "internalType": "Amount",
462
+ "name": "availableAmount",
463
+ "type": "uint96"
464
+ }
465
+ ],
466
+ "name": "LogPoolServiceProcessFundedClaim",
467
+ "type": "event"
468
+ },
469
+ {
470
+ "inputs": [],
471
+ "name": "GIF_RELEASE",
472
+ "outputs": [
473
+ {
474
+ "internalType": "uint256",
475
+ "name": "",
476
+ "type": "uint256"
477
+ }
478
+ ],
479
+ "stateMutability": "view",
480
+ "type": "function"
481
+ },
482
+ {
483
+ "inputs": [],
484
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
485
+ "outputs": [
486
+ {
487
+ "internalType": "bytes32",
488
+ "name": "",
489
+ "type": "bytes32"
490
+ }
491
+ ],
492
+ "stateMutability": "view",
493
+ "type": "function"
494
+ },
495
+ {
496
+ "inputs": [],
497
+ "name": "REGISTERABLE_LOCATION_V1",
498
+ "outputs": [
499
+ {
500
+ "internalType": "bytes32",
501
+ "name": "",
502
+ "type": "bytes32"
503
+ }
504
+ ],
505
+ "stateMutability": "view",
506
+ "type": "function"
507
+ },
508
+ {
509
+ "inputs": [],
510
+ "name": "authority",
511
+ "outputs": [
512
+ {
513
+ "internalType": "address",
514
+ "name": "",
515
+ "type": "address"
516
+ }
517
+ ],
518
+ "stateMutability": "view",
519
+ "type": "function"
520
+ },
521
+ {
522
+ "inputs": [
523
+ {
524
+ "internalType": "UFixed",
525
+ "name": "collateralizationLevel",
526
+ "type": "uint256"
527
+ },
528
+ {
529
+ "internalType": "UFixed",
530
+ "name": "retentionLevel",
531
+ "type": "uint256"
532
+ },
533
+ {
534
+ "internalType": "Amount",
535
+ "name": "sumInsuredAmount",
536
+ "type": "uint96"
537
+ }
538
+ ],
539
+ "name": "calculateRequiredCollateral",
540
+ "outputs": [
541
+ {
542
+ "internalType": "Amount",
543
+ "name": "totalCollateralAmount",
544
+ "type": "uint96"
545
+ },
546
+ {
547
+ "internalType": "Amount",
548
+ "name": "localCollateralAmount",
549
+ "type": "uint96"
550
+ }
551
+ ],
552
+ "stateMutability": "pure",
553
+ "type": "function"
554
+ },
555
+ {
556
+ "inputs": [
557
+ {
558
+ "internalType": "contract InstanceReader",
559
+ "name": "instanceReader",
560
+ "type": "address"
561
+ },
562
+ {
563
+ "internalType": "NftId",
564
+ "name": "productNftId",
565
+ "type": "uint96"
566
+ },
567
+ {
568
+ "internalType": "Amount",
569
+ "name": "sumInsuredAmount",
570
+ "type": "uint96"
571
+ }
572
+ ],
573
+ "name": "calculateRequiredCollateral",
574
+ "outputs": [
575
+ {
576
+ "internalType": "Amount",
577
+ "name": "totalCollateralAmount",
578
+ "type": "uint96"
579
+ },
580
+ {
581
+ "internalType": "Amount",
582
+ "name": "localCollateralAmount",
583
+ "type": "uint96"
584
+ }
585
+ ],
586
+ "stateMutability": "view",
587
+ "type": "function"
588
+ },
589
+ {
590
+ "inputs": [
591
+ {
592
+ "internalType": "NftId",
593
+ "name": "bundleNftId",
594
+ "type": "uint96"
595
+ }
596
+ ],
597
+ "name": "closeBundle",
598
+ "outputs": [],
599
+ "stateMutability": "nonpayable",
600
+ "type": "function"
601
+ },
602
+ {
603
+ "inputs": [
604
+ {
605
+ "internalType": "address",
606
+ "name": "bundleOwner",
607
+ "type": "address"
608
+ },
609
+ {
610
+ "components": [
611
+ {
612
+ "internalType": "UFixed",
613
+ "name": "fractionalFee",
614
+ "type": "uint256"
615
+ },
616
+ {
617
+ "internalType": "uint256",
618
+ "name": "fixedFee",
619
+ "type": "uint256"
620
+ }
621
+ ],
622
+ "internalType": "struct Fee",
623
+ "name": "fee",
624
+ "type": "tuple"
625
+ },
626
+ {
627
+ "internalType": "Seconds",
628
+ "name": "lifetime",
629
+ "type": "uint40"
630
+ },
631
+ {
632
+ "internalType": "bytes",
633
+ "name": "filter",
634
+ "type": "bytes"
635
+ }
636
+ ],
637
+ "name": "createBundle",
638
+ "outputs": [
639
+ {
640
+ "internalType": "NftId",
641
+ "name": "bundleNftId",
642
+ "type": "uint96"
643
+ }
644
+ ],
645
+ "stateMutability": "nonpayable",
646
+ "type": "function"
647
+ },
648
+ {
649
+ "inputs": [
650
+ {
651
+ "internalType": "NftId",
652
+ "name": "poolNftId",
653
+ "type": "uint96"
654
+ },
655
+ {
656
+ "internalType": "Amount",
657
+ "name": "amount",
658
+ "type": "uint96"
659
+ }
660
+ ],
661
+ "name": "defundPoolWallet",
662
+ "outputs": [],
663
+ "stateMutability": "nonpayable",
664
+ "type": "function"
665
+ },
666
+ {
667
+ "inputs": [
668
+ {
669
+ "internalType": "NftId",
670
+ "name": "poolNftId",
671
+ "type": "uint96"
672
+ },
673
+ {
674
+ "internalType": "Amount",
675
+ "name": "amount",
676
+ "type": "uint96"
677
+ }
678
+ ],
679
+ "name": "fundPoolWallet",
680
+ "outputs": [],
681
+ "stateMutability": "nonpayable",
682
+ "type": "function"
683
+ },
684
+ {
685
+ "inputs": [],
686
+ "name": "getDomain",
687
+ "outputs": [
688
+ {
689
+ "internalType": "ObjectType",
690
+ "name": "serviceDomain",
691
+ "type": "uint8"
692
+ }
693
+ ],
694
+ "stateMutability": "pure",
695
+ "type": "function"
696
+ },
697
+ {
698
+ "inputs": [],
699
+ "name": "getInitialInfo",
700
+ "outputs": [
701
+ {
702
+ "components": [
703
+ {
704
+ "internalType": "NftId",
705
+ "name": "nftId",
706
+ "type": "uint96"
707
+ },
708
+ {
709
+ "internalType": "NftId",
710
+ "name": "parentNftId",
711
+ "type": "uint96"
712
+ },
713
+ {
714
+ "internalType": "ObjectType",
715
+ "name": "objectType",
716
+ "type": "uint8"
717
+ },
718
+ {
719
+ "internalType": "bool",
720
+ "name": "isInterceptor",
721
+ "type": "bool"
722
+ },
723
+ {
724
+ "internalType": "address",
725
+ "name": "objectAddress",
726
+ "type": "address"
727
+ },
728
+ {
729
+ "internalType": "address",
730
+ "name": "initialOwner",
731
+ "type": "address"
732
+ },
733
+ {
734
+ "internalType": "bytes",
735
+ "name": "data",
736
+ "type": "bytes"
737
+ }
738
+ ],
739
+ "internalType": "struct IRegistry.ObjectInfo",
740
+ "name": "info",
741
+ "type": "tuple"
742
+ }
743
+ ],
744
+ "stateMutability": "view",
745
+ "type": "function"
746
+ },
747
+ {
748
+ "inputs": [],
749
+ "name": "getNftId",
750
+ "outputs": [
751
+ {
752
+ "internalType": "NftId",
753
+ "name": "",
754
+ "type": "uint96"
755
+ }
756
+ ],
757
+ "stateMutability": "view",
758
+ "type": "function"
759
+ },
760
+ {
761
+ "inputs": [],
762
+ "name": "getOwner",
763
+ "outputs": [
764
+ {
765
+ "internalType": "address",
766
+ "name": "",
767
+ "type": "address"
768
+ }
769
+ ],
770
+ "stateMutability": "view",
771
+ "type": "function"
772
+ },
773
+ {
774
+ "inputs": [],
775
+ "name": "getRegistry",
776
+ "outputs": [
777
+ {
778
+ "internalType": "contract IRegistry",
779
+ "name": "",
780
+ "type": "address"
781
+ }
782
+ ],
783
+ "stateMutability": "view",
784
+ "type": "function"
785
+ },
786
+ {
787
+ "inputs": [],
788
+ "name": "getRelease",
789
+ "outputs": [
790
+ {
791
+ "internalType": "VersionPart",
792
+ "name": "release",
793
+ "type": "uint8"
794
+ }
795
+ ],
796
+ "stateMutability": "pure",
797
+ "type": "function"
798
+ },
799
+ {
800
+ "inputs": [],
801
+ "name": "getRoleId",
802
+ "outputs": [
803
+ {
804
+ "internalType": "RoleId",
805
+ "name": "serviceRoleId",
806
+ "type": "uint64"
807
+ }
808
+ ],
809
+ "stateMutability": "pure",
810
+ "type": "function"
811
+ },
812
+ {
813
+ "inputs": [],
814
+ "name": "getVersion",
815
+ "outputs": [
816
+ {
817
+ "internalType": "Version",
818
+ "name": "",
819
+ "type": "uint24"
820
+ }
821
+ ],
822
+ "stateMutability": "pure",
823
+ "type": "function"
824
+ },
825
+ {
826
+ "inputs": [
827
+ {
828
+ "internalType": "address",
829
+ "name": "activatedBy",
830
+ "type": "address"
831
+ },
832
+ {
833
+ "internalType": "bytes",
834
+ "name": "data",
835
+ "type": "bytes"
836
+ }
837
+ ],
838
+ "name": "initializeVersionable",
839
+ "outputs": [],
840
+ "stateMutability": "nonpayable",
841
+ "type": "function"
842
+ },
843
+ {
844
+ "inputs": [],
845
+ "name": "isConsumingScheduledOp",
846
+ "outputs": [
847
+ {
848
+ "internalType": "bytes4",
849
+ "name": "",
850
+ "type": "bytes4"
851
+ }
852
+ ],
853
+ "stateMutability": "view",
854
+ "type": "function"
855
+ },
856
+ {
857
+ "inputs": [],
858
+ "name": "linkToRegisteredNftId",
859
+ "outputs": [
860
+ {
861
+ "internalType": "NftId",
862
+ "name": "nftId",
863
+ "type": "uint96"
864
+ }
865
+ ],
866
+ "stateMutability": "nonpayable",
867
+ "type": "function"
868
+ },
869
+ {
870
+ "inputs": [
871
+ {
872
+ "internalType": "contract IInstance",
873
+ "name": "instance",
874
+ "type": "address"
875
+ },
876
+ {
877
+ "internalType": "address",
878
+ "name": "token",
879
+ "type": "address"
880
+ },
881
+ {
882
+ "internalType": "NftId",
883
+ "name": "productNftId",
884
+ "type": "uint96"
885
+ },
886
+ {
887
+ "internalType": "NftId",
888
+ "name": "applicationNftId",
889
+ "type": "uint96"
890
+ },
891
+ {
892
+ "internalType": "NftId",
893
+ "name": "bundleNftId",
894
+ "type": "uint96"
895
+ },
896
+ {
897
+ "internalType": "Amount",
898
+ "name": "sumInsuredAmount",
899
+ "type": "uint96"
900
+ }
901
+ ],
902
+ "name": "lockCollateral",
903
+ "outputs": [
904
+ {
905
+ "internalType": "Amount",
906
+ "name": "totalCollateralAmount",
907
+ "type": "uint96"
908
+ },
909
+ {
910
+ "internalType": "Amount",
911
+ "name": "localCollateralAmount",
912
+ "type": "uint96"
913
+ }
914
+ ],
915
+ "stateMutability": "nonpayable",
916
+ "type": "function"
917
+ },
918
+ {
919
+ "inputs": [
920
+ {
921
+ "internalType": "NftId",
922
+ "name": "policyNftId",
923
+ "type": "uint96"
924
+ },
925
+ {
926
+ "internalType": "ClaimId",
927
+ "name": "claimId",
928
+ "type": "uint16"
929
+ },
930
+ {
931
+ "internalType": "Amount",
932
+ "name": "availableAmount",
933
+ "type": "uint96"
934
+ }
935
+ ],
936
+ "name": "processFundedClaim",
937
+ "outputs": [],
938
+ "stateMutability": "nonpayable",
939
+ "type": "function"
940
+ },
941
+ {
942
+ "inputs": [
943
+ {
944
+ "internalType": "contract IInstance",
945
+ "name": "instance",
946
+ "type": "address"
947
+ },
948
+ {
949
+ "internalType": "address",
950
+ "name": "token",
951
+ "type": "address"
952
+ },
953
+ {
954
+ "internalType": "NftId",
955
+ "name": "policyNftId",
956
+ "type": "uint96"
957
+ },
958
+ {
959
+ "components": [
960
+ {
961
+ "internalType": "NftId",
962
+ "name": "productNftId",
963
+ "type": "uint96"
964
+ },
965
+ {
966
+ "internalType": "NftId",
967
+ "name": "bundleNftId",
968
+ "type": "uint96"
969
+ },
970
+ {
971
+ "internalType": "ReferralId",
972
+ "name": "referralId",
973
+ "type": "bytes8"
974
+ },
975
+ {
976
+ "internalType": "RiskId",
977
+ "name": "riskId",
978
+ "type": "bytes8"
979
+ },
980
+ {
981
+ "internalType": "Amount",
982
+ "name": "sumInsuredAmount",
983
+ "type": "uint96"
984
+ },
985
+ {
986
+ "internalType": "Amount",
987
+ "name": "premiumAmount",
988
+ "type": "uint96"
989
+ },
990
+ {
991
+ "internalType": "Seconds",
992
+ "name": "lifetime",
993
+ "type": "uint40"
994
+ },
995
+ {
996
+ "internalType": "bytes",
997
+ "name": "applicationData",
998
+ "type": "bytes"
999
+ },
1000
+ {
1001
+ "internalType": "bytes",
1002
+ "name": "processData",
1003
+ "type": "bytes"
1004
+ },
1005
+ {
1006
+ "internalType": "uint16",
1007
+ "name": "claimsCount",
1008
+ "type": "uint16"
1009
+ },
1010
+ {
1011
+ "internalType": "uint16",
1012
+ "name": "openClaimsCount",
1013
+ "type": "uint16"
1014
+ },
1015
+ {
1016
+ "internalType": "Amount",
1017
+ "name": "claimAmount",
1018
+ "type": "uint96"
1019
+ },
1020
+ {
1021
+ "internalType": "Amount",
1022
+ "name": "payoutAmount",
1023
+ "type": "uint96"
1024
+ },
1025
+ {
1026
+ "internalType": "Timestamp",
1027
+ "name": "activatedAt",
1028
+ "type": "uint40"
1029
+ },
1030
+ {
1031
+ "internalType": "Timestamp",
1032
+ "name": "expiredAt",
1033
+ "type": "uint40"
1034
+ },
1035
+ {
1036
+ "internalType": "Timestamp",
1037
+ "name": "closedAt",
1038
+ "type": "uint40"
1039
+ }
1040
+ ],
1041
+ "internalType": "struct IPolicy.PolicyInfo",
1042
+ "name": "policyInfo",
1043
+ "type": "tuple"
1044
+ },
1045
+ {
1046
+ "internalType": "Amount",
1047
+ "name": "payoutAmount",
1048
+ "type": "uint96"
1049
+ }
1050
+ ],
1051
+ "name": "processPayout",
1052
+ "outputs": [],
1053
+ "stateMutability": "nonpayable",
1054
+ "type": "function"
1055
+ },
1056
+ {
1057
+ "inputs": [
1058
+ {
1059
+ "internalType": "NftId",
1060
+ "name": "bundleNftId",
1061
+ "type": "uint96"
1062
+ },
1063
+ {
1064
+ "components": [
1065
+ {
1066
+ "internalType": "Amount",
1067
+ "name": "productFeeAmount",
1068
+ "type": "uint96"
1069
+ },
1070
+ {
1071
+ "internalType": "Amount",
1072
+ "name": "distributionFeeAndCommissionAmount",
1073
+ "type": "uint96"
1074
+ },
1075
+ {
1076
+ "internalType": "Amount",
1077
+ "name": "poolPremiumAndFeeAmount",
1078
+ "type": "uint96"
1079
+ },
1080
+ {
1081
+ "internalType": "Amount",
1082
+ "name": "netPremiumAmount",
1083
+ "type": "uint96"
1084
+ },
1085
+ {
1086
+ "internalType": "Amount",
1087
+ "name": "fullPremiumAmount",
1088
+ "type": "uint96"
1089
+ },
1090
+ {
1091
+ "internalType": "Amount",
1092
+ "name": "premiumAmount",
1093
+ "type": "uint96"
1094
+ },
1095
+ {
1096
+ "internalType": "Amount",
1097
+ "name": "productFeeFixAmount",
1098
+ "type": "uint96"
1099
+ },
1100
+ {
1101
+ "internalType": "Amount",
1102
+ "name": "poolFeeFixAmount",
1103
+ "type": "uint96"
1104
+ },
1105
+ {
1106
+ "internalType": "Amount",
1107
+ "name": "bundleFeeFixAmount",
1108
+ "type": "uint96"
1109
+ },
1110
+ {
1111
+ "internalType": "Amount",
1112
+ "name": "distributionFeeFixAmount",
1113
+ "type": "uint96"
1114
+ },
1115
+ {
1116
+ "internalType": "Amount",
1117
+ "name": "productFeeVarAmount",
1118
+ "type": "uint96"
1119
+ },
1120
+ {
1121
+ "internalType": "Amount",
1122
+ "name": "poolFeeVarAmount",
1123
+ "type": "uint96"
1124
+ },
1125
+ {
1126
+ "internalType": "Amount",
1127
+ "name": "bundleFeeVarAmount",
1128
+ "type": "uint96"
1129
+ },
1130
+ {
1131
+ "internalType": "Amount",
1132
+ "name": "distributionFeeVarAmount",
1133
+ "type": "uint96"
1134
+ },
1135
+ {
1136
+ "internalType": "Amount",
1137
+ "name": "distributionOwnerFeeFixAmount",
1138
+ "type": "uint96"
1139
+ },
1140
+ {
1141
+ "internalType": "Amount",
1142
+ "name": "distributionOwnerFeeVarAmount",
1143
+ "type": "uint96"
1144
+ },
1145
+ {
1146
+ "internalType": "Amount",
1147
+ "name": "commissionAmount",
1148
+ "type": "uint96"
1149
+ },
1150
+ {
1151
+ "internalType": "Amount",
1152
+ "name": "discountAmount",
1153
+ "type": "uint96"
1154
+ }
1155
+ ],
1156
+ "internalType": "struct IPolicy.PremiumInfo",
1157
+ "name": "premium",
1158
+ "type": "tuple"
1159
+ }
1160
+ ],
1161
+ "name": "processSale",
1162
+ "outputs": [],
1163
+ "stateMutability": "nonpayable",
1164
+ "type": "function"
1165
+ },
1166
+ {
1167
+ "inputs": [
1168
+ {
1169
+ "internalType": "contract IInstance",
1170
+ "name": "instance",
1171
+ "type": "address"
1172
+ },
1173
+ {
1174
+ "internalType": "address",
1175
+ "name": "token",
1176
+ "type": "address"
1177
+ },
1178
+ {
1179
+ "internalType": "NftId",
1180
+ "name": "policyNftId",
1181
+ "type": "uint96"
1182
+ },
1183
+ {
1184
+ "components": [
1185
+ {
1186
+ "internalType": "NftId",
1187
+ "name": "productNftId",
1188
+ "type": "uint96"
1189
+ },
1190
+ {
1191
+ "internalType": "NftId",
1192
+ "name": "bundleNftId",
1193
+ "type": "uint96"
1194
+ },
1195
+ {
1196
+ "internalType": "ReferralId",
1197
+ "name": "referralId",
1198
+ "type": "bytes8"
1199
+ },
1200
+ {
1201
+ "internalType": "RiskId",
1202
+ "name": "riskId",
1203
+ "type": "bytes8"
1204
+ },
1205
+ {
1206
+ "internalType": "Amount",
1207
+ "name": "sumInsuredAmount",
1208
+ "type": "uint96"
1209
+ },
1210
+ {
1211
+ "internalType": "Amount",
1212
+ "name": "premiumAmount",
1213
+ "type": "uint96"
1214
+ },
1215
+ {
1216
+ "internalType": "Seconds",
1217
+ "name": "lifetime",
1218
+ "type": "uint40"
1219
+ },
1220
+ {
1221
+ "internalType": "bytes",
1222
+ "name": "applicationData",
1223
+ "type": "bytes"
1224
+ },
1225
+ {
1226
+ "internalType": "bytes",
1227
+ "name": "processData",
1228
+ "type": "bytes"
1229
+ },
1230
+ {
1231
+ "internalType": "uint16",
1232
+ "name": "claimsCount",
1233
+ "type": "uint16"
1234
+ },
1235
+ {
1236
+ "internalType": "uint16",
1237
+ "name": "openClaimsCount",
1238
+ "type": "uint16"
1239
+ },
1240
+ {
1241
+ "internalType": "Amount",
1242
+ "name": "claimAmount",
1243
+ "type": "uint96"
1244
+ },
1245
+ {
1246
+ "internalType": "Amount",
1247
+ "name": "payoutAmount",
1248
+ "type": "uint96"
1249
+ },
1250
+ {
1251
+ "internalType": "Timestamp",
1252
+ "name": "activatedAt",
1253
+ "type": "uint40"
1254
+ },
1255
+ {
1256
+ "internalType": "Timestamp",
1257
+ "name": "expiredAt",
1258
+ "type": "uint40"
1259
+ },
1260
+ {
1261
+ "internalType": "Timestamp",
1262
+ "name": "closedAt",
1263
+ "type": "uint40"
1264
+ }
1265
+ ],
1266
+ "internalType": "struct IPolicy.PolicyInfo",
1267
+ "name": "policyInfo",
1268
+ "type": "tuple"
1269
+ }
1270
+ ],
1271
+ "name": "releaseCollateral",
1272
+ "outputs": [],
1273
+ "stateMutability": "nonpayable",
1274
+ "type": "function"
1275
+ },
1276
+ {
1277
+ "inputs": [
1278
+ {
1279
+ "internalType": "address",
1280
+ "name": "newAuthority",
1281
+ "type": "address"
1282
+ }
1283
+ ],
1284
+ "name": "setAuthority",
1285
+ "outputs": [],
1286
+ "stateMutability": "nonpayable",
1287
+ "type": "function"
1288
+ },
1289
+ {
1290
+ "inputs": [
1291
+ {
1292
+ "internalType": "Amount",
1293
+ "name": "maxBalanceAmount",
1294
+ "type": "uint96"
1295
+ }
1296
+ ],
1297
+ "name": "setMaxBalanceAmount",
1298
+ "outputs": [],
1299
+ "stateMutability": "nonpayable",
1300
+ "type": "function"
1301
+ },
1302
+ {
1303
+ "inputs": [
1304
+ {
1305
+ "internalType": "NftId",
1306
+ "name": "bundleNftId",
1307
+ "type": "uint96"
1308
+ },
1309
+ {
1310
+ "internalType": "Amount",
1311
+ "name": "amount",
1312
+ "type": "uint96"
1313
+ }
1314
+ ],
1315
+ "name": "stake",
1316
+ "outputs": [
1317
+ {
1318
+ "internalType": "Amount",
1319
+ "name": "netAmount",
1320
+ "type": "uint96"
1321
+ }
1322
+ ],
1323
+ "stateMutability": "nonpayable",
1324
+ "type": "function"
1325
+ },
1326
+ {
1327
+ "inputs": [
1328
+ {
1329
+ "internalType": "bytes4",
1330
+ "name": "interfaceId",
1331
+ "type": "bytes4"
1332
+ }
1333
+ ],
1334
+ "name": "supportsInterface",
1335
+ "outputs": [
1336
+ {
1337
+ "internalType": "bool",
1338
+ "name": "",
1339
+ "type": "bool"
1340
+ }
1341
+ ],
1342
+ "stateMutability": "view",
1343
+ "type": "function"
1344
+ },
1345
+ {
1346
+ "inputs": [
1347
+ {
1348
+ "internalType": "NftId",
1349
+ "name": "bundleNftId",
1350
+ "type": "uint96"
1351
+ },
1352
+ {
1353
+ "internalType": "Amount",
1354
+ "name": "amount",
1355
+ "type": "uint96"
1356
+ }
1357
+ ],
1358
+ "name": "unstake",
1359
+ "outputs": [
1360
+ {
1361
+ "internalType": "Amount",
1362
+ "name": "netAmount",
1363
+ "type": "uint96"
1364
+ }
1365
+ ],
1366
+ "stateMutability": "nonpayable",
1367
+ "type": "function"
1368
+ },
1369
+ {
1370
+ "inputs": [
1371
+ {
1372
+ "internalType": "bytes",
1373
+ "name": "data",
1374
+ "type": "bytes"
1375
+ }
1376
+ ],
1377
+ "name": "upgradeVersionable",
1378
+ "outputs": [],
1379
+ "stateMutability": "nonpayable",
1380
+ "type": "function"
1381
+ }
1382
+ ],
1383
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615d61806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101e7575f3560e01c806376b707b711610109578063b68d18091161009e578063d0d63b091161006e578063d0d63b0914610488578063db02f7d31461049b578063e1f216fa146104ae578063fb3bcd1f146104c1575f80fd5b8063b68d180914610466578063bca99e391461046d578063bf7e214f14610480578063ca510bf61461022c575f80fd5b80638899278a116100d95780638899278a14610421578063893d20e8146104295780638fb3603714610431578063ada9652e14610452575f80fd5b806376b707b7146103ce5780637a9e5e4b146103e857806384a710fa146103fb57806384d1f7cf1461040e575f80fd5b806332f9f3df1161017f5780636c1e9dff1161014f5780636c1e9dff146103555780636c741e781461036857806371504a32146103885780637225ed011461039b575f80fd5b806332f9f3df146102ed57806349bb9e4b146103005780635ab1bd5314610313578063644c45e014610338575f80fd5b8063138461e0116101ba578063138461e0146102725780631eff4b221461029257806326889b09146102c7578063329d6e74146102da575f80fd5b806301ffc9a7146101eb578063066257831461022c5780630d8e6e2c146102415780630fec111c1461025d575b5f80fd5b6102176101f9366004614651565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a36600461469c565b6104d4565b005b6102496104ef565b60405162ffffff9091168152602001610223565b610265610576565b6040516102239190614701565b61027a610702565b6040516001600160601b039091168152602001610223565b6102b97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61027a6102d536600461469c565b61070c565b61023f6102e836600461496b565b610c2f565b61023f6102fb366004614b74565b610d79565b61023f61030e366004614be4565b610f5e565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b5f80516020615ccc833981519152546001600160601b031661027a565b61027a61036336600461469c565b61105a565b6103706116ff565b6040516001600160401b039091168152602001610223565b61027a610396366004614c30565b61178b565b6103ae6103a9366004614cee565b61194e565b604080516001600160601b03938416815292909116602083015201610223565b6103d6611bc8565b60405160ff9091168152602001610223565b61023f6103f6366004614d24565b611c3c565b6103ae610409366004614d3f565b611cbe565b6103ae61041c366004614d7c565b611dda565b6102b9600381565b610320611fc6565b6104396120f7565b6040516001600160e01b03199091168152602001610223565b6102b95f80516020615ccc83398151915281565b600f6103d6565b61023f61047b366004614dfa565b61212c565b61032061233e565b61023f610496366004614dfa565b612359565b61023f6104a9366004614e15565b612842565b61023f6104bc366004614e99565b612c58565b61023f6104cf366004614ec6565b612f68565b6104e0335b5f36613207565b6104eb82600f6132fd565b5050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561054d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105719190615050565b905090565b61057e614614565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610618919061507d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610660611fc6565b6001600160a01b0316815260200182600101805461067d90615098565b80601f01602080910402602001604051908101604052809291908181526020018280546106a990615098565b80156106f45780601f106106cb576101008083540402835291602001916106f4565b820191905f5260205f20905b8154815290600101906020018083116106d757829003601f168201915b505050505081525091505090565b5f610571306133b4565b5f61071883601f6132fd565b5f80610724600f6135ad565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610766573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061078a91906150d0565b90505f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ed91906150d0565b604051634793b4ab60e01b81526001600160601b03891660048201529091505f906001600160a01b03841690634793b4ab906024015f60405180830381865afa15801561083c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526108639190810190615179565b9050610872815f015186613649565b156108a857604051630a49ea2360e01b81526001600160601b03808a166004830152861660248201526044015b60405180910390fd5b600254604051631696791160e11b81526001600160a01b0386811660048301526001600160601b03808c1660248401528a1660448301525f921690632d2cf222906064016020604051808303815f875af1158015610908573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092c919061507d565b905060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a284888473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561099b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109bf919061507d565b6040518563ffffffff1660e01b81526004016109de949392919061523d565b5f604051808303815f87803b1580156109f5575f80fd5b505af1158015610a07573d5f803e3d5ffd5b505060405163f0ea17c360e01b81526001600160601b03891660048201525f92506001600160a01b038716915063f0ea17c3906024015f60405180830381865afa158015610a57573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a7e919081019061527a565b90505f610a936001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038d1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ae0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0491906150d0565b90507fa9e4ee5628423184bfcde002aae428406aeac6b337e1acf560282b155e358527876001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b87919061507d565b604080516001600160601b0392831681528b831660208201528e8316818301529186166060830152519081900360800190a181604001516001600160a01b03166354f0d84c836060015183866040518463ffffffff1660e01b8152600401610bf193929190615354565b5f604051808303815f87803b158015610c08575f80fd5b505af1158015610c1a573d5f803e3d5ffd5b50949a50505050505050505050505b92915050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610c516104ef565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cb3919061539f565b5f80516020615d0c8339815191528054600160401b900460ff1680610ce5575080546001600160401b03808416911610155b15610d035760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d2d836136d5565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610d82336104d9565b610d8d8260156132fd565b5f610da182608001518361016001516136dd565b600254602084015160405163ad328d9f60e01b81529293506001600160a01b039091169163ad328d9f91610ddd9189918891879060040161523d565b5f604051808303815f87803b158015610df4575f80fd5b505af1158015610e06573d5f803e3d5ffd5b50506002546040516301d90a6f60e61b81526001600160a01b0389811660048301526001600160601b038816602483015290911692506376429bc091506044015f604051808303815f87803b158015610e5d575f80fd5b505af1158015610e6f573d5f803e3d5ffd5b5050505060045f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ed2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef6919061507d565b86846040518463ffffffff1660e01b8152600401610f16939291906153ba565b6020604051808303815f875af1158015610f32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f56919061507d565b505050505050565b5f80516020615d0c8339815191528054600160401b810460ff1615906001600160401b03165f81158015610f8f5750825b90505f826001600160401b03166001148015610faa5750303b155b905081158015610fb8575080155b15610fd65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561100057845460ff60401b1916600160401b1785555b61100a8787613762565b831561105157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f61106683601f6132fd565b5f80611072600f6135ad565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d891906150d0565b604051634793b4ab60e01b81526001600160601b03881660048201529091505f906001600160a01b03831690634793b4ab906024015f60405180830381865afa158015611127573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261114e9190810190615179565b6040516357f80bbf60e01b81526001600160601b03861660048201529091505f906001600160a01b038416906357f80bbf9060240161010060405180830381865afa15801561119f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c391906153f5565b90506111d2825f015186613649565b1561120357604051630a49ea2360e01b81526001600160601b03808a1660048301528616602482015260440161089f565b6040516308a390bb60e21b81526001600160601b03861660048201525f906001600160a01b0385169063228e42ec90602401602060405180830381865afa158015611250573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611274919061507d565b905061128a611283828a613950565b835161399a565b156112ce57815160405163b806175d60e01b81526001600160601b03808916600483015291821660248201528183166044820152908916606482015260840161089f565b505f6112e26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091505f9081906001600160a01b0384169063a48f42e0906024015f60405180830381865afa158015611333573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261135a91908101906154a8565b602001516040516302d764c760e21b81526001600160601b03821660048201529091505f906001600160a01b03881690630b5d931c906024015f60405180830381865afa1580156113ad573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113d49190810190615600565b6101800151604051634f69237560e11b815281516004820152602082015160248201526001600160601b038d16604482015290915073__$58e11c6004c5796aaa8c56e718245e69a2$__90639ed246ea906064016040805180830381865af4158015611442573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611466919061575b565b60035460408051631a99b41b60e31b81529051929d509295506001600160a01b03908116945063d56cd3d593508a169163d4cda0d89160048083019260209291908290030181865afa1580156114be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114e291906150d0565b898b856040518563ffffffff1660e01b8152600401611504949392919061523d565b5f604051808303815f87803b15801561151b575f80fd5b505af115801561152d573d5f803e3d5ffd5b50506002546040516325fa796b60e01b81526001600160a01b0390911692506325fa796b915061158a9089908e908d906004016001600160a01b039390931683526001600160601b03918216602084015216604082015260600190565b5f604051808303815f87803b1580156115a1575f80fd5b505af11580156115b3573d5f803e3d5ffd5b5050604051631c5da14d60e11b81526001600160601b038d1660048201525f92506001600160a01b03851691506338bb429a90602401602060405180830381865afa158015611604573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061162891906150d0565b90507fa397b0d38fe748a8c29cce53eab5736ef0c29c156e7a9586ae8b88a8557b4145876001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611687573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ab919061507d565b604080516001600160601b0392831681528b831660208201528e8316818301528d83166060820152918c166080830152519081900360a00190a16116f18689838d6139e4565b505050505050505092915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600f611724611bc8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611767573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610571919061539f565b5f8080611798600f6135ad565b925050915060025f9054906101000a90046001600160a01b03166001600160a01b031663e283b4a982848b8b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561180b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061182f919061507d565b8c8c8c6040518963ffffffff1660e01b81526004016118559897969594939291906157b0565b6020604051808303815f875af1158015611871573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611895919061507d565b92507f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611918919061507d565b604080516001600160601b03928316815282861660208201529186169082015260600160405180910390a1505095945050505050565b6040516355205f0f60e01b81526001600160601b03821660048201525f90819081906119d990879073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af41580156119b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d4919061582c565b613a95565b604051632255341b60e11b81526004810182905290915073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd969073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611a46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a6a919061582c565b6040518263ffffffff1660e01b8152600401611a8891815260200190565b602060405180830381865af4158015611aa3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac7919061507d565b925073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96611aed8784613a95565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611b3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b60919061582c565b6040518263ffffffff1660e01b8152600401611b7e91815260200190565b602060405180830381865af4158015611b99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bbd919061507d565b915050935093915050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611c18573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105719190615843565b33611c4561233e565b6001600160a01b0316816001600160a01b031614611c805760405162d1953b60e31b81526001600160a01b038216600482015260240161089f565b816001600160a01b03163b5f03611cb5576040516361798f2f60e11b81526001600160a01b038316600482015260240161089f565b6104eb82613aa9565b5f80611ccb84600c6132fd565b6040516302d764c760e21b81526001600160601b03851660048201525f906001600160a01b03871690630b5d931c906024015f60405180830381865afa158015611d17573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d3e9190810190615600565b608001516040516357f80bbf60e01b81526001600160601b03821660048201529091505f906001600160a01b038816906357f80bbf9060240161010060405180830381865afa158015611d93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db791906153f5565b9050611dcc8160c001518260e001518761194e565b909890975095505050505050565b5f80611de5336104d9565b611df086600c6132fd565b611dfb8560156132fd565b611e0684601f6132fd565b611e70886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6991906150d0565b8785611cbe565b600254604051634adcf90960e01b81529294509092506001600160a01b031690634adcf90990611eaa908b9089908990879060040161523d565b5f604051808303815f87803b158015611ec1575f80fd5b505af1158015611ed3573d5f803e3d5ffd5b5050505060045f9054906101000a90046001600160a01b03166001600160a01b031663ea48ce9b896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f5a919061507d565b89856040518463ffffffff1660e01b8152600401611f7a939291906153ba565b6020604051808303815f875af1158015611f96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fba919061507d565b50965096945050505050565b5f805f80516020615ccc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612032573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612056919061585e565b156120e1576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156120b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120db91906150d0565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020615cec83398151915280545f9190600160a01b900460ff1661211e575f6120db565b638fb3603760e01b91505090565b5f80612138600f6135ad565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561217a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219e91906150d0565b6040516357f80bbf60e01b81526001600160601b03851660048201529091505f906001600160a01b038316906357f80bbf9060240161010060405180830381865afa1580156121ef573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221391906153f5565b80516001600160601b038716825260408051631a99b41b60e31b8152905192935090916001600160a01b0386169163d4cda0d89160048083019260209291908290030181865afa158015612269573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061228d91906150d0565b6001600160a01b0316637cd81ef8868460ff6040518463ffffffff1660e01b81526004016122bd93929190615877565b5f604051808303815f87803b1580156122d4575f80fd5b505af11580156122e6573d5f803e3d5ffd5b5050604080516001600160601b03898116825285811660208301528a168183015290517f59c52d680289bf3ed1eaf8c98c2385d021cbc74043dd1ed596d6383f63235ffc9350908190036060019150a1505050505050565b5f80516020615cec833981519152546001600160a01b031690565b61236481601f6132fd565b5f80612370600f6135ad565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b03891660248301529496509194505f93849350169063aa9acb2c9060440160408051808303815f875af11580156123d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f4919061575b565b9150915060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a2846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612457573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061247b91906150d0565b866124868686613950565b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156124cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124f1919061507d565b6040518563ffffffff1660e01b8152600401612510949392919061523d565b5f604051808303815f87803b158015612527575f80fd5b505af1158015612539573d5f803e3d5ffd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561259a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125be919061507d565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a16125f38282613950565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af415801561264a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061266e919061585e565b1561283b575f836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126d491906150d0565b60405163f0ea17c360e01b81526001600160601b03871660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa158015612720573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612747919081019061527a565b905080604001516001600160a01b03166354f0d84c82606001516127736001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038b1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127e491906150d0565b6127ee8787613950565b6040518463ffffffff1660e01b815260040161280c93929190615354565b5f604051808303815f87803b158015612823575f80fd5b505af1158015612835573d5f803e3d5ffd5b50505050505b5050505050565b61284b336104d9565b6128568360156132fd565b60208201515f61286e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa1580156128ba573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128e191908101906154a8565b6020015190505f876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612924573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061294891906150d0565b905060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a282848773__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156129b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129db919061507d565b6040518563ffffffff1660e01b81526004016129fa949392919061523d565b5f604051808303815f87803b158015612a11575f80fd5b505af1158015612a23573d5f803e3d5ffd5b5050505060035f9054906101000a90046001600160a01b03166001600160a01b031663e618053f82858773__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612a94573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ab8919061507d565b6040518563ffffffff1660e01b8152600401612ad7949392919061523d565b5f604051808303815f87803b158015612aee575f80fd5b505af1158015612b00573d5f803e3d5ffd5b5050600254602088015160405163ad328d9f60e01b81526001600160a01b03909216935063ad328d9f9250612b3d918c918b918a9060040161523d565b5f604051808303815f87803b158015612b54575f80fd5b505af1158015612b66573d5f803e3d5ffd5b5050505060045f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bed919061507d565b89876040518463ffffffff1660e01b8152600401612c0d939291906153ba565b6020604051808303815f875af1158015612c29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c4d919061507d565b505050505050505050565b612c638360156132fd565b5f80612c6f600f6135ad565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cb1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cd591906150d0565b90505f612ce184613b09565b60405163bd7d9d8560e01b81526001600160601b03891660048201529091505f906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa158015612d30573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612d579190810190615925565b9050612d66815f015183613649565b15612da2578051604051636083e75360e01b81526001600160601b03808b1660048301529182166024820152908316604482015260640161089f565b604080516001600160601b038a8116825261ffff8a16602083015288168183015290517f6a2b4f9e8a4bb9038617a047352d25c5ac3c64c4aaba95e576b978a91b6666fb9181900360600190a16040516302d764c760e21b81526001600160601b03831660048201526001600160a01b03841690630b5d931c906024015f60405180830381865afa158015612e39573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e609190810190615600565b5115612f5e575f612e796001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015612ec6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eea91906150d0565b6040516370f90b7d60e11b81526001600160601b03808c16600483015261ffff8b166024830152891660448201529091506001600160a01b0382169063e1f216fa906064015f604051808303815f87803b158015612f46575f80fd5b505af1158015612f58573d5f803e3d5ffd5b50505050505b5050505050505050565b612f71336104d9565b612f7c82601f6132fd565b5f612f8f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015612fde573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261300591908101906154a8565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091505f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa15801561305a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261308191908101906154a8565b90505f61308e8483613b99565b90505f6130a48660e00151876101600151613950565b90505f6130bb876101000151886101800151613950565b90505f876060015190505f846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015613102573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061312691906150d0565b60035487519192506001600160a01b03169063d56cd3d590839061314a8688613950565b886040518563ffffffff1660e01b815260040161316a949392919061523d565b5f604051808303815f87803b158015613181575f80fd5b505af1158015613193573d5f803e3d5ffd5b505060035489516040516325e451d360e01b81526001600160a01b0390921693506325e451d392506131ce918591908790899060040161523d565b5f604051808303815f87803b1580156131e5575f80fd5b505af11580156131f7573d5f803e3d5ffd5b5050505050505050505050505050565b5f80516020615cec8339815191525f8061323f61322261233e565b873061323160045f8a8c615ab8565b61323a91615adf565b613c55565b9150915081610f565763ffffffff8116156132da57825460ff60a01b1916600160a01b17835561326d61233e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161329c93929190615b17565b5f604051808303815f87803b1580156132b3575f80fd5b505af11580156132c5573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f569050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161089f565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561335f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613383919061585e565b6104eb5760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161089f565b5f805f80516020615ccc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613420573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613444919061585e565b156134705780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161089f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156134c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134e6919061585e565b61350e5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161089f565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613560573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613584919061507d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f6135b6614614565b5f6135c96001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561360d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613631919061507d565b925061363f83856001613d5d565b9395909450915050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af41580156136aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136ce919061585e565b9392505050565b6101e7613fec565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044015b602060405180830381865af415801561373e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136ce919061507d565b5f80516020615d0c8339815191528054600160401b810460ff1615906001600160401b03165f811580156137935750825b90505f826001600160401b031660011480156137ae5750303b155b9050811580156137bc575080155b156137da5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561380457845460ff60401b1916600160401b1785555b5f808780602001905181019061381a9190615b44565b9150915061382982828b614024565b613833601f614169565b600280546001600160a01b0319166001600160a01b039290921691909117905561385d600b614169565b600380546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b0316630e9ed68b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138dc91906150d0565b600480546001600160a01b0319166001600160a01b039290921691909117905561390c6306bad81760e21b6141fa565b5050831561105157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611048565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401613723565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c9060440161368f565b60405163f0ea17c360e01b81526001600160601b03841660048201525f906001600160a01b0386169063f0ea17c3906024015f60405180830381865afa158015613a30573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613a57919081019061527a565b90505f8160600151905081604001516001600160a01b031663c7d63d578583866040518463ffffffff1660e01b815260040161280c93929190615354565b5f6136ce8383670de0b6b3a7640000614226565b5f80516020615cec83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f613b1c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015613b68573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613b8f91908101906154a8565b6020015192915050565b5f613bb58260400151613baa600c90565b60ff90811691161490565b15613bcf57613bc88383602001516142e2565b9050610c29565b60208201516040516305247a1760e51b81526001600160601b0390911660048201526136ce9084906001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613c25573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613c4c91908101906154a8565b602001516142e2565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613cc39190615b71565b5f60405180830381855afa9150503d805f8114613cfb576040519150601f19603f3d011682016040523d82523d5f602084013e613d00565b606091505b50915091508115613d52576040815110613d325780806020019051810190613d289190615b87565b9094509250613d52565b6020815110613d525780806020019051810190613d4f919061585e565b93505b505094509492505050565b613d65614614565b5f80613d796001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613dc6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613ded91908101906154a8565b925060ff8516600b14613e4b57604083015160ff868116911614613e4657604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff8088166024830152909116604482015260640161089f565b613edc565b613e5b8360400151613baa600c90565b80613e715750613e718360400151613baa600f90565b80613e875750613e878360400151613baa600e90565b80613e9d5750613e9d8360400151613baa600d90565b613edc57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff8088166024830152909116604482015260640161089f565b613ee68184613b99565b91508315613fe357816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613f4e91906150d0565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015613f96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613fba919061585e565b15613fe357604051637d71120960e11b81526001600160601b038716600482015260240161089f565b50935093915050565b5f80516020615d0c83398151915254600160401b900460ff1661402257604051631afcd79f60e31b815260040160405180910390fd5b565b61402c613fec565b614034614353565b6001600160a01b038216156140515761404c82614363565b6140c8565b5f61405c6002614169565b90506140c6816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561409d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140c191906150d0565b614363565b505b61414483846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015614108573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061412c919061507d565b60085f8560405180602001604052805f815250614377565b614154634a531f3360e01b6141fa565b61416463daf9067160e01b6141fa565b505050565b5f61417c6001546001600160a01b031690565b6001600160a01b031663d39e604383614193611bc8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156141d6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2991906150d0565b614202613fec565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f80805f19858709858702925082811083820303915050805f0361425d5783828161425357614253615bb9565b04925050506136ce565b80841161427c57604051629540d960e61b815260040160405180910390fd5b5f84868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203025f889003889004909101858311909403939093029303949094049190911702949350505050565b60405163bf8e179760e01b81526001600160601b03821660048201525f906001600160a01b0384169063bf8e179790602401602060405180830381865afa15801561432f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136ce91906150d0565b61435b613fec565b614022614412565b61436b613fec565b61437481614440565b50565b61437f613fec565b6143898683614451565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301612f5e8382615c11565b61441a613fec565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b614448613fec565b61437481613aa9565b614459613fec565b614462826144c7565b61446a6145cf565b6001600160a01b0381166144915760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020615ccc83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6144cf613fec565b806001600160a01b03163b5f036145045760405163fdeac91f60e01b81526001600160a01b038216600482015260240161089f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa92505050801561457e575060408051601f3d908101601f1916820190925261457b9181019061585e565b60015b6145a65760405163fdeac91f60e01b81526001600160a01b038216600482015260240161089f565b806104eb5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161089f565b6145d7613fec565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215614661575f80fd5b81356001600160e01b0319811681146136ce575f80fd5b6001600160601b0381168114614374575f80fd5b803561469781614678565b919050565b5f80604083850312156146ad575f80fd5b82356146b881614678565b915060208301356146c881614678565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614749608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261478d6101008401826146d3565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b03811182821017156147cc576147cc614795565b60405290565b604080519081016001600160401b03811182821017156147cc576147cc614795565b60405161024081016001600160401b03811182821017156147cc576147cc614795565b60405160c081016001600160401b03811182821017156147cc576147cc614795565b60405160a081016001600160401b03811182821017156147cc576147cc614795565b60405161010081016001600160401b03811182821017156147cc576147cc614795565b60405160e081016001600160401b03811182821017156147cc576147cc614795565b6040516101c081016001600160401b03811182821017156147cc576147cc614795565b604051601f8201601f191681016001600160401b03811182821017156148eb576148eb614795565b604052919050565b5f6001600160401b0382111561490b5761490b614795565b50601f01601f191660200190565b5f82601f830112614928575f80fd5b813561493b614936826148f3565b6148c3565b81815284602083860101111561494f575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6020828403121561497b575f80fd5b81356001600160401b03811115614990575f80fd5b61478d84828501614919565b6001600160a01b0381168114614374575f80fd5b6001600160c01b031981168114614374575f80fd5b8035614697816149b0565b64ffffffffff81168114614374575f80fd5b8035614697816149d0565b61ffff81168114614374575f80fd5b8035614697816149ed565b5f6102008284031215614a18575f80fd5b614a206147a9565b9050614a2b8261468c565b8152614a396020830161468c565b6020820152614a4a604083016149c5565b6040820152614a5b606083016149c5565b6060820152614a6c6080830161468c565b6080820152614a7d60a0830161468c565b60a0820152614a8e60c083016149e2565b60c082015260e08201356001600160401b03811115614aab575f80fd5b614ab784828501614919565b60e0830152506101008201356001600160401b03811115614ad6575f80fd5b614ae284828501614919565b61010083015250614af661012083016149fc565b610120820152614b0961014083016149fc565b610140820152614b1c610160830161468c565b610160820152614b2f610180830161468c565b610180820152614b426101a083016149e2565b6101a0820152614b556101c083016149e2565b6101c0820152614b686101e083016149e2565b6101e082015292915050565b5f805f8060808587031215614b87575f80fd5b8435614b928161499c565b93506020850135614ba28161499c565b92506040850135614bb281614678565b915060608501356001600160401b03811115614bcc575f80fd5b614bd887828801614a07565b91505092959194509250565b5f8060408385031215614bf5575f80fd5b8235614c008161499c565b915060208301356001600160401b03811115614c1a575f80fd5b614c2685828601614919565b9150509250929050565b5f805f805f85870360a0811215614c45575f80fd5b8635614c508161499c565b95506040601f1982011215614c63575f80fd5b50614c6c6147d2565b602087810135825260408801359082015293506060860135614c8d816149d0565b925060808601356001600160401b03811115614ca7575f80fd5b8601601f81018813614cb7575f80fd5b80356001600160401b03811115614ccc575f80fd5b886020828401011115614cdd575f80fd5b959894975092955050506020019190565b5f805f60608486031215614d00575f80fd5b83359250602084013591506040840135614d1981614678565b809150509250925092565b5f60208284031215614d34575f80fd5b81356136ce8161499c565b5f805f60608486031215614d51575f80fd5b8335614d5c8161499c565b92506020840135614d6c81614678565b91506040840135614d1981614678565b5f805f805f8060c08789031215614d91575f80fd5b8635614d9c8161499c565b95506020870135614dac8161499c565b94506040870135614dbc81614678565b93506060870135614dcc81614678565b92506080870135614ddc81614678565b915060a0870135614dec81614678565b809150509295509295509295565b5f60208284031215614e0a575f80fd5b81356136ce81614678565b5f805f805f60a08688031215614e29575f80fd5b8535614e348161499c565b94506020860135614e448161499c565b93506040860135614e5481614678565b925060608601356001600160401b03811115614e6e575f80fd5b614e7a88828901614a07565b9250506080860135614e8b81614678565b809150509295509295909350565b5f805f60608486031215614eab575f80fd5b8335614eb681614678565b92506020840135614d6c816149ed565b5f80828403610260811215614ed9575f80fd5b8335614ee481614678565b9250610240601f1982011215614ef8575f80fd5b50614f016147f4565b614f0d6020850161468c565b8152614f1b6040850161468c565b6020820152614f2c6060850161468c565b6040820152614f3d6080850161468c565b6060820152614f4e60a0850161468c565b6080820152614f5f60c0850161468c565b60a0820152614f7060e0850161468c565b60c0820152614f82610100850161468c565b60e0820152614f94610120850161468c565b610100820152614fa7610140850161468c565b610120820152614fba610160850161468c565b610140820152614fcd610180850161468c565b610160820152614fe06101a0850161468c565b610180820152614ff36101c0850161468c565b6101a08201526150066101e0850161468c565b6101c0820152615019610200850161468c565b6101e082015261502c610220850161468c565b61020082015261503f610240850161468c565b610220820152809150509250929050565b5f60208284031215615060575f80fd5b815162ffffff811681146136ce575f80fd5b805161469781614678565b5f6020828403121561508d575f80fd5b81516136ce81614678565b600181811c908216806150ac57607f821691505b6020821081036150ca57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156150e0575f80fd5b81516136ce8161499c565b5f604082840312156150fb575f80fd5b6151036147d2565b825181526020928301519281019290925250919050565b5f615127614936846148f3565b905082815283838301111561513a575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f83011261515f575f80fd5b6136ce8383516020850161511a565b8051614697816149d0565b5f60208284031215615189575f80fd5b81516001600160401b0381111561519e575f80fd5b820160e081850312156151af575f80fd5b6151b7614817565b81516151c281614678565b81526151d185602084016150eb565b602082015260608201516001600160401b038111156151ee575f80fd5b6151fa86828501615150565b604083015250608082015161520e816149d0565b606082015261521f60a0830161516e565b608082015261523060c0830161516e565b60a0820152949350505050565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b80516146978161499c565b5f6020828403121561528a575f80fd5b81516001600160401b0381111561529f575f80fd5b820160a081850312156152b0575f80fd5b6152b8614839565b81516001600160401b038111156152cd575f80fd5b8201601f810186136152dd575f80fd5b6152ec8682516020840161511a565b8252506152fb6020830161526f565b602082015261530c6040830161526f565b604082015261531d6060830161526f565b606082015260808201516001600160401b0381111561533a575f80fd5b61534686828501615150565b608083015250949350505050565b6001600160a01b0393841681529190921660208201526001600160601b03909116604082015260600190565b6001600160401b0381168114614374575f80fd5b805161469781615380565b5f602082840312156153af575f80fd5b81516136ce81615380565b6001600160601b0393841681526001600160a01b03929092166020830152909116604082015260600190565b80518015158114614697575f80fd5b5f610100828403128015615407575f80fd5b5061541061485b565b825161541b81614678565b815261542960208401615394565b602082015261543a604084016153e6565b604082015261544b606084016153e6565b606082015261545c608084016153e6565b608082015261546d60a084016153e6565b60a082015260c0838101519082015260e0928301519281019290925250919050565b60ff81168114614374575f80fd5b80516146978161548f565b5f602082840312156154b8575f80fd5b81516001600160401b038111156154cd575f80fd5b820160e081850312156154de575f80fd5b6154e661487e565b6154ef82615072565b81526154fd60208301615072565b602082015261550e6040830161549d565b604082015261551f606083016153e6565b60608201526155306080830161526f565b608082015261554160a0830161526f565b60a082015260c08201516001600160401b0381111561555e575f80fd5b61556a86828501615150565b60c083015250949350505050565b5f82601f830112615587575f80fd5b81516001600160401b038111156155a0576155a0614795565b8060051b6155b0602082016148c3565b918252602081850181019290810190868411156155cb575f80fd5b6020860192505b838310156155f65782516155e581614678565b8252602092830192909101906155d2565b9695505050505050565b5f60208284031215615610575f80fd5b81516001600160401b03811115615625575f80fd5b82016102a08185031215615637575f80fd5b61563f6148a0565b615648826153e6565b8152615656602083016153e6565b60208201526156676040830161549d565b60408201526156786060830161549d565b606082015261568960808301615072565b608082015261569a60a08301615072565b60a082015260c08201516001600160401b038111156156b7575f80fd5b6156c386828501615578565b60c0830152506156d68560e084016150eb565b60e08201526156e98561012084016150eb565b6101008201526156fd8561016084016150eb565b610120820152615711856101a084016150eb565b610140820152615725856101e084016150eb565b6101608201526157398561022084016150eb565b61018082015261574d8561026084016150eb565b6101a0820152949350505050565b5f806040838503121561576c575f80fd5b825161577781614678565b60208401519092506146c881614678565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682526001600160601b0389166020830152871660408201526157ea606082018780518252602090810151910152565b6001600160601b03851660a082015264ffffffffff841660c082015261010060e08201525f61581e61010083018486615788565b9a9950505050505050505050565b5f6020828403121561583c575f80fd5b5051919050565b5f60208284031215615853575f80fd5b81516136ce8161548f565b5f6020828403121561586e575f80fd5b6136ce826153e6565b5f610140820190506001600160601b03851682526001600160601b0384511660208301526001600160401b03602085015116604083015260408401511515606083015260608401516158cd608084018215159052565b50608084015180151560a08401525060a084015180151560c08401525060c084015160e083015260e084015161010083015261478d61012083018460ff169052565b8051614697816149b0565b8051614697816149ed565b5f60208284031215615935575f80fd5b81516001600160401b0381111561594a575f80fd5b8201610200818503121561595c575f80fd5b6159646147a9565b61596d82615072565b815261597b60208301615072565b602082015261598c6040830161590f565b604082015261599d6060830161590f565b60608201526159ae60808301615072565b60808201526159bf60a08301615072565b60a08201526159d060c0830161516e565b60c082015260e08201516001600160401b038111156159ed575f80fd5b6159f986828501615150565b60e0830152506101008201516001600160401b03811115615a18575f80fd5b615a2486828501615150565b61010083015250615a38610120830161591a565b610120820152615a4b610140830161591a565b610140820152615a5e6101608301615072565b610160820152615a716101808301615072565b610180820152615a846101a0830161516e565b6101a0820152615a976101c0830161516e565b6101c0820152615aaa6101e0830161516e565b6101e0820152949350505050565b5f8085851115615ac6575f80fd5b83861115615ad2575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015615b10576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190525f90615b3b9083018486615788565b95945050505050565b5f8060408385031215615b55575f80fd5b8251615b608161499c565b60208401519092506146c88161499c565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615b98575f80fd5b615ba1836153e6565b9150602083015163ffffffff811681146146c8575f80fd5b634e487b7160e01b5f52601260045260245ffd5b601f82111561416457805f5260205f20601f840160051c81016020851015615bf25750805b601f840160051c820191505b8181101561283b575f8155600101615bfe565b81516001600160401b03811115615c2a57615c2a614795565b615c3e81615c388454615098565b84615bcd565b6020601f821160018114615c70575f8315615c595750848201515b5f19600385901b1c1916600184901b17845561283b565b5f84815260208120601f198516915b82811015615c9f5787850151825560209485019460019092019101615c7f565b5084821015615cbc57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220972f6b3e39d9ad6e23eac13fab730bd4f748b94ad7a45828bda72202aab0b3c464736f6c634300081a0033",
1384
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101e7575f3560e01c806376b707b711610109578063b68d18091161009e578063d0d63b091161006e578063d0d63b0914610488578063db02f7d31461049b578063e1f216fa146104ae578063fb3bcd1f146104c1575f80fd5b8063b68d180914610466578063bca99e391461046d578063bf7e214f14610480578063ca510bf61461022c575f80fd5b80638899278a116100d95780638899278a14610421578063893d20e8146104295780638fb3603714610431578063ada9652e14610452575f80fd5b806376b707b7146103ce5780637a9e5e4b146103e857806384a710fa146103fb57806384d1f7cf1461040e575f80fd5b806332f9f3df1161017f5780636c1e9dff1161014f5780636c1e9dff146103555780636c741e781461036857806371504a32146103885780637225ed011461039b575f80fd5b806332f9f3df146102ed57806349bb9e4b146103005780635ab1bd5314610313578063644c45e014610338575f80fd5b8063138461e0116101ba578063138461e0146102725780631eff4b221461029257806326889b09146102c7578063329d6e74146102da575f80fd5b806301ffc9a7146101eb578063066257831461022c5780630d8e6e2c146102415780630fec111c1461025d575b5f80fd5b6102176101f9366004614651565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a36600461469c565b6104d4565b005b6102496104ef565b60405162ffffff9091168152602001610223565b610265610576565b6040516102239190614701565b61027a610702565b6040516001600160601b039091168152602001610223565b6102b97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61027a6102d536600461469c565b61070c565b61023f6102e836600461496b565b610c2f565b61023f6102fb366004614b74565b610d79565b61023f61030e366004614be4565b610f5e565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b5f80516020615ccc833981519152546001600160601b031661027a565b61027a61036336600461469c565b61105a565b6103706116ff565b6040516001600160401b039091168152602001610223565b61027a610396366004614c30565b61178b565b6103ae6103a9366004614cee565b61194e565b604080516001600160601b03938416815292909116602083015201610223565b6103d6611bc8565b60405160ff9091168152602001610223565b61023f6103f6366004614d24565b611c3c565b6103ae610409366004614d3f565b611cbe565b6103ae61041c366004614d7c565b611dda565b6102b9600381565b610320611fc6565b6104396120f7565b6040516001600160e01b03199091168152602001610223565b6102b95f80516020615ccc83398151915281565b600f6103d6565b61023f61047b366004614dfa565b61212c565b61032061233e565b61023f610496366004614dfa565b612359565b61023f6104a9366004614e15565b612842565b61023f6104bc366004614e99565b612c58565b61023f6104cf366004614ec6565b612f68565b6104e0335b5f36613207565b6104eb82600f6132fd565b5050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561054d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105719190615050565b905090565b61057e614614565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610618919061507d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610660611fc6565b6001600160a01b0316815260200182600101805461067d90615098565b80601f01602080910402602001604051908101604052809291908181526020018280546106a990615098565b80156106f45780601f106106cb576101008083540402835291602001916106f4565b820191905f5260205f20905b8154815290600101906020018083116106d757829003601f168201915b505050505081525091505090565b5f610571306133b4565b5f61071883601f6132fd565b5f80610724600f6135ad565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610766573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061078a91906150d0565b90505f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ed91906150d0565b604051634793b4ab60e01b81526001600160601b03891660048201529091505f906001600160a01b03841690634793b4ab906024015f60405180830381865afa15801561083c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526108639190810190615179565b9050610872815f015186613649565b156108a857604051630a49ea2360e01b81526001600160601b03808a166004830152861660248201526044015b60405180910390fd5b600254604051631696791160e11b81526001600160a01b0386811660048301526001600160601b03808c1660248401528a1660448301525f921690632d2cf222906064016020604051808303815f875af1158015610908573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092c919061507d565b905060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a284888473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561099b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109bf919061507d565b6040518563ffffffff1660e01b81526004016109de949392919061523d565b5f604051808303815f87803b1580156109f5575f80fd5b505af1158015610a07573d5f803e3d5ffd5b505060405163f0ea17c360e01b81526001600160601b03891660048201525f92506001600160a01b038716915063f0ea17c3906024015f60405180830381865afa158015610a57573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a7e919081019061527a565b90505f610a936001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038d1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ae0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0491906150d0565b90507fa9e4ee5628423184bfcde002aae428406aeac6b337e1acf560282b155e358527876001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b87919061507d565b604080516001600160601b0392831681528b831660208201528e8316818301529186166060830152519081900360800190a181604001516001600160a01b03166354f0d84c836060015183866040518463ffffffff1660e01b8152600401610bf193929190615354565b5f604051808303815f87803b158015610c08575f80fd5b505af1158015610c1a573d5f803e3d5ffd5b50949a50505050505050505050505b92915050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610c516104ef565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cb3919061539f565b5f80516020615d0c8339815191528054600160401b900460ff1680610ce5575080546001600160401b03808416911610155b15610d035760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d2d836136d5565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610d82336104d9565b610d8d8260156132fd565b5f610da182608001518361016001516136dd565b600254602084015160405163ad328d9f60e01b81529293506001600160a01b039091169163ad328d9f91610ddd9189918891879060040161523d565b5f604051808303815f87803b158015610df4575f80fd5b505af1158015610e06573d5f803e3d5ffd5b50506002546040516301d90a6f60e61b81526001600160a01b0389811660048301526001600160601b038816602483015290911692506376429bc091506044015f604051808303815f87803b158015610e5d575f80fd5b505af1158015610e6f573d5f803e3d5ffd5b5050505060045f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ed2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef6919061507d565b86846040518463ffffffff1660e01b8152600401610f16939291906153ba565b6020604051808303815f875af1158015610f32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f56919061507d565b505050505050565b5f80516020615d0c8339815191528054600160401b810460ff1615906001600160401b03165f81158015610f8f5750825b90505f826001600160401b03166001148015610faa5750303b155b905081158015610fb8575080155b15610fd65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561100057845460ff60401b1916600160401b1785555b61100a8787613762565b831561105157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f61106683601f6132fd565b5f80611072600f6135ad565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d891906150d0565b604051634793b4ab60e01b81526001600160601b03881660048201529091505f906001600160a01b03831690634793b4ab906024015f60405180830381865afa158015611127573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261114e9190810190615179565b6040516357f80bbf60e01b81526001600160601b03861660048201529091505f906001600160a01b038416906357f80bbf9060240161010060405180830381865afa15801561119f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c391906153f5565b90506111d2825f015186613649565b1561120357604051630a49ea2360e01b81526001600160601b03808a1660048301528616602482015260440161089f565b6040516308a390bb60e21b81526001600160601b03861660048201525f906001600160a01b0385169063228e42ec90602401602060405180830381865afa158015611250573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611274919061507d565b905061128a611283828a613950565b835161399a565b156112ce57815160405163b806175d60e01b81526001600160601b03808916600483015291821660248201528183166044820152908916606482015260840161089f565b505f6112e26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091505f9081906001600160a01b0384169063a48f42e0906024015f60405180830381865afa158015611333573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261135a91908101906154a8565b602001516040516302d764c760e21b81526001600160601b03821660048201529091505f906001600160a01b03881690630b5d931c906024015f60405180830381865afa1580156113ad573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113d49190810190615600565b6101800151604051634f69237560e11b815281516004820152602082015160248201526001600160601b038d16604482015290915073__$58e11c6004c5796aaa8c56e718245e69a2$__90639ed246ea906064016040805180830381865af4158015611442573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611466919061575b565b60035460408051631a99b41b60e31b81529051929d509295506001600160a01b03908116945063d56cd3d593508a169163d4cda0d89160048083019260209291908290030181865afa1580156114be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114e291906150d0565b898b856040518563ffffffff1660e01b8152600401611504949392919061523d565b5f604051808303815f87803b15801561151b575f80fd5b505af115801561152d573d5f803e3d5ffd5b50506002546040516325fa796b60e01b81526001600160a01b0390911692506325fa796b915061158a9089908e908d906004016001600160a01b039390931683526001600160601b03918216602084015216604082015260600190565b5f604051808303815f87803b1580156115a1575f80fd5b505af11580156115b3573d5f803e3d5ffd5b5050604051631c5da14d60e11b81526001600160601b038d1660048201525f92506001600160a01b03851691506338bb429a90602401602060405180830381865afa158015611604573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061162891906150d0565b90507fa397b0d38fe748a8c29cce53eab5736ef0c29c156e7a9586ae8b88a8557b4145876001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611687573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ab919061507d565b604080516001600160601b0392831681528b831660208201528e8316818301528d83166060820152918c166080830152519081900360a00190a16116f18689838d6139e4565b505050505050505092915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600f611724611bc8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611767573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610571919061539f565b5f8080611798600f6135ad565b925050915060025f9054906101000a90046001600160a01b03166001600160a01b031663e283b4a982848b8b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561180b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061182f919061507d565b8c8c8c6040518963ffffffff1660e01b81526004016118559897969594939291906157b0565b6020604051808303815f875af1158015611871573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611895919061507d565b92507f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611918919061507d565b604080516001600160601b03928316815282861660208201529186169082015260600160405180910390a1505095945050505050565b6040516355205f0f60e01b81526001600160601b03821660048201525f90819081906119d990879073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af41580156119b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d4919061582c565b613a95565b604051632255341b60e11b81526004810182905290915073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd969073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611a46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a6a919061582c565b6040518263ffffffff1660e01b8152600401611a8891815260200190565b602060405180830381865af4158015611aa3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac7919061507d565b925073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96611aed8784613a95565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611b3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b60919061582c565b6040518263ffffffff1660e01b8152600401611b7e91815260200190565b602060405180830381865af4158015611b99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bbd919061507d565b915050935093915050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611c18573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105719190615843565b33611c4561233e565b6001600160a01b0316816001600160a01b031614611c805760405162d1953b60e31b81526001600160a01b038216600482015260240161089f565b816001600160a01b03163b5f03611cb5576040516361798f2f60e11b81526001600160a01b038316600482015260240161089f565b6104eb82613aa9565b5f80611ccb84600c6132fd565b6040516302d764c760e21b81526001600160601b03851660048201525f906001600160a01b03871690630b5d931c906024015f60405180830381865afa158015611d17573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d3e9190810190615600565b608001516040516357f80bbf60e01b81526001600160601b03821660048201529091505f906001600160a01b038816906357f80bbf9060240161010060405180830381865afa158015611d93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db791906153f5565b9050611dcc8160c001518260e001518761194e565b909890975095505050505050565b5f80611de5336104d9565b611df086600c6132fd565b611dfb8560156132fd565b611e0684601f6132fd565b611e70886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6991906150d0565b8785611cbe565b600254604051634adcf90960e01b81529294509092506001600160a01b031690634adcf90990611eaa908b9089908990879060040161523d565b5f604051808303815f87803b158015611ec1575f80fd5b505af1158015611ed3573d5f803e3d5ffd5b5050505060045f9054906101000a90046001600160a01b03166001600160a01b031663ea48ce9b896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f5a919061507d565b89856040518463ffffffff1660e01b8152600401611f7a939291906153ba565b6020604051808303815f875af1158015611f96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fba919061507d565b50965096945050505050565b5f805f80516020615ccc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612032573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612056919061585e565b156120e1576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156120b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120db91906150d0565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020615cec83398151915280545f9190600160a01b900460ff1661211e575f6120db565b638fb3603760e01b91505090565b5f80612138600f6135ad565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561217a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219e91906150d0565b6040516357f80bbf60e01b81526001600160601b03851660048201529091505f906001600160a01b038316906357f80bbf9060240161010060405180830381865afa1580156121ef573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221391906153f5565b80516001600160601b038716825260408051631a99b41b60e31b8152905192935090916001600160a01b0386169163d4cda0d89160048083019260209291908290030181865afa158015612269573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061228d91906150d0565b6001600160a01b0316637cd81ef8868460ff6040518463ffffffff1660e01b81526004016122bd93929190615877565b5f604051808303815f87803b1580156122d4575f80fd5b505af11580156122e6573d5f803e3d5ffd5b5050604080516001600160601b03898116825285811660208301528a168183015290517f59c52d680289bf3ed1eaf8c98c2385d021cbc74043dd1ed596d6383f63235ffc9350908190036060019150a1505050505050565b5f80516020615cec833981519152546001600160a01b031690565b61236481601f6132fd565b5f80612370600f6135ad565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b03891660248301529496509194505f93849350169063aa9acb2c9060440160408051808303815f875af11580156123d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f4919061575b565b9150915060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a2846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612457573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061247b91906150d0565b866124868686613950565b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156124cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124f1919061507d565b6040518563ffffffff1660e01b8152600401612510949392919061523d565b5f604051808303815f87803b158015612527575f80fd5b505af1158015612539573d5f803e3d5ffd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561259a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125be919061507d565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a16125f38282613950565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af415801561264a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061266e919061585e565b1561283b575f836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126d491906150d0565b60405163f0ea17c360e01b81526001600160601b03871660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa158015612720573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612747919081019061527a565b905080604001516001600160a01b03166354f0d84c82606001516127736001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038b1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127e491906150d0565b6127ee8787613950565b6040518463ffffffff1660e01b815260040161280c93929190615354565b5f604051808303815f87803b158015612823575f80fd5b505af1158015612835573d5f803e3d5ffd5b50505050505b5050505050565b61284b336104d9565b6128568360156132fd565b60208201515f61286e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa1580156128ba573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128e191908101906154a8565b6020015190505f876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612924573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061294891906150d0565b905060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a282848773__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156129b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129db919061507d565b6040518563ffffffff1660e01b81526004016129fa949392919061523d565b5f604051808303815f87803b158015612a11575f80fd5b505af1158015612a23573d5f803e3d5ffd5b5050505060035f9054906101000a90046001600160a01b03166001600160a01b031663e618053f82858773__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612a94573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ab8919061507d565b6040518563ffffffff1660e01b8152600401612ad7949392919061523d565b5f604051808303815f87803b158015612aee575f80fd5b505af1158015612b00573d5f803e3d5ffd5b5050600254602088015160405163ad328d9f60e01b81526001600160a01b03909216935063ad328d9f9250612b3d918c918b918a9060040161523d565b5f604051808303815f87803b158015612b54575f80fd5b505af1158015612b66573d5f803e3d5ffd5b5050505060045f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bed919061507d565b89876040518463ffffffff1660e01b8152600401612c0d939291906153ba565b6020604051808303815f875af1158015612c29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c4d919061507d565b505050505050505050565b612c638360156132fd565b5f80612c6f600f6135ad565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cb1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cd591906150d0565b90505f612ce184613b09565b60405163bd7d9d8560e01b81526001600160601b03891660048201529091505f906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa158015612d30573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612d579190810190615925565b9050612d66815f015183613649565b15612da2578051604051636083e75360e01b81526001600160601b03808b1660048301529182166024820152908316604482015260640161089f565b604080516001600160601b038a8116825261ffff8a16602083015288168183015290517f6a2b4f9e8a4bb9038617a047352d25c5ac3c64c4aaba95e576b978a91b6666fb9181900360600190a16040516302d764c760e21b81526001600160601b03831660048201526001600160a01b03841690630b5d931c906024015f60405180830381865afa158015612e39573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e609190810190615600565b5115612f5e575f612e796001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015612ec6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eea91906150d0565b6040516370f90b7d60e11b81526001600160601b03808c16600483015261ffff8b166024830152891660448201529091506001600160a01b0382169063e1f216fa906064015f604051808303815f87803b158015612f46575f80fd5b505af1158015612f58573d5f803e3d5ffd5b50505050505b5050505050505050565b612f71336104d9565b612f7c82601f6132fd565b5f612f8f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015612fde573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261300591908101906154a8565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091505f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa15801561305a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261308191908101906154a8565b90505f61308e8483613b99565b90505f6130a48660e00151876101600151613950565b90505f6130bb876101000151886101800151613950565b90505f876060015190505f846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015613102573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061312691906150d0565b60035487519192506001600160a01b03169063d56cd3d590839061314a8688613950565b886040518563ffffffff1660e01b815260040161316a949392919061523d565b5f604051808303815f87803b158015613181575f80fd5b505af1158015613193573d5f803e3d5ffd5b505060035489516040516325e451d360e01b81526001600160a01b0390921693506325e451d392506131ce918591908790899060040161523d565b5f604051808303815f87803b1580156131e5575f80fd5b505af11580156131f7573d5f803e3d5ffd5b5050505050505050505050505050565b5f80516020615cec8339815191525f8061323f61322261233e565b873061323160045f8a8c615ab8565b61323a91615adf565b613c55565b9150915081610f565763ffffffff8116156132da57825460ff60a01b1916600160a01b17835561326d61233e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161329c93929190615b17565b5f604051808303815f87803b1580156132b3575f80fd5b505af11580156132c5573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f569050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161089f565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561335f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613383919061585e565b6104eb5760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161089f565b5f805f80516020615ccc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613420573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613444919061585e565b156134705780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161089f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156134c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134e6919061585e565b61350e5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161089f565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613560573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613584919061507d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f6135b6614614565b5f6135c96001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561360d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613631919061507d565b925061363f83856001613d5d565b9395909450915050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af41580156136aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136ce919061585e565b9392505050565b6101e7613fec565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044015b602060405180830381865af415801561373e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136ce919061507d565b5f80516020615d0c8339815191528054600160401b810460ff1615906001600160401b03165f811580156137935750825b90505f826001600160401b031660011480156137ae5750303b155b9050811580156137bc575080155b156137da5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561380457845460ff60401b1916600160401b1785555b5f808780602001905181019061381a9190615b44565b9150915061382982828b614024565b613833601f614169565b600280546001600160a01b0319166001600160a01b039290921691909117905561385d600b614169565b600380546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b0316630e9ed68b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138dc91906150d0565b600480546001600160a01b0319166001600160a01b039290921691909117905561390c6306bad81760e21b6141fa565b5050831561105157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611048565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401613723565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c9060440161368f565b60405163f0ea17c360e01b81526001600160601b03841660048201525f906001600160a01b0386169063f0ea17c3906024015f60405180830381865afa158015613a30573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613a57919081019061527a565b90505f8160600151905081604001516001600160a01b031663c7d63d578583866040518463ffffffff1660e01b815260040161280c93929190615354565b5f6136ce8383670de0b6b3a7640000614226565b5f80516020615cec83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f613b1c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015613b68573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613b8f91908101906154a8565b6020015192915050565b5f613bb58260400151613baa600c90565b60ff90811691161490565b15613bcf57613bc88383602001516142e2565b9050610c29565b60208201516040516305247a1760e51b81526001600160601b0390911660048201526136ce9084906001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613c25573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613c4c91908101906154a8565b602001516142e2565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613cc39190615b71565b5f60405180830381855afa9150503d805f8114613cfb576040519150601f19603f3d011682016040523d82523d5f602084013e613d00565b606091505b50915091508115613d52576040815110613d325780806020019051810190613d289190615b87565b9094509250613d52565b6020815110613d525780806020019051810190613d4f919061585e565b93505b505094509492505050565b613d65614614565b5f80613d796001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613dc6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613ded91908101906154a8565b925060ff8516600b14613e4b57604083015160ff868116911614613e4657604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff8088166024830152909116604482015260640161089f565b613edc565b613e5b8360400151613baa600c90565b80613e715750613e718360400151613baa600f90565b80613e875750613e878360400151613baa600e90565b80613e9d5750613e9d8360400151613baa600d90565b613edc57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff8088166024830152909116604482015260640161089f565b613ee68184613b99565b91508315613fe357816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613f4e91906150d0565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015613f96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613fba919061585e565b15613fe357604051637d71120960e11b81526001600160601b038716600482015260240161089f565b50935093915050565b5f80516020615d0c83398151915254600160401b900460ff1661402257604051631afcd79f60e31b815260040160405180910390fd5b565b61402c613fec565b614034614353565b6001600160a01b038216156140515761404c82614363565b6140c8565b5f61405c6002614169565b90506140c6816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561409d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140c191906150d0565b614363565b505b61414483846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015614108573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061412c919061507d565b60085f8560405180602001604052805f815250614377565b614154634a531f3360e01b6141fa565b61416463daf9067160e01b6141fa565b505050565b5f61417c6001546001600160a01b031690565b6001600160a01b031663d39e604383614193611bc8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156141d6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2991906150d0565b614202613fec565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f80805f19858709858702925082811083820303915050805f0361425d5783828161425357614253615bb9565b04925050506136ce565b80841161427c57604051629540d960e61b815260040160405180910390fd5b5f84868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203025f889003889004909101858311909403939093029303949094049190911702949350505050565b60405163bf8e179760e01b81526001600160601b03821660048201525f906001600160a01b0384169063bf8e179790602401602060405180830381865afa15801561432f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136ce91906150d0565b61435b613fec565b614022614412565b61436b613fec565b61437481614440565b50565b61437f613fec565b6143898683614451565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301612f5e8382615c11565b61441a613fec565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b614448613fec565b61437481613aa9565b614459613fec565b614462826144c7565b61446a6145cf565b6001600160a01b0381166144915760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020615ccc83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6144cf613fec565b806001600160a01b03163b5f036145045760405163fdeac91f60e01b81526001600160a01b038216600482015260240161089f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa92505050801561457e575060408051601f3d908101601f1916820190925261457b9181019061585e565b60015b6145a65760405163fdeac91f60e01b81526001600160a01b038216600482015260240161089f565b806104eb5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161089f565b6145d7613fec565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215614661575f80fd5b81356001600160e01b0319811681146136ce575f80fd5b6001600160601b0381168114614374575f80fd5b803561469781614678565b919050565b5f80604083850312156146ad575f80fd5b82356146b881614678565b915060208301356146c881614678565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614749608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261478d6101008401826146d3565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b03811182821017156147cc576147cc614795565b60405290565b604080519081016001600160401b03811182821017156147cc576147cc614795565b60405161024081016001600160401b03811182821017156147cc576147cc614795565b60405160c081016001600160401b03811182821017156147cc576147cc614795565b60405160a081016001600160401b03811182821017156147cc576147cc614795565b60405161010081016001600160401b03811182821017156147cc576147cc614795565b60405160e081016001600160401b03811182821017156147cc576147cc614795565b6040516101c081016001600160401b03811182821017156147cc576147cc614795565b604051601f8201601f191681016001600160401b03811182821017156148eb576148eb614795565b604052919050565b5f6001600160401b0382111561490b5761490b614795565b50601f01601f191660200190565b5f82601f830112614928575f80fd5b813561493b614936826148f3565b6148c3565b81815284602083860101111561494f575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6020828403121561497b575f80fd5b81356001600160401b03811115614990575f80fd5b61478d84828501614919565b6001600160a01b0381168114614374575f80fd5b6001600160c01b031981168114614374575f80fd5b8035614697816149b0565b64ffffffffff81168114614374575f80fd5b8035614697816149d0565b61ffff81168114614374575f80fd5b8035614697816149ed565b5f6102008284031215614a18575f80fd5b614a206147a9565b9050614a2b8261468c565b8152614a396020830161468c565b6020820152614a4a604083016149c5565b6040820152614a5b606083016149c5565b6060820152614a6c6080830161468c565b6080820152614a7d60a0830161468c565b60a0820152614a8e60c083016149e2565b60c082015260e08201356001600160401b03811115614aab575f80fd5b614ab784828501614919565b60e0830152506101008201356001600160401b03811115614ad6575f80fd5b614ae284828501614919565b61010083015250614af661012083016149fc565b610120820152614b0961014083016149fc565b610140820152614b1c610160830161468c565b610160820152614b2f610180830161468c565b610180820152614b426101a083016149e2565b6101a0820152614b556101c083016149e2565b6101c0820152614b686101e083016149e2565b6101e082015292915050565b5f805f8060808587031215614b87575f80fd5b8435614b928161499c565b93506020850135614ba28161499c565b92506040850135614bb281614678565b915060608501356001600160401b03811115614bcc575f80fd5b614bd887828801614a07565b91505092959194509250565b5f8060408385031215614bf5575f80fd5b8235614c008161499c565b915060208301356001600160401b03811115614c1a575f80fd5b614c2685828601614919565b9150509250929050565b5f805f805f85870360a0811215614c45575f80fd5b8635614c508161499c565b95506040601f1982011215614c63575f80fd5b50614c6c6147d2565b602087810135825260408801359082015293506060860135614c8d816149d0565b925060808601356001600160401b03811115614ca7575f80fd5b8601601f81018813614cb7575f80fd5b80356001600160401b03811115614ccc575f80fd5b886020828401011115614cdd575f80fd5b959894975092955050506020019190565b5f805f60608486031215614d00575f80fd5b83359250602084013591506040840135614d1981614678565b809150509250925092565b5f60208284031215614d34575f80fd5b81356136ce8161499c565b5f805f60608486031215614d51575f80fd5b8335614d5c8161499c565b92506020840135614d6c81614678565b91506040840135614d1981614678565b5f805f805f8060c08789031215614d91575f80fd5b8635614d9c8161499c565b95506020870135614dac8161499c565b94506040870135614dbc81614678565b93506060870135614dcc81614678565b92506080870135614ddc81614678565b915060a0870135614dec81614678565b809150509295509295509295565b5f60208284031215614e0a575f80fd5b81356136ce81614678565b5f805f805f60a08688031215614e29575f80fd5b8535614e348161499c565b94506020860135614e448161499c565b93506040860135614e5481614678565b925060608601356001600160401b03811115614e6e575f80fd5b614e7a88828901614a07565b9250506080860135614e8b81614678565b809150509295509295909350565b5f805f60608486031215614eab575f80fd5b8335614eb681614678565b92506020840135614d6c816149ed565b5f80828403610260811215614ed9575f80fd5b8335614ee481614678565b9250610240601f1982011215614ef8575f80fd5b50614f016147f4565b614f0d6020850161468c565b8152614f1b6040850161468c565b6020820152614f2c6060850161468c565b6040820152614f3d6080850161468c565b6060820152614f4e60a0850161468c565b6080820152614f5f60c0850161468c565b60a0820152614f7060e0850161468c565b60c0820152614f82610100850161468c565b60e0820152614f94610120850161468c565b610100820152614fa7610140850161468c565b610120820152614fba610160850161468c565b610140820152614fcd610180850161468c565b610160820152614fe06101a0850161468c565b610180820152614ff36101c0850161468c565b6101a08201526150066101e0850161468c565b6101c0820152615019610200850161468c565b6101e082015261502c610220850161468c565b61020082015261503f610240850161468c565b610220820152809150509250929050565b5f60208284031215615060575f80fd5b815162ffffff811681146136ce575f80fd5b805161469781614678565b5f6020828403121561508d575f80fd5b81516136ce81614678565b600181811c908216806150ac57607f821691505b6020821081036150ca57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156150e0575f80fd5b81516136ce8161499c565b5f604082840312156150fb575f80fd5b6151036147d2565b825181526020928301519281019290925250919050565b5f615127614936846148f3565b905082815283838301111561513a575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f83011261515f575f80fd5b6136ce8383516020850161511a565b8051614697816149d0565b5f60208284031215615189575f80fd5b81516001600160401b0381111561519e575f80fd5b820160e081850312156151af575f80fd5b6151b7614817565b81516151c281614678565b81526151d185602084016150eb565b602082015260608201516001600160401b038111156151ee575f80fd5b6151fa86828501615150565b604083015250608082015161520e816149d0565b606082015261521f60a0830161516e565b608082015261523060c0830161516e565b60a0820152949350505050565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b80516146978161499c565b5f6020828403121561528a575f80fd5b81516001600160401b0381111561529f575f80fd5b820160a081850312156152b0575f80fd5b6152b8614839565b81516001600160401b038111156152cd575f80fd5b8201601f810186136152dd575f80fd5b6152ec8682516020840161511a565b8252506152fb6020830161526f565b602082015261530c6040830161526f565b604082015261531d6060830161526f565b606082015260808201516001600160401b0381111561533a575f80fd5b61534686828501615150565b608083015250949350505050565b6001600160a01b0393841681529190921660208201526001600160601b03909116604082015260600190565b6001600160401b0381168114614374575f80fd5b805161469781615380565b5f602082840312156153af575f80fd5b81516136ce81615380565b6001600160601b0393841681526001600160a01b03929092166020830152909116604082015260600190565b80518015158114614697575f80fd5b5f610100828403128015615407575f80fd5b5061541061485b565b825161541b81614678565b815261542960208401615394565b602082015261543a604084016153e6565b604082015261544b606084016153e6565b606082015261545c608084016153e6565b608082015261546d60a084016153e6565b60a082015260c0838101519082015260e0928301519281019290925250919050565b60ff81168114614374575f80fd5b80516146978161548f565b5f602082840312156154b8575f80fd5b81516001600160401b038111156154cd575f80fd5b820160e081850312156154de575f80fd5b6154e661487e565b6154ef82615072565b81526154fd60208301615072565b602082015261550e6040830161549d565b604082015261551f606083016153e6565b60608201526155306080830161526f565b608082015261554160a0830161526f565b60a082015260c08201516001600160401b0381111561555e575f80fd5b61556a86828501615150565b60c083015250949350505050565b5f82601f830112615587575f80fd5b81516001600160401b038111156155a0576155a0614795565b8060051b6155b0602082016148c3565b918252602081850181019290810190868411156155cb575f80fd5b6020860192505b838310156155f65782516155e581614678565b8252602092830192909101906155d2565b9695505050505050565b5f60208284031215615610575f80fd5b81516001600160401b03811115615625575f80fd5b82016102a08185031215615637575f80fd5b61563f6148a0565b615648826153e6565b8152615656602083016153e6565b60208201526156676040830161549d565b60408201526156786060830161549d565b606082015261568960808301615072565b608082015261569a60a08301615072565b60a082015260c08201516001600160401b038111156156b7575f80fd5b6156c386828501615578565b60c0830152506156d68560e084016150eb565b60e08201526156e98561012084016150eb565b6101008201526156fd8561016084016150eb565b610120820152615711856101a084016150eb565b610140820152615725856101e084016150eb565b6101608201526157398561022084016150eb565b61018082015261574d8561026084016150eb565b6101a0820152949350505050565b5f806040838503121561576c575f80fd5b825161577781614678565b60208401519092506146c881614678565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682526001600160601b0389166020830152871660408201526157ea606082018780518252602090810151910152565b6001600160601b03851660a082015264ffffffffff841660c082015261010060e08201525f61581e61010083018486615788565b9a9950505050505050505050565b5f6020828403121561583c575f80fd5b5051919050565b5f60208284031215615853575f80fd5b81516136ce8161548f565b5f6020828403121561586e575f80fd5b6136ce826153e6565b5f610140820190506001600160601b03851682526001600160601b0384511660208301526001600160401b03602085015116604083015260408401511515606083015260608401516158cd608084018215159052565b50608084015180151560a08401525060a084015180151560c08401525060c084015160e083015260e084015161010083015261478d61012083018460ff169052565b8051614697816149b0565b8051614697816149ed565b5f60208284031215615935575f80fd5b81516001600160401b0381111561594a575f80fd5b8201610200818503121561595c575f80fd5b6159646147a9565b61596d82615072565b815261597b60208301615072565b602082015261598c6040830161590f565b604082015261599d6060830161590f565b60608201526159ae60808301615072565b60808201526159bf60a08301615072565b60a08201526159d060c0830161516e565b60c082015260e08201516001600160401b038111156159ed575f80fd5b6159f986828501615150565b60e0830152506101008201516001600160401b03811115615a18575f80fd5b615a2486828501615150565b61010083015250615a38610120830161591a565b610120820152615a4b610140830161591a565b610140820152615a5e6101608301615072565b610160820152615a716101808301615072565b610180820152615a846101a0830161516e565b6101a0820152615a976101c0830161516e565b6101c0820152615aaa6101e0830161516e565b6101e0820152949350505050565b5f8085851115615ac6575f80fd5b83861115615ad2575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015615b10576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190525f90615b3b9083018486615788565b95945050505050565b5f8060408385031215615b55575f80fd5b8251615b608161499c565b60208401519092506146c88161499c565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615b98575f80fd5b615ba1836153e6565b9150602083015163ffffffff811681146146c8575f80fd5b634e487b7160e01b5f52601260045260245ffd5b601f82111561416457805f5260205f20601f840160051c81016020851015615bf25750805b601f840160051c820191505b8181101561283b575f8155600101615bfe565b81516001600160401b03811115615c2a57615c2a614795565b615c3e81615c388454615098565b84615bcd565b6020601f821160018114615c70575f8315615c595750848201515b5f19600385901b1c1916600184901b17845561283b565b5f84815260208120601f198516915b82811015615c9f5787850151825560209485019460019092019101615c7f565b5084821015615cbc57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220972f6b3e39d9ad6e23eac13fab730bd4f748b94ad7a45828bda72202aab0b3c464736f6c634300081a0033",
1385
+ "linkReferences": {
1386
+ "contracts/type/Amount.sol": {
1387
+ "AmountLib": [
1388
+ {
1389
+ "length": 20,
1390
+ "start": 2604
1391
+ },
1392
+ {
1393
+ "length": 20,
1394
+ "start": 6300
1395
+ },
1396
+ {
1397
+ "length": 20,
1398
+ "start": 6734
1399
+ },
1400
+ {
1401
+ "length": 20,
1402
+ "start": 6856
1403
+ },
1404
+ {
1405
+ "length": 20,
1406
+ "start": 7073
1407
+ },
1408
+ {
1409
+ "length": 20,
1410
+ "start": 9566
1411
+ },
1412
+ {
1413
+ "length": 20,
1414
+ "start": 9960
1415
+ },
1416
+ {
1417
+ "length": 20,
1418
+ "start": 10824
1419
+ },
1420
+ {
1421
+ "length": 20,
1422
+ "start": 11045
1423
+ },
1424
+ {
1425
+ "length": 20,
1426
+ "start": 14299
1427
+ },
1428
+ {
1429
+ "length": 20,
1430
+ "start": 14926
1431
+ },
1432
+ {
1433
+ "length": 20,
1434
+ "start": 15000
1435
+ }
1436
+ ]
1437
+ },
1438
+ "contracts/type/Fee.sol": {
1439
+ "FeeLib": [
1440
+ {
1441
+ "length": 20,
1442
+ "start": 5345
1443
+ }
1444
+ ]
1445
+ },
1446
+ "contracts/type/NftId.sol": {
1447
+ "NftIdLib": [
1448
+ {
1449
+ "length": 20,
1450
+ "start": 1669
1451
+ },
1452
+ {
1453
+ "length": 20,
1454
+ "start": 8400
1455
+ },
1456
+ {
1457
+ "length": 20,
1458
+ "start": 13502
1459
+ },
1460
+ {
1461
+ "length": 20,
1462
+ "start": 14151
1463
+ }
1464
+ ]
1465
+ },
1466
+ "contracts/type/RoleId.sol": {
1467
+ "RoleIdLib": [
1468
+ {
1469
+ "length": 20,
1470
+ "start": 6104
1471
+ }
1472
+ ]
1473
+ },
1474
+ "contracts/type/UFixed.sol": {
1475
+ "UFixedLib": [
1476
+ {
1477
+ "length": 20,
1478
+ "start": 6884
1479
+ },
1480
+ {
1481
+ "length": 20,
1482
+ "start": 7130
1483
+ }
1484
+ ]
1485
+ },
1486
+ "contracts/type/Version.sol": {
1487
+ "VersionLib": [
1488
+ {
1489
+ "length": 20,
1490
+ "start": 1515
1491
+ },
1492
+ {
1493
+ "length": 20,
1494
+ "start": 3335
1495
+ }
1496
+ ],
1497
+ "VersionPartLib": [
1498
+ {
1499
+ "length": 20,
1500
+ "start": 7350
1501
+ }
1502
+ ]
1503
+ }
1504
+ },
1505
+ "deployedLinkReferences": {
1506
+ "contracts/type/Amount.sol": {
1507
+ "AmountLib": [
1508
+ {
1509
+ "length": 20,
1510
+ "start": 2390
1511
+ },
1512
+ {
1513
+ "length": 20,
1514
+ "start": 6086
1515
+ },
1516
+ {
1517
+ "length": 20,
1518
+ "start": 6520
1519
+ },
1520
+ {
1521
+ "length": 20,
1522
+ "start": 6642
1523
+ },
1524
+ {
1525
+ "length": 20,
1526
+ "start": 6859
1527
+ },
1528
+ {
1529
+ "length": 20,
1530
+ "start": 9352
1531
+ },
1532
+ {
1533
+ "length": 20,
1534
+ "start": 9746
1535
+ },
1536
+ {
1537
+ "length": 20,
1538
+ "start": 10610
1539
+ },
1540
+ {
1541
+ "length": 20,
1542
+ "start": 10831
1543
+ },
1544
+ {
1545
+ "length": 20,
1546
+ "start": 14085
1547
+ },
1548
+ {
1549
+ "length": 20,
1550
+ "start": 14712
1551
+ },
1552
+ {
1553
+ "length": 20,
1554
+ "start": 14786
1555
+ }
1556
+ ]
1557
+ },
1558
+ "contracts/type/Fee.sol": {
1559
+ "FeeLib": [
1560
+ {
1561
+ "length": 20,
1562
+ "start": 5131
1563
+ }
1564
+ ]
1565
+ },
1566
+ "contracts/type/NftId.sol": {
1567
+ "NftIdLib": [
1568
+ {
1569
+ "length": 20,
1570
+ "start": 1455
1571
+ },
1572
+ {
1573
+ "length": 20,
1574
+ "start": 8186
1575
+ },
1576
+ {
1577
+ "length": 20,
1578
+ "start": 13288
1579
+ },
1580
+ {
1581
+ "length": 20,
1582
+ "start": 13937
1583
+ }
1584
+ ]
1585
+ },
1586
+ "contracts/type/RoleId.sol": {
1587
+ "RoleIdLib": [
1588
+ {
1589
+ "length": 20,
1590
+ "start": 5890
1591
+ }
1592
+ ]
1593
+ },
1594
+ "contracts/type/UFixed.sol": {
1595
+ "UFixedLib": [
1596
+ {
1597
+ "length": 20,
1598
+ "start": 6670
1599
+ },
1600
+ {
1601
+ "length": 20,
1602
+ "start": 6916
1603
+ }
1604
+ ]
1605
+ },
1606
+ "contracts/type/Version.sol": {
1607
+ "VersionLib": [
1608
+ {
1609
+ "length": 20,
1610
+ "start": 1301
1611
+ },
1612
+ {
1613
+ "length": 20,
1614
+ "start": 3121
1615
+ }
1616
+ ],
1617
+ "VersionPartLib": [
1618
+ {
1619
+ "length": 20,
1620
+ "start": 7136
1621
+ }
1622
+ ]
1623
+ }
1624
+ }
1625
+ }