@etherisc/gif-next 0.0.2-d02cb80-460 → 0.0.2-d0b1ffb-653

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