@etherisc/gif-next 0.0.2-ef2f083-203 → 0.0.2-ef82317-831

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