@etherisc/gif-next 0.0.2-b9e43cf-870 → 0.0.2-ba07940-332

Sign up to get free protection for your applications and to get access to all the features.
Files changed (730) 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 +1439 -0
  28. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +830 -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 +1491 -0
  38. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  40. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2042 -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 +1613 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2327 -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 +309 -1449
  58. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +334 -202
  60. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/Instance.sol/Instance.json +377 -2562
  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 +1023 -387
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +436 -404
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +356 -94
  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/oracle/IOracleComponent.sol/IOracleComponent.json +788 -0
  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 -353
  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 +1284 -0
  112. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  113. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +502 -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/pool/IBundleService.sol/IBundleService.json +960 -0
  120. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  121. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +945 -0
  122. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  123. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1293 -0
  124. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/Pool.sol/Pool.json +1083 -0
  126. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  127. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1635 -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/product/BasicProduct.sol/BasicProduct.json +1178 -0
  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 -228
  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/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +290 -211
  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} +509 -267
  152. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  153. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +138 -175
  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 +1136 -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 +538 -20
  172. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  173. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +273 -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 +991 -90
  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 +330 -279
  182. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  183. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +345 -83
  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 +360 -96
  192. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  193. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/Component.sol/Component.json} +310 -260
  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/BaseComponent.sol/BaseComponent.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +153 -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/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/IComponent.sol/IComponent.json} +294 -194
  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/{instance/service/IBundleService.sol/IBundleService.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +359 -356
  208. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  209. package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +96 -34
  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 -31
  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 -152
  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/Pool.sol/Pool.json → shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json} +358 -371
  226. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  227. package/artifacts/contracts/{instance/base/IKeyValueStore.sol/IKeyValueStore.json → shared/KeyValueStore.sol/KeyValueStore.json} +129 -20
  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 +81 -30
  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 +96 -48
  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 +138 -164
  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 +354 -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 +87 -0
  344. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  345. package/contracts/examples/fire/FireProduct.sol +428 -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 +81 -0
  351. package/contracts/examples/unpermissioned/SimpleProduct.sol +345 -0
  352. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +40 -43
  353. package/contracts/instance/IInstance.sol +56 -52
  354. package/contracts/instance/IInstanceService.sol +53 -21
  355. package/contracts/instance/Instance.sol +167 -207
  356. package/contracts/instance/InstanceAdmin.sol +277 -0
  357. package/contracts/instance/InstanceAuthorizationV3.sol +194 -0
  358. package/contracts/instance/InstanceReader.sol +264 -84
  359. package/contracts/instance/InstanceService.sol +308 -243
  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} +20 -42
  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/Usdc.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 +156 -0
  383. package/contracts/pool/BasicPoolAuthorization.sol +68 -0
  384. package/contracts/pool/BundleService.sol +461 -0
  385. package/contracts/pool/BundleServiceManager.sol +39 -0
  386. package/contracts/pool/IBundleService.sol +143 -0
  387. package/contracts/pool/IPoolComponent.sol +66 -0
  388. package/contracts/pool/IPoolService.sol +169 -0
  389. package/contracts/pool/Pool.sol +329 -0
  390. package/contracts/pool/PoolService.sol +548 -0
  391. package/contracts/pool/PoolServiceManager.sol +39 -0
  392. package/contracts/product/ApplicationService.sol +251 -0
  393. package/contracts/product/ApplicationServiceManager.sol +38 -0
  394. package/contracts/product/BasicProduct.sol +49 -0
  395. package/contracts/product/BasicProductAuthorization.sol +42 -0
  396. package/contracts/product/ClaimService.sol +591 -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 +683 -0
  405. package/contracts/product/PolicyServiceManager.sol +39 -0
  406. package/contracts/product/PricingService.sol +297 -0
  407. package/contracts/product/PricingServiceManager.sol +39 -0
  408. package/contracts/product/Product.sol +431 -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 +106 -26
  413. package/contracts/registry/IRegistryService.sol +38 -34
  414. package/contracts/registry/ITransferInterceptor.sol +1 -1
  415. package/contracts/registry/Registry.sol +530 -209
  416. package/contracts/registry/RegistryAdmin.sol +448 -0
  417. package/contracts/registry/RegistryService.sol +119 -198
  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 -58
  423. package/contracts/shared/Component.sol +265 -0
  424. package/contracts/shared/ComponentService.sol +735 -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 +15 -6
  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 +71 -82
  444. package/contracts/shared/PolicyHolder.sol +62 -0
  445. package/contracts/shared/Registerable.sol +34 -39
  446. package/contracts/shared/RegistryLinked.sol +44 -0
  447. package/contracts/shared/Service.sol +60 -34
  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 +393 -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 +17 -3
  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/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  488. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  489. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  490. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -397
  491. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  492. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  493. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  494. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  495. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  496. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  497. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  498. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  499. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  500. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  501. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  502. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  503. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  504. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  505. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  506. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  507. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  508. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  509. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  510. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  511. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  512. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  513. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  514. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  515. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  516. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  517. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  518. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  519. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  520. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  521. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  522. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  523. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  524. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  525. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  526. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  527. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  528. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  529. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  530. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  531. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  532. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  533. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  534. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  535. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  536. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  537. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  538. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  539. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  540. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  541. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -788
  542. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  543. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  544. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  545. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1047
  546. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  547. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  548. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  549. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  550. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  551. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  552. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  553. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  554. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  555. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  556. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  557. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  558. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  559. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  560. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  561. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  562. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1031
  563. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  564. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -436
  565. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  566. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
  567. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  568. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -693
  569. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  570. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -420
  571. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  572. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  573. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  574. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  575. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  576. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  577. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  578. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  579. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1156
  580. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  581. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -492
  582. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  583. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  584. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  585. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -420
  586. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  587. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  588. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  589. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  590. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  591. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  592. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  593. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -530
  594. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  595. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  596. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  597. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  598. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  599. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  600. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  601. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  602. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  603. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  604. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  605. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  606. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  607. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  608. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  609. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  610. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  611. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  612. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  613. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  614. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  615. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  616. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  617. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  618. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  619. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  620. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  621. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  622. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  623. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  624. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  625. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  626. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  627. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  628. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  629. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  630. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  631. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  632. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  633. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  634. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  635. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  636. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  637. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  638. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  639. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  640. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  641. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  642. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  643. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  644. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  645. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  646. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  647. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  648. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  649. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  650. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  651. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  652. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  653. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  654. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  655. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  656. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  657. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  658. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  659. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  660. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  661. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  662. package/contracts/components/BaseComponent.sol +0 -159
  663. package/contracts/components/Distribution.sol +0 -164
  664. package/contracts/components/IBaseComponent.sol +0 -34
  665. package/contracts/components/IDistributionComponent.sol +0 -44
  666. package/contracts/components/IPoolComponent.sol +0 -66
  667. package/contracts/components/IProductComponent.sol +0 -35
  668. package/contracts/components/Pool.sol +0 -272
  669. package/contracts/components/Product.sol +0 -301
  670. package/contracts/experiment/cloning/Cloner.sol +0 -47
  671. package/contracts/experiment/errors/Require.sol +0 -38
  672. package/contracts/experiment/errors/Revert.sol +0 -44
  673. package/contracts/experiment/inheritance/A.sol +0 -53
  674. package/contracts/experiment/inheritance/B.sol +0 -28
  675. package/contracts/experiment/inheritance/C.sol +0 -34
  676. package/contracts/experiment/inheritance/IA.sol +0 -13
  677. package/contracts/experiment/inheritance/IB.sol +0 -10
  678. package/contracts/experiment/inheritance/IC.sol +0 -12
  679. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  680. package/contracts/experiment/statemachine/ISM.sol +0 -25
  681. package/contracts/experiment/statemachine/SM.sol +0 -57
  682. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  683. package/contracts/experiment/types/TypeA.sol +0 -47
  684. package/contracts/experiment/types/TypeB.sol +0 -29
  685. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  686. package/contracts/instance/IInstanceBase.sol +0 -26
  687. package/contracts/instance/InstanceAccessManager.sol +0 -303
  688. package/contracts/instance/InstanceBase.sol +0 -41
  689. package/contracts/instance/base/ComponentServiceBase.sol +0 -76
  690. package/contracts/instance/base/IInstanceBase.sol +0 -23
  691. package/contracts/instance/base/KeyValueStore.sol +0 -172
  692. package/contracts/instance/base/Lifecycle.sol +0 -100
  693. package/contracts/instance/module/ISetup.sol +0 -46
  694. package/contracts/instance/module/ITreasury.sol +0 -23
  695. package/contracts/instance/service/BundleService.sol +0 -294
  696. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  697. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  698. package/contracts/instance/service/DistributionService.sol +0 -120
  699. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  700. package/contracts/instance/service/IBundleService.sol +0 -44
  701. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  702. package/contracts/instance/service/IDistributionService.sol +0 -12
  703. package/contracts/instance/service/IPolicyService.sol +0 -94
  704. package/contracts/instance/service/IPoolService.sol +0 -20
  705. package/contracts/instance/service/IProductService.sol +0 -40
  706. package/contracts/instance/service/PolicyService.sol +0 -539
  707. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  708. package/contracts/instance/service/PoolService.sol +0 -145
  709. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  710. package/contracts/instance/service/ProductService.sol +0 -213
  711. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  712. package/contracts/registry/RegistryAccessManager.sol +0 -210
  713. package/contracts/registry/ReleaseManager.sol +0 -342
  714. package/contracts/shared/ContractDeployerLib.sol +0 -72
  715. package/contracts/shared/ERC165.sol +0 -25
  716. package/contracts/shared/ProxyManager.sol +0 -94
  717. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  718. package/contracts/shared/Versionable.sol +0 -147
  719. package/contracts/test/TestFee.sol +0 -25
  720. package/contracts/test/TestRegisterable.sol +0 -18
  721. package/contracts/test/TestRoleId.sol +0 -14
  722. package/contracts/test/TestService.sol +0 -25
  723. package/contracts/test/TestToken.sol +0 -26
  724. package/contracts/test/TestVersion.sol +0 -44
  725. package/contracts/test/TestVersionable.sol +0 -17
  726. package/contracts/types/ChainId.sol +0 -38
  727. package/contracts/types/NumberId.sol +0 -52
  728. package/contracts/types/ObjectType.sol +0 -152
  729. package/contracts/types/RoleId.sol +0 -90
  730. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -0,0 +1,1635 @@
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": "NftId",
577
+ "name": "poolNftId",
578
+ "type": "uint96"
579
+ },
580
+ {
581
+ "internalType": "Amount",
582
+ "name": "totalCollateralAmount",
583
+ "type": "uint96"
584
+ },
585
+ {
586
+ "internalType": "Amount",
587
+ "name": "localCollateralAmount",
588
+ "type": "uint96"
589
+ },
590
+ {
591
+ "internalType": "bool",
592
+ "name": "poolIsVerifyingApplications",
593
+ "type": "bool"
594
+ }
595
+ ],
596
+ "stateMutability": "view",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [
601
+ {
602
+ "internalType": "NftId",
603
+ "name": "bundleNftId",
604
+ "type": "uint96"
605
+ }
606
+ ],
607
+ "name": "closeBundle",
608
+ "outputs": [],
609
+ "stateMutability": "nonpayable",
610
+ "type": "function"
611
+ },
612
+ {
613
+ "inputs": [
614
+ {
615
+ "internalType": "address",
616
+ "name": "bundleOwner",
617
+ "type": "address"
618
+ },
619
+ {
620
+ "components": [
621
+ {
622
+ "internalType": "UFixed",
623
+ "name": "fractionalFee",
624
+ "type": "uint256"
625
+ },
626
+ {
627
+ "internalType": "uint256",
628
+ "name": "fixedFee",
629
+ "type": "uint256"
630
+ }
631
+ ],
632
+ "internalType": "struct Fee",
633
+ "name": "fee",
634
+ "type": "tuple"
635
+ },
636
+ {
637
+ "internalType": "Seconds",
638
+ "name": "lifetime",
639
+ "type": "uint40"
640
+ },
641
+ {
642
+ "internalType": "bytes",
643
+ "name": "filter",
644
+ "type": "bytes"
645
+ }
646
+ ],
647
+ "name": "createBundle",
648
+ "outputs": [
649
+ {
650
+ "internalType": "NftId",
651
+ "name": "bundleNftId",
652
+ "type": "uint96"
653
+ }
654
+ ],
655
+ "stateMutability": "nonpayable",
656
+ "type": "function"
657
+ },
658
+ {
659
+ "inputs": [
660
+ {
661
+ "internalType": "NftId",
662
+ "name": "poolNftId",
663
+ "type": "uint96"
664
+ },
665
+ {
666
+ "internalType": "Amount",
667
+ "name": "amount",
668
+ "type": "uint96"
669
+ }
670
+ ],
671
+ "name": "defundPoolWallet",
672
+ "outputs": [],
673
+ "stateMutability": "nonpayable",
674
+ "type": "function"
675
+ },
676
+ {
677
+ "inputs": [
678
+ {
679
+ "internalType": "NftId",
680
+ "name": "poolNftId",
681
+ "type": "uint96"
682
+ },
683
+ {
684
+ "internalType": "Amount",
685
+ "name": "amount",
686
+ "type": "uint96"
687
+ }
688
+ ],
689
+ "name": "fundPoolWallet",
690
+ "outputs": [],
691
+ "stateMutability": "nonpayable",
692
+ "type": "function"
693
+ },
694
+ {
695
+ "inputs": [],
696
+ "name": "getDomain",
697
+ "outputs": [
698
+ {
699
+ "internalType": "ObjectType",
700
+ "name": "serviceDomain",
701
+ "type": "uint8"
702
+ }
703
+ ],
704
+ "stateMutability": "pure",
705
+ "type": "function"
706
+ },
707
+ {
708
+ "inputs": [],
709
+ "name": "getInitialInfo",
710
+ "outputs": [
711
+ {
712
+ "components": [
713
+ {
714
+ "internalType": "NftId",
715
+ "name": "nftId",
716
+ "type": "uint96"
717
+ },
718
+ {
719
+ "internalType": "NftId",
720
+ "name": "parentNftId",
721
+ "type": "uint96"
722
+ },
723
+ {
724
+ "internalType": "ObjectType",
725
+ "name": "objectType",
726
+ "type": "uint8"
727
+ },
728
+ {
729
+ "internalType": "bool",
730
+ "name": "isInterceptor",
731
+ "type": "bool"
732
+ },
733
+ {
734
+ "internalType": "address",
735
+ "name": "objectAddress",
736
+ "type": "address"
737
+ },
738
+ {
739
+ "internalType": "address",
740
+ "name": "initialOwner",
741
+ "type": "address"
742
+ },
743
+ {
744
+ "internalType": "bytes",
745
+ "name": "data",
746
+ "type": "bytes"
747
+ }
748
+ ],
749
+ "internalType": "struct IRegistry.ObjectInfo",
750
+ "name": "info",
751
+ "type": "tuple"
752
+ }
753
+ ],
754
+ "stateMutability": "view",
755
+ "type": "function"
756
+ },
757
+ {
758
+ "inputs": [],
759
+ "name": "getNftId",
760
+ "outputs": [
761
+ {
762
+ "internalType": "NftId",
763
+ "name": "",
764
+ "type": "uint96"
765
+ }
766
+ ],
767
+ "stateMutability": "view",
768
+ "type": "function"
769
+ },
770
+ {
771
+ "inputs": [],
772
+ "name": "getOwner",
773
+ "outputs": [
774
+ {
775
+ "internalType": "address",
776
+ "name": "",
777
+ "type": "address"
778
+ }
779
+ ],
780
+ "stateMutability": "view",
781
+ "type": "function"
782
+ },
783
+ {
784
+ "inputs": [],
785
+ "name": "getRegistry",
786
+ "outputs": [
787
+ {
788
+ "internalType": "contract IRegistry",
789
+ "name": "",
790
+ "type": "address"
791
+ }
792
+ ],
793
+ "stateMutability": "view",
794
+ "type": "function"
795
+ },
796
+ {
797
+ "inputs": [],
798
+ "name": "getRelease",
799
+ "outputs": [
800
+ {
801
+ "internalType": "VersionPart",
802
+ "name": "release",
803
+ "type": "uint8"
804
+ }
805
+ ],
806
+ "stateMutability": "pure",
807
+ "type": "function"
808
+ },
809
+ {
810
+ "inputs": [],
811
+ "name": "getRoleId",
812
+ "outputs": [
813
+ {
814
+ "internalType": "RoleId",
815
+ "name": "serviceRoleId",
816
+ "type": "uint64"
817
+ }
818
+ ],
819
+ "stateMutability": "pure",
820
+ "type": "function"
821
+ },
822
+ {
823
+ "inputs": [],
824
+ "name": "getVersion",
825
+ "outputs": [
826
+ {
827
+ "internalType": "Version",
828
+ "name": "",
829
+ "type": "uint24"
830
+ }
831
+ ],
832
+ "stateMutability": "pure",
833
+ "type": "function"
834
+ },
835
+ {
836
+ "inputs": [
837
+ {
838
+ "internalType": "address",
839
+ "name": "activatedBy",
840
+ "type": "address"
841
+ },
842
+ {
843
+ "internalType": "bytes",
844
+ "name": "data",
845
+ "type": "bytes"
846
+ }
847
+ ],
848
+ "name": "initializeVersionable",
849
+ "outputs": [],
850
+ "stateMutability": "nonpayable",
851
+ "type": "function"
852
+ },
853
+ {
854
+ "inputs": [],
855
+ "name": "isConsumingScheduledOp",
856
+ "outputs": [
857
+ {
858
+ "internalType": "bytes4",
859
+ "name": "",
860
+ "type": "bytes4"
861
+ }
862
+ ],
863
+ "stateMutability": "view",
864
+ "type": "function"
865
+ },
866
+ {
867
+ "inputs": [],
868
+ "name": "linkToRegisteredNftId",
869
+ "outputs": [
870
+ {
871
+ "internalType": "NftId",
872
+ "name": "nftId",
873
+ "type": "uint96"
874
+ }
875
+ ],
876
+ "stateMutability": "nonpayable",
877
+ "type": "function"
878
+ },
879
+ {
880
+ "inputs": [
881
+ {
882
+ "internalType": "contract IInstance",
883
+ "name": "instance",
884
+ "type": "address"
885
+ },
886
+ {
887
+ "internalType": "address",
888
+ "name": "token",
889
+ "type": "address"
890
+ },
891
+ {
892
+ "internalType": "NftId",
893
+ "name": "productNftId",
894
+ "type": "uint96"
895
+ },
896
+ {
897
+ "internalType": "NftId",
898
+ "name": "applicationNftId",
899
+ "type": "uint96"
900
+ },
901
+ {
902
+ "internalType": "NftId",
903
+ "name": "bundleNftId",
904
+ "type": "uint96"
905
+ },
906
+ {
907
+ "internalType": "Amount",
908
+ "name": "sumInsuredAmount",
909
+ "type": "uint96"
910
+ }
911
+ ],
912
+ "name": "lockCollateral",
913
+ "outputs": [
914
+ {
915
+ "internalType": "Amount",
916
+ "name": "totalCollateralAmount",
917
+ "type": "uint96"
918
+ },
919
+ {
920
+ "internalType": "Amount",
921
+ "name": "localCollateralAmount",
922
+ "type": "uint96"
923
+ }
924
+ ],
925
+ "stateMutability": "nonpayable",
926
+ "type": "function"
927
+ },
928
+ {
929
+ "inputs": [
930
+ {
931
+ "internalType": "NftId",
932
+ "name": "policyNftId",
933
+ "type": "uint96"
934
+ },
935
+ {
936
+ "internalType": "ClaimId",
937
+ "name": "claimId",
938
+ "type": "uint16"
939
+ },
940
+ {
941
+ "internalType": "Amount",
942
+ "name": "availableAmount",
943
+ "type": "uint96"
944
+ }
945
+ ],
946
+ "name": "processFundedClaim",
947
+ "outputs": [],
948
+ "stateMutability": "nonpayable",
949
+ "type": "function"
950
+ },
951
+ {
952
+ "inputs": [
953
+ {
954
+ "internalType": "contract IInstance",
955
+ "name": "instance",
956
+ "type": "address"
957
+ },
958
+ {
959
+ "internalType": "address",
960
+ "name": "token",
961
+ "type": "address"
962
+ },
963
+ {
964
+ "internalType": "NftId",
965
+ "name": "policyNftId",
966
+ "type": "uint96"
967
+ },
968
+ {
969
+ "components": [
970
+ {
971
+ "internalType": "NftId",
972
+ "name": "productNftId",
973
+ "type": "uint96"
974
+ },
975
+ {
976
+ "internalType": "NftId",
977
+ "name": "bundleNftId",
978
+ "type": "uint96"
979
+ },
980
+ {
981
+ "internalType": "ReferralId",
982
+ "name": "referralId",
983
+ "type": "bytes8"
984
+ },
985
+ {
986
+ "internalType": "RiskId",
987
+ "name": "riskId",
988
+ "type": "bytes8"
989
+ },
990
+ {
991
+ "internalType": "Amount",
992
+ "name": "sumInsuredAmount",
993
+ "type": "uint96"
994
+ },
995
+ {
996
+ "internalType": "Amount",
997
+ "name": "premiumAmount",
998
+ "type": "uint96"
999
+ },
1000
+ {
1001
+ "internalType": "Seconds",
1002
+ "name": "lifetime",
1003
+ "type": "uint40"
1004
+ },
1005
+ {
1006
+ "internalType": "bytes",
1007
+ "name": "applicationData",
1008
+ "type": "bytes"
1009
+ },
1010
+ {
1011
+ "internalType": "bytes",
1012
+ "name": "processData",
1013
+ "type": "bytes"
1014
+ },
1015
+ {
1016
+ "internalType": "uint16",
1017
+ "name": "claimsCount",
1018
+ "type": "uint16"
1019
+ },
1020
+ {
1021
+ "internalType": "uint16",
1022
+ "name": "openClaimsCount",
1023
+ "type": "uint16"
1024
+ },
1025
+ {
1026
+ "internalType": "Amount",
1027
+ "name": "claimAmount",
1028
+ "type": "uint96"
1029
+ },
1030
+ {
1031
+ "internalType": "Amount",
1032
+ "name": "payoutAmount",
1033
+ "type": "uint96"
1034
+ },
1035
+ {
1036
+ "internalType": "Timestamp",
1037
+ "name": "activatedAt",
1038
+ "type": "uint40"
1039
+ },
1040
+ {
1041
+ "internalType": "Timestamp",
1042
+ "name": "expiredAt",
1043
+ "type": "uint40"
1044
+ },
1045
+ {
1046
+ "internalType": "Timestamp",
1047
+ "name": "closedAt",
1048
+ "type": "uint40"
1049
+ }
1050
+ ],
1051
+ "internalType": "struct IPolicy.PolicyInfo",
1052
+ "name": "policyInfo",
1053
+ "type": "tuple"
1054
+ },
1055
+ {
1056
+ "internalType": "Amount",
1057
+ "name": "payoutAmount",
1058
+ "type": "uint96"
1059
+ }
1060
+ ],
1061
+ "name": "processPayout",
1062
+ "outputs": [],
1063
+ "stateMutability": "nonpayable",
1064
+ "type": "function"
1065
+ },
1066
+ {
1067
+ "inputs": [
1068
+ {
1069
+ "internalType": "NftId",
1070
+ "name": "bundleNftId",
1071
+ "type": "uint96"
1072
+ },
1073
+ {
1074
+ "components": [
1075
+ {
1076
+ "internalType": "Amount",
1077
+ "name": "productFeeAmount",
1078
+ "type": "uint96"
1079
+ },
1080
+ {
1081
+ "internalType": "Amount",
1082
+ "name": "distributionFeeAndCommissionAmount",
1083
+ "type": "uint96"
1084
+ },
1085
+ {
1086
+ "internalType": "Amount",
1087
+ "name": "poolPremiumAndFeeAmount",
1088
+ "type": "uint96"
1089
+ },
1090
+ {
1091
+ "internalType": "Amount",
1092
+ "name": "netPremiumAmount",
1093
+ "type": "uint96"
1094
+ },
1095
+ {
1096
+ "internalType": "Amount",
1097
+ "name": "fullPremiumAmount",
1098
+ "type": "uint96"
1099
+ },
1100
+ {
1101
+ "internalType": "Amount",
1102
+ "name": "premiumAmount",
1103
+ "type": "uint96"
1104
+ },
1105
+ {
1106
+ "internalType": "Amount",
1107
+ "name": "productFeeFixAmount",
1108
+ "type": "uint96"
1109
+ },
1110
+ {
1111
+ "internalType": "Amount",
1112
+ "name": "poolFeeFixAmount",
1113
+ "type": "uint96"
1114
+ },
1115
+ {
1116
+ "internalType": "Amount",
1117
+ "name": "bundleFeeFixAmount",
1118
+ "type": "uint96"
1119
+ },
1120
+ {
1121
+ "internalType": "Amount",
1122
+ "name": "distributionFeeFixAmount",
1123
+ "type": "uint96"
1124
+ },
1125
+ {
1126
+ "internalType": "Amount",
1127
+ "name": "productFeeVarAmount",
1128
+ "type": "uint96"
1129
+ },
1130
+ {
1131
+ "internalType": "Amount",
1132
+ "name": "poolFeeVarAmount",
1133
+ "type": "uint96"
1134
+ },
1135
+ {
1136
+ "internalType": "Amount",
1137
+ "name": "bundleFeeVarAmount",
1138
+ "type": "uint96"
1139
+ },
1140
+ {
1141
+ "internalType": "Amount",
1142
+ "name": "distributionFeeVarAmount",
1143
+ "type": "uint96"
1144
+ },
1145
+ {
1146
+ "internalType": "Amount",
1147
+ "name": "distributionOwnerFeeFixAmount",
1148
+ "type": "uint96"
1149
+ },
1150
+ {
1151
+ "internalType": "Amount",
1152
+ "name": "distributionOwnerFeeVarAmount",
1153
+ "type": "uint96"
1154
+ },
1155
+ {
1156
+ "internalType": "Amount",
1157
+ "name": "commissionAmount",
1158
+ "type": "uint96"
1159
+ },
1160
+ {
1161
+ "internalType": "Amount",
1162
+ "name": "discountAmount",
1163
+ "type": "uint96"
1164
+ }
1165
+ ],
1166
+ "internalType": "struct IPolicy.PremiumInfo",
1167
+ "name": "premium",
1168
+ "type": "tuple"
1169
+ }
1170
+ ],
1171
+ "name": "processSale",
1172
+ "outputs": [],
1173
+ "stateMutability": "nonpayable",
1174
+ "type": "function"
1175
+ },
1176
+ {
1177
+ "inputs": [
1178
+ {
1179
+ "internalType": "contract IInstance",
1180
+ "name": "instance",
1181
+ "type": "address"
1182
+ },
1183
+ {
1184
+ "internalType": "address",
1185
+ "name": "token",
1186
+ "type": "address"
1187
+ },
1188
+ {
1189
+ "internalType": "NftId",
1190
+ "name": "policyNftId",
1191
+ "type": "uint96"
1192
+ },
1193
+ {
1194
+ "components": [
1195
+ {
1196
+ "internalType": "NftId",
1197
+ "name": "productNftId",
1198
+ "type": "uint96"
1199
+ },
1200
+ {
1201
+ "internalType": "NftId",
1202
+ "name": "bundleNftId",
1203
+ "type": "uint96"
1204
+ },
1205
+ {
1206
+ "internalType": "ReferralId",
1207
+ "name": "referralId",
1208
+ "type": "bytes8"
1209
+ },
1210
+ {
1211
+ "internalType": "RiskId",
1212
+ "name": "riskId",
1213
+ "type": "bytes8"
1214
+ },
1215
+ {
1216
+ "internalType": "Amount",
1217
+ "name": "sumInsuredAmount",
1218
+ "type": "uint96"
1219
+ },
1220
+ {
1221
+ "internalType": "Amount",
1222
+ "name": "premiumAmount",
1223
+ "type": "uint96"
1224
+ },
1225
+ {
1226
+ "internalType": "Seconds",
1227
+ "name": "lifetime",
1228
+ "type": "uint40"
1229
+ },
1230
+ {
1231
+ "internalType": "bytes",
1232
+ "name": "applicationData",
1233
+ "type": "bytes"
1234
+ },
1235
+ {
1236
+ "internalType": "bytes",
1237
+ "name": "processData",
1238
+ "type": "bytes"
1239
+ },
1240
+ {
1241
+ "internalType": "uint16",
1242
+ "name": "claimsCount",
1243
+ "type": "uint16"
1244
+ },
1245
+ {
1246
+ "internalType": "uint16",
1247
+ "name": "openClaimsCount",
1248
+ "type": "uint16"
1249
+ },
1250
+ {
1251
+ "internalType": "Amount",
1252
+ "name": "claimAmount",
1253
+ "type": "uint96"
1254
+ },
1255
+ {
1256
+ "internalType": "Amount",
1257
+ "name": "payoutAmount",
1258
+ "type": "uint96"
1259
+ },
1260
+ {
1261
+ "internalType": "Timestamp",
1262
+ "name": "activatedAt",
1263
+ "type": "uint40"
1264
+ },
1265
+ {
1266
+ "internalType": "Timestamp",
1267
+ "name": "expiredAt",
1268
+ "type": "uint40"
1269
+ },
1270
+ {
1271
+ "internalType": "Timestamp",
1272
+ "name": "closedAt",
1273
+ "type": "uint40"
1274
+ }
1275
+ ],
1276
+ "internalType": "struct IPolicy.PolicyInfo",
1277
+ "name": "policyInfo",
1278
+ "type": "tuple"
1279
+ }
1280
+ ],
1281
+ "name": "releaseCollateral",
1282
+ "outputs": [],
1283
+ "stateMutability": "nonpayable",
1284
+ "type": "function"
1285
+ },
1286
+ {
1287
+ "inputs": [
1288
+ {
1289
+ "internalType": "address",
1290
+ "name": "newAuthority",
1291
+ "type": "address"
1292
+ }
1293
+ ],
1294
+ "name": "setAuthority",
1295
+ "outputs": [],
1296
+ "stateMutability": "nonpayable",
1297
+ "type": "function"
1298
+ },
1299
+ {
1300
+ "inputs": [
1301
+ {
1302
+ "internalType": "Amount",
1303
+ "name": "maxBalanceAmount",
1304
+ "type": "uint96"
1305
+ }
1306
+ ],
1307
+ "name": "setMaxBalanceAmount",
1308
+ "outputs": [],
1309
+ "stateMutability": "nonpayable",
1310
+ "type": "function"
1311
+ },
1312
+ {
1313
+ "inputs": [
1314
+ {
1315
+ "internalType": "NftId",
1316
+ "name": "bundleNftId",
1317
+ "type": "uint96"
1318
+ },
1319
+ {
1320
+ "internalType": "Amount",
1321
+ "name": "amount",
1322
+ "type": "uint96"
1323
+ }
1324
+ ],
1325
+ "name": "stake",
1326
+ "outputs": [
1327
+ {
1328
+ "internalType": "Amount",
1329
+ "name": "netAmount",
1330
+ "type": "uint96"
1331
+ }
1332
+ ],
1333
+ "stateMutability": "nonpayable",
1334
+ "type": "function"
1335
+ },
1336
+ {
1337
+ "inputs": [
1338
+ {
1339
+ "internalType": "bytes4",
1340
+ "name": "interfaceId",
1341
+ "type": "bytes4"
1342
+ }
1343
+ ],
1344
+ "name": "supportsInterface",
1345
+ "outputs": [
1346
+ {
1347
+ "internalType": "bool",
1348
+ "name": "",
1349
+ "type": "bool"
1350
+ }
1351
+ ],
1352
+ "stateMutability": "view",
1353
+ "type": "function"
1354
+ },
1355
+ {
1356
+ "inputs": [
1357
+ {
1358
+ "internalType": "NftId",
1359
+ "name": "bundleNftId",
1360
+ "type": "uint96"
1361
+ },
1362
+ {
1363
+ "internalType": "Amount",
1364
+ "name": "amount",
1365
+ "type": "uint96"
1366
+ }
1367
+ ],
1368
+ "name": "unstake",
1369
+ "outputs": [
1370
+ {
1371
+ "internalType": "Amount",
1372
+ "name": "netAmount",
1373
+ "type": "uint96"
1374
+ }
1375
+ ],
1376
+ "stateMutability": "nonpayable",
1377
+ "type": "function"
1378
+ },
1379
+ {
1380
+ "inputs": [
1381
+ {
1382
+ "internalType": "bytes",
1383
+ "name": "data",
1384
+ "type": "bytes"
1385
+ }
1386
+ ],
1387
+ "name": "upgradeVersionable",
1388
+ "outputs": [],
1389
+ "stateMutability": "nonpayable",
1390
+ "type": "function"
1391
+ }
1392
+ ],
1393
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615eb8806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101e7575f3560e01c806376b707b711610109578063b68d18091161009e578063d0d63b091161006e578063d0d63b09146104bd578063db02f7d3146104d0578063e1f216fa146104e3578063fb3bcd1f146104f6575f80fd5b8063b68d18091461049b578063bca99e39146104a2578063bf7e214f146104b5578063ca510bf61461022c575f80fd5b80638899278a116100d95780638899278a14610456578063893d20e81461045e5780638fb3603714610466578063ada9652e14610487575f80fd5b806376b707b7146103ce5780637a9e5e4b146103e857806384a710fa146103fb57806384d1f7cf14610443575f80fd5b806332f9f3df1161017f5780636c1e9dff1161014f5780636c1e9dff146103555780636c741e781461036857806371504a32146103885780637225ed011461039b575f80fd5b806332f9f3df146102ed57806349bb9e4b146103005780635ab1bd5314610313578063644c45e014610338575f80fd5b8063138461e0116101ba578063138461e0146102725780631eff4b221461029257806326889b09146102c7578063329d6e74146102da575f80fd5b806301ffc9a7146101eb578063066257831461022c5780630d8e6e2c146102415780630fec111c1461025d575b5f80fd5b6102176101f93660046147f5565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004614840565b610509565b005b610249610519565b60405162ffffff9091168152602001610223565b6102656105a0565b60405161022391906148a5565b61027a61072c565b6040516001600160601b039091168152602001610223565b6102b97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61027a6102d5366004614840565b610736565b61023f6102e8366004614aec565b610c4e565b61023f6102fb366004614cf5565b610d98565b61023f61030e366004614d65565b610f72565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b5f80516020615e23833981519152546001600160601b031661027a565b61027a610363366004614840565b61106e565b6103706117e3565b6040516001600160401b039091168152602001610223565b61027a610396366004614db1565b61186f565b6103ae6103a9366004614e6f565b611a32565b604080516001600160601b03938416815292909116602083015201610223565b6103d6611cac565b60405160ff9091168152602001610223565b61023f6103f6366004614ea5565b611d20565b61040e610409366004614ec0565b611da2565b60405161022394939291906001600160601b039485168152928416602084015292166040820152901515606082015260800190565b6103ae610451366004614efd565b611ebf565b6102b9600381565b610320612192565b61046e6122c3565b6040516001600160e01b03199091168152602001610223565b6102b95f80516020615e2383398151915281565b600f6103d6565b61023f6104b0366004614f7b565b6122f8565b610320612509565b61023f6104cb366004614f7b565b612524565b61023f6104de366004614f96565b612a02565b61023f6104f136600461501a565b612e0d565b61023f610504366004615047565b613112565b610515335b5f36613462565b5050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610577573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061059b91906151d1565b905090565b6105a86147b8565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561061e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064291906151fe565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161068a612192565b6001600160a01b031681526020018260010180546106a790615219565b80601f01602080910402602001604051908101604052809291908181526020018280546106d390615219565b801561071e5780601f106106f55761010080835404028352916020019161071e565b820191905f5260205f20905b81548152906001019060200180831161070157829003601f168201915b505050505081525091505090565b5f61059b30613558565b5f8080610743600f613751565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610785573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a99190615251565b90505f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080c9190615251565b604051634793b4ab60e01b81526001600160601b03891660048201529091505f906001600160a01b03841690634793b4ab906024015f60405180830381865afa15801561085b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261088291908101906152fa565b9050610891815f0151866137ed565b156108c757604051630a49ea2360e01b81526001600160601b03808a166004830152861660248201526044015b60405180910390fd5b600254604051631696791160e11b81526001600160a01b0386811660048301526001600160601b03808c1660248401528a1660448301525f921690632d2cf222906064016020604051808303815f875af1158015610927573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094b91906151fe565b905060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a284888473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156109ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109de91906151fe565b6040518563ffffffff1660e01b81526004016109fd94939291906153be565b5f604051808303815f87803b158015610a14575f80fd5b505af1158015610a26573d5f803e3d5ffd5b505060405163f0ea17c360e01b81526001600160601b03891660048201525f92506001600160a01b038716915063f0ea17c3906024015f60405180830381865afa158015610a76573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a9d91908101906153fb565b90505f610ab26001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038d1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610aff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b239190615251565b90507fa9e4ee5628423184bfcde002aae428406aeac6b337e1acf560282b155e358527876001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba691906151fe565b604080516001600160601b0392831681528b831660208201528e8316818301529186166060830152519081900360800190a181604001516001600160a01b03166354f0d84c836060015183866040518463ffffffff1660e01b8152600401610c10939291906154d5565b5f604051808303815f87803b158015610c27575f80fd5b505af1158015610c39573d5f803e3d5ffd5b50949a50505050505050505050505b92915050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610c70610519565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd29190615515565b5f80516020615e638339815191528054600160401b900460ff1680610d04575080546001600160401b03808416911610155b15610d225760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d4c83613879565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610da13361050e565b5f610db58260800151836101600151613881565b600254602084015160405163ad328d9f60e01b81529293506001600160a01b039091169163ad328d9f91610df1918991889187906004016153be565b5f604051808303815f87803b158015610e08575f80fd5b505af1158015610e1a573d5f803e3d5ffd5b50506002546040516301d90a6f60e61b81526001600160a01b0389811660048301526001600160601b038816602483015290911692506376429bc091506044015f604051808303815f87803b158015610e71575f80fd5b505af1158015610e83573d5f803e3d5ffd5b5050505060045f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ee6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f0a91906151fe565b86846040518463ffffffff1660e01b8152600401610f2a93929190615530565b6020604051808303815f875af1158015610f46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6a91906151fe565b505050505050565b5f80516020615e638339815191528054600160401b810460ff1615906001600160401b03165f81158015610fa35750825b90505f826001600160401b03166001148015610fbe5750303b155b905081158015610fcc575080155b15610fea5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561101457845460ff60401b1916600160401b1785555b61101e8787613906565b831561106557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f82601f6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156110d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f8919061556b565b6111295760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016108be565b5f80611135600f613751565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611177573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119b9190615251565b604051634793b4ab60e01b81526001600160601b038a1660048201529091505f906001600160a01b03831690634793b4ab906024015f60405180830381865afa1580156111ea573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261121191908101906152fa565b6040516357f80bbf60e01b81526001600160601b03861660048201529091505f906001600160a01b038416906357f80bbf9060240160e060405180830381865afa158015611261573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112859190615584565b9050611294825f0151866137ed565b156112c557604051630a49ea2360e01b81526001600160601b03808c166004830152861660248201526044016108be565b6040516308a390bb60e21b81526001600160601b03861660048201525f906001600160a01b0385169063228e42ec90602401602060405180830381865afa158015611312573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061133691906151fe565b905061134c611345828c613af4565b8351613b3e565b1561139057815160405163b806175d60e01b81526001600160601b03808916600483015291821660248201528183166044820152908b1660648201526084016108be565b505f6113a46001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091505f9081906001600160a01b0384169063a48f42e0906024015f60405180830381865afa1580156113f5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261141c9190810190615625565b602001516040516302d764c760e21b81526001600160601b03821660048201529091505f906001600160a01b03881690630b5d931c906024015f60405180830381865afa15801561146f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611496919081019061577d565b6101a00151604051634f69237560e11b815281516004820152602082015160248201526001600160601b038f16604482015290915073__$58e11c6004c5796aaa8c56e718245e69a2$__90639ed246ea906064016040805180830381865af4158015611504573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152891906158eb565b60035460408051631a99b41b60e31b81529051929f509295506001600160a01b03908116945063d56cd3d593508a169163d4cda0d89160048083019260209291908290030181865afa158015611580573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a49190615251565b898d856040518563ffffffff1660e01b81526004016115c694939291906153be565b5f604051808303815f87803b1580156115dd575f80fd5b505af11580156115ef573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b03166325fa796b878e8d6040518463ffffffff1660e01b815260040161165c939291906001600160a01b039390931683526001600160601b03918216602084015216604082015260600190565b5f604051808303815f87803b158015611673575f80fd5b505af1158015611685573d5f803e3d5ffd5b5050604051631c5da14d60e11b81526001600160601b038f1660048201525f92506001600160a01b03851691506338bb429a90602401602060405180830381865afa1580156116d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116fa9190615251565b90507fa397b0d38fe748a8c29cce53eab5736ef0c29c156e7a9586ae8b88a8557b4145876001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611759573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177d91906151fe565b898f8f8f6040516117bf9594939291906001600160601b0395861681529385166020850152918416604084015283166060830152909116608082015260a00190565b60405180910390a16117d38689838f613b88565b5050505050505050505092915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600f611808611cac565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561184b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061059b9190615515565b5f808061187c600f613751565b925050915060025f9054906101000a90046001600160a01b03166001600160a01b031663e283b4a982848b8b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118ef573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061191391906151fe565b8c8c8c6040518963ffffffff1660e01b8152600401611939989796959493929190615940565b6020604051808303815f875af1158015611955573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061197991906151fe565b92507f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119fc91906151fe565b604080516001600160601b03928316815282861660208201529186169082015260600160405180910390a1505095945050505050565b6040516355205f0f60e01b81526001600160601b03821660048201525f9081908190611abd90879073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af4158015611a94573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab891906159bc565b613c39565b604051632255341b60e11b81526004810182905290915073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd969073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611b2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b4e91906159bc565b6040518263ffffffff1660e01b8152600401611b6c91815260200190565b602060405180830381865af4158015611b87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bab91906151fe565b925073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96611bd18784613c39565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611c20573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4491906159bc565b6040518263ffffffff1660e01b8152600401611c6291815260200190565b602060405180830381865af4158015611c7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ca191906151fe565b915050935093915050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611cfc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061059b91906159d3565b33611d29612509565b6001600160a01b0316816001600160a01b031614611d645760405162d1953b60e31b81526001600160a01b03821660048201526024016108be565b816001600160a01b03163b5f03611d99576040516361798f2f60e11b81526001600160a01b03831660048201526024016108be565b61051582613c4d565b6040516302d764c760e21b81526001600160601b03831660048201525f908190819081906001600160a01b03881690630b5d931c906024015f60405180830381865afa158015611df4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e1b919081019061577d565b60a001516040516357f80bbf60e01b81526001600160601b03821660048201529094505f906001600160a01b038916906357f80bbf9060240160e060405180830381865afa158015611e6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e939190615584565b905080608001519150611eaf8160a001518260c0015188611a32565b9599909850949650909450505050565b5f80611eca3361050e565b5f80611f368a6001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f0b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f2f9190615251565b8987611da2565b600254604051634adcf90960e01b81529398509196509294509192506001600160a01b0390911690634adcf90990611f78908d908b908b9089906004016153be565b5f604051808303815f87803b158015611f8f575f80fd5b505af1158015611fa1573d5f803e3d5ffd5b5050505060045f9054906101000a90046001600160a01b03166001600160a01b031663ea48ce9b8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612004573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061202891906151fe565b8b876040518463ffffffff1660e01b815260040161204893929190615530565b6020604051808303815f875af1158015612064573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061208891906151fe565b508015612185575f6120a26001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa1580156120ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121139190615251565b604051634deed57960e01b81526001600160601b03808b166004830152808a166024830152871660448201529091506001600160a01b03821690634deed579906064015f604051808303815f87803b15801561216d575f80fd5b505af115801561217f573d5f803e3d5ffd5b50505050505b5050965096945050505050565b5f805f80516020615e2383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156121fe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612222919061556b565b156122ad576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612283573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a79190615251565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020615e4383398151915280545f9190600160a01b900460ff166122ea575f6122a7565b638fb3603760e01b91505090565b5f80612304600f613751565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612346573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061236a9190615251565b6040516357f80bbf60e01b81526001600160601b03851660048201529091505f906001600160a01b038316906357f80bbf9060240160e060405180830381865afa1580156123ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123de9190615584565b80516001600160601b038716825260408051631a99b41b60e31b8152905192935090916001600160a01b0386169163d4cda0d89160048083019260209291908290030181865afa158015612434573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124589190615251565b6001600160a01b03166328802681868460ff6040518463ffffffff1660e01b8152600401612488939291906159ee565b5f604051808303815f87803b15801561249f575f80fd5b505af11580156124b1573d5f803e3d5ffd5b5050604080516001600160601b03898116825285811660208301528a168183015290517f59c52d680289bf3ed1eaf8c98c2385d021cbc74043dd1ed596d6383f63235ffc9350908190036060019150a1505050505050565b5f80516020615e43833981519152546001600160a01b031690565b5f80612530600f613751565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b03891660248301529496509194505f93849350169063aa9acb2c9060440160408051808303815f875af1158015612590573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125b491906158eb565b9150915060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a2846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612617573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061263b9190615251565b866126468686613af4565b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561268d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126b191906151fe565b6040518563ffffffff1660e01b81526004016126d094939291906153be565b5f604051808303815f87803b1580156126e7575f80fd5b505af11580156126f9573d5f803e3d5ffd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561275a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277e91906151fe565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a16127b38282613af4565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af415801561280a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061282e919061556b565b156129fb575f836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612870573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128949190615251565b60405163f0ea17c360e01b81526001600160601b03871660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa1580156128e0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261290791908101906153fb565b905080604001516001600160a01b03166354f0d84c82606001516129336001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038b1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612980573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129a49190615251565b6129ae8787613af4565b6040518463ffffffff1660e01b81526004016129cc939291906154d5565b5f604051808303815f87803b1580156129e3575f80fd5b505af11580156129f5573d5f803e3d5ffd5b50505050505b5050505050565b612a0b3361050e565b60208201515f612a236001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015612a6f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a969190810190615625565b6020015190505f876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ad9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612afd9190615251565b905060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a282848773__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b9091906151fe565b6040518563ffffffff1660e01b8152600401612baf94939291906153be565b5f604051808303815f87803b158015612bc6575f80fd5b505af1158015612bd8573d5f803e3d5ffd5b5050505060035f9054906101000a90046001600160a01b03166001600160a01b031663e618053f82858773__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612c49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c6d91906151fe565b6040518563ffffffff1660e01b8152600401612c8c94939291906153be565b5f604051808303815f87803b158015612ca3575f80fd5b505af1158015612cb5573d5f803e3d5ffd5b5050600254602088015160405163ad328d9f60e01b81526001600160a01b03909216935063ad328d9f9250612cf2918c918b918a906004016153be565b5f604051808303815f87803b158015612d09575f80fd5b505af1158015612d1b573d5f803e3d5ffd5b5050505060045f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612da291906151fe565b89876040518463ffffffff1660e01b8152600401612dc293929190615530565b6020604051808303815f875af1158015612dde573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e0291906151fe565b505050505050505050565b5f80612e19600f613751565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e7f9190615251565b90505f612e8b84613cad565b60405163bd7d9d8560e01b81526001600160601b03891660048201529091505f906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa158015612eda573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612f019190810190615a7c565b9050612f10815f0151836137ed565b15612f4c578051604051636083e75360e01b81526001600160601b03808b166004830152918216602482015290831660448201526064016108be565b604080516001600160601b038a8116825261ffff8a16602083015288168183015290517f6a2b4f9e8a4bb9038617a047352d25c5ac3c64c4aaba95e576b978a91b6666fb9181900360600190a16040516302d764c760e21b81526001600160601b03831660048201526001600160a01b03841690630b5d931c906024015f60405180830381865afa158015612fe3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261300a919081019061577d565b5115613108575f6130236001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015613070573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130949190615251565b6040516370f90b7d60e11b81526001600160601b03808c16600483015261ffff8b166024830152891660448201529091506001600160a01b0382169063e1f216fa906064015f604051808303815f87803b1580156130f0575f80fd5b505af1158015613102573d5f803e3d5ffd5b50505050505b5050505050505050565b61311b3361050e565b81601f6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015613180573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131a4919061556b565b6131d55760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016108be565b5f6131e86001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015613237573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261325e9190810190615625565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091505f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa1580156132b3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526132da9190810190615625565b90505f6132e78483613d3d565b90505f6132fd8860e00151896101600151613af4565b90505f6133148961010001518a6101800151613af4565b90505f896060015190505f846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561335b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061337f9190615251565b60035487519192506001600160a01b03169063d56cd3d59083906133a38688613af4565b886040518563ffffffff1660e01b81526004016133c394939291906153be565b5f604051808303815f87803b1580156133da575f80fd5b505af11580156133ec573d5f803e3d5ffd5b505060035489516040516325e451d360e01b81526001600160a01b0390921693506325e451d3925061342791859190879089906004016153be565b5f604051808303815f87803b15801561343e575f80fd5b505af1158015613450573d5f803e3d5ffd5b50505050505050505050505050505050565b5f80516020615e438339815191525f8061349a61347d612509565b873061348c60045f8a8c615c0f565b61349591615c36565b613df9565b9150915081610f6a5763ffffffff81161561353557825460ff60a01b1916600160a01b1783556134c8612509565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016134f793929190615c6e565b5f604051808303815f87803b15801561350e575f80fd5b505af1158015613520573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f6a9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108be565b5f805f80516020615e2383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156135c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135e8919061556b565b156136145780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108be565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613666573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061368a919061556b565b6136b25760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108be565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613704573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061372891906151fe565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f61375a6147b8565b5f61376d6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156137b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137d591906151fe565b92506137e383856001613f01565b9395909450915050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af415801561384e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613872919061556b565b9392505050565b6101e7614190565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044015b602060405180830381865af41580156138e2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061387291906151fe565b5f80516020615e638339815191528054600160401b810460ff1615906001600160401b03165f811580156139375750825b90505f826001600160401b031660011480156139525750303b155b905081158015613960575080155b1561397e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156139a857845460ff60401b1916600160401b1785555b5f80878060200190518101906139be9190615c9b565b915091506139cd82828b6141c8565b6139d7601f61430d565b600280546001600160a01b0319166001600160a01b0392909216919091179055613a01600b61430d565b600380546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b0316630e9ed68b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a809190615251565b600480546001600160a01b0319166001600160a01b0392909216919091179055613ab06306bad81760e21b61439e565b5050831561106557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161105c565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044016138c7565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c90604401613833565b60405163f0ea17c360e01b81526001600160601b03841660048201525f906001600160a01b0386169063f0ea17c3906024015f60405180830381865afa158015613bd4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613bfb91908101906153fb565b90505f8160600151905081604001516001600160a01b031663c7d63d578583866040518463ffffffff1660e01b81526004016129cc939291906154d5565b5f6138728383670de0b6b3a76400006143ca565b5f80516020615e4383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f613cc06001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015613d0c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613d339190810190615625565b6020015192915050565b5f613d598260400151613d4e600c90565b60ff90811691161490565b15613d7357613d6c838360200151614486565b9050610c48565b60208201516040516305247a1760e51b81526001600160601b0390911660048201526138729084906001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613dc9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613df09190810190615625565b60200151614486565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613e679190615cc8565b5f60405180830381855afa9150503d805f8114613e9f576040519150601f19603f3d011682016040523d82523d5f602084013e613ea4565b606091505b50915091508115613ef6576040815110613ed65780806020019051810190613ecc9190615cde565b9094509250613ef6565b6020815110613ef65780806020019051810190613ef3919061556b565b93505b505094509492505050565b613f096147b8565b5f80613f1d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613f6a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613f919190810190615625565b925060ff8516600b14613fef57604083015160ff868116911614613fea57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016108be565b614080565b613fff8360400151613d4e600c90565b8061401557506140158360400151613d4e600f90565b8061402b575061402b8360400151613d4e600e90565b8061404157506140418360400151613d4e600d90565b61408057604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016108be565b61408a8184613d3d565b9150831561418757816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140f29190615251565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801561413a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061415e919061556b565b1561418757604051637d71120960e11b81526001600160601b03871660048201526024016108be565b50935093915050565b5f80516020615e6383398151915254600160401b900460ff166141c657604051631afcd79f60e31b815260040160405180910390fd5b565b6141d0614190565b6141d86144f7565b6001600160a01b038216156141f5576141f082614507565b61426c565b5f614200600261430d565b905061426a816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614241573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142659190615251565b614507565b505b6142e883846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156142ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142d091906151fe565b60085f8560405180602001604052805f81525061451b565b6142f8634a531f3360e01b61439e565b61430863daf9067160e01b61439e565b505050565b5f6143206001546001600160a01b031690565b6001600160a01b031663d39e604383614337611cac565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561437a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c489190615251565b6143a6614190565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f80805f19858709858702925082811083820303915050805f03614401578382816143f7576143f7615d10565b0492505050613872565b80841161442057604051629540d960e61b815260040160405180910390fd5b5f84868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203025f889003889004909101858311909403939093029303949094049190911702949350505050565b60405163bf8e179760e01b81526001600160601b03821660048201525f906001600160a01b0384169063bf8e179790602401602060405180830381865afa1580156144d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138729190615251565b6144ff614190565b6141c66145b6565b61450f614190565b614518816145e4565b50565b614523614190565b61452d86836145f5565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016131088382615d68565b6145be614190565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6145ec614190565b61451881613c4d565b6145fd614190565b6146068261466b565b61460e614773565b6001600160a01b0381166146355760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020615e2383398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614673614190565b806001600160a01b03163b5f036146a85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108be565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015614722575060408051601f3d908101601f1916820190925261471f9181019061556b565b60015b61474a5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108be565b806105155760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108be565b61477b614190565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215614805575f80fd5b81356001600160e01b031981168114613872575f80fd5b6001600160601b0381168114614518575f80fd5b803561483b8161481c565b919050565b5f8060408385031215614851575f80fd5b823561485c8161481c565b9150602083013561486c8161481c565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516148ed608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152614931610100840182614877565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b038111828210171561497057614970614939565b60405290565b604080519081016001600160401b038111828210171561497057614970614939565b60405161024081016001600160401b038111828210171561497057614970614939565b60405160c081016001600160401b038111828210171561497057614970614939565b60405160a081016001600160401b038111828210171561497057614970614939565b60405160e081016001600160401b038111828210171561497057614970614939565b6040516101e081016001600160401b038111828210171561497057614970614939565b604051601f8201601f191681016001600160401b0381118282101715614a6c57614a6c614939565b604052919050565b5f6001600160401b03821115614a8c57614a8c614939565b50601f01601f191660200190565b5f82601f830112614aa9575f80fd5b8135614abc614ab782614a74565b614a44565b818152846020838601011115614ad0575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215614afc575f80fd5b81356001600160401b03811115614b11575f80fd5b61493184828501614a9a565b6001600160a01b0381168114614518575f80fd5b6001600160c01b031981168114614518575f80fd5b803561483b81614b31565b64ffffffffff81168114614518575f80fd5b803561483b81614b51565b61ffff81168114614518575f80fd5b803561483b81614b6e565b5f6102008284031215614b99575f80fd5b614ba161494d565b9050614bac82614830565b8152614bba60208301614830565b6020820152614bcb60408301614b46565b6040820152614bdc60608301614b46565b6060820152614bed60808301614830565b6080820152614bfe60a08301614830565b60a0820152614c0f60c08301614b63565b60c082015260e08201356001600160401b03811115614c2c575f80fd5b614c3884828501614a9a565b60e0830152506101008201356001600160401b03811115614c57575f80fd5b614c6384828501614a9a565b61010083015250614c776101208301614b7d565b610120820152614c8a6101408301614b7d565b610140820152614c9d6101608301614830565b610160820152614cb06101808301614830565b610180820152614cc36101a08301614b63565b6101a0820152614cd66101c08301614b63565b6101c0820152614ce96101e08301614b63565b6101e082015292915050565b5f805f8060808587031215614d08575f80fd5b8435614d1381614b1d565b93506020850135614d2381614b1d565b92506040850135614d338161481c565b915060608501356001600160401b03811115614d4d575f80fd5b614d5987828801614b88565b91505092959194509250565b5f8060408385031215614d76575f80fd5b8235614d8181614b1d565b915060208301356001600160401b03811115614d9b575f80fd5b614da785828601614a9a565b9150509250929050565b5f805f805f85870360a0811215614dc6575f80fd5b8635614dd181614b1d565b95506040601f1982011215614de4575f80fd5b50614ded614976565b602087810135825260408801359082015293506060860135614e0e81614b51565b925060808601356001600160401b03811115614e28575f80fd5b8601601f81018813614e38575f80fd5b80356001600160401b03811115614e4d575f80fd5b886020828401011115614e5e575f80fd5b959894975092955050506020019190565b5f805f60608486031215614e81575f80fd5b83359250602084013591506040840135614e9a8161481c565b809150509250925092565b5f60208284031215614eb5575f80fd5b813561387281614b1d565b5f805f60608486031215614ed2575f80fd5b8335614edd81614b1d565b92506020840135614eed8161481c565b91506040840135614e9a8161481c565b5f805f805f8060c08789031215614f12575f80fd5b8635614f1d81614b1d565b95506020870135614f2d81614b1d565b94506040870135614f3d8161481c565b93506060870135614f4d8161481c565b92506080870135614f5d8161481c565b915060a0870135614f6d8161481c565b809150509295509295509295565b5f60208284031215614f8b575f80fd5b81356138728161481c565b5f805f805f60a08688031215614faa575f80fd5b8535614fb581614b1d565b94506020860135614fc581614b1d565b93506040860135614fd58161481c565b925060608601356001600160401b03811115614fef575f80fd5b614ffb88828901614b88565b925050608086013561500c8161481c565b809150509295509295909350565b5f805f6060848603121561502c575f80fd5b83356150378161481c565b92506020840135614eed81614b6e565b5f8082840361026081121561505a575f80fd5b83356150658161481c565b9250610240601f1982011215615079575f80fd5b50615082614998565b61508e60208501614830565b815261509c60408501614830565b60208201526150ad60608501614830565b60408201526150be60808501614830565b60608201526150cf60a08501614830565b60808201526150e060c08501614830565b60a08201526150f160e08501614830565b60c08201526151036101008501614830565b60e08201526151156101208501614830565b6101008201526151286101408501614830565b61012082015261513b6101608501614830565b61014082015261514e6101808501614830565b6101608201526151616101a08501614830565b6101808201526151746101c08501614830565b6101a08201526151876101e08501614830565b6101c082015261519a6102008501614830565b6101e08201526151ad6102208501614830565b6102008201526151c06102408501614830565b610220820152809150509250929050565b5f602082840312156151e1575f80fd5b815162ffffff81168114613872575f80fd5b805161483b8161481c565b5f6020828403121561520e575f80fd5b81516138728161481c565b600181811c9082168061522d57607f821691505b60208210810361524b57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215615261575f80fd5b815161387281614b1d565b5f6040828403121561527c575f80fd5b615284614976565b825181526020928301519281019290925250919050565b5f6152a8614ab784614a74565b90508281528383830111156152bb575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126152e0575f80fd5b6138728383516020850161529b565b805161483b81614b51565b5f6020828403121561530a575f80fd5b81516001600160401b0381111561531f575f80fd5b820160e08185031215615330575f80fd5b6153386149bb565b81516153438161481c565b8152615352856020840161526c565b602082015260608201516001600160401b0381111561536f575f80fd5b61537b868285016152d1565b604083015250608082015161538f81614b51565b60608201526153a060a083016152ef565b60808201526153b160c083016152ef565b60a0820152949350505050565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b805161483b81614b1d565b5f6020828403121561540b575f80fd5b81516001600160401b03811115615420575f80fd5b820160a08185031215615431575f80fd5b6154396149dd565b81516001600160401b0381111561544e575f80fd5b8201601f8101861361545e575f80fd5b61546d8682516020840161529b565b82525061547c602083016153f0565b602082015261548d604083016153f0565b604082015261549e606083016153f0565b606082015260808201516001600160401b038111156154bb575f80fd5b6154c7868285016152d1565b608083015250949350505050565b6001600160a01b0393841681529190921660208201526001600160601b03909116604082015260600190565b6001600160401b0381168114614518575f80fd5b5f60208284031215615525575f80fd5b815161387281615501565b6001600160601b0393841681526001600160a01b03929092166020830152909116604082015260600190565b8051801515811461483b575f80fd5b5f6020828403121561557b575f80fd5b6138728261555c565b5f60e0828403128015615595575f80fd5b5061559e6149ff565b82516155a98161481c565b81526155b76020840161555c565b60208201526155c86040840161555c565b60408201526155d96060840161555c565b60608201526155ea6080840161555c565b608082015260a0838101519082015260c0928301519281019290925250919050565b60ff81168114614518575f80fd5b805161483b8161560c565b5f60208284031215615635575f80fd5b81516001600160401b0381111561564a575f80fd5b820160e0818503121561565b575f80fd5b6156636149ff565b61566c826151f3565b815261567a602083016151f3565b602082015261568b6040830161561a565b604082015261569c6060830161555c565b60608201526156ad608083016153f0565b60808201526156be60a083016153f0565b60a082015260c08201516001600160401b038111156156db575f80fd5b6156e7868285016152d1565b60c083015250949350505050565b5f82601f830112615704575f80fd5b81516001600160401b0381111561571d5761571d614939565b8060051b61572d60208201614a44565b91825260208185018101929081019086841115615748575f80fd5b6020860192505b838310156157735782516157628161481c565b82526020928301929091019061574f565b9695505050505050565b5f6020828403121561578d575f80fd5b81516001600160401b038111156157a2575f80fd5b82016102c081850312156157b4575f80fd5b6157bc614a21565b6157c58261555c565b81526157d36020830161555c565b60208201526157e46040830161555c565b60408201526157f56060830161561a565b60608201526158066080830161561a565b608082015261581760a083016151f3565b60a082015261582860c083016151f3565b60c082015260e08201516001600160401b03811115615845575f80fd5b615851868285016156f5565b60e08301525061586585610100840161526c565b61010082015261587985610140840161526c565b61012082015261588d85610180840161526c565b6101408201526158a1856101c0840161526c565b6101608201526158b585610200840161526c565b6101808201526158c985610240840161526c565b6101a08201526158dd85610280840161526c565b6101c0820152949350505050565b5f80604083850312156158fc575f80fd5b82516159078161481c565b602084015190925061486c8161481c565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682526001600160601b03891660208301528716604082015261597a606082018780518252602090810151910152565b6001600160601b03851660a082015264ffffffffff841660c082015261010060e08201525f6159ae61010083018486615918565b9a9950505050505050505050565b5f602082840312156159cc575f80fd5b5051919050565b5f602082840312156159e3575f80fd5b81516138728161560c565b5f610120820190506001600160601b03851682526001600160601b0384511660208301526020840151151560408301526040840151151560608301526060840151151560808301526080840151151560a083015260a084015160c083015260c084015160e083015261493161010083018460ff169052565b805161483b81614b31565b805161483b81614b6e565b5f60208284031215615a8c575f80fd5b81516001600160401b03811115615aa1575f80fd5b82016102008185031215615ab3575f80fd5b615abb61494d565b615ac4826151f3565b8152615ad2602083016151f3565b6020820152615ae360408301615a66565b6040820152615af460608301615a66565b6060820152615b05608083016151f3565b6080820152615b1660a083016151f3565b60a0820152615b2760c083016152ef565b60c082015260e08201516001600160401b03811115615b44575f80fd5b615b50868285016152d1565b60e0830152506101008201516001600160401b03811115615b6f575f80fd5b615b7b868285016152d1565b61010083015250615b8f6101208301615a71565b610120820152615ba26101408301615a71565b610140820152615bb561016083016151f3565b610160820152615bc861018083016151f3565b610180820152615bdb6101a083016152ef565b6101a0820152615bee6101c083016152ef565b6101c0820152615c016101e083016152ef565b6101e0820152949350505050565b5f8085851115615c1d575f80fd5b83861115615c29575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015615c67576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190525f90615c929083018486615918565b95945050505050565b5f8060408385031215615cac575f80fd5b8251615cb781614b1d565b602084015190925061486c81614b1d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615cef575f80fd5b615cf88361555c565b9150602083015163ffffffff8116811461486c575f80fd5b634e487b7160e01b5f52601260045260245ffd5b601f82111561430857805f5260205f20601f840160051c81016020851015615d495750805b601f840160051c820191505b818110156129fb575f8155600101615d55565b81516001600160401b03811115615d8157615d81614939565b615d9581615d8f8454615219565b84615d24565b6020601f821160018114615dc7575f8315615db05750848201515b5f19600385901b1c1916600184901b1784556129fb565b5f84815260208120601f198516915b82811015615df65787850151825560209485019460019092019101615dd6565b5084821015615e1357868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220355eab2dbdf44dd76e27de82e061fb233cb96caaef2e70f0cc56fa72800b141864736f6c634300081a0033",
1394
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101e7575f3560e01c806376b707b711610109578063b68d18091161009e578063d0d63b091161006e578063d0d63b09146104bd578063db02f7d3146104d0578063e1f216fa146104e3578063fb3bcd1f146104f6575f80fd5b8063b68d18091461049b578063bca99e39146104a2578063bf7e214f146104b5578063ca510bf61461022c575f80fd5b80638899278a116100d95780638899278a14610456578063893d20e81461045e5780638fb3603714610466578063ada9652e14610487575f80fd5b806376b707b7146103ce5780637a9e5e4b146103e857806384a710fa146103fb57806384d1f7cf14610443575f80fd5b806332f9f3df1161017f5780636c1e9dff1161014f5780636c1e9dff146103555780636c741e781461036857806371504a32146103885780637225ed011461039b575f80fd5b806332f9f3df146102ed57806349bb9e4b146103005780635ab1bd5314610313578063644c45e014610338575f80fd5b8063138461e0116101ba578063138461e0146102725780631eff4b221461029257806326889b09146102c7578063329d6e74146102da575f80fd5b806301ffc9a7146101eb578063066257831461022c5780630d8e6e2c146102415780630fec111c1461025d575b5f80fd5b6102176101f93660046147f5565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004614840565b610509565b005b610249610519565b60405162ffffff9091168152602001610223565b6102656105a0565b60405161022391906148a5565b61027a61072c565b6040516001600160601b039091168152602001610223565b6102b97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61027a6102d5366004614840565b610736565b61023f6102e8366004614aec565b610c4e565b61023f6102fb366004614cf5565b610d98565b61023f61030e366004614d65565b610f72565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b5f80516020615e23833981519152546001600160601b031661027a565b61027a610363366004614840565b61106e565b6103706117e3565b6040516001600160401b039091168152602001610223565b61027a610396366004614db1565b61186f565b6103ae6103a9366004614e6f565b611a32565b604080516001600160601b03938416815292909116602083015201610223565b6103d6611cac565b60405160ff9091168152602001610223565b61023f6103f6366004614ea5565b611d20565b61040e610409366004614ec0565b611da2565b60405161022394939291906001600160601b039485168152928416602084015292166040820152901515606082015260800190565b6103ae610451366004614efd565b611ebf565b6102b9600381565b610320612192565b61046e6122c3565b6040516001600160e01b03199091168152602001610223565b6102b95f80516020615e2383398151915281565b600f6103d6565b61023f6104b0366004614f7b565b6122f8565b610320612509565b61023f6104cb366004614f7b565b612524565b61023f6104de366004614f96565b612a02565b61023f6104f136600461501a565b612e0d565b61023f610504366004615047565b613112565b610515335b5f36613462565b5050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610577573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061059b91906151d1565b905090565b6105a86147b8565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561061e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064291906151fe565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161068a612192565b6001600160a01b031681526020018260010180546106a790615219565b80601f01602080910402602001604051908101604052809291908181526020018280546106d390615219565b801561071e5780601f106106f55761010080835404028352916020019161071e565b820191905f5260205f20905b81548152906001019060200180831161070157829003601f168201915b505050505081525091505090565b5f61059b30613558565b5f8080610743600f613751565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610785573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a99190615251565b90505f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080c9190615251565b604051634793b4ab60e01b81526001600160601b03891660048201529091505f906001600160a01b03841690634793b4ab906024015f60405180830381865afa15801561085b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261088291908101906152fa565b9050610891815f0151866137ed565b156108c757604051630a49ea2360e01b81526001600160601b03808a166004830152861660248201526044015b60405180910390fd5b600254604051631696791160e11b81526001600160a01b0386811660048301526001600160601b03808c1660248401528a1660448301525f921690632d2cf222906064016020604051808303815f875af1158015610927573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094b91906151fe565b905060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a284888473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156109ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109de91906151fe565b6040518563ffffffff1660e01b81526004016109fd94939291906153be565b5f604051808303815f87803b158015610a14575f80fd5b505af1158015610a26573d5f803e3d5ffd5b505060405163f0ea17c360e01b81526001600160601b03891660048201525f92506001600160a01b038716915063f0ea17c3906024015f60405180830381865afa158015610a76573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a9d91908101906153fb565b90505f610ab26001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038d1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610aff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b239190615251565b90507fa9e4ee5628423184bfcde002aae428406aeac6b337e1acf560282b155e358527876001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba691906151fe565b604080516001600160601b0392831681528b831660208201528e8316818301529186166060830152519081900360800190a181604001516001600160a01b03166354f0d84c836060015183866040518463ffffffff1660e01b8152600401610c10939291906154d5565b5f604051808303815f87803b158015610c27575f80fd5b505af1158015610c39573d5f803e3d5ffd5b50949a50505050505050505050505b92915050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610c70610519565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd29190615515565b5f80516020615e638339815191528054600160401b900460ff1680610d04575080546001600160401b03808416911610155b15610d225760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d4c83613879565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610da13361050e565b5f610db58260800151836101600151613881565b600254602084015160405163ad328d9f60e01b81529293506001600160a01b039091169163ad328d9f91610df1918991889187906004016153be565b5f604051808303815f87803b158015610e08575f80fd5b505af1158015610e1a573d5f803e3d5ffd5b50506002546040516301d90a6f60e61b81526001600160a01b0389811660048301526001600160601b038816602483015290911692506376429bc091506044015f604051808303815f87803b158015610e71575f80fd5b505af1158015610e83573d5f803e3d5ffd5b5050505060045f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ee6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f0a91906151fe565b86846040518463ffffffff1660e01b8152600401610f2a93929190615530565b6020604051808303815f875af1158015610f46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6a91906151fe565b505050505050565b5f80516020615e638339815191528054600160401b810460ff1615906001600160401b03165f81158015610fa35750825b90505f826001600160401b03166001148015610fbe5750303b155b905081158015610fcc575080155b15610fea5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561101457845460ff60401b1916600160401b1785555b61101e8787613906565b831561106557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f82601f6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156110d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f8919061556b565b6111295760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016108be565b5f80611135600f613751565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611177573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119b9190615251565b604051634793b4ab60e01b81526001600160601b038a1660048201529091505f906001600160a01b03831690634793b4ab906024015f60405180830381865afa1580156111ea573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261121191908101906152fa565b6040516357f80bbf60e01b81526001600160601b03861660048201529091505f906001600160a01b038416906357f80bbf9060240160e060405180830381865afa158015611261573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112859190615584565b9050611294825f0151866137ed565b156112c557604051630a49ea2360e01b81526001600160601b03808c166004830152861660248201526044016108be565b6040516308a390bb60e21b81526001600160601b03861660048201525f906001600160a01b0385169063228e42ec90602401602060405180830381865afa158015611312573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061133691906151fe565b905061134c611345828c613af4565b8351613b3e565b1561139057815160405163b806175d60e01b81526001600160601b03808916600483015291821660248201528183166044820152908b1660648201526084016108be565b505f6113a46001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091505f9081906001600160a01b0384169063a48f42e0906024015f60405180830381865afa1580156113f5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261141c9190810190615625565b602001516040516302d764c760e21b81526001600160601b03821660048201529091505f906001600160a01b03881690630b5d931c906024015f60405180830381865afa15801561146f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611496919081019061577d565b6101a00151604051634f69237560e11b815281516004820152602082015160248201526001600160601b038f16604482015290915073__$58e11c6004c5796aaa8c56e718245e69a2$__90639ed246ea906064016040805180830381865af4158015611504573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152891906158eb565b60035460408051631a99b41b60e31b81529051929f509295506001600160a01b03908116945063d56cd3d593508a169163d4cda0d89160048083019260209291908290030181865afa158015611580573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a49190615251565b898d856040518563ffffffff1660e01b81526004016115c694939291906153be565b5f604051808303815f87803b1580156115dd575f80fd5b505af11580156115ef573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b03166325fa796b878e8d6040518463ffffffff1660e01b815260040161165c939291906001600160a01b039390931683526001600160601b03918216602084015216604082015260600190565b5f604051808303815f87803b158015611673575f80fd5b505af1158015611685573d5f803e3d5ffd5b5050604051631c5da14d60e11b81526001600160601b038f1660048201525f92506001600160a01b03851691506338bb429a90602401602060405180830381865afa1580156116d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116fa9190615251565b90507fa397b0d38fe748a8c29cce53eab5736ef0c29c156e7a9586ae8b88a8557b4145876001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611759573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177d91906151fe565b898f8f8f6040516117bf9594939291906001600160601b0395861681529385166020850152918416604084015283166060830152909116608082015260a00190565b60405180910390a16117d38689838f613b88565b5050505050505050505092915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600f611808611cac565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561184b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061059b9190615515565b5f808061187c600f613751565b925050915060025f9054906101000a90046001600160a01b03166001600160a01b031663e283b4a982848b8b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118ef573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061191391906151fe565b8c8c8c6040518963ffffffff1660e01b8152600401611939989796959493929190615940565b6020604051808303815f875af1158015611955573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061197991906151fe565b92507f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119fc91906151fe565b604080516001600160601b03928316815282861660208201529186169082015260600160405180910390a1505095945050505050565b6040516355205f0f60e01b81526001600160601b03821660048201525f9081908190611abd90879073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af4158015611a94573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab891906159bc565b613c39565b604051632255341b60e11b81526004810182905290915073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd969073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611b2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b4e91906159bc565b6040518263ffffffff1660e01b8152600401611b6c91815260200190565b602060405180830381865af4158015611b87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bab91906151fe565b925073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96611bd18784613c39565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611c20573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4491906159bc565b6040518263ffffffff1660e01b8152600401611c6291815260200190565b602060405180830381865af4158015611c7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ca191906151fe565b915050935093915050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611cfc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061059b91906159d3565b33611d29612509565b6001600160a01b0316816001600160a01b031614611d645760405162d1953b60e31b81526001600160a01b03821660048201526024016108be565b816001600160a01b03163b5f03611d99576040516361798f2f60e11b81526001600160a01b03831660048201526024016108be565b61051582613c4d565b6040516302d764c760e21b81526001600160601b03831660048201525f908190819081906001600160a01b03881690630b5d931c906024015f60405180830381865afa158015611df4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e1b919081019061577d565b60a001516040516357f80bbf60e01b81526001600160601b03821660048201529094505f906001600160a01b038916906357f80bbf9060240160e060405180830381865afa158015611e6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e939190615584565b905080608001519150611eaf8160a001518260c0015188611a32565b9599909850949650909450505050565b5f80611eca3361050e565b5f80611f368a6001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f0b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f2f9190615251565b8987611da2565b600254604051634adcf90960e01b81529398509196509294509192506001600160a01b0390911690634adcf90990611f78908d908b908b9089906004016153be565b5f604051808303815f87803b158015611f8f575f80fd5b505af1158015611fa1573d5f803e3d5ffd5b5050505060045f9054906101000a90046001600160a01b03166001600160a01b031663ea48ce9b8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612004573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061202891906151fe565b8b876040518463ffffffff1660e01b815260040161204893929190615530565b6020604051808303815f875af1158015612064573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061208891906151fe565b508015612185575f6120a26001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa1580156120ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121139190615251565b604051634deed57960e01b81526001600160601b03808b166004830152808a166024830152871660448201529091506001600160a01b03821690634deed579906064015f604051808303815f87803b15801561216d575f80fd5b505af115801561217f573d5f803e3d5ffd5b50505050505b5050965096945050505050565b5f805f80516020615e2383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156121fe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612222919061556b565b156122ad576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612283573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a79190615251565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020615e4383398151915280545f9190600160a01b900460ff166122ea575f6122a7565b638fb3603760e01b91505090565b5f80612304600f613751565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612346573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061236a9190615251565b6040516357f80bbf60e01b81526001600160601b03851660048201529091505f906001600160a01b038316906357f80bbf9060240160e060405180830381865afa1580156123ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123de9190615584565b80516001600160601b038716825260408051631a99b41b60e31b8152905192935090916001600160a01b0386169163d4cda0d89160048083019260209291908290030181865afa158015612434573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124589190615251565b6001600160a01b03166328802681868460ff6040518463ffffffff1660e01b8152600401612488939291906159ee565b5f604051808303815f87803b15801561249f575f80fd5b505af11580156124b1573d5f803e3d5ffd5b5050604080516001600160601b03898116825285811660208301528a168183015290517f59c52d680289bf3ed1eaf8c98c2385d021cbc74043dd1ed596d6383f63235ffc9350908190036060019150a1505050505050565b5f80516020615e43833981519152546001600160a01b031690565b5f80612530600f613751565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b03891660248301529496509194505f93849350169063aa9acb2c9060440160408051808303815f875af1158015612590573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125b491906158eb565b9150915060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a2846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612617573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061263b9190615251565b866126468686613af4565b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561268d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126b191906151fe565b6040518563ffffffff1660e01b81526004016126d094939291906153be565b5f604051808303815f87803b1580156126e7575f80fd5b505af11580156126f9573d5f803e3d5ffd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561275a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277e91906151fe565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a16127b38282613af4565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af415801561280a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061282e919061556b565b156129fb575f836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612870573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128949190615251565b60405163f0ea17c360e01b81526001600160601b03871660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa1580156128e0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261290791908101906153fb565b905080604001516001600160a01b03166354f0d84c82606001516129336001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038b1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612980573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129a49190615251565b6129ae8787613af4565b6040518463ffffffff1660e01b81526004016129cc939291906154d5565b5f604051808303815f87803b1580156129e3575f80fd5b505af11580156129f5573d5f803e3d5ffd5b50505050505b5050505050565b612a0b3361050e565b60208201515f612a236001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015612a6f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a969190810190615625565b6020015190505f876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ad9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612afd9190615251565b905060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a282848773__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b9091906151fe565b6040518563ffffffff1660e01b8152600401612baf94939291906153be565b5f604051808303815f87803b158015612bc6575f80fd5b505af1158015612bd8573d5f803e3d5ffd5b5050505060035f9054906101000a90046001600160a01b03166001600160a01b031663e618053f82858773__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612c49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c6d91906151fe565b6040518563ffffffff1660e01b8152600401612c8c94939291906153be565b5f604051808303815f87803b158015612ca3575f80fd5b505af1158015612cb5573d5f803e3d5ffd5b5050600254602088015160405163ad328d9f60e01b81526001600160a01b03909216935063ad328d9f9250612cf2918c918b918a906004016153be565b5f604051808303815f87803b158015612d09575f80fd5b505af1158015612d1b573d5f803e3d5ffd5b5050505060045f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612da291906151fe565b89876040518463ffffffff1660e01b8152600401612dc293929190615530565b6020604051808303815f875af1158015612dde573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e0291906151fe565b505050505050505050565b5f80612e19600f613751565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e7f9190615251565b90505f612e8b84613cad565b60405163bd7d9d8560e01b81526001600160601b03891660048201529091505f906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa158015612eda573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612f019190810190615a7c565b9050612f10815f0151836137ed565b15612f4c578051604051636083e75360e01b81526001600160601b03808b166004830152918216602482015290831660448201526064016108be565b604080516001600160601b038a8116825261ffff8a16602083015288168183015290517f6a2b4f9e8a4bb9038617a047352d25c5ac3c64c4aaba95e576b978a91b6666fb9181900360600190a16040516302d764c760e21b81526001600160601b03831660048201526001600160a01b03841690630b5d931c906024015f60405180830381865afa158015612fe3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261300a919081019061577d565b5115613108575f6130236001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015613070573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130949190615251565b6040516370f90b7d60e11b81526001600160601b03808c16600483015261ffff8b166024830152891660448201529091506001600160a01b0382169063e1f216fa906064015f604051808303815f87803b1580156130f0575f80fd5b505af1158015613102573d5f803e3d5ffd5b50505050505b5050505050505050565b61311b3361050e565b81601f6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015613180573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131a4919061556b565b6131d55760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016108be565b5f6131e86001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015613237573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261325e9190810190615625565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091505f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa1580156132b3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526132da9190810190615625565b90505f6132e78483613d3d565b90505f6132fd8860e00151896101600151613af4565b90505f6133148961010001518a6101800151613af4565b90505f896060015190505f846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561335b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061337f9190615251565b60035487519192506001600160a01b03169063d56cd3d59083906133a38688613af4565b886040518563ffffffff1660e01b81526004016133c394939291906153be565b5f604051808303815f87803b1580156133da575f80fd5b505af11580156133ec573d5f803e3d5ffd5b505060035489516040516325e451d360e01b81526001600160a01b0390921693506325e451d3925061342791859190879089906004016153be565b5f604051808303815f87803b15801561343e575f80fd5b505af1158015613450573d5f803e3d5ffd5b50505050505050505050505050505050565b5f80516020615e438339815191525f8061349a61347d612509565b873061348c60045f8a8c615c0f565b61349591615c36565b613df9565b9150915081610f6a5763ffffffff81161561353557825460ff60a01b1916600160a01b1783556134c8612509565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016134f793929190615c6e565b5f604051808303815f87803b15801561350e575f80fd5b505af1158015613520573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f6a9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108be565b5f805f80516020615e2383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156135c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135e8919061556b565b156136145780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108be565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613666573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061368a919061556b565b6136b25760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108be565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613704573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061372891906151fe565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f61375a6147b8565b5f61376d6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156137b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137d591906151fe565b92506137e383856001613f01565b9395909450915050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af415801561384e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613872919061556b565b9392505050565b6101e7614190565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044015b602060405180830381865af41580156138e2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061387291906151fe565b5f80516020615e638339815191528054600160401b810460ff1615906001600160401b03165f811580156139375750825b90505f826001600160401b031660011480156139525750303b155b905081158015613960575080155b1561397e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156139a857845460ff60401b1916600160401b1785555b5f80878060200190518101906139be9190615c9b565b915091506139cd82828b6141c8565b6139d7601f61430d565b600280546001600160a01b0319166001600160a01b0392909216919091179055613a01600b61430d565b600380546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b0316630e9ed68b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a809190615251565b600480546001600160a01b0319166001600160a01b0392909216919091179055613ab06306bad81760e21b61439e565b5050831561106557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161105c565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044016138c7565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c90604401613833565b60405163f0ea17c360e01b81526001600160601b03841660048201525f906001600160a01b0386169063f0ea17c3906024015f60405180830381865afa158015613bd4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613bfb91908101906153fb565b90505f8160600151905081604001516001600160a01b031663c7d63d578583866040518463ffffffff1660e01b81526004016129cc939291906154d5565b5f6138728383670de0b6b3a76400006143ca565b5f80516020615e4383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f613cc06001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015613d0c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613d339190810190615625565b6020015192915050565b5f613d598260400151613d4e600c90565b60ff90811691161490565b15613d7357613d6c838360200151614486565b9050610c48565b60208201516040516305247a1760e51b81526001600160601b0390911660048201526138729084906001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613dc9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613df09190810190615625565b60200151614486565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613e679190615cc8565b5f60405180830381855afa9150503d805f8114613e9f576040519150601f19603f3d011682016040523d82523d5f602084013e613ea4565b606091505b50915091508115613ef6576040815110613ed65780806020019051810190613ecc9190615cde565b9094509250613ef6565b6020815110613ef65780806020019051810190613ef3919061556b565b93505b505094509492505050565b613f096147b8565b5f80613f1d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613f6a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613f919190810190615625565b925060ff8516600b14613fef57604083015160ff868116911614613fea57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016108be565b614080565b613fff8360400151613d4e600c90565b8061401557506140158360400151613d4e600f90565b8061402b575061402b8360400151613d4e600e90565b8061404157506140418360400151613d4e600d90565b61408057604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016108be565b61408a8184613d3d565b9150831561418757816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140f29190615251565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801561413a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061415e919061556b565b1561418757604051637d71120960e11b81526001600160601b03871660048201526024016108be565b50935093915050565b5f80516020615e6383398151915254600160401b900460ff166141c657604051631afcd79f60e31b815260040160405180910390fd5b565b6141d0614190565b6141d86144f7565b6001600160a01b038216156141f5576141f082614507565b61426c565b5f614200600261430d565b905061426a816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614241573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142659190615251565b614507565b505b6142e883846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156142ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142d091906151fe565b60085f8560405180602001604052805f81525061451b565b6142f8634a531f3360e01b61439e565b61430863daf9067160e01b61439e565b505050565b5f6143206001546001600160a01b031690565b6001600160a01b031663d39e604383614337611cac565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561437a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c489190615251565b6143a6614190565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f80805f19858709858702925082811083820303915050805f03614401578382816143f7576143f7615d10565b0492505050613872565b80841161442057604051629540d960e61b815260040160405180910390fd5b5f84868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203025f889003889004909101858311909403939093029303949094049190911702949350505050565b60405163bf8e179760e01b81526001600160601b03821660048201525f906001600160a01b0384169063bf8e179790602401602060405180830381865afa1580156144d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138729190615251565b6144ff614190565b6141c66145b6565b61450f614190565b614518816145e4565b50565b614523614190565b61452d86836145f5565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016131088382615d68565b6145be614190565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6145ec614190565b61451881613c4d565b6145fd614190565b6146068261466b565b61460e614773565b6001600160a01b0381166146355760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020615e2383398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614673614190565b806001600160a01b03163b5f036146a85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108be565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015614722575060408051601f3d908101601f1916820190925261471f9181019061556b565b60015b61474a5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108be565b806105155760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108be565b61477b614190565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215614805575f80fd5b81356001600160e01b031981168114613872575f80fd5b6001600160601b0381168114614518575f80fd5b803561483b8161481c565b919050565b5f8060408385031215614851575f80fd5b823561485c8161481c565b9150602083013561486c8161481c565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516148ed608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152614931610100840182614877565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b038111828210171561497057614970614939565b60405290565b604080519081016001600160401b038111828210171561497057614970614939565b60405161024081016001600160401b038111828210171561497057614970614939565b60405160c081016001600160401b038111828210171561497057614970614939565b60405160a081016001600160401b038111828210171561497057614970614939565b60405160e081016001600160401b038111828210171561497057614970614939565b6040516101e081016001600160401b038111828210171561497057614970614939565b604051601f8201601f191681016001600160401b0381118282101715614a6c57614a6c614939565b604052919050565b5f6001600160401b03821115614a8c57614a8c614939565b50601f01601f191660200190565b5f82601f830112614aa9575f80fd5b8135614abc614ab782614a74565b614a44565b818152846020838601011115614ad0575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215614afc575f80fd5b81356001600160401b03811115614b11575f80fd5b61493184828501614a9a565b6001600160a01b0381168114614518575f80fd5b6001600160c01b031981168114614518575f80fd5b803561483b81614b31565b64ffffffffff81168114614518575f80fd5b803561483b81614b51565b61ffff81168114614518575f80fd5b803561483b81614b6e565b5f6102008284031215614b99575f80fd5b614ba161494d565b9050614bac82614830565b8152614bba60208301614830565b6020820152614bcb60408301614b46565b6040820152614bdc60608301614b46565b6060820152614bed60808301614830565b6080820152614bfe60a08301614830565b60a0820152614c0f60c08301614b63565b60c082015260e08201356001600160401b03811115614c2c575f80fd5b614c3884828501614a9a565b60e0830152506101008201356001600160401b03811115614c57575f80fd5b614c6384828501614a9a565b61010083015250614c776101208301614b7d565b610120820152614c8a6101408301614b7d565b610140820152614c9d6101608301614830565b610160820152614cb06101808301614830565b610180820152614cc36101a08301614b63565b6101a0820152614cd66101c08301614b63565b6101c0820152614ce96101e08301614b63565b6101e082015292915050565b5f805f8060808587031215614d08575f80fd5b8435614d1381614b1d565b93506020850135614d2381614b1d565b92506040850135614d338161481c565b915060608501356001600160401b03811115614d4d575f80fd5b614d5987828801614b88565b91505092959194509250565b5f8060408385031215614d76575f80fd5b8235614d8181614b1d565b915060208301356001600160401b03811115614d9b575f80fd5b614da785828601614a9a565b9150509250929050565b5f805f805f85870360a0811215614dc6575f80fd5b8635614dd181614b1d565b95506040601f1982011215614de4575f80fd5b50614ded614976565b602087810135825260408801359082015293506060860135614e0e81614b51565b925060808601356001600160401b03811115614e28575f80fd5b8601601f81018813614e38575f80fd5b80356001600160401b03811115614e4d575f80fd5b886020828401011115614e5e575f80fd5b959894975092955050506020019190565b5f805f60608486031215614e81575f80fd5b83359250602084013591506040840135614e9a8161481c565b809150509250925092565b5f60208284031215614eb5575f80fd5b813561387281614b1d565b5f805f60608486031215614ed2575f80fd5b8335614edd81614b1d565b92506020840135614eed8161481c565b91506040840135614e9a8161481c565b5f805f805f8060c08789031215614f12575f80fd5b8635614f1d81614b1d565b95506020870135614f2d81614b1d565b94506040870135614f3d8161481c565b93506060870135614f4d8161481c565b92506080870135614f5d8161481c565b915060a0870135614f6d8161481c565b809150509295509295509295565b5f60208284031215614f8b575f80fd5b81356138728161481c565b5f805f805f60a08688031215614faa575f80fd5b8535614fb581614b1d565b94506020860135614fc581614b1d565b93506040860135614fd58161481c565b925060608601356001600160401b03811115614fef575f80fd5b614ffb88828901614b88565b925050608086013561500c8161481c565b809150509295509295909350565b5f805f6060848603121561502c575f80fd5b83356150378161481c565b92506020840135614eed81614b6e565b5f8082840361026081121561505a575f80fd5b83356150658161481c565b9250610240601f1982011215615079575f80fd5b50615082614998565b61508e60208501614830565b815261509c60408501614830565b60208201526150ad60608501614830565b60408201526150be60808501614830565b60608201526150cf60a08501614830565b60808201526150e060c08501614830565b60a08201526150f160e08501614830565b60c08201526151036101008501614830565b60e08201526151156101208501614830565b6101008201526151286101408501614830565b61012082015261513b6101608501614830565b61014082015261514e6101808501614830565b6101608201526151616101a08501614830565b6101808201526151746101c08501614830565b6101a08201526151876101e08501614830565b6101c082015261519a6102008501614830565b6101e08201526151ad6102208501614830565b6102008201526151c06102408501614830565b610220820152809150509250929050565b5f602082840312156151e1575f80fd5b815162ffffff81168114613872575f80fd5b805161483b8161481c565b5f6020828403121561520e575f80fd5b81516138728161481c565b600181811c9082168061522d57607f821691505b60208210810361524b57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215615261575f80fd5b815161387281614b1d565b5f6040828403121561527c575f80fd5b615284614976565b825181526020928301519281019290925250919050565b5f6152a8614ab784614a74565b90508281528383830111156152bb575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126152e0575f80fd5b6138728383516020850161529b565b805161483b81614b51565b5f6020828403121561530a575f80fd5b81516001600160401b0381111561531f575f80fd5b820160e08185031215615330575f80fd5b6153386149bb565b81516153438161481c565b8152615352856020840161526c565b602082015260608201516001600160401b0381111561536f575f80fd5b61537b868285016152d1565b604083015250608082015161538f81614b51565b60608201526153a060a083016152ef565b60808201526153b160c083016152ef565b60a0820152949350505050565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b805161483b81614b1d565b5f6020828403121561540b575f80fd5b81516001600160401b03811115615420575f80fd5b820160a08185031215615431575f80fd5b6154396149dd565b81516001600160401b0381111561544e575f80fd5b8201601f8101861361545e575f80fd5b61546d8682516020840161529b565b82525061547c602083016153f0565b602082015261548d604083016153f0565b604082015261549e606083016153f0565b606082015260808201516001600160401b038111156154bb575f80fd5b6154c7868285016152d1565b608083015250949350505050565b6001600160a01b0393841681529190921660208201526001600160601b03909116604082015260600190565b6001600160401b0381168114614518575f80fd5b5f60208284031215615525575f80fd5b815161387281615501565b6001600160601b0393841681526001600160a01b03929092166020830152909116604082015260600190565b8051801515811461483b575f80fd5b5f6020828403121561557b575f80fd5b6138728261555c565b5f60e0828403128015615595575f80fd5b5061559e6149ff565b82516155a98161481c565b81526155b76020840161555c565b60208201526155c86040840161555c565b60408201526155d96060840161555c565b60608201526155ea6080840161555c565b608082015260a0838101519082015260c0928301519281019290925250919050565b60ff81168114614518575f80fd5b805161483b8161560c565b5f60208284031215615635575f80fd5b81516001600160401b0381111561564a575f80fd5b820160e0818503121561565b575f80fd5b6156636149ff565b61566c826151f3565b815261567a602083016151f3565b602082015261568b6040830161561a565b604082015261569c6060830161555c565b60608201526156ad608083016153f0565b60808201526156be60a083016153f0565b60a082015260c08201516001600160401b038111156156db575f80fd5b6156e7868285016152d1565b60c083015250949350505050565b5f82601f830112615704575f80fd5b81516001600160401b0381111561571d5761571d614939565b8060051b61572d60208201614a44565b91825260208185018101929081019086841115615748575f80fd5b6020860192505b838310156157735782516157628161481c565b82526020928301929091019061574f565b9695505050505050565b5f6020828403121561578d575f80fd5b81516001600160401b038111156157a2575f80fd5b82016102c081850312156157b4575f80fd5b6157bc614a21565b6157c58261555c565b81526157d36020830161555c565b60208201526157e46040830161555c565b60408201526157f56060830161561a565b60608201526158066080830161561a565b608082015261581760a083016151f3565b60a082015261582860c083016151f3565b60c082015260e08201516001600160401b03811115615845575f80fd5b615851868285016156f5565b60e08301525061586585610100840161526c565b61010082015261587985610140840161526c565b61012082015261588d85610180840161526c565b6101408201526158a1856101c0840161526c565b6101608201526158b585610200840161526c565b6101808201526158c985610240840161526c565b6101a08201526158dd85610280840161526c565b6101c0820152949350505050565b5f80604083850312156158fc575f80fd5b82516159078161481c565b602084015190925061486c8161481c565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682526001600160601b03891660208301528716604082015261597a606082018780518252602090810151910152565b6001600160601b03851660a082015264ffffffffff841660c082015261010060e08201525f6159ae61010083018486615918565b9a9950505050505050505050565b5f602082840312156159cc575f80fd5b5051919050565b5f602082840312156159e3575f80fd5b81516138728161560c565b5f610120820190506001600160601b03851682526001600160601b0384511660208301526020840151151560408301526040840151151560608301526060840151151560808301526080840151151560a083015260a084015160c083015260c084015160e083015261493161010083018460ff169052565b805161483b81614b31565b805161483b81614b6e565b5f60208284031215615a8c575f80fd5b81516001600160401b03811115615aa1575f80fd5b82016102008185031215615ab3575f80fd5b615abb61494d565b615ac4826151f3565b8152615ad2602083016151f3565b6020820152615ae360408301615a66565b6040820152615af460608301615a66565b6060820152615b05608083016151f3565b6080820152615b1660a083016151f3565b60a0820152615b2760c083016152ef565b60c082015260e08201516001600160401b03811115615b44575f80fd5b615b50868285016152d1565b60e0830152506101008201516001600160401b03811115615b6f575f80fd5b615b7b868285016152d1565b61010083015250615b8f6101208301615a71565b610120820152615ba26101408301615a71565b610140820152615bb561016083016151f3565b610160820152615bc861018083016151f3565b610180820152615bdb6101a083016152ef565b6101a0820152615bee6101c083016152ef565b6101c0820152615c016101e083016152ef565b6101e0820152949350505050565b5f8085851115615c1d575f80fd5b83861115615c29575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015615c67576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190525f90615c929083018486615918565b95945050505050565b5f8060408385031215615cac575f80fd5b8251615cb781614b1d565b602084015190925061486c81614b1d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615cef575f80fd5b615cf88361555c565b9150602083015163ffffffff8116811461486c575f80fd5b634e487b7160e01b5f52601260045260245ffd5b601f82111561430857805f5260205f20601f840160051c81016020851015615d495750805b601f840160051c820191505b818110156129fb575f8155600101615d55565b81516001600160401b03811115615d8157615d81614939565b615d9581615d8f8454615219565b84615d24565b6020601f821160018114615dc7575f8315615db05750848201515b5f19600385901b1c1916600184901b1784556129fb565b5f84815260208120601f198516915b82811015615df65787850151825560209485019460019092019101615dd6565b5084821015615e1357868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220355eab2dbdf44dd76e27de82e061fb233cb96caaef2e70f0cc56fa72800b141864736f6c634300081a0033",
1395
+ "linkReferences": {
1396
+ "contracts/type/Amount.sol": {
1397
+ "AmountLib": [
1398
+ {
1399
+ "length": 20,
1400
+ "start": 2635
1401
+ },
1402
+ {
1403
+ "length": 20,
1404
+ "start": 6528
1405
+ },
1406
+ {
1407
+ "length": 20,
1408
+ "start": 6962
1409
+ },
1410
+ {
1411
+ "length": 20,
1412
+ "start": 7084
1413
+ },
1414
+ {
1415
+ "length": 20,
1416
+ "start": 7301
1417
+ },
1418
+ {
1419
+ "length": 20,
1420
+ "start": 10014
1421
+ },
1422
+ {
1423
+ "length": 20,
1424
+ "start": 10408
1425
+ },
1426
+ {
1427
+ "length": 20,
1428
+ "start": 11261
1429
+ },
1430
+ {
1431
+ "length": 20,
1432
+ "start": 11482
1433
+ },
1434
+ {
1435
+ "length": 20,
1436
+ "start": 14719
1437
+ },
1438
+ {
1439
+ "length": 20,
1440
+ "start": 15346
1441
+ },
1442
+ {
1443
+ "length": 20,
1444
+ "start": 15420
1445
+ }
1446
+ ]
1447
+ },
1448
+ "contracts/type/Fee.sol": {
1449
+ "FeeLib": [
1450
+ {
1451
+ "length": 20,
1452
+ "start": 5539
1453
+ }
1454
+ ]
1455
+ },
1456
+ "contracts/type/NftId.sol": {
1457
+ "NftIdLib": [
1458
+ {
1459
+ "length": 20,
1460
+ "start": 1711
1461
+ },
1462
+ {
1463
+ "length": 20,
1464
+ "start": 8860
1465
+ },
1466
+ {
1467
+ "length": 20,
1468
+ "start": 13922
1469
+ },
1470
+ {
1471
+ "length": 20,
1472
+ "start": 14571
1473
+ }
1474
+ ]
1475
+ },
1476
+ "contracts/type/RoleId.sol": {
1477
+ "RoleIdLib": [
1478
+ {
1479
+ "length": 20,
1480
+ "start": 6332
1481
+ }
1482
+ ]
1483
+ },
1484
+ "contracts/type/UFixed.sol": {
1485
+ "UFixedLib": [
1486
+ {
1487
+ "length": 20,
1488
+ "start": 7112
1489
+ },
1490
+ {
1491
+ "length": 20,
1492
+ "start": 7358
1493
+ }
1494
+ ]
1495
+ },
1496
+ "contracts/type/Version.sol": {
1497
+ "VersionLib": [
1498
+ {
1499
+ "length": 20,
1500
+ "start": 1557
1501
+ },
1502
+ {
1503
+ "length": 20,
1504
+ "start": 3366
1505
+ }
1506
+ ],
1507
+ "VersionPartLib": [
1508
+ {
1509
+ "length": 20,
1510
+ "start": 7578
1511
+ }
1512
+ ]
1513
+ }
1514
+ },
1515
+ "deployedLinkReferences": {
1516
+ "contracts/type/Amount.sol": {
1517
+ "AmountLib": [
1518
+ {
1519
+ "length": 20,
1520
+ "start": 2421
1521
+ },
1522
+ {
1523
+ "length": 20,
1524
+ "start": 6314
1525
+ },
1526
+ {
1527
+ "length": 20,
1528
+ "start": 6748
1529
+ },
1530
+ {
1531
+ "length": 20,
1532
+ "start": 6870
1533
+ },
1534
+ {
1535
+ "length": 20,
1536
+ "start": 7087
1537
+ },
1538
+ {
1539
+ "length": 20,
1540
+ "start": 9800
1541
+ },
1542
+ {
1543
+ "length": 20,
1544
+ "start": 10194
1545
+ },
1546
+ {
1547
+ "length": 20,
1548
+ "start": 11047
1549
+ },
1550
+ {
1551
+ "length": 20,
1552
+ "start": 11268
1553
+ },
1554
+ {
1555
+ "length": 20,
1556
+ "start": 14505
1557
+ },
1558
+ {
1559
+ "length": 20,
1560
+ "start": 15132
1561
+ },
1562
+ {
1563
+ "length": 20,
1564
+ "start": 15206
1565
+ }
1566
+ ]
1567
+ },
1568
+ "contracts/type/Fee.sol": {
1569
+ "FeeLib": [
1570
+ {
1571
+ "length": 20,
1572
+ "start": 5325
1573
+ }
1574
+ ]
1575
+ },
1576
+ "contracts/type/NftId.sol": {
1577
+ "NftIdLib": [
1578
+ {
1579
+ "length": 20,
1580
+ "start": 1497
1581
+ },
1582
+ {
1583
+ "length": 20,
1584
+ "start": 8646
1585
+ },
1586
+ {
1587
+ "length": 20,
1588
+ "start": 13708
1589
+ },
1590
+ {
1591
+ "length": 20,
1592
+ "start": 14357
1593
+ }
1594
+ ]
1595
+ },
1596
+ "contracts/type/RoleId.sol": {
1597
+ "RoleIdLib": [
1598
+ {
1599
+ "length": 20,
1600
+ "start": 6118
1601
+ }
1602
+ ]
1603
+ },
1604
+ "contracts/type/UFixed.sol": {
1605
+ "UFixedLib": [
1606
+ {
1607
+ "length": 20,
1608
+ "start": 6898
1609
+ },
1610
+ {
1611
+ "length": 20,
1612
+ "start": 7144
1613
+ }
1614
+ ]
1615
+ },
1616
+ "contracts/type/Version.sol": {
1617
+ "VersionLib": [
1618
+ {
1619
+ "length": 20,
1620
+ "start": 1343
1621
+ },
1622
+ {
1623
+ "length": 20,
1624
+ "start": 3152
1625
+ }
1626
+ ],
1627
+ "VersionPartLib": [
1628
+ {
1629
+ "length": 20,
1630
+ "start": 7364
1631
+ }
1632
+ ]
1633
+ }
1634
+ }
1635
+ }